From b44813c8587c180b39d285b42fd3fa1a164346f5 Mon Sep 17 00:00:00 2001 From: Marcel Moosbrugger Date: Wed, 14 Sep 2016 15:08:12 +0200 Subject: [PATCH] Overlay and label adaptions (#730) * Moved displayHeader option in overlay to slides * Introduced starting-slide option for overlay * added language changer in settings costum urls * Added panel and panel-content to overlay * Added white-border skin to overlay * Removed floats from select components due to rendering issues --- CHANGELOG.md | 1 + demos/overlay/index.html | 1 + demos/select/index.html | 2 +- demos/toolbar/index.html | 4 +- dist/husky.css | 334 +++++++++++++++++++------------ dist/husky.js | 117 +++++++---- dist/husky.min.css | 2 +- dist/husky.min.js | 2 +- dist/scss/variables.scss | 2 +- husky_components/label/main.js | 13 +- husky_components/overlay/main.js | 97 +++++---- husky_components/select/main.js | 2 +- husky_components/toolbar/main.js | 5 +- scss/modules/overlay.scss | 115 +++++++++-- scss/modules/select.scss | 26 ++- scss/modules/tabs.scss | 5 - scss/modules/toolbar.scss | 24 ++- scss/variables.scss | 2 +- 18 files changed, 508 insertions(+), 246 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 045d690eb..b04155a60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * dev-develop * ENHANCEMENT #723 Added description class to itembox and made content take up the whole width + * FEATURE #714 Tabs and language Changer are now in a new section -> language Changer can be used without Tabs. * ENHANCEMENT #721 Improved cropping in tiles view and fixed dropzone issue when destroying * ENHANCEMENT #715 Display effective limit in dropdown-pagination decorator * ENHANCEMENT #715 Replace expand-icon with loader when loading children in datagrid diff --git a/demos/overlay/index.html b/demos/overlay/index.html index 7dc17c18b..2b81b6138 100644 --- a/demos/overlay/index.html +++ b/demos/overlay/index.html @@ -286,6 +286,7 @@ {title: 'scrollable', data: '

Scrollable

'}, {title: 'last-tab', data: '

last tab

'} ], + panelContent: '
Very long text in a button.
', languageChanger: { locales: ['EN', 'DE', 'ES'], preSelected: 'DE' diff --git a/demos/select/index.html b/demos/select/index.html index bd96d9015..b57b31e25 100644 --- a/demos/select/index.html +++ b/demos/select/index.html @@ -388,7 +388,7 @@

Husky Select Demo

defaultLabel: 'Action select', instanceName: 'actionSelect', fixedLabel: true, - style: 'action', + skin: 'white-border', icon: 'plus-circle', repeatSelect: true, noItemsCallback: function() {alert('no items. default callback called')}, // pass no data to the component to see this option in action diff --git a/demos/toolbar/index.html b/demos/toolbar/index.html index 6a311d0e3..f27722442 100644 --- a/demos/toolbar/index.html +++ b/demos/toolbar/index.html @@ -576,12 +576,14 @@

Big skin

{ id: 'mobile', icon: 'mobile', + styleClass: 'warning', title: 'Smartphone' }, { id: 'desktop', icon: 'desktop', - title: 'Desktop' + title: 'Desktop', + styleClass: 'checked' }, { id: 'tablet', diff --git a/dist/husky.css b/dist/husky.css index cd2d052e6..0930fc0c1 100644 --- a/dist/husky.css +++ b/dist/husky.css @@ -2772,7 +2772,7 @@ fieldset[disabled] .datepicker table tr td span.active.disabled.active, fieldset font-style: normal; } /* line 4, ../scss/fontawesome/_core.scss */ -.fa, .custom-checkbox input:indeterminate + .icon::after, .custom-checkbox input.is-indeterminate + .icon::after, .custom-checkbox input:checked + .icon::after, .custom-checkbox input.is-checked + .icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a::before, .navigation-item-container .navigation-items li.is-selected a::before, .addButton:before, .pagination-wrapper.dropdowns .pagination .pagination-prev::after, .pagination-wrapper.dropdowns .pagination .pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.marked::before, .auto-complete-list-selection .tm-tag-remove, .husky-datagrid .husky-table.overflow:after, .husky-datagrid thead .is-sortable .cell-content::after, .sortable .text-block > .move::before, .text-block > .collapsed-container.empty::before, [class^="fa-"] { +.fa, .custom-checkbox input:indeterminate + .icon::after, .custom-checkbox input.is-indeterminate + .icon::after, .custom-checkbox input:checked + .icon::after, .custom-checkbox input.is-checked + .icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a::before, .navigation-item-container .navigation-items li.is-selected a::before, .addButton:before, .pagination-wrapper.dropdowns .pagination .pagination-prev::after, .pagination-wrapper.dropdowns .pagination .pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.marked::before, .husky-toolbar .toolbar-dropdown-menu li.warning::before, .husky-toolbar .toolbar-dropdown-menu li.checked::before, .auto-complete-list-selection .tm-tag-remove, .husky-datagrid .husky-table.overflow:after, .husky-datagrid thead .is-sortable .cell-content::after, .sortable .text-block > .move::before, .text-block > .collapsed-container.empty::before, [class^="fa-"] { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; @@ -2857,11 +2857,11 @@ fieldset[disabled] .datepicker table tr td span.active.disabled.active, fieldset } /* line 14, ../scss/fontawesome/_bordered-pulled.scss */ -.fa.fa-pull-left, .custom-checkbox input:indeterminate + .fa-pull-left.icon::after, .custom-checkbox input.is-indeterminate + .fa-pull-left.icon::after, .custom-checkbox input:checked + .fa-pull-left.icon::after, .custom-checkbox input.is-checked + .fa-pull-left.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-left::before, .navigation-item-container .navigation-items li.is-selected a.fa-pull-left::before, .fa-pull-left.addButton:before, .pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.marked::before, .auto-complete-list-selection .fa-pull-left.tm-tag-remove, .husky-datagrid .fa-pull-left.husky-table.overflow:after, .husky-datagrid thead .is-sortable .fa-pull-left.cell-content::after, .sortable .text-block > .fa-pull-left.move::before, .text-block > .fa-pull-left.collapsed-container.empty::before, .fa-pull-left[class^="fa-"] { +.fa.fa-pull-left, .custom-checkbox input:indeterminate + .fa-pull-left.icon::after, .custom-checkbox input.is-indeterminate + .fa-pull-left.icon::after, .custom-checkbox input:checked + .fa-pull-left.icon::after, .custom-checkbox input.is-checked + .fa-pull-left.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-left::before, .navigation-item-container .navigation-items li.is-selected a.fa-pull-left::before, .fa-pull-left.addButton:before, .pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.marked::before, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.warning::before, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.checked::before, .auto-complete-list-selection .fa-pull-left.tm-tag-remove, .husky-datagrid .fa-pull-left.husky-table.overflow:after, .husky-datagrid thead .is-sortable .fa-pull-left.cell-content::after, .sortable .text-block > .fa-pull-left.move::before, .text-block > .fa-pull-left.collapsed-container.empty::before, .fa-pull-left[class^="fa-"] { margin-right: .3em; } /* line 15, ../scss/fontawesome/_bordered-pulled.scss */ -.fa.fa-pull-right, .custom-checkbox input:indeterminate + .fa-pull-right.icon::after, .custom-checkbox input.is-indeterminate + .fa-pull-right.icon::after, .custom-checkbox input:checked + .fa-pull-right.icon::after, .custom-checkbox input.is-checked + .fa-pull-right.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-right::before, .navigation-item-container .navigation-items li.is-selected a.fa-pull-right::before, .fa-pull-right.addButton:before, .pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.marked::before, .auto-complete-list-selection .fa-pull-right.tm-tag-remove, .husky-datagrid .fa-pull-right.husky-table.overflow:after, .husky-datagrid thead .is-sortable .fa-pull-right.cell-content::after, .sortable .text-block > .fa-pull-right.move::before, .text-block > .fa-pull-right.collapsed-container.empty::before, .fa-pull-right[class^="fa-"] { +.fa.fa-pull-right, .custom-checkbox input:indeterminate + .fa-pull-right.icon::after, .custom-checkbox input.is-indeterminate + .fa-pull-right.icon::after, .custom-checkbox input:checked + .fa-pull-right.icon::after, .custom-checkbox input.is-checked + .fa-pull-right.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-right::before, .navigation-item-container .navigation-items li.is-selected a.fa-pull-right::before, .fa-pull-right.addButton:before, .pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.marked::before, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.warning::before, .husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.checked::before, .auto-complete-list-selection .fa-pull-right.tm-tag-remove, .husky-datagrid .fa-pull-right.husky-table.overflow:after, .husky-datagrid thead .is-sortable .fa-pull-right.cell-content::after, .sortable .text-block > .fa-pull-right.move::before, .text-block > .fa-pull-right.collapsed-container.empty::before, .fa-pull-right[class^="fa-"] { margin-left: .3em; } @@ -2877,11 +2877,11 @@ fieldset[disabled] .datepicker table tr td span.active.disabled.active, fieldset } /* line 23, ../scss/fontawesome/_bordered-pulled.scss */ -.fa.pull-left, .custom-checkbox input:indeterminate + .pull-left.icon::after, .custom-checkbox input.is-indeterminate + .pull-left.icon::after, .custom-checkbox input:checked + .pull-left.icon::after, .custom-checkbox input.is-checked + .pull-left.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-left::before, .navigation-item-container .navigation-items li.is-selected a.pull-left::before, .pull-left.addButton:before, .pagination-wrapper.dropdowns .pagination .pull-left.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .pull-left.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.pull-left.marked::before, .auto-complete-list-selection .pull-left.tm-tag-remove, .husky-datagrid .pull-left.husky-table.overflow:after, .husky-datagrid thead .is-sortable .pull-left.cell-content::after, .sortable .text-block > .pull-left.move::before, .text-block > .pull-left.collapsed-container.empty::before, .pull-left[class^="fa-"] { +.fa.pull-left, .custom-checkbox input:indeterminate + .pull-left.icon::after, .custom-checkbox input.is-indeterminate + .pull-left.icon::after, .custom-checkbox input:checked + .pull-left.icon::after, .custom-checkbox input.is-checked + .pull-left.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-left::before, .navigation-item-container .navigation-items li.is-selected a.pull-left::before, .pull-left.addButton:before, .pagination-wrapper.dropdowns .pagination .pull-left.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .pull-left.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.pull-left.marked::before, .husky-toolbar .toolbar-dropdown-menu li.pull-left.warning::before, .husky-toolbar .toolbar-dropdown-menu li.pull-left.checked::before, .auto-complete-list-selection .pull-left.tm-tag-remove, .husky-datagrid .pull-left.husky-table.overflow:after, .husky-datagrid thead .is-sortable .pull-left.cell-content::after, .sortable .text-block > .pull-left.move::before, .text-block > .pull-left.collapsed-container.empty::before, .pull-left[class^="fa-"] { margin-right: .3em; } /* line 24, ../scss/fontawesome/_bordered-pulled.scss */ -.fa.pull-right, .custom-checkbox input:indeterminate + .pull-right.icon::after, .custom-checkbox input.is-indeterminate + .pull-right.icon::after, .custom-checkbox input:checked + .pull-right.icon::after, .custom-checkbox input.is-checked + .pull-right.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-right::before, .navigation-item-container .navigation-items li.is-selected a.pull-right::before, .pull-right.addButton:before, .pagination-wrapper.dropdowns .pagination .pull-right.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .pull-right.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.pull-right.marked::before, .auto-complete-list-selection .pull-right.tm-tag-remove, .husky-datagrid .pull-right.husky-table.overflow:after, .husky-datagrid thead .is-sortable .pull-right.cell-content::after, .sortable .text-block > .pull-right.move::before, .text-block > .pull-right.collapsed-container.empty::before, .pull-right[class^="fa-"] { +.fa.pull-right, .custom-checkbox input:indeterminate + .pull-right.icon::after, .custom-checkbox input.is-indeterminate + .pull-right.icon::after, .custom-checkbox input:checked + .pull-right.icon::after, .custom-checkbox input.is-checked + .pull-right.icon::after, .navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-right::before, .navigation-item-container .navigation-items li.is-selected a.pull-right::before, .pull-right.addButton:before, .pagination-wrapper.dropdowns .pagination .pull-right.pagination-prev::after, .pagination-wrapper.dropdowns .pagination .pull-right.pagination-next::after, .husky-toolbar .toolbar-dropdown-menu li.pull-right.marked::before, .husky-toolbar .toolbar-dropdown-menu li.pull-right.warning::before, .husky-toolbar .toolbar-dropdown-menu li.pull-right.checked::before, .auto-complete-list-selection .pull-right.tm-tag-remove, .husky-datagrid .pull-right.husky-table.overflow:after, .husky-datagrid thead .is-sortable .pull-right.cell-content::after, .sortable .text-block > .pull-right.move::before, .text-block > .pull-right.collapsed-container.empty::before, .pull-right[class^="fa-"] { margin-left: .3em; } @@ -6239,20 +6239,20 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid } /* line 28, ../scss/modules/overlay.scss */ .husky-overlay-container.wide { - width: 700px; + width: 860px; } /* line 31, ../scss/modules/overlay.scss */ .husky-overlay-container.wide .slides .slide { - width: 700px; + width: 860px; } /* line 34, ../scss/modules/overlay.scss */ .husky-overlay-container.wide .slides .slide .overlay-footer { - width: 700px; + width: 860px; } -@media (min-width: 768px) { +@media (min-width: 880px) { /* line 42, ../scss/modules/overlay.scss */ .husky-overlay-container.responsive-width, .husky-overlay-container.responsive-width .slides .slide, .husky-overlay-container.responsive-width .slides .slide .overlay-footer { - width: 700px; + width: 860px; } } @media (min-width: 1024px) { @@ -6280,12 +6280,12 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid .husky-overlay-container .slides { position: relative; left: 0px; - -moz-transition: left 500ms; - -o-transition: left 500ms; - -webkit-transition: left 500ms; - transition: left 500ms; white-space: nowrap; padding-bottom: 70px; + -moz-transition: left, 500ms; + -o-transition: left, 500ms; + -webkit-transition: left, 500ms; + transition: left, 500ms; } /* line 77, ../scss/modules/overlay.scss */ .husky-overlay-container .slides .slide { @@ -6293,15 +6293,22 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid vertical-align: top; width: 580px; } +/* line 83, ../scss/modules/overlay.scss */ +.husky-overlay-container .slides.no-animation { + -moz-transition: none; + -o-transition: none; + -webkit-transition: none; + transition: none; +} -/* line 85, ../scss/modules/overlay.scss */ +/* line 89, ../scss/modules/overlay.scss */ .overlay-header { position: relative; background: #fff; border-radius: 3px 3px 0 0; height: 100px; } -/* line 91, ../scss/modules/overlay.scss */ +/* line 95, ../scss/modules/overlay.scss */ .overlay-header .title { color: #999; font-size: 24px; @@ -6314,11 +6321,11 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid line-height: 100px; text-align: center; } -/* line 105, ../scss/modules/overlay.scss */ +/* line 109, ../scss/modules/overlay.scss */ .overlay-header.with-sub-title .title { line-height: 75px; } -/* line 109, ../scss/modules/overlay.scss */ +/* line 113, ../scss/modules/overlay.scss */ .overlay-header.with-sub-title .sub-title { font-size: 12px; color: #999; @@ -6326,14 +6333,74 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid text-align: center; } -/* line 118, ../scss/modules/overlay.scss */ -.overlay-tabs { +/* line 122, ../scss/modules/overlay.scss */ +.overlay-subheader { background: #fff; padding: 0 20px; border-top: 1px solid #e9e9e9; + width: 100%; + height: 51px; + position: relative; + display: table; + table-layout: auto; +} +/* line 132, ../scss/modules/overlay.scss */ +.overlay-subheader .overlay-tabs { + display: table-cell; + width: 100%; + max-width: 0; + white-space: nowrap; + overflow: hidden; +} +/* line 140, ../scss/modules/overlay.scss */ +.overlay-subheader .panel { + display: table-cell; + white-space: nowrap; + padding-left: 20px; + border-left: 1px solid #e9e9e9; +} +/* line 147, ../scss/modules/overlay.scss */ +.overlay-subheader .panel-content { + display: inline-block; + vertical-align: middle; + height: 100%; + border-right: 1px solid #e9e9e9; + padding-right: 20px; + margin-right: 20px; +} +/* line 155, ../scss/modules/overlay.scss */ +.overlay-subheader .panel-content::before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; +} +/* line 162, ../scss/modules/overlay.scss */ +.overlay-subheader .panel-content > * { + display: inline-block; + vertical-align: middle; +} +/* line 168, ../scss/modules/overlay.scss */ +.overlay-subheader .language-changer { + display: inline-block; + width: 80px; + height: 100%; +} +/* line 173, ../scss/modules/overlay.scss */ +.overlay-subheader .language-changer::before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; +} +/* line 180, ../scss/modules/overlay.scss */ +.overlay-subheader .language-changer > * { + width: 100%; + display: inline-block; + vertical-align: middle; } -/* line 124, ../scss/modules/overlay.scss */ +/* line 188, ../scss/modules/overlay.scss */ .overlay-footer { padding: 20px; border-top: 1px solid #ddd; @@ -6350,45 +6417,45 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid content: ' '; display: block; } -/* line 135, ../scss/modules/overlay.scss */ +/* line 199, ../scss/modules/overlay.scss */ .overlay-footer .btn { display: inline-block; min-width: 115px; margin: 0 auto; padding: 0; } -/* line 141, ../scss/modules/overlay.scss */ +/* line 205, ../scss/modules/overlay.scss */ .overlay-footer .btn.left { float: left; margin-right: 0; } -/* line 145, ../scss/modules/overlay.scss */ +/* line 209, ../scss/modules/overlay.scss */ .overlay-footer .btn.right { float: right; margin-left: 20px; margin-right: 0; } -/* line 150, ../scss/modules/overlay.scss */ +/* line 214, ../scss/modules/overlay.scss */ .overlay-footer .btn.just-text { background: transparent; color: #000; font-size: 12px; } -/* line 157, ../scss/modules/overlay.scss */ +/* line 221, ../scss/modules/overlay.scss */ .overlay-footer.center .btn { margin: 0 auto; } -/* line 161, ../scss/modules/overlay.scss */ +/* line 225, ../scss/modules/overlay.scss */ .overlay-footer.left .btn { float: left; margin-right: 20px; } -/* line 166, ../scss/modules/overlay.scss */ +/* line 230, ../scss/modules/overlay.scss */ .overlay-footer.right .btn { float: right; margin-left: 20px; } -/* line 171, ../scss/modules/overlay.scss */ +/* line 235, ../scss/modules/overlay.scss */ .overlay-footer .loader { float: right; margin-left: 20px; @@ -6396,12 +6463,12 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid width: 115px; } -/* line 179, ../scss/modules/overlay.scss */ +/* line 243, ../scss/modules/overlay.scss */ .overlay-content { position: relative; white-space: normal; } -/* line 183, ../scss/modules/overlay.scss */ +/* line 247, ../scss/modules/overlay.scss */ .overlay-content .message { padding: 10px 105px 40px; background: #fff; @@ -6409,47 +6476,56 @@ h1.divider:after, h2.divider:after, h3.divider:after, h4.divider:after, h5.divid color: #999; text-align: center; } -/* line 189, ../scss/modules/overlay.scss */ +/* line 253, ../scss/modules/overlay.scss */ .overlay-content .message ul { border: 1px solid #ddd; list-style-position: inside; text-align: left; padding: 10px; } -/* line 197, ../scss/modules/overlay.scss */ -.overlay-content .language-changer { - width: 80px; - position: absolute; - top: -60px; - right: 0; -} -/* line 204, ../scss/modules/overlay.scss */ +/* line 261, ../scss/modules/overlay.scss */ .overlay-content.content-spacing { - margin: 20px; + padding: 20px; } -/* line 209, ../scss/modules/overlay.scss */ +/* line 266, ../scss/modules/overlay.scss */ .husky-overlay-wrapper { width: 100%; height: 100%; position: fixed; - top: 0px; - left: 0px; + top: 0; + left: 0; z-index: 999; text-align: center; - white-space: nowrap; - overflow: auto; - background: rgba(0, 0, 0, 0.5); -webkit-transform: translate3d(0, 0, 0); } -/* line 221, ../scss/modules/overlay.scss */ -.husky-overlay-wrapper::before { +/* line 275, ../scss/modules/overlay.scss */ +.husky-overlay-wrapper .husky-overlay-scroll-wrapper { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: auto; + white-space: nowrap; +} +/* line 284, ../scss/modules/overlay.scss */ +.husky-overlay-wrapper .husky-overlay-scroll-wrapper::before { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -0.25em; } +/* line 293, ../scss/modules/overlay.scss */ +.husky-overlay-wrapper .husky-overlay-backdrop { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); +} /* line 6, ../scss/modules/custom-icons.scss */ .fa-husky-publish::after { @@ -9099,11 +9175,6 @@ a.btn-black, a.btn-highlight { .tabs-container.deactivated ul li.is-selected a { color: #52B6CA; } -/* line 71, ../scss/modules/tabs.scss */ -.has-language-chooser .tabs-container { - width: calc(100% - 100px); - border-right: 1px solid #e9e9e9; -} /*styles related to the whole container*/ /* line 10, ../scss/modules/toolbar.scss */ @@ -9403,117 +9474,129 @@ a.btn-black, a.btn-highlight { color: #fff; } /* line 297, ../scss/modules/toolbar.scss */ +.husky-toolbar .toolbar-dropdown-menu li.marked::before, .husky-toolbar .toolbar-dropdown-menu li.warning::before, .husky-toolbar .toolbar-dropdown-menu li.checked::before { + display: inline-block; + margin-left: -10px; + margin-right: 5px; + font-size: 12px; +} +/* line 306, ../scss/modules/toolbar.scss */ .husky-toolbar .toolbar-dropdown-menu li.marked::before { content: ""; - display: block; - position: absolute; - top: 9px; - left: 7px; - font-size: 12px; } -/* line 308, ../scss/modules/toolbar.scss */ +/* line 310, ../scss/modules/toolbar.scss */ +.husky-toolbar .toolbar-dropdown-menu li.warning::before { + content: ""; +} +/* line 314, ../scss/modules/toolbar.scss */ +.husky-toolbar .toolbar-dropdown-menu li.checked::before { + margin-left: -15px; + margin-right: 3px; + content: ""; +} +/* line 320, ../scss/modules/toolbar.scss */ .husky-toolbar .toolbar-dropdown-menu li.disabled:hover, .husky-toolbar .toolbar-dropdown-menu li.disabled { cursor: default; background-color: inherit; } -/* line 312, ../scss/modules/toolbar.scss */ +/* line 324, ../scss/modules/toolbar.scss */ .husky-toolbar .toolbar-dropdown-menu li.disabled:hover a, .husky-toolbar .toolbar-dropdown-menu li.disabled a { cursor: default; color: #999; } -/* line 318, ../scss/modules/toolbar.scss */ +/* line 330, ../scss/modules/toolbar.scss */ .husky-toolbar .toolbar-dropdown-menu li:active { background-color: #66bed0; } -/* line 322, ../scss/modules/toolbar.scss */ +/* line 334, ../scss/modules/toolbar.scss */ .husky-toolbar .toolbar-dropdown-menu li.divider { height: 1px; margin: 5px 0; overflow: hidden; background-color: #ddd; } -/* line 329, ../scss/modules/toolbar.scss */ +/* line 341, ../scss/modules/toolbar.scss */ .husky-toolbar .toolbar-dropdown-menu li a { clear: both; text-align: left; } -/* line 436, ../scss/modules/toolbar.scss */ +/* line 448, ../scss/modules/toolbar.scss */ .husky-toolbar.big { height: 50px; width: auto; } -/* line 345, ../scss/modules/toolbar.scss */ +/* line 357, ../scss/modules/toolbar.scss */ .husky-toolbar.big .group { height: 50px; float: none; display: inline-block; vertical-align: top; } -/* line 350, ../scss/modules/toolbar.scss */ +/* line 362, ../scss/modules/toolbar.scss */ .husky-toolbar.big .group .toolbar-item:first-child { border-left: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0; } -/* line 354, ../scss/modules/toolbar.scss */ +/* line 366, ../scss/modules/toolbar.scss */ .husky-toolbar.big .group .toolbar-item:last-child { border-radius: 0; } -/* line 359, ../scss/modules/toolbar.scss */ +/* line 371, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item { border: none; border-right: 1px solid rgba(255, 255, 255, 0.2); padding: 0 20px; border-radius: 0; } -/* line 364, ../scss/modules/toolbar.scss */ +/* line 376, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item .icon, .husky-toolbar.big .toolbar-item .title { color: #fff; line-height: 50px; } -/* line 368, ../scss/modules/toolbar.scss */ +/* line 380, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item .icon { font-size: 20px; } -/* line 371, ../scss/modules/toolbar.scss */ +/* line 383, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item .icon + .title { margin-top: -6px; } -/* line 374, ../scss/modules/toolbar.scss */ +/* line 386, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item .dropdown-toggle::after { border-top-color: #fff; } -/* line 377, ../scss/modules/toolbar.scss */ +/* line 389, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item .dropdown-toggle { padding-left: 20px; padding-right: 20px; margin-right: -20px; } -/* line 382, ../scss/modules/toolbar.scss */ +/* line 394, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.is-selected, .husky-toolbar.big .toolbar-item.is-expanded, .husky-toolbar.big .toolbar-item:hover { background: rgba(255, 255, 255, 0.2); } -/* line 386, ../scss/modules/toolbar.scss */ +/* line 398, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.is-selected, .husky-toolbar.big .toolbar-item.is-selected:first-child, .husky-toolbar.big .toolbar-item.is-expanded, .husky-toolbar.big .toolbar-item.is-expanded:first-child, .husky-toolbar.big .toolbar-item:hover, .husky-toolbar.big .toolbar-item:hover:first-child { border-color: transparent; } -/* line 391, ../scss/modules/toolbar.scss */ +/* line 403, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.disabled, .husky-toolbar.big .toolbar-item.disabled:hover { background: transparent; } -/* line 394, ../scss/modules/toolbar.scss */ +/* line 406, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.disabled, .husky-toolbar.big .toolbar-item.disabled:first-child, .husky-toolbar.big .toolbar-item.disabled:hover, .husky-toolbar.big .toolbar-item.disabled:hover:first-child { border-color: rgba(255, 255, 255, 0.2); } -/* line 397, ../scss/modules/toolbar.scss */ +/* line 409, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.disabled .icon, .husky-toolbar.big .toolbar-item.disabled .title, .husky-toolbar.big .toolbar-item.disabled:hover .icon, .husky-toolbar.big .toolbar-item.disabled:hover .title { color: rgba(255, 255, 255, 0.2); } -/* line 400, ../scss/modules/toolbar.scss */ +/* line 412, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.disabled .dropdown-toggle::after, .husky-toolbar.big .toolbar-item.disabled:hover .dropdown-toggle::after { border-top-color: rgba(255, 255, 255, 0.2); } -/* line 405, ../scss/modules/toolbar.scss */ +/* line 417, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.highlight-white { background-color: #fff; height: 30px; @@ -9523,41 +9606,41 @@ a.btn-black, a.btn-highlight { margin-top: 10px; margin-right: 10px; } -/* line 413, ../scss/modules/toolbar.scss */ +/* line 425, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.highlight-white .title { text-align: left; color: #000; line-height: 30px; } -/* line 418, ../scss/modules/toolbar.scss */ +/* line 430, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.highlight-white .dropdown-toggle::after { border-top-color: #000; } -/* line 421, ../scss/modules/toolbar.scss */ +/* line 433, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-item.highlight-white:last-child, .husky-toolbar.big .toolbar-item.highlight-white:first-child { border-radius: 3px; } -/* line 427, ../scss/modules/toolbar.scss */ +/* line 439, ../scss/modules/toolbar.scss */ .husky-toolbar.big .toolbar-search { padding-top: 10px; } -/* line 431, ../scss/modules/toolbar.scss */ +/* line 443, ../scss/modules/toolbar.scss */ .husky-toolbar.big .item-loader { margin-top: 15px; } -/* line 440, ../scss/modules/toolbar.scss */ +/* line 452, ../scss/modules/toolbar.scss */ .husky-toolbar-responsive { overflow-x: auto; overflow-y: hidden; } -/* line 444, ../scss/modules/toolbar.scss */ +/* line 456, ../scss/modules/toolbar.scss */ .husky-toolbar-responsive.overflown { -moz-box-shadow: inset -8px 0px 8px -3px rgba(0, 0, 0, 0.08), inset 8px 0px 8px -3px rgba(0, 0, 0, 0.08); -webkit-box-shadow: inset -8px 0px 8px -3px rgba(0, 0, 0, 0.08), inset 8px 0px 8px -3px rgba(0, 0, 0, 0.08); box-shadow: inset -8px 0px 8px -3px rgba(0, 0, 0, 0.08), inset 8px 0px 8px -3px rgba(0, 0, 0, 0.08); } -/* line 446, ../scss/modules/toolbar.scss */ +/* line 458, ../scss/modules/toolbar.scss */ .husky-toolbar-responsive.overflown .toolbar-dropdown-menu { margin-top: 0; } @@ -10126,24 +10209,19 @@ a.btn-black, a.btn-highlight { line-height: 30px; border-radius: 3px; font-size: 12px; -} -/* line 33, ../scss/mixins.scss */ -.husky-select-container .dropdown-label:after { - clear: both; - content: ' '; - display: block; + white-space: nowrap; } /* line 24, ../scss/modules/select.scss */ .husky-select-container .dropdown-label .checkbox { - padding-right: 20px; + padding-right: 16px; } /* line 27, ../scss/modules/select.scss */ .husky-select-container .dropdown-label .icon { - float: left; font-size: 15px; padding-right: 4px; - display: block; + display: inline-block; line-height: 30px; + vertical-align: top; } /* line 34, ../scss/modules/select.scss */ .husky-select-container .dropdown-label .toggle-icon { @@ -10160,13 +10238,16 @@ a.btn-black, a.btn-highlight { } /* line 50, ../scss/modules/select.scss */ .husky-select-container .husky-select-label { - min-height: 30px; + height: 30px; + line-height: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - display: block; + display: inline-block; + vertical-align: top; + max-width: calc(100% - 20px); } -/* line 58, ../scss/modules/select.scss */ +/* line 61, ../scss/modules/select.scss */ .husky-select-container .dropdown-list { min-width: 100%; position: absolute; @@ -10179,111 +10260,118 @@ a.btn-black, a.btn-highlight { border-radius: 3px; overflow: auto; } -/* line 70, ../scss/modules/select.scss */ +/* line 73, ../scss/modules/select.scss */ .husky-select-container .dropdown-list .divider { max-width: 100%; height: 1px; background-color: #ccc; margin: 5px 0 10px; } -/* line 77, ../scss/modules/select.scss */ +/* line 80, ../scss/modules/select.scss */ .husky-select-container .dropdown-list.top { top: inherit; bottom: 5px; } -/* line 82, ../scss/modules/select.scss */ +/* line 85, ../scss/modules/select.scss */ .husky-select-container .dropdown-list .disabled, .husky-select-container .dropdown-list .disabled:hover { background: none; cursor: default; } -/* line 86, ../scss/modules/select.scss */ +/* line 89, ../scss/modules/select.scss */ .husky-select-container .dropdown-list .disabled .item-value, .husky-select-container .dropdown-list .disabled:hover .item-value { color: #999; } -/* line 90, ../scss/modules/select.scss */ +/* line 93, ../scss/modules/select.scss */ .husky-select-container .dropdown-list .check { display: inline; width: 20px; margin-right: 10px; padding-top: 7px; } -/* line 96, ../scss/modules/select.scss */ +/* line 99, ../scss/modules/select.scss */ .husky-select-container .dropdown-list .item-value { display: inline; line-height: 30px; } -/* line 101, ../scss/modules/select.scss */ +/* line 104, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul { list-style: none; margin: 0; padding: 10px 0; } -/* line 106, ../scss/modules/select.scss */ +/* line 109, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul input { margin: 0; } -/* line 110, ../scss/modules/select.scss */ +/* line 113, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul > li { padding: 0px 20px 0px 20px; clear: both; height: 30px; } -/* line 115, ../scss/modules/select.scss */ +/* line 118, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul > li > div { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } -/* line 121, ../scss/modules/select.scss */ +/* line 124, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul > li:hover, .husky-select-container .dropdown-list > ul > li.hover { background-color: #52B6CA; cursor: pointer; } -/* line 126, ../scss/modules/select.scss */ +/* line 129, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul > li:hover .item-value { color: #fff; } -/* line 130, ../scss/modules/select.scss */ +/* line 133, ../scss/modules/select.scss */ .husky-select-container .dropdown-list > ul > li:hover > div { color: #fff; } -/* line 138, ../scss/modules/select.scss */ +/* line 141, ../scss/modules/select.scss */ .husky-select-container.small .dropdown-label { font-size: 10px; line-height: 20px; } -/* line 142, ../scss/modules/select.scss */ +/* line 145, ../scss/modules/select.scss */ .husky-select-container.small .toggle-icon { line-height: 20px; } -/* line 145, ../scss/modules/select.scss */ +/* line 148, ../scss/modules/select.scss */ .husky-select-container.small .dropdown-list { top: 12px; min-width: 200px; max-width: 100%; border-radius: 2px; } -/* line 151, ../scss/modules/select.scss */ +/* line 154, ../scss/modules/select.scss */ .husky-select-container.small .dropdown-list.top { top: auto; bottom: -3px; } -/* line 157, ../scss/modules/select.scss */ +/* line 160, ../scss/modules/select.scss */ .husky-select-container.small .husky-select-label { - min-height: 20px; + height: 20px; + line-height: 20px; + max-width: calc(100% - 10px); } -/* line 163, ../scss/modules/select.scss */ +/* line 168, ../scss/modules/select.scss */ .husky-select-container.white .dropdown-label { background: #fff; } -/* line 169, ../scss/modules/select.scss */ +/* line 174, ../scss/modules/select.scss */ +.husky-select-container.white-border .dropdown-label { + background: #fff; + border: 1px solid #ccc; +} +/* line 181, ../scss/modules/select.scss */ .husky-select-container.action .dropdown-label { background: #52B6CA; color: #fff; } -/* line 175, ../scss/modules/select.scss */ +/* line 187, ../scss/modules/select.scss */ .husky-select-container select { opacity: 0; position: absolute; diff --git a/dist/husky.js b/dist/husky.js index 92ae5cfa6..ccaf983cd 100644 --- a/dist/husky.js +++ b/dist/husky.js @@ -37771,6 +37771,9 @@ define('__component__$toolbar@husky',[],function() { if (dropdownItem.marked === true) { uniqueMarkItem.call(this, dropdownItem.id); } + if (!!dropdownItem.styleClass) { + $item.addClass(dropdownItem.styleClass); + } this.sandbox.dom.append($list, $item); }.bind(this)); @@ -37795,7 +37798,7 @@ define('__component__$toolbar@husky',[],function() { * @param itemId {Number|String} the id of the item */ uniqueMarkItem = function(itemId) { - if (!!this.items[itemId] && !!this.items[itemId].parentId) { + if (!!this.items[itemId] && !!this.items[itemId].parentId && !this.items[itemId].disabled) { // unmark all items with the same parent this.sandbox.util.each(this.items, function(id, item) { if (item.parentId === this.items[itemId].parentId) { @@ -41177,7 +41180,7 @@ define('__component__$select@husky',[], function() { } else if ( this.options.direction !== 'bottom' && dropdownHeight + dropdownTop > windowHeight + scrollTop - // only change direction if there is more space on the other side + // only change direction if there is more space on the other side && windowHeight / 2 < dropdownTop - scrollTop ) { this.sandbox.dom.addClass(this.$dropdownContainer, constants.dropdownTopClass); @@ -43411,7 +43414,6 @@ define('__component__$ckeditor@husky',[], function() { * @params {Boolean} [options.removeOnClose] if overlay component gets removed on close * @params {String} [options.skin] set an overlay skin to manipulate overlay's appearance. Possible skins: '', 'wide', 'responsive-width' * @params {Boolean} [options.backdropClose] if true overlay closes with click on backdrop - * @params {Boolean} [options.displayHeader] Defines if overlay Header with title should be shown * @params {Boolean} [options.contentSpacing] Defines if there should be a spacing between overlay borders and content * @params {String} [options.type] The type of the overlay ('normal' or 'warning') * @params {Array} [options.buttonsDefaultAlign] the align of the buttons in the footer ('center', 'left' or 'right'). Can be overriden by each button individually @@ -43426,12 +43428,15 @@ define('__component__$ckeditor@husky',[], function() { * @params {Function} [options.slides[].closeCallback] @deprecated Use 'cancelCallback' instead * @params {Function} [options.slides[].cancelCallback] callback which gets executed after the overlay gets canceled * @params {Function} [options.slides[].okCallback] callback which gets executed after the overlay gets submitted + * @params {Boolean} [options.slides[].displayHeader] Boolean variable which determines wether or not the header gets rendered * @params {String|Object} [options.slides[].data] HTML or DOM-object which acts as the overlay-content * @params {String} [options.slides[].message] String to render as content. Used by warnings and errors + * @params {String} [options.slides[].panelContent] The content to render in the panel container in the sub-header * @params {Boolean} [options.slides[].okInactive] If true all ok-buttons start deactivated * @params {String} [options.slides[].okDefaultText] The default text for ok buttons * @params {String} [options.slides[].cancelDefaultText] The default text for cancel buttons * @params {String} [options.slides[].type] The type of the overlay ('normal', 'error' or 'warning') + * @params {Number} [options.startingSlide] The index of the slide to start with * * @params {Object} [options.slides[].languageChanger] If set language-changer will be displayed in the header * @params {Array} [options.slides[].languageChanger.locales] array of locale strings for the dropdown @@ -43460,12 +43465,12 @@ define('__component__$overlay@husky',[], function() { backdropClose: true, skin: '', supportKeyInput: true, - displayHeader: true, contentSpacing: true, propagateEvents: true, type: 'normal', cssClass: '', slides: [], + startingSlide: null, top: null, left: null }, @@ -43474,12 +43479,14 @@ define('__component__$overlay@husky',[], function() { index: -1, title: '', subTitle: null, + displayHeader: true, message: '', closeCallback: null, cancelCallback: null, okCallback: null, type: 'normal', data: '', + panelContent: '', tabs: null, okInactive: false, buttonsDefaultAlign: 'center', @@ -43495,7 +43502,7 @@ define('__component__$overlay@husky',[], function() { $header: null, $content: null, $languageChanger: null, - $tabs: null, //tabs component container + $subheader: null, tabs: null //contains tabs related data }, @@ -43508,8 +43515,7 @@ define('__component__$overlay@husky',[], function() { overlayOkSelector: '.overlay-ok', overlayCancelSelector: '.overlay-cancel', overlayOtherButtonsSelector: '.overlay-button', - tabsClass: 'overlay-tabs', - languageChangerClass: 'language-changer' + panelClass: 'panel' }, types = { @@ -43599,7 +43605,15 @@ define('__component__$overlay@husky',[], function() { '' ].join(''), wrapper: [ - '
' + '
', + '
', + '
', + '
' + ].join(''), + subheader: [ + '
', + '
', + '
' ].join(''), message: [ '
<%= message %>
' @@ -43868,6 +43882,7 @@ define('__component__$overlay@husky',[], function() { slides: [] }; this.$wrapper = null; + this.$backdrop = null; this.activeTab = null; this.slides = []; this.activeSlide = 0; @@ -43905,6 +43920,10 @@ define('__component__$overlay@husky',[], function() { this.insertOverlay(true); + if (!!this.options.startingSlide) { + this.slideTo(this.options.startingSlide, false); + } + this.sandbox.start([{name: 'loader@husky', options: {el: this.$el.find('.loader'), size: '30px'}}]); } else { this.insertOverlay(true); @@ -43942,7 +43961,7 @@ define('__component__$overlay@husky',[], function() { slide = this.slides.length - 1; } - this.slideTo(slide); + this.slideTo(slide, true); }, /** @@ -43954,7 +43973,7 @@ define('__component__$overlay@husky',[], function() { slide = 0; } - this.slideTo(slide); + this.slideTo(slide, true); }, /** @@ -43969,17 +43988,28 @@ define('__component__$overlay@husky',[], function() { return; } - this.slideTo(slide); + this.slideTo(slide, true); }, /** * slide to given number */ - slideTo: function(slide) { + slideTo: function(slide, animated) { this.activeSlide = slide; var width = this.sandbox.dom.outerWidth(this.sandbox.dom.find('.slide', this.overlay.$slides)); - this.sandbox.dom.css(this.overlay.$slides, 'left', '-' + slide * width + 'px'); + animated = (typeof animated === 'undefined') ? true : animated; + + if (!animated) { + this.overlay.$slides.addClass('no-animation'); + } + this.overlay.$slides.css('left', '-' + slide * width + 'px'); + if (!animated) { + // The following line makes sure the browsers apply the change in `left` before the class gets removed + // http://stackoverflow.com/questions/11131875/what-is-the-cleanest-way-to-disable-css-transition-effects-temporarily + this.overlay.$slides[0].offsetHeight; + this.overlay.$slides.removeClass('no-animation'); + } }, /** @@ -43987,6 +44017,7 @@ define('__component__$overlay@husky',[], function() { */ initWrapper: function() { this.$wrapper = this.sandbox.dom.createElement(templates.wrapper); + this.$backdrop = this.$wrapper.find('.husky-overlay-backdrop'); this.$wrapper.hide(); }, @@ -44013,7 +44044,7 @@ define('__component__$overlay@husky',[], function() { * Inserts the overlay-element into the DOM */ insertOverlay: function(emitEvent) { - this.sandbox.dom.append(this.$wrapper, this.overlay.$el); + this.$wrapper.find('.husky-overlay-scroll-wrapper').append(this.overlay.$el); this.sandbox.dom.append(this.$el, this.$wrapper); this.$wrapper.show(); @@ -44050,6 +44081,10 @@ define('__component__$overlay@husky',[], function() { $el = this.initSlideSkeleton(slide); this.initButtons(slide); this.setContent(slide); + // render a language changer into the header if configured + if (!!this.slides[slide].languageChanger) { + this.renderLanguageChanger(slide); + } this.sandbox.dom.append(this.overlay.$slides, $el); } } @@ -44064,7 +44099,7 @@ define('__component__$overlay@husky',[], function() { subTitle: !!this.slides[slide].subTitle ? this.slides[slide].subTitle : null, index: this.slides[slide].index, cssClass: this.slides[slide].cssClass, - displayHeader: this.options.displayHeader, + displayHeader: this.slides[slide].displayHeader, spacingClass: (!!this.options.contentSpacing) ? 'content-spacing' : '' }) ); @@ -44072,9 +44107,19 @@ define('__component__$overlay@husky',[], function() { this.overlay.slides[slide].$content = this.sandbox.dom.find(constants.contentSelector, this.overlay.slides[slide].$el); this.overlay.slides[slide].$header = this.sandbox.dom.find(constants.headerSelector, this.overlay.slides[slide].$el); - // render a language changer into the header if configured - if (this.slides[slide].languageChanger !== null) { - this.renderLanguageChanger(slide); + if (!!this.slides[slide].languageChanger || !!this.slides[slide].tabs || !!this.slides[slide].panelContent) { + this.overlay.slides[slide].$subheader = $(templates.subheader); + this.overlay.slides[slide].$header.after(this.overlay.slides[slide].$subheader) + } + + if (!!this.slides[slide].languageChanger || !!this.slides[slide].panelContent) { + this.overlay.slides[slide].$panel = $('
'); + this.overlay.slides[slide].$subheader.append(this.overlay.slides[slide].$panel); + } + + if (!!this.slides[slide].panelContent) { + this.overlay.slides[slide].$panel.append('
'); + this.overlay.slides[slide].$panel.find('.panel-content').append(this.slides[slide].panelContent); } // add classes for various styling @@ -44088,14 +44133,8 @@ define('__component__$overlay@husky',[], function() { * Renders a language changer and places it within the header */ renderLanguageChanger: function(slide) { - var $element = this.sandbox.dom.createElement('
'); - - this.sandbox.dom.addClass(this.overlay.$el, 'has-language-chooser'); - this.overlay.slides[slide].$languageChanger = this.sandbox.dom.createElement( - '
' - ); - this.sandbox.dom.append(this.overlay.slides[slide].$content, this.overlay.slides[slide].$languageChanger); - this.sandbox.dom.append(this.overlay.slides[slide].$languageChanger, $element); + var $element = this.sandbox.dom.createElement('
'); + this.overlay.slides[slide].$panel.append($element); this.sandbox.start([ { @@ -44181,8 +44220,6 @@ define('__component__$overlay@husky',[], function() { */ renderTabs: function(slide) { this.overlay.slides[slide].tabs = []; - this.overlay.slides[slide].$tabs = this.sandbox.dom.createElement('
'); - this.sandbox.dom.after(this.overlay.slides[slide].$header, this.overlay.slides[slide].$tabs); for (var i = -1, length = this.slides[slide].tabs.length; ++i < length;) { this.overlay.slides[slide].tabs.push({ @@ -44202,14 +44239,11 @@ define('__component__$overlay@husky',[], function() { * Starts the tabs-component */ startTabsComponent: function(slide) { - var $element = this.sandbox.dom.createElement('
'); - this.sandbox.dom.html(this.overlay.slides[slide].$tabs, $element); - this.sandbox.start([ { name: 'tabs@husky', options: { - el: $element, + el: this.overlay.slides[slide].$subheader.find('.overlay-tabs'), data: this.overlay.slides[slide].tabs, instanceName: 'overlay' + this.options.instanceName, skin: 'overlay' @@ -44261,11 +44295,7 @@ define('__component__$overlay@husky',[], function() { this.buttonHandler.bind(this), constants.overlayOtherButtonsSelector); if (this.options.backdropClose === true) { - this.sandbox.dom.on(this.$wrapper, 'click', function(event) { - if (event.target === this.$wrapper.get(0)) { - this.closeHandler(event); - } - }.bind(this)); + this.$backdrop.on('click', this.closeHandler.bind(this)); } this.bindOverlayCustomEvents(); @@ -44525,6 +44555,14 @@ define('__component__$label@husky',[],function() { return createEventName.call(this, 'refresh'); }, + /** + * listens on and vanishes the label + * @event husky.label.[INSTANCE_NAME].vanish + */ + VANISH = function() { + return createEventName.call(this, 'vanish'); + }, + /** * listens on and sets the label into loading state * @event husky.label.[INSTANCE_NAME].loading @@ -44598,6 +44636,7 @@ define('__component__$label@husky',[],function() { this.sandbox.on(REFRESH.call(this), this.refresh.bind(this)); this.sandbox.on(LOADING.call(this), this.setLoadingState.bind(this)); this.sandbox.on(RESET.call(this), this.resetState.bind(this)); + this.sandbox.on(VANISH.call(this), this.vanish.bind(this)); }, /** @@ -44723,8 +44762,8 @@ define('__component__$label@husky',[],function() { this.label.$content = this.sandbox.dom.createElement(this.options.html); } else { this.label.$content = this.sandbox.dom.createElement(this.sandbox.util.template(templates.basic, { - title: this.options.title, - description: this.options.description, + title: this.sandbox.translate(this.options.title), + description: this.sandbox.translate(this.options.description), counter: this.options.counter, hasClose: this.options.hasClose })); diff --git a/dist/husky.min.css b/dist/husky.min.css index dc26fb4a2..437633536 100644 --- a/dist/husky.min.css +++ b/dist/husky.min.css @@ -19,4 +19,4 @@ */ .datepicker{padding:4px;border-radius:4px;direction:ltr}.datepicker-inline{width:220px}.datepicker.datepicker-rtl{direction:rtl}.datepicker.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0}.datepicker-dropdown:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #999;border-top:0;border-bottom-color:#666;position:absolute}.datepicker-dropdown:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0;position:absolute}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-top:before{top:-7px}.datepicker-dropdown.datepicker-orient-top:after{top:-6px}.datepicker-dropdown.datepicker-orient-bottom:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.datepicker-dropdown.datepicker-orient-bottom:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.datepicker>div{display:none}.datepicker.days div.datepicker-days,.datepicker.months div.datepicker-months,.datepicker.years div.datepicker-years{display:block}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker table tr td,.datepicker table tr th{text-align:center;width:30px;height:30px;border-radius:2px;border:0}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.day:hover,.datepicker table tr td.day.focused{background:#efefef;cursor:pointer}.datepicker table tr td.old,.datepicker table tr td.new{color:#999}.datepicker table tr td.disabled{background:0;color:#999;cursor:default}.datepicker table tr td.disabled:hover{background:0;color:#999;cursor:default}.datepicker table tr td.today{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today:hover,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:focus,.datepicker table tr td.today:hover:focus{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled:focus,.datepicker table tr td.today.disabled:hover:focus{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today:active,.datepicker table tr td.today:hover:active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover:active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.active,.datepicker table tr td.today:hover.active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled:hover.active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.today{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.today:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.today.disabled{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.today.disabled:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today:active,.datepicker table tr td.today:hover:active{background-image:none}.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover:active{background-image:none}.datepicker table tr td.today.active,.datepicker table tr td.today:hover.active{background-image:none}.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled:hover.active{background-image:none}.open .dropdown-toggle.datepicker table tr td.today{background-image:none}.open .dropdown-toggle.datepicker table tr td.today:hover{background-image:none}.open .dropdown-toggle.datepicker table tr td.today.disabled{background-image:none}.open .dropdown-toggle.datepicker table tr td.today.disabled:hover{background-image:none}.datepicker table tr td.today.disabled,.datepicker table tr td.today:hover.disabled{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled.disabled,.datepicker table tr td.today.disabled:hover.disabled{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today[disabled],.datepicker table tr td.today:hover[disabled]{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled[disabled],.datepicker table tr td.today.disabled:hover[disabled]{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today:hover{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today.disabled{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today.disabled:hover{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today[disabled]:hover,.datepicker table tr td.today.disabled[disabled]:hover{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today:hover,fieldset[disabled] .datepicker table tr td.today.disabled:hover{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled:focus,.datepicker table tr td.today:hover.disabled:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled.disabled:focus,.datepicker table tr td.today.disabled:hover.disabled:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today[disabled]:focus,.datepicker table tr td.today:hover[disabled]:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled[disabled]:focus,.datepicker table tr td.today.disabled:hover[disabled]:focus{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today:focus,fieldset[disabled] .datepicker table tr td.today:hover:focus{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today.disabled:focus,fieldset[disabled] .datepicker table tr td.today.disabled:hover:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled:active,.datepicker table tr td.today:hover.disabled:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled.disabled:active,.datepicker table tr td.today.disabled:hover.disabled:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today[disabled]:active,.datepicker table tr td.today:hover[disabled]:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled[disabled]:active,.datepicker table tr td.today.disabled:hover[disabled]:active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today:active,fieldset[disabled] .datepicker table tr td.today:hover:active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today.disabled:active,fieldset[disabled] .datepicker table tr td.today.disabled:hover:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled.active,.datepicker table tr td.today:hover.disabled.active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled.disabled.active,.datepicker table tr td.today.disabled:hover.disabled.active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today[disabled].active,.datepicker table tr td.today:hover[disabled].active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today.disabled[disabled].active,.datepicker table tr td.today.disabled:hover[disabled].active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today.active,fieldset[disabled] .datepicker table tr td.today:hover.active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.today.disabled.active,fieldset[disabled] .datepicker table tr td.today.disabled:hover.active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.today:hover:hover{color:#000}.datepicker table tr td.today.active:hover{color:#fff}.datepicker table tr td.range{background:#efefef;border-radius:0}.datepicker table tr td.range:hover{background:#efefef;border-radius:0}.datepicker table tr td.range.disabled{background:#efefef;border-radius:0}.datepicker table tr td.range.disabled:hover{background:#efefef;border-radius:0}.datepicker table tr td.range.today{color:#000;background-color:#FFFEB0;border-color:#F2D212;border-radius:0}.datepicker table tr td.range.today:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212;border-radius:0}.datepicker table tr td.range.today.disabled{color:#000;background-color:#FFFEB0;border-color:#F2D212;border-radius:0}.datepicker table tr td.range.today.disabled:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212;border-radius:0}.datepicker table tr td.range.today:hover,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today:focus,.datepicker table tr td.range.today:hover:focus{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled:focus,.datepicker table tr td.range.today.disabled:hover:focus{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover:active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover:active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today:hover.active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled:hover.active{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.range.today{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.range.today:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.range.today.disabled{color:#000;background-color:#FFFEB0;border-color:#F2D212}.open .dropdown-toggle.datepicker table tr td.range.today.disabled:hover{color:#000;background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover:active{background-image:none}.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover:active{background-image:none}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today:hover.active{background-image:none}.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled:hover.active{background-image:none}.open .dropdown-toggle.datepicker table tr td.range.today{background-image:none}.open .dropdown-toggle.datepicker table tr td.range.today:hover{background-image:none}.open .dropdown-toggle.datepicker table tr td.range.today.disabled{background-image:none}.open .dropdown-toggle.datepicker table tr td.range.today.disabled:hover{background-image:none}.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today:hover.disabled{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled.disabled,.datepicker table tr td.range.today.disabled:hover.disabled{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today[disabled],.datepicker table tr td.range.today:hover[disabled]{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled[disabled],.datepicker table tr td.range.today.disabled:hover[disabled]{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today:hover{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today.disabled{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today.disabled:hover{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today[disabled]:hover,.datepicker table tr td.range.today.disabled[disabled]:hover{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today:hover,fieldset[disabled] .datepicker table tr td.range.today.disabled:hover{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled:focus,.datepicker table tr td.range.today:hover.disabled:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled.disabled:focus,.datepicker table tr td.range.today.disabled:hover.disabled:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today[disabled]:focus,.datepicker table tr td.range.today:hover[disabled]:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled[disabled]:focus,.datepicker table tr td.range.today.disabled:hover[disabled]:focus{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today:focus,fieldset[disabled] .datepicker table tr td.range.today:hover:focus{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today.disabled:focus,fieldset[disabled] .datepicker table tr td.range.today.disabled:hover:focus{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today:hover.disabled:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled.disabled:active,.datepicker table tr td.range.today.disabled:hover.disabled:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today[disabled]:active,.datepicker table tr td.range.today:hover[disabled]:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled[disabled]:active,.datepicker table tr td.range.today.disabled:hover[disabled]:active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today:active,fieldset[disabled] .datepicker table tr td.range.today:hover:active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today.disabled:active,fieldset[disabled] .datepicker table tr td.range.today.disabled:hover:active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today:hover.disabled.active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled.disabled.active,.datepicker table tr td.range.today.disabled:hover.disabled.active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today[disabled].active,.datepicker table tr td.range.today:hover[disabled].active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.range.today.disabled[disabled].active,.datepicker table tr td.range.today.disabled:hover[disabled].active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today.active,fieldset[disabled] .datepicker table tr td.range.today:hover.active{background-color:#FFFEB0;border-color:#F2D212}fieldset[disabled] .datepicker table tr td.range.today.disabled.active,fieldset[disabled] .datepicker table tr td.range.today.disabled:hover.active{background-color:#FFFEB0;border-color:#F2D212}.datepicker table tr td.selected{color:#fff;background-color:#999;border-color:#666}.datepicker table tr td.selected:hover{color:#fff;background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled{color:#fff;background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled:hover{color:#fff;background-color:#999;border-color:#666}.datepicker table tr td.selected:hover,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected:focus,.datepicker table tr td.selected:hover:focus{color:#fff;background-color:#999;border-color:#3e3e3e}.datepicker table tr td.selected.disabled:focus,.datepicker table tr td.selected.disabled:hover:focus{color:#fff;background-color:#999;border-color:#3e3e3e}.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover:active{color:#fff;background-color:#999;border-color:#3e3e3e}.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover:active{color:#fff;background-color:#999;border-color:#3e3e3e}.datepicker table tr td.selected.active,.datepicker table tr td.selected:hover.active{color:#fff;background-color:#999;border-color:#3e3e3e}.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled:hover.active{color:#fff;background-color:#999;border-color:#3e3e3e}.open .dropdown-toggle.datepicker table tr td.selected{color:#fff;background-color:#999;border-color:#3e3e3e}.open .dropdown-toggle.datepicker table tr td.selected:hover{color:#fff;background-color:#999;border-color:#3e3e3e}.open .dropdown-toggle.datepicker table tr td.selected.disabled{color:#fff;background-color:#999;border-color:#3e3e3e}.open .dropdown-toggle.datepicker table tr td.selected.disabled:hover{color:#fff;background-color:#999;border-color:#3e3e3e}.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover:active{background-image:none}.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover:active{background-image:none}.datepicker table tr td.selected.active,.datepicker table tr td.selected:hover.active{background-image:none}.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled:hover.active{background-image:none}.open .dropdown-toggle.datepicker table tr td.selected{background-image:none}.open .dropdown-toggle.datepicker table tr td.selected:hover{background-image:none}.open .dropdown-toggle.datepicker table tr td.selected.disabled{background-image:none}.open .dropdown-toggle.datepicker table tr td.selected.disabled:hover{background-image:none}.datepicker table tr td.selected.disabled,.datepicker table tr td.selected:hover.disabled{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled.disabled,.datepicker table tr td.selected.disabled:hover.disabled{background-color:#999;border-color:#666}.datepicker table tr td.selected[disabled],.datepicker table tr td.selected:hover[disabled]{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled[disabled],.datepicker table tr td.selected.disabled:hover[disabled]{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected:hover{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected.disabled{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected.disabled:hover{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected[disabled]:hover,.datepicker table tr td.selected.disabled[disabled]:hover{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected:hover,fieldset[disabled] .datepicker table tr td.selected.disabled:hover{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled:focus,.datepicker table tr td.selected:hover.disabled:focus{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled.disabled:focus,.datepicker table tr td.selected.disabled:hover.disabled:focus{background-color:#999;border-color:#666}.datepicker table tr td.selected[disabled]:focus,.datepicker table tr td.selected:hover[disabled]:focus{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled[disabled]:focus,.datepicker table tr td.selected.disabled:hover[disabled]:focus{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected:focus,fieldset[disabled] .datepicker table tr td.selected:hover:focus{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected.disabled:focus,fieldset[disabled] .datepicker table tr td.selected.disabled:hover:focus{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected:hover.disabled:active{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled.disabled:active,.datepicker table tr td.selected.disabled:hover.disabled:active{background-color:#999;border-color:#666}.datepicker table tr td.selected[disabled]:active,.datepicker table tr td.selected:hover[disabled]:active{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled[disabled]:active,.datepicker table tr td.selected.disabled:hover[disabled]:active{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected:active,fieldset[disabled] .datepicker table tr td.selected:hover:active{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected.disabled:active,fieldset[disabled] .datepicker table tr td.selected.disabled:hover:active{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected:hover.disabled.active{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled.disabled.active,.datepicker table tr td.selected.disabled:hover.disabled.active{background-color:#999;border-color:#666}.datepicker table tr td.selected[disabled].active,.datepicker table tr td.selected:hover[disabled].active{background-color:#999;border-color:#666}.datepicker table tr td.selected.disabled[disabled].active,.datepicker table tr td.selected.disabled:hover[disabled].active{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected.active,fieldset[disabled] .datepicker table tr td.selected:hover.active{background-color:#999;border-color:#666}fieldset[disabled] .datepicker table tr td.selected.disabled.active,fieldset[disabled] .datepicker table tr td.selected.disabled:hover.active{background-color:#999;border-color:#666}.datepicker table tr td.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active:hover,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active:focus,.datepicker table tr td.active:hover:focus{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled:focus,.datepicker table tr td.active.disabled:hover:focus{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active:active,.datepicker table tr td.active:hover:active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover:active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.active,.datepicker table tr td.active:hover.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled:hover.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td.active:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td.active.disabled{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td.active.disabled:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active:active,.datepicker table tr td.active:hover:active{background-image:none}.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover:active{background-image:none}.datepicker table tr td.active.active,.datepicker table tr td.active:hover.active{background-image:none}.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled:hover.active{background-image:none}.open .dropdown-toggle.datepicker table tr td.active{background-image:none}.open .dropdown-toggle.datepicker table tr td.active:hover{background-image:none}.open .dropdown-toggle.datepicker table tr td.active.disabled{background-image:none}.open .dropdown-toggle.datepicker table tr td.active.disabled:hover{background-image:none}.datepicker table tr td.active.disabled,.datepicker table tr td.active:hover.disabled{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled.disabled,.datepicker table tr td.active.disabled:hover.disabled{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active[disabled],.datepicker table tr td.active:hover[disabled]{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled[disabled],.datepicker table tr td.active.disabled:hover[disabled]{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active:hover{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active.disabled{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active.disabled:hover{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active[disabled]:hover,.datepicker table tr td.active.disabled[disabled]:hover{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active:hover,fieldset[disabled] .datepicker table tr td.active.disabled:hover{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled:focus,.datepicker table tr td.active:hover.disabled:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled.disabled:focus,.datepicker table tr td.active.disabled:hover.disabled:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active[disabled]:focus,.datepicker table tr td.active:hover[disabled]:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled[disabled]:focus,.datepicker table tr td.active.disabled:hover[disabled]:focus{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active:focus,fieldset[disabled] .datepicker table tr td.active:hover:focus{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active.disabled:focus,fieldset[disabled] .datepicker table tr td.active.disabled:hover:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled:active,.datepicker table tr td.active:hover.disabled:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled.disabled:active,.datepicker table tr td.active.disabled:hover.disabled:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active[disabled]:active,.datepicker table tr td.active:hover[disabled]:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled[disabled]:active,.datepicker table tr td.active.disabled:hover[disabled]:active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active:active,fieldset[disabled] .datepicker table tr td.active:hover:active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active.disabled:active,fieldset[disabled] .datepicker table tr td.active.disabled:hover:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled.active,.datepicker table tr td.active:hover.disabled.active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled.disabled.active,.datepicker table tr td.active.disabled:hover.disabled.active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active[disabled].active,.datepicker table tr td.active:hover[disabled].active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td.active.disabled[disabled].active,.datepicker table tr td.active.disabled:hover[disabled].active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active.active,fieldset[disabled] .datepicker table tr td.active:hover.active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td.active.disabled.active,fieldset[disabled] .datepicker table tr td.active.disabled:hover.active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;border-radius:2px}.datepicker table tr td span:hover{background:#efefef}.datepicker table tr td span.disabled{background:0;color:#999;cursor:default}.datepicker table tr td span.disabled:hover{background:0;color:#999;cursor:default}.datepicker table tr td span.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active:hover,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:focus,.datepicker table tr td span.active:hover:focus{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled:focus,.datepicker table tr td span.active.disabled:hover:focus{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover:active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover:active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.active,.datepicker table tr td span.active:hover.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled:hover.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td span.active{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td span.active:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td span.active.disabled{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.open .dropdown-toggle.datepicker table tr td span.active.disabled:hover{color:#fff;background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover:active{background-image:none}.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover:active{background-image:none}.datepicker table tr td span.active.active,.datepicker table tr td span.active:hover.active{background-image:none}.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled:hover.active{background-image:none}.open .dropdown-toggle.datepicker table tr td span.active{background-image:none}.open .dropdown-toggle.datepicker table tr td span.active:hover{background-image:none}.open .dropdown-toggle.datepicker table tr td span.active.disabled{background-image:none}.open .dropdown-toggle.datepicker table tr td span.active.disabled:hover{background-image:none}.datepicker table tr td span.active.disabled,.datepicker table tr td span.active:hover.disabled{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled.disabled,.datepicker table tr td span.active.disabled:hover.disabled{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active[disabled],.datepicker table tr td span.active:hover[disabled]{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled[disabled],.datepicker table tr td span.active.disabled:hover[disabled]{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active:hover{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active.disabled{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active.disabled:hover{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active[disabled]:hover,.datepicker table tr td span.active.disabled[disabled]:hover{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active:hover,fieldset[disabled] .datepicker table tr td span.active.disabled:hover{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled:focus,.datepicker table tr td span.active:hover.disabled:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled.disabled:focus,.datepicker table tr td span.active.disabled:hover.disabled:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active[disabled]:focus,.datepicker table tr td span.active:hover[disabled]:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled[disabled]:focus,.datepicker table tr td span.active.disabled:hover[disabled]:focus{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active:focus,fieldset[disabled] .datepicker table tr td span.active:hover:focus{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active.disabled:focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover:focus{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active:hover.disabled:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled.disabled:active,.datepicker table tr td span.active.disabled:hover.disabled:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active[disabled]:active,.datepicker table tr td span.active:hover[disabled]:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled[disabled]:active,.datepicker table tr td span.active.disabled:hover[disabled]:active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active:active,fieldset[disabled] .datepicker table tr td span.active:hover:active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active.disabled:active,fieldset[disabled] .datepicker table tr td span.active.disabled:hover:active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active:hover.disabled.active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled.disabled.active,.datepicker table tr td span.active.disabled:hover.disabled.active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active[disabled].active,.datepicker table tr td span.active:hover[disabled].active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.active.disabled[disabled].active,.datepicker table tr td span.active.disabled:hover[disabled].active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active.active,fieldset[disabled] .datepicker table tr td span.active:hover.active{background-color:#52B6CA;border-color:#52B6CA}fieldset[disabled] .datepicker table tr td span.active.disabled.active,fieldset[disabled] .datepicker table tr td span.active.disabled:hover.active{background-color:#52B6CA;border-color:#52B6CA}.datepicker table tr td span.old,.datepicker table tr td span.new{color:#999}.datepicker th.datepicker-switch{width:145px}.datepicker thead tr:first-child th,.datepicker tfoot tr th{cursor:pointer}.datepicker thead tr:first-child th:hover,.datepicker tfoot tr th:hover{background:#efefef}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.datepicker thead tr:first-child th.cw{cursor:default;background-color:transparent}.input-group.date .input-group-addon i{cursor:pointer;width:16px;height:16px}.input-daterange input{text-align:center}.input-daterange input:first-child{border-radius:3px 0 0 3px}.input-daterange input:last-child{border-radius:0 3px 3px 0}.input-daterange .input-group-addon{width:auto;min-width:16px;padding:4px 5px;font-weight:400;line-height:1.428571429;text-align:center;vertical-align:middle;background-color:#efefef;border:solid #ccc;border-width:1px 0;margin-left:-5px;margin-right:-5px}.datepicker.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;list-style:none;background-color:#fff;border:1px solid #ccc;border-radius:3px;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px;color:#333;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:1.428571429;-moz-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;box-shadow:rgba(0,0,0,.08) 3px 3px 0 0}.datepicker.dropdown-menu th,.datepicker.dropdown-menu td{padding:4px 5px}/*! * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */ @font-face{font-family:FontAwesome;src:url(fonts/fontawesome/fontawesome-webfont.eot?v=4.4);src:url(fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.4) format("embedded-opentype"),url(fonts/fontawesome/fontawesome-webfont.woff2?v=4.4) format("woff2"),url(fonts/fontawesome/fontawesome-webfont.woff?v=4.4) format("woff"),url(fonts/fontawesome/fontawesome-webfont.ttf?v=4.4) format("truetype"),url(fonts/fontawesome/fontawesome-webfont.svg?v=4.4#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa,.custom-checkbox input:indeterminate+.icon::after,.custom-checkbox input.is-indeterminate+.icon::after,.custom-checkbox input:checked+.icon::after,.custom-checkbox input.is-checked+.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a::before,.navigation-item-container .navigation-items li.is-selected a::before,.addButton:before,.pagination-wrapper.dropdowns .pagination .pagination-prev::after,.pagination-wrapper.dropdowns .pagination .pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.marked::before,.auto-complete-list-selection .tm-tag-remove,.husky-datagrid .husky-table.overflow:after,.husky-datagrid thead .is-sortable .cell-content::after,.sortable .text-block>.move::before,.text-block>.collapsed-container.empty::before,[class^=fa-]{display:inline-block;font:400 normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.custom-checkbox input:indeterminate+.fa-pull-left.icon::after,.custom-checkbox input.is-indeterminate+.fa-pull-left.icon::after,.custom-checkbox input:checked+.fa-pull-left.icon::after,.custom-checkbox input.is-checked+.fa-pull-left.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-left::before,.navigation-item-container .navigation-items li.is-selected a.fa-pull-left::before,.fa-pull-left.addButton:before,.pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.marked::before,.auto-complete-list-selection .fa-pull-left.tm-tag-remove,.husky-datagrid .fa-pull-left.husky-table.overflow:after,.husky-datagrid thead .is-sortable .fa-pull-left.cell-content::after,.sortable .text-block>.fa-pull-left.move::before,.text-block>.fa-pull-left.collapsed-container.empty::before,.fa-pull-left[class^=fa-]{margin-right:.3em}.fa.fa-pull-right,.custom-checkbox input:indeterminate+.fa-pull-right.icon::after,.custom-checkbox input.is-indeterminate+.fa-pull-right.icon::after,.custom-checkbox input:checked+.fa-pull-right.icon::after,.custom-checkbox input.is-checked+.fa-pull-right.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-right::before,.navigation-item-container .navigation-items li.is-selected a.fa-pull-right::before,.fa-pull-right.addButton:before,.pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.marked::before,.auto-complete-list-selection .fa-pull-right.tm-tag-remove,.husky-datagrid .fa-pull-right.husky-table.overflow:after,.husky-datagrid thead .is-sortable .fa-pull-right.cell-content::after,.sortable .text-block>.fa-pull-right.move::before,.text-block>.fa-pull-right.collapsed-container.empty::before,.fa-pull-right[class^=fa-]{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.custom-checkbox input:indeterminate+.pull-left.icon::after,.custom-checkbox input.is-indeterminate+.pull-left.icon::after,.custom-checkbox input:checked+.pull-left.icon::after,.custom-checkbox input.is-checked+.pull-left.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-left::before,.navigation-item-container .navigation-items li.is-selected a.pull-left::before,.pull-left.addButton:before,.pagination-wrapper.dropdowns .pagination .pull-left.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .pull-left.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.pull-left.marked::before,.auto-complete-list-selection .pull-left.tm-tag-remove,.husky-datagrid .pull-left.husky-table.overflow:after,.husky-datagrid thead .is-sortable .pull-left.cell-content::after,.sortable .text-block>.pull-left.move::before,.text-block>.pull-left.collapsed-container.empty::before,.pull-left[class^=fa-]{margin-right:.3em}.fa.pull-right,.custom-checkbox input:indeterminate+.pull-right.icon::after,.custom-checkbox input.is-indeterminate+.pull-right.icon::after,.custom-checkbox input:checked+.pull-right.icon::after,.custom-checkbox input.is-checked+.pull-right.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-right::before,.navigation-item-container .navigation-items li.is-selected a.pull-right::before,.pull-right.addButton:before,.pagination-wrapper.dropdowns .pagination .pull-right.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .pull-right.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.pull-right.marked::before,.auto-complete-list-selection .pull-right.tm-tag-remove,.husky-datagrid .pull-right.husky-table.overflow:after,.husky-datagrid thead .is-sortable .pull-right.cell-content::after,.sortable .text-block>.pull-right.move::before,.text-block>.pull-right.collapsed-container.empty::before,.pull-right[class^=fa-]{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.custom-dropdown-menu{background-color:#fff;border:1px solid #ccc;display:block;position:absolute;top:100%;left:0;z-index:1000;float:left;min-width:160px;list-style:none;padding:5px 0;margin-top:-7px;margin-left:0;-moz-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;box-shadow:rgba(0,0,0,.08) 2px 2px 0 0}.custom-dropdown-menu.right-aligned{left:auto;right:0}.custom-dropdown-menu li{display:list-item;float:none;height:30px;line-height:30px;white-space:nowrap}.custom-dropdown-menu li.is-selected,.custom-dropdown-menu li:hover{background-color:#52B6CA;cursor:pointer}.custom-dropdown-menu li.is-selected a,.custom-dropdown-menu li:hover a{color:#fff}.custom-dropdown-menu li.disabled:hover,.custom-dropdown-menu li.disabled{cursor:default;background-color:inherit}.custom-dropdown-menu li.disabled:hover a,.custom-dropdown-menu li.disabled a{cursor:default;color:#999}.custom-dropdown-menu li:active{background-color:#66bed0}.custom-dropdown-menu li.divider{height:1px;margin:5px 0;overflow:hidden;background-color:#ddd}.custom-dropdown-menu li a{clear:both;text-align:left}body{font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:20px}h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:400;color:#999}h1{color:#52B6CA;font-size:36px;line-height:40px;margin:10px 0 40px}h1.bright{color:#74C4D4;font-size:24px;margin-bottom:20px}h2{font-size:24px;line-height:30px;margin:0 0 20px}h2.light{color:#ccc}h3{font-size:20px;line-height:25px}h4{font-size:18px;line-height:20px}h5{font-size:14px;line-height:15px}h6{font-size:12px;line-height:15px;margin:0}.compoundedHeadlines :first-child{color:#52B6CA;font-size:14px;margin:0;line-height:20px}.compoundedHeadlines :nth-child(2){margin-top:0}h1,h2,h3,h4,h5{position:relative;z-index:1;overflow:hidden}h1.divider:after,h2.divider:after,h3.divider:after,h4.divider:after,h5.divider:after{position:absolute;top:50%;margin-left:10px;overflow:hidden;width:100%;height:1px;content:'\a0';background-color:#ccc}.bold{font-family:Helvetica,Arial,sans-serif!important}.small-font{font-size:12px}.smaller-font{font-size:10px}.grey-font{color:#999}[class^=fa-]{font-family:inherit}[class^=fa-]::before{font-family:FontAwesome}.husky-overlay-container{width:580px;border-radius:3px;display:inline-block;vertical-align:middle;position:relative;z-index:1000;text-align:left;white-space:normal;background-color:#e9e9e9;-moz-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;box-shadow:rgba(0,0,0,.08) 3px 3px 0 0}.husky-overlay-container.right-aligned{left:auto;right:0}.husky-overlay-container.overflow-hidden{overflow:hidden}.husky-overlay-container.wide{width:700px}.husky-overlay-container.wide .slides .slide{width:700px}.husky-overlay-container.wide .slides .slide .overlay-footer{width:700px}@media (min-width:768px){.husky-overlay-container.responsive-width,.husky-overlay-container.responsive-width .slides .slide,.husky-overlay-container.responsive-width .slides .slide .overlay-footer{width:700px}}@media (min-width:1024px){.husky-overlay-container.responsive-width,.husky-overlay-container.responsive-width .slides .slide,.husky-overlay-container.responsive-width .slides .slide .overlay-footer{width:940px}}@media (min-width:1600px){.husky-overlay-container.responsive-width,.husky-overlay-container.responsive-width .slides .slide,.husky-overlay-container.responsive-width .slides .slide .overlay-footer{width:1360px}}.husky-overlay-container.alert .overlay-header{height:70px}.husky-overlay-container.alert .overlay-header .title{line-height:normal;padding-top:40px}.husky-overlay-container .slides{position:relative;left:0;-moz-transition:left 500ms;-o-transition:left 500ms;-webkit-transition:left 500ms;transition:left 500ms;white-space:nowrap;padding-bottom:70px}.husky-overlay-container .slides .slide{display:inline-block;vertical-align:top;width:580px}.overlay-header{position:relative;background:#fff;border-radius:3px 3px 0 0;height:100px}.overlay-header .title{color:#999;font-size:24px;vertical-align:middle;display:block;white-space:nowrap;overflow:hidden;padding:0 20px;text-overflow:ellipsis;line-height:100px;text-align:center}.overlay-header.with-sub-title .title{line-height:75px}.overlay-header.with-sub-title .sub-title{font-size:12px;color:#999;margin-top:-23px;text-align:center}.overlay-tabs{background:#fff;padding:0 20px;border-top:1px solid #e9e9e9}.overlay-footer{padding:20px;border-top:1px solid #ddd;text-align:center;border-radius:0 0 3px 3px;width:580px;position:absolute;bottom:0;left:auto}.overlay-footer:after{clear:both;content:' ';display:block}.overlay-footer .btn{display:inline-block;min-width:115px;margin:0 auto;padding:0}.overlay-footer .btn.left{float:left;margin-right:0}.overlay-footer .btn.right{float:right;margin-left:20px;margin-right:0}.overlay-footer .btn.just-text{background:transparent;color:#000;font-size:12px}.overlay-footer.center .btn{margin:0 auto}.overlay-footer.left .btn{float:left;margin-right:20px}.overlay-footer.right .btn{float:right;margin-left:20px}.overlay-footer .loader{float:right;margin-left:20px;margin-right:0;width:115px}.overlay-content{position:relative;white-space:normal}.overlay-content .message{padding:10px 105px 40px;background:#fff;font-size:16px;color:#999;text-align:center}.overlay-content .message ul{border:1px solid #ddd;list-style-position:inside;text-align:left;padding:10px}.overlay-content .language-changer{width:80px;position:absolute;top:-60px;right:0}.overlay-content.content-spacing{margin:20px}.husky-overlay-wrapper{width:100%;height:100%;position:fixed;top:0;left:0;z-index:999;text-align:center;white-space:nowrap;overflow:auto;background:rgba(0,0,0,.5);-webkit-transform:translate3d(0,0,0)}.husky-overlay-wrapper::before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.fa-husky-publish::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;background:#5DC774;font-size:medium!important;margin-bottom:-1px}.fa-husky-unpublish::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;background:#EA524E;font-size:medium!important;margin-bottom:-1px}.fa-husky-deactivated::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;font-size:medium!important;margin-bottom:-1px}.fa-husky-test::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;background:#F2D212;font-size:medium!important;margin-bottom:-1px}.fa-shadow-node:before{content:""}.fa-internal-link:before{content:""}.draft-icon,.published-icon{display:inline-block;border:1px #fff solid;border-radius:6px;width:11px;height:11px;margin-top:4px}.draft-icon{margin-right:5px;background-color:#E8CE33}.published-icon{background-color:#5DC774}.published-icon+.draft-icon{margin-left:-6px}*{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{height:100%;overflow:hidden}body{font-size:14px;color:#000;background:#f1f1f1}hr.divider{color:#fff;height:0;border-bottom:1px solid #fff;border-top:0;margin:0 0 20px}hr.divider.dark{color:#ccc;border-color:#ccc}hr.divider.small{margin-bottom:10px}.options-dropdown-container{position:absolute;right:0;top:5px;z-index:10}.options-toggle{background-color:#f1f1f1;font-size:16px;color:#000}.options-toggle::after{content:"";display:inline-block;position:relative;top:-2px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid #000}.column-options-parent .overlay-content{margin:0}.column-options-list{list-style:none;padding-left:0;margin:10px 0}.column-options-list li{display:list-item;float:none;line-height:1;height:50px;line-height:50px;white-space:nowrap;padding-right:20px;position:relative;top:0;left:0}.column-options-list-item.is-selected,.column-options-list-item.hover-style{background-color:#ccc}.column-options-list-item.disabled{cursor:default;color:#999}.column-options-list-item.disabled.hover-style{background-color:#e6e6e6}.column-options-list-item .move{line-height:0;vertical-align:middle;padding-right:10px;padding-left:20px;font-size:22px;cursor:move}.column-options-list-item .visibility-toggle{position:absolute;top:0;padding-right:10px;padding-left:5px;right:10px;font-size:18px;cursor:pointer}.column-options-list-item .visibility-toggle::before{line-height:50px;vertical-align:center}.sortable-placeholder{border:1px dashed rgba(0,0,0,.3);width:95%;height:95%;margin:auto;text-align:center}.grid{display:block}.grid-row{margin-bottom:20px}.grid-row.small{margin-bottom:10px}.grid-row.no-spacing{margin-bottom:0}.grid-row.divider{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #ccc}.grid-row::after{content:"";display:table;clear:both}.grid-row img{max-width:100%}.grid-row.small .grid-col-1.floating:nth-child(n+13){margin-top:10px}.grid-row.small .grid-col-2.floating:nth-child(n+7){margin-top:10px}.grid-row.small .grid-col-3.floating:nth-child(n+5){margin-top:10px}.grid-row.small .grid-col-4.floating:nth-child(n+4){margin-top:10px}.grid-row.small .grid-col-6.floating:nth-child(n+3){margin-top:10px}.grid-row.small .grid-col-12.floating:nth-child(n+2){margin-top:10px}[class*=grid-col-]{float:left;padding-left:8px;padding-right:8px;min-height:1px}[class*=grid-col-]:last-of-type{padding-right:0}[class*=grid-col-]:first-of-type{padding-left:0;padding-right:8px}[class*=grid-col-]:only-of-type{padding-left:0;padding-right:0}[class*=grid-col-].no-padding{padding:0}.grid-col-1{width:8.33%}.grid-col-1.floating:nth-child(n+13){margin-top:20px}.grid-col-1.floating:nth-child(12n+1){padding-left:0;padding-right:8px}.grid-col-1.floating:nth-child(12n){padding-right:0}.grid-col-2{width:16.66%}.grid-col-2.floating:nth-child(n+7){margin-top:20px}.grid-col-2.floating:nth-child(6n+1){padding-left:0;padding-right:8px}.grid-col-2.floating:nth-child(6n){padding-right:0}.grid-col-3{width:25%}.grid-col-3.floating:nth-child(n+5){margin-top:20px}.grid-col-3.floating:nth-child(4n+1){padding-left:0;padding-right:8px}.grid-col-3.floating:nth-child(4n){padding-right:0}.grid-col-4{width:33.33%}.grid-col-4.floating:nth-child(n+4){margin-top:20px}.grid-col-4.floating:nth-child(3n+1){padding-left:0;padding-right:8px}.grid-col-4.floating:nth-child(3n){padding-right:0}.grid-col-5{width:41.66%}.grid-col-6{width:50%}.grid-col-6.floating:nth-child(n+3){margin-top:20px}.grid-col-6.floating:nth-child(odd){padding-left:0;padding-right:8px}.grid-col-6.floating:nth-child(even){padding-right:0}.grid-col-7{width:58.33%}.grid-col-8{width:66.66%}.grid-col-9{width:75%}.grid-col-10{width:83.33%}.grid-col-11{width:91.66%}.grid-col-12{width:100%}.grid-col-12.floating:nth-child(n+2){margin-top:20px}.grid-col-12.floating:nth-child(n){padding-left:0;padding-right:0}@media (max-width:580px){[class*=grid-col-]{width:100%;margin-top:15px;padding-left:0;padding-right:0}[class*=grid-col-]:first-of-type{margin-top:0;padding-right:0}[class*=grid-col-].floating:nth-child(n){padding-right:0}}.form-element,.husky-input{width:100%;height:30px;border:1px solid #ddd;padding:0 5px;font-size:14px;border-radius:3px}.form-element:focus,.husky-input:focus{outline:0;border-color:#ddd}.form-element.input-large,.form-element.input-bold,.input-bold.husky-input,.input-large.husky-input{height:40px;padding:0 10px}.form-element.input-bold,.input-bold.husky-input{font-size:24px}.form-element[readonly],[readonly].husky-input{background:0;color:#999}input[type=text].input-round{border-radius:30px}input .input-description{margin-top:-5px;font-size:12px;color:#999}.input-placeholder-style,input::-webkit-input-placeholder,input:-moz-placeholder,input ::-moz-placeholder,input :-ms-input-placeholder{color:#999;font-weight:400}input ::-moz-placeholder{}.form-group,.form-group-vertical,.form-vertical .form-group{min-height:30px}.form-group>:first-child,.form-group-vertical>:first-child,.form-vertical .form-group>:first-child{height:20px;margin-bottom:10px}.form-horizontal .form-group{display:table;table-layout:fixed;width:100%}.form-horizontal .form-group>*{display:table-cell}.form-horizontal .form-group>:first-child{text-align:right;vertical-align:middle;padding-right:20px;width:140px}.form-horizontal .form-group label.top{vertical-align:top;padding-top:5px}.form-horizontal .form-group>:nth-child(2){width:100%}label.choice{color:#000;margin-bottom:10px}label{display:block;font-size:14px;color:#999;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}label.large{font-size:16px;font-weight:700}label .form-element,label .husky-input{margin-top:5px;border:1px solid #ddd}label.inline{font-size:1em;font-weight:400;display:inline;vertical-align:middle}label.spacing-right{margin-right:10px}label.spacing-left{margin-left:10px}.input-description{font-size:12px;color:#999}h2~.input-description{margin-top:-20px;margin-bottom:20px}label~.input-description{margin-top:-5px}div~.input-description,input~.input-description{margin-top:0}.custom-checkbox{width:15px;height:15px;position:relative;top:2px;left:0;display:inline-block;margin:0 5px 0 0}.custom-checkbox.no-spacing{top:0;margin:0}.custom-checkbox input{opacity:0;width:15px;height:15px;display:block;position:absolute;top:0;left:0;margin:0;padding:0;cursor:pointer}.custom-checkbox input[readonly],.custom-checkbox input[readonly=readonly]{display:none}.custom-checkbox input[readonly]+.icon,.custom-checkbox input[readonly=readonly]+.icon{border:1px solid #999}.custom-checkbox input:indeterminate+.icon,.custom-checkbox input.is-indeterminate+.icon{background-color:#999;color:#fff}.custom-checkbox input:indeterminate+.icon::after,.custom-checkbox input.is-indeterminate+.icon::after{display:inline-block;margin-top:-1px;margin-left:-1px;content:""}.custom-checkbox input:checked+.icon,.custom-checkbox input.is-checked+.icon{border-color:#5DC774;background-color:#5DC774;color:#fff}.custom-checkbox input:checked+.icon::after,.custom-checkbox input.is-checked+.icon::after{display:inline-block;margin-top:-1px;margin-left:-1px;content:""}.custom-checkbox input:checked[readonly]+.icon,.custom-checkbox input:checked[readonly=readonly]+.icon,.custom-checkbox input.is-checked[readonly]+.icon,.custom-checkbox input.is-checked[readonly=readonly]+.icon{border:1px solid #999;background-color:#999;color:#fff}.custom-checkbox input+.icon{position:absolute;top:0;left:0;margin:0;padding:0;display:block;width:15px;height:15px;border:1px solid #000;font-size:15px;line-height:13px;text-align:center;border-radius:2px}textarea{resize:vertical}textarea.horizontal{resize:horizontal}textarea.noResize{resize:none}textarea.form-element,textarea.husky-input{width:100%;height:40px;min-height:150px;padding:10px;font-size:14px;font-family:inherit}textarea.form-element.small,textarea.small.husky-input{height:70px;min-height:70px;padding:5px}textarea.ckeditor-preview{height:70px;min-height:70px}.custom-radio{width:15px;height:15px;position:relative;top:2px;left:0;display:inline-block;margin:0 5px 0 0}.custom-radio.no-spacing{top:0;margin:0}.custom-radio input{width:15px;height:15px;opacity:0;cursor:pointer;display:block;position:absolute;top:0;left:0;margin:0;padding:0}.custom-radio input:checked+.icon,.custom-radio input.is-checked+.icon{border-color:#fff}.custom-radio input:checked+.icon::after,.custom-radio input.is-checked+.icon::after{content:"";display:block;width:100%;height:100%;border-radius:15px;background-color:#5DC774}.custom-radio input+.icon{display:block;position:absolute;top:0;left:0;width:15px;height:15px;padding:2px;border-radius:15px;border:1px solid #ddd;background-color:#fff;text-align:center;margin:0}.cke.cke_chrome{box-shadow:none!important;border:0!important}.cke .cke_inner{border:1px solid #ddd!important;border-radius:3px!important}.cke .cke_inner,.cke .cke_wysiwyg_frame{border-bottom-left-radius:3px!important;border-bottom-right-radius:3px!important}.cke_hidpi .cke_dialog_close_button{background-image:none!important}span.error{font-size:14px;color:#EA524E;font-weight:700}.section-headline{position:relative;font-size:12px;padding:2px 0 0;margin:10px 20px 0;height:20px;color:rgba(255,255,255,.2);font-weight:700;cursor:default}.section-headline .section-headline-title{white-space:nowrap}.section-headline-divider{position:relative;margin:30px 0;cursor:default;border:0}.husky-navigation{height:100%;position:relative}.navigation{width:250px;height:100%;position:relative;top:0;left:0;background-color:#21272E;overflow-x:visible;z-index:250;float:left}.navigation .navigation-close-icon{display:none;opacity:0;height:0;-webkit-transform:scale3d(1,1,1)}.navigation.collapseIcon .navigation-close-icon{position:absolute;display:block;height:30px;width:30px;left:calc(100% - 38px);top:6px;line-height:30px;vertical-align:middle;color:#fff;text-align:center;font-size:20px;cursor:pointer;border-radius:0 0 2px;opacity:1}.navigation.collapsed+.navigation-data-container.expanded{width:250px}.navigation.disappeared.collapseIcon .navigation-close-icon{display:none}.navigation-content{position:relative;height:100%;overflow-y:auto;overflow-x:hidden;color:rgba(255,255,255,.5);font-size:14px}.navigation-content a{display:inline-block;text-decoration:none;color:rgba(255,255,255,.5);outline:0}.navigation-content ul{margin:0;padding:0;list-style:none}.navigation-content .wrapper{min-height:100%;margin-bottom:-121px;overflow:hidden}.navigation-content .wrapper:after{content:"";display:block;height:131px}.navigation-header{overflow:hidden;padding:35px 20px;background:#191D22;white-space:nowrap}.navigation-header-title{display:inline-block;font-size:16px;color:#fff;margin:0;line-height:25px;cursor:pointer;vertical-align:bottom}.logo{display:inline-block;margin-right:10px;width:30px;height:30px;cursor:pointer;vertical-align:top;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjMwcHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDMwIDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4wLjEgKDc1OTcpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPlNsaWNlIDE8L3RpdGxlPgogICAgPGRlc2NyaXB0aW9uPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjcmlwdGlvbj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iNDkuOTk5NTk2OCUiIHkxPSItMC4wMDAzNDQ2MDg1MjYlIiB4Mj0iNDkuOTk5NTk2OCUiIHkyPSIxMDAuMDAyNTUlIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM3QUM5NDMiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzNGQTlGNSIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSIwMy1TdWx1LVNpZ25ldC1Db2xvcigyKSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0idXJsKCNsaW5lYXJHcmFkaWVudC0xKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOS44NTUsMTMuNzg1IEMzMC4xMjgsMTMuMzQgMzAuMDA1LDEyLjcyNSAyOS41ODMsMTIuNDE4IEwyMi40ODksNy4yNjQgQzIyLjA2Nyw2Ljk1NyAyMS42NzcsNi4yODEgMjEuNjIyLDUuNzYyIEwyMS4xMjYsMS4wMzYgQzIxLjA3MiwwLjUxNyAyMC42MjIsMC4yMjggMjAuMTI3LDAuMzkzIEwwLjY0NSw2LjkwOCBDMC4xNSw3LjA3NCAtMC4xMTgsNy42MTMgMC4wNSw4LjEwOCBMMy43MzksMTguOTcxIEMzLjkwNywxOS40NjUgNC40NjIsMTkuOTYgNC45NzIsMjAuMDcgTDIyLjYxNiwyMy44ODUgQzIzLjEyNiwyMy45OTUgMjMuNzY3LDIzLjcyMSAyNC4wMzksMjMuMjc2IEwyOS44NTUsMTMuNzg1IEwyOS44NTUsMTMuNzg1IFogTTEzLjgwMyw4Ljk2MSBDMTMuNDk1LDkuMzgzIDEyLjgyNiw5LjYzNiAxMi4zMTYsOS41MjQgTDQuMDMyLDcuNzAyIEMzLjUyMiw3LjU5IDMuNTEsNy4zNjMgNC4wMDUsNy4xOTcgTDE3Ljc2OSwyLjU5NCBDMTguMjY0LDIuNDI4IDE4LjQxNywyLjYzOCAxOC4xMSwzLjA2IEwxMy44MDMsOC45NjEgTDEzLjgwMyw4Ljk2MSBaIE0xOS40MDUsMy41NTggQzE5LjcxMywzLjEzNiAyMC4wMDksMy4yMTYgMjAuMDY0LDMuNzM1IEwyMS43NTcsMTkuODggQzIxLjgxMSwyMC4zOTkgMjEuNjA1LDIwLjQ3OCAyMS4yOTksMjAuMDU1IEwxNC45MTMsMTEuMjQ0IEMxNC42MDcsMTAuODIxIDE0LjYwOCwxMC4xMzEgMTQuOTE2LDkuNzA5IEwxOS40MDUsMy41NTggTDE5LjQwNSwzLjU1OCBaIE0xLjkxNyw5LjQzOSBDMS43NDksOC45NDUgMi4wMjksOC42MzIgMi41MzksOC43NDQgTDEyLjIwOCwxMC44NzEgQzEyLjcxOCwxMC45ODMgMTMuMzg2LDExLjQyMSAxMy42OTIsMTEuODQzIEwyMC42NTYsMjEuNDUgQzIwLjk2MiwyMS44NzMgMjAuNzk2LDIyLjEyOCAyMC4yODUsMjIuMDE3IEw1Ljk5NiwxOC45MjIgQzUuNDg2LDE4LjgxMSA0LjkzMSwxOC4zMTcgNC43NjMsMTcuODIyIEwxLjkxNyw5LjQzOSBMMS45MTcsOS40MzkgWiBNMjIuMDA4LDkuNDQzIEMyMS45NTQsOC45MjQgMjIuMjU1LDguNzUgMjIuNjc3LDkuMDU3IEwyNy43OTQsMTIuNzc1IEMyOC4yMTYsMTMuMDgyIDI4LjMzOSwxMy42OTcgMjguMDY2LDE0LjE0MiBMMjMuODEsMjEuMDk4IEMyMy41MzgsMjEuNTQzIDIzLjI3LDIxLjQ4MyAyMy4yMTYsMjAuOTY0IEwyMi4wMDgsOS40NDMgTDIyLjAwOCw5LjQ0MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);background-position:center center;background-repeat:no-repeat}.navigation-search{position:relative;margin:0 20px;padding:10px 0;height:50px}.navigation-search .search-icon{opacity:1}li.is-active>.navigation-items-toggle a,li.is-active>.navigation-subitems-toggle a{color:#fff}li.is-active>div>a.navigation-settings-icon{display:block;color:#999}.navigation-item-container .navigation-items{position:relative;top:0;left:0;overflow:hidden;height:50px}.navigation-item-container .navigation-items:hover{background-color:#191D22}.navigation-item-container .navigation-items::before{content:"";display:block;position:absolute;top:0;left:0;width:0;height:100%;background:#52B6CA}.navigation-item-container .navigation-items>div{position:relative;width:100%;padding-left:20px;padding-right:20px}.navigation-item-container .navigation-items.is-active::before{width:5px}.navigation-item-container .navigation-items.is-active .navigation-item-icon,.navigation-item-container .navigation-items.is-active .navigation-item-title{color:#fff}.navigation-item-container .navigation-items.is-active .navigation-item-title{font-size:16px}.navigation-item-container .navigation-items.is-expanded{padding-bottom:20px}.navigation-item-container .navigation-items.is-expanded .navigation-items-toggle{height:inherit;padding-bottom:10px;height:50px}.navigation-item-container .navigation-items.is-expanded>.navigation-items-list{display:block;opacity:1;-moz-transition:opacity 100ms 75ms;-o-transition:opacity 100ms 75ms;-webkit-transition:opacity 100ms;-webkit-transition-delay:75ms;transition:opacity 100ms 75ms}.navigation-item-container .navigation-items .navigation-items-list{position:absolute;left:0;bottom:0;width:100%;opacity:0;font-size:14px;padding-left:54px;padding-right:20px;padding-bottom:20px;padding-top:0;z-index:100;-moz-transition:opacity 100ms;-o-transition:opacity 100ms;-webkit-transition:opacity 100ms;transition:opacity 100ms}.navigation-item-container .navigation-items ul ul{font-size:12px;padding-left:20px}.navigation-item-container .navigation-items li{border-radius:3px;cursor:pointer;position:relative;top:0;left:0;height:30px}.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a::before{font-size:12px;content:"";display:inline-block;height:15px;text-align:right;line-height:15px;position:absolute;top:7px;left:0;padding-right:9px}.navigation-item-container .navigation-items li.is-selected a{color:#fff}.navigation-item-container .navigation-items li.is-selected a::before{font-size:12px;content:"";display:inline-block;height:15px;text-align:right;line-height:15px;position:absolute;top:7px;left:0;padding-right:9px}.navigation-item-container .navigation-items li a{padding:0 0 0 10px;height:100%;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:28px;display:inline-block;min-height:30px}.navigation-subitems.is-expanded>.navigation-items-list{display:block}.navigation-subitems.is-expanded .navigation-subitems-toggle{height:inherit;padding-bottom:10px;padding-bottom:0}.navigation-item{width:100%;display:inline-block;padding:0;position:relative;top:0;left:0;height:100%}.navigation-item-title{padding-left:35px;height:100%;line-height:50px;display:inline-block;width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navigation-item-icon{position:absolute;top:0;left:0;padding-left:3px;font-size:20px;height:100%;line-height:48px}.navigation-items-toggle{position:relative;height:50px;z-index:200}li a.navigation-settings-icon{width:auto;position:absolute;right:40px;top:15px;font-size:14px;display:none}.navigation-toggle-icon{width:auto;position:absolute;right:20px;top:20px;font-size:12px}.navigation-subitems-toggle{padding:2px 0;position:relative;height:30px}.navigation-subitems-toggle .navigation-toggle-icon{top:3px}.navigation-subitems-toggle .navigation-item{padding:0}.navigation footer{padding:15px 20px 15px 23px;height:121px;background-color:#191D22}.navigation footer .user{font-size:14px;color:#fff;margin-bottom:15px;height:20px;white-space:nowrap;cursor:pointer}.navigation footer .user .pic{color:#fff;text-align:right;font-size:20px;display:inline-block;margin-right:15px}.navigation footer .user .name{display:inline-block;vertical-align:middle;padding-bottom:5px}.navigation footer .options{height:20px;margin-bottom:15px;padding-left:35px;white-space:nowrap;position:relative;top:0;left:0}.navigation footer .options .locale-dropdown{color:#000;width:60px}.navigation footer .options .dropdown-list{min-width:150px}.navigation footer .options .logout{color:#fff;cursor:pointer;font-size:20px;display:block;display:block;text-decoration:none;position:absolute;top:0;right:0}.navigation footer .version{padding-left:35px;font-size:10px;color:#878787;white-space:nowrap}.navigation footer .version a{color:#fff;text-decoration:none}.navigation.collapsed{width:50px;overflow-x:hidden}.navigation.collapsed .navigation-header{padding-left:10px}.navigation.collapsed .navigation-header-title{opacity:0}.navigation.collapsed .section-headline{opacity:0;height:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0}.navigation.collapsed .navigation-search.search-container{margin:0;margin-left:8px}.navigation.collapsed .navigation-search.search-container input{opacity:0;z-index:0}.navigation.collapsed .navigation-search.search-container .search-icon{opacity:1;z-index:100;color:rgba(255,255,255,.5)}.navigation.collapsed * .navigation-settings-icon,.navigation.collapsed * .navigation-toggle-icon,.navigation.collapsed .is-active .navigation-settings-icon,.navigation.collapsed .is-active .navigation-toggle-icon,.navigation.collapsed .is-expanded .navigation-settings-icon,.navigation.collapsed .is-expanded .navigation-toggle-icon{opacity:0;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.navigation.collapsed .navigation-item-title{opacity:0}.navigation.collapsed .navigation-items div{border:transparent!important;padding:0!important;margin:0!important;line-height:0}.navigation.collapsed .navigation-items a{padding:0}.navigation.collapsed .navigation-items .navigation-items-list{opacity:0;display:none}.navigation.collapsed li{padding:0}.navigation.collapsed .navigation-item-icon{margin-left:15px;padding-left:0;line-height:50px;vertical-align:middle}.navigation.collapsed footer{padding-left:15px;cursor:pointer;height:51px;overflow:hidden}.navigation.collapsed footer *{opacity:0;height:0;margin:0}.navigation.collapsed footer .user{opacity:1;height:20px}.navigation.collapsed footer .user .pic{opacity:1;height:20px}.navigation.collapsed .navigation-content .wrapper{margin-bottom:-51px}.navigation.collapsed .navigation-content .wrapper:after{height:61px}.navigation-tooltip{position:absolute;height:30px;left:60px;line-height:30px;vertical-align:middle;display:inline-block;padding:0 10px;color:#fff;background-color:#21272E;border-radius:2px;z-index:1000}.navigation-tooltip::before{content:' ';position:absolute;left:-10px;top:10px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:10px solid #21272E}.navigation-data-container{-moz-transition:width .4s ease-in-out;-o-transition:width .4s ease-in-out;-webkit-transition:width .4s ease-in-out;transition:width .4s ease-in-out;width:200px;margin-left:50px;height:100%}.navigation{-moz-transition:width .5s;-o-transition:width .5s;-webkit-transition:width .5s;transition:width .5s}.navigation footer,.navigation footer>*,.navigation .wrapper,.navigation .wrapper:after,.navigation-items *{-moz-transition:all .5s;-o-transition:all .5s;-webkit-transition:all .5s;transition:all .5s}.navigation-items{-moz-transition:all 0,opacity .5s,background .5s;-o-transition:all 0,opacity .5s,background .5s;-webkit-transition:all 0,opacity .5s,background .5s;transition:all 0,opacity .5s,background .5s}.navigation-header{-moz-transition:padding .5s;-o-transition:padding .5s;-webkit-transition:padding .5s;transition:padding .5s}.navigation-header .navigation-header-title{-moz-transition:opacity .5s;-o-transition:opacity .5s;-webkit-transition:opacity .5s;transition:opacity .5s}.navigation-search{-moz-transition:margin .5s;-o-transition:margin .5s;-webkit-transition:margin .5s;transition:margin .5s}.navigation-search input{-moz-transition:width .5s;-o-transition:width .5s;-webkit-transition:width .5s;transition:width .5s}.section-headline,.section-headline *{-moz-transition:all .5s;-o-transition:all .5s;-webkit-transition:all .5s;transition:all .5s}.navigation-item-title{-moz-transition:opacity .5s;-o-transition:opacity .5s;-webkit-transition:opacity .5s;transition:opacity .5s}.search-icon{-moz-transition:color .5s;-o-transition:color .5s;-webkit-transition:color .5s;transition:color .5s}.navigation:not(.collapsed) *{opacity:1}.dropdown{display:inline-block;position:relative}.dropdown.dropdown-show .dropdown-menu{display:block}.dropdown-shadow,.tt-dropdown-menu{-moz-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;box-shadow:rgba(0,0,0,.08) 3px 3px 0 0}.dropdown-shadow.dropdown-align-right,.dropdown-align-right.tt-dropdown-menu{right:-3px}.dropdown-shadow.dropdown-align-top,.dropdown-align-top.tt-dropdown-menu{top:auto;bottom:20px;margin-bottom:0}.dropdown-menu{width:250px;max-height:350px;overflow:auto;display:inline-block;position:absolute;top:20px;left:0;margin-top:-5px;margin-left:5px;margin-bottom:40px;background-color:#fff;border:1px solid #ddd;z-index:90;border-radius:3px;font-size:14px}.dropdown-menu.top{top:auto;bottom:25px;margin-bottom:0}.dropdown-menu>ul{list-style:none;margin:0;padding:10px 0}.dropdown-menu>ul>li{padding:0 20px;line-height:30px;text-align:left}.dropdown-menu>ul>li .info,.dropdown-menu>ul>li .info-clicked{display:none;font-size:12px;padding:0 20px 0 10px;position:absolute;right:0}.dropdown-menu>ul>li .info-clicked.clicked{display:inline;float:right;background-color:#fff}.dropdown-menu>ul>li:hover,.dropdown-menu>ul>li.hover{background-color:#52B6CA;cursor:pointer;color:#fff}.dropdown-menu>ul>li:hover .info,.dropdown-menu>ul>li.hover .info{display:inline}.dropdown-menu>ul>li:hover .info,.dropdown-menu>ul>li:hover .info-clicked,.dropdown-menu>ul>li.hover .info,.dropdown-menu>ul>li.hover .info-clicked{background-color:#52B6CA}.dropdown-menu>ul>li:hover .info.clicked,.dropdown-menu>ul>li:hover .info-clicked.clicked,.dropdown-menu>ul>li.hover .info.clicked,.dropdown-menu>ul>li.hover .info-clicked.clicked{display:none}.dropdown-menu>ul>li.divider{height:1px;margin:5px 0 10px;padding:0;overflow:hidden;background-color:#ddd;cursor:default}.dropdown-menu>ul>li.disabled{color:#999}.dropdown-menu>ul>li.disabled:hover{background-color:transparent;cursor:default}.dropdown-align-right{right:6px;left:inherit}.dropdown-footer{border-top:1px solid #ccc;padding:10px}.dropdown-toggle{display:inline-block;cursor:pointer}.dropdown-toggle::after{content:"";display:inline-block;position:relative;top:-2px;margin-left:5px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #000}.dropdown-trigger{height:30px;line-height:30px;text-align:center;border:1px solid #ccc;border-radius:3px;padding:0 10px;cursor:pointer}table{width:100%;border-collapse:collapse;border-spacing:0}.table{color:#999}.table th,.table td{text-align:left;padding:0 10px;vertical-align:top;border-right:1px solid #e9e9e9}.table tr{height:50px;border-left:2px solid transparent}.table tr td:last-child{border-right:0}.table thead th{vertical-align:bottom;color:#999;font-weight:400;line-height:50px}.table thead th a{color:#000;text-decoration:none}.table thead th a .selected{font-weight:700}.table thead tr{background:#ddd}.table tbody td{vertical-align:middle;font-family:Helvetica,Arial}.table tbody td img{max-height:50px;max-width:50px}.table tbody tr:nth-child(2n+1){background:#fff}.table tbody tr:nth-child(2n){background:#f6f6f6}.table tbody tr.selected{border-left-color:#ddd}.table .thumb img{vertical-align:middle}.table .checkbox-cell{width:20px;text-align:center}.table .custom-checkbox{margin:0 8px}.btn{padding:0 25px;border:0;border-radius:3px;background-color:#FFF;color:#000;cursor:pointer;line-height:30px;height:30px;outline:0}.btn.fit{display:inline-block;padding-right:30px}.btn.only-icon{padding-left:0;padding-right:0;text-align:center;min-width:40px}.btn.action{background-color:#52B6CA;color:#fff}.btn.action2{background-color:#F2D212;color:#fff}.btn.large{line-height:40px;height:40px}.btn.small{font-size:12px;height:20px;line-height:20px;border-radius:2px}.btn.small [class^=fa-]{font-size:10px}.btn.small [class^=fa-]+.text{font-size:12px}.btn.grey,.btn.gray{background-color:#ccc;color:#fff}.btn.black-text{color:#000}.btn.gray-dark{background-color:#999;color:#fff}.btn.black{background-color:#000;color:#fff}.btn.inactive{cursor:default}.btn.link{background:transparent}.btn [class^=fa-]{font-size:18px;margin-left:-15px;display:inline;line-height:32px}.btn [class^=fa-]+.text{font-size:14px;display:inline-block;margin-right:-20px;margin-left:5px;padding:0}.btn [class^=fa-]:only-child{margin-left:0}.btn .text{padding:0 8px}a.btn{color:#000;text-decoration:none}.btn-large{padding:0 25px;font-size:18px;line-height:30px}.btn-black{background-color:#000;color:#fff}.btn-highlight{background-color:#52B6CA;color:#fff}a.btn-black,a.btn-highlight{color:#fff}.btn-gray{background-color:#ccc;color:#000}.addButton{border-radius:3px;display:inline-block;font-size:12px;color:#fff;background-color:#52B6CA;padding:0 10px;height:20px;line-height:20px;vertical-align:middle;cursor:pointer}.addButton:before{content:"";font-size:12px;vertical-align:middle}.addButton span{font-family:Helvetica,Arial,sans-serif;padding-left:5px;vertical-align:middle}.pagination-wrapper{margin-top:20px;font-size:12px}.pagination-wrapper:after{clear:both;content:' ';display:block}.pagination-wrapper .pagination-loader{width:auto;overflow:hidden;text-align:center}.pagination-wrapper.infinite-scroll{height:40px;text-align:center}.pagination-wrapper.infinite-scroll .pagination-loader{display:none}.pagination-wrapper.infinite-scroll .pagination-message{opacity:0;-moz-transition:opacity 200ms;-o-transition:opacity 200ms;-webkit-transition:opacity 200ms;transition:opacity 200ms;color:#ccc;font-size:12px;line-height:40px;vertical-align:middle}.pagination-wrapper.infinite-scroll.loading .pagination-loader{display:block}.pagination-wrapper.infinite-scroll.reached-end .pagination-message{opacity:1}.pagination-wrapper.dropdowns .pagination-loader{padding-top:5px}.pagination-wrapper.dropdowns .show-elements{float:left}.pagination-wrapper.dropdowns .show-elements .text{color:#999;padding-right:5px}.pagination-wrapper.dropdowns .show-elements .dropdown{background-color:#fff}.pagination-wrapper.dropdowns .pagination{height:30px;float:right}.pagination-wrapper.dropdowns .pagination .pagination-main{display:inline-block;list-style:none;border:1px solid #ccc;padding:0 10px;line-height:28px;height:30px;margin:0 2px}.pagination-wrapper.dropdowns .pagination .pagination-prev{padding:0 13px 0 8px;border:1px solid #ccc;border-radius:0 3px 3px 0;line-height:32px;height:30px;text-align:center;border-left:0}.pagination-wrapper.dropdowns .pagination .pagination-prev::after{content:"";display:inline-block;font-size:16px}.pagination-wrapper.dropdowns .pagination .pagination-prev:hover{background-color:#ddd}.pagination-wrapper.dropdowns .pagination .pagination-next{padding:0 13px 0 8px;border:1px solid #ccc;border-radius:3px 0 0 3px;line-height:32px;height:30px;text-align:center}.pagination-wrapper.dropdowns .pagination .pagination-next::after{content:"";display:inline-block;font-size:16px}.pagination-wrapper.dropdowns .pagination .pagination-next:hover{background-color:#ddd}.pagination-wrapper.dropdowns .pagination .disabled{color:#ccc;cursor:default}.pagination-wrapper.dropdowns .pagination .disabled:hover{background-color:#efefef}.pagination-wrapper.showall{cursor:pointer;margin-top:0;padding-left:10px;display:inline-block}.pagination-wrapper.showall .square{width:50px;height:50px;border:1px dashed #ccc;float:left}.pagination-wrapper.showall .text{display:inline-block;padding-left:10px;line-height:50px;float:left}.pagination-wrapper .page-label{color:#999;line-height:30px;margin-right:20px}.pagination-wrapper .page-label .form-element,.pagination-wrapper .page-label .husky-input{width:50px;min-width:50px;max-width:150px;text-align:center;margin-left:10px;margin-right:10px}.avatar{line-height:40px}.avatar.round>img{border-radius:30px}.avatar>img{float:left;margin-right:15px;border:solid 2px #ddd}.avatar-logout{font-size:12px}.husky-input{background:#fff;position:relative;top:0;left:0}.husky-input:after{clear:both;content:' ';display:block}.husky-input .front{float:left;line-height:20px;margin:5px 0 0;padding-right:5px;border-right:1px solid #ddd;color:#999;font-size:16px}.husky-input .front .color-field{width:15px;height:15px;border:1px solid #999;background-color:#ccc;display:inline-block;margin-top:2px}.husky-input .front a{padding-top:1px;text-decoration:none;cursor:default}.husky-input .front a.clickable{color:#000;cursor:pointer}.husky-input .back{position:absolute;top:0;right:0;line-height:20px;margin:5px 10px 0 5px;background:#fff;color:#999;font-size:16px}.husky-input .input{overflow:hidden;padding-left:5px}.husky-input .input input{height:28px;border:0;outline-width:0;width:100%}.husky-input .text{font-size:14px}.husky-input .text-link{color:#000;cursor:pointer!important}.husky-input.colorpicker .input{overflow:visible}.husky-input.colorpicker .front{color:#000;cursor:pointer}.husky-input.pickdate .front{color:#000;cursor:pointer}.husky-validate-error .husky-input input{height:26px}.auto-complete-container{position:relative}.auto-complete-container label{cursor:default}.auto-complete-footer{position:relative;z-index:5;padding:5px;font-size:14px;background-color:#ccc;color:#000;text-align:center}.auto-complete-footer:hover{color:#fff;background-color:#52B6CA;cursor:pointer}.husky-auto-complete{position:relative;top:0;left:0;display:table;width:100%;font-size:12px;border:1px solid #ddd;border-radius:3px 3px 0 0;background:#fff}.husky-auto-complete .front{float:left;line-height:20px;margin:5px 0 0;padding-right:5px;border-right:1px solid #ddd;color:#999;font-size:16px}.husky-auto-complete .front .color-field{width:15px;height:15px;border:1px solid #999;background-color:#ccc;display:inline-block;margin-top:2px}.husky-auto-complete .front a{padding-top:1px;text-decoration:none;cursor:default}.husky-auto-complete .front a.clickable{color:#000;cursor:pointer}.husky-auto-complete .back{position:absolute;top:0;right:0;line-height:20px;margin:5px 10px 0 5px;background:#fff;color:#999;font-size:16px}.husky-auto-complete .input{overflow:hidden;padding-left:5px}.husky-auto-complete .input input{height:28px;border:0;outline-width:0;width:100%}.husky-auto-complete .text{font-size:14px}.husky-auto-complete .text-link{color:#000;cursor:pointer!important}.husky-auto-complete input[type=text]{font-size:14px}.husky-auto-complete input[type=text]:focus{outline:0 none}.husky-auto-complete .front{padding-left:5px}.form-horizontal .husky-auto-complete{margin-top:0}.twitter-typeahead{width:100%}.twitter-typeahead input[type=text]{border-radius:3px 3px 0 0}.tt-suggestions{width:100%;top:37px;background:#fff;border-radius:3px}.tt-dropdown-menu{min-width:100%;border:1px solid #ddd;margin-top:-1px;border-radius:3px}.tt-hint{display:none}.tt-suggestion{height:25px;width:100%}.suggestion:hover,.tt-cursor .suggestion{background:#52B6CA;color:#fff}.suggestion:hover.disabled,.tt-cursor .suggestion.disabled{background:#efefef}.suggestion{white-space:nowrap;color:#000;padding:0 6px;position:relative}.suggestion .border{height:25px;white-space:nowrap}.suggestion .border .icon{display:inline-block;margin:0 10px;width:12px;height:25px;text-align:center;line-height:25px;position:absolute;left:4px;top:0}.suggestion .border .icon+.text{padding-left:30px}.suggestion .border .text{display:inline-block;width:100%;line-height:25px;text-overflow:ellipsis;overflow:hidden}.suggestion.disabled{color:#999;cursor:default}.suggestion-column{display:inline-block;overflow:hidden;text-overflow:ellipsis}.search-container{position:relative}.search-container a{color:#3e3e3e}.search-container.search-slide{-moz-transition:width 250ms;-o-transition:width 250ms;-webkit-transition:width 250ms;transition:width 250ms}.search-container.slide-collapsed{width:130px}.search-container.slide-expanded{width:210px}.search-container .search-input{padding-left:40px;padding-right:10px;border:0;margin:0;background-color:#999;color:#3e3e3e}.search-container .search-input.placeholder{color:#3e3e3e}.search-container .search-input:-moz-placeholder{color:#3e3e3e}.search-container .search-input::-moz-placeholder{color:#3e3e3e}.search-container .search-input:-ms-input-placeholder{color:#3e3e3e}.search-container .search-input::-webkit-input-placeholder{color:#3e3e3e}.search-container .search-input:focus{background-color:#fff}.search-container .search-icon,.search-container .remove-icon{background:transparent;border:0;display:inline-block;line-height:30px;vertical-align:middle;text-decoration:none;cursor:pointer;outline:0}.search-container .search-icon{position:absolute;padding-left:8px;padding-right:15px;font-size:16px}.search-container .remove-icon{display:none;position:absolute;right:10px;background-color:#fff;padding-left:3px}.search-container.gray .search-icon{font-size:16px;color:rgba(255,255,255,.5)}.search-container.gray .remove-icon{color:rgba(255,255,255,.5);background-color:transparent}.search-container.gray .search-input{background-color:rgba(255,255,255,.5)}.search-container.gray .search-input.placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input:-moz-placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input::-moz-placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.search-container.gray.focus .search-input{background-color:#fff}.search-container.gray.focus .search-icon,.search-container.gray.focus .remove-icon{color:#3e3e3e}.search-container.white .search-input{background-color:#fff}.search-container.white .search-input:focus{background-color:#fff}.search-container.small .search-input{font-size:12px}.search-container.small .search-icon{font-size:12px}.search-container.outline .input-round{border:1px #999 solid}.tabs-container{background-color:#fff;position:relative;overflow:auto}.tabs-container ul{padding:0;margin:0;white-space:nowrap}.tabs-container ul li{display:inline-block;list-style-type:none;line-height:50px;height:50px;text-align:left;padding-right:30px;min-width:60px;cursor:pointer}.tabs-container ul li a{color:#000;text-decoration:none;font-size:14px;outline:0}.tabs-container ul li.is-selected a{color:#52B6CA;font-weight:700}.tabs-container .marker{height:2px;background:#52B6CA;position:absolute;bottom:0;width:0;left:0}.tabs-container .marker.animate{-moz-transition:left 350ms ease,width 350ms ease;-o-transition:left 350ms ease,width 350ms ease;-webkit-transition:left 350ms ease,width 350ms ease;transition:left 350ms ease,width 350ms ease}.tabs-container.deactivated ul li a,.tabs-container.deactivated ul li a:hover{color:#999;cursor:default}.tabs-container.deactivated ul li.is-selected a{color:#52B6CA}.has-language-chooser .tabs-container{width:calc(100% - 100px);border-right:1px solid #e9e9e9}.husky-toolbar{white-space:nowrap;display:inline-block;vertical-align:bottom;width:100%}.husky-toolbar:after{clear:both;content:' ';display:block}.husky-toolbar .toolbar-search{display:inline-block}.husky-toolbar.small .group{height:20px}.husky-toolbar.small .toolbar-item{line-height:20px;min-width:30px}.husky-toolbar.small .toolbar-item .icon{font-size:10px;position:relative;top:-2px}.husky-toolbar.small .toolbar-item .title{font-size:9px}.husky-toolbar.small .toolbar-item .item-loader{height:14px;margin-top:2px;margin-left:-2px}.husky-toolbar .group{padding-left:0;margin:0;list-style:none;height:30px}.husky-toolbar .group.right{float:right;padding-left:10px}.husky-toolbar .group.right .toolbar-dropdown-menu{left:auto;right:0}.husky-toolbar .group.left{float:left;padding-right:10px}.husky-toolbar .group.left.last{padding-right:0}.husky-toolbar .group .toolbar-item{border-style:solid;border-color:#CACACA;border-width:1px 1px 1px 0}.husky-toolbar .group .toolbar-item:first-child,.husky-toolbar .group .toolbar-item:first-child.hidden+.toolbar-item{border-radius:3px 0 0 3px;border-width:1px}.husky-toolbar .group .toolbar-item:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.husky-toolbar .group .toolbar-item:only-child{border-radius:3px}.husky-toolbar .toolbar-item{min-width:50px;position:relative;display:inline-block;vertical-align:top;list-style:none;height:100%;line-height:30px;text-align:center;color:#000;cursor:pointer;padding:0 10px}.husky-toolbar .toolbar-item .icon{font-size:16px;padding-right:0;display:inline-block}.husky-toolbar .toolbar-item .icon+.title{margin-top:-4px}.husky-toolbar .toolbar-item .content{margin-right:10px;margin-top:-5px;display:inline-block;vertical-align:middle;line-height:50px}.husky-toolbar .toolbar-item .title{font-size:12px;display:inline-block;vertical-align:middle}.husky-toolbar .toolbar-item .dropdown-toggle{display:inline-block;top:0;padding-right:5px;margin-right:-5px}.husky-toolbar .toolbar-item .icon~.dropdown-toggle{top:-3px}.husky-toolbar .toolbar-item.dropdown{position:relative;display:block;list-style:none;float:left}.husky-toolbar .toolbar-item .item-loader{display:inline-block;height:20px;margin-top:4px}.husky-toolbar .toolbar-item.disabled:hover,.husky-toolbar .toolbar-item.disabled{background-color:inherit;cursor:default;color:#999}.husky-toolbar .toolbar-item.disabled:hover .dropdown-toggle::after,.husky-toolbar .toolbar-item.disabled .dropdown-toggle::after{border-top-color:#999}.husky-toolbar .toolbar-item.disabled::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;z-index:100}.husky-toolbar .toolbar-item.highlight{background-color:#52B6CA;border-color:transparent}.husky-toolbar .toolbar-item.highlight.disabled:hover,.husky-toolbar .toolbar-item.highlight.disabled{background-color:#ddd;border-color:transparent;color:#1e1e1e}.husky-toolbar .toolbar-item.highlight:hover{background-color:#5ebbce}.husky-toolbar .toolbar-item.highlight:active{background-color:#66bed0}.husky-toolbar .toolbar-item.highlight>span{color:#fff}.husky-toolbar .toolbar-item.highlight>span.dropdown-toggle::after{border-top-color:#fff}.husky-toolbar .toolbar-item.highlight.is-expanded{background-color:#52B6CA}.husky-toolbar .toolbar-item.highlight-gray{background-color:#ddd;border-color:transparent}.husky-toolbar .toolbar-item.highlight-gray:hover{background-color:#ddd}.husky-toolbar .toolbar-item.highlight-gray:active{background-color:#ddd}.husky-toolbar .toolbar-item.is-expanded{background-color:#ddd}.husky-toolbar .toolbar-item.is-expanded ul.toolbar-dropdown-menu{display:block}.husky-toolbar .toolbar-item.is-loading .title,.husky-toolbar .toolbar-item.is-loading .icon,.husky-toolbar .toolbar-item.is-loading .dropdown-toggle,.husky-toolbar .toolbar-item.is-loading .dropdown-toggle::after{display:none}.husky-toolbar .toolbar-item:hover{background-color:#ddd}.husky-toolbar .toolbar-item:active{background-color:#d5d5d5}.husky-toolbar .toolbar-item .icon+.title:not(:empty){padding-left:10px}.husky-toolbar .toolbar-dropdown-menu{background-color:#fff;border:1px solid #ddd;border-radius:2px;display:none;position:absolute;top:100%;left:0;min-width:160px;list-style:none;font-size:12px;padding:5px 0;margin-top:-7px;margin-left:0;z-index:2000;-moz-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;box-shadow:rgba(0,0,0,.08) 2px 2px 0 0}.husky-toolbar .toolbar-dropdown-menu.right-aligned{left:auto;right:0}.husky-toolbar .toolbar-dropdown-menu li{display:list-item;float:none;height:30px;line-height:30px;white-space:nowrap;cursor:pointer;position:relative;top:0;left:0;padding:0 20px;text-align:left}.husky-toolbar .toolbar-dropdown-menu li a{color:#000;text-decoration:none;padding:0}.husky-toolbar .toolbar-dropdown-menu li.is-selected,.husky-toolbar .toolbar-dropdown-menu li:hover{background-color:#52B6CA;color:#fff}.husky-toolbar .toolbar-dropdown-menu li.is-selected a,.husky-toolbar .toolbar-dropdown-menu li:hover a{color:#fff}.husky-toolbar .toolbar-dropdown-menu li.marked::before{content:"";display:block;position:absolute;top:9px;left:7px;font-size:12px}.husky-toolbar .toolbar-dropdown-menu li.disabled:hover,.husky-toolbar .toolbar-dropdown-menu li.disabled{cursor:default;background-color:inherit}.husky-toolbar .toolbar-dropdown-menu li.disabled:hover a,.husky-toolbar .toolbar-dropdown-menu li.disabled a{cursor:default;color:#999}.husky-toolbar .toolbar-dropdown-menu li:active{background-color:#66bed0}.husky-toolbar .toolbar-dropdown-menu li.divider{height:1px;margin:5px 0;overflow:hidden;background-color:#ddd}.husky-toolbar .toolbar-dropdown-menu li a{clear:both;text-align:left}.husky-toolbar.big{height:50px;width:auto}.husky-toolbar.big .group{height:50px;float:none;display:inline-block;vertical-align:top}.husky-toolbar.big .group .toolbar-item:first-child{border-left:1px solid rgba(255,255,255,.2);border-radius:0}.husky-toolbar.big .group .toolbar-item:last-child{border-radius:0}.husky-toolbar.big .toolbar-item{border:0;border-right:1px solid rgba(255,255,255,.2);padding:0 20px;border-radius:0}.husky-toolbar.big .toolbar-item .icon,.husky-toolbar.big .toolbar-item .title{color:#fff;line-height:50px}.husky-toolbar.big .toolbar-item .icon{font-size:20px}.husky-toolbar.big .toolbar-item .icon+.title{margin-top:-6px}.husky-toolbar.big .toolbar-item .dropdown-toggle::after{border-top-color:#fff}.husky-toolbar.big .toolbar-item .dropdown-toggle{padding-left:20px;padding-right:20px;margin-right:-20px}.husky-toolbar.big .toolbar-item.is-selected,.husky-toolbar.big .toolbar-item.is-expanded,.husky-toolbar.big .toolbar-item:hover{background:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.is-selected,.husky-toolbar.big .toolbar-item.is-selected:first-child,.husky-toolbar.big .toolbar-item.is-expanded,.husky-toolbar.big .toolbar-item.is-expanded:first-child,.husky-toolbar.big .toolbar-item:hover,.husky-toolbar.big .toolbar-item:hover:first-child{border-color:transparent}.husky-toolbar.big .toolbar-item.disabled,.husky-toolbar.big .toolbar-item.disabled:hover{background:transparent}.husky-toolbar.big .toolbar-item.disabled,.husky-toolbar.big .toolbar-item.disabled:first-child,.husky-toolbar.big .toolbar-item.disabled:hover,.husky-toolbar.big .toolbar-item.disabled:hover:first-child{border-color:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.disabled .icon,.husky-toolbar.big .toolbar-item.disabled .title,.husky-toolbar.big .toolbar-item.disabled:hover .icon,.husky-toolbar.big .toolbar-item.disabled:hover .title{color:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.disabled .dropdown-toggle::after,.husky-toolbar.big .toolbar-item.disabled:hover .dropdown-toggle::after{border-top-color:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.highlight-white{background-color:#fff;height:30px;line-height:30px;padding:0 10px;border-radius:3px;margin-top:10px;margin-right:10px}.husky-toolbar.big .toolbar-item.highlight-white .title{text-align:left;color:#000;line-height:30px}.husky-toolbar.big .toolbar-item.highlight-white .dropdown-toggle::after{border-top-color:#000}.husky-toolbar.big .toolbar-item.highlight-white:last-child,.husky-toolbar.big .toolbar-item.highlight-white:first-child{border-radius:3px}.husky-toolbar.big .toolbar-search{padding-top:10px}.husky-toolbar.big .item-loader{margin-top:15px}.husky-toolbar-responsive{overflow-x:auto;overflow-y:hidden}.husky-toolbar-responsive.overflown{-moz-box-shadow:inset -8px 0 8px -3px rgba(0,0,0,.08),inset 8px 0 8px -3px rgba(0,0,0,.08);-webkit-box-shadow:inset -8px 0 8px -3px rgba(0,0,0,.08),inset 8px 0 8px -3px rgba(0,0,0,.08);box-shadow:inset -8px 0 8px -3px rgba(0,0,0,.08),inset 8px 0 8px -3px rgba(0,0,0,.08)}.husky-toolbar-responsive.overflown .toolbar-dropdown-menu{margin-top:0}.table.matrix{margin-bottom:30px}.table.matrix th{vertical-align:middle;line-height:22px}.table.matrix th.general{width:140px;font-weight:700}.table.matrix th.section{width:180px}.table.matrix td.value{margin:0;border:0;white-space:nowrap}.table.matrix td.all{text-align:left;padding-left:16px;color:#000}.table.matrix td.section{color:#999}.table.matrix .matrix-icon{border:1px solid #000;color:#000;border-radius:12px;width:24px;height:24px;line-height:22px;margin:3px;display:inline-block;text-align:center}.table.matrix .matrix-icon.is-active{color:#fff;border-color:#5DC774;background-color:#5DC774}.required::after{content:" *"}.spinner{width:40px;height:40px;position:relative;margin:auto}.double-bounce1,.double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#666;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:bounce 2s infinite ease-in-out;animation:bounce 2s infinite ease-in-out}.double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes bounce{0%,100%{transform:scale(0)}50%{transform:scale(1)}}.husky-column-navigation{height:100%}.husky-column-navigation.fixed-height-small .column-navigation-wrapper .column-navigation{height:350px}.column-navigation-wrapper{position:relative;top:0;left:0;width:100%;height:100%}.column-navigation-wrapper .column-navigation{height:100%;width:100%;background-color:#fff;border-style:solid;border-color:#ddd;border-width:1px 0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;min-height:200px;max-height:750px}.column-navigation-wrapper .column-navigation.overflow .column:last-child{border-right:0}.column-navigation-wrapper .column-navigation .column-navigation-loader{position:absolute;left:0;top:50%;margin-top:-70px;width:100%}.column-navigation-wrapper .column-navigation .column{border-right:1px solid #ddd;overflow-y:auto;overflow-x:hidden;display:inline-block;font-size:0;height:100%;position:relative;top:0;left:0;width:250px}.column-navigation-wrapper .column-navigation .column .no-page{position:absolute;top:50%;left:0;width:100%;text-align:center;color:#ccc;height:160px;margin-top:-55px}.column-navigation-wrapper .column-navigation .column .no-page .icon{font-size:72px;line-height:80px}.column-navigation-wrapper .column-navigation .column .no-page .text{padding-top:5px;font-size:14px;font-weight:700}.column-navigation-wrapper .column-navigation .column ul{list-style-type:none;margin:0;padding:0;font-size:14px}.column-navigation-wrapper .column-navigation .column ul li{padding:15px 11px 15px 15px;height:50px;position:relative;top:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.column-navigation-wrapper .column-navigation .column ul li:hover{background-color:#f1f1f1}.column-navigation-wrapper .column-navigation .column ul li:hover .action{display:block}.column-navigation-wrapper .column-navigation .column ul li.selected{background-color:#f1f1f1}.column-navigation-wrapper .column-navigation .column ul li.selected .item-text{font-weight:700}.column-navigation-wrapper .column-navigation .column ul li.marked .marked-icon{display:block}.column-navigation-wrapper .column-navigation .column ul li.marked .action{display:none}.column-navigation-wrapper .column-navigation .column ul .inactive{color:#ccc}.column-navigation-wrapper .column-navigation .column ul .published-icon+.draft-icon{margin-left:-11px}.column-navigation-wrapper .column-navigation .column ul .orderer{display:none}.column-navigation-wrapper .column-navigation .column.order-mode .orderer{display:block}.column-navigation-wrapper .column-navigation .column.order-mode .icons-left .col-icon{display:none}.column-navigation-wrapper .column-navigation .column.order-mode ul li .action{display:none}.column-navigation-wrapper .column-navigation .item-text{display:block;overflow:hidden;word-wrap:break-word;float:left}.column-navigation-wrapper .column-navigation .col-icon{float:left}.column-navigation-wrapper .column-navigation .item-text.ghost{color:#999}.column-navigation-wrapper .column-navigation .ghost{background:#52B6CA;padding:0 2px;margin-right:5px;margin-top:3px;color:#fff;border-radius:3px;font-size:10px}.column-navigation-wrapper .column-navigation .marked-icon{width:14px;margin-right:5px;margin-top:1px;color:#999;display:none}.column-navigation-wrapper .column-navigation .icons-right{position:absolute;right:5px;top:15px;height:20px}.column-navigation-wrapper .column-navigation .icons-right *{line-height:20px}.column-navigation-wrapper .column-navigation .icons-left{display:block;float:left;height:20px;font-size:14px}.column-navigation-wrapper .column-navigation .icons-left>*{line-height:20px}.column-navigation-wrapper .column-navigation .icons-left .col-icon{margin-right:5px}.column-navigation-wrapper .column-navigation .icons-left .ghost{line-height:15px}.column-navigation-wrapper .column-navigation .icons-left .custom-checkbox{line-height:15px;margin-right:8px;margin-top:2px}.column-navigation-wrapper .column-navigation .action{background-color:#52B6CA;padding:0 10px;font-size:12px;color:#fff;border-radius:3px;display:none;margin-right:0}.column-navigation-wrapper .column-navigation .husky-column-navigation-loader{position:relative;top:2px;left:-2px;padding-left:2px}.column-navigation-wrapper .column-navigation .arrow{display:inline-block;width:11px;font-size:12px;vertical-align:middle;text-align:right;color:#000;margin:0}.column-navigation-wrapper .column-navigation .column-item{cursor:pointer}.column-navigation-wrapper .column-navigation .column-item.disabled{color:#ccc}.column-navigation-wrapper .column-navigation .orderer{display:block;float:left;width:40px;padding:0 10px 0 0}.column-navigation-wrapper .column-navigation .orderer .form-element,.column-navigation-wrapper .column-navigation .orderer .husky-input{height:20px;padding-left:3px;padding-right:3px}.column-navigation-wrapper .column-navigation .fa-external-link{margin-top:1px}.column-navigation-wrapper .options{width:251px}.column-navigation-wrapper .options .add{display:inline-block;width:50%;background-color:#52B6CA;padding:5px 0;color:#fff;font-size:16px}.column-navigation-wrapper .options .ok{display:block;width:100%;background-color:#52B6CA;padding:5px 0;color:#fff;font-size:16px}.column-navigation-wrapper .options .settings{display:inline-block;width:50%;background-color:#ccc;padding:5px 0;font-size:16px}.column-navigation-wrapper .options .first{border-bottom-left-radius:3px}.column-navigation-wrapper .options .last{border-bottom-right-radius:3px}.auto-complete-list-container{position:relative}.auto-complete-list-container ul{margin:0;list-style:none}.auto-complete-list-container .toggler{position:absolute;right:0;bottom:6px;content:"";display:inline-block;height:20px;width:auto;padding:5px 10px;cursor:pointer;text-align:center;color:#262626}.auto-complete-list-container label{cursor:default}.auto-complete-list-container .auto-complete-list{font-size:12px;min-height:30px;border-radius:3px 3px 0 0;margin:0}.auto-complete-list-container .tt-suggestions{width:100%}.auto-complete-list{border-radius:3px;background-color:#fff;margin:0;border:1px solid #ddd}.auto-complete-list .husky-auto-complete{background:0;border-radius:0;position:static;margin:0;display:block;margin-bottom:-5px;border:0}.auto-complete-list .husky-auto-complete input[type=text]{margin:7px 10px 7px 0!important;padding:0;font-size:12px;width:100px;border:0;outline:0;border-radius:0;height:auto;float:left}.auto-complete-list-selection{display:inline-block;margin:4px 5px 4px 0;padding:0 4px;border-radius:2px;background-color:#ccc;color:#000;font-size:12px;line-height:20px;float:left}.auto-complete-list-selection .tm-tag-remove{padding-left:8px;cursor:pointer;text-decoration:none;color:#262626;font-size:14px}.auto-complete-list-selection .tm-tag-remove::before{content:""}.auto-complete-list-suggestions{bottom:0;left:0;width:100%;background-color:#ddd;-moz-box-shadow:rgba(0,0,0,.06) 2px 2px 0 0;-webkit-box-shadow:rgba(0,0,0,.06) 2px 2px 0 0;box-shadow:rgba(0,0,0,.06) 2px 2px 0 0}.auto-complete-list-suggestions h5{margin:0;padding:5px 8px;border-bottom:1px solid #e9e9e9;color:#999;font-size:12px}.auto-complete-list-suggestions ul{padding:8px 8px 15px;margin:0}.auto-complete-list-suggestions li{display:inline-block;margin-right:5px;padding:0 4px;border-radius:3px;background-color:#fff;color:#000;font-size:12px;cursor:pointer}.auto-complete-list-suggestions .deactivated{cursor:auto;color:#999}.husky-select-container{position:relative;color:#000}.husky-select-container.big .dropdown-label{font-size:14px;padding:5px 10px 5px 15px}.husky-select-container.big .dropdown-label .toggle-icon{right:15px;top:5px}.husky-select-container .dropdown-label{background:#ccc;padding:0 5px 0 10px;line-height:30px;border-radius:3px;font-size:12px}.husky-select-container .dropdown-label:after{clear:both;content:' ';display:block}.husky-select-container .dropdown-label .checkbox{padding-right:20px}.husky-select-container .dropdown-label .icon{float:left;font-size:15px;padding-right:4px;display:block;line-height:30px}.husky-select-container .dropdown-label .toggle-icon{position:absolute;top:0;right:10px;font-size:14px;line-height:30px}.husky-select-container.disabled .dropdown-label{color:#666;cursor:default}.husky-select-container .husky-select-label{min-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.husky-select-container .dropdown-list{min-width:100%;position:absolute;top:20px;left:0;margin-top:5px;background-color:#FFF;border:1px solid #ccc;z-index:2000;border-radius:3px;overflow:auto}.husky-select-container .dropdown-list .divider{max-width:100%;height:1px;background-color:#ccc;margin:5px 0 10px}.husky-select-container .dropdown-list.top{top:inherit;bottom:5px}.husky-select-container .dropdown-list .disabled,.husky-select-container .dropdown-list .disabled:hover{background:0;cursor:default}.husky-select-container .dropdown-list .disabled .item-value,.husky-select-container .dropdown-list .disabled:hover .item-value{color:#999}.husky-select-container .dropdown-list .check{display:inline;width:20px;margin-right:10px;padding-top:7px}.husky-select-container .dropdown-list .item-value{display:inline;line-height:30px}.husky-select-container .dropdown-list>ul{list-style:none;margin:0;padding:10px 0}.husky-select-container .dropdown-list>ul input{margin:0}.husky-select-container .dropdown-list>ul>li{padding:0 20px;clear:both;height:30px}.husky-select-container .dropdown-list>ul>li>div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.husky-select-container .dropdown-list>ul>li:hover,.husky-select-container .dropdown-list>ul>li.hover{background-color:#52B6CA;cursor:pointer}.husky-select-container .dropdown-list>ul>li:hover .item-value{color:#fff}.husky-select-container .dropdown-list>ul>li:hover>div{color:#fff}.husky-select-container.small .dropdown-label{font-size:10px;line-height:20px}.husky-select-container.small .toggle-icon{line-height:20px}.husky-select-container.small .dropdown-list{top:12px;min-width:200px;max-width:100%;border-radius:2px}.husky-select-container.small .dropdown-list.top{top:auto;bottom:-3px}.husky-select-container.small .husky-select-label{min-height:20px}.husky-select-container.white .dropdown-label{background:#fff}.husky-select-container.action .dropdown-label{background:#52B6CA;color:#fff}.husky-select-container select{opacity:0;position:absolute;width:100%;height:100%;top:0;left:0;-webkit-appearance:none;z-index:5;cursor:pointer}.husky-datagrid{position:relative}.husky-datagrid .husky-table{position:relative;top:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.husky-datagrid .husky-table.overflow{padding-right:30px}.husky-datagrid .husky-table.overflow+.pagination-wrapper{padding-right:30px}.husky-datagrid .husky-table.overflow td,.husky-datagrid .husky-table.overflow th{max-width:500px;overflow:hidden}.husky-datagrid .husky-table.overflow:after{display:block;content:"";color:#999;font-size:16px;position:absolute;right:5px;margin-top:-28px;top:50%}.husky-datagrid .husky-table.minimal{padding:0}.husky-datagrid .husky-table.minimal tbody td img{height:30px}.husky-datagrid .husky-table.rendering table tbody tr{opacity:.3}.husky-datagrid .husky-table .fit{width:1%}.husky-datagrid .husky-table .thumbnail-cell{padding-top:10px;padding-bottom:10px;text-align:center}.husky-datagrid .husky-table .checkbox-placeholder{display:inline-block;width:12px;height:15px}.husky-datagrid .husky-table .row-remover{display:block;cursor:pointer}.husky-datagrid .husky-table .header-loader{display:inline-block;width:0;padding-left:5px;margin-right:-5px}.husky-datagrid .husky-table .input-wrapper{position:relative;top:0;left:0;width:100%;margin:-30px 0 0 -4px;height:30px;display:none}.husky-datagrid .husky-table select.editable-input{position:relative}.husky-datagrid .husky-table .editable-input{position:absolute;top:0;left:0;padding:0 7px}.husky-datagrid .husky-table .has-action:hover,.husky-datagrid .husky-table .has-action.selected:hover{border-left-color:#52B6CA}.husky-datagrid .husky-table .server-validation-error .editable-input{border-color:#EA524E!important;border-width:2px!important}.husky-datagrid .husky-table.white-box{padding:0}.husky-datagrid .table{white-space:nowrap;color:#000}.husky-datagrid thead .cell-content{display:block}.husky-datagrid thead .header-cell{position:relative}.husky-datagrid thead .is-sortable{color:#000;cursor:pointer}.husky-datagrid thead .is-sortable .cell-content{margin-right:30px}.husky-datagrid thead .is-sortable .cell-content::after{font-size:12px;line-height:50px;text-align:right;padding-right:10px;width:100%;position:absolute;top:0;left:0;box-sizing:border-box}.husky-datagrid thead .sorted-asc{font-weight:700}.husky-datagrid thead .sorted-asc .cell-content::after{content:""}.husky-datagrid thead .sorted-desc{font-weight:700}.husky-datagrid thead .sorted-desc .cell-content::after{content:""}.husky-datagrid tbody .row .cell-content{display:inline-block;vertical-align:middle}.husky-datagrid tbody .row.even{background:#fff}.husky-datagrid tbody .row.odd{background:#f6f6f6}.husky-datagrid tbody .row.has-action,.husky-datagrid tbody .row td.has-action{cursor:pointer}.husky-datagrid tbody .row.has-action .cell-content,.husky-datagrid tbody .row td.has-action .cell-content{color:#000;cursor:pointer}.husky-datagrid tbody .row.inactive,.husky-datagrid tbody .row td.inactive{cursor:auto}.husky-datagrid tbody .row.inactive .cell-content,.husky-datagrid tbody .row td.inactive .cell-content{cursor:auto;color:#999}.husky-datagrid tbody .child-wrapper .toggle-icon{display:inline-block;margin-right:10px}.husky-datagrid tbody .child-wrapper .custom-checkbox{margin-right:10px}.husky-datagrid tbody .row:hover .grid-icon{opacity:1}.husky-datagrid tbody .grid-icon{width:30px;height:20px;cursor:pointer;color:#fff;background:#52B6CA;text-align:center;border-radius:2px;margin-left:10px;display:inline-block;vertical-align:middle;opacity:0;-moz-transition:opacity 100ms ease-in 200ms;-o-transition:opacity 100ms ease-in 200ms;-webkit-transition:opacity 100ms ease-in;-webkit-transition-delay:200ms;transition:opacity 100ms ease-in 200ms}.husky-datagrid tbody .grid-icon.right{float:right}.husky-datagrid tbody .grid-icon.no-hover{opacity:1!important}.husky-datagrid tbody .grid-icon.simple{background:transparent;color:#000}.husky-datagrid tbody .grid-image{position:relative;width:50px;height:50px;text-align:center;line-height:50px}.husky-datagrid tbody .grid-image img{position:absolute;top:0;left:0}.husky-datagrid tbody .grid-image [class^=fa-]{color:#ccc;font-size:1.6em}.husky-datagrid .table-container{width:100%;overflow:auto;border-radius:3px}.husky-datagrid .table-container.no-head thead{display:none}.husky-datagrid .table-container.no-head tbody tr:last-child{border-bottom:0}.husky-datagrid .datagrid-loader{position:absolute;top:50%;left:50%;margin:-50px 0 0 -50px}.husky-datagrid .dropdown-menu{margin-top:5px}.husky-datagrid .dropdown-toggle::after{margin-left:12px}.husky-datagrid.loading{min-height:150px}.husky-datagrid .empty-list{text-align:center;color:#ccc;padding:20px 0;background:#fff}.husky-datagrid .empty-list .icon{display:block;font-size:50px;padding-bottom:5px}.husky-datagrid .empty-list span{display:block}.husky-datagrid .selected-elements{display:block;height:40px;-moz-transition:height 200ms;-o-transition:height 200ms;-webkit-transition:height 200ms;transition:height 200ms;overflow:hidden}.husky-datagrid .selected-elements.indent{padding-left:60px}.husky-datagrid .selected-elements.invisible{visibility:visible;height:0}.husky-datagrid .selected-elements .show-selected{color:#000;cursor:pointer}.husky-datagrid .medium-loader{overflow:hidden;height:0;transition:all 200ms;margin-top:0}.husky-datagrid .medium-loader.show{height:70px;margin-top:10px}.editable .husky-validate-error .husky-input input{height:30px;margin-top:-30px}.husky-label-error,.husky-label-warning,.husky-label-success{width:100%;position:relative;top:0;left:0;color:#fff;font-size:12px;z-index:200}.husky-label-error.big,.husky-label-warning.big,.husky-label-success.big{height:70px}.husky-label-error.small,.husky-label-warning.small,.husky-label-success.small{height:30px}.husky-label-error:before,.husky-label-warning:before,.husky-label-success:before{content:'';display:inline-block;height:100%;vertical-align:middle}.husky-label-error strong,.husky-label-warning strong,.husky-label-success strong{font-weight:700;padding-right:3px}.husky-label-error .text,.husky-label-warning .text,.husky-label-success .text{display:inline-block;vertical-align:middle}.husky-label-error .close,.husky-label-warning .close,.husky-label-success .close{width:55px;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;font-size:15px}.husky-label-error .buttons,.husky-label-warning .buttons,.husky-label-success .buttons{position:absolute;right:53px;top:50%;-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-webkit-transform:translate(0,-50%);transform:translate(0,-50%);height:20px}.husky-label-error .button,.husky-label-warning .button,.husky-label-success .button{display:inline-block;position:relative;padding:0 20px;margin-left:10px;line-height:20px;text-align:center;cursor:pointer;background:#fff;border-radius:3px;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.husky-label-error .button>div,.husky-label-warning .button>div,.husky-label-success .button>div{position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.husky-label-error .button.critical,.husky-label-warning .button.critical,.husky-label-success .button.critical{background:#EA524E;color:#fff}.husky-label-error.is-loading .buttons,.husky-label-warning.is-loading .buttons,.husky-label-success.is-loading .buttons{display:none}.husky-label-error .loader,.husky-label-warning .loader,.husky-label-success .loader{display:inline-block;position:absolute;right:72px;top:50%;-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.husky-label-error .counter,.husky-label-warning .counter,.husky-label-success .counter,.husky-label-success-icon .counter{position:absolute;top:0;right:0;padding:0 50px;height:100%;line-height:70px}.husky-label-error .counter span,.husky-label-warning .counter span,.husky-label-success .counter span,.husky-label-success-icon .counter span{display:inline-block;vertical-align:baseline;width:14px;height:14px;border-radius:7px;line-height:14px;text-align:center;font-size:10px;background:#fff;font-weight:700}.husky-label-success-icon{height:100px;background:#5DC774;text-align:center;padding:0 10px;position:relative}.husky-label-success-icon::before{content:"";display:inline-block;width:100%;height:35px;background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2248px%22%20height%3D%2238px%22%20viewBox%3D%220%200%2048%2038%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20xmlns%3Asketch%3D%22http%3A%2F%2Fwww.bohemiancoding.com%2Fsketch%2Fns%22%3E%3Ctitle%3EType%20something%3C%2Ftitle%3E%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%3Cdefs%3E%3C%2Fdefs%3E%20%3Cg%20id%3D%22Basics%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20sketch%3Atype%3D%22MSPage%22%3E%20%3Cg%20id%3D%22Success-Message%22%20sketch%3Atype%3D%22MSArtboardGroup%22%20transform%3D%22translate(-99%2C%20-19)%22%20stroke%3D%22%23FFFFFF%22%3E%20%3Cg%20id%3D%22Toolbar%22%20sketch%3Atype%3D%22MSLayerGroup%22%3E%20%3Cg%20id%3D%22Navigation%2FNavigation-Standard%22%20sketch%3Atype%3D%22MSShapeGroup%22%3E%20%3Cg%20id%3D%22Client%22%3E%20%3Cpath%20d%3D%22M146.379414%2C26.9419509%20C146.379414%2C27.7398803%20146.100142%2C28.4181101%20145.541592%2C28.9766607%20L123.877917%2C50.6403351%20L119.808498%2C54.7097546%20C119.249947%2C55.2683052%20118.571718%2C55.5475763%20117.773788%2C55.5475763%20C116.975859%2C55.5475763%20116.297629%2C55.2683052%20115.739078%2C54.7097546%20L111.669659%2C50.6403351%20L100.837822%2C39.8084979%20C100.279271%2C39.2499473%20100%2C38.5717175%20100%2C37.7737882%20C100%2C36.9758588%20100.279271%2C36.297629%20100.837822%2C35.7390784%20L104.907241%2C31.6696589%20C105.465792%2C31.1111083%20106.144022%2C30.8318372%20106.941951%2C30.8318372%20C107.73988%2C30.8318372%20108.41811%2C31.1111083%20108.976661%2C31.6696589%20L117.773788%2C40.4967086%20L137.402753%2C20.8378217%20C137.961303%2C20.2792711%20138.639533%2C20%20139.437463%2C20%20C140.235392%2C20%20140.913622%2C20.2792711%20141.472172%2C20.8378217%20L145.541592%2C24.9072412%20C146.100142%2C25.4657917%20146.379414%2C26.1440215%20146.379414%2C26.9419509%20L146.379414%2C26.9419509%20Z%22%20id%3D%22Type-something%22%3E%3C%2Fpath%3E%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:contain;background-position:center center;margin-top:20px;margin-bottom:5px;-moz-transition:margin-top 500ms;-o-transition:margin-top 500ms;-webkit-transition:margin-top 500ms;transition:margin-top 500ms}.husky-label-success-icon .text{color:#fff;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:1;-moz-transition:opacity 500ms;-o-transition:opacity 500ms;-webkit-transition:opacity 500ms;transition:opacity 500ms}.husky-label-success-icon .counter{right:auto;left:0;color:#5DC774;line-height:normal;padding:5px}.husky-label-error{background:#EA524E}.husky-label-error .counter{color:#EA524E}.husky-label-warning{background:#F2D212;color:#000}.husky-label-warning .counter{color:#F2D212}.husky-label-success{background:#5DC774}.husky-label-success .counter{color:#5DC774}.husky-toggler{width:35px;height:20px;border-radius:11px;display:inline-block;vertical-align:middle;cursor:pointer}.husky-toggler.outline{margin-top:-2px}.husky-toggler.outline .toggler-wrapper{border-color:#ACDAE6;height:22px;border-radius:11px}.husky-toggler.outline .switch{border-color:#ACDAE6;top:1px;left:1px}.husky-toggler .toggler-wrapper{background:#fff;border:1px solid #ccc;border-radius:10px;position:relative;width:35px;height:20px;top:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;-moz-transition:all 100ms ease-in;-o-transition:all 100ms ease-in;-webkit-transition:all 100ms ease-in;transition:all 100ms ease-in}.husky-toggler .switch{background:#fff;width:20px;height:20px;border-radius:10px;border:1px solid #ccc;margin:-1px 0 0 -1px;position:absolute;top:0;left:0;z-index:10;-moz-transition:all 100ms ease-in;-o-transition:all 100ms ease-in;-webkit-transition:all 100ms ease-in;transition:all 100ms ease-in}.husky-toggler input{position:absolute;top:3px;left:3px;-moz-transition:all 100ms ease-in;-o-transition:all 100ms ease-in;-webkit-transition:all 100ms ease-in;transition:all 100ms ease-in;opacity:0;z-index:0}.husky-toggler.checked.outline .toggler-wrapper{border-color:#ACDAE6}.husky-toggler.checked.outline .toggler-wrapper .switch{left:14px}.husky-toggler.checked .toggler-wrapper{background:#5DC774;border-color:#5DC774}.husky-toggler.checked .switch{border-color:#5DC774;left:15px}.husky-toggler.checked input{left:17px}.husky-toggler-label{color:#000}label.husky-toggler-label~.input-description{margin-left:40px}.sortable .text-block>.container,.sortable .text-block>.collapsed-container{padding-left:40px}.sortable .text-block>.move{position:absolute;top:0;left:0;width:15px;height:100%;background:#ccc;z-index:10;text-align:center;cursor:move;color:#000;font-size:16px;border-radius:3px 0 0 3px}.sortable .text-block>.move::before{content:"";display:block;position:relative;top:50%;margin-top:-8px}.sortable .text-block .grid-row:last-of-type{margin-bottom:0}.text-block-controls{position:absolute;top:0;right:0}.text-block{position:relative;margin-bottom:10px;background:#fff;border:1px solid #ddd;border-radius:3px}.text-block .head label{float:left;font-size:16px;margin-bottom:10px;cursor:default}.text-block .head::after{content:"";display:block;clear:both}.text-block .options-remove{cursor:pointer;font-size:16px;width:22px;height:30px;line-height:30px;margin-left:5px;text-align:left}.text-block .options-collapse{cursor:pointer;font-size:16px;width:22px;height:30px;line-height:30px;text-align:left}.text-block>.container,.text-block>.collapsed-container{padding:20px;position:relative}.text-block>.container label,.text-block>.collapsed-container label{margin-bottom:10px}.text-block>.container textarea,.text-block>.collapsed-container textarea{max-width:100%;min-width:100%;width:100%}.text-block>.collapsed-container{color:#999;cursor:pointer;padding-top:10px;display:none}.text-block>.collapsed-container:after{clear:both;content:' ';display:block}.text-block>.collapsed-container .title{font-weight:700;font-style:oblique;margin-bottom:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-right:100px}.text-block>.collapsed-container .image{float:left;overflow:hidden}.text-block>.collapsed-container .image img{display:block;margin-right:10px;height:50px;width:50px}.text-block>.collapsed-container .text{display:block;display:-webkit-box;padding-top:3px;height:45px;font-size:14px;line-height:20px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.text-block>.collapsed-container .type{font-size:12px;position:absolute;top:10px;right:20px}.text-block>.collapsed-container.empty::before{content:"";display:block;width:50px;height:50px;position:relative;top:10px;margin:0 auto;color:#ccc;font-size:45px}.text-block.collapsed>.container{display:none}.text-block.collapsed>.collapsed-container{display:block}.text-blocks-header{line-height:20px;text-align:right;margin-top:-35px;position:relative;z-index:20}.text-blocks-toggle-btn{font-size:12px;padding-bottom:15px;display:inline-block;cursor:pointer}.text-blocks-toggle-btn:focus{outline:0}.empty .text-block .options-remove{display:none}.text-block-footer{margin-bottom:20px}.text-block-footer .desc{font-size:12px;color:#999;padding-left:10px}.text-block-footer .btn.full{background-color:#ccc;cursor:default}.block-content{display:none;color:#999}.block-content p{margin:5px 0}.white-box{width:100%;height:100%;background:#fff;border-radius:3px;border:1px solid #ddd;padding:0 0 15px}.white-box .text{font-size:12px;color:#999}.white-box .header{position:relative;top:0;left:0;height:50px;border-bottom:1px solid #ddd;line-height:50px;padding-left:20px;padding-right:20px;font-size:12px;background:#ddd;text-align:center}.white-box .header:after{clear:both;content:' ';display:block}.white-box .header .no-content-message{color:#999;display:none}.white-box .header .selected-counter{color:#999;font-size:10px;display:block;position:absolute;top:0;left:70px}.white-box .header .loader{position:absolute;top:50%;left:50%;margin-top:-10px;margin-left:-10px;display:none}.white-box .header .icon{display:block;font-size:16px;width:40px;height:30px;border-radius:2px;text-align:center;line-height:30px;cursor:pointer;margin-top:9px;padding-top:1px}.white-box .header .icon.action{background:#52B6CA;color:#fff}.white-box .header .icon.border{border:1px solid #ccc;box-sizing:initial;height:28px;line-height:28px}.white-box .header .icon.left{float:left;margin-right:-40px}.white-box .header .icon.right{float:right;margin-left:-40px}.white-box .header .position{width:32px;height:32px;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}.white-box .content{position:relative;top:0;left:0;max-height:255px;overflow:auto}.white-box .content .items-list{list-style-type:none;margin:0;padding:0 20px;color:#999}.white-box .content .items-list li{white-space:nowrap;font-size:14px;line-height:50px;border-bottom:1px solid #ddd;position:relative;display:table;width:100%}.white-box .content .items-list li .icon{cursor:move;color:#000;font-size:15px;padding-right:10px;display:table-cell;width:1px}.white-box .content .items-list li img{padding-top:8px;padding-bottom:8px;padding-right:20px;vertical-align:middle}.white-box .content .items-list li .num{color:#999;padding-right:15px;display:table-cell;width:1px}.white-box .content .items-list li>a,.white-box .content .items-list li .item-content>a{display:table;width:100%}.white-box .content .items-list li>a,.white-box .content .items-list li>a *,.white-box .content .items-list li .item-content>a,.white-box .content .items-list li .item-content>a *{text-decoration:none}.white-box .content .items-list li>a .value,.white-box .content .items-list li>a .title,.white-box .content .items-list li>a:hover .description,.white-box .content .items-list li .item-content>a .value,.white-box .content .items-list li .item-content>a .title,.white-box .content .items-list li .item-content>a:hover .description{color:#000}.white-box .content .items-list li>a>*,.white-box .content .items-list li .item-content>a>*{display:table-cell;width:1px}.white-box .content .items-list li>a .value,.white-box .content .items-list li>a .title,.white-box .content .items-list li .item-content>a .value,.white-box .content .items-list li .item-content>a .title{width:auto}.white-box .content .items-list li>a .description,.white-box .content .items-list li .item-content>a .description{width:50%}.white-box .content .items-list li .value,.white-box .content .items-list li .title{color:#999;white-space:normal}.white-box .content .items-list li .description{color:#999;font-size:12px}.white-box .content .items-list li .remove{display:table-cell;cursor:pointer;width:50px;line-height:50px;background:#fff;text-align:center;color:#000}.white-box .item-content{position:relative;display:table-cell}.white-box .footer{padding:15px 20px 20px;line-height:14px;color:#999;font-size:12px}.white-box.no-content{padding-bottom:0}.white-box.no-content .header .no-content-message{display:inline}.white-box.no-content .header .position{display:none}.white-box.no-content .header .selected-counter{display:none}.white-box.is-loading .header .loader{display:block}.white-box.is-loading .header .no-content-message{display:none}.white-box.is-loading .header .position{display:none}.white-box.is-loading .header .selected-counter{display:none}.husky-dropzone{overflow:hidden;position:relative;top:0;left:0;width:100%;height:auto;border:1px dashed #ddd;border-radius:3px;-moz-transition:opacity 300ms;-o-transition:opacity 300ms;-webkit-transition:opacity 300ms;transition:opacity 300ms}.husky-dropzone .description{text-align:center;height:150px;position:absolute;top:0;left:0;width:100%;z-index:10;cursor:pointer;-moz-transition:margin-top 300ms;-o-transition:margin-top 300ms;-webkit-transition:margin-top 300ms;transition:margin-top 300ms}.husky-dropzone .description .icon{color:#52B6CA;font-size:72px;line-height:72px;margin-bottom:5px;margin-top:10px}.husky-dropzone .description .title{font-size:24px;line-height:24px}.husky-dropzone .description span{display:block}.husky-dropzone .description *{-moz-transition:opacity 300ms;-o-transition:opacity 300ms;-webkit-transition:opacity 300ms;transition:opacity 300ms}.husky-dropzone .upload-items{height:150px;padding:20px 0 0 20px;position:relative;z-index:5}.husky-dropzone .upload-items:after{clear:both;content:' ';display:block}.husky-dropzone .upload-items .item{width:70px;height:90px;border:1px solid #fff;background:#fff;border-radius:2px;margin-right:20px;margin-bottom:20px;float:left}.husky-dropzone .upload-items .item .success-content{display:none}.husky-dropzone .upload-items .item .loading-content{padding-top:20px}.husky-dropzone .upload-items .item .file-size{text-align:center;font-size:9px;line-height:10px;color:#999;padding-top:15px;padding-bottom:5px}.husky-dropzone .upload-items .item .file-size *{font-weight:400}.husky-dropzone .upload-items .item .progress{width:50px;height:6px;margin:0 auto;background:#ccc;border-radius:3px;overflow:hidden}.husky-dropzone .upload-items .item .progress .bar{height:100%;background:#52B6CA;width:0}.husky-dropzone .upload-items .item .icon{height:25px;color:#999;font-size:25px;text-align:center;display:block}.husky-dropzone .upload-items .item .image{padding:10px 10px 5px;height:65px;line-height:45px;text-align:center}.husky-dropzone .upload-items .item .image img{vertical-align:bottom;max-width:100%;max-height:100%}.husky-dropzone .upload-items .item .tick{text-align:center;color:#999;font-size:15px;line-height:15px;display:block}.husky-dropzone .upload-items .item.dz-success{border-color:#ddd}.husky-dropzone .upload-items .item.dz-success .success-content{display:block}.husky-dropzone .upload-items .item.dz-success .loading-content{display:none}.husky-dropzone .dropzone-loader{position:relative;z-index:9002;display:none}.husky-dropzone.dz-drag-hover{opacity:.5}.husky-dropzone.dropped{padding-bottom:0;-moz-transition:padding 300ms;-o-transition:padding 300ms;-webkit-transition:padding 300ms;transition:padding 300ms}.husky-dropzone.dropped .description{margin-top:-170px}.husky-dropzone.dropped .description *{opacity:0}.husky-dropzone.small{padding-bottom:0;height:70px;-moz-transition:height 300ms;-o-transition:height 300ms;-webkit-transition:height 300ms;transition:height 300ms}.husky-dropzone.small .addition{display:none}.husky-dropzone.small .description{height:70px}.husky-dropzone.small .description .icon{font-size:25px;line-height:25px}.husky-dropzone.small .description .title{font-size:18px;line-height:18px}.husky-dropzone.small .upload-items{height:70px}.husky-dropzone.small.dropped{height:150px}.husky-dropzone.overlay{width:100%;height:100%;padding:0;border:0}.husky-dropzone.overlay .dropzone-container{width:200px;height:200px;background-color:#fff;opacity:0;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:50%;overflow:hidden;-moz-transition:-moz-transform 200ms,opacity 200ms;-o-transition:-o-transform 200ms,opacity 200ms;-webkit-transition:-webkit-transform 200ms,opacity 200ms;transition:transform 200ms,opacity 200ms;-moz-transform:translate(-50%,-50%) scale(0.8);-ms-transform:translate(-50%,-50%) scale(0.8);-webkit-transform:translate(-50%,-50%) scale(0.8);transform:translate(-50%,-50%) scale(0.8)}.husky-dropzone.overlay .dropzone-container .description{width:initial;height:initial;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:1;-moz-transition:opacity 100ms;-o-transition:opacity 100ms;-webkit-transition:opacity 100ms;transition:opacity 100ms}.husky-dropzone.overlay .dropzone-container .description .title{display:none}.husky-dropzone.overlay .dropzone-container .description .addition{color:#666}.husky-dropzone.overlay .dropzone-container .upload-items{width:initial;height:initial;padding:0;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.husky-dropzone.overlay .dropzone-container .upload-items .item{width:initial;height:initial;margin:0;border:0}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content{padding:0}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content .icon{display:none}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content .file-size{padding-top:0;padding-bottom:6px;font-size:14px;line-height:14px}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content .progress{width:80px;height:8px;border-radius:4px}.husky-dropzone.overlay .dropzone-container .upload-items .item .success-content .image{display:none}.husky-dropzone.overlay .dropzone-container .upload-items .item .success-content .tick{font-size:72px;line-height:72px}.husky-dropzone.overlay:hover .dropzone-container,.husky-dropzone.overlay.dz-drag-hover .dropzone-container,.husky-dropzone.overlay.dropped .dropzone-container{-moz-transform:translate(-50%,-50%) scale(1);-ms-transform:translate(-50%,-50%) scale(1);-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:.8}.husky-dropzone.overlay.dz-drag-hover{opacity:1}.husky-dropzone.overlay.dz-drag-hover .dropzone-container{border:1px dashed #666}.husky-dropzone.overlay.dropped .description{margin:0;opacity:0}.husky-dropzone.dropzone-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:9000;margin:0;padding:20px;border:0;border-radius:0}.husky-dropzone.dropzone-overlay::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#000;opacity:.8;z-index:9001}.husky-dropzone.dropzone-overlay .dropzone-container{position:absolute;top:20px;bottom:20px;left:20px;right:20px;border-radius:5px;z-index:9002;border:1px dashed #fff;overflow:auto;-moz-transition:top 150ms;-o-transition:top 150ms;-webkit-transition:top 150ms;transition:top 150ms}.husky-dropzone.dropzone-overlay .dropzone-container .description{position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:inline-block;width:auto;color:#fff}.husky-dropzone.dropzone-overlay .dropzone-container .description .icon{margin-top:0;color:#fff}.husky-dropzone.dropzone-overlay .dropzone-loader{display:block;opacity:0;-moz-transition:opacity 150ms;-o-transition:opacity 150ms;-webkit-transition:opacity 150ms;transition:opacity 150ms}.husky-dropzone.dropzone-overlay.dropped .dropzone-loader{opacity:1}.husky-dropzone.dropzone-overlay.dropped .dropzone-container{top:80px}.husky-dropzone.dropzone-overlay:hover,.husky-dropzone.dropzone-overlay.dz-drag-hover{opacity:1}.husky-input{background:#fff;position:relative;top:0;left:0}.husky-input:after{clear:both;content:' ';display:block}.husky-input .front{float:left;line-height:20px;margin:5px 0 0;padding-right:5px;border-right:1px solid #ddd;color:#999;font-size:16px}.husky-input .front .color-field{width:15px;height:15px;border:1px solid #999;background-color:#ccc;display:inline-block;margin-top:2px}.husky-input .front a{padding-top:1px;text-decoration:none;cursor:default}.husky-input .front a.clickable{color:#000;cursor:pointer}.husky-input .back{position:absolute;top:0;right:0;line-height:20px;margin:5px 10px 0 5px;background:#fff;color:#999;font-size:16px}.husky-input .input{overflow:hidden;padding-left:5px}.husky-input .input input{height:28px;border:0;outline-width:0;width:100%}.husky-input .text{font-size:14px}.husky-input .text-link{color:#000;cursor:pointer!important}.husky-input.colorpicker .input{overflow:visible}.husky-input.colorpicker .front{color:#000;cursor:pointer}.husky-input.pickdate .front{color:#000;cursor:pointer}.husky-validate-error .husky-input input{height:26px}.husky-thumbnails{margin-bottom:-20px;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.husky-thumbnails:after{clear:both;content:' ';display:block}.husky-thumbnails .download{font-size:15px;height:15px;width:15px}.husky-thumbnails .description{font-size:10px;color:#999}.husky-thumbnails .text{line-height:14px}.husky-thumbnails .item{float:left;position:relative;cursor:pointer}.husky-thumbnails .item:after{clear:both;content:' ';display:block}.husky-thumbnails .item.small{width:259px;height:70px;margin-bottom:20px;margin-right:8px;border:1px solid #ccc;border-radius:4px}.husky-thumbnails .item.small .image{float:left;width:70px;text-align:center;line-height:50px;padding:8px;position:relative}.husky-thumbnails .item.small .image img{display:block;position:relative;z-index:10;vertical-align:middle;max-width:100%;max-height:100%}.husky-thumbnails .item.small .text{float:left;padding-top:20px;width:190px -1px}.husky-thumbnails .item.small .checkbox{position:absolute;top:10px;right:10px;left:auto;display:none}.husky-thumbnails .item.small .download{position:absolute;right:10px;bottom:10px;display:none}.husky-thumbnails .item.small .empty{position:absolute;top:0;left:0;width:100%;height:70px;line-height:70px;z-index:5;font-size:25px;color:#ccc}.husky-thumbnails .item.large{border:1px solid #ccc;width:187px;height:248px;margin-bottom:40px;margin-right:18px;padding:10px}.husky-thumbnails .item.large .image{width:100%;height:170px;text-align:center;line-height:170px;margin-bottom:10px;position:relative}.husky-thumbnails .item.large .image img{display:block;position:relative;z-index:10;vertical-align:bottom;max-width:100%;max-height:100%}.husky-thumbnails .item.large .text{text-align:center}.husky-thumbnails .item.large .checkbox{position:absolute;left:10px;bottom:10px;top:auto}.husky-thumbnails .item.large .download{position:absolute;bottom:10px;right:10px}.husky-thumbnails .item.large .empty{width:100%;position:absolute;top:0;left:0;z-index:5;height:160px;line-height:160px;font-size:70px;color:#ccc}.husky-thumbnails .item:hover,.husky-thumbnails .item.is-selected{background:#fff}.husky-thumbnails .item:hover.large,.husky-thumbnails .item.is-selected.large{border-color:#fff}.husky-thumbnails .item:hover .checkbox,.husky-thumbnails .item.is-selected .checkbox{display:block}.husky-thumbnails .item:hover .download,.husky-thumbnails .item.is-selected .download{display:block}.husky-groups:after{clear:both;content:' ';display:block}.husky-groups .grid-group{width:190px;margin-right:20px;margin-bottom:30px;float:left;cursor:pointer}.husky-groups .grid-group .thumbnails{position:relative;width:100%;height:125px}.husky-groups .grid-group .thumbnails .thumbnail{position:absolute;width:150px;height:100px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:3px solid #fff;background:#fff;border-radius:2px;-moz-transition:all 200ms ease 200ms;-o-transition:all 200ms ease 200ms;-webkit-transition:all 200ms ease;-webkit-transition-delay:200ms;transition:all 200ms ease 200ms}.husky-groups .grid-group .thumbnails .thumbnail img{width:100%;height:100%;display:block}.husky-groups .grid-group .thumbnails .thumbnail.empty{width:145px;height:95px;background:#fff;text-align:center;line-height:95px;font-size:40px;color:#ccc}.husky-groups .grid-group .thumbnails .thumbnail.first{top:0;right:0;z-index:50;transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg)}.husky-groups .grid-group .thumbnails .thumbnail.first:only-child{-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s;position:relative;margin:0 auto}.husky-groups .grid-group .thumbnails .thumbnail.second{right:10px;top:3px;z-index:40;transform:rotate(-3deg);-ms-transform:rotate(-3deg);-webkit-transform:rotate(-3deg)}.husky-groups .grid-group .thumbnails .thumbnail.third{right:20px;top:6px;z-index:30;transform:rotate(-5deg);-ms-transform:rotate(-5deg);-webkit-transform:rotate(-5deg)}.husky-groups .grid-group .thumbnails:hover .thumbnail.first{top:-10px;right:-20px;transform:rotate(5deg);-ms-transform:rotate(5deg);-webkit-transform:rotate(5deg)}.husky-groups .grid-group .thumbnails:hover .thumbnail.first:only-child{transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);top:0;left:0}.husky-groups .grid-group .thumbnails:hover .thumbnail.second{right:10px;top:-2px;transform:rotate(-2deg);-ms-transform:rotate(-2deg);-webkit-transform:rotate(-2deg)}.husky-groups .grid-group .thumbnails:hover .thumbnail.third{top:15px;right:35px;transform:rotate(-8deg);-ms-transform:rotate(-8deg);-webkit-transform:rotate(-8deg)}.husky-groups .grid-group .title{display:block;line-height:14px;text-align:center}.husky-groups .grid-group .addition{display:block;text-align:center;font-size:10px;color:#999;line-height:14px}.data-navigation-container{height:100%}.data-navigation{height:100%;overflow:hidden;background-color:#ddd;color:#000}.data-navigation .data-navigation-header{display:table;table-layout:fixed;height:50px;width:100%;background-color:#ccc}.data-navigation .data-navigation-header .header-item{display:table-cell;width:50px;position:relative}.data-navigation .data-navigation-header .header-item .icon-container{cursor:pointer;display:table-cell;width:50px;text-align:center}.data-navigation .data-navigation-header .header-item .icon-container span{font-size:20px;line-height:50px;vertical-align:middle}.data-navigation .data-navigation-header .header-item .content-container{display:none;width:100%;position:relative;top:1px;padding-left:10px;font-size:12px;overflow:hidden;white-space:nowrap}.data-navigation .data-navigation-header .data-navigation-back{background-color:#999;color:#fff}.data-navigation .data-navigation-header .data-navigation-back .icon-container span{font-size:14px}.data-navigation .data-navigation-header .data-navigation-search{border-right:1px solid rgba(255,255,255,.2)}.data-navigation .data-navigation-header .data-navigation-search .icon-container span{font-size:16px}.data-navigation .data-navigation-header .data-navigation-search .search-container .search-icon{right:0}.data-navigation .data-navigation-header .data-navigation-search .search-container .remove-icon{display:none!important}.data-navigation .data-navigation-header .data-navigation-search .search-container #search-input{padding-left:15px;padding-right:30px;font-size:12px}.data-navigation .data-navigation-header .data-navigation-add,.data-navigation .data-navigation-header .header-filler{width:100%;padding:0 20px;border:0}.data-navigation .data-navigation-header .data-navigation-add .content-container,.data-navigation .data-navigation-header .header-filler .content-container{display:table-cell}.data-navigation .data-navigation-header .data-navigation-add{cursor:pointer}.data-navigation .data-navigation-header.header-search .data-navigation-add,.data-navigation .data-navigation-header.header-search .header-filler{display:none}.data-navigation .data-navigation-header.header-search .data-navigation-search{width:100%;padding:0 20px;border:0}.data-navigation .data-navigation-header.header-search .data-navigation-search .content-container{display:table-cell}.data-navigation-list-container{height:calc(100% - 50px);overflow:auto;position:relative;padding:15px 0 10px}.data-navigation-list-container .data-navigation-list-scroll{position:relative;min-height:calc(100% - 40px)}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list{background-color:#ddd;width:100%;height:100%}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list.is-animated{position:absolute;top:0;left:100%;z-index:5}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items{height:100%;margin:0;padding:0;list-style:none;overflow:auto}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li{position:relative;height:50px;line-height:50px;padding:0 30px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li:hover{background-color:#ccc}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li:focus{outline:0}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li.not-selectable{cursor:default;padding:0;height:auto}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li.not-selectable:hover{background-color:initial}.data-navigation-item-name{display:inline-block;width:calc(100% - 45px);text-overflow:ellipsis;overflow:hidden;padding-left:5px}.data-navigation-item-name .fa-chevron-right{position:absolute;right:10px;top:18px;font-size:14px}.data-navigation-item-thumb{position:relative;top:6px;display:block;float:left;width:35px;height:35px;margin-right:10px;border-radius:50%;vertical-align:top;background-size:100% 100%;background-repeat:no-repeat}.data-navigation-loader-container{position:absolute;width:100%;height:100%;left:0;top:0;padding:4px 0}.data-navigation-info{text-align:center;line-height:50px;height:100%}.data-navigation-info-empty{color:#999;font-size:14px;line-height:normal}.data-navigation-info-empty .icon{font-size:40px;display:block;margin:10px 0}.tiles-view{margin:0 -20px -20px 0}.tiles-view .tile,.tiles-view .add-new-tile{position:relative;width:120px;height:120px;display:inline-block;margin:0 20px 20px 0;cursor:pointer;text-align:center;vertical-align:middle;border-radius:2px}.tiles-view .tile{background:#fff;box-shadow:0 0 10px -10px rgba(0,0,0,.1);-moz-transition:box-shadow 200ms;-o-transition:box-shadow 200ms;-webkit-transition:box-shadow 200ms;transition:box-shadow 200ms}.tiles-view .tile:hover{box-shadow:0 0 10px -2px rgba(0,0,0,.1)}.tiles-view .add-new-tile{-moz-transition:color 80ms,border-color 80ms;-o-transition:color 80ms,border-color 80ms;-webkit-transition:color 80ms,border-color 80ms;transition:color 80ms,border-color 80ms;color:#999;border:1px dashed #ccc}.tiles-view .add-new-tile .icon{-moz-transition:color 80ms;-o-transition:color 80ms;-webkit-transition:color 80ms;transition:color 80ms;color:#ccc}.tiles-view .add-new-tile:hover{color:#000;border-color:#000}.tiles-view .add-new-tile:hover .icon{color:#000}.tiles-view .icon{font-size:38px;line-height:38px;padding:20px 0 15px;color:#ddd}.tiles-view .title,.tiles-view .description{position:absolute;display:block;width:100%;font-size:12px;padding:0 8px}.tiles-view .title{bottom:28px;line-height:15px}.tiles-view .description{position:absolute;bottom:5px;color:#999;white-space:nowrap;overflow:hidden;line-height:20px}.badge{vertical-align:middle;display:inline-block;background:#52B6CA;padding:0 2px;margin-top:-3px;color:#fff;border-radius:3px;font-size:10px;line-height:15px}.badge-none{background-color:transparent}.badge-color-none{color:transparent}.badge-black{background-color:#000}.badge-color-black{color:#000}.badge-white{background-color:#fff}.badge-color-white{color:#fff}.badge-gray-light{background-color:#999}.badge-color-gray-light{color:#999}.badge-gray{background-color:#666}.badge-color-gray{color:#666}.badge-yellow{background-color:#F2D212}.badge-color-yellow{color:#F2D212}.badge-blue{background-color:#52B6CA}.badge-color-blue{color:#52B6CA}.badge-red{background-color:#EA524E}.badge-color-red{color:#EA524E}[class^=fa-]{text-decoration:none} \ No newline at end of file + */ @font-face{font-family:FontAwesome;src:url(fonts/fontawesome/fontawesome-webfont.eot?v=4.4);src:url(fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.4) format("embedded-opentype"),url(fonts/fontawesome/fontawesome-webfont.woff2?v=4.4) format("woff2"),url(fonts/fontawesome/fontawesome-webfont.woff?v=4.4) format("woff"),url(fonts/fontawesome/fontawesome-webfont.ttf?v=4.4) format("truetype"),url(fonts/fontawesome/fontawesome-webfont.svg?v=4.4#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa,.custom-checkbox input:indeterminate+.icon::after,.custom-checkbox input.is-indeterminate+.icon::after,.custom-checkbox input:checked+.icon::after,.custom-checkbox input.is-checked+.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a::before,.navigation-item-container .navigation-items li.is-selected a::before,.addButton:before,.pagination-wrapper.dropdowns .pagination .pagination-prev::after,.pagination-wrapper.dropdowns .pagination .pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.marked::before,.husky-toolbar .toolbar-dropdown-menu li.warning::before,.husky-toolbar .toolbar-dropdown-menu li.checked::before,.auto-complete-list-selection .tm-tag-remove,.husky-datagrid .husky-table.overflow:after,.husky-datagrid thead .is-sortable .cell-content::after,.sortable .text-block>.move::before,.text-block>.collapsed-container.empty::before,[class^=fa-]{display:inline-block;font:400 normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.custom-checkbox input:indeterminate+.fa-pull-left.icon::after,.custom-checkbox input.is-indeterminate+.fa-pull-left.icon::after,.custom-checkbox input:checked+.fa-pull-left.icon::after,.custom-checkbox input.is-checked+.fa-pull-left.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-left::before,.navigation-item-container .navigation-items li.is-selected a.fa-pull-left::before,.fa-pull-left.addButton:before,.pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .fa-pull-left.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.marked::before,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.warning::before,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-left.checked::before,.auto-complete-list-selection .fa-pull-left.tm-tag-remove,.husky-datagrid .fa-pull-left.husky-table.overflow:after,.husky-datagrid thead .is-sortable .fa-pull-left.cell-content::after,.sortable .text-block>.fa-pull-left.move::before,.text-block>.fa-pull-left.collapsed-container.empty::before,.fa-pull-left[class^=fa-]{margin-right:.3em}.fa.fa-pull-right,.custom-checkbox input:indeterminate+.fa-pull-right.icon::after,.custom-checkbox input.is-indeterminate+.fa-pull-right.icon::after,.custom-checkbox input:checked+.fa-pull-right.icon::after,.custom-checkbox input.is-checked+.fa-pull-right.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.fa-pull-right::before,.navigation-item-container .navigation-items li.is-selected a.fa-pull-right::before,.fa-pull-right.addButton:before,.pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .fa-pull-right.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.marked::before,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.warning::before,.husky-toolbar .toolbar-dropdown-menu li.fa-pull-right.checked::before,.auto-complete-list-selection .fa-pull-right.tm-tag-remove,.husky-datagrid .fa-pull-right.husky-table.overflow:after,.husky-datagrid thead .is-sortable .fa-pull-right.cell-content::after,.sortable .text-block>.fa-pull-right.move::before,.text-block>.fa-pull-right.collapsed-container.empty::before,.fa-pull-right[class^=fa-]{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.custom-checkbox input:indeterminate+.pull-left.icon::after,.custom-checkbox input.is-indeterminate+.pull-left.icon::after,.custom-checkbox input:checked+.pull-left.icon::after,.custom-checkbox input.is-checked+.pull-left.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-left::before,.navigation-item-container .navigation-items li.is-selected a.pull-left::before,.pull-left.addButton:before,.pagination-wrapper.dropdowns .pagination .pull-left.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .pull-left.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.pull-left.marked::before,.husky-toolbar .toolbar-dropdown-menu li.pull-left.warning::before,.husky-toolbar .toolbar-dropdown-menu li.pull-left.checked::before,.auto-complete-list-selection .pull-left.tm-tag-remove,.husky-datagrid .pull-left.husky-table.overflow:after,.husky-datagrid thead .is-sortable .pull-left.cell-content::after,.sortable .text-block>.pull-left.move::before,.text-block>.pull-left.collapsed-container.empty::before,.pull-left[class^=fa-]{margin-right:.3em}.fa.pull-right,.custom-checkbox input:indeterminate+.pull-right.icon::after,.custom-checkbox input.is-indeterminate+.pull-right.icon::after,.custom-checkbox input:checked+.pull-right.icon::after,.custom-checkbox input.is-checked+.pull-right.icon::after,.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a.pull-right::before,.navigation-item-container .navigation-items li.is-selected a.pull-right::before,.pull-right.addButton:before,.pagination-wrapper.dropdowns .pagination .pull-right.pagination-prev::after,.pagination-wrapper.dropdowns .pagination .pull-right.pagination-next::after,.husky-toolbar .toolbar-dropdown-menu li.pull-right.marked::before,.husky-toolbar .toolbar-dropdown-menu li.pull-right.warning::before,.husky-toolbar .toolbar-dropdown-menu li.pull-right.checked::before,.auto-complete-list-selection .pull-right.tm-tag-remove,.husky-datagrid .pull-right.husky-table.overflow:after,.husky-datagrid thead .is-sortable .pull-right.cell-content::after,.sortable .text-block>.pull-right.move::before,.text-block>.pull-right.collapsed-container.empty::before,.pull-right[class^=fa-]{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.custom-dropdown-menu{background-color:#fff;border:1px solid #ccc;display:block;position:absolute;top:100%;left:0;z-index:1000;float:left;min-width:160px;list-style:none;padding:5px 0;margin-top:-7px;margin-left:0;-moz-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;box-shadow:rgba(0,0,0,.08) 2px 2px 0 0}.custom-dropdown-menu.right-aligned{left:auto;right:0}.custom-dropdown-menu li{display:list-item;float:none;height:30px;line-height:30px;white-space:nowrap}.custom-dropdown-menu li.is-selected,.custom-dropdown-menu li:hover{background-color:#52B6CA;cursor:pointer}.custom-dropdown-menu li.is-selected a,.custom-dropdown-menu li:hover a{color:#fff}.custom-dropdown-menu li.disabled:hover,.custom-dropdown-menu li.disabled{cursor:default;background-color:inherit}.custom-dropdown-menu li.disabled:hover a,.custom-dropdown-menu li.disabled a{cursor:default;color:#999}.custom-dropdown-menu li:active{background-color:#66bed0}.custom-dropdown-menu li.divider{height:1px;margin:5px 0;overflow:hidden;background-color:#ddd}.custom-dropdown-menu li a{clear:both;text-align:left}body{font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:20px}h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:400;color:#999}h1{color:#52B6CA;font-size:36px;line-height:40px;margin:10px 0 40px}h1.bright{color:#74C4D4;font-size:24px;margin-bottom:20px}h2{font-size:24px;line-height:30px;margin:0 0 20px}h2.light{color:#ccc}h3{font-size:20px;line-height:25px}h4{font-size:18px;line-height:20px}h5{font-size:14px;line-height:15px}h6{font-size:12px;line-height:15px;margin:0}.compoundedHeadlines :first-child{color:#52B6CA;font-size:14px;margin:0;line-height:20px}.compoundedHeadlines :nth-child(2){margin-top:0}h1,h2,h3,h4,h5{position:relative;z-index:1;overflow:hidden}h1.divider:after,h2.divider:after,h3.divider:after,h4.divider:after,h5.divider:after{position:absolute;top:50%;margin-left:10px;overflow:hidden;width:100%;height:1px;content:'\a0';background-color:#ccc}.bold{font-family:Helvetica,Arial,sans-serif!important}.small-font{font-size:12px}.smaller-font{font-size:10px}.grey-font{color:#999}[class^=fa-]{font-family:inherit}[class^=fa-]::before{font-family:FontAwesome}.husky-overlay-container{width:580px;border-radius:3px;display:inline-block;vertical-align:middle;position:relative;z-index:1000;text-align:left;white-space:normal;background-color:#e9e9e9;-moz-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;box-shadow:rgba(0,0,0,.08) 3px 3px 0 0}.husky-overlay-container.right-aligned{left:auto;right:0}.husky-overlay-container.overflow-hidden{overflow:hidden}.husky-overlay-container.wide{width:860px}.husky-overlay-container.wide .slides .slide{width:860px}.husky-overlay-container.wide .slides .slide .overlay-footer{width:860px}@media (min-width:880px){.husky-overlay-container.responsive-width,.husky-overlay-container.responsive-width .slides .slide,.husky-overlay-container.responsive-width .slides .slide .overlay-footer{width:860px}}@media (min-width:1024px){.husky-overlay-container.responsive-width,.husky-overlay-container.responsive-width .slides .slide,.husky-overlay-container.responsive-width .slides .slide .overlay-footer{width:940px}}@media (min-width:1600px){.husky-overlay-container.responsive-width,.husky-overlay-container.responsive-width .slides .slide,.husky-overlay-container.responsive-width .slides .slide .overlay-footer{width:1360px}}.husky-overlay-container.alert .overlay-header{height:70px}.husky-overlay-container.alert .overlay-header .title{line-height:normal;padding-top:40px}.husky-overlay-container .slides{position:relative;left:0;white-space:nowrap;padding-bottom:70px;-moz-transition:left,500ms;-o-transition:left,500ms;-webkit-transition:left,500ms;transition:left,500ms}.husky-overlay-container .slides .slide{display:inline-block;vertical-align:top;width:580px}.husky-overlay-container .slides.no-animation{-moz-transition:none;-o-transition:none;-webkit-transition:none;transition:none}.overlay-header{position:relative;background:#fff;border-radius:3px 3px 0 0;height:100px}.overlay-header .title{color:#999;font-size:24px;vertical-align:middle;display:block;white-space:nowrap;overflow:hidden;padding:0 20px;text-overflow:ellipsis;line-height:100px;text-align:center}.overlay-header.with-sub-title .title{line-height:75px}.overlay-header.with-sub-title .sub-title{font-size:12px;color:#999;margin-top:-23px;text-align:center}.overlay-subheader{background:#fff;padding:0 20px;border-top:1px solid #e9e9e9;width:100%;height:51px;position:relative;display:table;table-layout:auto}.overlay-subheader .overlay-tabs{display:table-cell;width:100%;max-width:0;white-space:nowrap;overflow:hidden}.overlay-subheader .panel{display:table-cell;white-space:nowrap;padding-left:20px;border-left:1px solid #e9e9e9}.overlay-subheader .panel-content{display:inline-block;vertical-align:middle;height:100%;border-right:1px solid #e9e9e9;padding-right:20px;margin-right:20px}.overlay-subheader .panel-content::before{content:'';display:inline-block;height:100%;vertical-align:middle}.overlay-subheader .panel-content>*{display:inline-block;vertical-align:middle}.overlay-subheader .language-changer{display:inline-block;width:80px;height:100%}.overlay-subheader .language-changer::before{content:'';display:inline-block;height:100%;vertical-align:middle}.overlay-subheader .language-changer>*{width:100%;display:inline-block;vertical-align:middle}.overlay-footer{padding:20px;border-top:1px solid #ddd;text-align:center;border-radius:0 0 3px 3px;width:580px;position:absolute;bottom:0;left:auto}.overlay-footer:after{clear:both;content:' ';display:block}.overlay-footer .btn{display:inline-block;min-width:115px;margin:0 auto;padding:0}.overlay-footer .btn.left{float:left;margin-right:0}.overlay-footer .btn.right{float:right;margin-left:20px;margin-right:0}.overlay-footer .btn.just-text{background:transparent;color:#000;font-size:12px}.overlay-footer.center .btn{margin:0 auto}.overlay-footer.left .btn{float:left;margin-right:20px}.overlay-footer.right .btn{float:right;margin-left:20px}.overlay-footer .loader{float:right;margin-left:20px;margin-right:0;width:115px}.overlay-content{position:relative;white-space:normal}.overlay-content .message{padding:10px 105px 40px;background:#fff;font-size:16px;color:#999;text-align:center}.overlay-content .message ul{border:1px solid #ddd;list-style-position:inside;text-align:left;padding:10px}.overlay-content.content-spacing{padding:20px}.husky-overlay-wrapper{width:100%;height:100%;position:fixed;top:0;left:0;z-index:999;text-align:center;-webkit-transform:translate3d(0,0,0)}.husky-overlay-wrapper .husky-overlay-scroll-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;overflow:auto;white-space:nowrap}.husky-overlay-wrapper .husky-overlay-scroll-wrapper::before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.husky-overlay-wrapper .husky-overlay-backdrop{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.fa-husky-publish::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;background:#5DC774;font-size:medium!important;margin-bottom:-1px}.fa-husky-unpublish::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;background:#EA524E;font-size:medium!important;margin-bottom:-1px}.fa-husky-deactivated::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;font-size:medium!important;margin-bottom:-1px}.fa-husky-test::after{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;border:3px solid #fff;background:#F2D212;font-size:medium!important;margin-bottom:-1px}.fa-shadow-node:before{content:""}.fa-internal-link:before{content:""}.draft-icon,.published-icon{display:inline-block;border:1px #fff solid;border-radius:6px;width:11px;height:11px;margin-top:4px}.draft-icon{margin-right:5px;background-color:#E8CE33}.published-icon{background-color:#5DC774}.published-icon+.draft-icon{margin-left:-6px}*{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{height:100%;overflow:hidden}body{font-size:14px;color:#000;background:#f1f1f1}hr.divider{color:#fff;height:0;border-bottom:1px solid #fff;border-top:0;margin:0 0 20px}hr.divider.dark{color:#ccc;border-color:#ccc}hr.divider.small{margin-bottom:10px}.options-dropdown-container{position:absolute;right:0;top:5px;z-index:10}.options-toggle{background-color:#f1f1f1;font-size:16px;color:#000}.options-toggle::after{content:"";display:inline-block;position:relative;top:-2px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid #000}.column-options-parent .overlay-content{margin:0}.column-options-list{list-style:none;padding-left:0;margin:10px 0}.column-options-list li{display:list-item;float:none;line-height:1;height:50px;line-height:50px;white-space:nowrap;padding-right:20px;position:relative;top:0;left:0}.column-options-list-item.is-selected,.column-options-list-item.hover-style{background-color:#ccc}.column-options-list-item.disabled{cursor:default;color:#999}.column-options-list-item.disabled.hover-style{background-color:#e6e6e6}.column-options-list-item .move{line-height:0;vertical-align:middle;padding-right:10px;padding-left:20px;font-size:22px;cursor:move}.column-options-list-item .visibility-toggle{position:absolute;top:0;padding-right:10px;padding-left:5px;right:10px;font-size:18px;cursor:pointer}.column-options-list-item .visibility-toggle::before{line-height:50px;vertical-align:center}.sortable-placeholder{border:1px dashed rgba(0,0,0,.3);width:95%;height:95%;margin:auto;text-align:center}.grid{display:block}.grid-row{margin-bottom:20px}.grid-row.small{margin-bottom:10px}.grid-row.no-spacing{margin-bottom:0}.grid-row.divider{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #ccc}.grid-row::after{content:"";display:table;clear:both}.grid-row img{max-width:100%}.grid-row.small .grid-col-1.floating:nth-child(n+13){margin-top:10px}.grid-row.small .grid-col-2.floating:nth-child(n+7){margin-top:10px}.grid-row.small .grid-col-3.floating:nth-child(n+5){margin-top:10px}.grid-row.small .grid-col-4.floating:nth-child(n+4){margin-top:10px}.grid-row.small .grid-col-6.floating:nth-child(n+3){margin-top:10px}.grid-row.small .grid-col-12.floating:nth-child(n+2){margin-top:10px}[class*=grid-col-]{float:left;padding-left:8px;padding-right:8px;min-height:1px}[class*=grid-col-]:last-of-type{padding-right:0}[class*=grid-col-]:first-of-type{padding-left:0;padding-right:8px}[class*=grid-col-]:only-of-type{padding-left:0;padding-right:0}[class*=grid-col-].no-padding{padding:0}.grid-col-1{width:8.33%}.grid-col-1.floating:nth-child(n+13){margin-top:20px}.grid-col-1.floating:nth-child(12n+1){padding-left:0;padding-right:8px}.grid-col-1.floating:nth-child(12n){padding-right:0}.grid-col-2{width:16.66%}.grid-col-2.floating:nth-child(n+7){margin-top:20px}.grid-col-2.floating:nth-child(6n+1){padding-left:0;padding-right:8px}.grid-col-2.floating:nth-child(6n){padding-right:0}.grid-col-3{width:25%}.grid-col-3.floating:nth-child(n+5){margin-top:20px}.grid-col-3.floating:nth-child(4n+1){padding-left:0;padding-right:8px}.grid-col-3.floating:nth-child(4n){padding-right:0}.grid-col-4{width:33.33%}.grid-col-4.floating:nth-child(n+4){margin-top:20px}.grid-col-4.floating:nth-child(3n+1){padding-left:0;padding-right:8px}.grid-col-4.floating:nth-child(3n){padding-right:0}.grid-col-5{width:41.66%}.grid-col-6{width:50%}.grid-col-6.floating:nth-child(n+3){margin-top:20px}.grid-col-6.floating:nth-child(odd){padding-left:0;padding-right:8px}.grid-col-6.floating:nth-child(even){padding-right:0}.grid-col-7{width:58.33%}.grid-col-8{width:66.66%}.grid-col-9{width:75%}.grid-col-10{width:83.33%}.grid-col-11{width:91.66%}.grid-col-12{width:100%}.grid-col-12.floating:nth-child(n+2){margin-top:20px}.grid-col-12.floating:nth-child(n){padding-left:0;padding-right:0}@media (max-width:580px){[class*=grid-col-]{width:100%;margin-top:15px;padding-left:0;padding-right:0}[class*=grid-col-]:first-of-type{margin-top:0;padding-right:0}[class*=grid-col-].floating:nth-child(n){padding-right:0}}.form-element,.husky-input{width:100%;height:30px;border:1px solid #ddd;padding:0 5px;font-size:14px;border-radius:3px}.form-element:focus,.husky-input:focus{outline:0;border-color:#ddd}.form-element.input-large,.form-element.input-bold,.input-bold.husky-input,.input-large.husky-input{height:40px;padding:0 10px}.form-element.input-bold,.input-bold.husky-input{font-size:24px}.form-element[readonly],[readonly].husky-input{background:0;color:#999}input[type=text].input-round{border-radius:30px}input .input-description{margin-top:-5px;font-size:12px;color:#999}.input-placeholder-style,input::-webkit-input-placeholder,input:-moz-placeholder,input ::-moz-placeholder,input :-ms-input-placeholder{color:#999;font-weight:400}input ::-moz-placeholder{}.form-group,.form-group-vertical,.form-vertical .form-group{min-height:30px}.form-group>:first-child,.form-group-vertical>:first-child,.form-vertical .form-group>:first-child{height:20px;margin-bottom:10px}.form-horizontal .form-group{display:table;table-layout:fixed;width:100%}.form-horizontal .form-group>*{display:table-cell}.form-horizontal .form-group>:first-child{text-align:right;vertical-align:middle;padding-right:20px;width:140px}.form-horizontal .form-group label.top{vertical-align:top;padding-top:5px}.form-horizontal .form-group>:nth-child(2){width:100%}label.choice{color:#000;margin-bottom:10px}label{display:block;font-size:14px;color:#999;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}label.large{font-size:16px;font-weight:700}label .form-element,label .husky-input{margin-top:5px;border:1px solid #ddd}label.inline{font-size:1em;font-weight:400;display:inline;vertical-align:middle}label.spacing-right{margin-right:10px}label.spacing-left{margin-left:10px}.input-description{font-size:12px;color:#999}h2~.input-description{margin-top:-20px;margin-bottom:20px}label~.input-description{margin-top:-5px}div~.input-description,input~.input-description{margin-top:0}.custom-checkbox{width:15px;height:15px;position:relative;top:2px;left:0;display:inline-block;margin:0 5px 0 0}.custom-checkbox.no-spacing{top:0;margin:0}.custom-checkbox input{opacity:0;width:15px;height:15px;display:block;position:absolute;top:0;left:0;margin:0;padding:0;cursor:pointer}.custom-checkbox input[readonly],.custom-checkbox input[readonly=readonly]{display:none}.custom-checkbox input[readonly]+.icon,.custom-checkbox input[readonly=readonly]+.icon{border:1px solid #999}.custom-checkbox input:indeterminate+.icon,.custom-checkbox input.is-indeterminate+.icon{background-color:#999;color:#fff}.custom-checkbox input:indeterminate+.icon::after,.custom-checkbox input.is-indeterminate+.icon::after{display:inline-block;margin-top:-1px;margin-left:-1px;content:""}.custom-checkbox input:checked+.icon,.custom-checkbox input.is-checked+.icon{border-color:#5DC774;background-color:#5DC774;color:#fff}.custom-checkbox input:checked+.icon::after,.custom-checkbox input.is-checked+.icon::after{display:inline-block;margin-top:-1px;margin-left:-1px;content:""}.custom-checkbox input:checked[readonly]+.icon,.custom-checkbox input:checked[readonly=readonly]+.icon,.custom-checkbox input.is-checked[readonly]+.icon,.custom-checkbox input.is-checked[readonly=readonly]+.icon{border:1px solid #999;background-color:#999;color:#fff}.custom-checkbox input+.icon{position:absolute;top:0;left:0;margin:0;padding:0;display:block;width:15px;height:15px;border:1px solid #000;font-size:15px;line-height:13px;text-align:center;border-radius:2px}textarea{resize:vertical}textarea.horizontal{resize:horizontal}textarea.noResize{resize:none}textarea.form-element,textarea.husky-input{width:100%;height:40px;min-height:150px;padding:10px;font-size:14px;font-family:inherit}textarea.form-element.small,textarea.small.husky-input{height:70px;min-height:70px;padding:5px}textarea.ckeditor-preview{height:70px;min-height:70px}.custom-radio{width:15px;height:15px;position:relative;top:2px;left:0;display:inline-block;margin:0 5px 0 0}.custom-radio.no-spacing{top:0;margin:0}.custom-radio input{width:15px;height:15px;opacity:0;cursor:pointer;display:block;position:absolute;top:0;left:0;margin:0;padding:0}.custom-radio input:checked+.icon,.custom-radio input.is-checked+.icon{border-color:#fff}.custom-radio input:checked+.icon::after,.custom-radio input.is-checked+.icon::after{content:"";display:block;width:100%;height:100%;border-radius:15px;background-color:#5DC774}.custom-radio input+.icon{display:block;position:absolute;top:0;left:0;width:15px;height:15px;padding:2px;border-radius:15px;border:1px solid #ddd;background-color:#fff;text-align:center;margin:0}.cke.cke_chrome{box-shadow:none!important;border:0!important}.cke .cke_inner{border:1px solid #ddd!important;border-radius:3px!important}.cke .cke_inner,.cke .cke_wysiwyg_frame{border-bottom-left-radius:3px!important;border-bottom-right-radius:3px!important}.cke_hidpi .cke_dialog_close_button{background-image:none!important}span.error{font-size:14px;color:#EA524E;font-weight:700}.section-headline{position:relative;font-size:12px;padding:2px 0 0;margin:10px 20px 0;height:20px;color:rgba(255,255,255,.2);font-weight:700;cursor:default}.section-headline .section-headline-title{white-space:nowrap}.section-headline-divider{position:relative;margin:30px 0;cursor:default;border:0}.husky-navigation{height:100%;position:relative}.navigation{width:250px;height:100%;position:relative;top:0;left:0;background-color:#21272E;overflow-x:visible;z-index:250;float:left}.navigation .navigation-close-icon{display:none;opacity:0;height:0;-webkit-transform:scale3d(1,1,1)}.navigation.collapseIcon .navigation-close-icon{position:absolute;display:block;height:30px;width:30px;left:calc(100% - 38px);top:6px;line-height:30px;vertical-align:middle;color:#fff;text-align:center;font-size:20px;cursor:pointer;border-radius:0 0 2px;opacity:1}.navigation.collapsed+.navigation-data-container.expanded{width:250px}.navigation.disappeared.collapseIcon .navigation-close-icon{display:none}.navigation-content{position:relative;height:100%;overflow-y:auto;overflow-x:hidden;color:rgba(255,255,255,.5);font-size:14px}.navigation-content a{display:inline-block;text-decoration:none;color:rgba(255,255,255,.5);outline:0}.navigation-content ul{margin:0;padding:0;list-style:none}.navigation-content .wrapper{min-height:100%;margin-bottom:-121px;overflow:hidden}.navigation-content .wrapper:after{content:"";display:block;height:131px}.navigation-header{overflow:hidden;padding:35px 20px;background:#191D22;white-space:nowrap}.navigation-header-title{display:inline-block;font-size:16px;color:#fff;margin:0;line-height:25px;cursor:pointer;vertical-align:bottom}.logo{display:inline-block;margin-right:10px;width:30px;height:30px;cursor:pointer;vertical-align:top;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjMwcHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDMwIDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4wLjEgKDc1OTcpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPlNsaWNlIDE8L3RpdGxlPgogICAgPGRlc2NyaXB0aW9uPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjcmlwdGlvbj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iNDkuOTk5NTk2OCUiIHkxPSItMC4wMDAzNDQ2MDg1MjYlIiB4Mj0iNDkuOTk5NTk2OCUiIHkyPSIxMDAuMDAyNTUlIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM3QUM5NDMiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzNGQTlGNSIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSIwMy1TdWx1LVNpZ25ldC1Db2xvcigyKSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0idXJsKCNsaW5lYXJHcmFkaWVudC0xKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOS44NTUsMTMuNzg1IEMzMC4xMjgsMTMuMzQgMzAuMDA1LDEyLjcyNSAyOS41ODMsMTIuNDE4IEwyMi40ODksNy4yNjQgQzIyLjA2Nyw2Ljk1NyAyMS42NzcsNi4yODEgMjEuNjIyLDUuNzYyIEwyMS4xMjYsMS4wMzYgQzIxLjA3MiwwLjUxNyAyMC42MjIsMC4yMjggMjAuMTI3LDAuMzkzIEwwLjY0NSw2LjkwOCBDMC4xNSw3LjA3NCAtMC4xMTgsNy42MTMgMC4wNSw4LjEwOCBMMy43MzksMTguOTcxIEMzLjkwNywxOS40NjUgNC40NjIsMTkuOTYgNC45NzIsMjAuMDcgTDIyLjYxNiwyMy44ODUgQzIzLjEyNiwyMy45OTUgMjMuNzY3LDIzLjcyMSAyNC4wMzksMjMuMjc2IEwyOS44NTUsMTMuNzg1IEwyOS44NTUsMTMuNzg1IFogTTEzLjgwMyw4Ljk2MSBDMTMuNDk1LDkuMzgzIDEyLjgyNiw5LjYzNiAxMi4zMTYsOS41MjQgTDQuMDMyLDcuNzAyIEMzLjUyMiw3LjU5IDMuNTEsNy4zNjMgNC4wMDUsNy4xOTcgTDE3Ljc2OSwyLjU5NCBDMTguMjY0LDIuNDI4IDE4LjQxNywyLjYzOCAxOC4xMSwzLjA2IEwxMy44MDMsOC45NjEgTDEzLjgwMyw4Ljk2MSBaIE0xOS40MDUsMy41NTggQzE5LjcxMywzLjEzNiAyMC4wMDksMy4yMTYgMjAuMDY0LDMuNzM1IEwyMS43NTcsMTkuODggQzIxLjgxMSwyMC4zOTkgMjEuNjA1LDIwLjQ3OCAyMS4yOTksMjAuMDU1IEwxNC45MTMsMTEuMjQ0IEMxNC42MDcsMTAuODIxIDE0LjYwOCwxMC4xMzEgMTQuOTE2LDkuNzA5IEwxOS40MDUsMy41NTggTDE5LjQwNSwzLjU1OCBaIE0xLjkxNyw5LjQzOSBDMS43NDksOC45NDUgMi4wMjksOC42MzIgMi41MzksOC43NDQgTDEyLjIwOCwxMC44NzEgQzEyLjcxOCwxMC45ODMgMTMuMzg2LDExLjQyMSAxMy42OTIsMTEuODQzIEwyMC42NTYsMjEuNDUgQzIwLjk2MiwyMS44NzMgMjAuNzk2LDIyLjEyOCAyMC4yODUsMjIuMDE3IEw1Ljk5NiwxOC45MjIgQzUuNDg2LDE4LjgxMSA0LjkzMSwxOC4zMTcgNC43NjMsMTcuODIyIEwxLjkxNyw5LjQzOSBMMS45MTcsOS40MzkgWiBNMjIuMDA4LDkuNDQzIEMyMS45NTQsOC45MjQgMjIuMjU1LDguNzUgMjIuNjc3LDkuMDU3IEwyNy43OTQsMTIuNzc1IEMyOC4yMTYsMTMuMDgyIDI4LjMzOSwxMy42OTcgMjguMDY2LDE0LjE0MiBMMjMuODEsMjEuMDk4IEMyMy41MzgsMjEuNTQzIDIzLjI3LDIxLjQ4MyAyMy4yMTYsMjAuOTY0IEwyMi4wMDgsOS40NDMgTDIyLjAwOCw5LjQ0MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);background-position:center center;background-repeat:no-repeat}.navigation-search{position:relative;margin:0 20px;padding:10px 0;height:50px}.navigation-search .search-icon{opacity:1}li.is-active>.navigation-items-toggle a,li.is-active>.navigation-subitems-toggle a{color:#fff}li.is-active>div>a.navigation-settings-icon{display:block;color:#999}.navigation-item-container .navigation-items{position:relative;top:0;left:0;overflow:hidden;height:50px}.navigation-item-container .navigation-items:hover{background-color:#191D22}.navigation-item-container .navigation-items::before{content:"";display:block;position:absolute;top:0;left:0;width:0;height:100%;background:#52B6CA}.navigation-item-container .navigation-items>div{position:relative;width:100%;padding-left:20px;padding-right:20px}.navigation-item-container .navigation-items.is-active::before{width:5px}.navigation-item-container .navigation-items.is-active .navigation-item-icon,.navigation-item-container .navigation-items.is-active .navigation-item-title{color:#fff}.navigation-item-container .navigation-items.is-active .navigation-item-title{font-size:16px}.navigation-item-container .navigation-items.is-expanded{padding-bottom:20px}.navigation-item-container .navigation-items.is-expanded .navigation-items-toggle{height:inherit;padding-bottom:10px;height:50px}.navigation-item-container .navigation-items.is-expanded>.navigation-items-list{display:block;opacity:1;-moz-transition:opacity 100ms 75ms;-o-transition:opacity 100ms 75ms;-webkit-transition:opacity 100ms;-webkit-transition-delay:75ms;transition:opacity 100ms 75ms}.navigation-item-container .navigation-items .navigation-items-list{position:absolute;left:0;bottom:0;width:100%;opacity:0;font-size:14px;padding-left:54px;padding-right:20px;padding-bottom:20px;padding-top:0;z-index:100;-moz-transition:opacity 100ms;-o-transition:opacity 100ms;-webkit-transition:opacity 100ms;transition:opacity 100ms}.navigation-item-container .navigation-items ul ul{font-size:12px;padding-left:20px}.navigation-item-container .navigation-items li{border-radius:3px;cursor:pointer;position:relative;top:0;left:0;height:30px}.navigation-item-container .navigation-items li:hover:not(.navigation-subitems) a::before{font-size:12px;content:"";display:inline-block;height:15px;text-align:right;line-height:15px;position:absolute;top:7px;left:0;padding-right:9px}.navigation-item-container .navigation-items li.is-selected a{color:#fff}.navigation-item-container .navigation-items li.is-selected a::before{font-size:12px;content:"";display:inline-block;height:15px;text-align:right;line-height:15px;position:absolute;top:7px;left:0;padding-right:9px}.navigation-item-container .navigation-items li a{padding:0 0 0 10px;height:100%;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:28px;display:inline-block;min-height:30px}.navigation-subitems.is-expanded>.navigation-items-list{display:block}.navigation-subitems.is-expanded .navigation-subitems-toggle{height:inherit;padding-bottom:10px;padding-bottom:0}.navigation-item{width:100%;display:inline-block;padding:0;position:relative;top:0;left:0;height:100%}.navigation-item-title{padding-left:35px;height:100%;line-height:50px;display:inline-block;width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navigation-item-icon{position:absolute;top:0;left:0;padding-left:3px;font-size:20px;height:100%;line-height:48px}.navigation-items-toggle{position:relative;height:50px;z-index:200}li a.navigation-settings-icon{width:auto;position:absolute;right:40px;top:15px;font-size:14px;display:none}.navigation-toggle-icon{width:auto;position:absolute;right:20px;top:20px;font-size:12px}.navigation-subitems-toggle{padding:2px 0;position:relative;height:30px}.navigation-subitems-toggle .navigation-toggle-icon{top:3px}.navigation-subitems-toggle .navigation-item{padding:0}.navigation footer{padding:15px 20px 15px 23px;height:121px;background-color:#191D22}.navigation footer .user{font-size:14px;color:#fff;margin-bottom:15px;height:20px;white-space:nowrap;cursor:pointer}.navigation footer .user .pic{color:#fff;text-align:right;font-size:20px;display:inline-block;margin-right:15px}.navigation footer .user .name{display:inline-block;vertical-align:middle;padding-bottom:5px}.navigation footer .options{height:20px;margin-bottom:15px;padding-left:35px;white-space:nowrap;position:relative;top:0;left:0}.navigation footer .options .locale-dropdown{color:#000;width:60px}.navigation footer .options .dropdown-list{min-width:150px}.navigation footer .options .logout{color:#fff;cursor:pointer;font-size:20px;display:block;display:block;text-decoration:none;position:absolute;top:0;right:0}.navigation footer .version{padding-left:35px;font-size:10px;color:#878787;white-space:nowrap}.navigation footer .version a{color:#fff;text-decoration:none}.navigation.collapsed{width:50px;overflow-x:hidden}.navigation.collapsed .navigation-header{padding-left:10px}.navigation.collapsed .navigation-header-title{opacity:0}.navigation.collapsed .section-headline{opacity:0;height:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0}.navigation.collapsed .navigation-search.search-container{margin:0;margin-left:8px}.navigation.collapsed .navigation-search.search-container input{opacity:0;z-index:0}.navigation.collapsed .navigation-search.search-container .search-icon{opacity:1;z-index:100;color:rgba(255,255,255,.5)}.navigation.collapsed * .navigation-settings-icon,.navigation.collapsed * .navigation-toggle-icon,.navigation.collapsed .is-active .navigation-settings-icon,.navigation.collapsed .is-active .navigation-toggle-icon,.navigation.collapsed .is-expanded .navigation-settings-icon,.navigation.collapsed .is-expanded .navigation-toggle-icon{opacity:0;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.navigation.collapsed .navigation-item-title{opacity:0}.navigation.collapsed .navigation-items div{border:transparent!important;padding:0!important;margin:0!important;line-height:0}.navigation.collapsed .navigation-items a{padding:0}.navigation.collapsed .navigation-items .navigation-items-list{opacity:0;display:none}.navigation.collapsed li{padding:0}.navigation.collapsed .navigation-item-icon{margin-left:15px;padding-left:0;line-height:50px;vertical-align:middle}.navigation.collapsed footer{padding-left:15px;cursor:pointer;height:51px;overflow:hidden}.navigation.collapsed footer *{opacity:0;height:0;margin:0}.navigation.collapsed footer .user{opacity:1;height:20px}.navigation.collapsed footer .user .pic{opacity:1;height:20px}.navigation.collapsed .navigation-content .wrapper{margin-bottom:-51px}.navigation.collapsed .navigation-content .wrapper:after{height:61px}.navigation-tooltip{position:absolute;height:30px;left:60px;line-height:30px;vertical-align:middle;display:inline-block;padding:0 10px;color:#fff;background-color:#21272E;border-radius:2px;z-index:1000}.navigation-tooltip::before{content:' ';position:absolute;left:-10px;top:10px;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:10px solid #21272E}.navigation-data-container{-moz-transition:width .4s ease-in-out;-o-transition:width .4s ease-in-out;-webkit-transition:width .4s ease-in-out;transition:width .4s ease-in-out;width:200px;margin-left:50px;height:100%}.navigation{-moz-transition:width .5s;-o-transition:width .5s;-webkit-transition:width .5s;transition:width .5s}.navigation footer,.navigation footer>*,.navigation .wrapper,.navigation .wrapper:after,.navigation-items *{-moz-transition:all .5s;-o-transition:all .5s;-webkit-transition:all .5s;transition:all .5s}.navigation-items{-moz-transition:all 0,opacity .5s,background .5s;-o-transition:all 0,opacity .5s,background .5s;-webkit-transition:all 0,opacity .5s,background .5s;transition:all 0,opacity .5s,background .5s}.navigation-header{-moz-transition:padding .5s;-o-transition:padding .5s;-webkit-transition:padding .5s;transition:padding .5s}.navigation-header .navigation-header-title{-moz-transition:opacity .5s;-o-transition:opacity .5s;-webkit-transition:opacity .5s;transition:opacity .5s}.navigation-search{-moz-transition:margin .5s;-o-transition:margin .5s;-webkit-transition:margin .5s;transition:margin .5s}.navigation-search input{-moz-transition:width .5s;-o-transition:width .5s;-webkit-transition:width .5s;transition:width .5s}.section-headline,.section-headline *{-moz-transition:all .5s;-o-transition:all .5s;-webkit-transition:all .5s;transition:all .5s}.navigation-item-title{-moz-transition:opacity .5s;-o-transition:opacity .5s;-webkit-transition:opacity .5s;transition:opacity .5s}.search-icon{-moz-transition:color .5s;-o-transition:color .5s;-webkit-transition:color .5s;transition:color .5s}.navigation:not(.collapsed) *{opacity:1}.dropdown{display:inline-block;position:relative}.dropdown.dropdown-show .dropdown-menu{display:block}.dropdown-shadow,.tt-dropdown-menu{-moz-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 3px 3px 0 0;box-shadow:rgba(0,0,0,.08) 3px 3px 0 0}.dropdown-shadow.dropdown-align-right,.dropdown-align-right.tt-dropdown-menu{right:-3px}.dropdown-shadow.dropdown-align-top,.dropdown-align-top.tt-dropdown-menu{top:auto;bottom:20px;margin-bottom:0}.dropdown-menu{width:250px;max-height:350px;overflow:auto;display:inline-block;position:absolute;top:20px;left:0;margin-top:-5px;margin-left:5px;margin-bottom:40px;background-color:#fff;border:1px solid #ddd;z-index:90;border-radius:3px;font-size:14px}.dropdown-menu.top{top:auto;bottom:25px;margin-bottom:0}.dropdown-menu>ul{list-style:none;margin:0;padding:10px 0}.dropdown-menu>ul>li{padding:0 20px;line-height:30px;text-align:left}.dropdown-menu>ul>li .info,.dropdown-menu>ul>li .info-clicked{display:none;font-size:12px;padding:0 20px 0 10px;position:absolute;right:0}.dropdown-menu>ul>li .info-clicked.clicked{display:inline;float:right;background-color:#fff}.dropdown-menu>ul>li:hover,.dropdown-menu>ul>li.hover{background-color:#52B6CA;cursor:pointer;color:#fff}.dropdown-menu>ul>li:hover .info,.dropdown-menu>ul>li.hover .info{display:inline}.dropdown-menu>ul>li:hover .info,.dropdown-menu>ul>li:hover .info-clicked,.dropdown-menu>ul>li.hover .info,.dropdown-menu>ul>li.hover .info-clicked{background-color:#52B6CA}.dropdown-menu>ul>li:hover .info.clicked,.dropdown-menu>ul>li:hover .info-clicked.clicked,.dropdown-menu>ul>li.hover .info.clicked,.dropdown-menu>ul>li.hover .info-clicked.clicked{display:none}.dropdown-menu>ul>li.divider{height:1px;margin:5px 0 10px;padding:0;overflow:hidden;background-color:#ddd;cursor:default}.dropdown-menu>ul>li.disabled{color:#999}.dropdown-menu>ul>li.disabled:hover{background-color:transparent;cursor:default}.dropdown-align-right{right:6px;left:inherit}.dropdown-footer{border-top:1px solid #ccc;padding:10px}.dropdown-toggle{display:inline-block;cursor:pointer}.dropdown-toggle::after{content:"";display:inline-block;position:relative;top:-2px;margin-left:5px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #000}.dropdown-trigger{height:30px;line-height:30px;text-align:center;border:1px solid #ccc;border-radius:3px;padding:0 10px;cursor:pointer}table{width:100%;border-collapse:collapse;border-spacing:0}.table{color:#999}.table th,.table td{text-align:left;padding:0 10px;vertical-align:top;border-right:1px solid #e9e9e9}.table tr{height:50px;border-left:2px solid transparent}.table tr td:last-child{border-right:0}.table thead th{vertical-align:bottom;color:#999;font-weight:400;line-height:50px}.table thead th a{color:#000;text-decoration:none}.table thead th a .selected{font-weight:700}.table thead tr{background:#ddd}.table tbody td{vertical-align:middle;font-family:Helvetica,Arial}.table tbody td img{max-height:50px;max-width:50px}.table tbody tr:nth-child(2n+1){background:#fff}.table tbody tr:nth-child(2n){background:#f6f6f6}.table tbody tr.selected{border-left-color:#ddd}.table .thumb img{vertical-align:middle}.table .checkbox-cell{width:20px;text-align:center}.table .custom-checkbox{margin:0 8px}.btn{padding:0 25px;border:0;border-radius:3px;background-color:#FFF;color:#000;cursor:pointer;line-height:30px;height:30px;outline:0}.btn.fit{display:inline-block;padding-right:30px}.btn.only-icon{padding-left:0;padding-right:0;text-align:center;min-width:40px}.btn.action{background-color:#52B6CA;color:#fff}.btn.action2{background-color:#F2D212;color:#fff}.btn.large{line-height:40px;height:40px}.btn.small{font-size:12px;height:20px;line-height:20px;border-radius:2px}.btn.small [class^=fa-]{font-size:10px}.btn.small [class^=fa-]+.text{font-size:12px}.btn.grey,.btn.gray{background-color:#ccc;color:#fff}.btn.black-text{color:#000}.btn.gray-dark{background-color:#999;color:#fff}.btn.black{background-color:#000;color:#fff}.btn.inactive{cursor:default}.btn.link{background:transparent}.btn [class^=fa-]{font-size:18px;margin-left:-15px;display:inline;line-height:32px}.btn [class^=fa-]+.text{font-size:14px;display:inline-block;margin-right:-20px;margin-left:5px;padding:0}.btn [class^=fa-]:only-child{margin-left:0}.btn .text{padding:0 8px}a.btn{color:#000;text-decoration:none}.btn-large{padding:0 25px;font-size:18px;line-height:30px}.btn-black{background-color:#000;color:#fff}.btn-highlight{background-color:#52B6CA;color:#fff}a.btn-black,a.btn-highlight{color:#fff}.btn-gray{background-color:#ccc;color:#000}.addButton{border-radius:3px;display:inline-block;font-size:12px;color:#fff;background-color:#52B6CA;padding:0 10px;height:20px;line-height:20px;vertical-align:middle;cursor:pointer}.addButton:before{content:"";font-size:12px;vertical-align:middle}.addButton span{font-family:Helvetica,Arial,sans-serif;padding-left:5px;vertical-align:middle}.pagination-wrapper{margin-top:20px;font-size:12px}.pagination-wrapper:after{clear:both;content:' ';display:block}.pagination-wrapper .pagination-loader{width:auto;overflow:hidden;text-align:center}.pagination-wrapper.infinite-scroll{height:40px;text-align:center}.pagination-wrapper.infinite-scroll .pagination-loader{display:none}.pagination-wrapper.infinite-scroll .pagination-message{opacity:0;-moz-transition:opacity 200ms;-o-transition:opacity 200ms;-webkit-transition:opacity 200ms;transition:opacity 200ms;color:#ccc;font-size:12px;line-height:40px;vertical-align:middle}.pagination-wrapper.infinite-scroll.loading .pagination-loader{display:block}.pagination-wrapper.infinite-scroll.reached-end .pagination-message{opacity:1}.pagination-wrapper.dropdowns .pagination-loader{padding-top:5px}.pagination-wrapper.dropdowns .show-elements{float:left}.pagination-wrapper.dropdowns .show-elements .text{color:#999;padding-right:5px}.pagination-wrapper.dropdowns .show-elements .dropdown{background-color:#fff}.pagination-wrapper.dropdowns .pagination{height:30px;float:right}.pagination-wrapper.dropdowns .pagination .pagination-main{display:inline-block;list-style:none;border:1px solid #ccc;padding:0 10px;line-height:28px;height:30px;margin:0 2px}.pagination-wrapper.dropdowns .pagination .pagination-prev{padding:0 13px 0 8px;border:1px solid #ccc;border-radius:0 3px 3px 0;line-height:32px;height:30px;text-align:center;border-left:0}.pagination-wrapper.dropdowns .pagination .pagination-prev::after{content:"";display:inline-block;font-size:16px}.pagination-wrapper.dropdowns .pagination .pagination-prev:hover{background-color:#ddd}.pagination-wrapper.dropdowns .pagination .pagination-next{padding:0 13px 0 8px;border:1px solid #ccc;border-radius:3px 0 0 3px;line-height:32px;height:30px;text-align:center}.pagination-wrapper.dropdowns .pagination .pagination-next::after{content:"";display:inline-block;font-size:16px}.pagination-wrapper.dropdowns .pagination .pagination-next:hover{background-color:#ddd}.pagination-wrapper.dropdowns .pagination .disabled{color:#ccc;cursor:default}.pagination-wrapper.dropdowns .pagination .disabled:hover{background-color:#efefef}.pagination-wrapper.showall{cursor:pointer;margin-top:0;padding-left:10px;display:inline-block}.pagination-wrapper.showall .square{width:50px;height:50px;border:1px dashed #ccc;float:left}.pagination-wrapper.showall .text{display:inline-block;padding-left:10px;line-height:50px;float:left}.pagination-wrapper .page-label{color:#999;line-height:30px;margin-right:20px}.pagination-wrapper .page-label .form-element,.pagination-wrapper .page-label .husky-input{width:50px;min-width:50px;max-width:150px;text-align:center;margin-left:10px;margin-right:10px}.avatar{line-height:40px}.avatar.round>img{border-radius:30px}.avatar>img{float:left;margin-right:15px;border:solid 2px #ddd}.avatar-logout{font-size:12px}.husky-input{background:#fff;position:relative;top:0;left:0}.husky-input:after{clear:both;content:' ';display:block}.husky-input .front{float:left;line-height:20px;margin:5px 0 0;padding-right:5px;border-right:1px solid #ddd;color:#999;font-size:16px}.husky-input .front .color-field{width:15px;height:15px;border:1px solid #999;background-color:#ccc;display:inline-block;margin-top:2px}.husky-input .front a{padding-top:1px;text-decoration:none;cursor:default}.husky-input .front a.clickable{color:#000;cursor:pointer}.husky-input .back{position:absolute;top:0;right:0;line-height:20px;margin:5px 10px 0 5px;background:#fff;color:#999;font-size:16px}.husky-input .input{overflow:hidden;padding-left:5px}.husky-input .input input{height:28px;border:0;outline-width:0;width:100%}.husky-input .text{font-size:14px}.husky-input .text-link{color:#000;cursor:pointer!important}.husky-input.colorpicker .input{overflow:visible}.husky-input.colorpicker .front{color:#000;cursor:pointer}.husky-input.pickdate .front{color:#000;cursor:pointer}.husky-validate-error .husky-input input{height:26px}.auto-complete-container{position:relative}.auto-complete-container label{cursor:default}.auto-complete-footer{position:relative;z-index:5;padding:5px;font-size:14px;background-color:#ccc;color:#000;text-align:center}.auto-complete-footer:hover{color:#fff;background-color:#52B6CA;cursor:pointer}.husky-auto-complete{position:relative;top:0;left:0;display:table;width:100%;font-size:12px;border:1px solid #ddd;border-radius:3px 3px 0 0;background:#fff}.husky-auto-complete .front{float:left;line-height:20px;margin:5px 0 0;padding-right:5px;border-right:1px solid #ddd;color:#999;font-size:16px}.husky-auto-complete .front .color-field{width:15px;height:15px;border:1px solid #999;background-color:#ccc;display:inline-block;margin-top:2px}.husky-auto-complete .front a{padding-top:1px;text-decoration:none;cursor:default}.husky-auto-complete .front a.clickable{color:#000;cursor:pointer}.husky-auto-complete .back{position:absolute;top:0;right:0;line-height:20px;margin:5px 10px 0 5px;background:#fff;color:#999;font-size:16px}.husky-auto-complete .input{overflow:hidden;padding-left:5px}.husky-auto-complete .input input{height:28px;border:0;outline-width:0;width:100%}.husky-auto-complete .text{font-size:14px}.husky-auto-complete .text-link{color:#000;cursor:pointer!important}.husky-auto-complete input[type=text]{font-size:14px}.husky-auto-complete input[type=text]:focus{outline:0 none}.husky-auto-complete .front{padding-left:5px}.form-horizontal .husky-auto-complete{margin-top:0}.twitter-typeahead{width:100%}.twitter-typeahead input[type=text]{border-radius:3px 3px 0 0}.tt-suggestions{width:100%;top:37px;background:#fff;border-radius:3px}.tt-dropdown-menu{min-width:100%;border:1px solid #ddd;margin-top:-1px;border-radius:3px}.tt-hint{display:none}.tt-suggestion{height:25px;width:100%}.suggestion:hover,.tt-cursor .suggestion{background:#52B6CA;color:#fff}.suggestion:hover.disabled,.tt-cursor .suggestion.disabled{background:#efefef}.suggestion{white-space:nowrap;color:#000;padding:0 6px;position:relative}.suggestion .border{height:25px;white-space:nowrap}.suggestion .border .icon{display:inline-block;margin:0 10px;width:12px;height:25px;text-align:center;line-height:25px;position:absolute;left:4px;top:0}.suggestion .border .icon+.text{padding-left:30px}.suggestion .border .text{display:inline-block;width:100%;line-height:25px;text-overflow:ellipsis;overflow:hidden}.suggestion.disabled{color:#999;cursor:default}.suggestion-column{display:inline-block;overflow:hidden;text-overflow:ellipsis}.search-container{position:relative}.search-container a{color:#3e3e3e}.search-container.search-slide{-moz-transition:width 250ms;-o-transition:width 250ms;-webkit-transition:width 250ms;transition:width 250ms}.search-container.slide-collapsed{width:130px}.search-container.slide-expanded{width:210px}.search-container .search-input{padding-left:40px;padding-right:10px;border:0;margin:0;background-color:#999;color:#3e3e3e}.search-container .search-input.placeholder{color:#3e3e3e}.search-container .search-input:-moz-placeholder{color:#3e3e3e}.search-container .search-input::-moz-placeholder{color:#3e3e3e}.search-container .search-input:-ms-input-placeholder{color:#3e3e3e}.search-container .search-input::-webkit-input-placeholder{color:#3e3e3e}.search-container .search-input:focus{background-color:#fff}.search-container .search-icon,.search-container .remove-icon{background:transparent;border:0;display:inline-block;line-height:30px;vertical-align:middle;text-decoration:none;cursor:pointer;outline:0}.search-container .search-icon{position:absolute;padding-left:8px;padding-right:15px;font-size:16px}.search-container .remove-icon{display:none;position:absolute;right:10px;background-color:#fff;padding-left:3px}.search-container.gray .search-icon{font-size:16px;color:rgba(255,255,255,.5)}.search-container.gray .remove-icon{color:rgba(255,255,255,.5);background-color:transparent}.search-container.gray .search-input{background-color:rgba(255,255,255,.5)}.search-container.gray .search-input.placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input:-moz-placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input::-moz-placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.search-container.gray .search-input::-webkit-input-placeholder{color:rgba(255,255,255,.5)}.search-container.gray.focus .search-input{background-color:#fff}.search-container.gray.focus .search-icon,.search-container.gray.focus .remove-icon{color:#3e3e3e}.search-container.white .search-input{background-color:#fff}.search-container.white .search-input:focus{background-color:#fff}.search-container.small .search-input{font-size:12px}.search-container.small .search-icon{font-size:12px}.search-container.outline .input-round{border:1px #999 solid}.tabs-container{background-color:#fff;position:relative;overflow:auto}.tabs-container ul{padding:0;margin:0;white-space:nowrap}.tabs-container ul li{display:inline-block;list-style-type:none;line-height:50px;height:50px;text-align:left;padding-right:30px;min-width:60px;cursor:pointer}.tabs-container ul li a{color:#000;text-decoration:none;font-size:14px;outline:0}.tabs-container ul li.is-selected a{color:#52B6CA;font-weight:700}.tabs-container .marker{height:2px;background:#52B6CA;position:absolute;bottom:0;width:0;left:0}.tabs-container .marker.animate{-moz-transition:left 350ms ease,width 350ms ease;-o-transition:left 350ms ease,width 350ms ease;-webkit-transition:left 350ms ease,width 350ms ease;transition:left 350ms ease,width 350ms ease}.tabs-container.deactivated ul li a,.tabs-container.deactivated ul li a:hover{color:#999;cursor:default}.tabs-container.deactivated ul li.is-selected a{color:#52B6CA}.husky-toolbar{white-space:nowrap;display:inline-block;vertical-align:bottom;width:100%}.husky-toolbar:after{clear:both;content:' ';display:block}.husky-toolbar .toolbar-search{display:inline-block}.husky-toolbar.small .group{height:20px}.husky-toolbar.small .toolbar-item{line-height:20px;min-width:30px}.husky-toolbar.small .toolbar-item .icon{font-size:10px;position:relative;top:-2px}.husky-toolbar.small .toolbar-item .title{font-size:9px}.husky-toolbar.small .toolbar-item .item-loader{height:14px;margin-top:2px;margin-left:-2px}.husky-toolbar .group{padding-left:0;margin:0;list-style:none;height:30px}.husky-toolbar .group.right{float:right;padding-left:10px}.husky-toolbar .group.right .toolbar-dropdown-menu{left:auto;right:0}.husky-toolbar .group.left{float:left;padding-right:10px}.husky-toolbar .group.left.last{padding-right:0}.husky-toolbar .group .toolbar-item{border-style:solid;border-color:#CACACA;border-width:1px 1px 1px 0}.husky-toolbar .group .toolbar-item:first-child,.husky-toolbar .group .toolbar-item:first-child.hidden+.toolbar-item{border-radius:3px 0 0 3px;border-width:1px}.husky-toolbar .group .toolbar-item:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.husky-toolbar .group .toolbar-item:only-child{border-radius:3px}.husky-toolbar .toolbar-item{min-width:50px;position:relative;display:inline-block;vertical-align:top;list-style:none;height:100%;line-height:30px;text-align:center;color:#000;cursor:pointer;padding:0 10px}.husky-toolbar .toolbar-item .icon{font-size:16px;padding-right:0;display:inline-block}.husky-toolbar .toolbar-item .icon+.title{margin-top:-4px}.husky-toolbar .toolbar-item .content{margin-right:10px;margin-top:-5px;display:inline-block;vertical-align:middle;line-height:50px}.husky-toolbar .toolbar-item .title{font-size:12px;display:inline-block;vertical-align:middle}.husky-toolbar .toolbar-item .dropdown-toggle{display:inline-block;top:0;padding-right:5px;margin-right:-5px}.husky-toolbar .toolbar-item .icon~.dropdown-toggle{top:-3px}.husky-toolbar .toolbar-item.dropdown{position:relative;display:block;list-style:none;float:left}.husky-toolbar .toolbar-item .item-loader{display:inline-block;height:20px;margin-top:4px}.husky-toolbar .toolbar-item.disabled:hover,.husky-toolbar .toolbar-item.disabled{background-color:inherit;cursor:default;color:#999}.husky-toolbar .toolbar-item.disabled:hover .dropdown-toggle::after,.husky-toolbar .toolbar-item.disabled .dropdown-toggle::after{border-top-color:#999}.husky-toolbar .toolbar-item.disabled::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;z-index:100}.husky-toolbar .toolbar-item.highlight{background-color:#52B6CA;border-color:transparent}.husky-toolbar .toolbar-item.highlight.disabled:hover,.husky-toolbar .toolbar-item.highlight.disabled{background-color:#ddd;border-color:transparent;color:#1e1e1e}.husky-toolbar .toolbar-item.highlight:hover{background-color:#5ebbce}.husky-toolbar .toolbar-item.highlight:active{background-color:#66bed0}.husky-toolbar .toolbar-item.highlight>span{color:#fff}.husky-toolbar .toolbar-item.highlight>span.dropdown-toggle::after{border-top-color:#fff}.husky-toolbar .toolbar-item.highlight.is-expanded{background-color:#52B6CA}.husky-toolbar .toolbar-item.highlight-gray{background-color:#ddd;border-color:transparent}.husky-toolbar .toolbar-item.highlight-gray:hover{background-color:#ddd}.husky-toolbar .toolbar-item.highlight-gray:active{background-color:#ddd}.husky-toolbar .toolbar-item.is-expanded{background-color:#ddd}.husky-toolbar .toolbar-item.is-expanded ul.toolbar-dropdown-menu{display:block}.husky-toolbar .toolbar-item.is-loading .title,.husky-toolbar .toolbar-item.is-loading .icon,.husky-toolbar .toolbar-item.is-loading .dropdown-toggle,.husky-toolbar .toolbar-item.is-loading .dropdown-toggle::after{display:none}.husky-toolbar .toolbar-item:hover{background-color:#ddd}.husky-toolbar .toolbar-item:active{background-color:#d5d5d5}.husky-toolbar .toolbar-item .icon+.title:not(:empty){padding-left:10px}.husky-toolbar .toolbar-dropdown-menu{background-color:#fff;border:1px solid #ddd;border-radius:2px;display:none;position:absolute;top:100%;left:0;min-width:160px;list-style:none;font-size:12px;padding:5px 0;margin-top:-7px;margin-left:0;z-index:2000;-moz-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;-webkit-box-shadow:rgba(0,0,0,.08) 2px 2px 0 0;box-shadow:rgba(0,0,0,.08) 2px 2px 0 0}.husky-toolbar .toolbar-dropdown-menu.right-aligned{left:auto;right:0}.husky-toolbar .toolbar-dropdown-menu li{display:list-item;float:none;height:30px;line-height:30px;white-space:nowrap;cursor:pointer;position:relative;top:0;left:0;padding:0 20px;text-align:left}.husky-toolbar .toolbar-dropdown-menu li a{color:#000;text-decoration:none;padding:0}.husky-toolbar .toolbar-dropdown-menu li.is-selected,.husky-toolbar .toolbar-dropdown-menu li:hover{background-color:#52B6CA;color:#fff}.husky-toolbar .toolbar-dropdown-menu li.is-selected a,.husky-toolbar .toolbar-dropdown-menu li:hover a{color:#fff}.husky-toolbar .toolbar-dropdown-menu li.marked::before,.husky-toolbar .toolbar-dropdown-menu li.warning::before,.husky-toolbar .toolbar-dropdown-menu li.checked::before{display:inline-block;margin-left:-10px;margin-right:5px;font-size:12px}.husky-toolbar .toolbar-dropdown-menu li.marked::before{content:""}.husky-toolbar .toolbar-dropdown-menu li.warning::before{content:""}.husky-toolbar .toolbar-dropdown-menu li.checked::before{margin-left:-15px;margin-right:3px;content:""}.husky-toolbar .toolbar-dropdown-menu li.disabled:hover,.husky-toolbar .toolbar-dropdown-menu li.disabled{cursor:default;background-color:inherit}.husky-toolbar .toolbar-dropdown-menu li.disabled:hover a,.husky-toolbar .toolbar-dropdown-menu li.disabled a{cursor:default;color:#999}.husky-toolbar .toolbar-dropdown-menu li:active{background-color:#66bed0}.husky-toolbar .toolbar-dropdown-menu li.divider{height:1px;margin:5px 0;overflow:hidden;background-color:#ddd}.husky-toolbar .toolbar-dropdown-menu li a{clear:both;text-align:left}.husky-toolbar.big{height:50px;width:auto}.husky-toolbar.big .group{height:50px;float:none;display:inline-block;vertical-align:top}.husky-toolbar.big .group .toolbar-item:first-child{border-left:1px solid rgba(255,255,255,.2);border-radius:0}.husky-toolbar.big .group .toolbar-item:last-child{border-radius:0}.husky-toolbar.big .toolbar-item{border:0;border-right:1px solid rgba(255,255,255,.2);padding:0 20px;border-radius:0}.husky-toolbar.big .toolbar-item .icon,.husky-toolbar.big .toolbar-item .title{color:#fff;line-height:50px}.husky-toolbar.big .toolbar-item .icon{font-size:20px}.husky-toolbar.big .toolbar-item .icon+.title{margin-top:-6px}.husky-toolbar.big .toolbar-item .dropdown-toggle::after{border-top-color:#fff}.husky-toolbar.big .toolbar-item .dropdown-toggle{padding-left:20px;padding-right:20px;margin-right:-20px}.husky-toolbar.big .toolbar-item.is-selected,.husky-toolbar.big .toolbar-item.is-expanded,.husky-toolbar.big .toolbar-item:hover{background:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.is-selected,.husky-toolbar.big .toolbar-item.is-selected:first-child,.husky-toolbar.big .toolbar-item.is-expanded,.husky-toolbar.big .toolbar-item.is-expanded:first-child,.husky-toolbar.big .toolbar-item:hover,.husky-toolbar.big .toolbar-item:hover:first-child{border-color:transparent}.husky-toolbar.big .toolbar-item.disabled,.husky-toolbar.big .toolbar-item.disabled:hover{background:transparent}.husky-toolbar.big .toolbar-item.disabled,.husky-toolbar.big .toolbar-item.disabled:first-child,.husky-toolbar.big .toolbar-item.disabled:hover,.husky-toolbar.big .toolbar-item.disabled:hover:first-child{border-color:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.disabled .icon,.husky-toolbar.big .toolbar-item.disabled .title,.husky-toolbar.big .toolbar-item.disabled:hover .icon,.husky-toolbar.big .toolbar-item.disabled:hover .title{color:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.disabled .dropdown-toggle::after,.husky-toolbar.big .toolbar-item.disabled:hover .dropdown-toggle::after{border-top-color:rgba(255,255,255,.2)}.husky-toolbar.big .toolbar-item.highlight-white{background-color:#fff;height:30px;line-height:30px;padding:0 10px;border-radius:3px;margin-top:10px;margin-right:10px}.husky-toolbar.big .toolbar-item.highlight-white .title{text-align:left;color:#000;line-height:30px}.husky-toolbar.big .toolbar-item.highlight-white .dropdown-toggle::after{border-top-color:#000}.husky-toolbar.big .toolbar-item.highlight-white:last-child,.husky-toolbar.big .toolbar-item.highlight-white:first-child{border-radius:3px}.husky-toolbar.big .toolbar-search{padding-top:10px}.husky-toolbar.big .item-loader{margin-top:15px}.husky-toolbar-responsive{overflow-x:auto;overflow-y:hidden}.husky-toolbar-responsive.overflown{-moz-box-shadow:inset -8px 0 8px -3px rgba(0,0,0,.08),inset 8px 0 8px -3px rgba(0,0,0,.08);-webkit-box-shadow:inset -8px 0 8px -3px rgba(0,0,0,.08),inset 8px 0 8px -3px rgba(0,0,0,.08);box-shadow:inset -8px 0 8px -3px rgba(0,0,0,.08),inset 8px 0 8px -3px rgba(0,0,0,.08)}.husky-toolbar-responsive.overflown .toolbar-dropdown-menu{margin-top:0}.table.matrix{margin-bottom:30px}.table.matrix th{vertical-align:middle;line-height:22px}.table.matrix th.general{width:140px;font-weight:700}.table.matrix th.section{width:180px}.table.matrix td.value{margin:0;border:0;white-space:nowrap}.table.matrix td.all{text-align:left;padding-left:16px;color:#000}.table.matrix td.section{color:#999}.table.matrix .matrix-icon{border:1px solid #000;color:#000;border-radius:12px;width:24px;height:24px;line-height:22px;margin:3px;display:inline-block;text-align:center}.table.matrix .matrix-icon.is-active{color:#fff;border-color:#5DC774;background-color:#5DC774}.required::after{content:" *"}.spinner{width:40px;height:40px;position:relative;margin:auto}.double-bounce1,.double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#666;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:bounce 2s infinite ease-in-out;animation:bounce 2s infinite ease-in-out}.double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes bounce{0%,100%{transform:scale(0)}50%{transform:scale(1)}}.husky-column-navigation{height:100%}.husky-column-navigation.fixed-height-small .column-navigation-wrapper .column-navigation{height:350px}.column-navigation-wrapper{position:relative;top:0;left:0;width:100%;height:100%}.column-navigation-wrapper .column-navigation{height:100%;width:100%;background-color:#fff;border-style:solid;border-color:#ddd;border-width:1px 0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;min-height:200px;max-height:750px}.column-navigation-wrapper .column-navigation.overflow .column:last-child{border-right:0}.column-navigation-wrapper .column-navigation .column-navigation-loader{position:absolute;left:0;top:50%;margin-top:-70px;width:100%}.column-navigation-wrapper .column-navigation .column{border-right:1px solid #ddd;overflow-y:auto;overflow-x:hidden;display:inline-block;font-size:0;height:100%;position:relative;top:0;left:0;width:250px}.column-navigation-wrapper .column-navigation .column .no-page{position:absolute;top:50%;left:0;width:100%;text-align:center;color:#ccc;height:160px;margin-top:-55px}.column-navigation-wrapper .column-navigation .column .no-page .icon{font-size:72px;line-height:80px}.column-navigation-wrapper .column-navigation .column .no-page .text{padding-top:5px;font-size:14px;font-weight:700}.column-navigation-wrapper .column-navigation .column ul{list-style-type:none;margin:0;padding:0;font-size:14px}.column-navigation-wrapper .column-navigation .column ul li{padding:15px 11px 15px 15px;height:50px;position:relative;top:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.column-navigation-wrapper .column-navigation .column ul li:hover{background-color:#f1f1f1}.column-navigation-wrapper .column-navigation .column ul li:hover .action{display:block}.column-navigation-wrapper .column-navigation .column ul li.selected{background-color:#f1f1f1}.column-navigation-wrapper .column-navigation .column ul li.selected .item-text{font-weight:700}.column-navigation-wrapper .column-navigation .column ul li.marked .marked-icon{display:block}.column-navigation-wrapper .column-navigation .column ul li.marked .action{display:none}.column-navigation-wrapper .column-navigation .column ul .inactive{color:#ccc}.column-navigation-wrapper .column-navigation .column ul .published-icon+.draft-icon{margin-left:-11px}.column-navigation-wrapper .column-navigation .column ul .orderer{display:none}.column-navigation-wrapper .column-navigation .column.order-mode .orderer{display:block}.column-navigation-wrapper .column-navigation .column.order-mode .icons-left .col-icon{display:none}.column-navigation-wrapper .column-navigation .column.order-mode ul li .action{display:none}.column-navigation-wrapper .column-navigation .item-text{display:block;overflow:hidden;word-wrap:break-word;float:left}.column-navigation-wrapper .column-navigation .col-icon{float:left}.column-navigation-wrapper .column-navigation .item-text.ghost{color:#999}.column-navigation-wrapper .column-navigation .ghost{background:#52B6CA;padding:0 2px;margin-right:5px;margin-top:3px;color:#fff;border-radius:3px;font-size:10px}.column-navigation-wrapper .column-navigation .marked-icon{width:14px;margin-right:5px;margin-top:1px;color:#999;display:none}.column-navigation-wrapper .column-navigation .icons-right{position:absolute;right:5px;top:15px;height:20px}.column-navigation-wrapper .column-navigation .icons-right *{line-height:20px}.column-navigation-wrapper .column-navigation .icons-left{display:block;float:left;height:20px;font-size:14px}.column-navigation-wrapper .column-navigation .icons-left>*{line-height:20px}.column-navigation-wrapper .column-navigation .icons-left .col-icon{margin-right:5px}.column-navigation-wrapper .column-navigation .icons-left .ghost{line-height:15px}.column-navigation-wrapper .column-navigation .icons-left .custom-checkbox{line-height:15px;margin-right:8px;margin-top:2px}.column-navigation-wrapper .column-navigation .action{background-color:#52B6CA;padding:0 10px;font-size:12px;color:#fff;border-radius:3px;display:none;margin-right:0}.column-navigation-wrapper .column-navigation .husky-column-navigation-loader{position:relative;top:2px;left:-2px;padding-left:2px}.column-navigation-wrapper .column-navigation .arrow{display:inline-block;width:11px;font-size:12px;vertical-align:middle;text-align:right;color:#000;margin:0}.column-navigation-wrapper .column-navigation .column-item{cursor:pointer}.column-navigation-wrapper .column-navigation .column-item.disabled{color:#ccc}.column-navigation-wrapper .column-navigation .orderer{display:block;float:left;width:40px;padding:0 10px 0 0}.column-navigation-wrapper .column-navigation .orderer .form-element,.column-navigation-wrapper .column-navigation .orderer .husky-input{height:20px;padding-left:3px;padding-right:3px}.column-navigation-wrapper .column-navigation .fa-external-link{margin-top:1px}.column-navigation-wrapper .options{width:251px}.column-navigation-wrapper .options .add{display:inline-block;width:50%;background-color:#52B6CA;padding:5px 0;color:#fff;font-size:16px}.column-navigation-wrapper .options .ok{display:block;width:100%;background-color:#52B6CA;padding:5px 0;color:#fff;font-size:16px}.column-navigation-wrapper .options .settings{display:inline-block;width:50%;background-color:#ccc;padding:5px 0;font-size:16px}.column-navigation-wrapper .options .first{border-bottom-left-radius:3px}.column-navigation-wrapper .options .last{border-bottom-right-radius:3px}.auto-complete-list-container{position:relative}.auto-complete-list-container ul{margin:0;list-style:none}.auto-complete-list-container .toggler{position:absolute;right:0;bottom:6px;content:"";display:inline-block;height:20px;width:auto;padding:5px 10px;cursor:pointer;text-align:center;color:#262626}.auto-complete-list-container label{cursor:default}.auto-complete-list-container .auto-complete-list{font-size:12px;min-height:30px;border-radius:3px 3px 0 0;margin:0}.auto-complete-list-container .tt-suggestions{width:100%}.auto-complete-list{border-radius:3px;background-color:#fff;margin:0;border:1px solid #ddd}.auto-complete-list .husky-auto-complete{background:0;border-radius:0;position:static;margin:0;display:block;margin-bottom:-5px;border:0}.auto-complete-list .husky-auto-complete input[type=text]{margin:7px 10px 7px 0!important;padding:0;font-size:12px;width:100px;border:0;outline:0;border-radius:0;height:auto;float:left}.auto-complete-list-selection{display:inline-block;margin:4px 5px 4px 0;padding:0 4px;border-radius:2px;background-color:#ccc;color:#000;font-size:12px;line-height:20px;float:left}.auto-complete-list-selection .tm-tag-remove{padding-left:8px;cursor:pointer;text-decoration:none;color:#262626;font-size:14px}.auto-complete-list-selection .tm-tag-remove::before{content:""}.auto-complete-list-suggestions{bottom:0;left:0;width:100%;background-color:#ddd;-moz-box-shadow:rgba(0,0,0,.06) 2px 2px 0 0;-webkit-box-shadow:rgba(0,0,0,.06) 2px 2px 0 0;box-shadow:rgba(0,0,0,.06) 2px 2px 0 0}.auto-complete-list-suggestions h5{margin:0;padding:5px 8px;border-bottom:1px solid #e9e9e9;color:#999;font-size:12px}.auto-complete-list-suggestions ul{padding:8px 8px 15px;margin:0}.auto-complete-list-suggestions li{display:inline-block;margin-right:5px;padding:0 4px;border-radius:3px;background-color:#fff;color:#000;font-size:12px;cursor:pointer}.auto-complete-list-suggestions .deactivated{cursor:auto;color:#999}.husky-select-container{position:relative;color:#000}.husky-select-container.big .dropdown-label{font-size:14px;padding:5px 10px 5px 15px}.husky-select-container.big .dropdown-label .toggle-icon{right:15px;top:5px}.husky-select-container .dropdown-label{background:#ccc;padding:0 5px 0 10px;line-height:30px;border-radius:3px;font-size:12px;white-space:nowrap}.husky-select-container .dropdown-label .checkbox{padding-right:16px}.husky-select-container .dropdown-label .icon{font-size:15px;padding-right:4px;display:inline-block;line-height:30px;vertical-align:top}.husky-select-container .dropdown-label .toggle-icon{position:absolute;top:0;right:10px;font-size:14px;line-height:30px}.husky-select-container.disabled .dropdown-label{color:#666;cursor:default}.husky-select-container .husky-select-label{height:30px;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:top;max-width:calc(100% - 20px)}.husky-select-container .dropdown-list{min-width:100%;position:absolute;top:20px;left:0;margin-top:5px;background-color:#FFF;border:1px solid #ccc;z-index:2000;border-radius:3px;overflow:auto}.husky-select-container .dropdown-list .divider{max-width:100%;height:1px;background-color:#ccc;margin:5px 0 10px}.husky-select-container .dropdown-list.top{top:inherit;bottom:5px}.husky-select-container .dropdown-list .disabled,.husky-select-container .dropdown-list .disabled:hover{background:0;cursor:default}.husky-select-container .dropdown-list .disabled .item-value,.husky-select-container .dropdown-list .disabled:hover .item-value{color:#999}.husky-select-container .dropdown-list .check{display:inline;width:20px;margin-right:10px;padding-top:7px}.husky-select-container .dropdown-list .item-value{display:inline;line-height:30px}.husky-select-container .dropdown-list>ul{list-style:none;margin:0;padding:10px 0}.husky-select-container .dropdown-list>ul input{margin:0}.husky-select-container .dropdown-list>ul>li{padding:0 20px;clear:both;height:30px}.husky-select-container .dropdown-list>ul>li>div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.husky-select-container .dropdown-list>ul>li:hover,.husky-select-container .dropdown-list>ul>li.hover{background-color:#52B6CA;cursor:pointer}.husky-select-container .dropdown-list>ul>li:hover .item-value{color:#fff}.husky-select-container .dropdown-list>ul>li:hover>div{color:#fff}.husky-select-container.small .dropdown-label{font-size:10px;line-height:20px}.husky-select-container.small .toggle-icon{line-height:20px}.husky-select-container.small .dropdown-list{top:12px;min-width:200px;max-width:100%;border-radius:2px}.husky-select-container.small .dropdown-list.top{top:auto;bottom:-3px}.husky-select-container.small .husky-select-label{height:20px;line-height:20px;max-width:calc(100% - 10px)}.husky-select-container.white .dropdown-label{background:#fff}.husky-select-container.white-border .dropdown-label{background:#fff;border:1px solid #ccc}.husky-select-container.action .dropdown-label{background:#52B6CA;color:#fff}.husky-select-container select{opacity:0;position:absolute;width:100%;height:100%;top:0;left:0;-webkit-appearance:none;z-index:5;cursor:pointer}.husky-datagrid{position:relative}.husky-datagrid .husky-table{position:relative;top:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.husky-datagrid .husky-table.overflow{padding-right:30px}.husky-datagrid .husky-table.overflow+.pagination-wrapper{padding-right:30px}.husky-datagrid .husky-table.overflow td,.husky-datagrid .husky-table.overflow th{max-width:500px;overflow:hidden}.husky-datagrid .husky-table.overflow:after{display:block;content:"";color:#999;font-size:16px;position:absolute;right:5px;margin-top:-28px;top:50%}.husky-datagrid .husky-table.minimal{padding:0}.husky-datagrid .husky-table.minimal tbody td img{height:30px}.husky-datagrid .husky-table.rendering table tbody tr{opacity:.3}.husky-datagrid .husky-table .fit{width:1%}.husky-datagrid .husky-table .thumbnail-cell{padding-top:10px;padding-bottom:10px;text-align:center}.husky-datagrid .husky-table .checkbox-placeholder{display:inline-block;width:12px;height:15px}.husky-datagrid .husky-table .row-remover{display:block;cursor:pointer}.husky-datagrid .husky-table .header-loader{display:inline-block;width:0;padding-left:5px;margin-right:-5px}.husky-datagrid .husky-table .input-wrapper{position:relative;top:0;left:0;width:100%;margin:-30px 0 0 -4px;height:30px;display:none}.husky-datagrid .husky-table select.editable-input{position:relative}.husky-datagrid .husky-table .editable-input{position:absolute;top:0;left:0;padding:0 7px}.husky-datagrid .husky-table .has-action:hover,.husky-datagrid .husky-table .has-action.selected:hover{border-left-color:#52B6CA}.husky-datagrid .husky-table .server-validation-error .editable-input{border-color:#EA524E!important;border-width:2px!important}.husky-datagrid .husky-table.white-box{padding:0}.husky-datagrid .table{white-space:nowrap;color:#000}.husky-datagrid thead .cell-content{display:block}.husky-datagrid thead .header-cell{position:relative}.husky-datagrid thead .is-sortable{color:#000;cursor:pointer}.husky-datagrid thead .is-sortable .cell-content{margin-right:30px}.husky-datagrid thead .is-sortable .cell-content::after{font-size:12px;line-height:50px;text-align:right;padding-right:10px;width:100%;position:absolute;top:0;left:0;box-sizing:border-box}.husky-datagrid thead .sorted-asc{font-weight:700}.husky-datagrid thead .sorted-asc .cell-content::after{content:""}.husky-datagrid thead .sorted-desc{font-weight:700}.husky-datagrid thead .sorted-desc .cell-content::after{content:""}.husky-datagrid tbody .row .cell-content{display:inline-block;vertical-align:middle}.husky-datagrid tbody .row.even{background:#fff}.husky-datagrid tbody .row.odd{background:#f6f6f6}.husky-datagrid tbody .row.has-action,.husky-datagrid tbody .row td.has-action{cursor:pointer}.husky-datagrid tbody .row.has-action .cell-content,.husky-datagrid tbody .row td.has-action .cell-content{color:#000;cursor:pointer}.husky-datagrid tbody .row.inactive,.husky-datagrid tbody .row td.inactive{cursor:auto}.husky-datagrid tbody .row.inactive .cell-content,.husky-datagrid tbody .row td.inactive .cell-content{cursor:auto;color:#999}.husky-datagrid tbody .child-wrapper .toggle-icon{display:inline-block;margin-right:10px}.husky-datagrid tbody .child-wrapper .custom-checkbox{margin-right:10px}.husky-datagrid tbody .row:hover .grid-icon{opacity:1}.husky-datagrid tbody .grid-icon{width:30px;height:20px;cursor:pointer;color:#fff;background:#52B6CA;text-align:center;border-radius:2px;margin-left:10px;display:inline-block;vertical-align:middle;opacity:0;-moz-transition:opacity 100ms ease-in 200ms;-o-transition:opacity 100ms ease-in 200ms;-webkit-transition:opacity 100ms ease-in;-webkit-transition-delay:200ms;transition:opacity 100ms ease-in 200ms}.husky-datagrid tbody .grid-icon.right{float:right}.husky-datagrid tbody .grid-icon.no-hover{opacity:1!important}.husky-datagrid tbody .grid-icon.simple{background:transparent;color:#000}.husky-datagrid tbody .grid-image{position:relative;width:50px;height:50px;text-align:center;line-height:50px}.husky-datagrid tbody .grid-image img{position:absolute;top:0;left:0}.husky-datagrid tbody .grid-image [class^=fa-]{color:#ccc;font-size:1.6em}.husky-datagrid .table-container{width:100%;overflow:auto;border-radius:3px}.husky-datagrid .table-container.no-head thead{display:none}.husky-datagrid .table-container.no-head tbody tr:last-child{border-bottom:0}.husky-datagrid .datagrid-loader{position:absolute;top:50%;left:50%;margin:-50px 0 0 -50px}.husky-datagrid .dropdown-menu{margin-top:5px}.husky-datagrid .dropdown-toggle::after{margin-left:12px}.husky-datagrid.loading{min-height:150px}.husky-datagrid .empty-list{text-align:center;color:#ccc;padding:20px 0;background:#fff}.husky-datagrid .empty-list .icon{display:block;font-size:50px;padding-bottom:5px}.husky-datagrid .empty-list span{display:block}.husky-datagrid .selected-elements{display:block;height:40px;-moz-transition:height 200ms;-o-transition:height 200ms;-webkit-transition:height 200ms;transition:height 200ms;overflow:hidden}.husky-datagrid .selected-elements.indent{padding-left:60px}.husky-datagrid .selected-elements.invisible{visibility:visible;height:0}.husky-datagrid .selected-elements .show-selected{color:#000;cursor:pointer}.husky-datagrid .medium-loader{overflow:hidden;height:0;transition:all 200ms;margin-top:0}.husky-datagrid .medium-loader.show{height:70px;margin-top:10px}.editable .husky-validate-error .husky-input input{height:30px;margin-top:-30px}.husky-label-error,.husky-label-warning,.husky-label-success{width:100%;position:relative;top:0;left:0;color:#fff;font-size:12px;z-index:200}.husky-label-error.big,.husky-label-warning.big,.husky-label-success.big{height:70px}.husky-label-error.small,.husky-label-warning.small,.husky-label-success.small{height:30px}.husky-label-error:before,.husky-label-warning:before,.husky-label-success:before{content:'';display:inline-block;height:100%;vertical-align:middle}.husky-label-error strong,.husky-label-warning strong,.husky-label-success strong{font-weight:700;padding-right:3px}.husky-label-error .text,.husky-label-warning .text,.husky-label-success .text{display:inline-block;vertical-align:middle}.husky-label-error .close,.husky-label-warning .close,.husky-label-success .close{width:55px;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;font-size:15px}.husky-label-error .buttons,.husky-label-warning .buttons,.husky-label-success .buttons{position:absolute;right:53px;top:50%;-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-webkit-transform:translate(0,-50%);transform:translate(0,-50%);height:20px}.husky-label-error .button,.husky-label-warning .button,.husky-label-success .button{display:inline-block;position:relative;padding:0 20px;margin-left:10px;line-height:20px;text-align:center;cursor:pointer;background:#fff;border-radius:3px;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.husky-label-error .button>div,.husky-label-warning .button>div,.husky-label-success .button>div{position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.husky-label-error .button.critical,.husky-label-warning .button.critical,.husky-label-success .button.critical{background:#EA524E;color:#fff}.husky-label-error.is-loading .buttons,.husky-label-warning.is-loading .buttons,.husky-label-success.is-loading .buttons{display:none}.husky-label-error .loader,.husky-label-warning .loader,.husky-label-success .loader{display:inline-block;position:absolute;right:72px;top:50%;-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.husky-label-error .counter,.husky-label-warning .counter,.husky-label-success .counter,.husky-label-success-icon .counter{position:absolute;top:0;right:0;padding:0 50px;height:100%;line-height:70px}.husky-label-error .counter span,.husky-label-warning .counter span,.husky-label-success .counter span,.husky-label-success-icon .counter span{display:inline-block;vertical-align:baseline;width:14px;height:14px;border-radius:7px;line-height:14px;text-align:center;font-size:10px;background:#fff;font-weight:700}.husky-label-success-icon{height:100px;background:#5DC774;text-align:center;padding:0 10px;position:relative}.husky-label-success-icon::before{content:"";display:inline-block;width:100%;height:35px;background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2248px%22%20height%3D%2238px%22%20viewBox%3D%220%200%2048%2038%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20xmlns%3Asketch%3D%22http%3A%2F%2Fwww.bohemiancoding.com%2Fsketch%2Fns%22%3E%3Ctitle%3EType%20something%3C%2Ftitle%3E%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%3Cdefs%3E%3C%2Fdefs%3E%20%3Cg%20id%3D%22Basics%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20sketch%3Atype%3D%22MSPage%22%3E%20%3Cg%20id%3D%22Success-Message%22%20sketch%3Atype%3D%22MSArtboardGroup%22%20transform%3D%22translate(-99%2C%20-19)%22%20stroke%3D%22%23FFFFFF%22%3E%20%3Cg%20id%3D%22Toolbar%22%20sketch%3Atype%3D%22MSLayerGroup%22%3E%20%3Cg%20id%3D%22Navigation%2FNavigation-Standard%22%20sketch%3Atype%3D%22MSShapeGroup%22%3E%20%3Cg%20id%3D%22Client%22%3E%20%3Cpath%20d%3D%22M146.379414%2C26.9419509%20C146.379414%2C27.7398803%20146.100142%2C28.4181101%20145.541592%2C28.9766607%20L123.877917%2C50.6403351%20L119.808498%2C54.7097546%20C119.249947%2C55.2683052%20118.571718%2C55.5475763%20117.773788%2C55.5475763%20C116.975859%2C55.5475763%20116.297629%2C55.2683052%20115.739078%2C54.7097546%20L111.669659%2C50.6403351%20L100.837822%2C39.8084979%20C100.279271%2C39.2499473%20100%2C38.5717175%20100%2C37.7737882%20C100%2C36.9758588%20100.279271%2C36.297629%20100.837822%2C35.7390784%20L104.907241%2C31.6696589%20C105.465792%2C31.1111083%20106.144022%2C30.8318372%20106.941951%2C30.8318372%20C107.73988%2C30.8318372%20108.41811%2C31.1111083%20108.976661%2C31.6696589%20L117.773788%2C40.4967086%20L137.402753%2C20.8378217%20C137.961303%2C20.2792711%20138.639533%2C20%20139.437463%2C20%20C140.235392%2C20%20140.913622%2C20.2792711%20141.472172%2C20.8378217%20L145.541592%2C24.9072412%20C146.100142%2C25.4657917%20146.379414%2C26.1440215%20146.379414%2C26.9419509%20L146.379414%2C26.9419509%20Z%22%20id%3D%22Type-something%22%3E%3C%2Fpath%3E%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:contain;background-position:center center;margin-top:20px;margin-bottom:5px;-moz-transition:margin-top 500ms;-o-transition:margin-top 500ms;-webkit-transition:margin-top 500ms;transition:margin-top 500ms}.husky-label-success-icon .text{color:#fff;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:1;-moz-transition:opacity 500ms;-o-transition:opacity 500ms;-webkit-transition:opacity 500ms;transition:opacity 500ms}.husky-label-success-icon .counter{right:auto;left:0;color:#5DC774;line-height:normal;padding:5px}.husky-label-error{background:#EA524E}.husky-label-error .counter{color:#EA524E}.husky-label-warning{background:#F2D212;color:#000}.husky-label-warning .counter{color:#F2D212}.husky-label-success{background:#5DC774}.husky-label-success .counter{color:#5DC774}.husky-toggler{width:35px;height:20px;border-radius:11px;display:inline-block;vertical-align:middle;cursor:pointer}.husky-toggler.outline{margin-top:-2px}.husky-toggler.outline .toggler-wrapper{border-color:#ACDAE6;height:22px;border-radius:11px}.husky-toggler.outline .switch{border-color:#ACDAE6;top:1px;left:1px}.husky-toggler .toggler-wrapper{background:#fff;border:1px solid #ccc;border-radius:10px;position:relative;width:35px;height:20px;top:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;-moz-transition:all 100ms ease-in;-o-transition:all 100ms ease-in;-webkit-transition:all 100ms ease-in;transition:all 100ms ease-in}.husky-toggler .switch{background:#fff;width:20px;height:20px;border-radius:10px;border:1px solid #ccc;margin:-1px 0 0 -1px;position:absolute;top:0;left:0;z-index:10;-moz-transition:all 100ms ease-in;-o-transition:all 100ms ease-in;-webkit-transition:all 100ms ease-in;transition:all 100ms ease-in}.husky-toggler input{position:absolute;top:3px;left:3px;-moz-transition:all 100ms ease-in;-o-transition:all 100ms ease-in;-webkit-transition:all 100ms ease-in;transition:all 100ms ease-in;opacity:0;z-index:0}.husky-toggler.checked.outline .toggler-wrapper{border-color:#ACDAE6}.husky-toggler.checked.outline .toggler-wrapper .switch{left:14px}.husky-toggler.checked .toggler-wrapper{background:#5DC774;border-color:#5DC774}.husky-toggler.checked .switch{border-color:#5DC774;left:15px}.husky-toggler.checked input{left:17px}.husky-toggler-label{color:#000}label.husky-toggler-label~.input-description{margin-left:40px}.sortable .text-block>.container,.sortable .text-block>.collapsed-container{padding-left:40px}.sortable .text-block>.move{position:absolute;top:0;left:0;width:15px;height:100%;background:#ccc;z-index:10;text-align:center;cursor:move;color:#000;font-size:16px;border-radius:3px 0 0 3px}.sortable .text-block>.move::before{content:"";display:block;position:relative;top:50%;margin-top:-8px}.sortable .text-block .grid-row:last-of-type{margin-bottom:0}.text-block-controls{position:absolute;top:0;right:0}.text-block{position:relative;margin-bottom:10px;background:#fff;border:1px solid #ddd;border-radius:3px}.text-block .head label{float:left;font-size:16px;margin-bottom:10px;cursor:default}.text-block .head::after{content:"";display:block;clear:both}.text-block .options-remove{cursor:pointer;font-size:16px;width:22px;height:30px;line-height:30px;margin-left:5px;text-align:left}.text-block .options-collapse{cursor:pointer;font-size:16px;width:22px;height:30px;line-height:30px;text-align:left}.text-block>.container,.text-block>.collapsed-container{padding:20px;position:relative}.text-block>.container label,.text-block>.collapsed-container label{margin-bottom:10px}.text-block>.container textarea,.text-block>.collapsed-container textarea{max-width:100%;min-width:100%;width:100%}.text-block>.collapsed-container{color:#999;cursor:pointer;padding-top:10px;display:none}.text-block>.collapsed-container:after{clear:both;content:' ';display:block}.text-block>.collapsed-container .title{font-weight:700;font-style:oblique;margin-bottom:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-right:100px}.text-block>.collapsed-container .image{float:left;overflow:hidden}.text-block>.collapsed-container .image img{display:block;margin-right:10px;height:50px;width:50px}.text-block>.collapsed-container .text{display:block;display:-webkit-box;padding-top:3px;height:45px;font-size:14px;line-height:20px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.text-block>.collapsed-container .type{font-size:12px;position:absolute;top:10px;right:20px}.text-block>.collapsed-container.empty::before{content:"";display:block;width:50px;height:50px;position:relative;top:10px;margin:0 auto;color:#ccc;font-size:45px}.text-block.collapsed>.container{display:none}.text-block.collapsed>.collapsed-container{display:block}.text-blocks-header{line-height:20px;text-align:right;margin-top:-35px;position:relative;z-index:20}.text-blocks-toggle-btn{font-size:12px;padding-bottom:15px;display:inline-block;cursor:pointer}.text-blocks-toggle-btn:focus{outline:0}.empty .text-block .options-remove{display:none}.text-block-footer{margin-bottom:20px}.text-block-footer .desc{font-size:12px;color:#999;padding-left:10px}.text-block-footer .btn.full{background-color:#ccc;cursor:default}.block-content{display:none;color:#999}.block-content p{margin:5px 0}.white-box{width:100%;height:100%;background:#fff;border-radius:3px;border:1px solid #ddd;padding:0 0 15px}.white-box .text{font-size:12px;color:#999}.white-box .header{position:relative;top:0;left:0;height:50px;border-bottom:1px solid #ddd;line-height:50px;padding-left:20px;padding-right:20px;font-size:12px;background:#ddd;text-align:center}.white-box .header:after{clear:both;content:' ';display:block}.white-box .header .no-content-message{color:#999;display:none}.white-box .header .selected-counter{color:#999;font-size:10px;display:block;position:absolute;top:0;left:70px}.white-box .header .loader{position:absolute;top:50%;left:50%;margin-top:-10px;margin-left:-10px;display:none}.white-box .header .icon{display:block;font-size:16px;width:40px;height:30px;border-radius:2px;text-align:center;line-height:30px;cursor:pointer;margin-top:9px;padding-top:1px}.white-box .header .icon.action{background:#52B6CA;color:#fff}.white-box .header .icon.border{border:1px solid #ccc;box-sizing:initial;height:28px;line-height:28px}.white-box .header .icon.left{float:left;margin-right:-40px}.white-box .header .icon.right{float:right;margin-left:-40px}.white-box .header .position{width:32px;height:32px;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}.white-box .content{position:relative;top:0;left:0;max-height:255px;overflow:auto}.white-box .content .items-list{list-style-type:none;margin:0;padding:0 20px;color:#999}.white-box .content .items-list li{white-space:nowrap;font-size:14px;line-height:50px;border-bottom:1px solid #ddd;position:relative;display:table;width:100%}.white-box .content .items-list li .icon{cursor:move;color:#000;font-size:15px;padding-right:10px;display:table-cell;width:1px}.white-box .content .items-list li img{padding-top:8px;padding-bottom:8px;padding-right:20px;vertical-align:middle}.white-box .content .items-list li .num{color:#999;padding-right:15px;display:table-cell;width:1px}.white-box .content .items-list li>a,.white-box .content .items-list li .item-content>a{display:table;width:100%}.white-box .content .items-list li>a,.white-box .content .items-list li>a *,.white-box .content .items-list li .item-content>a,.white-box .content .items-list li .item-content>a *{text-decoration:none}.white-box .content .items-list li>a .value,.white-box .content .items-list li>a .title,.white-box .content .items-list li>a:hover .description,.white-box .content .items-list li .item-content>a .value,.white-box .content .items-list li .item-content>a .title,.white-box .content .items-list li .item-content>a:hover .description{color:#000}.white-box .content .items-list li>a>*,.white-box .content .items-list li .item-content>a>*{display:table-cell;width:1px}.white-box .content .items-list li>a .value,.white-box .content .items-list li>a .title,.white-box .content .items-list li .item-content>a .value,.white-box .content .items-list li .item-content>a .title{width:auto}.white-box .content .items-list li>a .description,.white-box .content .items-list li .item-content>a .description{width:50%}.white-box .content .items-list li .value,.white-box .content .items-list li .title{color:#999;white-space:normal}.white-box .content .items-list li .description{color:#999;font-size:12px}.white-box .content .items-list li .remove{display:table-cell;cursor:pointer;width:50px;line-height:50px;background:#fff;text-align:center;color:#000}.white-box .item-content{position:relative;display:table-cell}.white-box .footer{padding:15px 20px 20px;line-height:14px;color:#999;font-size:12px}.white-box.no-content{padding-bottom:0}.white-box.no-content .header .no-content-message{display:inline}.white-box.no-content .header .position{display:none}.white-box.no-content .header .selected-counter{display:none}.white-box.is-loading .header .loader{display:block}.white-box.is-loading .header .no-content-message{display:none}.white-box.is-loading .header .position{display:none}.white-box.is-loading .header .selected-counter{display:none}.husky-dropzone{overflow:hidden;position:relative;top:0;left:0;width:100%;height:auto;border:1px dashed #ddd;border-radius:3px;-moz-transition:opacity 300ms;-o-transition:opacity 300ms;-webkit-transition:opacity 300ms;transition:opacity 300ms}.husky-dropzone .description{text-align:center;height:150px;position:absolute;top:0;left:0;width:100%;z-index:10;cursor:pointer;-moz-transition:margin-top 300ms;-o-transition:margin-top 300ms;-webkit-transition:margin-top 300ms;transition:margin-top 300ms}.husky-dropzone .description .icon{color:#52B6CA;font-size:72px;line-height:72px;margin-bottom:5px;margin-top:10px}.husky-dropzone .description .title{font-size:24px;line-height:24px}.husky-dropzone .description span{display:block}.husky-dropzone .description *{-moz-transition:opacity 300ms;-o-transition:opacity 300ms;-webkit-transition:opacity 300ms;transition:opacity 300ms}.husky-dropzone .upload-items{height:150px;padding:20px 0 0 20px;position:relative;z-index:5}.husky-dropzone .upload-items:after{clear:both;content:' ';display:block}.husky-dropzone .upload-items .item{width:70px;height:90px;border:1px solid #fff;background:#fff;border-radius:2px;margin-right:20px;margin-bottom:20px;float:left}.husky-dropzone .upload-items .item .success-content{display:none}.husky-dropzone .upload-items .item .loading-content{padding-top:20px}.husky-dropzone .upload-items .item .file-size{text-align:center;font-size:9px;line-height:10px;color:#999;padding-top:15px;padding-bottom:5px}.husky-dropzone .upload-items .item .file-size *{font-weight:400}.husky-dropzone .upload-items .item .progress{width:50px;height:6px;margin:0 auto;background:#ccc;border-radius:3px;overflow:hidden}.husky-dropzone .upload-items .item .progress .bar{height:100%;background:#52B6CA;width:0}.husky-dropzone .upload-items .item .icon{height:25px;color:#999;font-size:25px;text-align:center;display:block}.husky-dropzone .upload-items .item .image{padding:10px 10px 5px;height:65px;line-height:45px;text-align:center}.husky-dropzone .upload-items .item .image img{vertical-align:bottom;max-width:100%;max-height:100%}.husky-dropzone .upload-items .item .tick{text-align:center;color:#999;font-size:15px;line-height:15px;display:block}.husky-dropzone .upload-items .item.dz-success{border-color:#ddd}.husky-dropzone .upload-items .item.dz-success .success-content{display:block}.husky-dropzone .upload-items .item.dz-success .loading-content{display:none}.husky-dropzone .dropzone-loader{position:relative;z-index:9002;display:none}.husky-dropzone.dz-drag-hover{opacity:.5}.husky-dropzone.dropped{padding-bottom:0;-moz-transition:padding 300ms;-o-transition:padding 300ms;-webkit-transition:padding 300ms;transition:padding 300ms}.husky-dropzone.dropped .description{margin-top:-170px}.husky-dropzone.dropped .description *{opacity:0}.husky-dropzone.small{padding-bottom:0;height:70px;-moz-transition:height 300ms;-o-transition:height 300ms;-webkit-transition:height 300ms;transition:height 300ms}.husky-dropzone.small .addition{display:none}.husky-dropzone.small .description{height:70px}.husky-dropzone.small .description .icon{font-size:25px;line-height:25px}.husky-dropzone.small .description .title{font-size:18px;line-height:18px}.husky-dropzone.small .upload-items{height:70px}.husky-dropzone.small.dropped{height:150px}.husky-dropzone.overlay{width:100%;height:100%;padding:0;border:0}.husky-dropzone.overlay .dropzone-container{width:200px;height:200px;background-color:#fff;opacity:0;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:50%;overflow:hidden;-moz-transition:-moz-transform 200ms,opacity 200ms;-o-transition:-o-transform 200ms,opacity 200ms;-webkit-transition:-webkit-transform 200ms,opacity 200ms;transition:transform 200ms,opacity 200ms;-moz-transform:translate(-50%,-50%) scale(0.8);-ms-transform:translate(-50%,-50%) scale(0.8);-webkit-transform:translate(-50%,-50%) scale(0.8);transform:translate(-50%,-50%) scale(0.8)}.husky-dropzone.overlay .dropzone-container .description{width:initial;height:initial;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:1;-moz-transition:opacity 100ms;-o-transition:opacity 100ms;-webkit-transition:opacity 100ms;transition:opacity 100ms}.husky-dropzone.overlay .dropzone-container .description .title{display:none}.husky-dropzone.overlay .dropzone-container .description .addition{color:#666}.husky-dropzone.overlay .dropzone-container .upload-items{width:initial;height:initial;padding:0;position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.husky-dropzone.overlay .dropzone-container .upload-items .item{width:initial;height:initial;margin:0;border:0}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content{padding:0}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content .icon{display:none}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content .file-size{padding-top:0;padding-bottom:6px;font-size:14px;line-height:14px}.husky-dropzone.overlay .dropzone-container .upload-items .item .loading-content .progress{width:80px;height:8px;border-radius:4px}.husky-dropzone.overlay .dropzone-container .upload-items .item .success-content .image{display:none}.husky-dropzone.overlay .dropzone-container .upload-items .item .success-content .tick{font-size:72px;line-height:72px}.husky-dropzone.overlay:hover .dropzone-container,.husky-dropzone.overlay.dz-drag-hover .dropzone-container,.husky-dropzone.overlay.dropped .dropzone-container{-moz-transform:translate(-50%,-50%) scale(1);-ms-transform:translate(-50%,-50%) scale(1);-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:.8}.husky-dropzone.overlay.dz-drag-hover{opacity:1}.husky-dropzone.overlay.dz-drag-hover .dropzone-container{border:1px dashed #666}.husky-dropzone.overlay.dropped .description{margin:0;opacity:0}.husky-dropzone.dropzone-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:9000;margin:0;padding:20px;border:0;border-radius:0}.husky-dropzone.dropzone-overlay::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#000;opacity:.8;z-index:9001}.husky-dropzone.dropzone-overlay .dropzone-container{position:absolute;top:20px;bottom:20px;left:20px;right:20px;border-radius:5px;z-index:9002;border:1px dashed #fff;overflow:auto;-moz-transition:top 150ms;-o-transition:top 150ms;-webkit-transition:top 150ms;transition:top 150ms}.husky-dropzone.dropzone-overlay .dropzone-container .description{position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:inline-block;width:auto;color:#fff}.husky-dropzone.dropzone-overlay .dropzone-container .description .icon{margin-top:0;color:#fff}.husky-dropzone.dropzone-overlay .dropzone-loader{display:block;opacity:0;-moz-transition:opacity 150ms;-o-transition:opacity 150ms;-webkit-transition:opacity 150ms;transition:opacity 150ms}.husky-dropzone.dropzone-overlay.dropped .dropzone-loader{opacity:1}.husky-dropzone.dropzone-overlay.dropped .dropzone-container{top:80px}.husky-dropzone.dropzone-overlay:hover,.husky-dropzone.dropzone-overlay.dz-drag-hover{opacity:1}.husky-input{background:#fff;position:relative;top:0;left:0}.husky-input:after{clear:both;content:' ';display:block}.husky-input .front{float:left;line-height:20px;margin:5px 0 0;padding-right:5px;border-right:1px solid #ddd;color:#999;font-size:16px}.husky-input .front .color-field{width:15px;height:15px;border:1px solid #999;background-color:#ccc;display:inline-block;margin-top:2px}.husky-input .front a{padding-top:1px;text-decoration:none;cursor:default}.husky-input .front a.clickable{color:#000;cursor:pointer}.husky-input .back{position:absolute;top:0;right:0;line-height:20px;margin:5px 10px 0 5px;background:#fff;color:#999;font-size:16px}.husky-input .input{overflow:hidden;padding-left:5px}.husky-input .input input{height:28px;border:0;outline-width:0;width:100%}.husky-input .text{font-size:14px}.husky-input .text-link{color:#000;cursor:pointer!important}.husky-input.colorpicker .input{overflow:visible}.husky-input.colorpicker .front{color:#000;cursor:pointer}.husky-input.pickdate .front{color:#000;cursor:pointer}.husky-validate-error .husky-input input{height:26px}.husky-thumbnails{margin-bottom:-20px;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none}.husky-thumbnails:after{clear:both;content:' ';display:block}.husky-thumbnails .download{font-size:15px;height:15px;width:15px}.husky-thumbnails .description{font-size:10px;color:#999}.husky-thumbnails .text{line-height:14px}.husky-thumbnails .item{float:left;position:relative;cursor:pointer}.husky-thumbnails .item:after{clear:both;content:' ';display:block}.husky-thumbnails .item.small{width:259px;height:70px;margin-bottom:20px;margin-right:8px;border:1px solid #ccc;border-radius:4px}.husky-thumbnails .item.small .image{float:left;width:70px;text-align:center;line-height:50px;padding:8px;position:relative}.husky-thumbnails .item.small .image img{display:block;position:relative;z-index:10;vertical-align:middle;max-width:100%;max-height:100%}.husky-thumbnails .item.small .text{float:left;padding-top:20px;width:190px -1px}.husky-thumbnails .item.small .checkbox{position:absolute;top:10px;right:10px;left:auto;display:none}.husky-thumbnails .item.small .download{position:absolute;right:10px;bottom:10px;display:none}.husky-thumbnails .item.small .empty{position:absolute;top:0;left:0;width:100%;height:70px;line-height:70px;z-index:5;font-size:25px;color:#ccc}.husky-thumbnails .item.large{border:1px solid #ccc;width:187px;height:248px;margin-bottom:40px;margin-right:18px;padding:10px}.husky-thumbnails .item.large .image{width:100%;height:170px;text-align:center;line-height:170px;margin-bottom:10px;position:relative}.husky-thumbnails .item.large .image img{display:block;position:relative;z-index:10;vertical-align:bottom;max-width:100%;max-height:100%}.husky-thumbnails .item.large .text{text-align:center}.husky-thumbnails .item.large .checkbox{position:absolute;left:10px;bottom:10px;top:auto}.husky-thumbnails .item.large .download{position:absolute;bottom:10px;right:10px}.husky-thumbnails .item.large .empty{width:100%;position:absolute;top:0;left:0;z-index:5;height:160px;line-height:160px;font-size:70px;color:#ccc}.husky-thumbnails .item:hover,.husky-thumbnails .item.is-selected{background:#fff}.husky-thumbnails .item:hover.large,.husky-thumbnails .item.is-selected.large{border-color:#fff}.husky-thumbnails .item:hover .checkbox,.husky-thumbnails .item.is-selected .checkbox{display:block}.husky-thumbnails .item:hover .download,.husky-thumbnails .item.is-selected .download{display:block}.husky-groups:after{clear:both;content:' ';display:block}.husky-groups .grid-group{width:190px;margin-right:20px;margin-bottom:30px;float:left;cursor:pointer}.husky-groups .grid-group .thumbnails{position:relative;width:100%;height:125px}.husky-groups .grid-group .thumbnails .thumbnail{position:absolute;width:150px;height:100px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:3px solid #fff;background:#fff;border-radius:2px;-moz-transition:all 200ms ease 200ms;-o-transition:all 200ms ease 200ms;-webkit-transition:all 200ms ease;-webkit-transition-delay:200ms;transition:all 200ms ease 200ms}.husky-groups .grid-group .thumbnails .thumbnail img{width:100%;height:100%;display:block}.husky-groups .grid-group .thumbnails .thumbnail.empty{width:145px;height:95px;background:#fff;text-align:center;line-height:95px;font-size:40px;color:#ccc}.husky-groups .grid-group .thumbnails .thumbnail.first{top:0;right:0;z-index:50;transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg)}.husky-groups .grid-group .thumbnails .thumbnail.first:only-child{-moz-transition:none 1s;-o-transition:none 1s;-webkit-transition:none 1s;transition:none 1s;position:relative;margin:0 auto}.husky-groups .grid-group .thumbnails .thumbnail.second{right:10px;top:3px;z-index:40;transform:rotate(-3deg);-ms-transform:rotate(-3deg);-webkit-transform:rotate(-3deg)}.husky-groups .grid-group .thumbnails .thumbnail.third{right:20px;top:6px;z-index:30;transform:rotate(-5deg);-ms-transform:rotate(-5deg);-webkit-transform:rotate(-5deg)}.husky-groups .grid-group .thumbnails:hover .thumbnail.first{top:-10px;right:-20px;transform:rotate(5deg);-ms-transform:rotate(5deg);-webkit-transform:rotate(5deg)}.husky-groups .grid-group .thumbnails:hover .thumbnail.first:only-child{transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);top:0;left:0}.husky-groups .grid-group .thumbnails:hover .thumbnail.second{right:10px;top:-2px;transform:rotate(-2deg);-ms-transform:rotate(-2deg);-webkit-transform:rotate(-2deg)}.husky-groups .grid-group .thumbnails:hover .thumbnail.third{top:15px;right:35px;transform:rotate(-8deg);-ms-transform:rotate(-8deg);-webkit-transform:rotate(-8deg)}.husky-groups .grid-group .title{display:block;line-height:14px;text-align:center}.husky-groups .grid-group .addition{display:block;text-align:center;font-size:10px;color:#999;line-height:14px}.data-navigation-container{height:100%}.data-navigation{height:100%;overflow:hidden;background-color:#ddd;color:#000}.data-navigation .data-navigation-header{display:table;table-layout:fixed;height:50px;width:100%;background-color:#ccc}.data-navigation .data-navigation-header .header-item{display:table-cell;width:50px;position:relative}.data-navigation .data-navigation-header .header-item .icon-container{cursor:pointer;display:table-cell;width:50px;text-align:center}.data-navigation .data-navigation-header .header-item .icon-container span{font-size:20px;line-height:50px;vertical-align:middle}.data-navigation .data-navigation-header .header-item .content-container{display:none;width:100%;position:relative;top:1px;padding-left:10px;font-size:12px;overflow:hidden;white-space:nowrap}.data-navigation .data-navigation-header .data-navigation-back{background-color:#999;color:#fff}.data-navigation .data-navigation-header .data-navigation-back .icon-container span{font-size:14px}.data-navigation .data-navigation-header .data-navigation-search{border-right:1px solid rgba(255,255,255,.2)}.data-navigation .data-navigation-header .data-navigation-search .icon-container span{font-size:16px}.data-navigation .data-navigation-header .data-navigation-search .search-container .search-icon{right:0}.data-navigation .data-navigation-header .data-navigation-search .search-container .remove-icon{display:none!important}.data-navigation .data-navigation-header .data-navigation-search .search-container #search-input{padding-left:15px;padding-right:30px;font-size:12px}.data-navigation .data-navigation-header .data-navigation-add,.data-navigation .data-navigation-header .header-filler{width:100%;padding:0 20px;border:0}.data-navigation .data-navigation-header .data-navigation-add .content-container,.data-navigation .data-navigation-header .header-filler .content-container{display:table-cell}.data-navigation .data-navigation-header .data-navigation-add{cursor:pointer}.data-navigation .data-navigation-header.header-search .data-navigation-add,.data-navigation .data-navigation-header.header-search .header-filler{display:none}.data-navigation .data-navigation-header.header-search .data-navigation-search{width:100%;padding:0 20px;border:0}.data-navigation .data-navigation-header.header-search .data-navigation-search .content-container{display:table-cell}.data-navigation-list-container{height:calc(100% - 50px);overflow:auto;position:relative;padding:15px 0 10px}.data-navigation-list-container .data-navigation-list-scroll{position:relative;min-height:calc(100% - 40px)}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list{background-color:#ddd;width:100%;height:100%}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list.is-animated{position:absolute;top:0;left:100%;z-index:5}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items{height:100%;margin:0;padding:0;list-style:none;overflow:auto}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li{position:relative;height:50px;line-height:50px;padding:0 30px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li:hover{background-color:#ccc}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li:focus{outline:0}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li.not-selectable{cursor:default;padding:0;height:auto}.data-navigation-list-container .data-navigation-list-scroll .data-navigation-list .data-navigation-items>li.not-selectable:hover{background-color:initial}.data-navigation-item-name{display:inline-block;width:calc(100% - 45px);text-overflow:ellipsis;overflow:hidden;padding-left:5px}.data-navigation-item-name .fa-chevron-right{position:absolute;right:10px;top:18px;font-size:14px}.data-navigation-item-thumb{position:relative;top:6px;display:block;float:left;width:35px;height:35px;margin-right:10px;border-radius:50%;vertical-align:top;background-size:100% 100%;background-repeat:no-repeat}.data-navigation-loader-container{position:absolute;width:100%;height:100%;left:0;top:0;padding:4px 0}.data-navigation-info{text-align:center;line-height:50px;height:100%}.data-navigation-info-empty{color:#999;font-size:14px;line-height:normal}.data-navigation-info-empty .icon{font-size:40px;display:block;margin:10px 0}.tiles-view{margin:0 -20px -20px 0}.tiles-view .tile,.tiles-view .add-new-tile{position:relative;width:120px;height:120px;display:inline-block;margin:0 20px 20px 0;cursor:pointer;text-align:center;vertical-align:middle;border-radius:2px}.tiles-view .tile{background:#fff;box-shadow:0 0 10px -10px rgba(0,0,0,.1);-moz-transition:box-shadow 200ms;-o-transition:box-shadow 200ms;-webkit-transition:box-shadow 200ms;transition:box-shadow 200ms}.tiles-view .tile:hover{box-shadow:0 0 10px -2px rgba(0,0,0,.1)}.tiles-view .add-new-tile{-moz-transition:color 80ms,border-color 80ms;-o-transition:color 80ms,border-color 80ms;-webkit-transition:color 80ms,border-color 80ms;transition:color 80ms,border-color 80ms;color:#999;border:1px dashed #ccc}.tiles-view .add-new-tile .icon{-moz-transition:color 80ms;-o-transition:color 80ms;-webkit-transition:color 80ms;transition:color 80ms;color:#ccc}.tiles-view .add-new-tile:hover{color:#000;border-color:#000}.tiles-view .add-new-tile:hover .icon{color:#000}.tiles-view .icon{font-size:38px;line-height:38px;padding:20px 0 15px;color:#ddd}.tiles-view .title,.tiles-view .description{position:absolute;display:block;width:100%;font-size:12px;padding:0 8px}.tiles-view .title{bottom:28px;line-height:15px}.tiles-view .description{position:absolute;bottom:5px;color:#999;white-space:nowrap;overflow:hidden;line-height:20px}.badge{vertical-align:middle;display:inline-block;background:#52B6CA;padding:0 2px;margin-top:-3px;color:#fff;border-radius:3px;font-size:10px;line-height:15px}.badge-none{background-color:transparent}.badge-color-none{color:transparent}.badge-black{background-color:#000}.badge-color-black{color:#000}.badge-white{background-color:#fff}.badge-color-white{color:#fff}.badge-gray-light{background-color:#999}.badge-color-gray-light{color:#999}.badge-gray{background-color:#666}.badge-color-gray{color:#666}.badge-yellow{background-color:#F2D212}.badge-color-yellow{color:#F2D212}.badge-blue{background-color:#52B6CA}.badge-color-blue{color:#52B6CA}.badge-red{background-color:#EA524E}.badge-color-red{color:#EA524E}[class^=fa-]{text-decoration:none} \ No newline at end of file diff --git a/dist/husky.min.js b/dist/husky.min.js index 285432408..899134baa 100644 --- a/dist/husky.min.js +++ b/dist/husky.min.js @@ -1 +1 @@ -var requirejs,require,define;(function(global){function isFunction(e){return ostring.call(e)==="[object Function]"}function isArray(e){return ostring.call(e)==="[object Array]"}function each(e,t){if(e){var n;for(n=0;n-1;n-=1)if(e[n]&&t(e[n],n,e))break}}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var n;for(n in e)if(hasProp(e,n)&&t(e[n],n))break}function mixin(e,t,n,r){return t&&eachProp(t,function(t,i){if(n||!hasProp(e,i))r&&typeof t!="string"?(e[i]||(e[i]={}),mixin(e[i],t,n,r)):e[i]=t}),e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),function(e){t=t[e]}),t}function makeError(e,t,n,r){var i=new Error(t+"\nhttp://requirejs.org/docs/errors.html#"+e);return i.requireType=e,i.requireModules=r,n&&(i.originalError=n),i}function newContext(e){function v(e){var t,n;for(t=0;e[t];t+=1){n=e[t];if(n===".")e.splice(t,1),t-=1;else if(n===".."){if(t===1&&(e[2]===".."||e[0]===".."))break;t>0&&(e.splice(t-1,2),t-=2)}}}function m(e,t,n){var r,i,s,u,a,f,l,c,h,p,d,m=t&&t.split("/"),g=m,y=o.map,b=y&&y["*"];e&&e.charAt(0)==="."&&(t?(getOwn(o.pkgs,t)?g=m=[t]:g=m.slice(0,m.length-1),e=g.concat(e.split("/")),v(e),i=getOwn(o.pkgs,r=e[0]),e=e.join("/"),i&&e===r+"/"+i.main&&(e=r)):e.indexOf("./")===0&&(e=e.substring(2)));if(n&&y&&(m||b)){u=e.split("/");for(a=u.length;a>0;a-=1){l=u.slice(0,a).join("/");if(m)for(f=m.length;f>0;f-=1){s=getOwn(y,m.slice(0,f).join("/"));if(s){s=getOwn(s,l);if(s){c=s,h=a;break}}}if(c)break;!p&&b&&getOwn(b,l)&&(p=getOwn(b,l),d=a)}!c&&p&&(c=p,h=d),c&&(u.splice(0,h,c),e=u.join("/"))}return e}function g(e){isBrowser&&each(scripts(),function(t){if(t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===r.contextName)return t.parentNode.removeChild(t),!0})}function y(e){var t=getOwn(o.paths,e);if(t&&isArray(t)&&t.length>1)return t.shift(),r.require.undef(e),r.require([e]),!0}function b(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function w(e,t,n,i){var s,o,u,a,f=null,l=t?t.name:null,h=e,v=!0,g="";return e||(v=!1,e="_@r"+(p+=1)),a=b(e),f=a[0],e=a[1],f&&(f=m(f,l,i),o=getOwn(c,f)),e&&(f?o&&o.normalize?g=o.normalize(e,function(e){return m(e,l,i)}):g=m(e,l,i):(g=m(e,l,i),a=b(g),f=a[0],g=a[1],n=!0,s=r.nameToUrl(g))),u=f&&!o&&!n?"_unnormalized"+(d+=1):"",{prefix:f,name:g,parentMap:t,unnormalized:!!u,url:s,originalName:h,isDefine:v,id:(f?f+"!"+g:g)+u}}function E(e){var t=e.id,n=getOwn(u,t);return n||(n=u[t]=new r.Module(e)),n}function S(e,t,n){var r=e.id,i=getOwn(u,r);hasProp(c,r)&&(!i||i.defineEmitComplete)?t==="defined"&&n(c[r]):(i=E(e),i.error&&t==="error"?n(i.error):i.on(t,n))}function x(e,t){var n=e.requireModules,r=!1;t?t(e):(each(n,function(t){var n=getOwn(u,t);n&&(n.error=e,n.events.error&&(r=!0,n.emit("error",e)))}),r||req.onError(e))}function T(){globalDefQueue.length&&(apsp.apply(l,[l.length-1,0].concat(globalDefQueue)),globalDefQueue=[])}function N(e){delete u[e],delete a[e]}function C(e,t,n){var r=e.map.id;e.error?e.emit("error",e.error):(t[r]=!0,each(e.depMaps,function(r,i){var s=r.id,o=getOwn(u,s);o&&!e.depMatched[i]&&!n[s]&&(getOwn(t,s)?(e.defineDep(i,c[s]),e.check()):C(o,t,n))}),n[r]=!0)}function k(){var e,n,i,u,f=o.waitSeconds*1e3,l=f&&r.startTime+f<(new Date).getTime(),c=[],h=[],p=!1,d=!0;if(t)return;t=!0,eachProp(a,function(t){e=t.map,n=e.id;if(!t.enabled)return;e.isDefine||h.push(t);if(!t.error)if(!t.inited&&l)y(n)?(u=!0,p=!0):(c.push(n),g(n));else if(!t.inited&&t.fetched&&e.isDefine){p=!0;if(!e.prefix)return d=!1}});if(l&&c.length)return i=makeError("timeout","Load timeout for modules: "+c,null,c),i.contextName=r.contextName,x(i);d&&each(h,function(e){C(e,{},{})}),(!l||u)&&p&&(isBrowser||isWebWorker)&&!s&&(s=setTimeout(function(){s=0,k()},50)),t=!1}function L(e){hasProp(c,e[0])||E(w(e[0],null,!0)).init(e[1],e[2])}function A(e,t,n,r){e.detachEvent&&!isOpera?r&&e.detachEvent(r,t):e.removeEventListener(n,t,!1)}function O(e){var t=e.currentTarget||e.srcElement;return A(t,r.onScriptLoad,"load","onreadystatechange"),A(t,r.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function M(){var e;T();while(l.length){e=l.shift();if(e[0]===null)return x(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));L(e)}}var t,n,r,i,s,o={waitSeconds:7,baseUrl:"./",paths:{},pkgs:{},shim:{},config:{}},u={},a={},f={},l=[],c={},h={},p=1,d=1;return i={require:function(e){return e.require?e.require:e.require=r.makeRequire(e.map)},exports:function(e){e.usingExports=!0;if(e.map.isDefine)return e.exports?e.exports:e.exports=c[e.map.id]={}},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){var t,n=getOwn(o.pkgs,e.map.id);return t=n?getOwn(o.config,e.map.id+"/"+n.main):getOwn(o.config,e.map.id),t||{}},exports:c[e.map.id]}}},n=function(e){this.events=getOwn(f,e.id)||{},this.map=e,this.shim=getOwn(o.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},n.prototype={init:function(e,t,n,r){r=r||{};if(this.inited)return;this.factory=t,n?this.on("error",n):this.events.error&&(n=bind(this,function(e){this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=n,this.inited=!0,this.ignore=r.ignore,r.enabled||this.enabled?this.enable():this.check()},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(this.fetched)return;this.fetched=!0,r.startTime=(new Date).getTime();var e=this.map;if(!this.shim)return e.prefix?this.callPlugin():this.load();r.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()}))},load:function(){var e=this.map.url;h[e]||(h[e]=!0,r.load(this.map.id,e))},check:function(){if(!this.enabled||this.enabling)return;var e,t,n=this.map.id,i=this.depExports,s=this.exports,o=this.factory;if(!this.inited)this.fetch();else if(this.error)this.emit("error",this.error);else if(!this.defining){this.defining=!0;if(this.depCount<1&&!this.defined){if(isFunction(o)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{s=r.execCb(n,o,i,s)}catch(u){e=u}else s=r.execCb(n,o,i,s);this.map.isDefine&&(t=this.module,t&&t.exports!==undefined&&t.exports!==this.exports?s=t.exports:s===undefined&&this.usingExports&&(s=this.exports));if(e)return e.requireMap=this.map,e.requireModules=this.map.isDefine?[this.map.id]:null,e.requireType=this.map.isDefine?"define":"require",x(this.error=e)}else s=o;this.exports=s,this.map.isDefine&&!this.ignore&&(c[n]=s,req.onResourceLoad&&req.onResourceLoad(r,this.map,this.depMaps)),N(n),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}},callPlugin:function(){var e=this.map,t=e.id,n=w(e.prefix);this.depMaps.push(n),S(n,"defined",bind(this,function(n){var i,s,a,f=this.map.name,l=this.map.parentMap?this.map.parentMap.name:null,c=r.makeRequire(e.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){n.normalize&&(f=n.normalize(f,function(e){return m(e,l,!0)})||""),s=w(e.prefix+"!"+f,this.map.parentMap),S(s,"defined",bind(this,function(e){this.init([],function(){return e},null,{enabled:!0,ignore:!0})})),a=getOwn(u,s.id),a&&(this.depMaps.push(s),this.events.error&&a.on("error",bind(this,function(e){this.emit("error",e)})),a.enable());return}i=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})}),i.error=bind(this,function(e){this.inited=!0,this.error=e,e.requireModules=[t],eachProp(u,function(e){e.map.id.indexOf(t+"_unnormalized")===0&&N(e.map.id)}),x(e)}),i.fromText=bind(this,function(n,s){var u=e.name,a=w(u),f=useInteractive;s&&(n=s),f&&(useInteractive=!1),E(a),hasProp(o.config,t)&&(o.config[u]=o.config[t]);try{req.exec(n)}catch(l){return x(makeError("fromtexteval","fromText eval for "+t+" failed: "+l,l,[t]))}f&&(useInteractive=!0),this.depMaps.push(a),r.completeLoad(u),c([u],i)}),n.load(e.name,c,i,o)})),r.enable(n,this),this.pluginMaps[n.id]=n},enable:function(){a[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(e,t){var n,s,o;if(typeof e=="string"){e=w(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,o=getOwn(i,e.id);if(o){this.depExports[t]=o(this);return}this.depCount+=1,S(e,"defined",bind(this,function(e){this.defineDep(t,e),this.check()})),this.errback&&S(e,"error",bind(this,this.errback))}n=e.id,s=u[n],!hasProp(i,n)&&s&&!s.enabled&&r.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(u,e.id);t&&!t.enabled&&r.enable(e,this)})),this.enabling=!1,this.check()},on:function(e,t){var n=this.events[e];n||(n=this.events[e]=[]),n.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)}),e==="error"&&delete this.events[e]}},r={config:o,contextName:e,registry:u,defined:c,urlFetched:h,defQueue:l,Module:n,makeModuleMap:w,nextTick:req.nextTick,onError:x,configure:function(e){e.baseUrl&&e.baseUrl.charAt(e.baseUrl.length-1)!=="/"&&(e.baseUrl+="/");var t=o.pkgs,n=o.shim,i={paths:!0,config:!0,map:!0};eachProp(e,function(e,t){i[t]?t==="map"?(o.map||(o.map={}),mixin(o[t],e,!0,!0)):mixin(o[t],e,!0):o[t]=e}),e.shim&&(eachProp(e.shim,function(e,t){isArray(e)&&(e={deps:e}),(e.exports||e.init)&&!e.exportsFn&&(e.exportsFn=r.makeShimExports(e)),n[t]=e}),o.shim=n),e.packages&&(each(e.packages,function(e){var n;e=typeof e=="string"?{name:e}:e,n=e.location,t[e.name]={name:e.name,location:n||e.name,main:(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}}),o.pkgs=t),eachProp(u,function(e,t){!e.inited&&!e.map.unnormalized&&(e.map=w(t))}),(e.deps||e.callback)&&r.require(e.deps||[],e.callback)},makeShimExports:function(e){function t(){var t;return e.init&&(t=e.init.apply(global,arguments)),t||e.exports&&getGlobal(e.exports)}return t},makeRequire:function(t,n){function s(o,a,f){var l,h,p;return n.enableBuildCallback&&a&&isFunction(a)&&(a.__requireJsBuild=!0),typeof o=="string"?isFunction(a)?x(makeError("requireargs","Invalid require call"),f):t&&hasProp(i,o)?i[o](u[t.id]):req.get?req.get(r,o,t,s):(h=w(o,t,!1,!0),l=h.id,hasProp(c,l)?c[l]:x(makeError("notloaded",'Module name "'+l+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))):(M(),r.nextTick(function(){M(),p=E(w(null,t)),p.skipMap=n.skipMap,p.init(o,a,f,{enabled:!0}),k()}),s)}return n=n||{},mixin(s,{isBrowser:isBrowser,toUrl:function(e){var n,i=e.lastIndexOf("."),s=e.split("/")[0],o=s==="."||s==="..";return i!==-1&&(!o||i>1)&&(n=e.substring(i,e.length),e=e.substring(0,i)),r.nameToUrl(m(e,t&&t.id,!0),n,!0)},defined:function(e){return hasProp(c,w(e,t,!1,!0).id)},specified:function(e){return e=w(e,t,!1,!0).id,hasProp(c,e)||hasProp(u,e)}}),t||(s.undef=function(e){T();var n=w(e,t,!0),r=getOwn(u,e);g(e),delete c[e],delete h[n.url],delete f[e],r&&(r.events.defined&&(f[e]=r.events),N(e))}),s},enable:function(e){var t=getOwn(u,e.id);t&&E(e).enable()},completeLoad:function(e){var t,n,r,i=getOwn(o.shim,e)||{},s=i.exports;T();while(l.length){n=l.shift();if(n[0]===null){n[0]=e;if(t)break;t=!0}else n[0]===e&&(t=!0);L(n)}r=getOwn(u,e);if(!t&&!hasProp(c,e)&&r&&!r.inited){if(o.enforceDefine&&(!s||!getGlobal(s))){if(y(e))return;return x(makeError("nodefine","No define call for "+e,null,[e]))}L([e,i.deps||[],i.exportsFn])}k()},nameToUrl:function(e,t,n){var r,i,s,u,a,f,l,c,h;if(req.jsExtRegExp.test(e))c=e+(t||"");else{r=o.paths,i=o.pkgs,a=e.split("/");for(f=a.length;f>0;f-=1){l=a.slice(0,f).join("/"),s=getOwn(i,l),h=getOwn(r,l);if(h){isArray(h)&&(h=h[0]),a.splice(0,f,h);break}if(s){e===s.name?u=s.location+"/"+s.main:u=s.location,a.splice(0,f,u);break}}c=a.join("/"),c+=t||(/^data\:|\?/.test(c)||n?"":".js"),c=(c.charAt(0)==="/"||c.match(/^[\w\+\.\-]+:/)?"":o.baseUrl)+c}return o.urlArgs?c+((c.indexOf("?")===-1?"?":"&")+o.urlArgs):c},load:function(e,t){req.load(r,e,t)},execCb:function(e,t,n,r){return t.apply(r,n)},onScriptLoad:function(e){if(e.type==="load"||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=O(e);r.completeLoad(t.id)}},onScriptError:function(e){var t=O(e);if(!y(t.id))return x(makeError("scripterror","Script error for: "+t.id,e,[t.id]))}},r.require=r.makeRequire(),r}function getInteractiveScript(){return interactiveScript&&interactiveScript.readyState==="interactive"?interactiveScript:(eachReverse(scripts(),function(e){if(e.readyState==="interactive")return interactiveScript=e}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.1.9",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,ap=Array.prototype,apsp=ap.splice,isBrowser=typeof window!="undefined"&&typeof navigator!="undefined"&&!!window.document,isWebWorker=!isBrowser&&typeof importScripts!="undefined",readyRegExp=isBrowser&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera=typeof opera!="undefined"&&opera.toString()==="[object Opera]",contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if(typeof define!="undefined")return;if(typeof requirejs!="undefined"){if(isFunction(requirejs))return;cfg=requirejs,requirejs=undefined}typeof require!="undefined"&&!isFunction(require)&&(cfg=require,require=undefined),req=requirejs=function(e,t,n,r){var i,s,o=defContextName;return!isArray(e)&&typeof e!="string"&&(s=e,isArray(t)?(e=t,t=n,n=r):e=[]),s&&s.context&&(o=s.context),i=getOwn(contexts,o),i||(i=contexts[o]=req.s.newContext(o)),s&&i.configure(s),i.require(e,t,n)},req.config=function(e){return req(e)},req.nextTick=typeof setTimeout!="undefined"?function(e){setTimeout(e,4)}:function(e){e()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,n){var r=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r},req.load=function(e,t,n){var r=e&&e.config||{},i;if(isBrowser)return i=req.createNode(r,t,n),i.setAttribute("data-requirecontext",e.contextName),i.setAttribute("data-requiremodule",t),i.attachEvent&&!(i.attachEvent.toString&&i.attachEvent.toString().indexOf("[native code")<0)&&!isOpera?(useInteractive=!0,i.attachEvent("onreadystatechange",e.onScriptLoad)):(i.addEventListener("load",e.onScriptLoad,!1),i.addEventListener("error",e.onScriptError,!1)),i.src=n,currentlyAddingScript=i,baseElement?head.insertBefore(i,baseElement):head.appendChild(i),currentlyAddingScript=null,i;if(isWebWorker)try{importScripts(n),e.completeLoad(t)}catch(s){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+n,s,[t]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){head||(head=e.parentNode),dataMain=e.getAttribute("data-main");if(dataMain)return mainScript=dataMain,cfg.baseUrl||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(e,t,n){var r,i;typeof e!="string"&&(n=t,t=e,e=null),isArray(t)||(n=t,t=null),!t&&isFunction(n)&&(t=[],n.length&&(n.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(e,n){t.push(n)}),t=(n.length===1?["require"]:["require","exports","module"]).concat(t))),useInteractive&&(r=currentlyAddingScript||getInteractiveScript(),r&&(e||(e=r.getAttribute("data-requiremodule")),i=contexts[r.getAttribute("data-requirecontext")])),(i?i.defQueue:globalDefQueue).push([e,t,n])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)})(this),define("requirejs",function(){}),function(e,t){function H(e){var t=e.length,n=w.type(e);return w.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function j(e){var t=B[e]={};return w.each(e.match(S)||[],function(e,n){t[n]=!0}),t}function q(e,n,r,i){if(!w.acceptData(e))return;var s,o,u=w.expando,a=e.nodeType,f=a?w.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===t&&typeof n=="string")return;l||(a?l=e[u]=c.pop()||w.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:w.noop});if(typeof n=="object"||typeof n=="function")i?f[l]=w.extend(f[l],n):f[l].data=w.extend(f[l].data,n);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[w.camelCase(n)]=r),typeof n=="string"?(s=o[n],s==null&&(s=o[w.camelCase(n)])):s=o,s}function R(e,t,n){if(!w.acceptData(e))return;var r,i,s=e.nodeType,o=s?w.cache:e,u=s?e[w.expando]:w.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){w.isArray(t)?t=t.concat(w.map(t,w.camelCase)):t in r?t=[t]:(t=w.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!z(r):!w.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!z(o[u]))return}s?w.cleanData([e],!0):w.support.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function U(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(I,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:F.test(r)?w.parseJSON(r):r}catch(s){}w.data(e,n,r)}else r=t}return r}function z(e){var t;for(t in e){if(t==="data"&&w.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function it(){return!0}function st(){return!1}function ot(){try{return o.activeElement}catch(e){}}function ct(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ht(e,t,n){if(w.isFunction(t))return w.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return w.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(ut.test(t))return w.filter(t,e,n);t=w.filter(t,e)}return w.grep(e,function(e){return w.inArray(e,t)>=0!==n})}function pt(e){var t=dt.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Mt(e,t){return w.nodeName(e,"table")&&w.nodeName(t.nodeType===1?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function _t(e){return e.type=(w.find.attr(e,"type")!==null)+"/"+e.type,e}function Dt(e){var t=Ct.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Pt(e,t){var n,r=0;for(;(n=e[r])!=null;r++)w._data(n,"globalEval",!t||w._data(t[r],"globalEval"))}function Ht(e,t){if(t.nodeType!==1||!w.hasData(e))return;var n,r,i,s=w._data(e),o=w._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").css("cssText","display:block !important")).appendTo(t.documentElement),t=(It[0].contentWindow||It[0].contentDocument).document,t.write(""),t.close(),n=fn(e,t),It.detach();Qt[e]=n}return n}function fn(e,t){var n=w(t.createElement(e)).appendTo(t.body),r=w.css(n[0],"display");return n.remove(),r}function vn(e,t,n,r){var i;if(w.isArray(t))w.each(t,function(t,i){n||cn.test(e)?r(e,i):vn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&w.type(t)==="object")for(i in t)vn(e+"["+i+"]",t[i],n,r);else r(e,t)}function _n(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i=0,s=t.toLowerCase().match(S)||[];if(w.isFunction(n))while(r=s[i++])r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Dn(e,t,n,r){function o(u){var a;return i[u]=!0,w.each(e[u]||[],function(e,u){var f=u(t,n,r);if(typeof f=="string"&&!s&&!i[f])return t.dataTypes.unshift(f),o(f),!1;if(s)return!(a=f)}),a}var i={},s=e===An;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Pn(e,n){var r,i,s=w.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((s[i]?e:r||(r={}))[i]=n[i]);return r&&w.extend(!0,e,r),e}function Hn(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes;while(f[0]==="*")f.shift(),s===t&&(s=e.mimeType||n.getResponseHeader("Content-Type"));if(s)for(u in a)if(a[u]&&a[u].test(s)){f.unshift(u);break}if(f[0]in r)o=f[0];else{for(u in r){if(!f[0]||e.converters[u+" "+f[0]]){o=u;break}i||(i=u)}o=o||i}if(o)return o!==f[0]&&f.unshift(o),r[o]}function Bn(e,t,n,r){var i,s,o,u,a,f={},l=e.dataTypes.slice();if(l[1])for(o in e.converters)f[o.toLowerCase()]=e.converters[o];s=l.shift();while(s){e.responseFields[s]&&(n[e.responseFields[s]]=t),!a&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=s,s=l.shift();if(s)if(s==="*")s=a;else if(a!=="*"&&a!==s){o=f[a+" "+s]||f["* "+s];if(!o)for(i in f){u=i.split(" ");if(u[1]===s){o=f[a+" "+u[0]]||f["* "+u[0]];if(o){o===!0?o=f[i]:f[i]!==!0&&(s=u[0],l.unshift(u[1]));break}}}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+a+" to "+s}}}}return{state:"success",data:t}}function zn(){try{return new e.XMLHttpRequest}catch(t){}}function Wn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function Yn(){return setTimeout(function(){Xn=t}),Xn=w.now()}function Zn(e,t,n){var r,i=(Gn[t]||[]).concat(Gn["*"]),s=0,o=i.length;for(;s)[^>]*|#([\w-]*))$/,N=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,C=/^[\],:{}\s]*$/,k=/(?:^|:|,)(?:\s*\[)+/g,L=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,O=/^-ms-/,M=/-([\da-z])/gi,_=function(e,t){return t.toUpperCase()},D=function(e){if(o.addEventListener||e.type==="load"||o.readyState==="complete")P(),w.ready()},P=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",D,!1),e.removeEventListener("load",D,!1)):(o.detachEvent("onreadystatechange",D),e.detachEvent("onload",D))};w.fn=w.prototype={jquery:h,constructor:w,init:function(e,n,r){var i,s;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?i=[null,e,null]:i=T.exec(e);if(i&&(i[1]||!n)){if(i[1]){n=n instanceof w?n[0]:n,w.merge(this,w.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0));if(N.test(i[1])&&w.isPlainObject(n))for(i in n)w.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}s=o.getElementById(i[2]);if(s&&s.parentNode){if(s.id!==i[2])return r.find(e);this.length=1,this[0]=s}return this.context=o,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this))},selector:"",length:0,toArray:function(){return v.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return w.each(this,e,t)},ready:function(e){return w.ready.promise().done(e),this},slice:function(){return this.pushStack(v.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0)return;n.resolveWith(o,[w]),w.fn.trigger&&w(o).trigger("ready").off("ready")},isFunction:function(e){return w.type(e)==="function"},isArray:Array.isArray||function(e){return w.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):typeof e=="object"||typeof e=="function"?l[g.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||w.type(e)!=="object"||e.nodeType||w.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(w.support.ownLast)for(n in e)return y.call(e,n);for(n in e);return n===t||y.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||o;var r=N.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,i),i&&w(i).remove(),w.merge([],r.childNodes))},parseJSON:function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(t===null)return t;if(typeof t=="string"){t=w.trim(t);if(t&&C.test(t.replace(L,"@").replace(A,"]").replace(k,"")))return(new Function("return "+t))()}w.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")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(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&w.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&w.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(O,"ms-").replace(M,_)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=H(e);if(n)if(o)for(;is.cacheLength&&delete t[e.shift()],t[n]=r}var e=[];return t}function at(e){return e[b]=!0,e}function ft(e){var t=h.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)s.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||O)-(~e.sourceIndex||O);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function dt(e){return at(function(t){return t=+t,at(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function vt(){}function mt(e,t){var n,r,i,o,u,a,f,l=N[e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=s.preFilter;while(u){if(!n||(r=X.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(i=[]);n=!1;if(r=V.exec(u))n=r.shift(),i.push({value:n,type:r[0].replace(W," ")}),u=u.slice(n.length);for(o in s.filter)(r=G[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(n=r.shift(),i.push({value:n,type:o,matches:r}),u=u.slice(n.length));if(!n)break}return t?u.length:u?ot.error(e):N(e,a).slice(0)}function gt(e){var t=0,n=e.length,r="";for(;t1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function wt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=wt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):H.apply(o,g)})}function St(e){var t,n,r,i=e.length,o=s.relative[e[0].type],u=o||s.relative[" "],a=o?1:0,l=yt(function(e){return e===t},u,!0),c=yt(function(e){return j.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r))}];for(;a1&&bt(h),a>1&>(e.slice(0,a-1).concat({value:e[a-2].type===" "?"*":""})).replace(W,"$1"),n,a0,o=e.length>0,u=function(u,a,l,c,p){var d,v,m,g=[],y=0,b="0",w=u&&[],E=p!=null,x=f,T=u||o&&s.find.TAG("*",p&&a.parentNode||a),N=S+=x==null?1:Math.random()||.1;E&&(f=a!==h&&a,i=n);for(;(d=T[b])!=null;b++){if(o&&d){v=0;while(m=e[v++])if(m(d,a,l)){c.push(d);break}E&&(S=N,i=++n)}r&&((d=!m&&d)&&y--,u&&w.push(d))}y+=b;if(r&&b!==y){v=0;while(m=t[v++])m(w,g,a,l);if(u){if(y>0)while(b--)!w[b]&&!g[b]&&(g[b]=D.call(c));g=wt(g)}H.apply(c,g),E&&!u&&g.length>0&&y+t.length>1&&ot.uniqueSort(c)}return E&&(S=N,f=x),w};return r?at(u):u}function Tt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&r.getById&&t.nodeType===9&&d&&s.relative[u[1].type]){t=(s.find.ID(f.matches[0].replace(rt,it),t)||[])[0];if(!t)return n;e=e.slice(u.shift().value.length)}o=G.needsContext.test(e)?0:u.length;while(o--){f=u[o];if(s.relative[l=f.type])break;if(c=s.find[l])if(i=c(f.matches[0].replace(rt,it),$.test(u[0].type)&&t.parentNode||t)){u.splice(o,1),e=i.length&>(u);if(!e)return H.apply(n,i),n;break}}}return a(e,h)(i,t,!d,n,$.test(e)),n}var n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b="sizzle"+ -(new Date),E=e.document,S=0,x=0,T=ut(),N=ut(),C=ut(),k=!1,L=function(e,t){return e===t?(k=!0,0):0},A=typeof t,O=1<<31,M={}.hasOwnProperty,_=[],D=_.pop,P=_.push,H=_.push,B=_.slice,j=_.indexOf||function(e){var t=0,n=this.length;for(;t+~]|"+I+")"+I+"*"),$=new RegExp(I+"*[+~]"),J=new RegExp("="+I+"*([^\\]'\"]*)"+I+"*\\]","g"),K=new RegExp(z),Q=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q.replace("w","w*")+")"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)};try{H.apply(_=B.call(E.childNodes),E.childNodes),_[E.childNodes.length].nodeType}catch(st){H={apply:_.length?function(e,t){P.apply(e,B.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}u=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},r=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:E,n=t.defaultView;if(t===h||t.nodeType!==9||!t.documentElement)return h;h=t,p=t.documentElement,d=!u(t),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){c()}),r.attributes=ft(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ft(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ft(function(e){return e.innerHTML="
",e.firstChild.className="i",e.getElementsByClassName("i").length===2}),r.getById=ft(function(e){return p.appendChild(e).id=b,!t.getElementsByName||!t.getElementsByName(b).length}),r.getById?(s.find.ID=function(e,t){if(typeof t.getElementById!==A&&d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},s.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete s.find.ID,s.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),s.find.TAG=r.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==A)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},s.find.CLASS=r.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==A&&d)return t.getElementsByClassName(e)},m=[],v=[];if(r.qsa=Y.test(t.querySelectorAll))ft(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||v.push("\\["+I+"*(?:value|"+F+")"),e.querySelectorAll(":checked").length||v.push(":checked")}),ft(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&v.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")});return(r.matchesSelector=Y.test(g=p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ft(function(e){r.disconnectedMatch=g.call(e,"div"),g.call(e,"[s!='']:x"),m.push("!=",z)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),y=Y.test(p.contains)||p.compareDocumentPosition?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},L=p.compareDocumentPosition?function(e,n){if(e===n)return k=!0,0;var i=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);if(i)return i&1||!r.sortDetached&&n.compareDocumentPosition(e)===i?e===t||y(E,e)?-1:n===t||y(E,n)?1:l?j.call(l,e)-j.call(l,n):0:i&4?-1:1;return e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,s=e.parentNode,o=n.parentNode,u=[e],a=[n];if(e===n)return k=!0,0;if(!s||!o)return e===t?-1:n===t?1:s?-1:o?1:l?j.call(l,e)-j.call(l,n):0;if(s===o)return ct(e,n);r=e;while(r=r.parentNode)u.unshift(r);r=n;while(r=r.parentNode)a.unshift(r);while(u[i]===a[i])i++;return i?ct(u[i],a[i]):u[i]===E?-1:a[i]===E?1:0},t},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){(e.ownerDocument||e)!==h&&c(e),t=t.replace(J,"='$1']");if(r.matchesSelector&&d&&(!m||!m.test(t))&&(!v||!v.test(t)))try{var n=g.call(e,t);if(n||r.disconnectedMatch||e.document&&e.document.nodeType!==11)return n}catch(i){}return ot(t,h,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==h&&c(e),y(e,t)},ot.attr=function(e,n){(e.ownerDocument||e)!==h&&c(e);var i=s.attrHandle[n.toLowerCase()],o=i&&M.call(s.attrHandle,n.toLowerCase())?i(e,n,!d):t;return o===t?r.attributes||!d?e.getAttribute(n):(o=e.getAttributeNode(n))&&o.specified?o.value:null:o},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,n=[],i=0,s=0;k=!r.detectDuplicates,l=!r.sortStable&&e.slice(0),e.sort(L);if(k){while(t=e[s++])t===e[s]&&(i=n.push(s));while(i--)e.splice(n[i],1)}return e},o=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r];r++)n+=o(t);else if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(i===3||i===4)return e.nodeValue;return n},s=ot.selectors={cacheLength:50,createPseudo:at,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return G.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&K.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&T(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0: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 s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),y=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&y){l=m[b]||(m[b]={}),f=l[e]||[],p=f[0]===S&&f[1],h=f[0]===S&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[S,p,h];break}}else if(y&&(f=(t[b]||(t[b]={}))[e])&&f[0]===S)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){y&&((c[b]||(c[b]={}))[e]=[S,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,r=s.pseudos[e]||s.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],s.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=j.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(W,"$1"));return r[b]?at(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return Q.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.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 t==="input"&&!!e.checked||t==="option"&&!!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>"@"||e.nodeType===3||e.nodeType===4)return!1;return!0},parent:function(e){return!s.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()===e.type)},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[n<0?n+t:n]}),even:dt(function(e,t){var n=0;for(;n=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=n<0?n+t:n;for(;++r-1)a.splice(r,1),n&&(r<=s&&s--,r<=o&&o--)}),this},has:function(e){return e?w.inArray(e,a)>-1:!!a&&!!a.length},empty:function(){return a=[],s=0,this},disable:function(){return a=f=r=t,this},disabled:function(){return!a},lock:function(){return f=t,r||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return a&&(!i||f)&&(t=t||[],t=[e,t.slice?t.slice():t],n?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},w.extend({Deferred:function(e){var t=[["resolve","done",w.Callbacks("once memory"),"resolved"],["reject","fail",w.Callbacks("once memory"),"rejected"],["notify","progress",w.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return w.Deferred(function(n){w.each(t,function(t,s){var o=s[0],u=w.isFunction(e[t])&&e[t];i[s[1]](function(){var e=u&&u.apply(this,arguments);e&&w.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===r?n.promise():this,u?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?w.extend(e,r):r}},i={};return r.pipe=r.then,w.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=v.call(arguments),r=n.length,i=r!==1||e&&w.isFunction(e.promise)?r:0,s=i===1?e:w.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?v.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
a",n=p.getElementsByTagName("*")||[],r=p.getElementsByTagName("a")[0];if(!r||!r.style||!n.length)return t;u=o.createElement("select"),f=u.appendChild(o.createElement("option")),s=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute=p.className!=="t",t.leadingWhitespace=p.firstChild.nodeType===3,t.tbody=!p.getElementsByTagName("tbody").length,t.htmlSerialize=!!p.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized=r.getAttribute("href")==="/a",t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!s.value,t.optSelected=f.selected,t.enctype=!!o.createElement("form").enctype,t.html5Clone=o.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,s.checked=!0,t.noCloneChecked=s.cloneNode(!0).checked,u.disabled=!0,t.optDisabled=!f.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}s=o.createElement("input"),s.setAttribute("value",""),t.input=s.getAttribute("value")==="",s.value="t",s.setAttribute("type","radio"),t.radioValue=s.value==="t",s.setAttribute("checked","t"),s.setAttribute("name","t"),a=o.createDocumentFragment(),a.appendChild(s),t.appendChecked=s.checked,t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,p.attachEvent&&(p.attachEvent("onclick",function(){t.noCloneEvent=!1}),p.cloneNode(!0).click());for(h in{submit:!0,change:!0,focusin:!0})p.setAttribute(l="on"+h,"t"),t[h+"Bubbles"]=l in e||p.attributes[l].expando===!1;p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle=p.style.backgroundClip==="content-box";for(h in w(t))break;return t.ownLast=h!=="0",w(function(){var n,r,s,u="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=o.getElementsByTagName("body")[0];if(!a)return;n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(p),p.innerHTML="
t
",s=p.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,p.innerHTML="",p.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%;",w.swap(a,a.style.zoom!=null?{zoom:1}:{},function(){t.boxSizing=p.offsetWidth===4}),e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(p,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(p,null)||{width:"4px"}).width==="4px",r=p.appendChild(o.createElement("div")),r.style.cssText=p.style.cssText=u,r.style.marginRight=r.style.width="0",p.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof p.style.zoom!==i&&(p.innerHTML="",p.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.innerHTML="
",p.firstChild.style.width="5px",t.shrinkWrapBlocks=p.offsetWidth!==3,t.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(n),n=p=s=r=null}),n=u=a=f=r=s=null,t}({});var F=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;w.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?w.cache[e[w.expando]]:e[w.expando],!!e&&!z(e)},data:function(e,t,n){return q(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return q(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&e.nodeType!==1&&e.nodeType!==9)return!1;var t=e.nodeName&&w.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),w.fn.extend({data:function(e,n){var r,i,s=null,o=0,u=this[0];if(e===t){if(this.length){s=w.data(u);if(u.nodeType===1&&!w._data(u,"parsedAttrs")){r=u.attributes;for(;o1?this.each(function(){w.data(this,e,n)}):u?U(u,e,w.data(u,e)):null},removeData:function(e){return this.each(function(){w.removeData(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=w._data(e,t),n&&(!r||w.isArray(n)?r=w._data(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),s=w._queueHooks(e,t),o=function(){w.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return w._data(e,n)||w._data(e,n,{empty:w.Callbacks("once memory").add(function(){w._removeData(e,t+"queue"),w._removeData(e,n)})})}}),w.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})},prop:function(e,t){return w.access(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return e=w.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o=0,u=this.length,a=typeof e=="string"&&e;if(w.isFunction(e))return this.each(function(t){w(this).addClass(e.call(this,t,this.className))});if(a){t=(e||"").match(S)||[];for(;o=0)r=r.replace(" "+i+" "," ");n.className=e?w.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):w.isFunction(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,s=w(this),o=e.match(S)||[];while(t=o[r++])s.hasClass(t)?s.removeClass(t):s.addClass(t)}else if(n===i||n==="boolean")this.className&&w._data(this,"__className__",this.className),this.className=this.className||e===!1?"":w._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return r=w.valHooks[s.type]||w.valHooks[s.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(s,"value"))!==t?n:(n=s.value,typeof n=="string"?n.replace($,""):n==null?"":n);return}return i=w.isFunction(e),this.each(function(n){var s;if(this.nodeType!==1)return;i?s=e.call(this,n,w(this).val()):s=e,s==null?s="":typeof s=="number"?s+="":w.isArray(s)&&(s=w.map(s,function(e){return e==null?"":e+""})),r=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()];if(!r||!("set"in r)||r.set(this,s,"value")===t)this.value=s})}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return t!=null?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0)n=!0}return n||(e.selectedIndex=-1),s}}},attr:function(e,n,r){var s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;if(typeof e.getAttribute===i)return w.prop(e,n,r);if(u!==1||!w.isXMLDoc(e))n=n.toLowerCase(),s=w.attrHooks[n]||(w.expr.match.bool.test(n)?X:W);if(r===t)return s&&"get"in s&&(o=s.get(e,n))!==null?o:(o=w.find.attr(e,n),o==null?t:o);if(r!==null)return s&&"set"in s&&(o=s.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r);w.removeAttr(e,n)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(S);if(s&&e.nodeType===1)while(n=s[i++])r=w.propFix[n]||n,w.expr.match.bool.test(n)?Y&&G||!Q.test(n)?e[r]=!1:e[w.camelCase("default-"+n)]=e[r]=!1:w.attr(e,n,""),e.removeAttribute(G?n:r)},attrHooks:{type:{set:function(e,t){if(!w.support.radioValue&&t==="radio"&&w.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!w.isXMLDoc(e),o&&(n=w.propFix[n]||n,s=w.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):J.test(e.nodeName)||K.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?w.removeAttr(e,n):Y&&G||!Q.test(n)?e.setAttribute(!G&&w.propFix[n]||n,n):e[w.camelCase("default-"+n)]=e[n]=!0,n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,n){var r=w.expr.attrHandle[n]||w.find.attr;w.expr.attrHandle[n]=Y&&G||!Q.test(n)?function(e,n,i){var s=w.expr.attrHandle[n],o=i?t:(w.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return w.expr.attrHandle[n]=s,o}:function(e,n,r){return r?t:e[w.camelCase("default-"+n)]?n.toLowerCase():null}});if(!Y||!G)w.attrHooks.value={set:function(e,t,n){if(!w.nodeName(e,"input"))return W&&W.set(e,t,n);e.defaultValue=t}};G||(W={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="",r==="value"||n===e.getAttribute(r)?n:t}},w.expr.attrHandle.id=w.expr.attrHandle.name=w.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.value!==""?i.value:null},w.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:W.set},w.attrHooks.contenteditable={set:function(e,t,n){W.set(e,t===""?!1:t,n)}},w.each(["width","height"],function(e,t){w.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),w.support.hrefNormalized||w.each(["href","src"],function(e,t){w.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),w.support.style||(w.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),w.support.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.support.enctype||(w.propFix.enctype="encoding"),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(w.isArray(t))return e.checked=w.inArray(w(e).val(),t)>=0}},w.support.checkOn||(w.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;w.event={global:{},add:function(e,n,r,s,o){var u,a,f,l,c,h,p,d,v,m,g,y=w._data(e);if(!y)return;r.handler&&(l=r,r=l.handler,o=l.selector),r.guid||(r.guid=w.guid++),(a=y.events)||(a=y.events={}),(h=y.handle)||(h=y.handle=function(e){return typeof w===i||!!e&&w.event.triggered===e.type?t:w.event.dispatch.apply(h.elem,arguments)},h.elem=e),n=(n||"").match(S)||[""],f=n.length;while(f--){u=rt.exec(n[f])||[],v=g=u[1],m=(u[2]||"").split(".").sort();if(!v)continue;c=w.event.special[v]||{},v=(o?c.delegateType:c.bindType)||v,c=w.event.special[v]||{},p=w.extend({type:v,origType:g,data:s,handler:r,guid:r.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:m.join(".")},l);if(!(d=a[v])){d=a[v]=[],d.delegateCount=0;if(!c.setup||c.setup.call(e,s,m,h)===!1)e.addEventListener?e.addEventListener(v,h,!1):e.attachEvent&&e.attachEvent("on"+v,h)}c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),o?d.splice(d.delegateCount++,0,p):d.push(p),w.event.global[v]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,v,m=w.hasData(e)&&w._data(e);if(!m||!(l=m.events))return;t=(t||"").match(S)||[""],f=t.length;while(f--){u=rt.exec(t[f])||[],p=v=u[1],d=(u[2]||"").split(".").sort();if(!p){for(p in l)w.event.remove(e,p+t[f],n,r,!0);continue}c=w.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,h=l[p]||[],u=u[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;while(s--)o=h[s],(i||v===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(h.splice(s,1),o.selector&&h.delegateCount--,c.remove&&c.remove.call(e,o));a&&!h.length&&((!c.teardown||c.teardown.call(e,d,m.handle)===!1)&&w.removeEvent(e,p,m.handle),delete l[p])}w.isEmptyObject(l)&&(delete m.handle,w._removeData(e,"events"))},trigger:function(n,r,i,s){var u,a,f,l,c,h,p,d=[i||o],v=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];f=h=i=i||o;if(i.nodeType===3||i.nodeType===8)return;if(nt.test(v+w.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),a=v.indexOf(":")<0&&"on"+v,n=n[w.expando]?n:new w.Event(v,typeof n=="object"&&n),n.isTrigger=s?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=r==null?[n]:w.makeArray(r,[n]),c=w.event.special[v]||{};if(!s&&c.trigger&&c.trigger.apply(i,r)===!1)return;if(!s&&!c.noBubble&&!w.isWindow(i)){l=c.delegateType||v,nt.test(l+v)||(f=f.parentNode);for(;f;f=f.parentNode)d.push(f),h=f;h===(i.ownerDocument||o)&&d.push(h.defaultView||h.parentWindow||e)}p=0;while((f=d[p++])&&!n.isPropagationStopped())n.type=p>1?l:c.bindType||v,u=(w._data(f,"events")||{})[n.type]&&w._data(f,"handle"),u&&u.apply(f,r),u=a&&f[a],u&&w.acceptData(f)&&u.apply&&u.apply(f,r)===!1&&n.preventDefault();n.type=v;if(!s&&!n.isDefaultPrevented()&&(!c._default||c._default.apply(d.pop(),r)===!1)&&w.acceptData(i)&&a&&i[v]&&!w.isWindow(i)){h=i[a],h&&(i[a]=null),w.event.triggered=v;try{i[v]()}catch(g){}w.event.triggered=t,h&&(i[a]=h)}return n.result},dispatch:function(e){e=w.event.fix(e);var n,r,i,s,o,u=[],a=v.call(arguments),f=(w._data(this,"events")||{})[e.type]||[],l=w.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=w.event.handlers.call(this,e,f),n=0;while((s=u[n++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,r=((w.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,n){var r,i,s,o,u=[],a=n.delegateCount,f=e.target;if(a&&f.nodeType&&(!e.button||e.type!=="click"))for(;f!=this;f=f.parentNode||this)if(f.nodeType===1&&(f.disabled!==!0||e.type!=="click")){s=[];for(o=0;o=0:w.find(r,this,null,[f]).length),s[r]&&s.push(i);s.length&&u.push({elem:f,handlers:s})}return a1?w.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=w(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:n.nodeType===1&&w.find.matchesSelector(n,e))){n=s.push(n);break}return this.pushStack(s.length>1?w.unique(s):s)},index:function(e){return e?typeof e=="string"?w.inArray(this[0],w(e)):w.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?w(e,t):w.makeArray(e&&e.nodeType?[e]:e),r=w.merge(this.get(),n);return this.pushStack(w.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return w.dir(e,"parentNode")},parentsUntil:function(e,t,n){return w.dir(e,"parentNode",n)},next:function(e){return ct(e,"nextSibling")},prev:function(e){return ct(e,"previousSibling")},nextAll:function(e){return w.dir(e,"nextSibling")},prevAll:function(e){return w.dir(e,"previousSibling")},nextUntil:function(e,t,n){return w.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return w.dir(e,"previousSibling",n)},siblings:function(e){return w.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return w.sibling(e.firstChild)},contents:function(e){return w.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:w.merge([],e.childNodes)}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=w.filter(r,i)),this.length>1&&(lt[e]||(i=w.unique(i)),at.test(e)&&(i=i.reverse())),this.pushStack(i)}}),w.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return e.nodeType===1}))},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!w(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var dt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vt=/ jQuery\d+="(?:null|\d+)"/g,mt=new RegExp("<(?:"+dt+")[\\s/>]","i"),gt=/^\s+/,yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,wt=/\s*$/g,Lt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:w.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},At=pt(o),Ot=At.appendChild(o.createElement("div"));Lt.optgroup=Lt.option,Lt.tbody=Lt.tfoot=Lt.colgroup=Lt.caption=Lt.thead,Lt.th=Lt.td,w.fn.extend({text:function(e){return w.access(this,function(e){return e===t?w.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Mt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Mt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?w.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&w.cleanData(jt(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&Pt(jt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&w.cleanData(jt(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&w.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return w.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(vt,""):t;if(typeof e=="string"&&!St.test(e)&&(w.support.htmlSerialize||!mt.test(e))&&(w.support.leadingWhitespace||!gt.test(e))&&!Lt[(bt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(yt,"<$1>");try{for(;r")?s=e.cloneNode(!0):(Ot.innerHTML=e.outerHTML,Ot.removeChild(s=Ot.firstChild));if((!w.support.noCloneEvent||!w.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!w.isXMLDoc(e)){r=jt(s),u=jt(e);for(o=0;(i=u[o])!=null;++o)r[o]&&Bt(i,r[o])}if(t)if(n){u=u||jt(e),r=r||jt(s);for(o=0;(i=u[o])!=null;o++)Ht(i,r[o])}else Ht(e,s);return r=jt(s,"script"),r.length>0&&Pt(r,!a&&jt(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,l,c=e.length,h=pt(t),p=[],d=0;for(;d")+l[2],i=l[0];while(i--)u=u.lastChild;!w.support.leadingWhitespace&>.test(s)&&p.push(t.createTextNode(gt.exec(s)[0]));if(!w.support.tbody){s=a==="table"&&!wt.test(s)?u.firstChild:l[1]===""&&!wt.test(s)?u:0,i=s&&s.childNodes.length;while(i--)w.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}w.merge(p,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=h.lastChild}}u&&h.removeChild(u),w.support.appendChecked||w.grep(jt(p,"input"),Ft),d=0;while(s=p[d++]){if(r&&w.inArray(s,r)!==-1)continue;o=w.contains(s.ownerDocument,s),u=jt(h.appendChild(s),"script"),o&&Pt(u);if(n){i=0;while(s=u[i++])Nt.test(s.type||"")&&n.push(s)}}return u=null,h},cleanData:function(e,t){var n,r,s,o,u=0,a=w.expando,f=w.cache,l=w.support.deleteExpando,h=w.event.special;for(;(n=e[u])!=null;u++)if(t||w.acceptData(n)){s=n[a],o=s&&f[s];if(o){if(o.events)for(r in o.events)h[r]?w.event.remove(n,r):w.removeEvent(n,r,o.handle);f[s]&&(delete f[s],l?delete n[a]:typeof n.removeAttribute!==i?n.removeAttribute(a):n[a]=null,c.push(s))}}},_evalUrl:function(e){return w.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),w.fn.extend({wrapAll:function(e){if(w.isFunction(e))return this.each(function(t){w(this).wrapAll(e.call(this,t))});if(this[0]){var t=w(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return w.isFunction(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=w.isFunction(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()}});var It,qt,Rt,Ut=/alpha\([^)]*\)/i,zt=/opacity\s*=\s*([^)]*)/,Wt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Vt=/^margin/,$t=new RegExp("^("+E+")(.*)$","i"),Jt=new RegExp("^("+E+")(?!px)[a-z%]+$","i"),Kt=new RegExp("^([+-])=("+E+")","i"),Qt={BODY:"block"},Gt={position:"absolute",visibility:"hidden",display:"block"},Yt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];w.fn.extend({css:function(e,n){return w.access(this,function(e,n,r){var i,s,o={},u=0;if(w.isArray(n)){s=qt(e),i=n.length;for(;u1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){nn(this)?w(this).show():w(this).hide()})}}),w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Rt(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":w.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=w.camelCase(n),f=e.style;n=w.cssProps[a]||(w.cssProps[a]=tn(f,a)),u=w.cssHooks[n]||w.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=Kt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(w.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!w.cssNumber[a]&&(r+="px"),!w.support.clearCloneStyle&&r===""&&n.indexOf("background")===0&&(f[n]="inherit");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=w.camelCase(n);return n=w.cssProps[a]||(w.cssProps[a]=tn(e.style,a)),u=w.cssHooks[n]||w.cssHooks[a],u&&"get"in u&&(o=u.get(e,!0,r)),o===t&&(o=Rt(e,n,i)),o==="normal"&&n in Yt&&(o=Yt[n]),r===""||r?(s=parseFloat(o),r===!0||w.isNumeric(s)?s||0:o):o}}),e.getComputedStyle?(qt=function(t){return e.getComputedStyle(t,null)},Rt=function(e,n,r){var i,s,o,u=r||qt(e),a=u?u.getPropertyValue(n)||u[n]:t,f=e.style;return u&&(a===""&&!w.contains(e.ownerDocument,e)&&(a=w.style(e,n)),Jt.test(a)&&Vt.test(n)&&(i=f.width,s=f.minWidth,o=f.maxWidth,f.minWidth=f.maxWidth=f.width=a,a=u.width,f.width=i,f.minWidth=s,f.maxWidth=o)),a}):o.documentElement.currentStyle&&(qt=function(e){return e.currentStyle},Rt=function(e,n,r){var i,s,o,u=r||qt(e),a=u?u[n]:t,f=e.style;return a==null&&f&&f[n]&&(a=f[n]),Jt.test(a)&&!Wt.test(n)&&(i=f.left,s=e.runtimeStyle,o=s&&s.left,o&&(s.left=e.currentStyle.left),f.left=n==="fontSize"?"1em":a,a=f.pixelLeft+"px",f.left=i,o&&(s.left=o)),a===""?"auto":a}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&Xt.test(w.css(e,"display"))?w.swap(e,Gt,function(){return un(e,t,r)}):un(e,t,r)},set:function(e,n,r){var i=r&&qt(e);return sn(e,n,r?on(e,t,r,w.support.boxSizing&&w.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),w.support.opacity||(w.cssHooks.opacity={get:function(e,t){return zt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=w.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&w.trim(s.replace(Ut,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=Ut.test(s)?s.replace(Ut,i):s+" "+i}}),w(function(){w.support.reliableMarginRight||(w.cssHooks.marginRight={get:function(e,t){if(t)return w.swap(e,{display:"inline-block"},Rt,[e,"marginRight"])}}),!w.support.pixelPosition&&w.fn.position&&w.each(["top","left"],function(e,t){w.cssHooks[t]={get:function(e,n){if(n)return n=Rt(e,t),Jt.test(n)?w(e).position()[t]+"px":n}}})}),w.expr&&w.expr.filters&&(w.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!w.support.reliableHiddenOffsets&&(e.style&&e.style.display||w.css(e,"display"))==="none"},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+Zt[r]+t]=s[r]||s[r-2]||s[0];return i}},Vt.test(e)||(w.cssHooks[e+t].set=sn)});var ln=/%20/g,cn=/\[\]$/,hn=/\r?\n/g,pn=/^(?:submit|button|image|reset|file)$/i,dn=/^(?:input|select|textarea|keygen)/i;w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&dn.test(this.nodeName)&&!pn.test(e)&&(this.checked||!xt.test(e))}).map(function(e,t){var n=w(this).val();return n==null?null:w.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(hn,"\r\n")}}):{name:t.name,value:n.replace(hn,"\r\n")}}).get()}}),w.param=function(e,n){var r,i=[],s=function(e,t){t=w.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=w.ajaxSettings&&w.ajaxSettings.traditional);if(w.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){s(this.name,this.value)});else for(r in e)vn(r,e[r],n,s);return i.join("&").replace(ln,"+")},w.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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 arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,gn,yn=w.now(),bn=/\?/,wn=/#.*$/,En=/([?&])_=[^&]*/,Sn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,xn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Tn=/^(?:GET|HEAD)$/,Nn=/^\/\//,Cn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,kn=w.fn.load,Ln={},An={},On="*/".concat("*");try{gn=s.href}catch(Mn){gn=o.createElement("a"),gn.href="",gn=gn.href}mn=Cn.exec(gn.toLowerCase())||[],w.fn.load=function(e,n,r){if(typeof e!="string"&&kn)return kn.apply(this,arguments);var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),w.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(o="POST"),u.length>0&&w.ajax({url:e,type:o,dataType:"html",data:n}).done(function(e){s=arguments,u.html(i?w("
").append(w.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){u.each(r,s||[e.responseText,t,e])}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gn,type:"GET",isLocal:xn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":On,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":w.parseJSON,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Pn(Pn(e,w.ajaxSettings),t):Pn(w.ajaxSettings,e)},ajaxPrefilter:_n(Ln),ajaxTransport:_n(An),ajax:function(e,n){function N(e,n,r,i){var l,g,y,E,S,T=n;if(b===2)return;b=2,u&&clearTimeout(u),f=t,o=i||"",x.readyState=e>0?4:0,l=e>=200&&e<300||e===304,r&&(E=Hn(c,x,r)),E=Bn(c,E,x,l);if(l)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(w.lastModified[s]=S),S=x.getResponseHeader("etag"),S&&(w.etag[s]=S)),e===204||c.type==="HEAD"?T="nocontent":e===304?T="notmodified":(T=E.state,g=E.data,y=E.error,l=!y);else{y=T;if(e||!T)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[g,T,x]):d.rejectWith(h,[x,T,y]),x.statusCode(m),m=t,a&&p.trigger(l?"ajaxSuccess":"ajaxError",[x,c,l?g:y]),v.fireWith(h,[x,T]),a&&(p.trigger("ajaxComplete",[x,c]),--w.active||w.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=w.ajaxSetup({},n),h=c.context||c,p=c.context&&(h.nodeType||h.jquery)?w(h):w.event,d=w.Deferred(),v=w.Callbacks("once memory"),m=c.statusCode||{},g={},y={},b=0,E="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!l){l={};while(t=Sn.exec(o))l[t[1].toLowerCase()]=t[2]}t=l[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||E;return f&&f.abort(t),N(0,t),this}};d.promise(x).complete=v.add,x.success=x.done,x.error=x.fail,c.url=((e||c.url||gn)+"").replace(wn,"").replace(Nn,mn[1]+"//"),c.type=n.method||n.type||c.method||c.type,c.dataTypes=w.trim(c.dataType||"*").toLowerCase().match(S)||[""],c.crossDomain==null&&(r=Cn.exec(c.url.toLowerCase()),c.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||(r[1]==="http:"?"80":"443"))===(mn[3]||(mn[1]==="http:"?"80":"443")))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=w.param(c.data,c.traditional)),Dn(Ln,c,n,x);if(b===2)return x;a=c.global,a&&w.active++===0&&w.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Tn.test(c.type),s=c.url,c.hasContent||(c.data&&(s=c.url+=(bn.test(s)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=En.test(s)?s.replace(En,"$1_="+yn++):s+(bn.test(s)?"&":"?")+"_="+yn++)),c.ifModified&&(w.lastModified[s]&&x.setRequestHeader("If-Modified-Since",w.lastModified[s]),w.etag[s]&&x.setRequestHeader("If-None-Match",w.etag[s])),(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+On+"; q=0.01":""):c.accepts["*"]);for(i in c.headers)x.setRequestHeader(i,c.headers[i]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&b!==2){E="abort";for(i in{success:1,error:1,complete:1})x[i](c[i]);f=Dn(An,c,n,x);if(!f)N(-1,"No Transport");else{x.readyState=1,a&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{b=1,f.send(g,N)}catch(T){if(!(b<2))throw T;N(-1,T)}}return x}return x.abort()},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,n){return w.get(e,t,n,"script")}}),w.each(["get","post"],function(e,n){w[n]=function(e,r,i,s){return w.isFunction(r)&&(s=s||i,i=r,r=t),w.ajax({url:e,type:n,dataType:s,data:r,success:i})}}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),w.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||w("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){if(t||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var jn=[],Fn=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=jn.pop()||w.expando+"_"+yn++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.jsonp!==!1&&(Fn.test(n.url)?"url":typeof n.data=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fn.test(n.data)&&"data");if(a||n.dataTypes[0]==="jsonp")return s=n.jsonpCallback=w.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a?n[a]=n[a].replace(Fn,"$1"+s):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||w.error(s+" was not called"),u[0]},n.dataTypes[0]="json",o=e[s],e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,jn.push(s)),u&&w.isFunction(o)&&o(u[0]),u=o=t}),"script"});var In,qn,Rn=0,Un=e.ActiveXObject&&function(){var e;for(e in In)In[e](t,!0)};w.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&zn()||Wn()}:zn,qn=w.ajaxSettings.xhr(),w.support.cors=!!qn&&"withCredentials"in qn,qn=w.support.ajax=!!qn,qn&&w.ajaxTransport(function(n){if(!n.crossDomain||w.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=w.noop,Un&&delete In[o]);if(i)a.readyState!==4&&a.abort();else{c={},u=a.status,f=a.getAllResponseHeaders(),typeof a.responseText=="string"&&(c.text=a.responseText);try{l=a.statusText}catch(h){l=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(p){i||s(-1,p)}c&&s(u,l,c,f)},n.async?a.readyState===4?setTimeout(r):(o=++Rn,Un&&(In||(In={},w(e).unload(Un)),In[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Vn,$n=/^(?:toggle|show|hide)$/,Jn=new RegExp("^(?:([+-])=|)("+E+")([a-z%]*)$","i"),Kn=/queueHooks$/,Qn=[nr],Gn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Jn.exec(t),s=i&&i[3]||(w.cssNumber[e]?"":"px"),o=(w.cssNumber[e]||s!=="px"&&+r)&&Jn.exec(w.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,w.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};w.Animation=w.extend(er,{tweener:function(e,t){w.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),w.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},w.fn.extend({position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return w.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),w.nodeName(e[0],"html")||(n=e.offset()),n.top+=w.css(e[0],"borderTopWidth",!0),n.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-w.css(r,"marginTop",!0),left:t.left-n.left-w.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||u;while(e&&!w.nodeName(e,"html")&&w.css(e,"position")==="static")e=e.offsetParent;return e||u})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);w.fn[e]=function(i){return w.access(this,function(e,i,s){var o=sr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?w(o).scrollLeft():s,r?s:w(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),w.each({Height:"height",Width:"width"},function(e,n){w.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){w.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return w.access(this,function(n,r,i){var s;return w.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?w.css(n,r,u):w.style(n,r,i,u)},n,o?i:t,o,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,typeof module=="object"&&module&&typeof module.exports=="object"?module.exports=w:(e.jQuery=e.$=w,typeof define=="function"&&define.amd&&define("jquery",[],function(){return w}))}(window),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=i.toString,l=i.hasOwnProperty,c=r.forEach,h=r.map,p=r.reduce,d=r.reduceRight,v=r.filter,m=r.every,g=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,E=Object.keys,S=s.bind,x=function(e){if(e instanceof x)return e;if(!(this instanceof x))return new x(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):e._=x,x.VERSION="1.5.2";var T=x.each=x.forEach=function(e,t,r){if(e==null)return;if(c&&e.forEach===c)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i2;e==null&&(e=[]);if(p&&e.reduce===p)return r&&(t=x.bind(t,r)),i?e.reduce(t,n):e.reduce(t);T(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(N);return n},x.reduceRight=x.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(d&&e.reduceRight===d)return r&&(t=x.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=x.keys(e);s=o.length}T(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(N);return n},x.find=x.detect=function(e,t,n){var r;return C(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},x.filter=x.select=function(e,t,n){var r=[];return e==null?r:v&&e.filter===v?e.filter(t,n):(T(e,function(e,i,s){t.call(n,e,i,s)&&r.push(e)}),r)},x.reject=function(e,t,n){return x.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},x.every=x.all=function(e,t,r){t||(t=x.identity);var i=!0;return e==null?i:m&&e.every===m?e.every(t,r):(T(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))return n}),!!i)};var C=x.some=x.any=function(e,t,r){t||(t=x.identity);var i=!1;return e==null?i:g&&e.some===g?e.some(t,r):(T(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))return n}),!!i)};x.contains=x.include=function(e,t){return e==null?!1:y&&e.indexOf===y?e.indexOf(t)!=-1:C(e,function(e){return e===t})},x.invoke=function(e,t){var n=u.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){return(r?t:e[t]).apply(e,n)})},x.pluck=function(e,t){return x.map(e,function(e){return e[t]})},x.where=function(e,t,n){return x.isEmpty(t)?n?void 0:[]:x[n?"find":"filter"](e,function(e){for(var n in t)if(t[n]!==e[n])return!1;return!0})},x.findWhere=function(e,t){return x.where(e,t,!0)},x.max=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);if(!t&&x.isEmpty(e))return-Infinity;var r={computed:-Infinity,value:-Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o>r.computed&&(r={value:e,computed:o})}),r.value},x.min=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);if(!t&&x.isEmpty(e))return Infinity;var r={computed:Infinity,value:Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;or||n===void 0)return 1;if(n>>1;n.call(r,e[u])=0})})},x.difference=function(e){var t=a.apply(r,u.call(arguments,1));return x.filter(e,function(e){return!x.contains(t,e)})},x.zip=function(){var e=x.max(x.pluck(arguments,"length").concat(0)),t=new Array(e);for(var n=0;n=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.keys=E||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)x.has(e,n)&&t.push(n);return t},x.values=function(e){var t=x.keys(e),n=t.length,r=new Array(n);for(var i=0;i":">",'"':""","'":"'"}};_.unescape=x.invert(_.escape);var D={escape:new RegExp("["+x.keys(_.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(_.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(e){x[e]=function(t){return t==null?"":(""+t).replace(D[e],function(t){return _[e][t]})}}),x.result=function(e,t){if(e==null)return void 0;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){T(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),F.call(this,n.apply(x,e))}})};var P=0;x.uniqueId=function(e){var t=++P+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(e,t,n){var r;n=x.defaults({},n,x.templateSettings);var i=new RegExp([(n.escape||H).source,(n.interpolate||H).source,(n.evaluate||H).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(j,function(e){return"\\"+B[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,x);var a=function(e){return r.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},x.chain=function(e){return x(e).chain()};var F=function(e){return this._chain?x(e).chain():e};x.mixin(x),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],F.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];x.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),define("underscore",function(e){return function(){var t,n;return t||e._}}(this)),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$(''),e.join("")})}},fileButton:function(t,n,r){var i=this;if(!(arguments.length<3)){e.call(this,n),n.validate&&(this.validate=n.validate);var s=CKEDITOR.tools.extend({},n),o=s.onClick;s.className=(s.className?s.className+" ":"")+"cke_dialog_ui_button",s.onClick=function(e){var r=n["for"];if(!o||o.call(this,e)!==!1)t.getContentElement(r[0],r[1]).submit(),this.disable()},t.on("load",function(){t.getContentElement(n["for"][0],n["for"][1])._.buttons.push(i)}),CKEDITOR.ui.dialog.button.call(this,t,s,r)}},html:function(){var e=/^\s*<[\w:]+\s+([^>]*)?>/,t=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,n=/\/$/;return function(r,i,s){if(!(arguments.length<3)){var o=[],u=i.html;u.charAt(0)!="<"&&(u=""+u+"");var f=i.focus;if(f){var l=this.focus;this.focus=function(){(typeof f=="function"?f:l).call(this),this.fire("focus")},i.isFocusable&&(this.isFocusable=this.isFocusable),this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,r,i,o,"span",null,null,""),o=o.join("").match(e),u=u.match(t)||["","",""],n.test(u[1])&&(u[1]=u[1].slice(0,-1),u[2]="/"+u[2]),s.push([u[1]," ",o[1]||"",u[2]].join(""))}}}(),fieldset:function(e,t,n,r,i){var s=i.label;this._={children:t},CKEDITOR.ui.dialog.uiElement.call(this,e,i,r,"fieldset",null,null,function(){var e=[];s&&e.push(""+s+"");for(var t=0;t0;)e.remove(0);return this},keyboardFocusable:!0},r,!0),CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(e,t){this.getInputElement().$.checked=e,!t&&this.fire("change",{value:e})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(e,t){return!CKEDITOR.env.ie||CKEDITOR.env.version>8?i.onChange.apply(this,arguments):(e.on("load",function(){var e=this._.checkbox.getElement();e.on("propertychange",function(t){t=t.data.$,t.propertyName=="checked"&&this.fire("change",{value:e.$.checked})},this)},this),this.on("change",t),null)}},keyboardFocusable:!0},r,!0),CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setValue:function(e,t){for(var n=this._.children,r,i=0;i0?new CKEDITOR.dom.element(e.$.forms[0].elements[0]):this.getElement()},submit:function(){return this.getInputElement().getParent().$.submit(),this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(e){var t=/^on([A-Z]\w+)/,n,r=function(e,t,n,r){e.on("formLoaded",function(){e.getInputElement().on(n,r,e)})},i;for(i in e)if(n=i.match(t))this.eventProcessors[i]?this.eventProcessors[i].call(this,this._.dialog,e[i]):r(this,this._.dialog,n[1].toLowerCase(),e[i]);return this},reset:function(){function e(){n.$.open();var e="";r.size&&(e=r.size-(CKEDITOR.env.ie?7:0));var f=t.frameId+"_input";n.$.write(['','
"].join("")),n.$.close();for(e=0;et-e;n--)if(this._.tabs[this._.tabIdList[n%e]][0].$.offsetHeight)return this._.tabIdList[n%e];return null}function t(){for(var e=this._.tabIdList.length,t=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId),n=t+1;n').appendTo(t.getParent())}return n.unselectable(),r.unselectable(),{element:e,parts:{dialog:e.getChild(0),title:n,close:r,tabs:t.getChild(2),contents:t.getChild([3,0,0,0]),footer:t.getChild([3,0,1,0])}}}function o(e,t,n){this.element=t,this.focusIndex=n,this.tabIndex=0,this.isFocusable=function(){return!t.getAttribute("disabled")&&t.isVisible()},this.focus=function(){e._.currentFocusIndex=this.focusIndex,this.element.focus()},t.on("keydown",function(e){e.data.getKeystroke()in{32:1,13:1}&&this.fire("click")}),t.on("focus",function(){this.fire("mouseover")}),t.on("blur",function(){this.fire("mouseout")})}function u(e){function t(){e.layout()}var n=CKEDITOR.document.getWindow();n.on("resize",t),e.on("hide",function(){n.removeListener("resize",t)})}function a(e,t){this._={dialog:e},CKEDITOR.tools.extend(this,t)}function f(e){function t(t){var n=e.getSize(),a=CKEDITOR.document.getWindow().getViewPaneSize(),f=t.data.$.screenX,l=t.data.$.screenY,c=f-r.x,h=l-r.y;r={x:f,y:l},i.x=i.x+c,i.y=i.y+h,e.move(i.x+u[3]a.width-n.width-o?a.width-n.width+(s.lang.dir=="rtl"?0:u[1]):i.x,i.y+u[0]a.height-n.height-o?a.height-n.height+u[2]:i.y,1),t.data.preventDefault()}function n(){CKEDITOR.document.removeListener("mousemove",t),CKEDITOR.document.removeListener("mouseup",n);if(CKEDITOR.env.ie6Compat){var e=x.getChild(0).getFrameDocument();e.removeListener("mousemove",t),e.removeListener("mouseup",n)}}var r=null,i=null,s=e.getParentEditor(),o=s.config.dialog_magnetDistance,u=CKEDITOR.skin.margins||[0,0,0,0];typeof o=="undefined"&&(o=20),e.parts.title.on("mousedown",function(s){r={x:s.data.$.screenX,y:s.data.$.screenY},CKEDITOR.document.on("mousemove",t),CKEDITOR.document.on("mouseup",n),i=e.getPosition();if(CKEDITOR.env.ie6Compat){var o=x.getChild(0).getFrameDocument();o.on("mousemove",t),o.on("mouseup",n)}s.data.preventDefault()},e)}function l(e){function r(r){var i=u.lang.dir=="rtl",h=c.width,p=c.height,d=h+(r.data.$.screenX-t)*(i?-1:1)*(e._.moved?1:2),v=p+(r.data.$.screenY-n)*(e._.moved?1:2),m=e._.element.getFirst(),m=i&&m.getComputedStyle("right"),g=e.getPosition();g.y+v>l.height&&(v=l.height-g.y),(i?m:g.x)+d>l.width&&(d=l.width-(i?m:g.x));if(o==CKEDITOR.DIALOG_RESIZE_WIDTH||o==CKEDITOR.DIALOG_RESIZE_BOTH)h=Math.max(s.minWidth||0,d-a);if(o==CKEDITOR.DIALOG_RESIZE_HEIGHT||o==CKEDITOR.DIALOG_RESIZE_BOTH)p=Math.max(s.minHeight||0,v-f);e.resize(h,p),e._.moved||e.layout(),r.data.preventDefault()}function i(){CKEDITOR.document.removeListener("mouseup",i),CKEDITOR.document.removeListener("mousemove",r),h&&(h.remove(),h=null);if(CKEDITOR.env.ie6Compat){var e=x.getChild(0).getFrameDocument();e.removeListener("mouseup",i),e.removeListener("mousemove",r)}}var t,n,s=e.definition,o=s.resizable;if(o!=CKEDITOR.DIALOG_RESIZE_NONE){var u=e.getParentEditor(),a,f,l,c,h,p=CKEDITOR.tools.addFunction(function(s){c=e.getSize();var o=e.parts.contents;o.$.getElementsByTagName("iframe").length&&(h=CKEDITOR.dom.element.createFromHtml('
'),o.append(h)),f=c.height-e.parts.contents.getSize("height",!(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.quirks)),a=c.width-e.parts.contents.getSize("width",1),t=s.screenX,n=s.screenY,l=CKEDITOR.document.getWindow().getViewPaneSize(),CKEDITOR.document.on("mousemove",r),CKEDITOR.document.on("mouseup",i),CKEDITOR.env.ie6Compat&&(o=x.getChild(0).getFrameDocument(),o.on("mousemove",r),o.on("mouseup",i)),s.preventDefault&&s.preventDefault()});e.on("load",function(){var t="";o==CKEDITOR.DIALOG_RESIZE_WIDTH?t=" cke_resizer_horizontal":o==CKEDITOR.DIALOG_RESIZE_HEIGHT&&(t=" cke_resizer_vertical"),t=CKEDITOR.dom.element.createFromHtml('
'+(u.lang.dir=="ltr"?"◢":"◣")+"
"),e.parts.footer.append(t,1)}),u.on("destroy",function(){CKEDITOR.tools.removeFunction(p)})}}function c(e){e.data.preventDefault(1)}function h(e){var t=CKEDITOR.document.getWindow(),n=e.config,r=n.dialog_backgroundCoverColor||"white",i=n.dialog_backgroundCoverOpacity,s=n.baseFloatZIndex,n=CKEDITOR.tools.genKey(r,i,s),o=S[n];o?o.show():(s=['
'],CKEDITOR.env.ie6Compat&&(r="",s.push('')),s.push("
"),o=CKEDITOR.dom.element.createFromHtml(s.join("")),o.setOpacity(i!==void 0?i:.5),o.on("keydown",c),o.on("keypress",c),o.on("keyup",c),o.appendTo(CKEDITOR.document.getBody()),S[n]=o),e.focusManager.add(o),x=o;var e=function(){var e=t.getViewPaneSize();o.setStyles({width:e.width+"px",height:e.height+"px"})},u=function(){var e=t.getScrollPosition(),n=CKEDITOR.dialog._.currentTop;o.setStyles({left:e.x+"px",top:e.y+"px"});if(n)do e=n.getPosition(),n.move(e.x,e.y);while(n=n._.parentDialog)};E=e,t.on("resize",e),e(),(!CKEDITOR.env.mac||!CKEDITOR.env.webkit)&&o.focus();if(CKEDITOR.env.ie6Compat){var a=function(){u(),arguments.callee.prevScrollHandler.apply(this,arguments)};t.$.setTimeout(function(){a.prevScrollHandler=window.onscroll||function(){},window.onscroll=a},0),u()}}function p(e){x&&(e.focusManager.remove(x),e=CKEDITOR.document.getWindow(),x.hide(),e.removeListener("resize",E),CKEDITOR.env.ie6Compat&&e.$.setTimeout(function(){window.onscroll=window.onscroll&&window.onscroll.prevScrollHandler||null},0),E=null)}var d=CKEDITOR.tools.cssLength,v='
';CKEDITOR.dialog=function(n,o){function u(){var e=x._.focusList;e.sort(function(e,t){return e.tabIndex!=t.tabIndex?t.tabIndex-e.tabIndex:e.focusIndex-t.focusIndex});for(var t=e.length,n=0;n1)x._.tabBarMode=!0,x._.tabs[x._.currentTabId][0].focus(),b=1;else if(i!=37&&i!=39||!x._.tabBarMode)if(i!=13&&i!=32||!x._.tabBarMode)if(i==13)i=r.data.getTarget(),!i.is("a","button","select","textarea")&&(!i.is("input")||i.$.type!="button")&&((i=this.getButton("ok"))&&CKEDITOR.tools.setTimeout(i.click,0,i),b=1),E=1;else{if(i!=27)return;(i=this.getButton("cancel"))?CKEDITOR.tools.setTimeout(i.click,0,i):this.fire("cancel",{hide:!0}).hide!==!1&&this.hide(),E=1}else this.selectPage(this._.currentTabId),this._.tabBarMode=!1,this._.currentFocusIndex=-1,a(1),b=1;else i=i==(s?39:37)?e.call(x):t.call(x),x.selectPage(i),x._.tabs[i][0].focus(),b=1;h(r)}}function h(e){b?e.data.preventDefault(1):E&&e.data.stopPropagation()}var p=CKEDITOR.dialog._.dialogDefinitions[o],d=CKEDITOR.tools.clone(m),v=n.config.dialog_buttonsOrder||"OS",g=n.lang.dir,y={},b,E;(v=="OS"&&CKEDITOR.env.mac||v=="rtl"&&g=="ltr"||v=="ltr"&&g=="rtl")&&d.buttons.reverse(),p=CKEDITOR.tools.extend(p(n),d),p=CKEDITOR.tools.clone(p),p=new w(this,p),d=s(n),this._={editor:n,element:d.element,name:o,contentSize:{width:0,height:0},size:{width:0,height:0},contents:{},buttons:{},accessKeyMap:{},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1},this.parts=d.parts,CKEDITOR.tools.setTimeout(function(){n.fire("ariaWidget",this.parts.contents)},0,this),d={position:CKEDITOR.env.ie6Compat?"absolute":"fixed",top:0,visibility:"hidden"},d[g=="rtl"?"right":"left"]=0,this.parts.dialog.setStyles(d),CKEDITOR.event.call(this),this.definition=p=CKEDITOR.fire("dialogDefinition",{name:o,definition:p},n).definition;if(!("removeDialogTabs"in n._)&&n.config.removeDialogTabs){d=n.config.removeDialogTabs.split(";");for(g=0;g1)x._.tabBarMode=!0,x._.tabs[x._.currentTabId][0].focus();else if(!this._.hasFocus){this._.currentFocusIndex=-1;if(p.onFocus){var e=p.onFocus.call(this);e&&e.focus()}else a(1)}},this,null,4294967295),CKEDITOR.env.ie6Compat&&this.on("load",function(){var e=this.getElement(),t=e.getFirst();t.remove(),t.appendTo(e)},this),f(this),l(this),(new CKEDITOR.dom.text(p.title,CKEDITOR.document)).appendTo(this.parts.title);for(g=0;g0?t:0)+"px"},t[i?"right":"left"]=(e>0?e:0)+"px",r.setStyles(t),n&&(this._.moved=1)},getPosition:function(){return CKEDITOR.tools.extend({},this._.position)},show:function(){var e=this._.element,t=this.definition;!e.getParent()||!e.getParent().equals(CKEDITOR.document.getBody())?e.appendTo(CKEDITOR.document.getBody()):e.setStyle("display","block"),this.resize(this._.contentSize&&this._.contentSize.width||t.width||t.minWidth,this._.contentSize&&this._.contentSize.height||t.height||t.minHeight),this.reset(),this.selectPage(this.definition.contents[0].id),CKEDITOR.dialog._.currentZIndex===null&&(CKEDITOR.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex),this._.element.getFirst().setStyle("z-index",CKEDITOR.dialog._.currentZIndex=CKEDITOR.dialog._.currentZIndex+10),CKEDITOR.dialog._.currentTop===null?(CKEDITOR.dialog._.currentTop=this,this._.parentDialog=null,h(this._.editor)):(this._.parentDialog=CKEDITOR.dialog._.currentTop,this._.parentDialog.getElement().getFirst().$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/2),CKEDITOR.dialog._.currentTop=this),e.on("keydown",N),e.on("keyup",C),this._.hasFocus=!1;for(var n in t.contents)if(t.contents[n]){var e=t.contents[n],r=this._.tabs[e.id],i=e.requiredContent,s=0;if(r){for(var o in this._.contents[e.id]){var a=this._.contents[e.id][o];a.type!="hbox"&&a.type!="vbox"&&!!a.getInputElement()&&(a.requiredContent&&!this._.editor.activeFilter.check(a.requiredContent)?a.disable():(a.enable(),s++))}!s||i&&!this._.editor.activeFilter.check(i)?r[0].addClass("cke_dialog_tab_disabled"):r[0].removeClass("cke_dialog_tab_disabled")}}CKEDITOR.tools.setTimeout(function(){this.layout(),u(this),this.parts.dialog.setStyle("visibility",""),this.fireOnce("load",{}),CKEDITOR.ui.fire("ready",this),this.fire("show",{}),this._.editor.fire("dialogShow",this),this._.parentDialog||this._.editor.focusManager.lock(),this.foreach(function(e){e.setInitValue&&e.setInitValue()})},100,this)},layout:function(){var e=this.parts.dialog,t=this.getSize(),n=CKEDITOR.document.getWindow().getViewPaneSize(),r=(n.width-t.width)/2,i=(n.height-t.height)/2;CKEDITOR.env.ie6Compat||(t.height+(i>0?i:0)>n.height||t.width+(r>0?r:0)>n.width?e.setStyle("position","absolute"):e.setStyle("position","fixed")),this.move(this._.moved?this._.position.x:r,this._.moved?this._.position.y:i)},foreach:function(e){for(var t in this._.contents)for(var n in this._.contents[t])e.call(this,this._.contents[t][n]);return this},reset:function(){var e=function(e){e.reset&&e.reset(1)};return function(){return this.foreach(e),this}}(),setupContent:function(){var e=arguments;this.foreach(function(t){t.setup&&t.setup.apply(t,e)})},commitContent:function(){var e=arguments;this.foreach(function(t){CKEDITOR.env.ie&&this._.currentFocusIndex==t.focusIndex&&t.getInputElement().$.blur(),t.commit&&t.commit.apply(t,e)})},hide:function(){if(this.parts.dialog.isVisible()){this.fire("hide",{}),this._.editor.fire("dialogHide",this),this.selectPage(this._.tabIdList[0]);var e=this._.element;e.setStyle("display","none"),this.parts.dialog.setStyle("visibility","hidden");for(L(this);CKEDITOR.dialog._.currentTop!=this;)CKEDITOR.dialog._.currentTop.hide();if(this._.parentDialog){var t=this._.parentDialog.getElement().getFirst();t.setStyle("z-index",parseInt(t.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}else p(this._.editor);if(CKEDITOR.dialog._.currentTop=this._.parentDialog)CKEDITOR.dialog._.currentZIndex=CKEDITOR.dialog._.currentZIndex-10;else{CKEDITOR.dialog._.currentZIndex=null,e.removeListener("keydown",N),e.removeListener("keyup",C);var n=this._.editor;n.focus(),setTimeout(function(){n.focusManager.unlock(),CKEDITOR.env.iOS&&n.window.focus()},0)}delete this._.parentDialog,this.foreach(function(e){e.resetInitValue&&e.resetInitValue()})}},addPage:function(e){if(!e.requiredContent||this._.editor.filter.check(e.requiredContent)){for(var t=[],n=e.label?' title="'+CKEDITOR.tools.htmlEncode(e.label)+'"':"",r=CKEDITOR.dialog._.uiElementBuilders.vbox.build(this,{type:"vbox",className:"cke_dialog_page_contents",children:e.elements,expand:!!e.expand,padding:e.padding,style:e.style||"width: 100%;"},t),i=this._.contents[e.id]={},s=r.getChild(),o=0;r=s.shift();)!r.notAllowed&&r.type!="hbox"&&r.type!="vbox"&&o++,i[r.id]=r,typeof r.getChild=="function"&&s.push.apply(s,r.getChild());o||(e.hidden=!0),t=CKEDITOR.dom.element.createFromHtml(t.join("")),t.setAttribute("role","tabpanel"),r=CKEDITOR.env,i="cke_"+e.id+"_"+CKEDITOR.tools.getNextNumber(),n=CKEDITOR.dom.element.createFromHtml(['0?" cke_last":"cke_first",n,e.hidden?' style="display:none"':"",' id="',i,'"',r.gecko&&!r.hc?"":' href="javascript:void(0)"',' tabIndex="-1" hidefocus="true" role="tab">',e.label,""].join("")),t.setAttribute("aria-labelledby",i),this._.tabs[e.id]=[n,t],this._.tabIdList.push(e.id),!e.hidden&&this._.pageCount++,this._.lastTab=n,this.updateStyle(),t.setAttribute("name",e.id),t.appendTo(this.parts.contents),n.unselectable(),this.parts.tabs.append(n),e.accessKey&&(k(this,this,"CTRL+"+e.accessKey,O,A),this._.accessKeyMap["CTRL+"+e.accessKey]=e.id)}},selectPage:function(e){if(this._.currentTabId!=e&&!this._.tabs[e][0].hasClass("cke_dialog_tab_disabled")&&this.fire("selectPage",{page:e,currentPage:this._.currentTabId})!==!1){for(var t in this._.tabs){var r=this._.tabs[t][0],i=this._.tabs[t][1];t!=e&&(r.removeClass("cke_dialog_tab_selected"),i.hide()),i.setAttribute("aria-hidden",t!=e)}var s=this._.tabs[e];s[0].addClass("cke_dialog_tab_selected"),CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7Compat?(n(s[1]),s[1].show(),setTimeout(function(){n(s[1],1)},0)):s[1].show(),this._.currentTabId=e,this._.currentTabIndex=CKEDITOR.tools.indexOf(this._.tabIdList,e)}},updateStyle:function(){this.parts.dialog[(this._.pageCount===1?"add":"remove")+"Class"]("cke_single_page")},hidePage:function(t){var n=this._.tabs[t]&&this._.tabs[t][0];n&&this._.pageCount!=1&&n.isVisible()&&(t==this._.currentTabId&&this.selectPage(e.call(this)),n.hide(),this._.pageCount--,this.updateStyle())},showPage:function(e){if(e=this._.tabs[e]&&this._.tabs[e][0])e.show(),this._.pageCount++,this.updateStyle()},getElement:function(){return this._.element},getName:function(){return this._.name},getContentElement:function(e,t){var n=this._.contents[e];return n&&n[t]},getValueOf:function(e,t){return this.getContentElement(e,t).getValue()},setValueOf:function(e,t,n){return this.getContentElement(e,t).setValue(n)},getButton:function(e){return this._.buttons[e]},click:function(e){return this._.buttons[e].click()},disableButton:function(e){return this._.buttons[e].disable()},enableButton:function(e){return this._.buttons[e].enable()},getPageCount:function(){return this._.pageCount},getParentEditor:function(){return this._.editor},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement()},addFocusable:function(e,t){if(typeof t=="undefined")t=this._.focusList.length,this._.focusList.push(new o(this,e,t));else{this._.focusList.splice(t,0,new o(this,e,t));for(var n=t+1;n=0;r--)(n[r].dialog==e||n[r].uiElement==e)&&n.splice(r,1);n.length===0&&delete T[t]}},A=function(e,t){e._.accessKeyMap[t]&&e.selectPage(e._.accessKeyMap[t])},O=function(){};(function(){CKEDITOR.ui.dialog={uiElement:function(e,t,n,r,i,s,o){if(!(arguments.length<4)){var u=(r.call?r(t):r)||"div",a=["<",u," "],f=(i&&i.call?i(t):i)||{},l=(s&&s.call?s(t):s)||{},c=(o&&o.call?o.call(this,e,t):o)||"",h=this.domId=l.id||CKEDITOR.tools.getNextId()+"_uiElement";t.requiredContent&&!e.getParentEditor().filter.check(t.requiredContent)&&(f.display="none",this.notAllowed=!0),l.id=h;var p={};t.type&&(p["cke_dialog_ui_"+t.type]=1),t.className&&(p[t.className]=1),t.disabled&&(p.cke_disabled=1);for(var d=l["class"]&&l["class"].split?l["class"].split(" "):[],h=0;h=0;h--)p[h]===""&&p.splice(h,1);p.length>0&&(l.style=(l.style?l.style+"; ":"")+p.join("; "));for(h in l)a.push(h+'="'+CKEDITOR.tools.htmlEncode(l[h])+'" ');a.push(">",c,""),n.push(a.join("")),(this._||(this._={})).dialog=e,typeof t.isChanged=="boolean"&&(this.isChanged=function(){return t.isChanged}),typeof t.isChanged=="function"&&(this.isChanged=t.isChanged),typeof t.setValue=="function"&&(this.setValue=CKEDITOR.tools.override(this.setValue,function(e){return function(n){e.call(this,t.setValue.call(this,n))}})),typeof t.getValue=="function"&&(this.getValue=CKEDITOR.tools.override(this.getValue,function(e){return function(){return t.getValue.call(this,e.call(this))}})),CKEDITOR.event.implementOn(this),this.registerEvents(t),this.accessKeyUp&&this.accessKeyDown&&t.accessKey&&k(this,e,"CTRL+"+t.accessKey);var v=this;e.on("load",function(){var t=v.getInputElement();if(t){var n=v.type in{checkbox:1,ratio:1}&&CKEDITOR.env.ie&&CKEDITOR.env.version<8?"cke_dialog_ui_focused":"";t.on("focus",function(){e._.tabBarMode=!1,e._.hasFocus=!0,v.fire("focus"),n&&this.addClass(n)}),t.on("blur",function(){v.fire("blur"),n&&this.removeClass(n)})}}),CKEDITOR.tools.extend(this,t),this.keyboardFocusable&&(this.tabIndex=t.tabIndex||0,this.focusIndex=e._.focusList.push(this)-1,this.on("focus",function(){e._.currentFocusIndex=v.focusIndex}))}},hbox:function(e,t,n,r,i){if(!(arguments.length<4)){this._||(this._={});var s=this._.children=t,o=i&&i.widths||null,u=i&&i.height||null,a,f={role:"presentation"};i&&i.align&&(f.align=i.align),CKEDITOR.ui.dialog.uiElement.call(this,e,i||{type:"hbox"},r,"table",{},f,function(){var e=[''];for(a=0;a0&&e.push('style="'+r.join("; ")+'" '),e.push(">",n[a],"")}return e.push(""),e.join("")})}},vbox:function(e,t,n,r,i){if(!(arguments.length<3)){this._||(this._={});var s=this._.children=t,o=i&&i.width||null,u=i&&i.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,e,i||{type:"vbox"},r,"div",null,{role:"presentation"},function(){var t=['");for(var r=0;r")}return t.push("
0&&t.push('style="',a.join("; "),'" '),t.push(' class="cke_dialog_ui_vbox_child">',n[r],"
"),t.join("")})}}}})(),CKEDITOR.ui.dialog.uiElement.prototype={getElement:function(){return CKEDITOR.document.getById(this.domId)},getInputElement:function(){return this.getElement()},getDialog:function(){return this._.dialog},setValue:function(e,t){return this.getInputElement().setValue(e),!t&&this.fire("change",{value:e}),this},getValue:function(){return this.getInputElement().getValue()},isChanged:function(){return!1},selectParentTab:function(){for(var e=this.getInputElement();(e=e.getParent())&&e.$.className.search("cke_dialog_page_contents")==-1;);return e?(e=e.getAttribute("name"),this._.dialog._.currentTabId!=e&&this._.dialog.selectPage(e),this):this},focus:function(){return this.selectParentTab().getInputElement().focus(),this},registerEvents:function(e){var t=/^on([A-Z]\w+)/,n,r=function(e,t,n,r){t.on("load",function(){e.getInputElement().on(n,r,e)})},i;for(i in e)if(n=i.match(t))this.eventProcessors[i]?this.eventProcessors[i].call(this,this._.dialog,e[i]):r(this,this._.dialog,n[1].toLowerCase(),e[i]);return this},eventProcessors:{onLoad:function(e,t){e.on("load",t,this)},onShow:function(e,t){e.on("show",t,this)},onHide:function(e,t){e.on("hide",t,this)}},accessKeyDown:function(){this.focus()},accessKeyUp:function(){},disable:function(){var e=this.getElement();this.getInputElement().setAttribute("disabled","true"),e.addClass("cke_disabled")},enable:function(){var e=this.getElement();this.getInputElement().removeAttribute("disabled"),e.removeClass("cke_disabled")},isEnabled:function(){return!this.getElement().hasClass("cke_disabled")},isVisible:function(){return this.getInputElement().isVisible()},isFocusable:function(){return!this.isEnabled()||!this.isVisible()?!1:!0}},CKEDITOR.ui.dialog.hbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getChild:function(e){return arguments.length<1?this._.children.concat():(e.splice||(e=[e]),e.length<2?this._.children[e[0]]:this._.children[e[0]]&&this._.children[e[0]].getChild?this._.children[e[0]].getChild(e.slice(1,e.length)):null)}},!0),CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox,function(){var e={build:function(e,t,n){for(var r=t.children,i,s=[],o=[],u=0;u=700}]],italic:["em","i",["span",function(e){return e.styles["font-style"]=="italic"}]],underline:["u",["span",function(e){return e.styles["text-decoration"]=="underline"}]],strike:["s","strike",["span",function(e){return e.styles["text-decoration"]=="line-through"}]],subscript:["sub"],superscript:["sup"]},i=e.config,s=e.lang.basicstyles;n("Bold",s.bold,"bold",i.coreStyles_bold),n("Italic",s.italic,"italic",i.coreStyles_italic),n("Underline",s.underline,"underline",i.coreStyles_underline),n("Strike",s.strike,"strike",i.coreStyles_strike),n("Subscript",s.subscript,"subscript",i.coreStyles_subscript),n("Superscript",s.superscript,"superscript",i.coreStyles_superscript),e.setKeystroke([[CKEDITOR.CTRL+66,"bold"],[CKEDITOR.CTRL+73,"italic"],[CKEDITOR.CTRL+85,"underline"]])}}),CKEDITOR.config.coreStyles_bold={element:"strong",overrides:"b"},CKEDITOR.config.coreStyles_italic={element:"em",overrides:"i"},CKEDITOR.config.coreStyles_underline={element:"u"},CKEDITOR.config.coreStyles_strike={element:"s",overrides:"strike"},CKEDITOR.config.coreStyles_subscript={element:"sub"},CKEDITOR.config.coreStyles_superscript={element:"sup"},function(){var e={exec:function(e){var t=e.getCommand("blockquote").state,n=e.getSelection(),r=n&&n.getRanges()[0];if(r){var i=n.createBookmarks();if(CKEDITOR.env.ie){var s=i[0].startNode,o=i[0].endNode,u;if(s&&s.getParent().getName()=="blockquote")for(u=s;u=u.getNext();)if(u.type==CKEDITOR.NODE_ELEMENT&&u.isBlockBoundary()){s.move(u,!0);break}if(o&&o.getParent().getName()=="blockquote")for(u=o;u=u.getPrevious();)if(u.type==CKEDITOR.NODE_ELEMENT&&u.isBlockBoundary()){o.move(u);break}}var a=r.createIterator();a.enlargeBr=e.config.enterMode!=CKEDITOR.ENTER_BR;if(t==CKEDITOR.TRISTATE_OFF){for(s=[];t=a.getNextParagraph();)s.push(t);s.length<1&&(t=e.document.createElement(e.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),o=i.shift(),r.insertNode(t),t.append(new CKEDITOR.dom.text("",e.document)),r.moveToBookmark(o),r.selectNodeContents(t),r.collapse(!0),o=r.createBookmark(),s.push(t),i.unshift(o)),u=s[0].getParent(),r=[];for(o=0;o0;){for(t=s.shift();!t.getParent().equals(u);)t=t.getParent();t.equals(o)||r.push(t),o=t}for(;r.length>0;){t=r.shift();if(t.getName()=="blockquote"){for(o=new CKEDITOR.dom.documentFragment(e.document);t.getFirst();)o.append(t.getFirst().remove()),s.push(o.getLast());o.replace(t)}else s.push(t)}r=e.document.createElement("blockquote");for(r.insertBefore(s[0]);s.length>0;)t=s.shift(),r.append(t)}else if(t==CKEDITOR.TRISTATE_ON){o=[];for(u={};t=a.getNextParagraph();){for(s=r=null;t.getParent();){if(t.getParent().getName()=="blockquote"){r=t.getParent(),s=t;break}t=t.getParent()}r&&s&&!s.getCustomData("blockquote_moveout")&&(o.push(s),CKEDITOR.dom.element.setMarker(u,s,"blockquote_moveout",!0))}CKEDITOR.dom.element.clearAllMarkers(u),t=[],s=[];for(u={};o.length>0;)a=o.shift(),r=a.getParent(),a.getPrevious()?a.getNext()?(a.breakParent(a.getParent()),s.push(a.getNext())):a.remove().insertAfter(r):a.remove().insertBefore(r),r.getCustomData("blockquote_processed")||(s.push(r),CKEDITOR.dom.element.setMarker(u,r,"blockquote_processed",!0)),t.push(a);CKEDITOR.dom.element.clearAllMarkers(u);for(o=s.length-1;o>=0;o--){r=s[o];e:{u=r;for(var a=0,f=u.getChildCount(),l=void 0;a7?n.$:n.$.selection.createRange()).execCommand(t),r.removeListener(t,s),i}function u(t,n,r){return t={type:t},r&&e.fire("beforePaste",t)===!1||!n?!1:(t.dataValue=n,e.fire("paste",t))}function a(){if(CKEDITOR.env.ie&&!CKEDITOR.env.quirks){var t=e.getSelection(),n,r,i;t.getType()==CKEDITOR.SELECTION_ELEMENT&&(n=t.getSelectedElement())&&(r=t.getRanges()[0],i=e.document.createText(""),i.insertBefore(n),r.setStartBefore(i),r.setEndAfter(n),t.selectRanges([r]),setTimeout(function(){n.getParent()&&(i.remove(),t.selectElement(n))},0))}}function f(t,n){var r=e.document,i=e.editable(),s=function(e){e.cancel()},o;if(!r.getById("cke_pastebin")){var u=e.getSelection(),a=u.createBookmarks();CKEDITOR.env.ie&&u.root.fire("selectionchange");var f=new CKEDITOR.dom.element((CKEDITOR.env.webkit||i.is("body"))&&!CKEDITOR.env.ie?"body":"div",r);f.setAttributes({id:"cke_pastebin","data-cke-temp":"1"});var l=0,r=r.getWindow();CKEDITOR.env.webkit?(i.append(f),f.addClass("cke_editable"),i.is("body")||(l=i.getComputedStyle("position")!="static"?i:CKEDITOR.dom.element.get(i.$.offsetParent),l=l.getDocumentPosition().y)):i.getAscendant(CKEDITOR.env.ie?"body":"html",1).append(f),f.setStyles({position:"absolute",top:r.getScrollPosition().y-l+10+"px",width:"1px",height:Math.max(1,r.getViewPaneSize().height-20)+"px",overflow:"hidden",margin:0,padding:0}),CKEDITOR.env.safari&&f.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select","text")),(l=f.getParent().isReadOnly())?(f.setOpacity(0),f.setAttribute("contenteditable",!0)):f.setStyle(e.config.contentsLangDirection=="ltr"?"left":"right","-1000px"),e.on("selectionChange",s,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)o=i.once("blur",s,null,null,-100);l&&f.focus(),l=new CKEDITOR.dom.range(f),l.selectNodeContents(f);var c=l.select();CKEDITOR.env.ie&&(o=i.once("blur",function(){e.lockSelection(c)}));var h=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=h),o&&o.removeListener(),CKEDITOR.env.ie&&i.focus(),u.selectBookmarks(a),f.remove();var t;CKEDITOR.env.webkit&&(t=f.getFirst())&&t.is&&t.hasClass("Apple-style-span")&&(f=t),e.removeListener("selectionChange",s),n(f.getHtml())},0)}}function l(){if(CKEDITOR.env.ie){e.focus(),i();var t=e.focusManager;t.lock();if(e.editable().fire(y)&&!o("paste"))return t.unlock(),!1;t.unlock()}else try{if(e.editable().fire(y)&&!e.document.$.execCommand("Paste",!1,null))throw 0}catch(n){return!1}return!0}function c(t){if(e.mode=="wysiwyg")switch(t.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:t=e.editable(),i(),!CKEDITOR.env.ie&&t.fire("beforepaste");break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:e.fire("saveSnapshot"),setTimeout(function(){e.fire("saveSnapshot")},50)}}function h(t){var n={type:"auto"},r=e.fire("beforePaste",n);f(t,function(e){e=e.replace(/]+data-cke-bookmark[^<]*?<\/span>/ig,""),r&&u(n.type,e,0,1)})}function p(){if(e.mode=="wysiwyg"){var t=d("paste");e.getCommand("cut").setState(d("cut")),e.getCommand("copy").setState(d("copy")),e.getCommand("paste").setState(t),e.fire("pasteState",t)}}function d(t){if(g&&t in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if(t=="paste")return CKEDITOR.TRISTATE_OFF;var t=e.getSelection(),n=t.getRanges();return t.getType()==CKEDITOR.SELECTION_NONE||n.length==1&&n[0].collapsed?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var v=0,m=0,g=0,y=CKEDITOR.env.ie?"beforepaste":"paste";(function(){e.on("key",c),e.on("contentDom",t),e.on("selectionChange",function(e){g=e.data.selection.getRanges()[0].checkReadOnly(),p()}),e.contextMenu&&e.contextMenu.addListener(function(e,t){return g=t.getRanges()[0].checkReadOnly(),{cut:d("cut"),copy:d("copy"),paste:d("paste")}})})(),function(){function t(t,n,r,i,s){var o=e.lang.clipboard[n];e.addCommand(n,r),e.ui.addButton&&e.ui.addButton(t,{label:o,command:n,toolbar:"clipboard,"+i}),e.addMenuItems&&e.addMenuItem(n,{label:o,command:n,group:"clipboard",order:s})}t("Cut","cut",n("cut"),10,1),t("Copy","copy",n("copy"),20,4),t("Paste","paste",r(),30,8)}(),e.getClipboardData=function(t,n){function r(e){e.removeListener(),e.cancel(),n(e.data)}function i(e){e.removeListener(),e.cancel(),a=!0,n({type:u,dataValue:e.data})}function s(){this.customTitle=t&&t.title}var o=!1,u="auto",a=!1;n||(n=t,t=null),e.on("paste",r,null,null,0),e.on("beforePaste",function(e){e.removeListener(),o=!0,u=e.data.type},null,null,1e3),l()===!1&&(e.removeListener("paste",r),o&&e.fire("pasteDialog",s)?(e.on("pasteDialogCommit",i),e.on("dialogHide",function(e){e.removeListener(),e.data.removeListener("pasteDialogCommit",i),setTimeout(function(){a||n(null)},10)})):n(null))}}function t(e){if(CKEDITOR.env.webkit){if(!e.match(/^[^<]*$/g)&&!e.match(/^(
<\/div>|
[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!e.match(/^([^<]|)*$/gi)&&!e.match(/^(

([^<]|)*<\/p>|(\r\n))*$/gi))return"html"}else{if(!CKEDITOR.env.gecko)return"html";if(!e.match(/^([^<]|)*$/gi))return"html"}return"htmlifiedtext"}function n(e,t){function n(e){return CKEDITOR.tools.repeat("

",~~(e/2))+(e%2==1?"
":"")}return t=t.replace(/\s+/g," ").replace(/> +<").replace(/
/gi,"
"),t=t.replace(/<\/?[A-Z]+>/g,function(e){return e.toLowerCase()}),t.match(/^[^<]$/)?t:(CKEDITOR.env.webkit&&t.indexOf("

")>-1&&(t=t.replace(/^(
(
|)<\/div>)(?!$|(
(
|)<\/div>))/g,"
").replace(/^(
(
|)<\/div>){2}(?!$)/g,"
"),t.match(/
(
|)<\/div>/)&&(t="

"+t.replace(/(

(
|)<\/div>)+/g,function(e){return n(e.split("
").length+1)})+"

"),t=t.replace(/<\/div>
/g,"
"),t=t.replace(/<\/?div>/g,"")),CKEDITOR.env.gecko&&e.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(t=t.replace(/^

$/,"
")),t.indexOf("

")>-1&&(t="

"+t.replace(/(
){2,}/g,function(e){return n(e.length/4)})+"

")),s(e,t))}function r(){var e=new CKEDITOR.htmlParser.filter,t={blockquote:1,dl:1,fieldset:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ol:1,p:1,table:1,ul:1},n=CKEDITOR.tools.extend({br:0},CKEDITOR.dtd.$inline),r={p:1,br:1,"cke:br":1},i=CKEDITOR.dtd,s=CKEDITOR.tools.extend({area:1,basefont:1,embed:1,iframe:1,map:1,object:1,param:1},CKEDITOR.dtd.$nonBodyContent,CKEDITOR.dtd.$cdata),o=function(e){delete e.name,e.add(new CKEDITOR.htmlParser.text(" "))},u=function(e){for(var t=e,n;(t=t.next)&&t.name&&t.name.match(/^h\d$/);){n=new CKEDITOR.htmlParser.element("cke:br"),n.isEmpty=!0;for(e.add(n);n=t.children.shift();)e.add(n)}};return e.addRules({elements:{h1:u,h2:u,h3:u,h4:u,h5:u,h6:u,img:function(e){var e=CKEDITOR.tools.trim(e.attributes.alt||""),t=" ";return e&&!e.match(/(^http|\.(jpe?g|gif|png))/i)&&(t=" ["+e+"] "),new CKEDITOR.htmlParser.text(t)},td:o,th:o,$:function(e){var o=e.name,u;if(s[o])return!1;e.attributes={};if(o=="br")return e;if(t[o])e.name="p";else if(n[o])delete e.name;else if(i[o]){u=new CKEDITOR.htmlParser.element("cke:br"),u.isEmpty=!0;if(CKEDITOR.dtd.$empty[o])return u;e.add(u,0),u=u.clone(),u.isEmpty=!0,e.add(u),delete e.name}return r[e.name]||delete e.name,e}}},{applyToAll:!0}),e}function i(e,t,n){var t=new CKEDITOR.htmlParser.fragment.fromHtml(t),r=new CKEDITOR.htmlParser.basicWriter;t.writeHtml(r,n);var t=r.getHtml(),t=t.replace(/\s*(<\/?[a-z:]+ ?\/?>)\s*/g,"$1").replace(/(){2,}/g,"").replace(/()(<\/?p>|
)/g,"$2").replace(/(<\/?p>|
)()/g,"$1").replace(/<(cke:)?br( \/)?>/g,"
").replace(/

<\/p>/g,""),i=0,t=t.replace(/<\/?p>/g,function(e){if(e=="

"){if(++i>1)return"

"}else if(--i>0)return"

";return e}).replace(/

<\/p>/g,"");return s(e,t)}function s(e,t){return e.enterMode==CKEDITOR.ENTER_BR?t=t.replace(/(<\/p>

)+/g,function(e){return CKEDITOR.tools.repeat("
",e.length/7*2)}).replace(/<\/?p>/g,""):e.enterMode==CKEDITOR.ENTER_DIV&&(t=t.replace(/<(\/)?p>/g,"<$1div>")),t}CKEDITOR.plugins.add("clipboard",{requires:"dialog",init:function(s){var o;e(s),CKEDITOR.dialog.add("paste",CKEDITOR.getUrl(this.path+"dialogs/paste.js")),s.on("paste",function(e){var t=e.data.dataValue,n=CKEDITOR.dtd.$block;t.indexOf("Apple-")>-1&&(t=t.replace(/ <\/span>/gi," "),e.data.type!="html"&&(t=t.replace(/]*>([^<]*)<\/span>/gi,function(e,t){return t.replace(/\t/g,"    ")})),t.indexOf('
')>-1&&(e.data.startsWithEOL=1,e.data.preSniffing="html",t=t.replace(/
/,"")),t=t.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));if(t.match(/^<[^<]+cke_(editable|contents)/i)){var r,i,s=new CKEDITOR.dom.element("div");for(s.setHtml(t);s.getChildCount()==1&&(r=s.getFirst())&&r.type==CKEDITOR.NODE_ELEMENT&&(r.hasClass("cke_editable")||r.hasClass("cke_contents"));)s=i=r;i&&(t=i.getHtml().replace(/
$/i,""))}CKEDITOR.env.ie?t=t.replace(/^ (?: |\r\n)?<(\w+)/g,function(t,r){return r.toLowerCase()in n?(e.data.preSniffing="html","<"+r):t}):CKEDITOR.env.webkit?t=t.replace(/<\/(\w+)>


<\/div>$/,function(t,r){return r in n?(e.data.endsWithEOL=1,""):t}):CKEDITOR.env.gecko&&(t=t.replace(/(\s)
$/,"$1")),e.data.dataValue=t},null,null,3),s.on("paste",function(e){var e=e.data,u=e.type,a=e.dataValue,l,h=s.config.clipboard_defaultContentType||"html";l=u=="html"||e.preSniffing=="html"?"html":t(a),l=="htmlifiedtext"?a=n(s.config,a):u=="text"&&l=="html"&&(a=i(s.config,a,o||(o=r(s)))),e.startsWithEOL&&(a='
'+a),e.endsWithEOL&&(a+='
'),u=="auto"&&(u=l=="html"||h=="html"?"html":"text"),e.type=u,e.dataValue=a,delete e.preSniffing,delete e.startsWithEOL,delete e.endsWithEOL},null,null,6),s.on("paste",function(e){e=e.data,s.insertHtml(e.dataValue,e.type),setTimeout(function(){s.fire("afterPaste")},0)},null,null,1e3),s.on("pasteDialog",function(e){setTimeout(function(){s.openDialog("paste",e.data)},0)})}})}(),function(){CKEDITOR.plugins.add("panel",{beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler)}}),CKEDITOR.UI_PANEL="panel",CKEDITOR.ui.panel=function(e,t){t&&CKEDITOR.tools.extend(this,t),CKEDITOR.tools.extend(this,{className:"",css:[]}),this.id=CKEDITOR.tools.getNextId(),this.document=e,this.isFramed=this.forceIFrame||this.css.length,this._={blocks:{}}},CKEDITOR.ui.panel.handler={create:function(e){return new CKEDITOR.ui.panel(e)}};var e=CKEDITOR.addTemplate("panel",''),t=CKEDITOR.addTemplate("panel-frame",''),n=CKEDITOR.addTemplate("panel-frame-inner",'{css}');CKEDITOR.ui.panel.prototype={render:function(r,i){this.getHolderElement=function(){var e=this._.holder;if(!e){if(this.isFramed){var e=this.document.getById(this.id+"_frame"),t=e.getParent(),e=e.getFrameDocument();CKEDITOR.env.iOS&&t.setStyles({overflow:"scroll","-webkit-overflow-scrolling":"touch"}),t=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded=!0,this.onLoad&&this.onLoad()},this)),e.write(n.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:"window.parent.CKEDITOR.tools.callFunction("+t+");"},s))),e.getWindow().$.CKEDITOR=CKEDITOR,e.on("keydown",function(e){var t=e.data.getKeystroke(),n=this.document.getById(this.id).getAttribute("dir");this._.onKeyDown&&this._.onKeyDown(t)===!1?e.data.preventDefault():(t==27||t==(n=="rtl"?39:37))&&this.onEscape&&this.onEscape(t)===!1&&e.data.preventDefault()},this),e=e.getBody(),e.unselectable(),CKEDITOR.env.air&&CKEDITOR.tools.callFunction(t)}else e=this.document.getById(this.id);this._.holder=e}return e};var s={editorId:r.id,id:this.id,langCode:r.langCode,dir:r.lang.dir,cls:this.className,frame:"",env:CKEDITOR.env.cssClass,"z-index":r.config.baseFloatZIndex+1};if(this.isFramed){var o=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?"javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())":"";s.frame=t.output({id:this.id+"_frame",src:o})}return o=e.output(s),i&&i.push(o),o},addBlock:function(e,t){return t=this._.blocks[e]=t instanceof CKEDITOR.ui.panel.block?t:new CKEDITOR.ui.panel.block(this.getHolderElement(),t),this._.currentBlock||this.showBlock(e),t},getBlock:function(e){return this._.blocks[e]},showBlock:function(e){var e=this._.blocks[e],t=this._.currentBlock,n=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+"_frame");return t&&t.hide(),this._.currentBlock=e,CKEDITOR.fire("ariaWidget",n),e._.focusIndex=-1,this._.onKeyDown=e.onKeyDown&&CKEDITOR.tools.bind(e.onKeyDown,e),e.show(),e},destroy:function(){this.element&&this.element.remove()}},CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(e,t){this.element=e.append(e.getDocument().createElement("div",{attributes:{tabindex:-1,"class":"cke_panel_block"},styles:{display:"none"}})),t&&CKEDITOR.tools.extend(this,t),this.element.setAttributes({role:this.attributes.role||"presentation","aria-label":this.attributes["aria-label"],title:this.attributes.title||this.attributes["aria-label"]}),this.keys={},this._.focusIndex=-1,this.element.disableContextMenu()},_:{markItem:function(e){e!=-1&&(e=this.element.getElementsByTag("a").getItem(this._.focusIndex=e),CKEDITOR.env.webkit&&e.getDocument().getWindow().focus(),e.focus(),this.onMark&&this.onMark(e))}},proto:{show:function(){this.element.setStyle("display","")},hide:function(){(!this.onHide||this.onHide.call(this)!==!0)&&this.element.setStyle("display","none")},onKeyDown:function(e,t){var n=this.keys[e];switch(n){case"next":for(var r=this._.focusIndex,n=this.element.getElementsByTag("a"),i;i=n.getItem(++r);)if(i.getAttribute("_cke_focus")&&i.$.offsetWidth){this._.focusIndex=r,i.focus();break}if(!i&&!t)return this._.focusIndex=-1,this.onKeyDown(e,1);return!1;case"prev":r=this._.focusIndex;for(n=this.element.getElementsByTag("a");r>0&&(i=n.getItem(--r));){if(i.getAttribute("_cke_focus")&&i.$.offsetWidth){this._.focusIndex=r,i.focus();break}i=null}if(!i&&!t)return this._.focusIndex=n.count(),this.onKeyDown(e,1);return!1;case"click":case"mouseup":return r=this._.focusIndex,(i=r>=0&&this.element.getElementsByTag("a").getItem(r))&&(i.$[n]?i.$[n]():i.$["on"+n]()),!1}return!0}}})}(),CKEDITOR.plugins.add("floatpanel",{requires:"panel"}),function(){function e(e,n,r,i,s){var s=CKEDITOR.tools.genKey(n.getUniqueId(),r.getUniqueId(),e.lang.dir,e.uiColor||"",i.css||"",s||""),o=t[s];return o||(o=t[s]=new CKEDITOR.ui.panel(n,i),o.element=r.append(CKEDITOR.dom.element.createFromHtml(o.render(e),n)),o.element.setStyles({display:"none",position:"absolute"})),o}var t={};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(t,n,r,i){function s(){l.hide()}r.forceIFrame=1,r.toolbarRelated&&t.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(n=CKEDITOR.document.getById("cke_"+t.name));var o=n.getDocument(),i=e(t,o,n,r,i||0),u=i.element,f=u.getFirst(),l=this;u.disableContextMenu(),this.element=u,this._={editor:t,panel:i,parentElement:n,definition:r,document:o,iframe:f,children:[],dir:t.lang.dir},t.on("mode",s),t.on("resize",s),CKEDITOR.env.iOS||o.getWindow().on("resize",s)},proto:{addBlock:function(e,t){return this._.panel.addBlock(e,t)},addListBlock:function(e,t){return this._.panel.addListBlock(e,t)},getBlock:function(e){return this._.panel.getBlock(e)},showBlock:function(e,t,n,r,i,s){var o=this._.panel,u=o.showBlock(e);this.allowBlur(!1),e=this._.editor.editable(),this._.returnFocus=e.hasFocus?e:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement),this._.hideTimeout=0;var a=this.element,e=this._.iframe,e=CKEDITOR.env.ie?e:new CKEDITOR.dom.window(e.$.contentWindow),f=a.getDocument(),l=this._.parentElement.getPositionedAncestor(),c=t.getDocumentPosition(f),f=l?l.getDocumentPosition(f):{x:0,y:0},h=this._.dir=="rtl",p=c.x+(r||0)-f.x,d=c.y+(i||0)-f.y;!h||n!=1&&n!=4?!h&&(n==2||n==3)&&(p+=t.$.offsetWidth-1):p+=t.$.offsetWidth;if(n==3||n==4)d+=t.$.offsetHeight-1;this._.panel._.offsetParentId=t.getId(),a.setStyles({top:d+"px",left:0,display:""}),a.setOpacity(0),a.getFirst().removeStyle("width"),this._.editor.focusManager.add(e),this._.blurSet||(CKEDITOR.event.useCapture=!0,e.on("blur",function(e){function t(){delete this._.returnFocus,this.hide()}this.allowBlur()&&e.data.getPhase()==CKEDITOR.EVENT_PHASE_AT_TARGET&&this.visible&&!this._.activeChild&&(CKEDITOR.env.iOS?this._.hideTimeout||(this._.hideTimeout=CKEDITOR.tools.setTimeout(t,0,this)):t.call(this))},this),e.on("focus",function(){this._.focused=!0,this.hideChild(),this.allowBlur(!0)},this),CKEDITOR.env.iOS&&(e.on("touchstart",function(){clearTimeout(this._.hideTimeout)},this),e.on("touchend",function(){this._.hideTimeout=0,this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1),o.onEscape=CKEDITOR.tools.bind(function(e){if(this.onEscape&&this.onEscape(e)===!1)return!1},this),CKEDITOR.tools.setTimeout(function(){var e=CKEDITOR.tools.bind(function(){a.removeStyle("width");if(u.autoSize){var e=u.element.getDocument(),e=(CKEDITOR.env.webkit?u.element:e.getBody()).$.scrollWidth;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&e>0&&(e+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3),a.setStyle("width",e+10+"px"),e=u.element.$.scrollHeight,CKEDITOR.env.ie&&CKEDITOR.env.quirks&&e>0&&(e+=(a.$.offsetHeight||0)-(a.$.clientHeight||0)+3),a.setStyle("height",e+"px"),o._.currentBlock.element.setStyle("display","none").removeStyle("display")}else a.removeStyle("height");h&&(p-=a.$.offsetWidth),a.setStyle("left",p+"px");var t=o.element.getWindow(),e=a.$.getBoundingClientRect(),t=t.getViewPaneSize(),n=e.width||e.right-e.left,r=e.height||e.bottom-e.top,i=h?e.right:t.width-e.left,f=h?t.width-e.right:e.left;h?in?p+n:t.width>n?p-e.left:p-e.right+t.width):in?p-n:t.width>n?p-e.right+t.width:p-e.left),n=e.top,t.height-e.topr?d-r:t.height>r?d-e.bottom+t.height:d-e.top),CKEDITOR.env.ie&&(t=e=new CKEDITOR.dom.element(a.$.offsetParent),t.getName()=="html"&&(t=t.getDocument().getBody()),t.getComputedStyle("direction")=="rtl"&&(p=CKEDITOR.env.ie8Compat?p-a.getDocument().getDocumentElement().$.scrollLeft*2:p-(e.$.scrollWidth-e.$.clientWidth)));var e=a.getFirst(),l;(l=e.getCustomData("activePanel"))&&l.onHide&&l.onHide.call(this,1),e.setCustomData("activePanel",this),a.setStyles({top:d+"px",left:p+"px"}),a.setOpacity(1),s&&s()},this);o.isLoaded?e():o.onLoad=e,CKEDITOR.tools.setTimeout(function(){var e=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus(),u.element.focus(),CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=e),this.allowBlur(!0),this._.editor.fire("panelShow",this)},0,this)},CKEDITOR.env.air?200:0,this),this.visible=1,this.onShow&&this.onShow.call(this)},focus:function(){if(CKEDITOR.env.webkit){var e=CKEDITOR.document.getActive();e&&!e.equals(this._.iframe)&&e.$.blur()}(this._.lastFocused||this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var e=this._.iframe.getFrameDocument().getActive();e&&e.is("a")&&(this._.lastFocused=e)},hide:function(e){if(this.visible&&(!this.onHide||this.onHide.call(this)!==!0)){this.hideChild(),CKEDITOR.env.gecko&&this._.iframe.getFrameDocument().$.activeElement.blur(),this.element.setStyle("display","none"),this.visible=0,this.element.getFirst().removeCustomData("activePanel");if(e=e&&this._.returnFocus)CKEDITOR.env.webkit&&e.type&&e.getWindow().$.focus(),e.focus();delete this._.lastFocused,this._.editor.fire("panelHide",this)}},allowBlur:function(e){var t=this._.panel;return e!==void 0&&(t.allowBlur=e),t.allowBlur},showAsChild:function(e,t,n,r,i,s){if(this._.activeChild!=e||e._.panel._.offsetParentId!=n.getId())this.hideChild(),e.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=e,this._.focused=!1,e.showBlock(t,n,r,i,s),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){e.element.getChild(0).$.style.cssText+=""},100)},hideChild:function(e){var t=this._.activeChild;t&&(delete t.onHide,delete this._.activeChild,t.hide(),e&&this.focus())}}}),CKEDITOR.on("instanceDestroyed",function(){var e=CKEDITOR.tools.isEmpty(CKEDITOR.instances),n;for(n in t){var r=t[n];e?r.destroy():r.element.hide()}e&&(t={})})}(),CKEDITOR.plugins.add("menu",{requires:"floatpanel",beforeInit:function(e){for(var t=e.config.menu_groups.split(","),n=e._.menuGroups={},r=e._.menuItems={},i=0;it.group?1:e.ordert.order?1:0})}var t=''),n=CKEDITOR.addTemplate("menuItem",t+'{label}{arrowHtml}'),r=CKEDITOR.addTemplate("menuArrow",'{label}');CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(e,t){t=this._.definition=t||{},this.id=CKEDITOR.tools.getNextId(),this.editor=e,this.items=[],this._.listeners=[],this._.level=t.level||1;var n=CKEDITOR.tools.extend({},t.panel,{css:[CKEDITOR.skin.getPath("editor")],level:this._.level-1,block:{}}),r=n.block.attributes=n.attributes||{};!r.role&&(r.role="menu"),this._.panelDefinition=n},_:{onShow:function(){var e=this.editor.getSelection(),t=e&&e.getStartElement(),n=this.editor.elementPath(),r=this._.listeners;this.removeAll();for(var i=0;i'],c=s.length,h=c&&s[0].group,p=0;p
'),h=d.group),d.render(this,p,l)}l.push("
"),f.setHtml(l.join("")),CKEDITOR.ui.fire("ready",this),this.parent?this.parent._.panel.showAsChild(u,this.id,t,n,r,i):u.showBlock(this.id,t,n,r,i),o.fire("menuShow",[u])},addListener:function(e){this._.listeners.push(e)},hide:function(e){this._.onHide&&this._.onHide(),this._.panel&&this._.panel.hide(e)}}}),CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(e,t,n){CKEDITOR.tools.extend(this,n,{order:0,className:"cke_menubutton__"+t}),this.group=e._.menuGroups[this.group],this.editor=e,this.name=t},proto:{render:function(e,t,i){var s=e.id+(""+t),o=typeof this.state=="undefined"?CKEDITOR.TRISTATE_OFF:this.state,u="",a=o==CKEDITOR.TRISTATE_ON?"on":o==CKEDITOR.TRISTATE_DISABLED?"disabled":"off";this.role in{menuitemcheckbox:1,menuitemradio:1}&&(u=' aria-checked="'+(o==CKEDITOR.TRISTATE_ON?"true":"false")+'"');var f=this.getItems,l="&#"+(this.editor.lang.dir=="rtl"?"9668":"9658")+";",c=this.name;this.icon&&!/\./.test(this.icon)&&(c=this.icon),e={id:s,name:this.name,iconName:c,label:this.label,cls:this.className||"",state:a,hasPopup:f?"true":"false",disabled:o==CKEDITOR.TRISTATE_DISABLED,title:this.label,href:"javascript:void('"+(this.label||"").replace("'")+"')",hoverFn:e._.itemOverFn,moveOutFn:e._.itemOutFn,clickFn:e._.itemClickFn,index:t,iconStyle:CKEDITOR.skin.getIconStyle(c,this.editor.lang.dir=="rtl",c==this.icon?null:this.icon,this.iconOffset),arrowHtml:f?r.output({label:l}):"",role:this.role?this.role:"menuitem",ariaChecked:u},n.output(e,i)}}})}(),CKEDITOR.config.menu_groups="clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div",CKEDITOR.plugins.add("contextmenu",{requires:"menu",onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(e){this.base.call(this,e,{panel:{className:"cke_menu_panel",attributes:{"aria-label":e.lang.contextmenu.options}}})},proto:{addTarget:function(e,t){e.on("contextmenu",function(e){var e=e.data,r=CKEDITOR.env.webkit?n:CKEDITOR.env.mac?e.$.metaKey:e.$.ctrlKey;if(!t||!r){e.preventDefault();if(CKEDITOR.env.mac&&CKEDITOR.env.webkit){var r=this.editor,i=(new CKEDITOR.dom.elementPath(e.getTarget(),r.editable())).contains(function(e){return e.hasAttribute("contenteditable")},!0);i&&i.getAttribute("contenteditable")=="false"&&r.getSelection().fake(i)}var i=e.getTarget().getDocument(),s=e.getTarget().getDocument().getDocumentElement(),r=!i.equals(CKEDITOR.document),i=i.getWindow().getScrollPosition(),o=r?e.$.clientX:e.$.pageX||i.x+e.$.clientX,u=r?e.$.clientY:e.$.pageY||i.y+e.$.clientY;CKEDITOR.tools.setTimeout(function(){this.open(s,null,o,u)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var n,r=function(){n=0};e.on("keydown",function(e){n=CKEDITOR.env.mac?e.data.$.metaKey:e.data.$.ctrlKey}),e.on("keyup",r),e.on("contextmenu",r)}},open:function(e,t,n,r){this.editor.focus(),e=e||CKEDITOR.document.getDocumentElement(),this.editor.selectionChange(1),this.show(e,t,n,r)}}})},beforeInit:function(e){var t=e.contextMenu=new CKEDITOR.plugins.contextMenu(e);e.on("contentDom",function(){t.addTarget(e.editable(),e.config.browserContextMenuOnCtrl!==!1)}),e.addCommand("contextMenu",{exec:function(){e.contextMenu.open(e.document.getBody())}}),e.setKeystroke(CKEDITOR.SHIFT+121,"contextMenu"),e.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,"contextMenu")}}),function(){function t(t,r){function s(e){e=l.list[e];if(e.equals(t.editable())||e.getAttribute("contenteditable")=="true"){var n=t.createRange();n.selectNodeContents(e),n.select()}else t.getSelection().selectElement(e);t.focus()}function o(){f&&f.setHtml(n),delete l.list}var u=t.ui.spaceId("path"),f,l=t._.elementsPath,h=l.idBase;r.html=r.html+(''+t.lang.elementspath.eleLabel+''+n+""),t.on("uiReady",function(){var e=t.ui.space("path");e&&t.focusManager.add(e,1)}),l.onClick=s;var p=CKEDITOR.tools.addFunction(s),d=CKEDITOR.tools.addFunction(function(e,n){var r=l.idBase,i,n=new CKEDITOR.dom.event(n);i=t.lang.dir=="rtl";switch(n.getKeystroke()){case i?39:37:case 9:return(i=CKEDITOR.document.getById(r+(e+1)))||(i=CKEDITOR.document.getById(r+"0")),i.focus(),!1;case i?37:39:case CKEDITOR.SHIFT+9:return(i=CKEDITOR.document.getById(r+(e-1)))||(i=CKEDITOR.document.getById(r+(l.list.length-1))),i.focus(),!1;case 27:return t.focus(),!1;case 13:case 32:return s(e),!1}return!0});t.on("selectionChange",function(){for(var e=[],r=l.list=[],s=[],o=l.filters,a=!0,v=t.elementPath().elements,g,y=v.length;y--;){var w=v[y],E=0;g=w.data("cke-display-name")?w.data("cke-display-name"):w.data("cke-real-element-type")?w.data("cke-real-element-type"):w.getName(),a=w.hasAttribute("contenteditable")?w.getAttribute("contenteditable")=="true":a,!a&&!w.hasAttribute("contenteditable")&&(E=1);for(var S=0;S{text}');CKEDITOR.plugins.add("elementspath",{init:function(e){e._.elementsPath={idBase:"cke_elementspath_"+CKEDITOR.tools.getNextNumber()+"_",filters:[]},e.on("uiSpace",function(n){n.data.space=="bottom"&&t(e,n.data)})}})}(),function(){function e(e,r){var i,s;r.on("refresh",function(e){var r=[t],i;for(i in e.data.states)r.push(e.data.states[i]);this.setState(CKEDITOR.tools.search(r,n)?n:t)},r,null,100),r.on("exec",function(t){i=e.getSelection(),s=i.createBookmarks(1),t.data||(t.data={}),t.data.done=!1},r,null,0),r.on("exec",function(){e.forceNextSelectionCheck(),i.selectBookmarks(s)},r,null,100)}var t=CKEDITOR.TRISTATE_DISABLED,n=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indent",{init:function(t){var n=CKEDITOR.plugins.indent.genericDefinition;e(t,t.addCommand("indent",new n(!0))),e(t,t.addCommand("outdent",new n)),t.ui.addButton&&(t.ui.addButton("Indent",{label:t.lang.indent.indent,command:"indent",directional:!0,toolbar:"indent,20"}),t.ui.addButton("Outdent",{label:t.lang.indent.outdent,command:"outdent",directional:!0,toolbar:"indent,10"})),t.on("dirChanged",function(e){var n=t.createRange(),r=e.data.node;n.setStartBefore(r),n.setEndAfter(r);for(var i=new CKEDITOR.dom.walker(n),s;s=i.next();)if(s.type==CKEDITOR.NODE_ELEMENT)if(!s.equals(r)&&s.getDirection())n.setStartAfter(s),i=new CKEDITOR.dom.walker(n);else{var o=t.config.indentClasses;if(o)for(var u=e.data.dir=="ltr"?["_rtl",""]:["","_rtl"],a=0;a0){var h=l[u].parent;l[u].parent=new CKEDITOR.dom.element(h.getName(),h.getDocument())}}for(u=r.getCustomData("listarray_index")+1;uc;u++)l[u].indent=l[u].indent+f;r=CKEDITOR.plugins.list.arrayToList(l,s,null,e.config.enterMode,t.getDirection());if(!i.isIndent){var p;if((p=t.getParent())&&p.is("li"))for(var f=r.listNode.getChildren(),v=[],m,u=f.count()-1;u>=0;u--)(m=f.getItem(u))&&m.is&&m.is("li")&&v.push(m)}r&&r.listNode.replace(t);if(v&&v.length)for(u=0;ui[o-1].indent+1){s=i[o-1].indent+1-i[o].indent;for(u=i[o].indent;i[o]&&i[o].indent>=u;)i[o].indent=i[o].indent+s,o++;o--}var a=CKEDITOR.plugins.list.arrayToList(i,n,null,e.config.enterMode,t.root.getAttribute("dir")).listNode,f,l;r(!0),r(),a.replace(t.root),e.fire("contentDomInvalidated")}function t(e,t){this.name=e,this.context=this.type=t,this.allowedContent=t+" li",this.requiredContent=t}function n(e,t,n,r){for(var i,s;i=e[r?"getLast":"getFirst"](p);)(s=i.getDirection(1))!==t.getDirection(1)&&i.setAttribute("dir",s),i.remove(),n?i[r?"insertBefore":"insertAfter"](n):t.append(i,r)}function r(e){function t(t){var r=e[t?"getPrevious":"getNext"](l);r&&r.type==CKEDITOR.NODE_ELEMENT&&r.is(e.getName())&&(n(e,r,null,!t),e.remove(),e=r)}t(),t(1)}function i(e){return e.type==CKEDITOR.NODE_ELEMENT&&(e.getName()in CKEDITOR.dtd.$block||e.getName()in CKEDITOR.dtd.$listItem)&&CKEDITOR.dtd[e.getName()]["#"]}function s(e,t,i){e.fire("saveSnapshot"),i.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var s=i.extractContents();t.trim(!1,!0);var u=t.createBookmark(),a=new CKEDITOR.dom.elementPath(t.startContainer),f=a.block,a=a.lastElement.getAscendant("li",1)||f,h=new CKEDITOR.dom.elementPath(i.startContainer),p=h.contains(CKEDITOR.dtd.$listItem),h=h.contains(CKEDITOR.dtd.$list);f?(f=f.getBogus())&&f.remove():h&&(f=h.getPrevious(l))&&c(f)&&f.remove(),(f=s.getLast())&&f.type==CKEDITOR.NODE_ELEMENT&&f.is("br")&&f.remove(),(f=t.startContainer.getChild(t.startOffset))?s.insertBefore(f):t.startContainer.append(s),p&&(s=o(p))&&(a.contains(p)?(n(s,p.getParent(),p),s.remove()):a.append(s));for(;i.checkStartOfBlock()&&i.checkEndOfBlock();){h=i.startPath(),s=h.block;if(!s)break;s.is("li")&&(a=s.getParent(),s.equals(a.getLast(l))&&s.equals(a.getFirst(l))&&(s=a)),i.moveToPosition(s,CKEDITOR.POSITION_BEFORE_START),s.remove()}i=i.clone(),s=e.editable(),i.setEndAt(s,CKEDITOR.POSITION_BEFORE_END),i=new CKEDITOR.dom.walker(i),i.evaluator=function(e){return l(e)&&!c(e)},(i=i.next())&&i.type==CKEDITOR.NODE_ELEMENT&&i.getName()in CKEDITOR.dtd.$list&&r(i),t.moveToBookmark(u),t.select(),e.fire("saveSnapshot")}function o(e){return(e=e.getLast(l))&&e.type==CKEDITOR.NODE_ELEMENT&&e.getName()in u?e:null}var u={ol:1,ul:1},a=CKEDITOR.dom.walker.whitespaces(),f=CKEDITOR.dom.walker.bookmark(),l=function(e){return!a(e)&&!f(e)},c=CKEDITOR.dom.walker.bogus();CKEDITOR.plugins.list={listToArray:function(e,t,n,r,i){if(!u[e.getName()])return[];r||(r=0),n||(n=[]);for(var s=0,o=e.getChildCount();s1)S?N=x.clone(1,1):d.append(x.clone(1,1));else if(x.type==CKEDITOR.NODE_ELEMENT&&x.isBlockBoundary()){c&&!x.getDirection()&&x.setAttribute("dir",v),m=x;var C=b.getAttribute("style");C&&m.setAttribute("style",C.replace(/([^;])$/,"$1;")+(m.getAttribute("style")||"")),w&&x.addClass(w),m=null,N&&(d.append(N),N=null),d.append(x.clone(1,1))}else S?(m||(m=o.createElement(g),d.append(m),c&&m.setAttribute("dir",v)),E&&m.setAttribute("style",E),w&&m.setAttribute("class",w),N&&(m.append(N),N=null),m.append(x.clone(1,1))):d.append(x.clone(1,1))}N&&((m||d).append(N),N=null),d.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&h!=e.length-1&&(CKEDITOR.env.needsBrFiller&&(v=d.getLast())&&v.type==CKEDITOR.NODE_ELEMENT&&v.is("br")&&v.remove(),v=d.getLast(l),(!v||v.type!=CKEDITOR.NODE_ELEMENT||!v.is(CKEDITOR.dtd.$block))&&d.append(o.createElement("br"))),v=d.$.nodeName.toLowerCase(),(v=="div"||v=="p")&&d.appendBogus(),a.append(d),c=null,h++}m=null;if(e.length<=h||Math.max(e[h].indent,0)=0&&(y=d[b]);b--)if(u[y.getName()]&&m.contains(y)){m.removeCustomData("list_group_object_"+c),(d=y.getCustomData("list_group_object"))?d.contents.push(p):(d={root:y,contents:[p]},o.push(d),CKEDITOR.dom.element.setMarker(f,y,"list_group_object",d)),v=1;break}v||(v=m,v.getCustomData("list_group_object_"+c)?v.getCustomData("list_group_object_"+c).contents.push(p):(d={root:v,contents:[p]},CKEDITOR.dom.element.setMarker(f,v,"list_group_object_"+c,d),o.push(d)))}}for(y=[];o.length>0;){d=o.shift();if(this.state==CKEDITOR.TRISTATE_OFF)if(u[d.root.getName()]){s=t,c=d,d=f,a=y,v=CKEDITOR.plugins.list.listToArray(c.root,d),m=[];for(p=0;p0;t--)e[t].deleteContents();return e[0]}function n(e){var t=e.startContainer.getAscendant(function(e){return e.type==CKEDITOR.NODE_ELEMENT&&e.getAttribute("contenteditable")=="true"},!0);return e.root.equals(t)?e:(t=new CKEDITOR.dom.range(t),t.moveToRange(e),t)}CKEDITOR.plugins.add("enterkey",{init:function(t){t.addCommand("enter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(t){e(t)}}),t.addCommand("shiftEnter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(t){e(t,t.activeShiftEnterMode,1)}}),t.setKeystroke([[13,"enter"],[CKEDITOR.SHIFT+13,"shiftEnter"]])}});var r=CKEDITOR.dom.walker.whitespaces(),i=CKEDITOR.dom.walker.bookmark();CKEDITOR.plugins.enterkey={enterBlock:function(e,s,u,f){if(u=u||t(e)){var u=n(u),l=u.document,p=u.checkStartOfBlock(),d=u.checkEndOfBlock(),v=e.elementPath(u.startContainer),m=v.block,y=s==CKEDITOR.ENTER_DIV?"div":"p",w;if(p&&d){if(m&&(m.is("li")||m.getParent().is("li"))){m.is("li")||(m=m.getParent()),u=m.getParent(),w=u.getParent();var f=!m.hasPrevious(),E=!m.hasNext(),y=e.getSelection(),S=y.createBookmarks(),p=m.getDirection(1),d=m.getAttribute("class"),x=m.getAttribute("style"),T=w.getDirection(1)!=p,e=e.enterMode!=CKEDITOR.ENTER_BR||T||x||d;if(w.is("li"))f||E?m[f?"insertBefore":"insertAfter"](w):m.breakParent(w);else{if(e)v.block.is("li")?(w=l.createElement(s==CKEDITOR.ENTER_P?"p":"div"),T&&w.setAttribute("dir",p),x&&w.setAttribute("style",x),d&&w.setAttribute("class",d),m.moveChildren(w)):w=v.block,f||E?w[f?"insertBefore":"insertAfter"](u):(m.breakParent(u),w.insertAfter(u));else{m.appendBogus(!0);if(f||E)for(;l=m[f?"getFirst":"getLast"]();)l[f?"insertBefore":"insertAfter"](u);else for(m.breakParent(u);l=m.getLast();)l.insertAfter(u)}m.remove()}y.selectBookmarks(S);return}if(m&&m.getParent().is("blockquote")){m.breakParent(m.getParent()),m.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||m.getPrevious().remove(),m.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||m.getNext().remove(),u.moveToElementEditStart(m),u.select();return}}else if(m&&m.is("pre")&&!d){o(e,s,u,f);return}if(p=u.splitBlock(y)){s=p.previousBlock,m=p.nextBlock,v=p.wasStartOfBlock,e=p.wasEndOfBlock,m?(S=m.getParent(),S.is("li")&&(m.breakParent(S),m.move(m.getNext(),1))):s&&(S=s.getParent())&&S.is("li")&&(s.breakParent(S),S=s.getNext(),u.moveToElementEditStart(S),s.move(s.getPrevious()));if(!v&&!e)m.is("li")&&(w=u.clone(),w.selectNodeContents(m),w=new CKEDITOR.dom.walker(w),w.evaluator=function(e){return!(i(e)||r(e)||e.type==CKEDITOR.NODE_ELEMENT&&e.getName()in CKEDITOR.dtd.$inline&&!(e.getName()in CKEDITOR.dtd.$empty))},(S=w.next())&&S.type==CKEDITOR.NODE_ELEMENT&&S.is("ul","ol")&&(CKEDITOR.env.needsBrFiller?l.createElement("br"):l.createText(" ")).insertBefore(S)),m&&u.moveToElementEditStart(m);else{if(s){if(s.is("li")||!a.test(s.getName())&&!s.is("pre"))w=s.clone()}else m&&(w=m.clone());w?f&&!w.is("li")&&w.renameNode(y):S&&S.is("li")?w=S:(w=l.createElement(y),s&&(E=s.getDirection())&&w.setAttribute("dir",E));if(l=p.elementPath){f=0;for(y=l.elements.length;f",lt:"<",amp:"&",apos:"'",quot:'"'},e=e.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(e,s){var o=t?"&"+s+";":i[s];return n[o]=t?i[s]:"&"+s+";",r.push(o),""});if(!t&&e){var e=e.split(","),s=document.createElement("div"),o;s.innerHTML="&"+e.join(";&")+";",o=s.innerHTML,s=null;for(s=0;s1&&t.substr(t.length-1,1)=="%"&&(t=parseInt(window.screen.width*parseInt(t,10)/100,10)),typeof n=="string"&&n.length>1&&n.substr(n.length-1,1)=="%"&&(n=parseInt(window.screen.height*parseInt(n,10)/100,10)),t<640&&(t=640),n<420&&(n=420);var i=parseInt((window.screen.height-n)/2,10),s=parseInt((window.screen.width-t)/2,10),r=(r||"location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes")+",width="+t+",height="+n+",top="+i+",left="+s,o=window.open("",null,r,!0);if(!o)return!1;try{navigator.userAgent.toLowerCase().indexOf(" chrome/")==-1&&(o.moveTo(s,i),o.resizeTo(t,n)),o.focus(),o.location.href=e}catch(u){window.open(e,null,r,!0)}return!0}}),function(){function e(e,t){var n=[];if(!t)return e;for(var r in t)n.push(r+"="+encodeURIComponent(t[r]));return e+(e.indexOf("?")!=-1?"&":"?")+n.join("&")}function t(e){return e+="",e.charAt(0).toUpperCase()+e.substr(1)}function n(){var n=this.getDialog(),r=n.getParentEditor();r._.filebrowserSe=this;var i=r.config["filebrowser"+t(n.getName())+"WindowWidth"]||r.config.filebrowserWindowWidth||"80%",n=r.config["filebrowser"+t(n.getName())+"WindowHeight"]||r.config.filebrowserWindowHeight||"70%",s=this.filebrowser.params||{};s.CKEditor=r.name,s.CKEditorFuncNum=r._.filebrowserFn,s.langCode||(s.langCode=r.langCode),s=e(this.filebrowser.url,s),r.popup(s,i,n,r.config.filebrowserWindowFeatures||r.config.fileBrowserWindowFeatures)}function r(){var e=this.getDialog();return e.getParentEditor()._.filebrowserSe=this,!e.getContentElement(this["for"][0],this["for"][1]).getInputElement().$.value||!e.getContentElement(this["for"][0],this["for"][1]).getAction()?!1:!0}function i(t,n,r){var i=r.params||{};i.CKEditor=t.name,i.CKEditorFuncNum=t._.filebrowserFn,i.langCode||(i.langCode=t.langCode),n.action=e(r.url,i),n.filebrowser=r}function s(e,o,u,a){if(a&&a.length)for(var f,l=a.length;l--;){f=a[l],(f.type=="hbox"||f.type=="vbox"||f.type=="fieldset")&&s(e,o,u,f.children);if(f.filebrowser){typeof f.filebrowser=="string"&&(f.filebrowser={action:f.type=="fileButton"?"QuickUpload":"Browse",target:f.filebrowser});if(f.filebrowser.action=="Browse"){var h=f.filebrowser.url;h===void 0&&(h=e.config["filebrowser"+t(o)+"BrowseUrl"],h===void 0&&(h=e.config.filebrowserBrowseUrl)),h&&(f.onClick=n,f.filebrowser.url=h,f.hidden=!1)}else if(f.filebrowser.action=="QuickUpload"&&f["for"]){h=f.filebrowser.url,h===void 0&&(h=e.config["filebrowser"+t(o)+"UploadUrl"],h===void 0&&(h=e.config.filebrowserUploadUrl));if(h){var p=f.onClick;f.onClick=function(e){var t=e.sender;return p&&p.call(t,e)===!1?!1:r.call(t,e)},f.filebrowser.url=h,f.hidden=!1,i(e,u.getContents(f["for"][0]).get(f["for"][1]),f.filebrowser)}}}}}function o(e,t,n){if(n.indexOf(";")!==-1){for(var n=n.split(";"),r=0;rd.height-p.bottom?o("pin"):o("bottom");var r=d.width/2,r=p.left>0&&p.rightl.width?e.config.contentsLangDirection=="rtl"?"right":"left":r-p.left>p.right-r?"left":"right",i;l.width>d.width?(r="left",i=0):(i=r=="left"?p.left>0?p.left:0:p.rightd.width&&(r=r=="left"?"right":"left",i=0)),u.setStyle(r,n((a=="pin"?w:g)+i+(a=="pin"?0:r=="left"?m:-m)))}else a="pin",o("pin"),s(r)}}}();if(i){var o=new CKEDITOR.template('
"+(e.title?'{voiceLabel}':" ")+'
'),u=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(o.output({content:i,id:e.id,langDir:e.lang.dir,langCode:e.langCode,name:e.name,style:"display:none;z-index:"+(r.baseFloatZIndex-1),topId:e.ui.spaceId("top"),voiceLabel:e.title}))),a=CKEDITOR.tools.eventsBuffer(500,s),f=CKEDITOR.tools.eventsBuffer(100,s);u.unselectable(),u.on("mousedown",function(e){e=e.data,e.getTarget().hasAscendant("a",1)||e.preventDefault()}),e.on("focus",function(n){s(n),e.on("change",a.input),t.on("scroll",f.input),t.on("resize",f.input)}),e.on("blur",function(){u.hide(),e.removeListener("change",a.input),t.removeListener("scroll",f.input),t.removeListener("resize",f.input)}),e.on("destroy",function(){t.removeListener("scroll",f.input),t.removeListener("resize",f.input),u.clearCustomData(),u.remove()}),e.focusManager.hasFocus&&u.show(),e.focusManager.add(u,1)}}var t=CKEDITOR.document.getWindow(),n=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(t){t.on("loaded",function(){e(this)},null,null,20)}})}(),CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var e=CKEDITOR.addTemplate("panel-list",''),t=CKEDITOR.addTemplate("panel-list-item",''),n=CKEDITOR.addTemplate("panel-list-group",'

{label}

'),r=/\'/g;CKEDITOR.ui.panel.prototype.addListBlock=function(e,t){return this.addBlock(e,new CKEDITOR.ui.listBlock(this.getHolderElement(),t))},CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(e,t){var t=t||{},n=t.attributes||(t.attributes={});(this.multiSelect=!!t.multiSelect)&&(n["aria-multiselectable"]=!0),!n.role&&(n.role="listbox"),this.base.apply(this,arguments),this.element.setAttribute("role",n.role),n=this.keys,n[40]="next",n[9]="next",n[38]="prev",n[CKEDITOR.SHIFT+9]="prev",n[32]=CKEDITOR.env.ie?"mouseup":"click",CKEDITOR.env.ie&&(n[13]="mouseup"),this._.pendingHtml=[],this._.pendingList=[],this._.items={},this._.groups={}},_:{close:function(){if(this._.started){var t=e.output({items:this._.pendingList.join("")});this._.pendingList=[],this._.pendingHtml.push(t),delete this._.started}},getClick:function(){return this._.click||(this._.click=CKEDITOR.tools.addFunction(function(e){var t=this.toggle(e);this.onClick&&this.onClick(e,t)},this)),this._.click}},proto:{add:function(e,n,i){var s=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0),this._.items[e]=s;var o;o=CKEDITOR.tools.htmlEncodeAttr(e).replace(r,"\\'"),e={id:s,val:o,onclick:CKEDITOR.env.ie?'onclick="return false;" onmouseup':"onclick",clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(i||e),text:n||e},this._.pendingList.push(t.output(e))},startGroup:function(e){this._.close();var t=CKEDITOR.tools.getNextId();this._.groups[e]=t,this._.pendingHtml.push(n.output({id:t,label:e}))},commit:function(){this._.close(),this.element.appendHtml(this._.pendingHtml.join("")),delete this._.size,this._.pendingHtml=[]},toggle:function(e){var t=this.isMarked(e);return t?this.unmark(e):this.mark(e),!t},hideGroup:function(e){var t=(e=this.element.getDocument().getById(this._.groups[e]))&&e.getNext();e&&(e.setStyle("display","none"),t&&t.getName()=="ul"&&t.setStyle("display","none"))},hideItem:function(e){this.element.getDocument().getById(this._.items[e]).setStyle("display","none")},showAll:function(){var e=this._.items,t=this._.groups,n=this.element.getDocument(),r;for(r in e)n.getById(e[r]).setStyle("display","");for(var i in t)e=n.getById(t[i]),r=e.getNext(),e.setStyle("display",""),r&&r.getName()=="ul"&&r.setStyle("display","")},mark:function(e){this.multiSelect||this.unmarkAll();var e=this._.items[e],t=this.element.getDocument().getById(e);t.addClass("cke_selected"),this.element.getDocument().getById(e+"_option").setAttribute("aria-selected",!0),this.onMark&&this.onMark(t)},unmark:function(e){var t=this.element.getDocument(),e=this._.items[e],n=t.getById(e);n.removeClass("cke_selected"),t.getById(e+"_option").removeAttribute("aria-selected"),this.onUnmark&&this.onUnmark(n)},unmarkAll:function(){var e=this._.items,t=this.element.getDocument(),n;for(n in e){var r=e[n];t.getById(r).removeClass("cke_selected"),t.getById(r+"_option").removeAttribute("aria-selected")}this.onUnmark&&this.onUnmark()},isMarked:function(e){return this.element.getDocument().getById(this._.items[e]).hasClass("cke_selected")},focus:function(e){this._.focusIndex=-1;var t=this.element.getElementsByTag("a"),n,r=-1;if(e){for(n=this.element.getDocument().getById(this._.items[e]).getFirst();e=t.getItem(++r);)if(e.equals(n)){this._.focusIndex=r;break}}else this.element.focus();n&&setTimeout(function(){n.focus()},0)}}})}}),function(){var e=' {label}{arrowHtml}',t=CKEDITOR.addTemplate("buttonArrow",''+(CKEDITOR.env.hc?"▼":"")+""),n=CKEDITOR.addTemplate("button",e);CKEDITOR.plugins.add("button",{beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler)}}),CKEDITOR.UI_BUTTON="button",CKEDITOR.ui.button=function(e){CKEDITOR.tools.extend(this,e,{title:e.label,click:e.click||function(t){t.execCommand(e.command)}}),this._={}},CKEDITOR.ui.button.handler={create:function(e){return new CKEDITOR.ui.button(e)}},CKEDITOR.ui.button.prototype={render:function(e,r){function i(){var t=e.mode;t&&(t=this.modes[t]?d[t]!==void 0?d[t]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,t=e.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED:t,this.setState(t),this.refresh&&this.refresh())}var s=CKEDITOR.env,o=this._.id=CKEDITOR.tools.getNextId(),u="",a=this.command,f;this._.editor=e;var l={id:o,button:this,editor:e,focus:function(){CKEDITOR.document.getById(o).focus()},execute:function(){this.button.click(e)},attach:function(e){this.button.attach(e)}},c=CKEDITOR.tools.addFunction(function(e){if(l.onkey)return e=new CKEDITOR.dom.event(e),l.onkey(l,e.getKeystroke())!==!1}),h=CKEDITOR.tools.addFunction(function(e){var t;return l.onfocus&&(t=l.onfocus(l,new CKEDITOR.dom.event(e))!==!1),t}),p=0;l.clickFn=f=CKEDITOR.tools.addFunction(function(){p&&(e.unlockSelection(1),p=0),l.execute(),s.iOS&&e.focus()});if(this.modes){var d={};e.on("beforeModeUnload",function(){e.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(d[e.mode]=this._.state)},this),e.on("activeFilterChange",i,this),e.on("mode",i,this),!this.readOnly&&e.on("readOnly",i,this)}else a&&(a=e.getCommand(a))&&(a.on("state",function(){this.setState(a.state)},this),u+=a.state==CKEDITOR.TRISTATE_ON?"on":a.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");this.directional&&e.on("contentDirChanged",function(t){var n=CKEDITOR.document.getById(this._.id),r=n.getFirst(),t=t.data;t!=e.lang.dir?n.addClass("cke_"+t):n.removeClass("cke_ltr").removeClass("cke_rtl"),r.setAttribute("style",CKEDITOR.skin.getIconStyle(m,t=="rtl",this.icon,this.iconOffset))},this),a||(u+="off");var v=this.name||this.command,m=v;return this.icon&&!/\./.test(this.icon)&&(m=this.icon,this.icon=null),u={id:o,name:v,iconName:m,label:this.label,cls:this.className||"",state:u,ariaDisabled:u=="disabled"?"true":"false",title:this.title,titleJs:s.gecko&&!s.hc?"":(this.title||"").replace("'",""),hasArrow:this.hasArrow?"true":"false",keydownFn:c,focusFn:h,clickFn:f,style:CKEDITOR.skin.getIconStyle(m,e.lang.dir=="rtl",this.icon,this.iconOffset),arrowHtml:this.hasArrow?t.output():""},n.output(u,r),this.onRender&&this.onRender(),l},setState:function(e){if(this._.state==e)return!1;this._.state=e;var t=CKEDITOR.document.getById(this._.id);return t?(t.setState(e,"cke_button"),e==CKEDITOR.TRISTATE_DISABLED?t.setAttribute("aria-disabled",!0):t.removeAttribute("aria-disabled"),this.hasArrow?(e=e==CKEDITOR.TRISTATE_ON?this._.editor.lang.button.selectedLabel.replace(/%1/g,this.label):this.label,CKEDITOR.document.getById(this._.id+"_label").setText(e)):e==CKEDITOR.TRISTATE_ON?t.setAttribute("aria-pressed",!0):t.removeAttribute("aria-pressed"),!0):!1},getState:function(){return this._.state},toFeature:function(e){if(this._.feature)return this._.feature;var t=this;return!this.allowedContent&&!this.requiredContent&&this.command&&(t=e.getCommand(this.command)||t),this._.feature=t}},CKEDITOR.ui.prototype.addButton=function(e,t){this.add(e,CKEDITOR.UI_BUTTON,t)}}(),CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}}),function(){var e='{label}{label}'+(CKEDITOR.env.hc?"▼":CKEDITOR.env.air?" ":"")+""),t=CKEDITOR.addTemplate("combo",e);CKEDITOR.UI_RICHCOMBO="richcombo",CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(e){CKEDITOR.tools.extend(this,e,{canGroup:!1,title:e.label,modes:{wysiwyg:1},editorFocus:1}),e=this.panel||{},delete this.panel,this.id=CKEDITOR.tools.getNextNumber(),this.document=e.parent&&e.parent.getDocument()||CKEDITOR.document,e.className="cke_combopanel",e.block={multiSelect:e.multiSelect,attributes:e.attributes},e.toolbarRelated=!0,this._={panelDefinition:e,items:{}}},proto:{renderHtml:function(e){var t=[];return this.render(e,t),t.join("")},render:function(e,n){function r(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var t=this.modes[e.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;e.readOnly&&!this.readOnly&&(t=CKEDITOR.TRISTATE_DISABLED),this.setState(t),this.setValue(""),t!=CKEDITOR.TRISTATE_DISABLED&&this.refresh&&this.refresh()}}var i=CKEDITOR.env,s="cke_"+this.id,o=CKEDITOR.tools.addFunction(function(t){c&&(e.unlockSelection(1),c=0),a.execute(t)},this),u=this,a={id:s,combo:this,focus:function(){CKEDITOR.document.getById(s).getChild(1).focus()},execute:function(t){var n=u._;if(n.state!=CKEDITOR.TRISTATE_DISABLED){u.createPanel(e);if(n.on)n.panel.hide();else{u.commit();var r=u.getValue();r?n.list.mark(r):n.list.unmarkAll(),n.panel.showBlock(u.id,new CKEDITOR.dom.element(t),4)}}},clickFn:o};e.on("activeFilterChange",r,this),e.on("mode",r,this),e.on("selectionChange",r,this),!this.readOnly&&e.on("readOnly",r,this);var f=CKEDITOR.tools.addFunction(function(t,n){var t=new CKEDITOR.dom.event(t),r=t.getKeystroke();r==40&&e.once("panelShow",function(e){e.data._.panel._.currentBlock.onKeyDown(40)});switch(r){case 13:case 32:case 40:CKEDITOR.tools.callFunction(o,n);break;default:a.onkey(a,r)}t.preventDefault()}),l=CKEDITOR.tools.addFunction(function(){a.onfocus&&a.onfocus()}),c=0;return a.keyDownFn=f,i={id:s,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:i.gecko&&!i.hc?"":(this.title||"").replace("'",""),keydownFn:f,focusFn:l,clickFn:o},t.output(i,n),this.onRender&&this.onRender(),a},createPanel:function(e){if(!this._.panel){var t=this._.panelDefinition,n=this._.panelDefinition.block,r=t.parent||CKEDITOR.document.getBody(),i="cke_combopanel__"+this.name,s=new CKEDITOR.ui.floatPanel(e,r,t),o=s.addListBlock(this.id,n),u=this;s.onShow=function(){this.element.addClass(i),u.setState(CKEDITOR.TRISTATE_ON),u._.on=1,u.editorFocus&&!e.focusManager.hasFocus&&e.focus(),u.onOpen&&u.onOpen(),e.once("panelShow",function(){o.focus(!o.multiSelect&&u.getValue())})},s.onHide=function(t){this.element.removeClass(i),u.setState(u.modes&&u.modes[e.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),u._.on=0,!t&&u.onClose&&u.onClose()},s.onEscape=function(){s.hide(1)},o.onClick=function(e,t){u.onClick&&u.onClick.call(u,e,t),s.hide()},this._.panel=s,this._.list=o,s.getBlock(this.id).onHide=function(){u._.on=0,u.setState(CKEDITOR.TRISTATE_OFF)},this.init&&this.init()}},setValue:function(e,t){this._.value=e;var n=this.document.getById("cke_"+this.id+"_text");n&&(!e&&!t?(t=this.label,n.addClass("cke_combo_inlinelabel")):n.removeClass("cke_combo_inlinelabel"),n.setText(typeof t!="undefined"?t:e))},getValue:function(){return this._.value||""},unmarkAll:function(){this._.list.unmarkAll()},mark:function(e){this._.list.mark(e)},hideItem:function(e){this._.list.hideItem(e)},hideGroup:function(e){this._.list.hideGroup(e)},showAll:function(){this._.list.showAll()},add:function(e,t,n){this._.items[e]=n||e,this._.list.add(e,t,n)},startGroup:function(e){this._.list.startGroup(e)},commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire("ready",this)),this._.committed=1},setState:function(e){if(this._.state!=e){var t=this.document.getById("cke_"+this.id);t.setState(e,"cke_combo"),e==CKEDITOR.TRISTATE_DISABLED?t.setAttribute("aria-disabled",!0):t.removeAttribute("aria-disabled"),this._.state=e}},getState:function(){return this._.state},enable:function(){this._.state==CKEDITOR.TRISTATE_DISABLED&&this.setState(this._.lastState)},disable:function(){this._.state!=CKEDITOR.TRISTATE_DISABLED&&(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))}},statics:{handler:{create:function(e){return new CKEDITOR.ui.richCombo(e)}}}}),CKEDITOR.ui.prototype.addRichCombo=function(e,t){this.add(e,CKEDITOR.UI_RICHCOMBO,t)}}(),CKEDITOR.plugins.add("format",{requires:"richcombo",init:function(e){if(!e.blockless){for(var t=e.config,n=e.lang.format,r=t.format_tags.split(";"),i={},s=0,o=[],u=0;u"),n&&n.indent&&(this._.indentation=this._.indentation+this.indentationChars)),n&&n.breakAfterOpen&&this.lineBreak(),e=="pre"&&(this._.inPre=1)},attribute:function(e,t){typeof t=="string"&&(this.forceSimpleAmpersand&&(t=t.replace(/&/g,"&")),t=CKEDITOR.tools.htmlEncodeAttr(t)),this._.output.push(" ",e,'="',t,'"')},closeTag:function(e){var t=this._.rules[e];t&&t.indent&&(this._.indentation=this._.indentation.substr(this.indentationChars.length)),this._.indent?this.indentation():t&&t.breakBeforeClose&&(this.lineBreak(),this.indentation()),this._.output.push(""),e=="pre"&&(this._.inPre=0),t&&t.breakAfterClose&&(this.lineBreak(),this._.needsSpace=t.needsSpace),this._.afterCloser=1},text:function(e){this._.indent&&(this.indentation(),!this._.inPre&&(e=CKEDITOR.tools.ltrim(e))),this._.output.push(e)},comment:function(e){this._.indent&&this.indentation(),this._.output.push("")},lineBreak:function(){!this._.inPre&&this._.output.length>0&&this._.output.push(this.lineBreakChars),this._.indent=1},indentation:function(){!this._.inPre&&this._.indentation&&this._.output.push(this._.indentation),this._.indent=0},reset:function(){this._.output=[],this._.indent=0,this._.indentation="",this._.afterCloser=0,this._.inPre=0},setRules:function(e,t){var n=this._.rules[e];n?CKEDITOR.tools.extend(n,t,!0):this._.rules[e]=t}}}),function(){function e(e,t){t||(t=e.getSelection().getSelectedElement());if(t&&t.is("img")&&!t.data("cke-realelement")&&!t.isReadOnly())return t}function t(e){var t=e.getStyle("float");if(t=="inherit"||t=="none")t=0;return t||(t=e.getAttribute("align")),t}CKEDITOR.plugins.add("image",{requires:"dialog",init:function(t){if(!t.plugins.image2){CKEDITOR.dialog.add("image",this.path+"dialogs/image.js");var n="img[alt,!src]{border-style,border-width,float,height,margin,margin-bottom,margin-left,margin-right,margin-top,width}";CKEDITOR.dialog.isTabEnabled(t,"image","advanced")&&(n="img[alt,dir,id,lang,longdesc,!src,title]{*}(*)"),t.addCommand("image",new CKEDITOR.dialogCommand("image",{allowedContent:n,requiredContent:"img[alt,src]",contentTransformations:[["img{width}: sizeToStyle","img[width]: sizeToAttribute"],["img{float}: alignmentToStyle","img[align]: alignmentToAttribute"]]})),t.ui.addButton&&t.ui.addButton("Image",{label:t.lang.common.image,command:"image",toolbar:"insert,10"}),t.on("doubleclick",function(e){var t=e.data.element;t.is("img")&&!t.data("cke-realelement")&&!t.isReadOnly()&&(e.data.dialog="image")}),t.addMenuItems&&t.addMenuItems({image:{label:t.lang.image.menu,command:"image",group:"image"}}),t.contextMenu&&t.contextMenu.addListener(function(n){if(e(t,n))return{image:CKEDITOR.TRISTATE_OFF}})}},afterInit:function(n){function r(r){var i=n.getCommand("justify"+r);i&&((r=="left"||r=="right")&&i.on("exec",function(i){var s=e(n),o;s&&(o=t(s),o==r?(s.removeStyle("float"),r==t(s)&&s.removeAttribute("align")):s.setStyle("float",r),i.cancel())}),i.on("refresh",function(i){var s=e(n);s&&(s=t(s),this.setState(s==r?CKEDITOR.TRISTATE_ON:r=="right"||r=="left"?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),i.cancel())}))}n.plugins.image2||(r("left"),r("right"),r("center"),r("block"))}})}(),CKEDITOR.config.image_removeLinkByEmptyURL=!0,function(){function e(e,t){var n=r.exec(e),i=r.exec(t);if(n){if(!n[2]&&i[2]=="px")return i[1];if(n[2]=="px"&&!i[2])return i[1]+"px"}return t}var t=CKEDITOR.htmlParser.cssStyle,n=CKEDITOR.tools.cssLength,r=/^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i,i={elements:{$:function(n){var r=n.attributes;if((r=(r=(r=r&&r["data-cke-realelement"])&&new CKEDITOR.htmlParser.fragment.fromHtml(decodeURIComponent(r)))&&r.children[0])&&n.attributes["data-cke-resizable"]){var i=(new t(n)).rules,n=r.attributes,s=i.width,i=i.height;s&&(n.width=e(n.width,s)),i&&(n.height=e(n.height,i))}return r}}};CKEDITOR.plugins.add("fakeobjects",{init:function(e){e.filter.allow("img[!data-cke-realelement,src,alt,title](*){*}","fakeobjects")},afterInit:function(e){(e=(e=e.dataProcessor)&&e.htmlFilter)&&e.addRules(i,{applyToAll:!0})}}),CKEDITOR.editor.prototype.createFakeElement=function(e,r,i,s){var o=this.lang.fakeobjects,o=o[i]||o.unknown,r={"class":r,"data-cke-realelement":encodeURIComponent(e.getOuterHtml()),"data-cke-real-node-type":e.type,alt:o,title:o,align:e.getAttribute("align")||""};return CKEDITOR.env.hc||(r.src=CKEDITOR.tools.transparentImageData),i&&(r["data-cke-real-element-type"]=i),s&&(r["data-cke-resizable"]=s,i=new t,s=e.getAttribute("width"),e=e.getAttribute("height"),s&&(i.rules.width=n(s)),e&&(i.rules.height=n(e)),i.populate(r)),this.document.createElement("img",{attributes:r})},CKEDITOR.editor.prototype.createFakeParserElement=function(e,r,i,s){var o=this.lang.fakeobjects,o=o[i]||o.unknown,u;return u=new CKEDITOR.htmlParser.basicWriter,e.writeHtml(u),u=u.getHtml(),r={"class":r,"data-cke-realelement":encodeURIComponent(u),"data-cke-real-node-type":e.type,alt:o,title:o,align:e.attributes.align||""},CKEDITOR.env.hc||(r.src=CKEDITOR.tools.transparentImageData),i&&(r["data-cke-real-element-type"]=i),s&&(r["data-cke-resizable"]=s,s=e.attributes,e=new t,i=s.width,s=s.height,i!==void 0&&(e.rules.width=n(i)),s!==void 0&&(e.rules.height=n(s)),e.populate(r)),new CKEDITOR.htmlParser.element("img",r)},CKEDITOR.editor.prototype.restoreRealElement=function(t){if(t.data("cke-real-node-type")!=CKEDITOR.NODE_ELEMENT)return null;var n=CKEDITOR.dom.element.createFromHtml(decodeURIComponent(t.data("cke-realelement")),this.document);if(t.data("cke-resizable")){var r=t.getStyle("width"),t=t.getStyle("height");r&&n.setAttribute("width",e(n.getAttribute("width"),r)),t&&n.setAttribute("height",e(n.getAttribute("height"),t))}return n}}(),"use strict",function(){function e(e){return e.replace(/'/g,"\\$&")}function t(e){for(var t,n=e.length,r=[],i=0;i0&&o.push(","),o.push("'",s?e(encodeURIComponent(n[r])):"","'");return o.push(")"),o.join("")}function r(e){var e=e.config.emailProtection||"",t;return e&&e!="encode"&&(t={},e.replace(/^([^(]+)\(([^)]+)\)$/,function(e,n,r){t.name=n,t.params=[],r.replace(/[^,\s]+/g,function(e){t.params.push(e)})})),t}CKEDITOR.plugins.add("link",{requires:"dialog,fakeobjects",onLoad:function(){function e(e){return n.replace(/%1/g,e=="rtl"?"right":"left").replace(/%2/g,"cke_contents_"+e)}var t="background:url("+CKEDITOR.getUrl(this.path+"images"+(CKEDITOR.env.hidpi?"/hidpi":"")+"/anchor.png")+") no-repeat %1 center;border:1px dotted #00f;background-size:16px;",n=".%2 a.cke_anchor,.%2 a.cke_anchor_empty,.cke_editable.%2 a[name],.cke_editable.%2 a[data-cke-saved-name]{"+t+"padding-%1:18px;cursor:auto;}.%2 img.cke_anchor{"+t+"width:16px;min-height:15px;height:1.15em;vertical-align:text-bottom;}";CKEDITOR.addCss(e("ltr")+e("rtl"))},init:function(e){var t="a[!href]";CKEDITOR.dialog.isTabEnabled(e,"link","advanced")&&(t=t.replace("]",",accesskey,charset,dir,id,lang,name,rel,tabindex,title,type]{*}(*)")),CKEDITOR.dialog.isTabEnabled(e,"link","target")&&(t=t.replace("]",",target,onclick]")),e.addCommand("link",new CKEDITOR.dialogCommand("link",{allowedContent:t,requiredContent:"a[href]"})),e.addCommand("anchor",new CKEDITOR.dialogCommand("anchor",{allowedContent:"a[!name,id]",requiredContent:"a[name]"})),e.addCommand("unlink",new CKEDITOR.unlinkCommand),e.addCommand("removeAnchor",new CKEDITOR.removeAnchorCommand),e.setKeystroke(CKEDITOR.CTRL+76,"link"),e.ui.addButton&&(e.ui.addButton("Link",{label:e.lang.link.toolbar,command:"link",toolbar:"links,10"}),e.ui.addButton("Unlink",{label:e.lang.link.unlink,command:"unlink",toolbar:"links,20"}),e.ui.addButton("Anchor",{label:e.lang.link.anchor.toolbar,command:"anchor",toolbar:"links,30"})),CKEDITOR.dialog.add("link",this.path+"dialogs/link.js"),CKEDITOR.dialog.add("anchor",this.path+"dialogs/anchor.js"),e.on("doubleclick",function(t){var n=CKEDITOR.plugins.link.getSelectedLink(e)||t.data.element;n.isReadOnly()||(n.is("a")?(t.data.dialog=n.getAttribute("name")&&(!n.getAttribute("href")||!n.getChildCount())?"anchor":"link",t.data.link=n):CKEDITOR.plugins.link.tryRestoreFakeAnchor(e,n)&&(t.data.dialog="anchor"))},null,null,0),e.on("doubleclick",function(t){t.data.dialog in{link:1,anchor:1}&&t.data.link&&e.getSelection().selectElement(t.data.link)},null,null,20),e.addMenuItems&&e.addMenuItems({anchor:{label:e.lang.link.anchor.menu,command:"anchor",group:"anchor",order:1},removeAnchor:{label:e.lang.link.anchor.remove,command:"removeAnchor",group:"anchor",order:5},link:{label:e.lang.link.menu,command:"link",group:"link",order:1},unlink:{label:e.lang.link.unlink,command:"unlink",group:"link",order:5}}),e.contextMenu&&e.contextMenu.addListener(function(t){if(!t||t.isReadOnly())return null;t=CKEDITOR.plugins.link.tryRestoreFakeAnchor(e,t);if(!t&&!(t=CKEDITOR.plugins.link.getSelectedLink(e)))return null;var n={};return t.getAttribute("href")&&t.getChildCount()&&(n={link:CKEDITOR.TRISTATE_OFF,unlink:CKEDITOR.TRISTATE_OFF}),t&&t.hasAttribute("name")&&(n.anchor=n.removeAnchor=CKEDITOR.TRISTATE_OFF),n}),this.compiledProtectionFunction=r(e)},afterInit:function(e){e.dataProcessor.dataFilter.addRules({elements:{a:function(t){return t.attributes.name?t.children.length?null:e.createFakeParserElement(t,"cke_anchor","anchor"):null}}});var t=e._.elementsPath&&e._.elementsPath.filters;t&&t.push(function(t,n){if(n=="a"&&(CKEDITOR.plugins.link.tryRestoreFakeAnchor(e,t)||t.getAttribute("name")&&(!t.getAttribute("href")||!t.getChildCount())))return"anchor"})}});var i=/^javascript:/,s=/^mailto:([^?]+)(?:\?(.+))?$/,o=/subject=([^;?:@&=$,\/]*)/,u=/body=([^;?:@&=$,\/]*)/,a=/^#(.*)$/,f=/^((?:http|https|ftp|news):\/\/)?(.*)$/,l=/^(_(?:self|top|parent|blank))$/,c=/^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/,h=/^javascript:([^(]+)\(([^)]+)\)$/,p=/\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/,d=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,v={id:"advId",dir:"advLangDir",accessKey:"advAccessKey",name:"advName",lang:"advLangCode",tabindex:"advTabIndex",title:"advTitle",type:"advContentType","class":"advCSSClasses",charset:"advCharset",style:"advStyles",rel:"advRel"};CKEDITOR.plugins.link={getSelectedLink:function(e){var t=e.getSelection(),n=t.getSelectedElement();return n&&n.is("a")?n:(t=t.getRanges()[0])?(t.shrink(CKEDITOR.SHRINK_TEXT),e.elementPath(t.getCommonAncestor()).contains("a",1)):null},getEditorAnchors:function(e){for(var t=e.editable(),n=t.isInline()&&!e.plugins.divarea?e.document:t,t=n.getElementsByTag("a"),n=n.getElementsByTag("img"),r=[],i=0,s;s=t.getItem(i++);)(s.data("cke-saved-name")||s.hasAttribute("name"))&&r.push({name:s.data("cke-saved-name")||s.getAttribute("name"),id:s.getAttribute("id")});for(i=0;s=n.getItem(i++);)(s=this.tryRestoreFakeAnchor(e,s))&&r.push({name:s.getAttribute("name"),id:s.getAttribute("id")});return r},fakeAnchor:!0,tryRestoreFakeAnchor:function(e,t){if(t&&t.data("cke-real-element-type")&&t.data("cke-real-element-type")=="anchor"){var n=e.restoreRealElement(t);if(n.data("cke-saved-name"))return n}},parseLinkAttributes:function(e,t){var n=t&&(t.data("cke-saved-href")||t.getAttribute("href"))||"",r=e.plugins.link.compiledProtectionFunction,g=e.config.emailProtection,y,b={};n.match(i)&&(g=="encode"?n=n.replace(c,function(e,t,n){return"mailto:"+String.fromCharCode.apply(String,t.split(","))+(n&&n.replace(/\\'/g,"'"))}):g&&n.replace(h,function(e,t,n){if(t==r.name){b.type="email";for(var e=b.email={},t=/(^')|('$)/g,n=n.match(/[^,\s]+/g),i=n.length,s,o,u=0;u',t),r=CKEDITOR.getUrl(this.path+"images/"+(C.hidpi?"hidpi/":"")+"icon"+(e.rtl?"-rtl":"")+".png");x(n,{attach:function(){return this.wrap.getParent()||this.wrap.appendTo(e.editable,!0),this},lineChildren:[x(N('',t),{base:W+"height:17px;width:17px;"+(e.rtl?"left":"right")+":17px;background:url("+r+") center no-repeat "+e.boxColor+";cursor:pointer;"+(C.hc?"font-size: 15px;line-height:14px;border:1px solid #fff;text-align:center;":"")+(C.hidpi?"background-size: 9px 10px;":""),looks:["top:-8px;"+CKEDITOR.tools.cssVendorPrefix("border-radius","2px",1),"top:-17px;"+CKEDITOR.tools.cssVendorPrefix("border-radius","2px 2px 0px 0px",1),"top:-1px;"+CKEDITOR.tools.cssVendorPrefix("border-radius","0px 0px 2px 2px",1)]}),x(N(V,t),{base:X+"left:0px;border-left-color:"+e.boxColor+";",looks:["border-width:8px 0 8px 8px;top:-8px","border-width:8px 0 0 8px;top:-8px","border-width:0 0 8px 8px;top:0px"]}),x(N(V,t),{base:X+"right:0px;border-right-color:"+e.boxColor+";",looks:["border-width:8px 8px 8px 0;top:-8px","border-width:8px 8px 0 0;top:-8px","border-width:0 8px 8px 0;top:0px"]})],detach:function(){return this.wrap.getParent()&&this.wrap.remove(),this},mouseNear:function(){b(e,this);var t=e.holdDistance,n=this.size;return n&&e.mouse.y>n.top-t&&e.mouse.yn.left-t&&e.mouse.xt.scroll.y-15&&a.topt.pane.bottom-5&&a.tope.mouse.y:t.size.bottom(e.inInlineMode?i.editable.top+i.editable.height/2:Math.min(i.editable.height,i.pane.height)/2),n=n[o?"getLast":"getFirst"](function(e){return!J(e)&&!K(e)});return n?(f(e,n)&&(n=e.line.wrap[o?"getPrevious":"getNext"](function(e){return!J(e)&&!K(e)})),!l(n)||c(n)||!p(e,n)?null:(b(e,n),!o&&n.size.top>=0&&r.y>0&&r.yn.size.bottom-s&&r.yi.pane.height-s&&n.size.bottomu.size.top-1&&r.yu.size.bottom-o&&r.yu.size.bottom-o&&r.ys.pane.height-o&&u.size.bottom0&&r.ynew Date-z)return null}else t.size={};return x(t.size,y(e,t,n),{date:+(new Date)},!0)}function w(e,t){e.view.editable=y(e,e.editable,t,!0)}function E(e,t){e.view||(e.view={});var n=e.view;if(t||!(n&&n.date>new Date-z)){var r=e.win,n=r.getScrollPosition(),r=r.getViewPaneSize();x(e.view,{scroll:{x:n.x,y:n.y,width:e.doc.$.documentElement.scrollWidth-r.width,height:e.doc.$.documentElement.scrollHeight-r.height},pane:{width:r.width,height:r.height,bottom:r.height+n.y},date:+(new Date)},!0)}}function S(e,n,r,i){for(var s=i,o=i,u=0,a=!1,f=!1,l=e.view.pane.height,c=e.mouse;c.y+u0;){a||(a=n(s,i)),f||(f=n(o,i)),!a&&c.y-u>0&&(s=r(e,{x:c.x,y:c.y-u})),!f&&c.y+ur.left-i.x&&nr.top-i.y&&t"+F+"";A[CKEDITOR.ENTER_BR]="br",A[CKEDITOR.ENTER_P]="p",A[CKEDITOR.ENTER_DIV]="div",t.prototype={set:function(e,t,n){return this.properties=e+t+(n||j),this},is:function(e){return(this.properties&e)==e}};var $=function(){function e(e,t){var n=e.$.elementFromPoint(t.x,t.y);return n&&n.nodeType?new CKEDITOR.dom.element(n):null}return function(t,n,r){if(!t.mouse)return null;var i=t.doc,s=t.line.wrap,r=r||t.mouse,o=e(i,r);return n&&f(t,o)&&(s.hide(),o=e(i,r),s.show()),!o||o.type!=CKEDITOR.NODE_ELEMENT||!o.$||C.ie&&C.version<9&&!t.boundary.equals(o)&&!t.boundary.contains(o)?null:o}}(),J=CKEDITOR.dom.walker.whitespaces(),K=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT),Q=function(){function t(t){var i=t.element,s,o,u;if(!l(i)||i.contains(t.editable)||i.isReadOnly())return null;u=S(t,function(e,t){return!t.equals(e)},function(e,t){return $(e,!0,t)},i),s=u.upper,o=u.lower;if(e(t,s,o))return u.set(_,P);if(s&&i.contains(s))for(;!s.getParent().equals(i);)s=s.getParent();else s=i.getFirst(function(e){return n(t,e)});if(o&&i.contains(o))for(;!o.getParent().equals(i);)o=o.getParent();else o=i.getLast(function(e){return n(t,e)});if(!s||!o)return null;b(t,s),b(t,o);if(t.mouse.y>s.size.top&&t.mouse.yc.size.top&&t.mouse.y0)for(var n=t.length-1;n>=0;n--){var r=t[n][0],i=t[n][1];i?r.insertBefore(i):r.appendTo(e)}}function n(n,r){var i=e(n),s={},o=n.$;return r||(s["class"]=o.className||"",o.className=""),s.inline=o.style.cssText||"",r||(o.style.cssText="position: static; overflow: visible"),t(i),s}function r(n,r){var i=e(n),s=n.$;"class"in r&&(s.className=r["class"]),"inline"in r&&(s.style.cssText=r.inline),t(i)}function i(e){if(!e.editable().isInline()){var t=CKEDITOR.instances,n;for(n in t){var r=t[n];r.mode=="wysiwyg"&&!r.readOnly&&(r=r.document.getBody(),r.setAttribute("contentEditable",!1),r.setAttribute("contentEditable",!0))}e.editable().hasFocus&&(e.toolbox.focus(),e.focus())}}CKEDITOR.plugins.add("maximize",{init:function(e){function t(){var t=u.getViewPaneSize();e.resize(t.width,t.height,null,!0)}if(e.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var s=e.lang,o=CKEDITOR.document,u=o.getWindow(),a,f,l,h=CKEDITOR.TRISTATE_OFF;e.addCommand("maximize",{modes:{wysiwyg:!CKEDITOR.env.iOS,source:!CKEDITOR.env.iOS},readOnly:1,editorFocus:!1,exec:function(){var p=e.container.getFirst(function(e){return e.type==CKEDITOR.NODE_ELEMENT&&e.hasClass("cke_inner")}),d=e.ui.space("contents");if(e.mode=="wysiwyg"){var v=e.getSelection();a=v&&v.getRanges(),f=u.getScrollPosition()}else{var m=e.editable().$;a=!CKEDITOR.env.ie&&[m.selectionStart,m.selectionEnd],f=[m.scrollLeft,m.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){u.on("resize",t),l=u.getScrollPosition();for(v=e.container;v=v.getParent();)v.setCustomData("maximize_saved_styles",n(v)),v.setStyle("z-index",e.config.baseFloatZIndex-5);d.setCustomData("maximize_saved_styles",n(d,!0)),p.setCustomData("maximize_saved_styles",n(p,!0)),d={overflow:CKEDITOR.env.webkit?"":"hidden",width:0,height:0},o.getDocumentElement().setStyles(d),!CKEDITOR.env.gecko&&o.getDocumentElement().setStyle("position","fixed"),(!CKEDITOR.env.gecko||!CKEDITOR.env.quirks)&&o.getBody().setStyles(d),CKEDITOR.env.ie?setTimeout(function(){u.$.scrollTo(0,0)},0):u.$.scrollTo(0,0),p.setStyle("position",CKEDITOR.env.gecko&&CKEDITOR.env.quirks?"fixed":"absolute"),p.$.offsetLeft,p.setStyles({"z-index":e.config.baseFloatZIndex-5,left:"0px",top:"0px"}),p.addClass("cke_maximized"),t(),d=p.getDocumentPosition(),p.setStyles({left:-1*d.x+"px",top:-1*d.y+"px"}),CKEDITOR.env.gecko&&i(e)}else if(this.state==CKEDITOR.TRISTATE_ON){u.removeListener("resize",t),d=[d,p];for(v=0;vt&&(u.resize_minWidth=t),u.resize_minHeight>n&&(u.resize_minHeight=n),CKEDITOR.document.on("mousemove",s),CKEDITOR.document.on("mouseup",o),e.document&&(e.document.on("mousemove",s),e.document.on("mouseup",o)),a.preventDefault&&a.preventDefault()});e.on("destroy",function(){CKEDITOR.tools.removeFunction(p)}),e.on("uiSpace",function(t){if(t.data.space=="bottom"){var n="";c&&!h&&(n=" cke_resizer_horizontal"),!c&&h&&(n=" cke_resizer_vertical");var r=''+(f=="ltr"?"◢":"◣")+"";f=="ltr"&&n=="ltr"?t.data.html=t.data.html+r:t.data.html=r+t.data.html}},e,null,100),e.on("maximize",function(t){e.ui.space("resizer")[t.data==CKEDITOR.TRISTATE_ON?"hide":"show"]()})}}}),CKEDITOR.plugins.add("menubutton",{requires:"button,menu",onLoad:function(){var e=function(e){var t=this._,n=t.menu;t.state!==CKEDITOR.TRISTATE_DISABLED&&(t.on&&n?n.hide():(t.previousState=t.state,n||(n=t.menu=new CKEDITOR.menu(e,{panel:{className:"cke_menu_panel",attributes:{"aria-label":e.lang.common.options}}}),n.onHide=CKEDITOR.tools.bind(function(){var n=this.command?e.getCommand(this.command).modes:this.modes;this.setState(!n||n[e.mode]?t.previousState:CKEDITOR.TRISTATE_DISABLED),t.on=0},this),this.onMenu&&n.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),t.on=1,setTimeout(function(){n.show(CKEDITOR.document.getById(t.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(t){delete t.panel,this.base(t),this.hasArrow=!0,this.click=e},statics:{handler:{create:function(e){return new CKEDITOR.ui.menuButton(e)}}}})},beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_MENUBUTTON,CKEDITOR.ui.menuButton.handler)}}),CKEDITOR.UI_MENUBUTTON="menubutton","use strict",CKEDITOR.plugins.add("scayt",{requires:"menubutton,dialog",tabToOpen:null,dialogName:"scaytDialog",init:function(e){var t=this,n=CKEDITOR.plugins.scayt;this.bindEvents(e),this.parseConfig(e),this.addRule(e),CKEDITOR.dialog.add(this.dialogName,CKEDITOR.getUrl(this.path+"dialogs/options.js")),this.addMenuItems(e);var r=e.lang.scayt,i=CKEDITOR.env;e.ui.add("Scayt",CKEDITOR.UI_MENUBUTTON,{label:r.text_title,title:e.plugins.wsc?e.lang.wsc.title:r.text_title,modes:{wysiwyg:!i.ie||!(i.version<8||i.quirks)},toolbar:"spellchecker,20",refresh:function(){var t=e.ui.instances.Scayt.getState();e.scayt&&(t=n.state[e.name]?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF),e.fire("scaytButtonState",t)},onRender:function(){var t=this;e.on("scaytButtonState",function(e){typeof e.data!==void 0&&t.setState(e.data)})},onMenu:function(){var t=e.scayt;return e.getMenuItem("scaytToggle").label=e.lang.scayt[t&&n.state[e.name]?"btn_disable":"btn_enable"],t={scaytToggle:CKEDITOR.TRISTATE_OFF,scaytOptions:t?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytLangs:t?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytDict:t?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,scaytAbout:t?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,WSC:e.plugins.wsc?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED},e.config.scayt_uiTabs[0]||delete t.scaytOptions,e.config.scayt_uiTabs[1]||delete t.scaytLangs,e.config.scayt_uiTabs[2]||delete t.scaytDict,t}}),e.contextMenu&&e.addMenuItems&&(e.contextMenu.addListener(function(){var n=e.scayt,r;if(n){var i=n.getSelectionNode();if(i=i?i.getAttribute(n.getNodeAttribute()):i)r=t.menuGenerator(e,i,t),n.showBanner("."+e.contextMenu._.definition.panel.className.split(" ").join(" ."))}return r}),e.contextMenu._.onHide=CKEDITOR.tools.override(e.contextMenu._.onHide,function(t){return function(){var n=e.scayt;return n&&n.hideBanner(),t.apply(this)}}))},addMenuItems:function(e){var t=this,n=CKEDITOR.plugins.scayt;e.addMenuGroup("scaytButton");var r=e.config.scayt_contextMenuItemsOrder.split("|");if(r&&r.length)for(var i=0;i0&&t[0]!=="no_any_suggestions")for(var s=0;s tr > td, .%1 table.%2 > tr > th,",".%1 table.%2 > tbody > tr > td, .%1 table.%2 > tbody > tr > th,",".%1 table.%2 > thead > tr > td, .%1 table.%2 > thead > tr > th,",".%1 table.%2 > tfoot > tr > td, .%1 table.%2 > tfoot > tr > th","{","border : #d3d3d3 1px dotted","}"]).join("").replace(/%2/g,"cke_show_border").replace(/%1/g,"cke_show_borders "),CKEDITOR.addCss(e)},init:function(t){var n=t.addCommand("showborders",e);n.canUndo=!1,t.config.startupShowBorders!==!1&&n.setState(CKEDITOR.TRISTATE_ON),t.on("mode",function(){n.state!=CKEDITOR.TRISTATE_DISABLED&&n.refresh(t)},null,null,100),t.on("contentDom",function(){n.state!=CKEDITOR.TRISTATE_DISABLED&&n.refresh(t)}),t.on("removeFormatCleanup",function(e){e=e.data,t.getCommand("showborders").state==CKEDITOR.TRISTATE_ON&&e.is("table")&&(!e.hasAttribute("border")||parseInt(e.getAttribute("border"),10)<=0)&&e.addClass("cke_show_border")})},afterInit:function(e){var t=e.dataProcessor,e=t&&t.dataFilter,t=t&&t.htmlFilter;e&&e.addRules({elements:{table:function(e){var e=e.attributes,t=e["class"],n=parseInt(e.border,10);(!n||n<=0)&&(!t||t.indexOf("cke_show_border")==-1)&&(e["class"]=(t||"")+" cke_show_border")}}}),t&&t.addRules({elements:{table:function(e){var e=e.attributes,t=e["class"];t&&(e["class"]=t.replace("cke_show_border","").replace(/\s{2}/," ").replace(/^\s+|\s+$/,""))}}})}}),CKEDITOR.on("dialogDefinition",function(e){var t=e.data.name;if(t=="table"||t=="tableProperties"){e=e.data.definition,t=e.getContents("info").get("txtBorder"),t.commit=CKEDITOR.tools.override(t.commit,function(e){return function(t,n){e.apply(this,arguments);var r=parseInt(this.getValue(),10);n[!r||r<=0?"addClass":"removeClass"]("cke_show_border")}});if(e=(e=e.getContents("advanced"))&&e.get("advCSSClasses"))e.setup=CKEDITOR.tools.override(e.setup,function(e){return function(){e.apply(this,arguments),this.setValue(this.getValue().replace(/cke_show_border/,""))}}),e.commit=CKEDITOR.tools.override(e.commit,function(e){return function(t,n){e.apply(this,arguments),parseInt(n.getAttribute("border"),10)||n.addClass("cke_show_border")}})}})}(),function(){CKEDITOR.plugins.add("sourcearea",{init:function(t){function n(){var e=i&&this.equals(CKEDITOR.document.getActive());this.hide(),this.setStyle("height",this.getParent().$.clientHeight+"px"),this.setStyle("width",this.getParent().$.clientWidth+"px"),this.show(),e&&this.focus()}if(t.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var r=CKEDITOR.plugins.sourcearea;t.addMode("source",function(r){var i=t.ui.space("contents").getDocument().createElement("textarea");i.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?"99%":"100%",height:"100%",resize:"none",outline:"none","text-align":"left"},CKEDITOR.tools.cssVendorPrefix("tab-size",t.config.sourceAreaTabSize||4))),i.setAttribute("dir","ltr"),i.addClass("cke_source cke_reset cke_enable_context_menu"),t.ui.space("contents").append(i),i=t.editable(new e(t,i)),i.setData(t.getData(1)),CKEDITOR.env.ie&&(i.attachListener(t,"resize",n,i),i.attachListener(CKEDITOR.document.getWindow(),"resize",n,i),CKEDITOR.tools.setTimeout(n,0,i)),t.fire("ariaWidget",this),r()}),t.addCommand("source",r.commands.source),t.ui.addButton&&t.ui.addButton("Source",{label:t.lang.sourcearea.toolbar,command:"source",toolbar:"mode,10"}),t.on("mode",function(){t.getCommand("source").setState(t.mode=="source"?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)});var i=CKEDITOR.env.ie&&CKEDITOR.env.version==9}}});var e=CKEDITOR.tools.createClass({base:CKEDITOR.editable,proto:{setData:function(e){this.setValue(e),this.status="ready",this.editor.fire("dataReady")},getData:function(){return this.getValue()},insertHtml:function(){},insertElement:function(){},insertText:function(){},setReadOnly:function(e){this[(e?"set":"remove")+"Attribute"]("readOnly","readonly")},detach:function(){e.baseProto.detach.call(this),this.clearCustomData(),this.remove()}}})}(),CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(e){e.mode=="wysiwyg"&&e.fire("saveSnapshot"),e.getCommand("source").setState(CKEDITOR.TRISTATE_DISABLED),e.setMode(e.mode=="source"?"wysiwyg":"source")},canUndo:!1}}},CKEDITOR.plugins.add("specialchar",{availableLangs:{af:1,ar:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,en:1,"en-gb":1,eo:1,es:1,et:1,fa:1,fi:1,fr:1,"fr-ca":1,gl:1,he:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ku:1,lt:1,lv:1,nb:1,nl:1,no:1,pl:1,pt:1,"pt-br":1,ru:1,si:1,sk:1,sl:1,sq:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,"zh-cn":1},requires:"dialog",init:function(e){var t=this;CKEDITOR.dialog.add("specialchar",this.path+"dialogs/specialchar.js"),e.addCommand("specialchar",{exec:function(){var n=e.langCode,n=t.availableLangs[n]?n:t.availableLangs[n.replace(/-.*/,"")]?n.replace(/-.*/,""):"en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(t.path+"dialogs/lang/"+n+".js"),function(){CKEDITOR.tools.extend(e.lang.specialchar,t.langEntries[n]),e.openDialog("specialchar")})},modes:{wysiwyg:1},canUndo:!1}),e.ui.addButton&&e.ui.addButton("SpecialChar",{label:e.lang.specialchar.toolbar,command:"specialchar",toolbar:"insert,50"})}}),CKEDITOR.config.specialChars="! " # $ % & ' ( ) * + - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ € ‘ ’ “ ” – — ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯ ° ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ Œ œ Ŵ Ŷ ŵ ŷ ‚ ‛ „ … ™ ► • → ⇒ ⇔ ♦ ≈".split(" "),function(){CKEDITOR.plugins.add("stylescombo",{requires:"richcombo",init:function(e){var t=e.config,n=e.lang.stylescombo,r={},i=[],s=[];e.on("stylesSet",function(n){if(n=n.data.styles){for(var o,u,f,l=0,h=n.length;ln&&(!s||!o||ao&&(s=a,o=u)}else{if(r&&u==n){s=a;break}uo)&&(s=a,o=u)}}s&&s.focus()},CKEDITOR.plugins.add("table",{requires:"dialog",init:function(e){function t(e){return CKEDITOR.tools.extend(e||{},{contextSensitive:1,refresh:function(e,t){this.setState(t.contains("table",1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!e.blockless){var n=e.lang.table;e.addCommand("table",new CKEDITOR.dialogCommand("table",{context:"table",allowedContent:"table{width,height}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];"+(e.plugins.dialogadvtab?"table"+e.plugins.dialogadvtab.allowedContent():""),requiredContent:"table",contentTransformations:[["table{width}: sizeToStyle","table[width]: sizeToAttribute"]]})),e.addCommand("tableProperties",new CKEDITOR.dialogCommand("tableProperties",t())),e.addCommand("tableDelete",t({exec:function(e){var t=e.elementPath().contains("table",1);if(t){var n=t.getParent(),r=e.editable();n.getChildCount()==1&&!n.is("td","th")&&!n.equals(r)&&(t=n),e=e.createRange(),e.moveToPosition(t,CKEDITOR.POSITION_BEFORE_START),t.remove(),e.select()}}})),e.ui.addButton&&e.ui.addButton("Table",{label:n.toolbar,command:"table",toolbar:"insert,30"}),CKEDITOR.dialog.add("table",this.path+"dialogs/table.js"),CKEDITOR.dialog.add("tableProperties",this.path+"dialogs/table.js"),e.addMenuItems&&e.addMenuItems({table:{label:n.menu,command:"tableProperties",group:"table",order:5},tabledelete:{label:n.deleteTable,command:"tableDelete",group:"table",order:1}}),e.on("doubleclick",function(e){e.data.element.is("table")&&(e.data.dialog="tableProperties")}),e.contextMenu&&e.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}}),function(){function e(e){function t(e){!(n.length>0)&&e.type==CKEDITOR.NODE_ELEMENT&&h.test(e.getName())&&!e.getCustomData("selected_cell")&&(CKEDITOR.dom.element.setMarker(r,e,"selected_cell",!0),n.push(e))}for(var e=e.getRanges(),n=[],r={},i=0;i1&&u&&s[a]==u[a]?(f=s[a],f.rowSpan=f.rowSpan+1):(f=(new CKEDITOR.dom.element(s[a])).clone(),f.removeAttribute("rowSpan"),f.appendBogus(),i.append(f),f=f.$),a+=f.colSpan-1}n?i.insertBefore(o):i.insertAfter(o)}function n(t){if(t instanceof CKEDITOR.dom.selection){for(var r=e(t),i=r[0].getAscendant("table"),s=CKEDITOR.tools.buildTableMap(i),t=r[0].getParent().$.rowIndex,r=r[r.length-1],o=r.getParent().$.rowIndex+r.$.rowSpan-1,r=[],u=t;u<=o;u++){for(var a=s[u],f=new CKEDITOR.dom.element(i.$.rows[u]),l=0;l0?s[t-1]:null)||i.$.parentNode);for(u=r.length;u>=0;u--)n(r[u]);return i}return t instanceof CKEDITOR.dom.element&&(i=t.getAscendant("table"),i.$.rows.length==1?i.remove():t.remove()),null}function r(e,t){for(var n=t?Infinity:0,r=0;rn)n=i}return n}function i(t,n){for(var i=e(t),s=i[0].getAscendant("table"),o=r(i,1),i=r(i),o=n?o:i,u=CKEDITOR.tools.buildTableMap(s),s=[],i=[],a=u.length,f=0;f1&&i[f]==s[f]?(o=s[f],o.colSpan=o.colSpan+1):(o=(new CKEDITOR.dom.element(s[f])).clone(),o.removeAttribute("colSpan"),o.appendBogus(),o[n?"insertBefore":"insertAfter"].call(o,new CKEDITOR.dom.element(s[f])),o=o.$),f+=o.rowSpan-1)}function s(e,t){var n=e.getStartElement();if(n=n.getAscendant("td",1)||n.getAscendant("th",1)){var r=n.clone();r.appendBogus(),t?r.insertBefore(n):r.insertAfter(n)}}function o(t){if(t instanceof CKEDITOR.dom.selection){var t=e(t),n=t[0]&&t[0].getAscendant("table"),r;e:{var i=0;r=t.length-1;for(var s={},a,f;a=t[i++];)CKEDITOR.dom.element.setMarker(s,a,"delete_cell",!0);for(i=0;a=t[i++];)if((f=a.getPrevious())&&!f.getCustomData("delete_cell")||(f=a.getNext())&&!f.getCustomData("delete_cell")){CKEDITOR.dom.element.clearAllMarkers(s),r=f;break e}CKEDITOR.dom.element.clearAllMarkers(s),f=t[0].getParent(),(f=f.getPrevious())?r=f.getLast():(f=t[r].getParent(),r=(f=f.getNext())?f.getChild(0):null)}for(f=t.length-1;f>=0;f--)o(t[f]);r?u(r,!0):n&&n.remove()}else t instanceof CKEDITOR.dom.element&&(n=t.getParent(),n.getChildCount()==1?n.remove():t.remove())}function u(e,t){var n=e.getDocument(),r=CKEDITOR.document;CKEDITOR.env.ie&&CKEDITOR.env.version==10&&(r.focus(),n.focus()),n=new CKEDITOR.dom.range(n),n["moveToElementEdit"+(t?"End":"Start")](e)||(n.selectNodeContents(e),n.collapse(t?!1:!0)),n.select(!0)}function a(e,t,n){e=e[t];if(typeof n=="undefined")return e;for(t=0;e&&t=l?t.removeAttribute("rowSpan"):t.$.rowSpan=p,p>=f?t.removeAttribute("colSpan"):t.$.colSpan=d,r=new CKEDITOR.dom.nodeList(s.$.rows),i=r.count();for(n=i-1;n>=0;n--)s=r.getItem(n),s.$.cells.length||(s.remove(),i++);return t}function l(t,n){var r=e(t);if(r.length>1)return!1;if(n)return!0;var r=r[0],i=r.getParent(),s=i.getAscendant("table"),o=CKEDITOR.tools.buildTableMap(s),u=i.$.rowIndex,f=a(o,u,r),l=r.$.rowSpan,c;if(l>1){c=Math.ceil(l/2);for(var l=Math.floor(l/2),i=u+c,s=new CKEDITOR.dom.element(s.$.rows[i]),o=a(o,i),h,i=r.clone(),u=0;uf){i.insertBefore(new CKEDITOR.dom.element(h));break}h=null}h||s.append(i)}else{l=c=1,s=i.clone(),s.insertAfter(i),s.append(i=r.clone()),h=a(o,u);for(f=0;f1)return!1;if(n)return!0;var r=r[0],i=r.getParent(),s=i.getAscendant("table"),s=CKEDITOR.tools.buildTableMap(s),o=a(s,i.$.rowIndex,r),u=r.$.colSpan;if(u>1)i=Math.ceil(u/2),u=Math.floor(u/2);else{for(var u=i=1,f=[],l=0;l1&&(l+=c[o].rowSpan-1)}for(s=0;s0?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED}}},tablecell_insertBefore:{label:p.cell.insertBefore,group:"tablecell",command:"cellInsertBefore",order:5},tablecell_insertAfter:{label:p.cell.insertAfter,group:"tablecell",command:"cellInsertAfter",order:10},tablecell_delete:{label:p.cell.deleteCell,group:"tablecell",command:"cellDelete",order:15},tablecell_merge:{label:p.cell.merge,group:"tablecell",command:"cellMerge",order:16},tablecell_merge_right:{label:p.cell.mergeRight,group:"tablecell",command:"cellMergeRight",order:17},tablecell_merge_down:{label:p.cell.mergeDown,group:"tablecell",command:"cellMergeDown",order:18},tablecell_split_horizontal:{label:p.cell.splitHorizontal,group:"tablecell",command:"cellHorizontalSplit",order:19},tablecell_split_vertical:{label:p.cell.splitVertical,group:"tablecell",command:"cellVerticalSplit",order:20},tablecell_properties:{label:p.cell.title,group:"tablecellproperties",command:"cellProperties",order:21},tablerow:{label:p.row.menu,group:"tablerow",order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,tablerow_delete:CKEDITOR.TRISTATE_OFF}}},tablerow_insertBefore:{label:p.row.insertBefore,group:"tablerow",command:"rowInsertBefore",order:5},tablerow_insertAfter:{label:p.row.insertAfter,group:"tablerow",command:"rowInsertAfter",order:10},tablerow_delete:{label:p.row.deleteRow,group:"tablerow",command:"rowDelete",order:15},tablecolumn:{label:p.column.menu,group:"tablecolumn",order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,tablecolumn_delete:CKEDITOR.TRISTATE_OFF}}},tablecolumn_insertBefore:{label:p.column.insertBefore,group:"tablecolumn",command:"columnInsertBefore",order:5},tablecolumn_insertAfter:{label:p.column.insertAfter,group:"tablecolumn",command:"columnInsertAfter",order:10},tablecolumn_delete:{label:p.column.deleteColumn,group:"tablecolumn",command:"columnDelete",order:15}}),r.contextMenu&&r.contextMenu.addListener(function(e,t,n){return(e=n.contains({td:1,th:1},1))&&!e.isReadOnly()?{tablecell:CKEDITOR.TRISTATE_OFF,tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF}:null})},getSelectedCells:e},CKEDITOR.plugins.add("tabletools",CKEDITOR.plugins.tabletools)}(),CKEDITOR.tools.buildTableMap=function(e){for(var e=e.$.rows,t=-1,n=[],r=0;r',t.lang.toolbar.toolbars,"",''],i=t.config.toolbarStartupExpanded!==!1,u,f;t.config.toolbarCanCollapse&&t.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&o.push('":' style="display:none">'));for(var l=t.toolbox.toolbars,h=e(t),p=0;p"),f=u=0);if(g==="/")o.push('');else{y=g.items||g;for(var w=0;w'),m&&o.push('',m,""),o.push('');var x=l.push(v)-1;x>0&&(v.previous=l[x-1],v.previous.next=v)}S?u||(o.push(''),u=1):u&&(o.push(""),u=0),d=function(e){e=e.render(t,o),x=v.items.push(e)-1,x>0&&(e.previous=v.items[x-1],e.previous.next=e),e.toolbar=v,e.onkey=s,e.onfocus=function(){t.toolbox.focusCommandExecuted||t.focus()}},f&&(d(f),f=0),d(E)}}u&&(o.push(""),f=u=0),v&&o.push('')}}}t.config.toolbarCanCollapse&&o.push("");if(t.config.toolbarCanCollapse&&t.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var T=CKEDITOR.tools.addFunction(function(){t.execCommand("toolbarCollapse")});t.on("destroy",function(){CKEDITOR.tools.removeFunction(T)}),t.addCommand("toolbarCollapse",{readOnly:1,exec:function(e){var t=e.ui.space("toolbar_collapser"),n=t.getPrevious(),r=e.ui.space("contents"),i=n.getParent(),s=parseInt(r.$.style.height,10),o=i.$.offsetHeight,u=t.hasClass("cke_toolbox_collapser_min");u?(n.show(),t.removeClass("cke_toolbox_collapser_min"),t.setAttribute("title",e.lang.toolbar.toolbarCollapse)):(n.hide(),t.addClass("cke_toolbox_collapser_min"),t.setAttribute("title",e.lang.toolbar.toolbarExpand)),t.getFirst().setText(u?"▲":"◀"),r.setStyle("height",s-(i.$.offsetHeight-o)+"px"),e.fire("resize")},modes:{wysiwyg:1,source:1}}),t.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),"toolbarCollapse"),o.push('','',"")}o.push(""),r.data.html=r.data.html+o.join("")}}),t.on("destroy",function(){if(this.toolbox){var e,t=0,n,r,i;for(e=this.toolbox.toolbars;t'),{}}}}})}}),CKEDITOR.ui.prototype.addToolbarGroup=function(e,n,r){var i=t(this.editor),s=n===0,o={name:e};if(r){if(r=CKEDITOR.tools.search(i,function(e){return e.name==r})){!r.groups&&(r.groups=[]);if(n){n=CKEDITOR.tools.indexOf(r.groups,n);if(n>=0){r.groups.splice(n+1,0,e);return}}s?r.groups.splice(0,0,e):r.groups.push(e);return}n=null}n&&(n=CKEDITOR.tools.indexOf(i,function(e){return e.name==n})),s?i.splice(0,0,e):typeof n=="number"?i.splice(n+1,0,o):i.push(e)}}(),CKEDITOR.UI_SEPARATOR="separator",CKEDITOR.config.toolbarLocation="top","use strict",function(){var e=[CKEDITOR.CTRL+90,CKEDITOR.CTRL+89,CKEDITOR.CTRL+CKEDITOR.SHIFT+90],t={8:1,46:1};CKEDITOR.plugins.add("undo",{init:function(t){function r(e){o.enabled&&e.data.command.canUndo!==!1&&o.save()}function i(){o.enabled=t.readOnly?!1:t.mode=="wysiwyg",o.onChange()}var o=t.undoManager=new n(t),u=o.editingHandler=new s(o),f=t.addCommand("undo",{exec:function(){o.undo()&&(t.selectionChange(),this.fire("afterUndo"))},startDisabled:!0,canUndo:!1}),l=t.addCommand("redo",{exec:function(){o.redo()&&(t.selectionChange(),this.fire("afterRedo"))},startDisabled:!0,canUndo:!1});t.setKeystroke([[e[0],"undo"],[e[1],"redo"],[e[2],"redo"]]),o.onChange=function(){f.setState(o.undoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),l.setState(o.redoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)},t.on("beforeCommandExec",r),t.on("afterCommandExec",r),t.on("saveSnapshot",function(e){o.save(e.data&&e.data.contentOnly)}),t.on("contentDom",u.attachListeners,u),t.on("instanceReady",function(){t.fire("saveSnapshot")}),t.on("beforeModeUnload",function(){t.mode=="wysiwyg"&&o.save(!0)}),t.on("mode",i),t.on("readOnly",i),t.ui.addButton&&(t.ui.addButton("Undo",{label:t.lang.undo.undo,command:"undo",toolbar:"undo,10"}),t.ui.addButton("Redo",{label:t.lang.undo.redo,command:"redo",toolbar:"undo,20"})),t.resetUndo=function(){o.reset(),t.fire("saveSnapshot")},t.on("updateSnapshot",function(){o.currentImage&&o.update()}),t.on("lockSnapshot",function(e){e=e.data,o.lock(e&&e.dontUpdate,e&&e.forceUpdate)}),t.on("unlockSnapshot",o.unlock,o)}}),CKEDITOR.plugins.undo={};var n=CKEDITOR.plugins.undo.UndoManager=function(e){this.strokesRecorded=[0,0],this.locked=null,this.previousKeyGroup=-1,this.limit=e.config.undoStackSize||20,this.strokesLimit=25,this.editor=e,this.reset()};n.prototype={type:function(e,t){var r=n.getKeyGroup(e),i=this.strokesRecorded[r]+1,t=t||i>=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange()),t?(i=0,this.editor.fire("saveSnapshot")):this.editor.fire("change"),this.strokesRecorded[r]=i,this.previousKeyGroup=r},keyGroupChanged:function(e){return n.getKeyGroup(e)!=this.previousKeyGroup},reset:function(){this.snapshots=[],this.index=-1,this.currentImage=null,this.hasRedo=this.hasUndo=!1,this.locked=null,this.resetType()},resetType:function(){this.strokesRecorded=[0,0],this.typing=!1,this.previousKeyGroup=-1},refreshState:function(){this.hasUndo=!!this.getNextImage(!0),this.hasRedo=!!this.getNextImage(!1),this.resetType(),this.onChange()},save:function(e,t,n){var i=this.editor;if(this.locked||i.status!="ready"||i.mode!="wysiwyg")return!1;var s=i.editable();if(!s||s.status!="ready")return!1;s=this.snapshots,t||(t=new r(i));if(t.contents===!1)return!1;if(this.currentImage)if(t.equalsContent(this.currentImage)){if(e||t.equalsSelection(this.currentImage))return!1}else n!==!1&&i.fire("change");return s.splice(this.index+1,s.length-this.index-1),s.length==this.limit&&s.shift(),this.index=s.push(t)-1,this.currentImage=t,n!==!1&&this.refreshState(),!0},restoreImage:function(e){var t=this.editor,n;e.bookmarks&&(t.focus(),n=t.getSelection()),this.locked={level:999},this.editor.loadSnapshot(e.contents),e.bookmarks?n.selectBookmarks(e.bookmarks):CKEDITOR.env.ie&&(n=this.editor.document.getBody().$.createTextRange(),n.collapse(!0),n.select()),this.locked=null,this.index=e.index,this.currentImage=this.snapshots[this.index],this.update(),this.refreshState(),t.fire("change")},getNextImage:function(e){var t=this.snapshots,n=this.currentImage,r;if(n)if(e)for(r=this.index-1;r>=0;r--){e=t[r];if(!n.equalsContent(e))return e.index=r,e}else for(r=this.index+1;r0&&this.currentImage.equalsContent(n[t-1]);)t-=1;n.splice(t,this.index-t+1,e),this.index=t,this.currentImage=e}},updateSelection:function(e){if(!this.snapshots.length)return!1;var t=this.snapshots,n=t[t.length-1];return n.equalsContent(e)&&!n.equalsSelection(e)?(this.currentImage=t[t.length-1]=e,!0):!1},lock:function(e,t){if(this.locked)this.locked.level++;else if(e)this.locked={level:1};else{var n=null;if(t)n=!0;else{var i=new r(this.editor,!0);this.currentImage&&this.currentImage.equalsContent(i)&&(n=i)}this.locked={update:n,level:1}}},unlock:function(){if(this.locked&&!--this.locked.level){var e=this.locked.update;this.locked=null;if(e===!0)this.update();else if(e){var t=new r(this.editor,!0);e.equalsContent(t)||this.update()}}}},n.navigationKeyCodes={37:1,38:1,39:1,40:1,36:1,35:1,33:1,34:1},n.keyGroups={PRINTABLE:0,FUNCTIONAL:1},n.isNavigationKey=function(e){return!!n.navigationKeyCodes[e]},n.getKeyGroup=function(e){var r=n.keyGroups;return t[e]?r.FUNCTIONAL:r.PRINTABLE},n.getOppositeKeyGroup=function(e){var t=n.keyGroups;return e==t.FUNCTIONAL?t.PRINTABLE:t.FUNCTIONAL},n.ieFunctionalKeysBug=function(e){return CKEDITOR.env.ie&&n.getKeyGroup(e)==n.keyGroups.FUNCTIONAL};var r=CKEDITOR.plugins.undo.Image=function(e,t){this.editor=e,e.fire("beforeUndoImage");var n=e.getSnapshot();CKEDITOR.env.ie&&n&&(n=n.replace(/\s+data-cke-expando=".*?"/g,"")),this.contents=n,t||(this.bookmarks=(n=n&&e.getSelection())&&n.createBookmarks2(!0)),e.fire("afterUndoImage")},i=/\b(?:href|src|name)="[^"]*?"/gi;r.prototype={equalsContent:function(e){var t=this.contents,e=e.contents;return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)&&(t=t.replace(i,""),e=e.replace(i,"")),t!=e?!1:!0},equalsSelection:function(e){var t=this.bookmarks,e=e.bookmarks;if(t||e){if(!t||!e||t.length!=e.length)return!1;for(var n=0;n-1)t.data.preventDefault();else{this.keyEventsStack.cleanUp(t),t=this.undoManager,this.keyEventsStack.getLast(i)||this.keyEventsStack.push(i),this.lastKeydownImage=new r(t.editor);if(n.isNavigationKey(i)||this.undoManager.keyGroupChanged(i))if(t.strokesRecorded[0]||t.strokesRecorded[1])t.save(!1,this.lastKeydownImage,!1),t.resetType()}},onInput:function(){if(this.ignoreInputEvent)this.ignoreInputEvent=!1;else{var e=this.keyEventsStack.getLast();e||(e=this.keyEventsStack.push(0)),this.keyEventsStack.increment(e.keyCode),this.keyEventsStack.getTotalInputs()>=this.undoManager.strokesLimit&&(this.undoManager.type(e.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(e){var t=this.undoManager,e=e.data.getKey(),i=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(e);if(!n.ieFunctionalKeysBug(e)||!this.lastKeydownImage||!this.lastKeydownImage.equalsContent(new r(t.editor,!0)))i>0?t.type(e):n.isNavigationKey(e)&&this.onNavigationKey(!0)},onNavigationKey:function(e){var t=this.undoManager;(e||!t.save(!0,null,!1))&&t.updateSelection(new r(t.editor)),t.resetType()},ignoreInputEventListener:function(){this.ignoreInputEvent=!0},attachListeners:function(){var e=this.undoManager.editor,t=e.editable(),r=this;t.attachListener(t,"keydown",function(e){r.onKeydown(e),n.ieFunctionalKeysBug(e.data.getKey())&&r.onInput()},null,null,999),t.attachListener(t,CKEDITOR.env.ie?"keypress":"input",r.onInput,r,null,999),t.attachListener(t,"keyup",r.onKeyup,r,null,999),t.attachListener(t,"paste",r.ignoreInputEventListener,r,null,999),t.attachListener(t,"drop",r.ignoreInputEventListener,r,null,999),t.attachListener(t.isInline()?t:e.document.getDocumentElement(),"click",function(){r.onNavigationKey()},null,null,999),t.attachListener(this.undoManager.editor,"blur",function(){r.keyEventsStack.remove(9)},null,null,999)}};var o=CKEDITOR.plugins.undo.KeyEventsStack=function(){this.stack=[]};o.prototype={push:function(e){return this.stack[this.stack.push({keyCode:e,inputs:0})-1]},getLastIndex:function(e){if(typeof e!="number")return this.stack.length-1;for(var t=this.stack.length;t--;)if(this.stack[t].keyCode==e)return t;return-1},getLast:function(e){return e=this.getLastIndex(e),e!=-1?this.stack[e]:null},increment:function(e){this.getLast(e).inputs++},remove:function(e){e=this.getLastIndex(e),e!=-1&&this.stack.splice(e,1)},resetInputs:function(e){if(typeof e=="number")this.getLast(e).inputs=0;else for(e=this.stack.length;e--;)this.stack[e].inputs=0},getTotalInputs:function(){for(var e=this.stack.length,t=0;e--;)t+=this.stack[e].inputs;return t},cleanUp:function(e){e=e.data.$,!e.ctrlKey&&!e.metaKey&&this.remove(17),e.shiftKey||this.remove(16),e.altKey||this.remove(18)}}}(),CKEDITOR.plugins.add("wsc",{requires:"dialog",parseApi:function(e){e.config.wsc_onFinish=typeof e.config.wsc_onFinish=="function"?e.config.wsc_onFinish:function(){},e.config.wsc_onClose=typeof e.config.wsc_onClose=="function"?e.config.wsc_onClose:function(){}},parseConfig:function(e){e.config.wsc_customerId=e.config.wsc_customerId||CKEDITOR.config.wsc_customerId||"1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk",e.config.wsc_customDictionaryIds=e.config.wsc_customDictionaryIds||CKEDITOR.config.wsc_customDictionaryIds||"",e.config.wsc_userDictionaryName=e.config.wsc_userDictionaryName||CKEDITOR.config.wsc_userDictionaryName||"",e.config.wsc_customLoaderScript=e.config.wsc_customLoaderScript||CKEDITOR.config.wsc_customLoaderScript,CKEDITOR.config.wsc_cmd=e.config.wsc_cmd||CKEDITOR.config.wsc_cmd||"spell",CKEDITOR.config.wsc_version="v4.3.0-26-g5bcf855",CKEDITOR.config.wsc_removeGlobalVariable=!0},init:function(e){var t=CKEDITOR.env;this.parseConfig(e),this.parseApi(e),e.addCommand("checkspell",new CKEDITOR.dialogCommand("checkspell")).modes={wysiwyg:!CKEDITOR.env.opera&&!CKEDITOR.env.air&&document.domain==window.location.hostname&&(!t.ie||!(t.version<8||t.quirks))},typeof e.plugins.scayt=="undefined"&&e.ui.addButton&&e.ui.addButton("SpellChecker",{label:e.lang.wsc.toolbar,click:function(e){var t=e.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?e.container.getText():e.document.getBody().getText();(t=t.replace(/\s/g,""))?e.execCommand("checkspell"):alert("Nothing to check!")},toolbar:"spellchecker,10"}),CKEDITOR.dialog.add("checkspell",this.path+(CKEDITOR.env.ie&&CKEDITOR.env.version<=7?"dialogs/wsc_ie.js":window.postMessage?"dialogs/wsc.js":"dialogs/wsc_ie.js"))}}),function(){function e(e){var n=this.editor,r=e.document,i=r.body,s=r.getElementById("cke_actscrpt");s&&s.parentNode.removeChild(s),(s=r.getElementById("cke_shimscrpt"))&&s.parentNode.removeChild(s),(s=r.getElementById("cke_basetagscrpt"))&&s.parentNode.removeChild(s),i.contentEditable=!0,CKEDITOR.env.ie&&(i.hideFocus=!0,i.disabled=!0,i.removeAttribute("disabled")),delete this._.isLoadingData,this.$=i,r=new CKEDITOR.dom.document(r),this.setup(),this.fixInitialSelection(),CKEDITOR.env.ie&&(r.getDocumentElement().addClass(r.$.compatMode),n.config.enterMode!=CKEDITOR.ENTER_P&&this.attachListener(r,"selectionchange",function(){var e=r.getBody(),t=n.getSelection(),i=t&&t.getRanges()[0];i&&e.getHtml().match(/^

(?: |
)<\/p>$/i)&&i.startContainer.equals(e)&&setTimeout(function(){i=n.getSelection().getRanges()[0],i.startContainer.equals("body")||(e.getFirst().remove(1),i.moveToElementEditEnd(e),i.select())},0)})),(CKEDITOR.env.webkit||CKEDITOR.env.ie&&CKEDITOR.env.version>10)&&r.getDocumentElement().on("mousedown",function(e){e.data.getTarget().is("html")&&setTimeout(function(){n.editable().focus()})}),t(n);try{n.document.$.execCommand("2D-position",!1,!0)}catch(o){}(CKEDITOR.env.gecko||CKEDITOR.env.ie&&n.document.$.compatMode=="CSS1Compat")&&this.attachListener(this,"keydown",function(e){var t=e.data.getKeystroke();if(t==33||t==34)if(CKEDITOR.env.ie)setTimeout(function(){n.getSelection().scrollIntoView()},0);else if(n.window.$.innerHeight>this.$.offsetHeight){var r=n.createRange();r[t==33?"moveToElementEditStart":"moveToElementEditEnd"](this),r.select(),e.data.preventDefault()}}),CKEDITOR.env.ie&&this.attachListener(r,"blur",function(){try{r.$.selection.empty()}catch(e){}}),CKEDITOR.env.iOS&&this.attachListener(r,"touchend",function(){e.focus()}),i=n.document.getElementsByTag("title").getItem(0),i.data("cke-title",i.getText()),CKEDITOR.env.ie&&(n.document.$.title=this._.docTitle),CKEDITOR.tools.setTimeout(function(){this.status=="unloaded"&&(this.status="ready"),n.fire("contentDom"),this._.isPendingFocus&&(n.focus(),this._.isPendingFocus=!1),setTimeout(function(){n.fire("dataReady")},0),CKEDITOR.env.ie&&setTimeout(function(){if(n.document){var e=n.document.$.body;e.runtimeStyle.marginBottom="0px",e.runtimeStyle.marginBottom=""}},1e3)},0,this)}function t(e){function t(){var t;e.editable().attachListener(e,"selectionChange",function(){var r=e.getSelection().getSelectedElement();r&&(t&&(t.detachEvent("onresizestart",n),t=null),r.$.attachEvent("onresizestart",n),t=r.$)})}function n(e){e.returnValue=!1}if(CKEDITOR.env.gecko)try{var r=e.document.$;r.execCommand("enableObjectResizing",!1,!e.config.disableObjectResizing),r.execCommand("enableInlineTableEditing",!1,!e.config.disableNativeTableHandles)}catch(i){}else CKEDITOR.env.ie&&CKEDITOR.env.version<11&&e.config.disableObjectResizing&&t(e)}function n(){var e=[];if(CKEDITOR.document.$.documentMode>=8){e.push("html.CSS1Compat [contenteditable=false]{min-height:0 !important}");var t=[],n;for(n in CKEDITOR.dtd.$removeEmpty)t.push("html.CSS1Compat "+n+"[contenteditable=false]");e.push(t.join(",")+"{display:inline-block}")}else CKEDITOR.env.gecko&&(e.push("html{height:100% !important}"),e.push("img:-moz-broken{-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}"));return e.push("html{cursor:text;*cursor:auto}"),e.push("img,input,textarea{cursor:default}"),e.join("\n")}CKEDITOR.plugins.add("wysiwygarea",{init:function(e){e.config.fullPage&&e.addFeature({allowedContent:"html head title; style [media,type]; body (*)[id]; meta link [*]",requiredContent:"body"}),e.addMode("wysiwyg",function(t){function n(n){n&&n.removeListener(),e.editable(new r(e,s.$.contentWindow.document.body)),e.setData(e.getData(1),t)}var i="document.open();"+(CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"")+"document.close();",i=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?"javascript:void(function(){"+encodeURIComponent(i)+"}())":"",s=CKEDITOR.dom.element.createFromHtml('');s.setStyles({width:"100%",height:"100%"}),s.addClass("cke_wysiwyg_frame cke_reset");var o=e.ui.space("contents");o.append(s),(i=CKEDITOR.env.ie||CKEDITOR.env.gecko)&&s.on("load",n);var u=e.title,f=e.fire("ariaEditorHelpLabel",{}).label;u&&(CKEDITOR.env.ie&&f&&(u+=", "+f),s.setAttribute("title",u));if(f){var u=CKEDITOR.tools.getNextId(),l=CKEDITOR.dom.element.createFromHtml(''+f+"");o.append(l,1),s.setAttribute("aria-describedby",u)}e.on("beforeModeUnload",function(e){e.removeListener(),l&&l.remove()}),s.setAttributes({tabIndex:e.tabIndex,allowTransparency:"true"}),!i&&n(),CKEDITOR.env.webkit&&(i=function(){o.setStyle("width","100%"),s.hide(),s.setSize("width",o.getSize("width")),o.removeStyle("width"),s.show()},s.setCustomData("onResize",i),CKEDITOR.document.getWindow().on("resize",i)),e.fire("ariaWidget",s)})}}),CKEDITOR.editor.prototype.addContentsCss=function(e){var t=this.config,n=t.contentsCss;CKEDITOR.tools.isArray(n)||(t.contentsCss=n?[n]:[]),t.contentsCss.push(e)};var r=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments),this._.frameLoadedHandler=CKEDITOR.tools.addFunction(function(t){CKEDITOR.tools.setTimeout(e,0,this,t)},this),this._.docTitle=this.getWindow().getFrame().getAttribute("title")},base:CKEDITOR.editable,proto:{setData:function(e,t){var r=this.editor;if(t)this.setHtml(e),this.fixInitialSelection(),r.fire("dataReady");else{this._.isLoadingData=!0,r._.dataStore={id:1};var i=r.config,s=i.fullPage,o=i.docType,u=CKEDITOR.tools.buildStyleHtml(n()).replace(/"):n.push('');return n.join("")},htmlEncode:function(e){return(""+e).replace(n,"&").replace(r,">").replace(i,"<")},htmlDecode:function(e){return e.replace(o,"&").replace(u,">").replace(a,"<")},htmlEncodeAttr:function(e){return e.replace(s,""").replace(i,"<").replace(r,">")},htmlDecodeAttr:function(e){return e.replace(f,'"').replace(a,"<").replace(u,">")},getNextNumber:function(){var e=0;return function(){return++e}}(),getNextId:function(){return"cke_"+this.getNextNumber()},override:function(e,t){var n=t(e);return n.prototype=e.prototype,n},setTimeout:function(e,t,n,r,i){return i||(i=window),n||(n=i),i.setTimeout(function(){r?e.apply(n,[].concat(r)):e.apply(n)},t||0)},trim:function(){var e=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(t){return t.replace(e,"")}}(),ltrim:function(){var e=/^[ \t\n\r]+/g;return function(t){return t.replace(e,"")}}(),rtrim:function(){var e=/[ \t\n\r]+$/g;return function(t){return t.replace(e,"")}}(),indexOf:function(e,t){if(typeof t=="function"){for(var n=0,r=e.length;n=0?e[n]:null},bind:function(e,t){return function(){return e.apply(t,arguments)}},createClass:function(e){var t=e.$,n=e.base,r=e.privates||e._,i=e.proto,e=e.statics;!t&&(t=function(){n&&this.base.apply(this,arguments)});if(r)var s=t,t=function(){var e=this._||(this._={}),t;for(t in r){var n=r[t];e[t]=typeof n=="function"?CKEDITOR.tools.bind(n,this):n}s.apply(this,arguments)};return n&&(t.prototype=this.prototypedCopy(n.prototype),t.prototype.constructor=t,t.base=n,t.baseProto=n.prototype,t.prototype.base=function(){this.base=n.prototype.base,n.apply(this,arguments),this.base=arguments.callee}),i&&this.extend(t.prototype,i,!0),e&&this.extend(t,e,!0),t},addFunction:function(t,n){return e.push(function(){return t.apply(n||this,arguments)})-1},removeFunction:function(t){e[t]=null},callFunction:function(t){var n=e[t];return n&&n.apply(window,Array.prototype.slice.call(arguments,1))},cssLength:function(){var e=/^-?\d+\.?\d*px$/,t;return function(n){return t=CKEDITOR.tools.trim(n+"")+"px",e.test(t)?t:n||""}}(),convertToPx:function(){var e;return function(t){return e||(e=CKEDITOR.dom.element.createFromHtml('

',CKEDITOR.document),CKEDITOR.document.getBody().append(e)),/%$/.test(t)?t:(e.setStyle("width",t),e.$.clientWidth)}}(),repeat:function(e,t){return Array(t+1).join(e)},tryThese:function(){for(var e,t=0,n=arguments.length;t]*?>)|^/i,'$&\n")),this.$.write(e),this.$.close()},find:function(e){return new CKEDITOR.dom.nodeList(this.$.querySelectorAll(e))},findOne:function(e){return(e=this.$.querySelector(e))?new CKEDITOR.dom.element(e):null},_getHtml5ShivFrag:function(){var e=this.getCustomData("html5ShivFrag");return e||(e=this.$.createDocumentFragment(),CKEDITOR.tools.enableHtml5Elements(e,!0),this.setCustomData("html5ShivFrag",e)),e}}),CKEDITOR.dom.nodeList=function(e){this.$=e},CKEDITOR.dom.nodeList.prototype={count:function(){return this.$.length},getItem:function(e){return e<0||e>=this.$.length?null:(e=this.$[e])?new CKEDITOR.dom.node(e):null}},CKEDITOR.dom.element=function(e,t){typeof e=="string"&&(e=(t?t.$:document).createElement(e)),CKEDITOR.dom.domObject.call(this,e)},CKEDITOR.dom.element.get=function(e){return(e=typeof e=="string"?document.getElementById(e)||document.getElementsByName(e)[0]:e)&&(e.$?e:new CKEDITOR.dom.element(e))},CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node,CKEDITOR.dom.element.createFromHtml=function(e,t){var n=new CKEDITOR.dom.element("div",t);return n.setHtml(e),n.getFirst().remove()},CKEDITOR.dom.element.setMarker=function(e,t,n,r){var i=t.getCustomData("list_marker_id")||t.setCustomData("list_marker_id",CKEDITOR.tools.getNextNumber()).getCustomData("list_marker_id"),s=t.getCustomData("list_marker_names")||t.setCustomData("list_marker_names",{}).getCustomData("list_marker_names");return e[i]=t,s[n]=1,t.setCustomData(n,r)},CKEDITOR.dom.element.clearAllMarkers=function(e){for(var t in e)CKEDITOR.dom.element.clearMarkers(e,e[t],1)},CKEDITOR.dom.element.clearMarkers=function(e,t,n){var r=t.getCustomData("list_marker_names"),i=t.getCustomData("list_marker_id"),s;for(s in r)t.removeCustomData(s);t.removeCustomData("list_marker_names"),n&&(t.removeCustomData("list_marker_id"),delete e[i])},function(){function e(e){var t=!0;return e.$.id||(e.$.id="cke_tmp_"+CKEDITOR.tools.getNextNumber(),t=!1),function(){t||e.removeAttribute("id")}}function t(e,t){return"#"+e.$.id+" "+t.split(/,\s*/).join(", #"+e.$.id+" ")}function n(e){for(var t=0,n=0,i=r[e].length;n]*>/g,""):e},getOuterHtml:function(){if(this.$.outerHTML)return this.$.outerHTML.replace(/<\?[^>]*>/,"");var e=this.$.ownerDocument.createElement("div");return e.appendChild(this.$.cloneNode(!0)),e.innerHTML},getClientRect:function(){var e=CKEDITOR.tools.extend({},this.$.getBoundingClientRect());return!e.width&&(e.width=e.right-e.left),!e.height&&(e.height=e.bottom-e.top),e},setHtml:CKEDITOR.env.ie&&CKEDITOR.env.version<9?function(e){try{var t=this.$;if(this.getParent())return t.innerHTML=e;var n=this.getDocument()._getHtml5ShivFrag();return n.appendChild(t),t.innerHTML=e,n.removeChild(t),e}catch(r){this.$.innerHTML="",t=new CKEDITOR.dom.element("body",this.getDocument()),t.$.innerHTML=e;for(t=t.getChildren();t.count();)this.append(t.getItem(0));return e}}:function(e){return this.$.innerHTML=e},setText:function(){var e=document.createElement("p");return e.innerHTML="x",e=e.textContent,function(t){this.$[e?"textContent":"innerText"]=t}}(),getAttribute:function(){var e=function(e){return this.$.getAttribute(e,2)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(e){switch(e){case"class":e="className";break;case"http-equiv":e="httpEquiv";break;case"name":return this.$.name;case"tabindex":return e=this.$.getAttribute(e,2),e!==0&&this.$.tabIndex===0&&(e=null),e;case"checked":return e=this.$.attributes.getNamedItem(e),(e.specified?e.nodeValue:this.$.checked)?"checked":null;case"hspace":case"value":return this.$[e];case"style":return this.$.style.cssText;case"contenteditable":case"contentEditable":return this.$.attributes.getNamedItem("contentEditable").specified?this.$.getAttribute("contentEditable"):null}return this.$.getAttribute(e,2)}:e}(),getChildren:function(){return new CKEDITOR.dom.nodeList(this.$.childNodes)},getComputedStyle:CKEDITOR.env.ie?function(e){return this.$.currentStyle[CKEDITOR.tools.cssStyleToDomStyle(e)]}:function(e){var t=this.getWindow().$.getComputedStyle(this.$,null);return t?t.getPropertyValue(e):""},getDtd:function(){var e=CKEDITOR.dtd[this.getName()];return this.getDtd=function(){return e},e},getElementsByTag:CKEDITOR.dom.document.prototype.getElementsByTag,getTabIndex:CKEDITOR.env.ie?function(){var e=this.$.tabIndex;return e===0&&!CKEDITOR.dtd.$tabIndex[this.getName()]&&parseInt(this.getAttribute("tabindex"),10)!==0&&(e=-1),e}:CKEDITOR.env.webkit?function(){var e=this.$.tabIndex;return e===void 0&&(e=parseInt(this.getAttribute("tabindex"),10),isNaN(e)&&(e=-1)),e}:function(){return this.$.tabIndex},getText:function(){return this.$.textContent||this.$.innerText||""},getWindow:function(){return this.getDocument().getWindow()},getId:function(){return this.$.id||null},getNameAtt:function(){return this.$.name||null},getName:function(){var e=this.$.nodeName.toLowerCase();if(CKEDITOR.env.ie&&document.documentMode<=8){var t=this.$.scopeName;t!="HTML"&&(e=t.toLowerCase()+":"+e)}return this.getName=function(){return e},this.getName()},getValue:function(){return this.$.value},getFirst:function(e){var t=this.$.firstChild;return(t=t&&new CKEDITOR.dom.node(t))&&e&&!e(t)&&(t=t.getNext(e)),t},getLast:function(e){var t=this.$.lastChild;return(t=t&&new CKEDITOR.dom.node(t))&&e&&!e(t)&&(t=t.getPrevious(e)),t},getStyle:function(e){return this.$.style[CKEDITOR.tools.cssStyleToDomStyle(e)]},is:function(){var e=this.getName();if(typeof arguments[0]=="object")return!!arguments[0][e];for(var t=0;t0&&(t>2||!n[e[0].nodeName]||t==2&&!n[e[1].nodeName])},hasAttribute:function(){function e(e){var t=this.$.attributes.getNamedItem(e);if(this.getName()=="input")switch(e){case"class":return this.$.className.length>0;case"checked":return!!this.$.checked;case"value":return e=this.getAttribute("type"),e=="checkbox"||e=="radio"?this.$.value!="on":!!this.$.value}return t?t.specified:!1}return CKEDITOR.env.ie?CKEDITOR.env.version<8?function(t){return t=="name"?!!this.$.name:e.call(this,t)}:e:function(e){return!!this.$.attributes.getNamedItem(e)}}(),hide:function(){this.setStyle("display","none")},moveChildren:function(e,t){var n=this.$,e=e.$;if(n!=e){var r;if(t)for(;r=n.lastChild;)e.insertBefore(n.removeChild(r),e.firstChild);else for(;r=n.firstChild;)e.appendChild(n.removeChild(r))}},mergeSiblings:function(){function e(e,t,n){if(t&&t.type==CKEDITOR.NODE_ELEMENT){for(var r=[];t.data("cke-bookmark")||t.isEmptyInlineRemoveable();){r.push(t),t=n?t.getNext():t.getPrevious();if(!t||t.type!=CKEDITOR.NODE_ELEMENT)return}if(e.isIdentical(t)){for(var i=n?e.getLast():e.getFirst();r.length;)r.shift().move(e,!n);t.moveChildren(e,!n),t.remove(),i&&i.type==CKEDITOR.NODE_ELEMENT&&i.mergeSiblings()}}}return function(t){if(t===!1||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is("a"))e(this,this.getNext(),!0),e(this,this.getPrevious())}}(),show:function(){this.setStyles({display:"",visibility:""})},setAttribute:function(){var e=function(e,t){return this.$.setAttribute(e,t),this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(t,n){return t=="class"?this.$.className=n:t=="style"?this.$.style.cssText=n:t=="tabindex"?this.$.tabIndex=n:t=="checked"?this.$.checked=n:t=="contenteditable"?e.call(this,"contentEditable",n):e.apply(this,arguments),this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(t,n){if(t=="src"&&n.match(/^http:\/\//))try{e.apply(this,arguments)}catch(r){}else e.apply(this,arguments);return this}:e}(),setAttributes:function(e){for(var t in e)this.setAttribute(t,e[t]);return this},setValue:function(e){return this.$.value=e,this},removeAttribute:function(){var e=function(e){this.$.removeAttribute(e)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(e){e=="class"?e="className":e=="tabindex"?e="tabIndex":e=="contenteditable"&&(e="contentEditable"),this.$.removeAttribute(e)}:e}(),removeAttributes:function(e){if(CKEDITOR.tools.isArray(e))for(var t=0;t=100?"":"progid:DXImageTransform.Microsoft.Alpha(opacity="+e+")")):this.setStyle("opacity",e)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select","none"));if(CKEDITOR.env.ie){this.setAttribute("unselectable","on");for(var e,t=this.getElementsByTag("*"),n=0,r=t.count();n0)&&u(0,t===!0?o:t===!1?i:o<0?o:i),n&&(s<0||r>0)&&u(s<0?s:r,0)},setState:function(e,t,n){t=t||"cke";switch(e){case CKEDITOR.TRISTATE_ON:this.addClass(t+"_on"),this.removeClass(t+"_off"),this.removeClass(t+"_disabled"),n&&this.setAttribute("aria-pressed",!0),n&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(t+"_disabled"),this.removeClass(t+"_off"),this.removeClass(t+"_on"),n&&this.setAttribute("aria-disabled",!0),n&&this.removeAttribute("aria-pressed");break;default:this.addClass(t+"_off"),this.removeClass(t+"_on"),this.removeClass(t+"_disabled"),n&&this.removeAttribute("aria-pressed"),n&&this.removeAttribute("aria-disabled")}},getFrameDocument:function(){var e=this.$;try{e.contentWindow.document}catch(t){e.src=e.src}return e&&new CKEDITOR.dom.document(e.contentWindow.document)},copyAttributes:function(e,t){for(var n=this.$.attributes,t=t||{},r=0;r=0&&t0&&n;)n=e(n,t.shift());else n=e(n,t);return n?new CKEDITOR.dom.node(n):null}}(),getChildCount:function(){return this.$.childNodes.length},disableContextMenu:function(){this.on("contextmenu",function(e){e.data.getTarget().hasClass("cke_enable_context_menu")||e.data.preventDefault()})},getDirection:function(e){return e?this.getComputedStyle("direction")||this.getDirection()||this.getParent()&&this.getParent().getDirection(1)||this.getDocument().$.dir||"ltr":this.getStyle("direction")||this.getAttribute("dir")},data:function(e,t){return e="data-"+e,t===void 0?this.getAttribute(e):(t===!1?this.removeAttribute(e):this.setAttribute(e,t),null)},getEditor:function(){var e=CKEDITOR.instances,t,n;for(t in e){n=e[t];if(n.element.equals(this)&&n.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO)return n}return null},find:function(n){var r=e(this),n=new CKEDITOR.dom.nodeList(this.$.querySelectorAll(t(this,n)));return r(),n},findOne:function(n){var r=e(this),n=this.$.querySelector(t(this,n));return r(),n?new CKEDITOR.dom.element(n):null},forEach:function(e,t,n){if(!n&&(!t||this.type==t))var r=e(this);if(r!==!1)for(var n=this.getChildren(),i=0;i0?r.getChild(o-1):u(r,!0)===!1?null:r.getPreviousSourceNode(!0,f,u)):(r=i,r.type==CKEDITOR.NODE_ELEMENT&&!(r=r.getChild(s))&&(r=u(i,!0)===!1?null:i.getNextSourceNode(!0,f,u))),r&&u(r)===!1&&(r=null));for(;r&&!this._.end;){this.current=r;if(!this.evaluator||this.evaluator(r)!==!1){if(!t)return r}else if(t&&this.evaluator)return!1;r=r[l](!1,f,u)}return this.end(),this.current=null}function t(t){for(var n,r=null;n=e.call(this,t);)r=n;return r}function n(e){if(f(e))return!1;if(e.type==CKEDITOR.NODE_TEXT)return!0;if(e.type==CKEDITOR.NODE_ELEMENT){if(e.is(CKEDITOR.dtd.$inline)||e.is("hr")||e.getAttribute("contenteditable")=="false")return!0;var t;if(t=!CKEDITOR.env.needsBrFiller)if(t=e.is(l))e:{t=0;for(var n=e.getChildCount();t0&&(u>=s.getChildCount()?(s=s.append(e.document.createText("")),f=!0):s=s.getChild(u)),i.type==CKEDITOR.NODE_TEXT?(i.split(o),i.equals(s)&&(s=i.getNext())):o?o>=i.getChildCount()?(i=i.append(e.document.createText("")),a=!0):i=i.getChild(o).getPrevious():(i=i.append(e.document.createText(""),1),a=!0);var o=i.getParents(),u=s.getParents(),l,c,h;for(l=0;l0&&!d.equals(s)&&(v=p.append(d.clone()));if(!o[n]||d.$.parentNode!=o[n].$.parentNode)for(d=d.getPrevious();d;){if(d.equals(o[n])||d.equals(i))break;m=d.getPrevious(),t==2?p.$.insertBefore(d.$.cloneNode(!0),p.$.firstChild):(d.remove(),t==1&&p.$.insertBefore(d.$,p.$.firstChild)),d=m}p&&(p=v)}t==2?(c=e.startContainer,c.type==CKEDITOR.NODE_TEXT&&(c.$.data=c.$.data+c.$.nextSibling.data,c.$.parentNode.removeChild(c.$.nextSibling)),e=e.endContainer,e.type==CKEDITOR.NODE_TEXT&&e.$.nextSibling&&(e.$.data=e.$.data+e.$.nextSibling.data,e.$.parentNode.removeChild(e.$.nextSibling))):(c&&h&&(i.$.parentNode!=c.$.parentNode||s.$.parentNode!=h.$.parentNode)&&(t=h.getIndex(),a&&h.$.parentNode==i.$.parentNode&&t--,r&&c.type==CKEDITOR.NODE_ELEMENT?(r=CKEDITOR.dom.element.createFromHtml(' ',e.document),r.insertAfter(c),c.mergeSiblings(!1),e.moveToBookmark({startNode:r})):e.setStart(h.getParent(),t)),e.collapse(!0)),a&&i.remove(),f&&s.$.parentNode&&s.remove()},s={abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,"var":1},o=CKEDITOR.dom.walker.bogus(),u=/^[\t\r\n ]*(?: |\xa0)$/,a=CKEDITOR.dom.walker.editable(),f=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var e=new CKEDITOR.dom.range(this.root);return e._setStartContainer(this.startContainer),e.startOffset=this.startOffset,e._setEndContainer(this.endContainer),e.endOffset=this.endOffset,e.collapsed=this.collapsed,e},collapse:function(e){e?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer),this.startOffset=this.endOffset),this.collapsed=!0},cloneContents:function(){var e=new CKEDITOR.dom.documentFragment(this.document);return this.collapsed||i(this,2,e),e},deleteContents:function(e){this.collapsed||i(this,0,null,e)},extractContents:function(e){var t=new CKEDITOR.dom.documentFragment(this.document);return this.collapsed||i(this,1,t,e),t},createBookmark:function(e){var t,n,r,i,s=this.collapsed;return t=this.document.createElement("span"),t.data("cke-bookmark",1),t.setStyle("display","none"),t.setHtml(" "),e&&(r="cke_bm_"+CKEDITOR.tools.getNextNumber(),t.setAttribute("id",r+(s?"C":"S"))),s||(n=t.clone(),n.setHtml(" "),e&&n.setAttribute("id",r+"E"),i=this.clone(),i.collapse(),i.insertNode(n)),i=this.clone(),i.collapse(!0),i.insertNode(t),n?(this.setStartAfter(t),this.setEndBefore(n)):this.moveToPosition(t,CKEDITOR.POSITION_AFTER_END),{startNode:e?r+(s?"C":"S"):t,endNode:e?r+"E":n,serializable:e,collapsed:s}},createBookmark2:function(){function e(e){var n=e.container,r=e.offset,i;i=n;var s=r;i=i.type!=CKEDITOR.NODE_ELEMENT||s===0||s==i.getChildCount()?0:i.getChild(s-1).type==CKEDITOR.NODE_TEXT&&i.getChild(s).type==CKEDITOR.NODE_TEXT,i&&(n=n.getChild(r-1),r=n.getLength()),n.type==CKEDITOR.NODE_ELEMENT&&r>1&&(r=n.getChild(r-1).getIndex(!0)+1);if(n.type==CKEDITOR.NODE_TEXT){i=n;for(s=0;(i=i.getPrevious())&&i.type==CKEDITOR.NODE_TEXT;)s+=i.getLength();i=s,n.getText()?r+=i:(s=n.getPrevious(t),i?(r=i,n=s?s.getNext():n.getParent().getFirst()):(n=n.getParent(),r=s?s.getIndex(!0)+1:0))}e.container=n,e.offset=r}var t=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT,!0);return function(t){var n=this.collapsed,r={container:this.startContainer,offset:this.startOffset},i={container:this.endContainer,offset:this.endOffset};return t&&(e(r),n||e(i)),{start:r.container.getAddress(t),end:n?null:i.container.getAddress(t),startOffset:r.offset,endOffset:i.offset,normalized:t,collapsed:n,is2:!0}}}(),moveToBookmark:function(e){if(e.is2){var t=this.document.getByAddress(e.start,e.normalized),n=e.startOffset,r=e.end&&this.document.getByAddress(e.end,e.normalized),e=e.endOffset;this.setStart(t,n),r?this.setEnd(r,e):this.collapse(!0)}else t=(n=e.serializable)?this.document.getById(e.startNode):e.startNode,e=n?this.document.getById(e.endNode):e.endNode,this.setStartBefore(t),t.remove(),e?(this.setEndBefore(e),e.remove()):this.collapse(!0)},getBoundaryNodes:function(){var e=this.startContainer,t=this.endContainer,n=this.startOffset,r=this.endOffset,i;if(e.type==CKEDITOR.NODE_ELEMENT){i=e.getChildCount();if(i>n)e=e.getChild(n);else if(i<1)e=e.getPreviousSourceNode();else{for(e=e.$;e.lastChild;)e=e.lastChild;e=new CKEDITOR.dom.node(e),e=e.getNextSourceNode()||e}}if(t.type==CKEDITOR.NODE_ELEMENT){i=t.getChildCount();if(i>r)t=t.getChild(r).getPreviousSourceNode(!0);else if(i<1)t=t.getPreviousSourceNode();else{for(t=t.$;t.lastChild;)t=t.lastChild;t=new CKEDITOR.dom.node(t)}}return e.getPosition(t)&CKEDITOR.POSITION_FOLLOWING&&(e=t),{startNode:e,endNode:t}},getCommonAncestor:function(e,t){var n=this.startContainer,r=this.endContainer,n=n.equals(r)?e&&n.type==CKEDITOR.NODE_ELEMENT&&this.startOffset==this.endOffset-1?n.getChild(this.startOffset):n:n.getCommonAncestor(r);return t&&!n.is?n.getParent():n},optimize:function(){var e=this.startContainer,t=this.startOffset;e.type!=CKEDITOR.NODE_ELEMENT&&(t?t>=e.getLength()&&this.setStartAfter(e):this.setStartBefore(e)),e=this.endContainer,t=this.endOffset,e.type!=CKEDITOR.NODE_ELEMENT&&(t?t>=e.getLength()&&this.setEndAfter(e):this.setEndBefore(e))},optimizeBookmark:function(){var e=this.startContainer,t=this.endContainer;e.is&&e.is("span")&&e.data("cke-bookmark")&&this.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),t&&t.is&&t.is("span")&&t.data("cke-bookmark")&&this.setEndAt(t,CKEDITOR.POSITION_AFTER_END)},trim:function(e,t){var n=this.startContainer,r=this.startOffset,i=this.collapsed;if((!e||i)&&n&&n.type==CKEDITOR.NODE_TEXT){if(r)if(r>=n.getLength())r=n.getIndex()+1,n=n.getParent();else{var s=n.split(r),r=n.getIndex()+1,n=n.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(s,this.endOffset-this.startOffset):n.equals(this.endContainer)&&(this.endOffset=this.endOffset+1)}else r=n.getIndex(),n=n.getParent();this.setStart(n,r);if(i){this.collapse(!0);return}}n=this.endContainer,r=this.endOffset,!t&&!i&&n&&n.type==CKEDITOR.NODE_TEXT&&(r?(r>=n.getLength()||n.split(r),r=n.getIndex()+1):r=n.getIndex(),n=n.getParent(),this.setEnd(n,r))},enlarge:function(e,t){function n(e){return e&&e.type==CKEDITOR.NODE_ELEMENT&&e.hasAttribute("contenteditable")?null:e}var r=RegExp(/[^\s\ufeff]/);switch(e){case CKEDITOR.ENLARGE_INLINE:var i=1;case CKEDITOR.ENLARGE_ELEMENT:if(this.collapsed)break;var s=this.getCommonAncestor(),o=this.root,u,a,f,l,c,h=!1,p,d;p=this.startContainer;var v=this.startOffset;p.type==CKEDITOR.NODE_TEXT?(v&&(p=!CKEDITOR.tools.trim(p.substring(0,v)).length&&p,h=!!p),p&&!(l=p.getPrevious())&&(f=p.getParent())):(v&&(l=p.getChild(v-1)||p.getLast()),l||(f=p));for(f=n(f);f||l;){if(f&&!l){!c&&f.equals(s)&&(c=!0);if(i?f.isBlockBoundary():!o.contains(f))break;if(!h||f.getComputedStyle("display")!="inline")h=!1,c?u=f:this.setStartBefore(f);l=f.getPrevious()}for(;l;){p=!1;if(l.type==CKEDITOR.NODE_COMMENT)l=l.getPrevious();else{if(l.type==CKEDITOR.NODE_TEXT)d=l.getText(),r.test(d)&&(l=null),p=/[\s\ufeff]$/.test(d);else if((l.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||t&&l.is("br"))&&!l.data("cke-bookmark"))if(h&&CKEDITOR.dtd.$removeEmpty[l.getName()]){d=l.getText();if(r.test(d))l=null;else for(var v=l.$.getElementsByTagName("*"),m=0,g;g=v[m++];)if(!CKEDITOR.dtd.$removeEmpty[g.nodeName.toLowerCase()]){l=null;break}l&&(p=!!d.length)}else l=null;p&&(h?c?u=f:f&&this.setStartBefore(f):h=!0);if(l){p=l.getPrevious();if(!f&&!p){f=l,l=null;break}l=p}else f=null}}f&&(f=n(f.getParent()))}p=this.endContainer,v=this.endOffset,f=l=null,c=h=!1;var y=function(e,t){var n=new CKEDITOR.dom.range(o);n.setStart(e,t),n.setEndAt(o,CKEDITOR.POSITION_BEFORE_END);var n=new CKEDITOR.dom.walker(n),i;for(n.guard=function(e){return e.type!=CKEDITOR.NODE_ELEMENT||!e.isBlockBoundary()};i=n.next();){if(i.type!=CKEDITOR.NODE_TEXT)return!1;d=i!=e?i.getText():i.substring(t);if(r.test(d))return!1}return!0};p.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(p.substring(v)).length?h=!0:(h=!p.getLength(),v==p.getLength()?(l=p.getNext())||(f=p.getParent()):y(p,v)&&(f=p.getParent())):(l=p.getChild(v))||(f=p);for(;f||l;){if(f&&!l){!c&&f.equals(s)&&(c=!0);if(i?f.isBlockBoundary():!o.contains(f))break;if(!h||f.getComputedStyle("display")!="inline")h=!1,c?a=f:f&&this.setEndAfter(f);l=f.getNext()}for(;l;){p=!1;if(l.type==CKEDITOR.NODE_TEXT)d=l.getText(),y(l,0)||(l=null),p=/^[\s\ufeff]/.test(d);else if(l.type==CKEDITOR.NODE_ELEMENT){if((l.$.offsetWidth>0||t&&l.is("br"))&&!l.data("cke-bookmark"))if(h&&CKEDITOR.dtd.$removeEmpty[l.getName()]){d=l.getText();if(r.test(d))l=null;else{v=l.$.getElementsByTagName("*");for(m=0;g=v[m++];)if(!CKEDITOR.dtd.$removeEmpty[g.nodeName.toLowerCase()]){l=null;break}}l&&(p=!!d.length)}else l=null}else p=1;p&&h&&(c?a=f:this.setEndAfter(f));if(l){p=l.getNext();if(!f&&!p){f=l,l=null;break}l=p}else f=null}f&&(f=n(f.getParent()))}u&&a&&(s=u.contains(a)?a:u,this.setStartBefore(s),this.setEndAfter(s));break;case CKEDITOR.ENLARGE_BLOCK_CONTENTS:case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:f=new CKEDITOR.dom.range(this.root),o=this.root,f.setStartAt(o,CKEDITOR.POSITION_AFTER_START),f.setEnd(this.startContainer,this.startOffset),f=new CKEDITOR.dom.walker(f);var b,w,E=CKEDITOR.dom.walker.blockBoundary(e==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),S=null,x=function(e){if(e.type==CKEDITOR.NODE_ELEMENT&&e.getAttribute("contenteditable")=="false")if(S){if(S.equals(e)){S=null;return}}else S=e;else if(S)return;var t=E(e);return t||(b=e),t},i=function(e){var t=x(e);return!t&&e.is&&e.is("br")&&(w=e),t};f.guard=x,f=f.lastBackward(),b=b||o,this.setStartAt(b,!b.is("br")&&(!f&&this.checkStartOfBlock()||f&&b.contains(f))?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_AFTER_END);if(e==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS){f=this.clone(),f=new CKEDITOR.dom.walker(f);var T=CKEDITOR.dom.walker.whitespaces(),N=CKEDITOR.dom.walker.bookmark();f.evaluator=function(e){return!T(e)&&!N(e)};if((f=f.previous())&&f.type==CKEDITOR.NODE_ELEMENT&&f.is("br"))break}f=this.clone(),f.collapse(),f.setEndAt(o,CKEDITOR.POSITION_BEFORE_END),f=new CKEDITOR.dom.walker(f),f.guard=e==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?i:x,b=S=w=null,f=f.lastForward(),b=b||o,this.setEndAt(b,!f&&this.checkEndOfBlock()||f&&b.contains(f)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START),w&&this.setEndAfter(w)}},shrink:function(e,t,n){if(!this.collapsed){var e=e||CKEDITOR.SHRINK_TEXT,r=this.clone(),i=this.startContainer,s=this.endContainer,o=this.startOffset,u=this.endOffset,a=1,f=1;i&&i.type==CKEDITOR.NODE_TEXT&&(o?o>=i.getLength()?r.setStartAfter(i):(r.setStartBefore(i),a=0):r.setStartBefore(i)),s&&s.type==CKEDITOR.NODE_TEXT&&(u?u>=s.getLength()?r.setEndAfter(s):(r.setEndAfter(s),f=0):r.setEndBefore(s));var r=new CKEDITOR.dom.walker(r),l=CKEDITOR.dom.walker.bookmark();r.evaluator=function(t){return t.type==(e==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var c;return r.guard=function(t,r){return l(t)?!0:e==CKEDITOR.SHRINK_ELEMENT&&t.type==CKEDITOR.NODE_TEXT||r&&t.equals(c)||n===!1&&t.type==CKEDITOR.NODE_ELEMENT&&t.isBlockBoundary()||t.type==CKEDITOR.NODE_ELEMENT&&t.hasAttribute("contenteditable")?!1:(!r&&t.type==CKEDITOR.NODE_ELEMENT&&(c=t),!0)},a&&(i=r[e==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(i,t?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_START),f&&(r.reset(),(r=r[e==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(r,t?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END)),!!a||!!f}},insertNode:function(e){this.optimizeBookmark(),this.trim(!1,!0);var t=this.startContainer,n=t.getChild(this.startOffset);n?e.insertBefore(n):t.append(e),e.getParent()&&e.getParent().equals(this.endContainer)&&this.endOffset++,this.setStartBefore(e)},moveToPosition:function(e,t){this.setStartAt(e,t),this.collapse(!0)},moveToRange:function(e){this.setStart(e.startContainer,e.startOffset),this.setEnd(e.endContainer,e.endOffset)},selectNodeContents:function(e){this.setStart(e,0),this.setEnd(e,e.type==CKEDITOR.NODE_TEXT?e.getLength():e.getChildCount())},setStart:function(e,t){e.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[e.getName()]&&(t=e.getIndex(),e=e.getParent()),this._setStartContainer(e),this.startOffset=t,this.endContainer||(this._setEndContainer(e),this.endOffset=t),r(this)},setEnd:function(e,t){e.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[e.getName()]&&(t=e.getIndex()+1,e=e.getParent()),this._setEndContainer(e),this.endOffset=t,this.startContainer||(this._setStartContainer(e),this.startOffset=t),r(this)},setStartAfter:function(e){this.setStart(e.getParent(),e.getIndex()+1)},setStartBefore:function(e){this.setStart(e.getParent(),e.getIndex())},setEndAfter:function(e){this.setEnd(e.getParent(),e.getIndex()+1)},setEndBefore:function(e){this.setEnd(e.getParent(),e.getIndex())},setStartAt:function(e,t){switch(t){case CKEDITOR.POSITION_AFTER_START:this.setStart(e,0);break;case CKEDITOR.POSITION_BEFORE_END:e.type==CKEDITOR.NODE_TEXT?this.setStart(e,e.getLength()):this.setStart(e,e.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setStartBefore(e);break;case CKEDITOR.POSITION_AFTER_END:this.setStartAfter(e)}r(this)},setEndAt:function(e,t){switch(t){case CKEDITOR.POSITION_AFTER_START:this.setEnd(e,0);break;case CKEDITOR.POSITION_BEFORE_END:e.type==CKEDITOR.NODE_TEXT?this.setEnd(e,e.getLength()):this.setEnd(e,e.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(e);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(e)}r(this)},fixBlock:function(e,t){var n=this.createBookmark(),r=this.document.createElement(t);return this.collapse(e),this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS),this.extractContents().appendTo(r),r.trim(),r.appendBogus(),this.insertNode(r),this.moveToBookmark(n),r},splitBlock:function(e){var t=new CKEDITOR.dom.elementPath(this.startContainer,this.root),n=new CKEDITOR.dom.elementPath(this.endContainer,this.root),r=t.block,i=n.block,s=null;return t.blockLimit.equals(n.blockLimit)?(e!="br"&&(r||(r=this.fixBlock(!0,e),i=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),i||(i=this.fixBlock(!1,e))),e=r&&this.checkStartOfBlock(),t=i&&this.checkEndOfBlock(),this.deleteContents(),r&&r.equals(i)&&(t?(s=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(i,CKEDITOR.POSITION_AFTER_END),i=null):e?(s=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(r,CKEDITOR.POSITION_BEFORE_START),r=null):(i=this.splitElement(r),r.is("ul","ol")||r.appendBogus())),{previousBlock:r,nextBlock:i,wasStartOfBlock:e,wasEndOfBlock:t,elementPath:s}):null},splitElement:function(e){if(!this.collapsed)return null;this.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);var t=this.extractContents(),n=e.clone(!1);return t.appendTo(n),n.insertAfter(e),this.moveToPosition(e,CKEDITOR.POSITION_AFTER_END),n},removeEmptyBlocksAtEnd:function(){function e(e){return function(r){return t(r)||n(r)||r.type==CKEDITOR.NODE_ELEMENT&&r.isEmptyInlineRemoveable()||e.is("table")&&r.is("caption")?!1:!0}}var t=CKEDITOR.dom.walker.whitespaces(),n=CKEDITOR.dom.walker.bookmark(!1);return function(t){for(var n=this.createBookmark(),r=this[t?"endPath":"startPath"](),i=r.block||r.blockLimit,s;i&&!i.equals(r.root)&&!i.getFirst(e(i));)s=i.getParent(),this[t?"setEndAt":"setStartAt"](i,CKEDITOR.POSITION_AFTER_END),i.remove(1),i=s;this.moveToBookmark(n)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(e,n){var r=n==CKEDITOR.START,i=this.clone();return i.collapse(r),i[r?"setStartAt":"setEndAt"](e,r?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),i=new CKEDITOR.dom.walker(i),i.evaluator=t(r),i[r?"checkBackward":"checkForward"]()},checkStartOfBlock:function(){var t=this.startContainer,n=this.startOffset;return CKEDITOR.env.ie&&n&&t.type==CKEDITOR.NODE_TEXT&&(t=CKEDITOR.tools.ltrim(t.substring(0,n)),u.test(t)&&this.trim(0,1)),this.trim(),t=new CKEDITOR.dom.elementPath(this.startContainer,this.root),n=this.clone(),n.collapse(!0),n.setStartAt(t.block||t.blockLimit,CKEDITOR.POSITION_AFTER_START),t=new CKEDITOR.dom.walker(n),t.evaluator=e(),t.checkBackward()},checkEndOfBlock:function(){var t=this.endContainer,n=this.endOffset;return CKEDITOR.env.ie&&t.type==CKEDITOR.NODE_TEXT&&(t=CKEDITOR.tools.rtrim(t.substring(n)),u.test(t)&&this.trim(1,0)),this.trim(),t=new CKEDITOR.dom.elementPath(this.endContainer,this.root),n=this.clone(),n.collapse(!1),n.setEndAt(t.block||t.blockLimit,CKEDITOR.POSITION_BEFORE_END),t=new CKEDITOR.dom.walker(n),t.evaluator=e(),t.checkForward()},getPreviousNode:function(e,t,n){var r=this.clone();return r.collapse(1),r.setStartAt(n||this.root,CKEDITOR.POSITION_AFTER_START),n=new CKEDITOR.dom.walker(r),n.evaluator=e,n.guard=t,n.previous()},getNextNode:function(e,t,n){var r=this.clone();return r.collapse(),r.setEndAt(n||this.root,CKEDITOR.POSITION_BEFORE_END),n=new CKEDITOR.dom.walker(r),n.evaluator=e,n.guard=t,n.next()},checkReadOnly:function(){function e(e,t){for(;e;){if(e.type==CKEDITOR.NODE_ELEMENT){if(e.getAttribute("contentEditable")=="false"&&!e.data("cke-editable"))return 0;if(e.is("html")||e.getAttribute("contentEditable")=="true"&&(e.contains(t)||e.equals(t)))break}e=e.getParent()}return 1}return function(){var t=this.startContainer,n=this.endContainer;return!e(t,n)||!e(n,t)}}(),moveToElementEditablePosition:function(e,t){if(e.type==CKEDITOR.NODE_ELEMENT&&!e.isEditable(!1))return this.moveToPosition(e,t?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),!0;for(var n=0;e;){if(e.type==CKEDITOR.NODE_TEXT){t&&this.endContainer&&this.checkEndOfBlock()&&u.test(e.getText())?this.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(e,t?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),n=1;break}if(e.type==CKEDITOR.NODE_ELEMENT)if(e.isEditable())this.moveToPosition(e,t?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),n=1;else if(t&&e.is("br")&&this.endContainer&&this.checkEndOfBlock())this.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START);else if(e.getAttribute("contenteditable")=="false"&&e.is(CKEDITOR.dtd.$block))return this.setStartBefore(e),this.setEndAfter(e),!0;var r=e,i=n,s=void 0;r.type==CKEDITOR.NODE_ELEMENT&&r.isEditable(!1)&&(s=r[t?"getLast":"getFirst"](f)),!i&&!s&&(s=r[t?"getPrevious":"getNext"](f)),e=s}return!!n},moveToClosestEditablePosition:function(e,t){var n=new CKEDITOR.dom.range(this.root),r=0,i,s=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];n.moveToPosition(e,s[t?0:1]);if(e.is(CKEDITOR.dtd.$block)){if(i=n[t?"getNextEditableNode":"getPreviousEditableNode"]())r=1,i.type==CKEDITOR.NODE_ELEMENT&&i.is(CKEDITOR.dtd.$block)&&i.getAttribute("contenteditable")=="false"?(n.setStartAt(i,CKEDITOR.POSITION_BEFORE_START),n.setEndAt(i,CKEDITOR.POSITION_AFTER_END)):n.moveToPosition(i,s[t?1:0])}else r=1;return r&&this.moveToRange(n),!!r},moveToElementEditStart:function(e){return this.moveToElementEditablePosition(e)},moveToElementEditEnd:function(e){return this.moveToElementEditablePosition(e,!0)},getEnclosedNode:function(){var e=this.clone();e.optimize();if(e.startContainer.type!=CKEDITOR.NODE_ELEMENT||e.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var e=new CKEDITOR.dom.walker(e),t=CKEDITOR.dom.walker.bookmark(!1,!0),n=CKEDITOR.dom.walker.whitespaces(!0);e.evaluator=function(e){return n(e)&&t(e)};var r=e.next();return e.reset(),r&&r.equals(e.previous())?r:null},getTouchedStartNode:function(){var e=this.startContainer;return this.collapsed||e.type!=CKEDITOR.NODE_ELEMENT?e:e.getChild(this.startOffset)||e},getTouchedEndNode:function(){var e=this.endContainer;return this.collapsed||e.type!=CKEDITOR.NODE_ELEMENT?e:e.getChild(this.endOffset-1)||e},getNextEditableNode:n(),getPreviousEditableNode:n(1),scrollIntoView:function(){var e=new CKEDITOR.dom.element.createFromHtml(" ",this.document),t,n,r,i=this.clone();i.optimize(),(r=i.startContainer.type==CKEDITOR.NODE_TEXT)?(n=i.startContainer.getText(),t=i.startContainer.split(i.startOffset),e.insertAfter(i.startContainer)):i.insertNode(e),e.scrollIntoView(),r&&(i.startContainer.setText(n),t.remove()),e.remove()},_setStartContainer:function(e){this.startContainer=e},_setEndContainer:function(e){this.endContainer=e}}}(),CKEDITOR.POSITION_AFTER_START=1,CKEDITOR.POSITION_BEFORE_END=2,CKEDITOR.POSITION_BEFORE_START=3,CKEDITOR.POSITION_AFTER_END=4,CKEDITOR.ENLARGE_ELEMENT=1,CKEDITOR.ENLARGE_BLOCK_CONTENTS=2,CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS=3,CKEDITOR.ENLARGE_INLINE=4,CKEDITOR.START=1,CKEDITOR.END=2,CKEDITOR.SHRINK_ELEMENT=1,CKEDITOR.SHRINK_TEXT=2,"use strict",function(){function e(e){arguments.length<1||(this.range=e,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function t(e){var t=[];return e.forEach(function(e){if(e.getAttribute("contenteditable")=="true")return t.push(e),!1},CKEDITOR.NODE_ELEMENT,!0),t}function n(e,r,i,s){e:{s==null&&(s=t(i));for(var o;o=s.shift();)if(o.getDtd().p){s={element:o,remaining:s};break e}s=null}return s?(o=CKEDITOR.filter.instances[s.element.data("cke-filter")])&&!o.check(r)?n(e,r,i,s.remaining):(r=new CKEDITOR.dom.range(s.element),r.selectNodeContents(s.element),r=r.createIterator(),r.enlargeBr=e.enlargeBr,r.enforceRealBlocks=e.enforceRealBlocks,r.activeFilter=r.filter=o,e._.nestedEditable={element:s.element,container:i,remaining:s.remaining,iterator:r},1):0}function r(e,t,n){return t?(e=e.clone(),e.collapse(!n),e.checkBoundaryOfElement(t,n?CKEDITOR.START:CKEDITOR.END)):!1}var i=/^[\r\n\t ]+$/,s=CKEDITOR.dom.walker.bookmark(!1,!0),o=CKEDITOR.dom.walker.whitespaces(!0),u=function(e){return s(e)&&o(e)},a={dd:1,dt:1,li:1};e.prototype={getNextParagraph:function(e){var t,o,l,p,v,e=e||"p";if(this._.nestedEditable){if(t=this._.nestedEditable.iterator.getNextParagraph(e))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,t;this.activeFilter=this.filter;if(n(this,e,this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(e);this._.nestedEditable=null}if(!this.range.root.getDtd()[e])return null;if(!this._.started){var m=this.range.clone();o=m.startPath();var y=m.endPath(),w=!m.collapsed&&r(m,o.block),E=!m.collapsed&&r(m,y.block,1);m.shrink(CKEDITOR.SHRINK_ELEMENT,!0),w&&m.setStartAt(o.block,CKEDITOR.POSITION_BEFORE_END),E&&m.setEndAt(y.block,CKEDITOR.POSITION_AFTER_START),o=m.endContainer.hasAscendant("pre",!0)||m.startContainer.hasAscendant("pre",!0),m.enlarge(this.forceBrBreak&&!o||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);if(!m.collapsed){o=new CKEDITOR.dom.walker(m.clone()),y=CKEDITOR.dom.walker.bookmark(!0,!0),o.evaluator=y,this._.nextNode=o.next(),o=new CKEDITOR.dom.walker(m.clone()),o.evaluator=y,o=o.previous(),this._.lastNode=o.getNextSourceNode(!0,null,m.root),this._.lastNode&&this._.lastNode.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(y=this.range.clone(),y.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),y.checkEndOfBlock()&&(y=new CKEDITOR.dom.elementPath(y.endContainer,y.root),this._.lastNode=(y.block||y.blockLimit).getNextSourceNode(!0)));if(!this._.lastNode||!m.root.contains(this._.lastNode))this._.lastNode=this._.docEndMarker=m.document.createText(""),this._.lastNode.insertAfter(o);m=null}this._.started=1,o=m}y=this._.nextNode,m=this._.lastNode;for(this._.nextNode=null;y;){var w=0,E=y.hasAscendant("pre"),S=y.type!=CKEDITOR.NODE_ELEMENT,x=0;if(S)y.type==CKEDITOR.NODE_TEXT&&i.test(y.getText())&&(S=0);else{var T=y.getName();if(CKEDITOR.dtd.$block[T]&&y.getAttribute("contenteditable")=="false"){t=y,n(this,e,t);break}if(y.isBlockBoundary(this.forceBrBreak&&!E&&{br:1})){if(T=="br")S=1;else if(!o&&!y.getChildCount()&&T!="hr"){t=y,l=y.equals(m);break}o&&(o.setEndAt(y,CKEDITOR.POSITION_BEFORE_START),T!="br"&&(this._.nextNode=y)),w=1}else{if(y.getFirst()){o||(o=this.range.clone(),o.setStartAt(y,CKEDITOR.POSITION_BEFORE_START)),y=y.getFirst();continue}S=1}}S&&!o&&(o=this.range.clone(),o.setStartAt(y,CKEDITOR.POSITION_BEFORE_START)),l=(!w||S)&&y.equals(m);if(o&&!w)for(;!y.getNext(u)&&!l;){T=y.getParent();if(T.isBlockBoundary(this.forceBrBreak&&!E&&{br:1})){w=1,S=0,l||T.equals(m),o.setEndAt(T,CKEDITOR.POSITION_BEFORE_END);break}y=T,S=1,l=y.equals(m),x=1}S&&o.setEndAt(y,CKEDITOR.POSITION_AFTER_END),y=this._getNextSourceNode(y,x,m);if((l=!y)||w&&o)break}if(!t){if(!o)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;t=new CKEDITOR.dom.elementPath(o.startContainer,o.root),y=t.blockLimit,w={div:1,th:1,td:1},t=t.block;if(!t&&y&&!this.enforceRealBlocks&&w[y.getName()]&&o.checkStartOfBlock()&&o.checkEndOfBlock()&&!y.equals(o.root))t=y;else if(!t||this.enforceRealBlocks&&t.is(a))t=this.range.document.createElement(e),o.extractContents().appendTo(t),t.trim(),o.insertNode(t),p=v=!0;else if(t.getName()!="li"){if(!o.checkStartOfBlock()||!o.checkEndOfBlock())t=t.clone(!1),o.extractContents().appendTo(t),t.trim(),v=o.splitBlock(),p=!v.wasStartOfBlock,v=!v.wasEndOfBlock,o.insertNode(t)}else l||(this._.nextNode=t.equals(m)?null:this._getNextSourceNode(o.getBoundaryNodes().endNode,1,m))}return p&&(p=t.getPrevious())&&p.type==CKEDITOR.NODE_ELEMENT&&(p.getName()=="br"?p.remove():p.getLast()&&p.getLast().$.nodeName.toLowerCase()=="br"&&p.getLast().remove()),v&&(p=t.getLast())&&p.type==CKEDITOR.NODE_ELEMENT&&p.getName()=="br"&&(!CKEDITOR.env.needsBrFiller||p.getPrevious(s)||p.getNext(s))&&p.remove(),this._.nextNode||(this._.nextNode=l||t.equals(m)||!m?null:this._getNextSourceNode(t,1,m)),t},_getNextSourceNode:function(e,t,n){function r(e){return!e.equals(n)&&!e.equals(i)}for(var i=this.range.root,e=e.getNextSourceNode(t,null,r);!s(e);)e=e.getNextSourceNode(t,null,r);return e}},CKEDITOR.dom.range.prototype.createIterator=function(){return new e(this)}}(),CKEDITOR.command=function(e,t){this.uiItems=[],this.exec=function(n){return this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed()?!1:(this.editorFocus&&e.focus(),this.fire("exec")===!1?!0:t.exec.call(this,e,n)!==!1)},this.refresh=function(e,n){return!this.readOnly&&e.readOnly?!0:this.context&&!n.isContextFor(this.context)?(this.disable(),!0):this.checkAllowed(!0)?(this.startDisabled||this.enable(),this.modes&&!this.modes[e.mode]&&this.disable(),this.fire("refresh",{editor:e,path:n})===!1?!0:t.refresh&&t.refresh.apply(this,arguments)!==!1):(this.disable(),!0)};var n;this.checkAllowed=function(t){return!t&&typeof n=="boolean"?n:n=e.activeFilter.checkFeature(this)},CKEDITOR.tools.extend(this,t,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!t.context,state:CKEDITOR.TRISTATE_DISABLED}),CKEDITOR.event.call(this)},CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&&this.checkAllowed()&&this.setState(!this.preserveState||typeof this.previousState=="undefined"?CKEDITOR.TRISTATE_OFF:this.previousState)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)},setState:function(e){return this.state==e||e!=CKEDITOR.TRISTATE_DISABLED&&!this.checkAllowed()?!1:(this.previousState=this.state,this.state=e,this.fire("state"),!0)},toggleState:function(){this.state==CKEDITOR.TRISTATE_OFF?this.setState(CKEDITOR.TRISTATE_ON):this.state==CKEDITOR.TRISTATE_ON&&this.setState(CKEDITOR.TRISTATE_OFF)}},CKEDITOR.event.implementOn(CKEDITOR.command.prototype),CKEDITOR.ENTER_P=1,CKEDITOR.ENTER_BR=2,CKEDITOR.ENTER_DIV=3,CKEDITOR.config={customConfig:"config.js",autoUpdateElement:!0,language:"",defaultLanguage:"en",contentsLangDirection:"",enterMode:CKEDITOR.ENTER_P,forceEnterMode:!1,shiftEnterMode:CKEDITOR.ENTER_BR,docType:"",bodyId:"",bodyClass:"",fullPage:!1,height:200,extraPlugins:"",removePlugins:"",protectedSource:[],tabIndex:0,width:"",baseFloatZIndex:1e4,blockedKeystrokes:[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85]},function(){function e(e,t,n,r,i){var s,u,e=[];for(s in t){u=t[s],u=typeof u=="boolean"?{}:typeof u=="function"?{match:u}:L(u),s.charAt(0)!="$"&&(u.elements=s),n&&(u.featureName=n.toLowerCase());var a=u;a.elements=o(a.elements,/\s+/)||null,a.propertiesOnly=a.propertiesOnly||a.elements===!0;var f=/\s*,\s*/,l=void 0;for(l in _){a[l]=o(a[l],f)||null;var c=a,h=D[l],p=o(a[D[l]],f),d=a[l],v=[],m=!0,y=void 0;p?m=!1:p={};for(y in d)y.charAt(0)=="!"&&(y=y.slice(1),v.push(y),p[y]=!0,m=!1);for(;y=v.pop();)d[y]=d["!"+y],delete d["!"+y];c[h]=(m?!1:p)||null}a.match=a.match||null,r.push(u),e.push(u)}for(var t=i.elements,i=i.generic,b,n=0,r=e.length;n-1?p.push(RegExp("^"+d.replace(/\*/g,".*")+"$")):p.push(d);h=p,h.length&&(a[f]=h,c=!1)}a.nothingRequired=c,a.noProperties=!(a.attributes||a.classes||a.styles);if(s.elements===!0||s.elements===null)i[u?"unshift":"push"](s);else{a=s.elements,delete s.elements;for(b in a)t[b]?t[b][u?"unshift":"push"](s):t[b]=[s]}}}function t(e,t,r,i){if(!e.match||e.match(t))if(i||u(e,t)){e.propertiesOnly||(r.valid=!0),r.allAttributes||(r.allAttributes=n(e.attributes,t.attributes,r.validAttributes)),r.allStyles||(r.allStyles=n(e.styles,t.styles,r.validStyles));if(!r.allClasses){e=e.classes,t=t.classes,i=r.validClasses;if(e)if(e===!0)e=!0;else{for(var s=0,o=t.length,a;s-1&&t.push(n.replace(/\*/g,".*"));return t.length?RegExp("^(?:"+t.join("|")+")$"):null}function v(e){var t=e.attributes,n;delete t.style,delete t["class"];if(n=CKEDITOR.tools.writeCssText(e.styles,!0))t.style=n;e.classes.length&&(t["class"]=e.classes.sort().join(" "))}function m(e){switch(e.name){case"a":if(!e.children.length&&!e.attributes.name)return!1;break;case"img":if(!e.attributes.src)return!1}return!0}function g(e){if(!e)return!1;if(e===!0)return!0;var t=d(e);return function(n){return n in e||t&&n.match(t)}}function y(){return new CKEDITOR.htmlParser.element("br")}function b(e){return e.type==CKEDITOR.NODE_ELEMENT&&(e.name=="br"||C.$block[e.name])}function w(e,t,n){var r=e.name;if(C.$empty[r]||!e.children.length)r=="hr"&&t=="br"?e.replaceWith(y()):(e.parent&&n.push({check:"it",el:e.parent}),e.remove());else if(C.$block[r]||r=="tr")if(t=="br")e.previous&&!b(e.previous)&&(t=y(),t.insertBefore(e)),e.next&&!b(e.next)&&(t=y(),t.insertAfter(e)),e.replaceWithChildren();else{var r=e.children,i;e:{i=C[t];for(var s=0,o=r.length,u;s0;)u=r[--o],s&&(u.type==CKEDITOR.NODE_TEXT||u.type==CKEDITOR.NODE_ELEMENT&&C.$inline[u.name])?(a||(a=new CKEDITOR.htmlParser.element(t),a.insertAfter(e),n.push({check:"parent-down",el:a})),a.add(u,0)):(a=null,f=C[i.name]||C.span,u.insertAfter(e),i.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT&&u.type==CKEDITOR.NODE_ELEMENT&&!f[u.name]&&n.push({check:"el-up",el:u}));e.remove()}}else r=="style"?e.remove():(e.parent&&n.push({check:"it",el:e.parent}),e.replaceWithChildren())}function E(e,t,n){var r,i;for(r=0;r";if(s in this._.cachedChecks)return this._.cachedChecks[s];r=l(e).$1,i=r.styles;var o=r.classes;r.name=r.elements,r.classes=o=o?o.split(/\s*,\s*/):[],r.styles=f(i),r.attributes=f(r.attributes),r.children=[],o.length&&(r.attributes["class"]=o.join(" ")),i&&(r.attributes.style=CKEDITOR.tools.writeCssText(r.styles)),i=r}else r=e.getDefinition(),i=r.styles,o=r.attributes||{},i?(i=L(i),o.style=CKEDITOR.tools.writeCssText(i,!0)):i={},i={name:r.element,attributes:o,classes:o["class"]?o["class"].split(/\s+/):[],styles:i,children:[]};var o=CKEDITOR.tools.clone(i),u=[],a;if(t!==!1&&(a=this._.transformations[i.name])){for(r=0;r0?!1:CKEDITOR.tools.objectCompare(i.attributes,o.attributes,!0)?!0:!1,typeof e=="string"&&(this._.cachedChecks[s]=t),t},getAllowedEnterMode:function(){var e=["p","div","br"],t={p:CKEDITOR.ENTER_P,div:CKEDITOR.ENTER_DIV,br:CKEDITOR.ENTER_BR};return function(n,r){var i=e.slice(),s;if(this.check(M[n]))return n;for(r||(i=i.reverse());s=i.pop();)if(this.check(s))return t[s];return CKEDITOR.ENTER_BR}}(),destroy:function(){delete CKEDITOR.filter.instances[this.id],delete this._,delete this.allowedContent,delete this.disallowedContent}};var _={styles:1,attributes:1,classes:1},D={styles:"requiredStyles",attributes:"requiredAttributes",classes:"requiredClasses"},P=/^([a-z0-9\-*\s]+)((?:\s*\{[!\w\-,\s\*]+\}\s*|\s*\[[!\w\-,\s\*]+\]\s*|\s*\([!\w\-,\s\*]+\)\s*){0,3})(?:;\s*|$)/i,H={styles:/{([^}]+)}/,attrs:/\[([^\]]+)\]/,classes:/\(([^\)]+)\)/},B=/^cke:(object|embed|param)$/,j=/^(object|embed|param)$/,F=CKEDITOR.filter.transformationsTools={sizeToStyle:function(e){this.lengthToStyle(e,"width"),this.lengthToStyle(e,"height")},sizeToAttribute:function(e){this.lengthToAttribute(e,"width"),this.lengthToAttribute(e,"height")},lengthToStyle:function(e,t,n){n=n||t;if(!(n in e.styles)){var r=e.attributes[t];r&&(/^\d+$/.test(r)&&(r+="px"),e.styles[n]=r)}delete e.attributes[t]},lengthToAttribute:function(e,t,n){n=n||t;if(!(n in e.attributes)){var r=e.styles[t],i=r&&r.match(/^(\d+)(?:\.\d*)?px$/);i?e.attributes[n]=i[1]:r==O&&(e.attributes[n]=O)}delete e.styles[t]},alignmentToStyle:function(e){if(!("float"in e.styles)){var t=e.attributes.align;if(t=="left"||t=="right")e.styles["float"]=t}delete e.attributes.align},alignmentToAttribute:function(e){if(!("align"in e.attributes)){var t=e.styles["float"];if(t=="left"||t=="right")e.attributes.align=t}delete e.styles["float"]},matchesStyle:S,transform:function(e,t){if(typeof t=="string")e.name=t;else{var n=t.getDefinition(),r=n.styles,i=n.attributes,s,o,u,a;e.name=n.element;for(s in i)if(s=="class"){n=e.classes.join("|");for(u=i[s].split(/\s+/);a=u.pop();)n.indexOf(a)==-1&&e.classes.push(a)}else e.attributes[s]=i[s];for(o in r)e.styles[o]=r[o]}}}}(),function(){CKEDITOR.focusManager=function(e){return e.focusManager?e.focusManager:(this.hasFocus=!1,this.currentActive=null,this._={editor:e},this)},CKEDITOR.focusManager._={blurDelay:200},CKEDITOR.focusManager.prototype={focus:function(e){this._.timer&&clearTimeout(this._.timer),e&&(this.currentActive=e),!this.hasFocus&&!this._.locked&&((e=CKEDITOR.currentInstance)&&e.focusManager.blur(1),this.hasFocus=!0,(e=this._.editor.container)&&e.addClass("cke_focus"),this._.editor.fire("focus"))},lock:function(){this._.locked=1},unlock:function(){delete this._.locked},blur:function(e){function t(){if(this.hasFocus){this.hasFocus=!1;var e=this._.editor.container;e&&e.removeClass("cke_focus"),this._.editor.fire("blur")}}if(!this._.locked){this._.timer&&clearTimeout(this._.timer);var n=CKEDITOR.focusManager._.blurDelay;e||!n?t.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer,t.call(this)},n,this)}},add:function(e,t){var n=e.getCustomData("focusmanager");if(!n||n!=this){n&&n.remove(e);var n="focus",r="blur";t&&(CKEDITOR.env.ie?(n="focusin",r="focusout"):CKEDITOR.event.useCapture=1);var i={blur:function(){e.equals(this.currentActive)&&this.blur()},focus:function(){this.focus(e)}};e.on(n,i.focus,this),e.on(r,i.blur,this),t&&(CKEDITOR.event.useCapture=0),e.setCustomData("focusmanager",this),e.setCustomData("focusmanager_handlers",i)}},remove:function(e){e.removeCustomData("focusmanager");var t=e.removeCustomData("focusmanager_handlers");e.removeListener("blur",t.blur),e.removeListener("focus",t.focus)}}}(),CKEDITOR.keystrokeHandler=function(e){return e.keystrokeHandler?e.keystrokeHandler:(this.keystrokes={},this.blockedKeystrokes={},this._={editor:e},this)},function(){var e,t=function(t){var t=t.data,n=t.getKeystroke(),r=this.keystrokes[n],i=this._.editor;return e=i.fire("key",{keyCode:n,domEvent:t})===!1,e||(r&&(e=i.execCommand(r,{from:"keystrokeHandler"})!==!1),e||(e=!!this.blockedKeystrokes[n])),e&&t.preventDefault(!0),!e},n=function(t){e&&(e=!1,t.data.preventDefault(!0))};CKEDITOR.keystrokeHandler.prototype={attach:function(e){e.on("keydown",t,this),CKEDITOR.env.gecko&&CKEDITOR.env.mac&&e.on("keypress",n,this)}}}(),function(){CKEDITOR.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,"en-au":1,"en-ca":1,"en-gb":1,en:1,eo:1,es:1,et:1,eu:1,fa:1,fi:1,fo:1,"fr-ca":1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,is:1,it:1,ja:1,ka:1,km:1,ko:1,ku:1,lt:1,lv:1,mk:1,mn:1,ms:1,nb:1,nl:1,no:1,pl:1,"pt-br":1,pt:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,"sr-latn":1,sr:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,"zh-cn":1,zh:1},rtl:{ar:1,fa:1,he:1,ku:1,ug:1},load:function(e,t,n){if(!e||!CKEDITOR.lang.languages[e])e=this.detect(t,e);var r=this,t=function(){r[e].dir=r.rtl[e]?"rtl":"ltr",n(e,r[e])};this[e]?t():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl("lang/"+e+".js"),t,this)},detect:function(e,t){var n=this.languages,t=t||navigator.userLanguage||navigator.language||e,r=t.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),i=r[1],r=r[2];return n[i+"-"+r]?i=i+"-"+r:n[i]||(i=null),CKEDITOR.lang.detect=i?function(){return i}:function(e){return e},i||e}}}(),CKEDITOR.scriptLoader=function(){var e={},t={};return{load:function(n,r,i,s){var o=typeof n=="string";o&&(n=[n]),i||(i=CKEDITOR);var u=n.length,f=[],l=[],c=function(e){r&&(o?r.call(i,e):r.call(i,f,l))};if(u===0)c(!0);else{var h=function(e,t){(t?f:l).push(e),--u<=0&&(s&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"),c(t))},p=function(n,r){e[n]=1;var i=t[n];delete t[n];for(var s=0;s1)){var s=new CKEDITOR.dom.element("script");s.setAttributes({type:"text/javascript",src:n}),r&&(CKEDITOR.env.ie&&CKEDITOR.env.version<11?s.$.onreadystatechange=function(){if(s.$.readyState=="loaded"||s.$.readyState=="complete")s.$.onreadystatechange=null,p(n,!0)}:(s.$.onload=function(){setTimeout(function(){p(n,!0)},0)},s.$.onerror=function(){p(n,!1)})),s.appendTo(CKEDITOR.document.getHead())}}};s&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var v=0;v=0?l=e.langCode:(l=e.langCode.replace(/-.*/,""),l=l!=e.langCode&&CKEDITOR.tools.indexOf(f,l)>=0?l:CKEDITOR.tools.indexOf(f,"en")>=0?"en":f[0]),!a.langEntries||!a.langEntries[l]?s.push(CKEDITOR.getUrl(a.path+"lang/"+l+".js")):(e.lang[u]=a.langEntries[l],l=null)),i.push(l),r.push(a)}CKEDITOR.scriptLoader.load(s,function(){for(var n=["beforeInit","init","afterInit"],s=0;s]+)>)|(?:!--([\S|\s]*?)--\>)|(?:([^\/\s>]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:"[^"]*")|(?:'[^']*')|[^\s"'\/>]+))?)*)[\S\s]*?(\/?)>))/g}},function(){var e=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,t={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};CKEDITOR.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(n){for(var r,i,s=0,o;r=this._.htmlPartsRegex.exec(n);){i=r.index,i>s&&(s=n.substring(s,i),o?o.push(s):this.onText(s)),s=this._.htmlPartsRegex.lastIndex;if(i=r[1]){i=i.toLowerCase(),o&&CKEDITOR.dtd.$cdata[i]&&(this.onCDATA(o.join("")),o=null);if(!o){this.onTagClose(i);continue}}if(o)o.push(r[0]);else if(i=r[3]){i=i.toLowerCase();if(!/="/.test(i)){var u={},f,l=r[4];r=!!r[5];if(l)for(;f=e.exec(l);){var c=f[1].toLowerCase();f=f[2]||f[3]||f[4]||"",u[c]=!f&&t[c]?c:CKEDITOR.tools.htmlDecodeAttr(f)}this.onTagOpen(i,u,r),!o&&CKEDITOR.dtd.$cdata[i]&&(o=[])}}else(i=r[2])&&this.onComment(i)}n.length>s&&this.onText(n.substring(s,n.length))}}}(),CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(e){this._.output.push("<",e)},openTagClose:function(e,t){t?this._.output.push(" />"):this._.output.push(">")},attribute:function(e,t){typeof t=="string"&&(t=CKEDITOR.tools.htmlEncodeAttr(t)),this._.output.push(" ",e,'="',t,'"')},closeTag:function(e){this._.output.push("")},text:function(e){this._.output.push(e)},comment:function(e){this._.output.push("")},write:function(e){this._.output.push(e)},reset:function(){this._.output=[],this._.indent=!1},getHtml:function(e){var t=this._.output.join("");return e&&this.reset(),t}}}),"use strict",function(){CKEDITOR.htmlParser.node=function(){},CKEDITOR.htmlParser.node.prototype={remove:function(){var e=this.parent.children,t=CKEDITOR.tools.indexOf(e,this),n=this.previous,r=this.next;n&&(n.next=r),r&&(r.previous=n),e.splice(t,1),this.parent=null},replaceWith:function(e){var t=this.parent.children,n=CKEDITOR.tools.indexOf(t,this),r=e.previous=this.previous,i=e.next=this.next;r&&(r.next=e),i&&(i.previous=e),t[n]=e,e.parent=this.parent,this.parent=null},insertAfter:function(e){var t=e.parent.children,n=CKEDITOR.tools.indexOf(t,e),r=e.next;t.splice(n+1,0,this),this.next=e.next,this.previous=e,e.next=this,r&&(r.previous=this),this.parent=e.parent},insertBefore:function(e){var t=e.parent.children,n=CKEDITOR.tools.indexOf(t,e);t.splice(n,0,this),this.next=e,(this.previous=e.previous)&&(e.previous.next=this),e.previous=this,this.parent=e.parent},getAscendant:function(e){var t=typeof e=="function"?e:typeof e=="string"?function(t){return t.name==e}:function(t){return t.name in e},n=this.parent;for(;n&&n.type==CKEDITOR.NODE_ELEMENT;){if(t(n))return n;n=n.parent}return null},wrapWith:function(e){return this.replaceWith(e),e.add(this),e},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(e){return e||{}}}}(),"use strict",CKEDITOR.htmlParser.comment=function(e){this.value=e,this._={isBlockLike:!1}},CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(e,t){var n=this.value;return(n=e.onComment(t,n,this))?typeof n!="string"?(this.replaceWith(n),!1):(this.value=n,!0):(this.remove(),!1)},writeHtml:function(e,t){t&&this.filter(t),e.comment(this.value)}}),"use strict",function(){CKEDITOR.htmlParser.text=function(e){this.value=e,this._={isBlockLike:!1}},CKEDITOR.htmlParser.text.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(e,t){if(!(this.value=e.onText(t,this.value,this)))return this.remove(),!1},writeHtml:function(e,t){t&&this.filter(t),e.text(this.value)}})}(),"use strict",function(){CKEDITOR.htmlParser.cdata=function(e){this.value=e},CKEDITOR.htmlParser.cdata.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(){},writeHtml:function(e){e.write(this.value)}})}(),"use strict",CKEDITOR.htmlParser.fragment=function(){this.children=[],this.parent=null,this._={isBlockLike:!0,hasInlineStarted:!1}},function(){function e(e){return e.attributes["data-cke-survive"]?!1:e.name=="a"&&e.attributes.href||CKEDITOR.dtd.$removeEmpty[e.name]}var t=CKEDITOR.tools.extend({table:1,ul:1,ol:1,dl:1},CKEDITOR.dtd.table,CKEDITOR.dtd.ul,CKEDITOR.dtd.ol,CKEDITOR.dtd.dl),n={ol:1,ul:1},r=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),i={ul:"li",ol:"li",dl:"dd",table:"tbody",tbody:"tr",thead:"tr",tfoot:"tr",tr:"td"};CKEDITOR.htmlParser.fragment.fromHtml=function(s,o,u){function f(e){var t;if(w.length>0)for(var n=0;n=0;t--)if(e==w[t].name){w.splice(t,1);return}for(var n=[],r=[],i=S;i!=y&&i.name!=e;)i._.isBlockLike||r.unshift(i),n.push(i),i=i.returnPoint||i.parent;if(i!=y){for(t=0;t0?this.children[t-1]:null;if(n){if(e._.isBlockLike&&n.type==CKEDITOR.NODE_TEXT){n.value=CKEDITOR.tools.rtrim(n.value);if(n.value.length===0){this.children.pop(),this.add(e);return}}n.next=e}e.previous=n,e.parent=this,this.children.splice(t,0,e),this._.hasInlineStarted||(this._.hasInlineStarted=e.type==CKEDITOR.NODE_TEXT||e.type==CKEDITOR.NODE_ELEMENT&&!e._.isBlockLike)},filter:function(e,t){t=this.getFilterContext(t),e.onRoot(t,this),this.filterChildren(e,!1,t)},filterChildren:function(e,t,n){if(this.childrenFilteredBy!=e.id){n=this.getFilterContext(n),t&&!this.parent&&e.onRoot(n,this),this.childrenFilteredBy=e.id;for(t=0;t=0&&e7||i.name in CKEDITOR.dtd.tr||i.name in CKEDITOR.dtd.$listItem)?o=!1:(o=n(i),o=!o||i.name=="form"&&o.name=="input");o&&i.add(u(e))}}}function f(e,t){if((!c||CKEDITOR.env.needsBrFiller)&&e.type==CKEDITOR.NODE_ELEMENT&&e.name=="br"&&!e.attributes["data-cke-eol"])return!0;var n;if(e.type==CKEDITOR.NODE_TEXT&&(n=e.value.match(m))){n.index&&((new CKEDITOR.htmlParser.text(e.value.substring(0,n.index))).insertBefore(e),e.value=n[0]);if(!CKEDITOR.env.needsBrFiller&&c&&(!t||e.parent.name in h))return!0;if(!c)if((n=e.previous)&&n.name=="br"||!n||s(n))return!0}return!1}var l={elements:{}},c=t=="html",h=CKEDITOR.tools.extend({},w),p;for(p in h)"#"in y[p]||delete h[p];for(p in h)l.elements[p]=a(c,e.config.fillEmptyBlocks);return l.root=a(c,!1),l.elements.br=function(e){return function(t){if(t.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var n=t.attributes;if("data-cke-bogus"in n||"data-cke-eol"in n)delete n["data-cke-bogus"];else{for(n=t.next;n&&i(n);)n=n.next;var a=r(t);!n&&s(t.parent)?o(t.parent,u(e)):s(n)&&a&&!s(a)&&u(e).insertBefore(n)}}}}(c),l}function t(e,t){return e!=CKEDITOR.ENTER_BR&&t!==!1?e==CKEDITOR.ENTER_DIV?"div":"p":!1}function n(e){for(e=e.children[e.children.length-1];e&&i(e);)e=e.previous;return e}function r(e){for(e=e.previous;e&&i(e);)e=e.previous;return e}function i(e){return e.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(e.value)||e.type==CKEDITOR.NODE_ELEMENT&&e.attributes["data-cke-bookmark"]}function s(e){return e&&(e.type==CKEDITOR.NODE_ELEMENT&&e.name in w||e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function o(e,t){var n=e.children[e.children.length-1];e.children.push(t),t.parent=e,n&&(n.next=t,t.previous=n)}function u(e){e=e.attributes,e.contenteditable!="false"&&(e["data-cke-editable"]=e.contenteditable?"true":1),e.contenteditable="false"}function a(e){e=e.attributes;switch(e["data-cke-editable"]){case"true":e.contenteditable="true";break;case"1":delete e.contenteditable}}function f(e){return e.replace(N,function(e,t,n){return"<"+t+n.replace(C,function(e,t){return k.test(t)&&n.indexOf("data-cke-saved-"+t)==-1?" data-cke-saved-"+e+" data-cke-"+CKEDITOR.rnd+"-"+e:e})+">"})}function l(e,t){return e.replace(t,function(e,t,n){return e.indexOf("/g,">")+""),""+encodeURIComponent(e)+""})}function c(e){return e.replace(O,function(e,t){return decodeURIComponent(t)})}function h(e){return e.replace(/<\!--(?!{cke_protected})[\s\S]+?--\>/g,function(e){return""})}function p(e){return e.replace(/<\!--\{cke_protected\}\{C\}([\s\S]+?)--\>/g,function(e,t){return decodeURIComponent(t)})}function d(e,t){var n=t._.dataStore;return e.replace(/<\!--\{cke_protected\}([\s\S]+?)--\>/g,function(e,t){return decodeURIComponent(t)}).replace(/\{cke_protected_(\d+)\}/g,function(e,t){return n&&n[t]||""})}function v(e,t){for(var n=[],r=t.config.protectedSource,i=t._.dataStore||(t._.dataStore={id:1}),s=/<\!--\{cke_temp(comment)?\}(\d*?)--\>/g,r=[//gi,//gi,//gi].concat(r),e=e.replace(/<\!--[\s\S]*?--\>/g,function(e){return""}),o=0;o"});return e=e.replace(s,function(e,t,r){return""}),e=e.replace(/<\w+(?:\s+(?:(?:[^\s=>]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=>]+))+\s*>/g,function(e){return e.replace(/<\!--\{cke_protected\}([^>]*)--\>/g,function(e,t){return i[i.id]=decodeURIComponent(t),"{cke_protected_"+i.id++ +"}"})}),e=e.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(e,n,r,i){return"<"+n+r+">"+d(p(i),t)+""})}CKEDITOR.htmlDataProcessor=function(n){var r,i,s=this;this.editor=n,this.dataFilter=r=new CKEDITOR.htmlParser.filter,this.htmlFilter=i=new CKEDITOR.htmlParser.filter,this.writer=new CKEDITOR.htmlParser.basicWriter,r.addRules(E),r.addRules(S,{applyToAll:!0}),r.addRules(e(n,"data"),{applyToAll:!0}),i.addRules(x),i.addRules(T,{applyToAll:!0}),i.addRules(e(n,"html"),{applyToAll:!0}),n.on("toHtml",function(e){var e=e.data,r=e.dataValue,i,r=v(r,n),r=l(r,A),r=f(r),r=l(r,L),r=r.replace(M,"$1cke:$2"),r=r.replace(D,""),r=r.replace(/(]*>)(\r\n|\n)/g,"$1$2$2"),r=r.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi,"$1data-cke-"+CKEDITOR.rnd+"-$2");i=e.context||n.editable().getName();var s;CKEDITOR.env.ie&&CKEDITOR.env.version<9&&i=="pre"&&(i="div",r="
"+r+"
",s=1),i=n.document.createElement(i),i.setHtml("a"+r),r=i.getHtml().substr(1),r=r.replace(RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),""),s&&(r=r.replace(/^
|<\/pre>$/gi,"")),r=r.replace(_,"$1$2"),r=c(r),r=p(r),i=e.fixForBody===!1?!1:t(e.enterMode,n.config.autoParagraph),r=CKEDITOR.htmlParser.fragment.fromHtml(r,e.context,i),i&&(s=r,!s.children.length&&CKEDITOR.dtd[s.name][i]&&(i=new CKEDITOR.htmlParser.element(i),s.add(i))),e.dataValue=r},null,null,5),n.on("toHtml",function(e){e.data.filter.applyTo(e.data.dataValue,!0,e.data.dontFilter,e.data.enterMode)&&n.fire("dataFiltered")},null,null,6),n.on("toHtml",function(e){e.data.dataValue.filterChildren(s.dataFilter,!0)},null,null,10),n.on("toHtml",function(e){var e=e.data,t=e.dataValue,n=new CKEDITOR.htmlParser.basicWriter;t.writeChildrenHtml(n),t=n.getHtml(!0),e.dataValue=h(t)},null,null,15),n.on("toDataFormat",function(e){var r=e.data.dataValue;e.data.enterMode!=CKEDITOR.ENTER_BR&&(r=r.replace(/^
/i,"")),e.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(r,e.data.context,t(e.data.enterMode,n.config.autoParagraph))},null,null,5),n.on("toDataFormat",function(e){e.data.dataValue.filterChildren(s.htmlFilter,!0)},null,null,10),n.on("toDataFormat",function(e){e.data.filter.applyTo(e.data.dataValue,!1,!0)},null,null,11),n.on("toDataFormat",function(e){var t=e.data.dataValue,r=s.writer;r.reset(),t.writeChildrenHtml(r),t=r.getHtml(!0),t=p(t),t=d(t,n),e.data.dataValue=t},null,null,15)},CKEDITOR.htmlDataProcessor.prototype={toHtml:function(e,t,n,r){var i=this.editor,s,o,u;return t&&typeof t=="object"?(s=t.context,n=t.fixForBody,r=t.dontFilter,o=t.filter,u=t.enterMode):s=t,!s&&s!==null&&(s=i.editable().getName()),i.fire("toHtml",{dataValue:e,context:s,fixForBody:n,dontFilter:r,filter:o||i.filter,enterMode:u||i.enterMode}).dataValue},toDataFormat:function(e,t){var n,r,i;return t&&(n=t.context,r=t.filter,i=t.enterMode),!n&&n!==null&&(n=this.editor.editable().getName()),this.editor.fire("toDataFormat",{dataValue:e,filter:r||this.editor.filter,context:n,enterMode:i||this.editor.enterMode}).dataValue}};var m=/(?: |\xa0)$/,g="{cke_protected}",y=CKEDITOR.dtd,b=["caption","colgroup","col","thead","tfoot","tbody"],w=CKEDITOR.tools.extend({},y.$blockLimit,y.$block),E={elements:{input:u,textarea:u}},S={attributeNames:[[/^on/,"data-cke-pa-on"],[/^data-cke-expando$/,""]]},x={elements:{embed:function(e){var t=e.parent;if(t&&t.name=="object"){var n=t.attributes.width,t=t.attributes.height;n&&(e.attributes.width=n),t&&(e.attributes.height=t)}},a:function(e){if(!e.children.length&&!e.attributes.name&&!e.attributes["data-cke-saved-name"])return!1}}},T={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/,""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(e){var t=e.attributes;if(t){if(t["data-cke-temp"])return!1;for(var n=["name","href","src"],r,i=0;i-1&&r>-1&&n!=r||(n=e.parent?e.getIndex():-1,r=t.parent?t.getIndex():-1),n>r?1:-1})},param:function(e){return e.children=[],e.isEmpty=!0,e},span:function(e){e.attributes["class"]=="Apple-style-span"&&delete e.name},html:function(e){delete e.attributes.contenteditable,delete e.attributes["class"]},body:function(e){delete e.attributes.spellcheck,delete e.attributes.contenteditable},style:function(e){var t=e.children[0];t&&t.value&&(t.value=CKEDITOR.tools.trim(t.value)),e.attributes.type||(e.attributes.type="text/css")},title:function(e){var t=e.children[0];!t&&o(e,t=new CKEDITOR.htmlParser.text),t.value=e.attributes["data-cke-title"]||""},input:a,textarea:a},attributes:{"class":function(e){return CKEDITOR.tools.ltrim(e.replace(/(?:^|\s+)cke_[^\s]*/g,""))||!1}}};CKEDITOR.env.ie&&(T.attributes.style=function(e){return e.replace(/(^|;)([^\:]+)/g,function(e){return e.toLowerCase()})});var N=/<(a|area|img|input|source)\b([^>]*)>/gi,C=/([\w-]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,k=/^(href|src|name)$/i,L=/(?:])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,A=/(])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,O=/([^<]*)<\/cke:encoded>/gi,M=/(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi,_=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,D=/]*?)\/?>(?!\s*<\/cke:\1)/gi}(),"use strict",CKEDITOR.htmlParser.element=function(e,t){this.name=e,this.attributes=t||{},this.children=[];var n=e||"",r=n.match(/^cke:(.*)/);r&&(n=r[1]),n=!(!CKEDITOR.dtd.$nonBodyContent[n]&&!CKEDITOR.dtd.$block[n]&&!CKEDITOR.dtd.$listItem[n]&&!CKEDITOR.dtd.$tableContent[n]&&!CKEDITOR.dtd.$nonEditable[n]&&n!="br"),this.isEmpty=!!CKEDITOR.dtd.$empty[e],this.isUnknown=!CKEDITOR.dtd[e],this._={isBlockLike:n,hasInlineStarted:this.isEmpty||!n}},CKEDITOR.htmlParser.cssStyle=function(e){var t={};return((e instanceof CKEDITOR.htmlParser.element?e.attributes.style:e)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(e,n,r){n=="font-family"&&(r=r.replace(/["']/g,"")),t[n.toLowerCase()]=r}),{rules:t,populate:function(e){var t=this.toString();t&&(e instanceof CKEDITOR.dom.element?e.setAttribute("style",t):e instanceof CKEDITOR.htmlParser.element?e.attributes.style=t:e.style=t)},toString:function(){var e=[],n;for(n in t)t[n]&&e.push(n,":",t[n],";");return e.join("")}}},function(){function e(e){return function(t){return t.type==CKEDITOR.NODE_ELEMENT&&(typeof e=="string"?t.name==e:t.name in e)}}var t=function(e,t){return e=e[0],t=t[0],et?1:0},n=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:n.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(e,t){var n=this,r,i,t=n.getFilterContext(t);if(t.off)return!0;n.parent||e.onRoot(t,n);for(;;){r=n.name;if(!(i=e.onElementName(t,r)))return this.remove(),!1;n.name=i;if(!(n=e.onElement(t,n)))return this.remove(),!1;if(n!==this)return this.replaceWith(n),!1;if(n.name==r)break;if(n.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(n),!1;if(!n.name)return this.replaceWithChildren(),!1}r=n.attributes;var s,o;for(s in r){o=s;for(i=r[s];;){if(!(o=e.onAttributeName(t,s))){delete r[s];break}if(o==s)break;delete r[s],s=o}o&&((i=e.onAttribute(t,n,o,i))===!1?delete r[o]:r[o]=i)}return n.isEmpty||this.filterChildren(e,!1,t),!0},filterChildren:n.filterChildren,writeHtml:function(e,n){n&&this.filter(n);var r=this.name,i=[],s=this.attributes,o,u;e.openTag(r,s);for(o in s)i.push([o,s[o]]);e.sortAttributes&&i.sort(t),o=0;for(u=i.length;o0&&(this.children[e-1].next=null),this.parent.add(n,this.getIndex()+1),n},addClass:function(e){if(!this.hasClass(e)){var t=this.attributes["class"]||"";this.attributes["class"]=t+(t?" ":"")+e}},removeClass:function(e){var t=this.attributes["class"];t&&((t=CKEDITOR.tools.trim(t.replace(RegExp("(?:\\s+|^)"+e+"(?:\\s+|$)")," ")))?this.attributes["class"]=t:delete this.attributes["class"])},hasClass:function(e){var t=this.attributes["class"];return t?RegExp("(?:^|\\s)"+e+"(?=\\s|$)").test(t):!1},getFilterContext:function(e){var t=[];e||(e={off:!1,nonEditable:!1,nestedEditable:!1}),!e.off&&this.attributes["data-cke-processor"]=="off"&&t.push("off",!0),!e.nonEditable&&this.attributes.contenteditable=="false"?t.push("nonEditable",!0):e.nonEditable&&!e.nestedEditable&&this.attributes.contenteditable=="true"&&t.push("nestedEditable",!0);if(t.length)for(var e=CKEDITOR.tools.copy(e),n=0;n'+r.getValue()+"
",CKEDITOR.document),e.insertAfter(r),r.hide(),r.$.form&&n._attachToForm()):n.setData(e.getHtml(),null,!0),n.on("loaded",function(){n.fire("uiReady"),n.editable(e),n.container=e,n.setData(n.getData(1)),n.resetDirty(),n.fire("contentDom"),n.mode="wysiwyg",n.fire("mode"),n.status="ready",n.fireOnce("instanceReady"),CKEDITOR.fire("instanceReady",null,n)},null,null,1e4),n.on("destroy",function(){r&&(n.container.clearCustomData(),n.container.remove(),r.show()),n.element.clearCustomData(),delete n.element}),n},CKEDITOR.inlineAll=function(){var e,t,n;for(n in CKEDITOR.dtd.$editable)for(var r=CKEDITOR.document.getElementsByTag(n),i=0,s=r.count();i"+(e.title?'{voiceLabel}':"")+'<{outerEl} class="cke_inner cke_reset" role="presentation">{topHtml}<{outerEl} id="{contentId}" class="cke_contents cke_reset" role="presentation">{bottomHtml}'),t=CKEDITOR.dom.element.createFromHtml(o.output({id:e.id,name:t,langDir:e.lang.dir,langCode:e.langCode,voiceLabel:e.title,topHtml:i?''+i+"":"",contentId:e.ui.spaceId("contents"),bottomHtml:s?''+s+"":"",outerEl:CKEDITOR.env.ie?"span":"div"}));r==CKEDITOR.ELEMENT_MODE_REPLACE?(n.hide(),t.insertAfter(n)):n.append(t),e.container=t,i&&e.ui.space("top").unselectable(),s&&e.ui.space("bottom").unselectable(),n=e.config.width,r=e.config.height,n&&t.setStyle("width",CKEDITOR.tools.cssLength(n)),r&&e.ui.space("contents").setStyle("height",CKEDITOR.tools.cssLength(r)),t.disableContextMenu(),CKEDITOR.env.webkit&&t.on("focus",function(){e.focus()}),e.fireOnce("uiReady")}CKEDITOR.replace=function(t,n){return e(t,n,null,CKEDITOR.ELEMENT_MODE_REPLACE)},CKEDITOR.appendTo=function(t,n,r){return e(t,n,r,CKEDITOR.ELEMENT_MODE_APPENDTO)},CKEDITOR.replaceAll=function(){for(var e=document.getElementsByTagName("textarea"),t=0;t",o="",e=s+e.replace(i,function(){return o+s})+o}e=e.replace(/\n/g,"
"),t||(e=e.replace(RegExp("
(?=)"),function(e){return r.repeat(e,2)})),e=e.replace(/^ | $/g," "),e=e.replace(/(>|\s) /g,function(e,t){return t+" "}).replace(/ (?=<)/g," "),d(this,"text",e)},insertElement:function(e,t){t?this.insertElementIntoRange(e,t):this.insertElementIntoSelection(e)},insertElementIntoRange:function(e,t){var n=this.editor,r=n.config.enterMode,i=e.getName(),s=CKEDITOR.dtd.$block[i];if(t.checkReadOnly())return!1;t.deleteContents(1),t.startContainer.type==CKEDITOR.NODE_ELEMENT&&t.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})&&v(t);var o,u;if(s)for(;(o=t.getCommonAncestor(0,1))&&(u=CKEDITOR.dtd[o.getName()])&&(!u||!u[i]);)o.getName()in CKEDITOR.dtd.span?t.splitElement(o):t.checkStartOfBlock()&&t.checkEndOfBlock()?(t.setStartBefore(o),t.collapse(!0),o.remove()):t.splitBlock(r==CKEDITOR.ENTER_DIV?"div":"p",n.editable());return t.insertNode(e),!0},insertElementIntoSelection:function(e){u(this);var t=this.editor,n=t.activeEnterMode,t=t.getSelection(),i=t.getRanges()[0],s=e.getName(),s=CKEDITOR.dtd.$block[s];this.insertElementIntoRange(e,i)&&(i.moveToPosition(e,CKEDITOR.POSITION_AFTER_END),s&&((s=e.getNext(function(e){return r(e)&&!l(e)}))&&s.type==CKEDITOR.NODE_ELEMENT&&s.is(CKEDITOR.dtd.$block)?s.getDtd()["#"]?i.moveToElementEditStart(s):i.moveToElementEditEnd(e):!s&&n!=CKEDITOR.ENTER_BR&&(s=i.fixBlock(!0,n==CKEDITOR.ENTER_DIV?"div":"p"),i.moveToElementEditStart(s)))),t.selectRanges([i]),a(this)},setData:function(e,t){t||(e=this.editor.dataProcessor.toHtml(e)),this.setHtml(e),this.fixInitialSelection(),this.status=="unloaded"&&(this.status="ready"),this.editor.fire("dataReady")},getData:function(e){var t=this.getHtml();return e||(t=this.editor.dataProcessor.toDataFormat(t)),t},setReadOnly:function(e){this.setAttribute("contenteditable",!e)},detach:function(){this.removeClass("cke_editable"),this.status="detached";var e=this.editor;this._.detach(),delete e.document,delete e.window},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},fixInitialSelection:function(){function e(){var e=n.getDocument().$,t=e.getSelection(),r;if(t.anchorNode&&t.anchorNode==n.$)r=!0;else if(CKEDITOR.env.webkit){var i=n.getDocument().getActive();i&&i.equals(n)&&!t.anchorNode&&(r=!0)}r&&(r=new CKEDITOR.dom.range(n),r.moveToElementEditStart(n),e=e.createRange(),e.setStart(r.startContainer.$,r.startOffset),e.collapse(!0),t.removeAllRanges(),t.addRange(e))}function t(){var e=n.getDocument().$,t=e.selection,r=n.getDocument().getActive();t.type=="None"&&r.equals(n)&&(t=new CKEDITOR.dom.range(n),e=e.body.createTextRange(),t.moveToElementEditStart(n),t=t.startContainer,t.type!=CKEDITOR.NODE_ELEMENT&&(t=t.getParent()),e.moveToElementText(t.$),e.collapse(!0),e.select())}var n=this;CKEDITOR.env.ie&&(CKEDITOR.env.version<9||CKEDITOR.env.quirks)?this.hasFocus&&(this.focus(),t()):this.hasFocus?(this.focus(),e()):this.once("focus",function(){e()},null,null,-999)},setup:function(){var e=this.editor;this.attachListener(e,"beforeGetData",function(){var t=this.getData();this.is("textarea")||e.config.ignoreEmptyParagraph!==!1&&(t=t.replace(c,function(e,t){return t})),e.setData(t,null,1)},this),this.attachListener(e,"getSnapshot",function(e){e.data=this.getData(1)},this),this.attachListener(e,"afterSetData",function(){this.setData(e.getData(1))},this),this.attachListener(e,"loadSnapshot",function(e){this.setData(e.data,1)},this),this.attachListener(e,"beforeFocus",function(){var t=e.getSelection();(t=t&&t.getNative())&&t.type=="Control"||this.focus()},this),this.attachListener(e,"insertHtml",function(e){this.insertHtml(e.data.dataValue,e.data.mode)},this),this.attachListener(e,"insertElement",function(e){this.insertElement(e.data)},this),this.attachListener(e,"insertText",function(e){this.insertText(e.data)},this),this.setReadOnly(e.readOnly),this.attachClass("cke_editable"),this.attachClass(e.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"cke_editable_inline":e.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE||e.elementMode==CKEDITOR.ELEMENT_MODE_APPENDTO?"cke_editable_themed":""),this.attachClass("cke_contents_"+e.config.contentsLangDirection),e.keystrokeHandler.blockedKeystrokes[8]=+e.readOnly,e.keystrokeHandler.attach(this),this.on("blur",function(){this.hasFocus=!1},null,null,-1),this.on("focus",function(){this.hasFocus=!0},null,null,-1),e.focusManager.add(this),this.equals(CKEDITOR.document.getActive())&&(this.hasFocus=!0,e.once("contentDom",function(){e.focusManager.focus(this)},this)),this.isInline()&&this.changeAttr("tabindex",e.tabIndex);if(!this.is("textarea")){e.document=this.getDocument(),e.window=this.getWindow();var t=e.document;this.changeAttr("spellcheck",!e.config.disableNativeSpellChecker);var i=e.config.contentsLangDirection;this.getDirection(1)!=i&&this.changeAttr("dir",i);var o=CKEDITOR.getCss();o&&(i=t.getHead(),i.getCustomData("stylesheet")||(o=t.appendStyleText(o),o=new CKEDITOR.dom.element(o.ownerNode||o.owningElement),i.setCustomData("stylesheet",o),o.data("cke-temp",1))),i=t.getCustomData("stylesheet_ref")||0,t.setCustomData("stylesheet_ref",i+1),this.setCustomData("cke_includeReadonly",!e.config.disableReadonlyStyling),this.attachListener(this,"click",function(e){var e=e.data,t=(new CKEDITOR.dom.elementPath(e.getTarget(),this)).contains("a");t&&e.$.button!=2&&t.isReadOnly()&&e.preventDefault()});var u={8:1,46:1};this.attachListener(e,"key",function(t){if(e.readOnly)return!0;var n=t.data.domEvent.getKey(),r;if(n in u){var t=e.getSelection(),i,o=t.getRanges()[0],a=o.startPath(),f,l,c,n=n==8;CKEDITOR.env.ie&&CKEDITOR.env.version<11&&(i=t.getSelectedElement())||(i=s(t))?(e.fire("saveSnapshot"),o.moveToPosition(i,CKEDITOR.POSITION_BEFORE_START),i.remove(),o.select(),e.fire("saveSnapshot"),r=1):o.collapsed&&((f=a.block)&&(c=f[n?"getPrevious":"getNext"](h))&&c.type==CKEDITOR.NODE_ELEMENT&&c.is("table")&&o[n?"checkStartOfBlock":"checkEndOfBlock"]()?(e.fire("saveSnapshot"),o[n?"checkEndOfBlock":"checkStartOfBlock"]()&&f.remove(),o["moveToElementEdit"+(n?"End":"Start")](c),o.select(),e.fire("saveSnapshot"),r=1):a.blockLimit&&a.blockLimit.is("td")&&(l=a.blockLimit.getAscendant("table"))&&o.checkBoundaryOfElement(l,n?CKEDITOR.START:CKEDITOR.END)&&(c=l[n?"getPrevious":"getNext"](h))?(e.fire("saveSnapshot"),o["moveToElementEdit"+(n?"End":"Start")](c),o.checkStartOfBlock()&&o.checkEndOfBlock()?c.remove():o.select(),e.fire("saveSnapshot"),r=1):(l=a.contains(["td","th","caption"]))&&o.checkBoundaryOfElement(l,n?CKEDITOR.START:CKEDITOR.END)&&(r=1))}return!r}),e.blockless&&CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller&&this.attachListener(this,"keyup",function(t){t.data.getKeystroke()in u&&!this.getFirst(r)&&(this.appendBogus(),t=e.createRange(),t.moveToPosition(this,CKEDITOR.POSITION_AFTER_START),t.select())}),this.attachListener(this,"dblclick",function(t){if(e.readOnly)return!1;t={element:t.data.getTarget()},e.fire("doubleclick",t)}),CKEDITOR.env.ie&&this.attachListener(this,"click",n),CKEDITOR.env.ie||this.attachListener(this,"mousedown",function(t){var n=t.data.getTarget();n.is("img","hr","input","textarea","select")&&!n.isReadOnly()&&(e.getSelection().selectElement(n),n.is("input","textarea","select")&&t.data.preventDefault())}),CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(t){if(t.data.$.button==2){t=t.data.getTarget();if(!t.getOuterHtml().replace(c,"")){var n=e.createRange();n.moveToElementEditStart(t),n.select(!0)}}}),CKEDITOR.env.webkit&&(this.attachListener(this,"click",function(e){e.data.getTarget().is("input","select")&&e.data.preventDefault()}),this.attachListener(this,"mouseup",function(e){e.data.getTarget().is("input","textarea")&&e.data.preventDefault()})),CKEDITOR.env.webkit&&this.attachListener(e,"key",function(t){t=t.data.domEvent.getKey();if(t in u){var n=t==8,r=e.getSelection().getRanges()[0],t=r.startPath();if(r.collapsed){var i;e:{var s=t.block;if(s)if(r[n?"checkStartOfBlock":"checkEndOfBlock"]())if(!r.moveToClosestEditablePosition(s,!n)||!r.collapsed)i=!1;else{if(r.startContainer.type==CKEDITOR.NODE_ELEMENT){var o=r.startContainer.getChild(r.startOffset-(n?1:0));if(o&&o.type==CKEDITOR.NODE_ELEMENT&&o.is("hr")){e.fire("saveSnapshot"),o.remove(),i=!0;break e}}if((r=r.startPath().block)&&(!r||!r.contains(s))){e.fire("saveSnapshot");var a;(a=(n?r:s).getBogus())&&a.remove(),i=e.getSelection(),a=i.createBookmarks(),(n?s:r).moveChildren(n?r:s,!1),t.lastElement.mergeSiblings(),f(s,r,!n),i.selectBookmarks(a),i=!0}}else i=!1;else i=!1}if(!i)return}else{n=r,i=t.block,a=n.endPath().block,!i||!a||i.equals(a)?t=!1:(e.fire("saveSnapshot"),(s=i.getBogus())&&s.remove(),n.deleteContents(),a.getParent()&&(a.moveChildren(i,!1),t.lastElement.mergeSiblings(),f(i,a,!0)),n=e.getSelection().getRanges()[0],n.collapse(1),n.select(),t=!0);if(!t)return}return e.getSelection().scrollIntoView(),e.fire("saveSnapshot"),!1}},this,null,100)}}},_:{detach:function(){this.editor.setData(this.editor.getData(),0,1),this.clearListeners(),this.restoreAttrs();var e;if(e=this.removeCustomData("classes"))for(;e.length;)this.removeClass(e.pop());if(!this.is("textarea")){e=this.getDocument();var t=e.getHead();if(t.getCustomData("stylesheet")){var n=e.getCustomData("stylesheet_ref");--n?e.setCustomData("stylesheet_ref",n):(e.removeCustomData("stylesheet_ref"),t.removeCustomData("stylesheet").remove())}}this.editor.fire("contentDomUnload"),delete this.editor}}}),CKEDITOR.editor.prototype.editable=function(e){var t=this._.editable;return t&&e?0:(arguments.length&&(t=this._.editable=e?e instanceof CKEDITOR.editable?e:new CKEDITOR.editable(this,e):(t&&t.detach(),null)),t)};var l=CKEDITOR.dom.walker.bogus(),c=/(^|]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi,h=CKEDITOR.dom.walker.whitespaces(!0),p=CKEDITOR.dom.walker.bookmark(!1,!0);CKEDITOR.on("instanceLoaded",function(t){var n=t.editor;n.on("insertElement",function(e){e=e.data,e.type==CKEDITOR.NODE_ELEMENT&&(e.is("input")||e.is("textarea"))&&(e.getAttribute("contentEditable")!="false"&&e.data("cke-editable",e.hasAttribute("contenteditable")?"true":"1"),e.setAttribute("contentEditable",!1))}),n.on("selectionChange",function(t){if(!n.readOnly){var r=n.getSelection();r&&!r.isLocked&&(r=n.checkDirty(),n.fire("lockSnapshot"),e(t),n.fire("unlockSnapshot"),!r&&n.resetDirty())}})}),CKEDITOR.on("instanceCreated",function(e){var t=e.editor;t.on("mode",function(){var e=t.editable();if(e&&e.isInline()){var n=t.title;e.changeAttr("role","textbox"),e.changeAttr("aria-label",n),n&&e.changeAttr("title",n);var r=t.fire("ariaEditorHelpLabel",{}).label;if(r)if(n=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"top":"contents")){var i=CKEDITOR.tools.getNextId(),r=CKEDITOR.dom.element.createFromHtml(''+r+"");n.append(r),e.changeAttr("aria-describedby",i)}}})}),CKEDITOR.addCss(".cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}");var d=function(){function e(e){return e.type==CKEDITOR.NODE_ELEMENT}function t(n,r){var i,s,o,u,a=[],l=r.range.startContainer;i=r.range.startPath();for(var l=f[l.getName()],c=0,h=n.getChildren(),p=h.count(),d=-1,v=-1,m=0,g=i.contains(f.$list);c-1&&(a[d].firstNotAllowed=1),v>-1&&(a[v].lastNotAllowed=1),a}function n(t,r){var i=[],s=t.getChildren(),o=s.count(),u,a=0,l=f[r],c=!t.is(f.$inline)||t.is("br");for(c&&i.push(" ");a ",v.document),v.insertNode(S),v.setStartAfter(S)),x=new CKEDITOR.dom.elementPath(v.startContainer),p.endPath=T=new CKEDITOR.dom.elementPath(v.endContainer);if(!v.collapsed){var E=T.block||T.blockLimit,C=v.getCommonAncestor();E&&!E.equals(C)&&!E.contains(C)&&v.checkEndOfBlock()&&p.zombies.push(E),v.deleteContents()}for(;(N=e(v.startContainer)&&v.startContainer.getChild(v.startOffset-1))&&e(N)&&N.isBlockBoundary()&&x.contains(N);)v.moveToPosition(N,CKEDITOR.POSITION_BEFORE_END);s(v,p.blockLimit,x,T),S&&(v.setEndBefore(S),v.collapse(),S.remove()),S=v.startPath();if(E=S.contains(i,!1,1))v.splitElement(E),p.inlineStylesRoot=E,p.inlineStylesPeak=S.lastElement;S=v.createBookmark(),(E=S.startNode.getPrevious(r))&&e(E)&&i(E)&&w.push(E),(E=S.startNode.getNext(r))&&e(E)&&i(E)&&w.push(E);for(E=S.startNode;(E=E.getParent())&&i(E);)w.push(E);v.moveToBookmark(S);if(S=d){S=p.range;if(p.type=="text"&&p.inlineStylesRoot){N=p.inlineStylesPeak,v=N.getDocument().createText("{cke-peak}");for(w=p.inlineStylesRoot.getParent();!N.equals(w);)v=v.appendTo(N.clone()),N=N.getParent();d=v.getOuterHtml().split("{cke-peak}").join(d)}N=p.blockLimit.getName();if(/^\s+|\s+$/.test(d)&&"span"in CKEDITOR.dtd[N])var k=' ',d=k+d+k;d=p.editor.dataProcessor.toHtml(d,{context:null,fixForBody:!1,dontFilter:p.dontFilter,filter:p.editor.activeFilter,enterMode:p.editor.activeEnterMode}),N=S.document.createElement("body"),N.setHtml(d),k&&(N.getFirst().remove(),N.getLast().remove());if((k=S.startPath().block)&&(k.getChildCount()!=1||!k.getBogus()))e:{var L;if(N.getChildCount()==1&&e(L=N.getFirst())&&L.is(c)){k=L.getElementsByTag("*"),S=0;for(w=k.count();S0;else{A=L.startPath(),!T.isBlock&&o(p.editor,A.block,A.blockLimit)&&(_=p.editor.activeEnterMode!=CKEDITOR.ENTER_BR&&p.editor.config.autoParagraph!==!1?p.editor.activeEnterMode==CKEDITOR.ENTER_DIV?"div":"p":!1)&&(_=k.createElement(_),_.appendBogus(),L.insertNode(_),CKEDITOR.env.needsBrFiller&&(O=_.getBogus())&&O.remove(),L.moveToPosition(_,CKEDITOR.POSITION_BEFORE_END));if((A=L.startPath().block)&&!A.equals(M)){if(O=A.getBogus())O.remove(),N.push(A);M=A}T.firstNotAllowed&&(v=1);if(v&&T.isElement){A=L.startContainer;for(D=null;A&&!f[A.getName()][T.name];){if(A.equals(d)){A=null;break}D=A,A=A.getParent()}if(A)D&&(P=L.splitElement(D),p.zombies.push(P),p.zombies.push(D));else{D=d.getName(),H=!S,A=S==x.length-1,D=n(T.node,D);for(var B=[],F=D.length,I=0,q=void 0,R=0,U=-1;I0;)n=e.getItem(t),CKEDITOR.tools.trim(n.getHtml())||(n.appendBogus(),CKEDITOR.env.ie&&CKEDITOR.env.version<9&&n.getChildCount()&&n.getFirst().remove())}return function(r){var i=r.startContainer,s=i.getAscendant("table",1),o=!1;n(s.getElementsByTag("td")),n(s.getElementsByTag("th")),s=r.clone(),s.setStart(i,0),s=e(s).lastBackward(),s||(s=r.clone(),s.setEndAt(i,CKEDITOR.POSITION_BEFORE_END),s=e(s).lastForward(),o=!0),s||(s=i),s.is("table")?(r.setStartAt(s,CKEDITOR.POSITION_BEFORE_START),r.collapse(!0),s.remove()):(s.is({tbody:1,thead:1,tfoot:1})&&(s=t(s,"tr",o)),s.is("tr")&&(s=t(s,s.getParent().is("thead")?"th":"td",o)),(i=s.getBogus())&&i.remove(),r.moveToPosition(s,o?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}()}(),function(){function e(){var e=this._.fakeSelection,t;if(e){t=this.getSelection(1);if(!t||!t.isHidden())e.reset(),e=0}if(!e){e=t||this.getSelection(1);if(!e||e.getType()==CKEDITOR.SELECTION_NONE)return}this.fire("selectionCheck",e),t=this.elementPath(),t.compare(this._.selectionPreviousPath)||(CKEDITOR.env.webkit&&(this._.previousActive=this.document.getActive()),this._.selectionPreviousPath=t,this.fire("selectionChange",{selection:e,path:t}))}function t(){d=!0,p||(n.call(this),p=CKEDITOR.tools.setTimeout(n,200,this))}function n(){p=null,d&&(CKEDITOR.tools.setTimeout(e,0,this),d=!1)}function r(e){return v(e)||e.type==CKEDITOR.NODE_ELEMENT&&!e.is(CKEDITOR.dtd.$empty)?!0:!1}function i(e){function t(t,n){return!t||t.type==CKEDITOR.NODE_TEXT?!1:e.clone()["moveToElementEdit"+(n?"End":"Start")](t)}if(e.root instanceof CKEDITOR.editable){var n=e.startContainer,i=e.getPreviousNode(r,null,n),s=e.getNextNode(r,null,n);return t(i)||t(s,1)||!i&&!s&&(n.type!=CKEDITOR.NODE_ELEMENT||!n.isBlockBoundary()||!n.getBogus())?!0:!1}return!1}function s(e){return e.getCustomData("cke-fillingChar")}function o(e,t){var n=e&&e.removeCustomData("cke-fillingChar");if(n){if(t!==!1){var r,i=e.getDocument().getSelection().getNative(),s=i&&i.type!="None"&&i.getRangeAt(0);n.getLength()>1&&s&&s.intersectsNode(n.$)&&(r=a(i),s=i.focusNode==n.$&&i.focusOffset>0,i.anchorNode==n.$&&i.anchorOffset>0&&r[0].offset--,s&&r[1].offset--)}n.setText(u(n.getText())),r&&f(e.getDocument().$,r)}}function u(e){return e.replace(/\u200B( )?/g,function(e){return e[1]?" ":""})}function a(e){return[{node:e.anchorNode,offset:e.anchorOffset},{node:e.focusNode,offset:e.focusOffset}]}function f(e,t){var n=e.getSelection(),r=e.createRange();r.setStart(t[0].node,t[0].offset),r.collapse(!0),n.removeAllRanges(),n.addRange(r),n.extend(t[1].node,t[1].offset)}function l(e){var t=CKEDITOR.dom.element.createFromHtml('
 
',e.document);e.fire("lockSnapshot"),e.editable().append(t);var n=e.getSelection(1),r=e.createRange(),i=n.root.on("selectionchange",function(e){e.cancel()},null,null,0);r.setStartAt(t,CKEDITOR.POSITION_AFTER_START),r.setEndAt(t,CKEDITOR.POSITION_BEFORE_END),n.selectRanges([r]),i.removeListener(),e.fire("unlockSnapshot"),e._.hiddenSelectionContainer=t}function c(e){var t={37:1,39:1,8:1,46:1};return function(n){var r=n.data.getKeystroke();if(t[r]){var i=e.getSelection().getRanges(),s=i[0];i.length==1&&s.collapsed&&(r=s[r<38?"getPreviousEditableNode":"getNextEditableNode"]())&&r.type==CKEDITOR.NODE_ELEMENT&&r.getAttribute("contenteditable")=="false"&&(e.getSelection().fake(r),n.data.preventDefault(),n.cancel())}}}function h(e){for(var t=0;t=r.getLength()?u.setStartAfter(r):u.setStartBefore(r)),i&&i.type==CKEDITOR.NODE_TEXT&&(o?u.setEndAfter(i):u.setEndBefore(i)),r=new CKEDITOR.dom.walker(u),r.evaluator=function(r){if(r.type==CKEDITOR.NODE_ELEMENT&&r.isReadOnly()){var i=n.clone();return n.setEndBefore(r),n.collapsed&&e.splice(t--,1),r.getPosition(u.endContainer)&CKEDITOR.POSITION_CONTAINS||(i.setStartAfter(r),i.collapsed||e.splice(t+1,0,i)),!0}return!1},r.next()}}return e}var p,d,v=CKEDITOR.dom.walker.invisible(1),m=function(){function e(e){return function(t){var n=t.editor.createRange();return n.moveToClosestEditablePosition(t.selected,e)&&t.editor.getSelection().selectRanges([n]),!1}}function t(e){return function(t){var n=t.editor,r=n.createRange(),i;return(i=r.moveToClosestEditablePosition(t.selected,e))||(i=r.moveToClosestEditablePosition(t.selected,!e)),i&&n.getSelection().selectRanges([r]),n.fire("saveSnapshot"),t.selected.remove(),i||(r.moveToElementEditablePosition(n.editable()),n.getSelection().selectRanges([r])),n.fire("saveSnapshot"),!1}}var n=e(),r=e(1);return{37:n,38:n,39:r,40:r,8:t(),46:t(1)}}();CKEDITOR.on("instanceCreated",function(n){function r(){var e=i.getSelection();e&&e.removeAllRanges()}var i=n.editor;i.on("contentDom",function(){function n(){d=new CKEDITOR.dom.selection(i.getSelection()),d.lock()}function r(){u.removeListener("mouseup",r),l.removeListener("mouseup",r);var e=CKEDITOR.document.$.selection,t=e.createRange();e.type!="None"&&t.parentElement().ownerDocument==s.$&&t.select()}var s=i.document,u=CKEDITOR.document,a=i.editable(),f=s.getBody(),l=s.getDocumentElement(),h=a.isInline(),p,d;CKEDITOR.env.gecko&&a.attachListener(a,"focus",function(e){e.removeListener(),p!==0&&(e=i.getSelection().getNative())&&e.isCollapsed&&e.anchorNode==a.$&&(e=i.createRange(),e.moveToElementEditStart(a),e.select())},null,null,-2),a.attachListener(a,CKEDITOR.env.webkit?"DOMFocusIn":"focus",function(){p&&CKEDITOR.env.webkit&&(p=i._.previousActive&&i._.previousActive.equals(s.getActive())),i.unlockSelection(p),p=0},null,null,-1),a.attachListener(a,"mousedown",function(){p=0});if(CKEDITOR.env.ie||h)g?a.attachListener(a,"beforedeactivate",n,null,null,-1):a.attachListener(i,"selectionCheck",n,null,null,-1),a.attachListener(a,CKEDITOR.env.webkit?"DOMFocusOut":"blur",function(){i.lockSelection(d),p=1},null,null,-1),a.attachListener(a,"mousedown",function(){p=0});if(CKEDITOR.env.ie&&!h){var v;a.attachListener(a,"mousedown",function(e){if(e.data.$.button==2){e=i.document.getSelection();if(!e||e.getType()==CKEDITOR.SELECTION_NONE)v=i.window.getScrollPosition()}}),a.attachListener(a,"mouseup",function(e){e.data.$.button==2&&v&&(i.document.$.documentElement.scrollLeft=v.x,i.document.$.documentElement.scrollTop=v.y),v=null}),s.$.compatMode!="BackCompat"&&((CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&l.on("mousedown",function(e){function t(e){e=e.data.$;if(r){var t=f.$.createTextRange();try{t.moveToPoint(e.clientX,e.clientY)}catch(n){}r.setEndPoint(s.compareEndPoints("StartToStart",t)<0?"EndToEnd":"StartToStart",t),r.select()}}function n(){l.removeListener("mousemove",t),u.removeListener("mouseup",n),l.removeListener("mouseup",n),r.select()}e=e.data;if(e.getTarget().is("html")&&e.$.y7&&CKEDITOR.env.version<11&&l.on("mousedown",function(e){e.data.getTarget().is("html")&&(u.on("mouseup",r),l.on("mouseup",r))}))}a.attachListener(a,"selectionchange",e,i),a.attachListener(a,"keyup",t,i),a.attachListener(a,CKEDITOR.env.webkit?"DOMFocusIn":"focus",function(){i.forceNextSelectionCheck(),i.selectionChange(1)});if(h&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var m;a.attachListener(a,"mousedown",function(){m=1}),a.attachListener(s.getDocumentElement(),"mouseup",function(){m&&t.call(i),m=0})}else a.attachListener(CKEDITOR.env.ie?a:s.getDocumentElement(),"mouseup",t,i);CKEDITOR.env.webkit&&a.attachListener(s,"keydown",function(e){switch(e.data.getKey()){case 13:case 33:case 34:case 35:case 36:case 37:case 39:case 8:case 45:case 46:o(a)}},null,null,-1),a.attachListener(a,"keydown",c(i),null,null,-1)}),i.on("setData",function(){i.unlockSelection(),CKEDITOR.env.webkit&&r()}),i.on("contentDomUnload",function(){i.unlockSelection()}),CKEDITOR.env.ie9Compat&&i.on("beforeDestroy",r,null,null,9),i.on("dataReady",function(){delete i._.fakeSelection,delete i._.hiddenSelectionContainer,i.selectionChange(1)}),i.on("loadSnapshot",function(){var e=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),t=i.editable().getLast(e);t&&t.hasAttribute("data-cke-hidden-sel")&&(t.remove(),CKEDITOR.env.gecko&&(e=i.editable().getFirst(e))&&e.is("br")&&e.getAttribute("_moz_editor_bogus_node")&&e.remove())},null,null,100),i.on("key",function(e){if(i.mode=="wysiwyg"){var t=i.getSelection();if(t.isFake){var n=m[e.data.keyCode];if(n)return n({editor:i,selected:t.getSelectedElement(),selection:t,keyEvent:e})}}})}),CKEDITOR.on("instanceReady",function(e){function t(){var e=r.editable();if(e)if(e=s(e)){var t=r.document.$.getSelection();t.type!="None"&&(t.anchorNode==e.$||t.focusNode==e.$)&&(l=a(t)),i=e.getText(),e.setText(u(i))}}function n(){var e=r.editable();e&&(e=s(e))&&(e.setText(i),l&&(f(r.document.$,l),l=null))}var r=e.editor,i,l;CKEDITOR.env.webkit&&(r.on("selectionChange",function(){var e=r.editable(),t=s(e);t&&(t.getCustomData("ready")?o(e):t.setCustomData("ready",1))},null,null,-1),r.on("beforeSetMode",function(){o(r.editable())},null,null,-1),r.on("beforeUndoImage",t),r.on("afterUndoImage",n),r.on("beforeGetData",t,null,null,0),r.on("getData",n))}),CKEDITOR.editor.prototype.selectionChange=function(n){(n?e:t).call(this)},CKEDITOR.editor.prototype.getSelection=function(e){return(this._.savedSelection||this._.fakeSelection)&&!e?this._.savedSelection||this._.fakeSelection:(e=this.editable())&&this.mode=="wysiwyg"?new CKEDITOR.dom.selection(e):null},CKEDITOR.editor.prototype.lockSelection=function(e){return e=e||this.getSelection(1),e.getType()!=CKEDITOR.SELECTION_NONE?(!e.isLocked&&e.lock(),this._.savedSelection=e,!0):!1},CKEDITOR.editor.prototype.unlockSelection=function(e){var t=this._.savedSelection;return t?(t.unlock(e),delete this._.savedSelection,!0):!1},CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath},CKEDITOR.dom.document.prototype.getSelection=function(){return new CKEDITOR.dom.selection(this)},CKEDITOR.dom.range.prototype.select=function(){var e=this.root instanceof CKEDITOR.editable?this.root.editor.getSelection():new CKEDITOR.dom.selection(this.root);return e.selectRanges([this]),e},CKEDITOR.SELECTION_NONE=1,CKEDITOR.SELECTION_TEXT=2,CKEDITOR.SELECTION_ELEMENT=3;var g=typeof window.getSelection!="function",y=1;CKEDITOR.dom.selection=function(e){if(e instanceof CKEDITOR.dom.selection)var t=e,e=e.root;var n=e instanceof CKEDITOR.dom.element;this.rev=t?t.rev:y++,this.document=e instanceof CKEDITOR.dom.document?e:e.getDocument(),this.root=n?e:this.document.getBody(),this.isLocked=0,this._={cache:{}};if(t)return CKEDITOR.tools.extend(this._.cache,t._.cache),this.isFake=t.isFake,this.isLocked=t.isLocked,this;var e=this.getNative(),r,i;if(e)if(e.getRangeAt)r=(i=e.rangeCount&&e.getRangeAt(0))&&new CKEDITOR.dom.node(i.commonAncestorContainer);else{try{i=e.createRange()}catch(s){}r=i&&CKEDITOR.dom.element.get(i.item&&i.item(0)||i.parentElement())}if(!r||r.type!=CKEDITOR.NODE_ELEMENT&&r.type!=CKEDITOR.NODE_TEXT||!this.root.equals(r)&&!this.root.contains(r))this._.cache.type=CKEDITOR.SELECTION_NONE,this._.cache.startElement=null,this._.cache.selectedElement=null,this._.cache.selectedText="",this._.cache.ranges=new CKEDITOR.dom.rangeList;return this};var b={img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1,select:1,textarea:1,button:1,fieldset:1,thead:1,tfoot:1};CKEDITOR.dom.selection.prototype={getNative:function(){return this._.cache.nativeSel!==void 0?this._.cache.nativeSel:this._.cache.nativeSel=g?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:g?function(){var e=this._.cache;if(e.type)return e.type;var t=CKEDITOR.SELECTION_NONE;try{var n=this.getNative(),r=n.type;r=="Text"&&(t=CKEDITOR.SELECTION_TEXT),r=="Control"&&(t=CKEDITOR.SELECTION_ELEMENT),n.createRange().parentElement()&&(t=CKEDITOR.SELECTION_TEXT)}catch(i){}return e.type=t}:function(){var e=this._.cache;if(e.type)return e.type;var t=CKEDITOR.SELECTION_TEXT,n=this.getNative();if(!n||!n.rangeCount)t=CKEDITOR.SELECTION_NONE;else if(n.rangeCount==1){var n=n.getRangeAt(0),r=n.startContainer;r==n.endContainer&&r.nodeType==1&&n.endOffset-n.startOffset==1&&b[r.childNodes[n.startOffset].nodeName.toLowerCase()]&&(t=CKEDITOR.SELECTION_ELEMENT)}return e.type=t},getRanges:function(){var e=g?function(){function e(e){return(new CKEDITOR.dom.node(e)).getIndex()}var t=function(t,n){t=t.duplicate(),t.collapse(n);var r=t.parentElement();if(!r.hasChildNodes())return{container:r,offset:0};for(var i=r.children,s,o,u=t.duplicate(),a=0,f=i.length-1,l=-1,c,h;a<=f;){l=Math.floor((a+f)/2),s=i[l],u.moveToElementText(s),c=u.compareEndPoints("StartToStart",t);if(c>0)f=l-1;else{if(!(c<0))return{container:r,offset:e(s)};a=l+1}}if(l==-1||l==i.length-1&&c<0){u.moveToElementText(r),u.setEndPoint("StartToStart",t),u=u.text.replace(/(\r\n|\r)/g,"\n").length,i=r.childNodes;if(!u)return s=i[i.length-1],s.nodeType!=CKEDITOR.NODE_TEXT?{container:r,offset:i.length}:{container:s,offset:s.nodeValue.length};for(r=i.length;u>0&&r>0;)o=i[--r],o.nodeType==CKEDITOR.NODE_TEXT&&(h=o,u-=o.nodeValue.length);return{container:h,offset:-u}}u.collapse(c>0?!0:!1),u.setEndPoint(c>0?"StartToStart":"EndToStart",t),u=u.text.replace(/(\r\n|\r)/g,"\n").length;if(!u)return{container:r,offset:e(s)+(c>0?0:1)};for(;u>0;)try{o=s[c>0?"previousSibling":"nextSibling"],o.nodeType==CKEDITOR.NODE_TEXT&&(u-=o.nodeValue.length,h=o),s=o}catch(p){return{container:r,offset:e(s)}}return{container:h,offset:c>0?-u:h.nodeValue.length+u}};return function(){var e=this.getNative(),n=e&&e.createRange(),r=this.getType();if(!e)return[];if(r==CKEDITOR.SELECTION_TEXT)return e=new CKEDITOR.dom.range(this.root),r=t(n,!0),e.setStart(new CKEDITOR.dom.node(r.container),r.offset),r=t(n),e.setEnd(new CKEDITOR.dom.node(r.container),r.offset),e.endContainer.getPosition(e.startContainer)&CKEDITOR.POSITION_PRECEDING&&e.endOffset<=e.startContainer.getIndex()&&e.collapse(),[e];if(r==CKEDITOR.SELECTION_ELEMENT){for(var r=[],i=0;i1&&(u=e[e.length-1],e[0].setEnd(u.endContainer,u.endOffset)),u=e[0];var e=u.collapsed,l,c,h;if((n=u.getEnclosedNode())&&n.type==CKEDITOR.NODE_ELEMENT&&n.getName()in b&&(!n.is("a")||!n.getText()))try{h=n.$.createControlRange(),h.addElement(n.$),h.select();return}catch(p){}if(u.startContainer.type==CKEDITOR.NODE_ELEMENT&&u.startContainer.getName()in t||u.endContainer.type==CKEDITOR.NODE_ELEMENT&&u.endContainer.getName()in t)u.shrink(CKEDITOR.NODE_ELEMENT,!0),e=u.collapsed;h=u.createBookmark(),t=h.startNode,e||(s=h.endNode),h=u.document.$.body.createTextRange(),h.moveToElementText(t.$),h.moveStart("character",1),s?(a=u.document.$.body.createTextRange(),a.moveToElementText(s.$),h.setEndPoint("EndToEnd",a),h.moveEnd("character",-1)):(l=t.getNext(f),c=t.hasAscendant("pre"),l=!(l&&l.getText&&l.getText().match(a))&&(c||!t.hasPrevious()||t.getPrevious().is&&t.getPrevious().is("br")),c=u.document.createElement("span"),c.setHtml(""),c.insertBefore(t),l&&u.document.createText("").insertBefore(t)),u.setStartBefore(t),t.remove(),e?(l?(h.moveStart("character",-1),h.select(),u.document.$.selection.clear()):h.select(),u.moveToPosition(c,CKEDITOR.POSITION_BEFORE_START),c.remove()):(u.setEndBefore(s),s.remove(),h.select())}else{s=this.getNative();if(!s)return;this.removeAllRanges();for(h=0;h=0))throw d;u.collapse(1),c.setEnd(u.endContainer.$,u.endOffset)}s.addRange(c)}}this.reset(),this.root.fire("selectionchange")}}},fake:function(e){var t=this.root.editor;this.reset(),l(t);var n=this._.cache,r=new CKEDITOR.dom.range(this.root);r.setStartBefore(e),r.setEndAfter(e),n.ranges=new CKEDITOR.dom.rangeList(r),n.selectedElement=n.startElement=e,n.type=CKEDITOR.SELECTION_ELEMENT,n.selectedText=n.nativeSel=null,this.isFake=1,this.rev=y++,t._.fakeSelection=this,this.root.fire("selectionchange")},isHidden:function(){var e=this.getCommonAncestor();return e&&e.type==CKEDITOR.NODE_TEXT&&(e=e.getParent()),!!e&&!!e.data("cke-hidden-sel")},createBookmarks:function(e){return e=this.getRanges().createBookmarks(e),this.isFake&&(e.isFake=1),e},createBookmarks2:function(e){return e=this.getRanges().createBookmarks2(e),this.isFake&&(e.isFake=1),e},selectBookmarks:function(e){for(var t=[],n=0;n]*>)[ \t\r\n]*/gi,"$1"),s=s.replace(/([ \t\n\r]+| )/g," "),s=s.replace(/]*>/gi,"\n");if(CKEDITOR.env.ie){var o=e.getDocument().createElement("div");o.append(i),i.$.outerHTML="
"+s+"
",i.copyAttributes(o.getFirst()),i=o.getFirst().remove()}else i.setHtml(s);t=i}else s?t=c(n?[e.getHtml()]:f(e),t):e.moveChildren(t);t.replace(e);if(r){var n=t,u;(u=n.getPrevious(k))&&u.type==CKEDITOR.NODE_ELEMENT&&u.is("pre")&&(r=l(u.getHtml(),/\n$/,"")+"\n\n"+l(n.getHtml(),/^\n/,""),CKEDITOR.env.ie?n.$.outerHTML="
"+r+"
":n.setHtml(r),u.remove())}else n&&v(t)}function f(e){var t=[];return l(e.getOuterHtml(),/(\S\s*)\n(?:\s|(]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi,function(e,t,n){return t+""+n+"
"}).replace(/([\s\S]*?)<\/pre>/gi,function(e,n){t.push(n)}),t}function l(e,t,n){var r="",i="",e=e.replace(/(^]+data-cke-bookmark.*?\/span>)|(]+data-cke-bookmark.*?\/span>$)/gi,function(e,t,n){return t&&(r=t),n&&(i=n),""});return r+e.replace(t,n)+i}function c(e,t){var n;e.length>1&&(n=new CKEDITOR.dom.documentFragment(t.getDocument()));for(var r=0;r"),i=i.replace(/[ \t]{2,}/g,function(e){return CKEDITOR.tools.repeat(" ",e.length-1)+" "});if(n){var s=t.clone();s.setHtml(i),n.append(s)}else t.setHtml(i)}return n||t}function h(e,t){var n=this._.definition,r=n.attributes,n=n.styles,i=b(this)[e.getName()],s=CKEDITOR.tools.isEmpty(r)&&CKEDITOR.tools.isEmpty(n),o;for(o in r)(o!="class"&&!this._.definition.fullMatch||e.getAttribute(o)==w(o,r[o]))&&(!t||o.slice(0,5)!="data-")&&(s=e.hasAttribute(o),e.removeAttribute(o));for(var u in n)if(!this._.definition.fullMatch||e.getStyle(u)==w(u,n[u],true))s=s||!!e.getStyle(u),e.removeStyle(u);d(e,i,S[e.getName()]),s&&(this._.definition.alwaysRemoveElement?v(e,1):!CKEDITOR.dtd.$block[e.getName()]||this._.enterMode==CKEDITOR.ENTER_BR&&!e.hasAttributes()?v(e):e.renameNode(this._.enterMode==CKEDITOR.ENTER_P?"p":"div"))}function p(e){for(var t=b(this),n=e.getElementsByTag(this.element),r,i=n.count();--i>=0;)r=n.getItem(i),r.isReadOnly()||h.call(this,r,!0);for(var s in t)if(s!=this.element){n=e.getElementsByTag(s);for(i=n.count()-1;i>=0;i--)r=n.getItem(i),r.isReadOnly()||d(r,t[s])}}function d(e,t,n){if(t=t&&t.attributes)for(var r=0;r",e||t.name,""),n.join("")},getDefinition:function(){return this._.definition}},CKEDITOR.style.getStyleText=function(e){var t=e._ST;if(t)return t;var t=e.styles,n=e.attributes&&e.attributes.style||"",r="";n.length&&(n=n.replace(T,";"));for(var i in t){var s=t[i],o=(i+":"+s).replace(T,";");s=="inherit"?r+=o:n+=o}return n.length&&(n=CKEDITOR.tools.normalizeCssText(n,!0)),e._ST=n+r},CKEDITOR.style.customHandlers={},CKEDITOR.style.addCustomHandler=function(e){var t=function(e){this._={definition:e},this.setup&&this.setup(e)};return t.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.style.prototype),{assignedTo:CKEDITOR.STYLE_OBJECT},e,!0),this.customHandlers[e.type]=t};var L=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,A=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED}(),CKEDITOR.styleCommand=function(e,t){this.requiredContent=this.allowedContent=this.style=e,CKEDITOR.tools.extend(this,t,!0)},CKEDITOR.styleCommand.prototype.exec=function(e){e.focus(),this.state==CKEDITOR.TRISTATE_OFF?e.applyStyle(this.style):this.state==CKEDITOR.TRISTATE_ON&&e.removeStyle(this.style)},CKEDITOR.stylesSet=new CKEDITOR.resourceManager("","stylesSet"),CKEDITOR.addStylesSet=CKEDITOR.tools.bind(CKEDITOR.stylesSet.add,CKEDITOR.stylesSet),CKEDITOR.loadStylesSet=function(e,t,n){CKEDITOR.stylesSet.addExternal(e,t,""),CKEDITOR.stylesSet.load(e,n)},CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(e,t){var n=this._.styleStateChangeCallbacks;n||(n=this._.styleStateChangeCallbacks=[],this.on("selectionChange",function(e){for(var t=0;t"}}),"use strict",function(){var e={},t={},n;for(n in CKEDITOR.dtd.$blockLimit)n in CKEDITOR.dtd.$list||(e[n]=1);for(n in CKEDITOR.dtd.$block)n in CKEDITOR.dtd.$blockLimit||n in CKEDITOR.dtd.$empty||(t[n]=1);CKEDITOR.dom.elementPath=function(n,r){var i=null,s=null,o=[],u=n,f,r=r||n.getDocument().getBody();do if(u.type==CKEDITOR.NODE_ELEMENT){o.push(u);if(!this.lastElement){this.lastElement=u;if(u.is(CKEDITOR.dtd.$object)||u.getAttribute("contenteditable")=="false")continue}if(u.equals(r))break;if(!s){f=u.getName(),u.getAttribute("contenteditable")=="true"?s=u:!i&&t[f]&&(i=u);if(e[f]){var l;if(l=!i){if(f=f=="div"){e:{f=u.getChildren(),l=0;for(var c=f.count();l-1}:typeof e=="function"?r=e:typeof e=="object"&&(r=function(t){return t.getName()in e});var i=this.elements,s=i.length;t&&s--,n&&(i=Array.prototype.slice.call(i,0),i.reverse());for(t=0;t=r?(s=i.createText(""),s.insertAfter(this)):(e=i.createText(""),e.insertAfter(s),e.remove())),s},substring:function(e,t){return typeof t!="number"?this.$.nodeValue.substr(e):this.$.nodeValue.substring(e,t)}}),function(){function e(e,t,n){var r=e.serializable,i=t[n?"endContainer":"startContainer"],s=n?"endOffset":"startOffset",o=r?t.document.getById(e.startNode):e.startNode,e=r?t.document.getById(e.endNode):e.endNode;return i.equals(o.getPrevious())?(t.startOffset=t.startOffset-i.getLength()-e.getPrevious().getLength(),i=e.getNext()):i.equals(e.getPrevious())&&(t.startOffset=t.startOffset-i.getLength(),i=e.getNext()),i.equals(o.getParent())&&t[s]++,i.equals(e.getParent())&&t[s]++,t[n?"endContainer":"startContainer"]=i,t}CKEDITOR.dom.rangeList=function(e){return e instanceof CKEDITOR.dom.rangeList?e:(e?e instanceof CKEDITOR.dom.range&&(e=[e]):e=[],CKEDITOR.tools.extend(e,t))};var t={createIterator:function(){var e=this,t=CKEDITOR.dom.walker.bookmark(),n=[],r;return{getNextRange:function(i){r=r===void 0?0:r+1;var s=e[r];if(s&&e.length>1){if(!r)for(var o=e.length-1;o>=0;o--)n.unshift(e[o].createBookmark(!0));if(i)for(var u=0;e[r+u+1];){for(var f=s.document,i=0,o=f.getById(n[u].endNode),f=f.getById(n[u+1].startNode);;){o=o.getNextSourceNode(!1);if(f.equals(o))i=1;else if(t(o)||o.type==CKEDITOR.NODE_ELEMENT&&o.isBlockBoundary())continue;break}if(!i)break;u++}for(s.moveToBookmark(n.shift());u--;)o=e[++r],o.moveToBookmark(n.shift()),s.setEnd(o.endContainer,o.endOffset)}return s}}},createBookmarks:function(t){for(var n=[],r,i=0;it?-1:1}),i=0,s;i
',CKEDITOR.document);e.appendTo(CKEDITOR.document.getHead());try{var t=e.getComputedStyle("border-top-color"),n=e.getComputedStyle("border-right-color");CKEDITOR.env.hc=!!t&&t==n}catch(r){CKEDITOR.env.hc=!1}e.remove()}CKEDITOR.env.hc&&(CKEDITOR.env.cssClass=CKEDITOR.env.cssClass+" cke_hc"),CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}"),CKEDITOR.status="loaded",CKEDITOR.fireOnce("loaded");if(e=CKEDITOR._.pending){delete CKEDITOR._.pending;for(t=0;t",n.label,"",'"):(r={type:"hbox",widths:n.widths,padding:0,children:[{type:"html",html:'