From 07b6db0c9887214c1f1b0e5cf1fa5b6800b2bb07 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 4 Oct 2011 18:35:14 +0100 Subject: [PATCH] web: update to extjs 4.0.2a --- deluge/ui/web/js/ext-all-debug.js | 322 +++--- deluge/ui/web/js/ext-all-dev.js | 719 +++++++------ deluge/ui/web/js/ext-all.js | 2 +- deluge/ui/web/js/ext-debug.js | 4 +- deluge/ui/web/js/ext-dev.js | 4 +- deluge/ui/web/js/ext.js | 2 +- .../ui/web/resources/css/ext-all-scoped.css | 1 + deluge/ui/web/resources/css/ext-ie-scoped.css | 1 + deluge/ui/web/resources/css/ext-sandbox.css | 1 + .../web/resources/css/ext-standard-scoped.css | 1 + deluge/ui/web/resources/css/ext-standard.css | 1 + .../ui/web/resources/themes/compass_init.rb | 6 + deluge/ui/web/resources/themes/lib/utils.rb | 93 ++ .../themes/stylesheets/ext4/default/_all.scss | 110 ++ .../stylesheets/ext4/default/_core.scss | 2 + .../stylesheets/ext4/default/_functions.scss | 44 + .../stylesheets/ext4/default/_mixins.scss | 22 + .../stylesheets/ext4/default/_variables.scss | 41 + .../stylesheets/ext4/default/_widgets.scss | 22 + .../stylesheets/ext4/default/core/_core.scss | 317 ++++++ .../stylesheets/ext4/default/core/_reset.scss | 136 +++ .../ext4/default/layout/_layout.scss | 305 ++++++ .../default/mixins/_background-gradient.scss | 122 +++ .../default/mixins/_color-by-background.scss | 23 + .../ext4/default/mixins/_frame.scss | 205 ++++ .../ext4/default/mixins/_inner-border.scss | 149 +++ .../mixins/_theme-background-image.scss | 24 + .../ext4/default/util/_dragdrop.scss | 76 ++ .../stylesheets/ext4/default/util/_focus.scss | 37 + .../ext4/default/util/_messagebox.scss | 50 + .../ext4/default/util/_resizable.scss | 222 ++++ .../ext4/default/util/_scroller.scss | 55 + .../ext4/default/util/_splitter.scss | 106 ++ .../stylesheets/ext4/default/util/_tool.scss | 295 ++++++ .../ext4/default/variables/_boundlist.scss | 18 + .../ext4/default/variables/_btn-group.scss | 15 + .../ext4/default/variables/_button.scss | 141 +++ .../ext4/default/variables/_core.scss | 114 ++ .../ext4/default/variables/_focus.scss | 3 + .../ext4/default/variables/_form.scss | 114 ++ .../ext4/default/variables/_grid.scss | 91 ++ .../ext4/default/variables/_htmleditor.scss | 2 + .../ext4/default/variables/_layout.scss | 5 + .../ext4/default/variables/_loadmask.scss | 17 + .../ext4/default/variables/_menu.scss | 22 + .../ext4/default/variables/_panel.scss | 65 ++ .../ext4/default/variables/_pickers.scss | 66 ++ .../ext4/default/variables/_progress-bar.scss | 21 + .../ext4/default/variables/_qtip.scss | 29 + .../ext4/default/variables/_tabs.scss | 87 ++ .../ext4/default/variables/_toolbar.scss | 30 + .../ext4/default/variables/_tree.scss | 2 + .../ext4/default/variables/_window.scss | 19 + .../ext4/default/widgets/_boundlist.scss | 45 + .../ext4/default/widgets/_btn-group.scss | 80 ++ .../ext4/default/widgets/_button.scss | 985 ++++++++++++++++++ .../ext4/default/widgets/_colorpicker.scss | 45 + .../ext4/default/widgets/_datepicker.scss | 422 ++++++++ .../ext4/default/widgets/_drawcomponent.scss | 59 ++ .../ext4/default/widgets/_form.scss | 8 + .../ext4/default/widgets/_grid.scss | 818 +++++++++++++++ .../ext4/default/widgets/_html.scss | 126 +++ .../ext4/default/widgets/_loadmask.scss | 59 ++ .../ext4/default/widgets/_menu.scss | 185 ++++ .../ext4/default/widgets/_panel.scss | 442 ++++++++ .../ext4/default/widgets/_progress-bar.scss | 117 +++ .../ext4/default/widgets/_qtip.scss | 164 +++ .../ext4/default/widgets/_slider.scss | 143 +++ .../ext4/default/widgets/_tab.scss | 476 +++++++++ .../ext4/default/widgets/_tabbar.scss | 151 +++ .../ext4/default/widgets/_toolbar.scss | 158 +++ .../ext4/default/widgets/_tree.scss | 260 +++++ .../ext4/default/widgets/_viewport.scss | 9 + .../ext4/default/widgets/_window.scss | 179 ++++ .../ext4/default/widgets/form/_all.scss | 73 ++ .../ext4/default/widgets/form/_checkbox.scss | 64 ++ .../default/widgets/form/_checkboxgroup.scss | 30 + .../ext4/default/widgets/form/_field.scss | 125 +++ .../ext4/default/widgets/form/_fieldset.scss | 113 ++ .../ext4/default/widgets/form/_file.scss | 32 + .../default/widgets/form/_htmleditor.scss | 123 +++ .../default/widgets/form/_triggerfield.scss | 162 +++ .../templates/resources/css/my-ext-theme.css | 59 ++ .../themes/templates/resources/sass/config.rb | 22 + .../resources/sass/my-ext-theme.scss | 44 + 85 files changed, 9661 insertions(+), 498 deletions(-) create mode 100644 deluge/ui/web/resources/css/ext-all-scoped.css create mode 100644 deluge/ui/web/resources/css/ext-ie-scoped.css create mode 100644 deluge/ui/web/resources/css/ext-sandbox.css create mode 100644 deluge/ui/web/resources/css/ext-standard-scoped.css create mode 100644 deluge/ui/web/resources/css/ext-standard.css create mode 100755 deluge/ui/web/resources/themes/compass_init.rb create mode 100644 deluge/ui/web/resources/themes/lib/utils.rb create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/_all.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/_core.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/_functions.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/_mixins.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/_variables.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/_widgets.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_core.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_reset.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/layout/_layout.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_background-gradient.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_color-by-background.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_frame.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_inner-border.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_focus.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_messagebox.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_resizable.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_scroller.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_splitter.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_tool.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_boundlist.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_btn-group.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_button.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_core.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_focus.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_form.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_grid.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_htmleditor.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_layout.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_loadmask.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_menu.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_panel.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_pickers.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_progress-bar.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_qtip.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tabs.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_toolbar.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tree.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_window.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_boundlist.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_button.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_colorpicker.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_form.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_grid.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_html.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_panel.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_slider.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tab.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tree.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_viewport.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_window.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_file.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss create mode 100644 deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss create mode 100644 deluge/ui/web/resources/themes/templates/resources/css/my-ext-theme.css create mode 100644 deluge/ui/web/resources/themes/templates/resources/sass/config.rb create mode 100644 deluge/ui/web/resources/themes/templates/resources/sass/my-ext-theme.scss diff --git a/deluge/ui/web/js/ext-all-debug.js b/deluge/ui/web/js/ext-all-debug.js index ba428b546..74e25af2c 100644 --- a/deluge/ui/web/js/ext-all-debug.js +++ b/deluge/ui/web/js/ext-all-debug.js @@ -407,7 +407,7 @@ If you are unsure which license is appropriate for your use, please contact the (function() { -var version = '4.0.2', Version; +var version = '4.0.2a', Version; Ext.Version = Version = Ext.extend(Object, { @@ -5085,7 +5085,7 @@ window.undefined = window.undefined; document.execCommand("BackgroundImageCache", false, true); } catch(e) {} - Ext.setVersion('extjs', '4.0.2'); + Ext.setVersion('extjs', '4.0.2a'); Ext.apply(Ext, { SSL_SECURE_URL : Ext.isSecure && isIE ? 'javascript:""' : 'about:blank', @@ -15609,10 +15609,15 @@ Ext.define('Ext.layout.Layout', { }, beforeLayout : function() { - this.renderItems(this.getLayoutItems(), this.getRenderTarget()); + this.renderChildren(); return true; }, + renderChildren: function () { + var me = this; + me.renderItems(me.getLayoutItems(), me.getRenderTarget()); + }, + /** * @private * Iterates over all passed items, ensuring they are rendered. If the items are already rendered, @@ -18500,6 +18505,9 @@ Ext.define('Ext.AbstractComponent', { rendered: false, + + componentLayoutCounter: 0, + weight: 0, trimRe: /^\s+|\s+$/g, @@ -18636,7 +18644,10 @@ Ext.define('Ext.AbstractComponent', { if (layout && me.flex) { state.flex = me.flex; - state[layout.perpendicularPrefix] = me['get' + layout.perpendicularPrefixCap](); + if (layout.perpendicularPrefix) { + state[layout.perpendicularPrefix] = me['get' + layout.perpendicularPrefixCap](); + } else { + } } else if (layout && me.anchor) { @@ -18908,6 +18919,12 @@ Ext.define('Ext.AbstractComponent', { if (!me.ownerCt || (me.height || me.width)) { me.setSize(me.width, me.height); + } else { + + + + + me.renderChildren(); } @@ -18933,6 +18950,15 @@ Ext.define('Ext.AbstractComponent', { } }, + renderChildren: function () { + var me = this, + layout = me.getComponentLayout(); + + me.suspendLayout = true; + layout.renderChildren(); + delete me.suspendLayout; + }, + frameCls: Ext.baseCSSPrefix + 'frame', frameElementCls: { @@ -20287,6 +20313,7 @@ Ext.define('Ext.AbstractComponent', { afterComponentLayout: function(width, height, isSetSize, callingContainer) { + ++this.componentLayoutCounter; this.fireEvent('resize', this, width, height); }, @@ -27860,10 +27887,10 @@ Ext.define('Ext.layout.container.Container', { layoutItem: function(item, box) { - box = box || {}; - if (item.componentLayout.initialized !== true) { - this.setItemSize(item, box.width || item.width || undefined, box.height || item.height || undefined); - + if (box) { + item.doComponentLayout(box.width, box.height); + } else { + item.doComponentLayout(); } }, @@ -27976,15 +28003,11 @@ Ext.define('Ext.layout.container.Auto', { }, configureItem: function(item) { - - - - if (this.type === 'autocontainer') { - item.layoutManagedHeight = 2; - item.layoutManagedWidth = 2; - } - this.callParent(arguments); + + + item.layoutManagedHeight = 2; + item.layoutManagedWidth = 2; } }); @@ -28018,6 +28041,9 @@ Ext.define('Ext.container.AbstractContainer', { isContainer : true, + + layoutCounter : 0, + baseCls: Ext.baseCSSPrefix + 'container', @@ -28072,6 +28098,20 @@ Ext.define('Ext.container.AbstractContainer', { this.callParent(); }, + renderChildren: function () { + var me = this, + layout = me.getLayout(); + + me.callParent(); + + + if (layout) { + me.suspendLayout = true; + layout.renderChildren(); + delete me.suspendLayout; + } + }, + setLayout : function(layout) { var currentLayout = this.layout; @@ -28124,6 +28164,7 @@ Ext.define('Ext.container.AbstractContainer', { afterLayout : function(layout) { + ++this.layoutCounter; this.fireEvent('afterlayout', this, layout); }, @@ -31183,7 +31224,12 @@ Ext.define('Ext.layout.container.Box', { for (i = 0; i < visibleCount; i++) { child = visibleItems[i]; childPerpendicular = child[perpendicularPrefix]; - me.layoutItem(child); + if (!child.flex || !(me.align == 'stretch' || me.align == 'stretchmax')) { + if (child.componentLayout.initialized !== true) { + me.layoutItem(child); + } + } + childMargins = child.margins; parallelMargins = childMargins[me.parallelBefore] + childMargins[me.parallelAfter]; @@ -37550,10 +37596,14 @@ Ext.define('Ext.panel.Panel', { me.callParent(arguments); }, - afterRender: function() { + afterComponentLayout: function() { var me = this; me.callParent(arguments); - if (me.collapsed) { + + + + + if (me.collapsed && me.componentLayoutCounter == 1) { me.collapsed = false; me.collapse(null, false, true); } @@ -57336,7 +57386,7 @@ Ext.define('Ext.layout.container.AbstractCard', { beforeLayout: function() { var me = this; - me.activeItem = me.getActiveItem(); + me.getActiveItem(); if (me.activeItem && me.deferredRender) { me.renderItems([me.activeItem], me.getRenderTarget()); return true; @@ -57346,6 +57396,11 @@ Ext.define('Ext.layout.container.AbstractCard', { } }, + renderChildren: function () { + this.getActiveItem(); + this.callParent(); + }, + onLayout: function() { var me = this, activeItem = me.activeItem, @@ -74020,6 +74075,7 @@ Ext.define('Ext.grid.Lockable', { var me = this, width = me.lockedGrid.headerCt.getFullWidth(true); me.lockedGrid.setWidth(width); + me.doComponentLayout(); }, onLockedHeaderResize: function() { @@ -74655,15 +74711,6 @@ Ext.define('Ext.panel.Table', { view, border = me.border; - - - - - - - - me.injectView = Ext.Function.createThrottled(me.injectView, 30, me); - if (me.hideHeaders) { border = false; } @@ -74782,78 +74829,92 @@ Ext.define('Ext.panel.Table', { view = me.getView(); - if (view) { - me.mon(view.store, { - load: me.onStoreLoad, - scope: me - }); - me.mon(view, { - refresh: me.onViewRefresh, - scope: me - }); - this.relayEvents(view, [ + view.on({ + afterrender: function () { - 'beforeitemmousedown', + view.el.scroll = Ext.Function.bind(me.elScroll, me); - 'beforeitemmouseup', - 'beforeitemmouseenter', - - 'beforeitemmouseleave', - - 'beforeitemclick', - - 'beforeitemdblclick', - - 'beforeitemcontextmenu', - - 'itemmousedown', - - 'itemmouseup', - - 'itemmouseenter', - - 'itemmouseleave', - - 'itemclick', - - 'itemdblclick', - - 'itemcontextmenu', - - 'beforecontainermousedown', - - 'beforecontainermouseup', - - 'beforecontainermouseover', - - 'beforecontainermouseout', - - 'beforecontainerclick', - - 'beforecontainerdblclick', - - 'beforecontainercontextmenu', - - 'containermouseup', - - 'containermouseover', - - 'containermouseout', - - 'containerclick', - - 'containerdblclick', - - 'containercontextmenu', + me.mon(view.el, { + mousewheel: me.onMouseWheel, + scope: me + }); + }, + single: true + }); + this.items = [view]; - - 'selectionchange', - - 'beforeselect' - ]); - } + me.mon(view.store, { + load: me.onStoreLoad, + scope: me + }); + me.mon(view, { + refresh: me.onViewRefresh, + scope: me + }); + this.relayEvents(view, [ + + 'beforeitemmousedown', + + 'beforeitemmouseup', + + 'beforeitemmouseenter', + + 'beforeitemmouseleave', + + 'beforeitemclick', + + 'beforeitemdblclick', + + 'beforeitemcontextmenu', + + 'itemmousedown', + + 'itemmouseup', + + 'itemmouseenter', + + 'itemmouseleave', + + 'itemclick', + + 'itemdblclick', + + 'itemcontextmenu', + + 'beforecontainermousedown', + + 'beforecontainermouseup', + + 'beforecontainermouseover', + + 'beforecontainermouseout', + + 'beforecontainerclick', + + 'beforecontainerdblclick', + + 'beforecontainercontextmenu', + + 'containermouseup', + + 'containermouseover', + + 'containermouseout', + + 'containerclick', + + 'containerdblclick', + + 'containercontextmenu', + + + 'selectionchange', + + 'beforeselect' + ]); } + me.callParent(arguments); }, @@ -75061,48 +75122,6 @@ Ext.define('Ext.panel.Table', { }, - injectView: function() { - if (!this.hasView && !this.collapsed) { - var me = this, - view = me.getView(); - - me.hasView = true; - me.add(view); - - function viewReady () { - - view.el.scroll = Ext.Function.bind(me.elScroll, me); - - - me.mon(view.el, { - mousewheel: me.onMouseWheel, - scope: me - }); - if (!me.height) { - me.doComponentLayout(); - } - } - - if (view.rendered) { - viewReady(); - } else { - view.on({ - afterrender: viewReady, - single: true - }); - } - } - }, - - afterExpand: function() { - - this.callParent(arguments); - if (!this.hasView) { - this.injectView(); - } - }, - - processEvent: function(type, view, cell, recordIndex, cellIndex, e) { var me = this, header; @@ -75206,9 +75225,6 @@ Ext.define('Ext.panel.Table', { me.callParent(arguments); - me.injectView(); - - if (!me.changingScrollBars) { me.determineScrollbars(); } @@ -75346,7 +75362,7 @@ Ext.define('Ext.panel.Table', { var me = this, vertScroller = me.getVerticalScroller(), horizScroller = me.getHorizontalScroller(), - scrollDelta = me.scrollDelta / -5, + scrollDelta = -me.scrollDelta, deltas = e.getWheelDeltas(), deltaX = scrollDelta * deltas.x, deltaY = scrollDelta * deltas.y, @@ -82395,6 +82411,8 @@ Ext.define('Ext.layout.container.Border', { this.shadowLayout.beforeLayout(); + + }, renderItems: function(items, target) { @@ -82403,6 +82421,14 @@ Ext.define('Ext.layout.container.Border', { renderItem: function(item) { }, + renderChildren: function() { + if (!this.borderLayoutInitialized) { + this.initializeBorderLayout(); + } + + this.shadowLayout.renderChildren(); + }, + getVisibleItems: function() { return Ext.ComponentQuery.query(':not([slideOutAnim])', this.callParent(arguments)); @@ -83452,9 +83478,9 @@ Ext.define('Ext.layout.container.Column', { item = items[i]; if (item.columnWidth) { columnWidth = Math.floor(item.columnWidth * availableWidth) - parallelMargins[i]; - if (item.getWidth() != columnWidth) { - me.setItemSize(item, columnWidth, item.height); - } + me.setItemSize(item, columnWidth, item.height); + } else { + me.layoutItem(item); } } @@ -83479,13 +83505,11 @@ Ext.define('Ext.layout.container.Column', { }, configureItem: function(item) { + this.callParent(arguments); + if (item.columnWidth) { item.layoutManagedWidth = 1; - } else { - item.layoutManagedWidth = 2; } - item.layoutManagedHeight = 2; - this.callParent(arguments); } }); diff --git a/deluge/ui/web/js/ext-all-dev.js b/deluge/ui/web/js/ext-all-dev.js index 2dc6de6ad..6a9b9b200 100644 --- a/deluge/ui/web/js/ext-all-dev.js +++ b/deluge/ui/web/js/ext-all-dev.js @@ -624,7 +624,7 @@ If you are unsure which license is appropriate for your use, please contact the (function() { // Current core version -var version = '4.0.2', Version; +var version = '4.0.2a', Version; Ext.Version = Version = Ext.extend(Object, { /** @@ -8931,7 +8931,7 @@ window.undefined = window.undefined; document.execCommand("BackgroundImageCache", false, true); } catch(e) {} - Ext.setVersion('extjs', '4.0.2'); + Ext.setVersion('extjs', '4.0.2a'); Ext.apply(Ext, { /** * URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent @@ -24009,10 +24009,15 @@ Ext.define('Ext.layout.Layout', { }, beforeLayout : function() { - this.renderItems(this.getLayoutItems(), this.getRenderTarget()); + this.renderChildren(); return true; }, + renderChildren: function () { + var me = this; + me.renderItems(me.getLayoutItems(), me.getRenderTarget()); + }, + /** * @private * Iterates over all passed items, ensuring they are rendered. If the items are already rendered, @@ -27907,6 +27912,14 @@ and a property `descEl` referencing the `div` Element which contains the descrip */ rendered: false, + /** + * The number of component layout calls made on this object. + * @property componentLayoutCounter + * @type {Number} + * @private + */ + componentLayoutCounter: 0, + weight: 0, trimRe: /^\s+|\s+$/g, @@ -28161,7 +28174,13 @@ and a property `descEl` referencing the `div` Element which contains the descrip // If we have flex, only store the perpendicular dimension. if (layout && me.flex) { state.flex = me.flex; - state[layout.perpendicularPrefix] = me['get' + layout.perpendicularPrefixCap](); + if (layout.perpendicularPrefix) { + state[layout.perpendicularPrefix] = me['get' + layout.perpendicularPrefixCap](); + } else { + if (Ext.isDefined(Ext.global.console)) { + Ext.global.console.warn('Ext.Component: Specified a flex value on a component not inside a Box layout'); + } + } } // If we have anchor, only store dimensions which are *not* being anchored else if (layout && me.anchor) { @@ -28443,6 +28462,12 @@ and a property `descEl` referencing the `div` Element which contains the descrip // Set the size if a size is configured, or if this is the outermost Container if (!me.ownerCt || (me.height || me.width)) { me.setSize(me.width, me.height); + } else { + // It is expected that child items be rendered before this method returns and + // the afterrender event fires. Since we aren't going to do the layout now, we + // must render the child items. This is handled implicitly above in the layout + // caused by setSize. + me.renderChildren(); } // For floaters, calculate x and y if they aren't defined by aligning @@ -28468,6 +28493,15 @@ and a property `descEl` referencing the `div` Element which contains the descrip } }, + renderChildren: function () { + var me = this, + layout = me.getComponentLayout(); + + me.suspendLayout = true; + layout.renderChildren(); + delete me.suspendLayout; + }, + frameCls: Ext.baseCSSPrefix + 'frame', frameElementCls: { @@ -30077,6 +30111,7 @@ alert(t.getXTypes()); // alerts 'component/field/textfield' * @param {Ext.Component} callingContainer Container requesting the layout. Only used when isSetSize is false. */ afterComponentLayout: function(width, height, isSetSize, callingContainer) { + ++this.componentLayoutCounter; this.fireEvent('resize', this, width, height); }, @@ -41937,10 +41972,10 @@ Ext.define('Ext.layout.container.Container', { /* End Definitions */ layoutItem: function(item, box) { - box = box || {}; - if (item.componentLayout.initialized !== true) { - this.setItemSize(item, box.width || item.width || undefined, box.height || item.height || undefined); - // item.doComponentLayout(box.width || item.width || undefined, box.height || item.height || undefined); + if (box) { + item.doComponentLayout(box.width, box.height); + } else { + item.doComponentLayout(); } }, @@ -42089,15 +42124,11 @@ Ext.define('Ext.layout.container.Auto', { }, configureItem: function(item) { + this.callParent(arguments); // Auto layout does not manage any dimensions. - // We have to check our type, because this could be called as a superclass method in a subclass - if (this.type === 'autocontainer') { - item.layoutManagedHeight = 2; - item.layoutManagedWidth = 2; - } - - this.callParent(arguments); + item.layoutManagedHeight = 2; + item.layoutManagedWidth = 2; } }); /** @@ -42276,6 +42307,14 @@ items: [ isContainer : true, + /** + * The number of container layout calls made on this object. + * @property layoutCounter + * @type {Number} + * @private + */ + layoutCounter : 0, + baseCls: Ext.baseCSSPrefix + 'container', /** @@ -42394,6 +42433,20 @@ items: [ this.callParent(); }, + renderChildren: function () { + var me = this, + layout = me.getLayout(); + + me.callParent(); + // this component's elements exist, so now create the child components' elements + + if (layout) { + me.suspendLayout = true; + layout.renderChildren(); + delete me.suspendLayout; + } + }, + // @private setLayout : function(layout) { var currentLayout = this.layout; @@ -42454,6 +42507,7 @@ items: [ // @private afterLayout : function(layout) { + ++this.layoutCounter; this.fireEvent('afterlayout', this, layout); }, @@ -47055,7 +47109,12 @@ Ext.define('Ext.layout.container.Box', { for (i = 0; i < visibleCount; i++) { child = visibleItems[i]; childPerpendicular = child[perpendicularPrefix]; - me.layoutItem(child); + if (!child.flex || !(me.align == 'stretch' || me.align == 'stretchmax')) { + if (child.componentLayout.initialized !== true) { + me.layoutItem(child); + } + } + childMargins = child.margins; parallelMargins = childMargins[me.parallelBefore] + childMargins[me.parallelAfter]; @@ -55764,10 +55823,14 @@ each of the buttons in the fbar. me.callParent(arguments); }, - afterRender: function() { + afterComponentLayout: function() { var me = this; me.callParent(arguments); - if (me.collapsed) { + + // Instate the collapsed state on our first component layout. We need to wait for + // this moment so that we have established at least some of our size (from our + // ownerCt). + if (me.collapsed && me.componentLayoutCounter == 1) { me.collapsed = false; me.collapse(null, false, true); } @@ -82572,7 +82635,7 @@ Ext.define('Ext.layout.container.AbstractCard', { beforeLayout: function() { var me = this; - me.activeItem = me.getActiveItem(); + me.getActiveItem(); if (me.activeItem && me.deferredRender) { me.renderItems([me.activeItem], me.getRenderTarget()); return true; @@ -82582,6 +82645,11 @@ Ext.define('Ext.layout.container.AbstractCard', { } }, + renderChildren: function () { + this.getActiveItem(); + this.callParent(); + }, + onLayout: function() { var me = this, activeItem = me.activeItem, @@ -107951,6 +108019,7 @@ Ext.define('Ext.grid.Lockable', { var me = this, width = me.lockedGrid.headerCt.getFullWidth(true); me.lockedGrid.setWidth(width); + me.doComponentLayout(); }, onLockedHeaderResize: function() { @@ -108693,15 +108762,6 @@ Ext.define('Ext.panel.Table', { view, border = me.border; - // We cannot buffer this because that will wait for the 30msec from afterLayout (or what - // ever event triggers it) and we may be in the middle of an animation; that is a bad - // time to injectView because it causes a layout (by calling add on the container). A - // throttled func will be called immediately on first call and then block subsequent - // (rapid fire) calls for 30msec before allowing another call to go through. Similar - // results, but the action moves from the trailing edge of the interval to the leading - // edge. - me.injectView = Ext.Function.createThrottled(me.injectView, 30, me); - if (me.hideHeaders) { border = false; } @@ -108834,266 +108894,280 @@ Ext.define('Ext.panel.Table', { // getView converts viewConfig into a View instance view = me.getView(); - if (view) { - me.mon(view.store, { - load: me.onStoreLoad, - scope: me - }); - me.mon(view, { - refresh: me.onViewRefresh, - scope: me - }); - this.relayEvents(view, [ - /** - * @event beforeitemmousedown - * Fires before the mousedown event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemmousedown', - /** - * @event beforeitemmouseup - * Fires before the mouseup event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemmouseup', - /** - * @event beforeitemmouseenter - * Fires before the mouseenter event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemmouseenter', - /** - * @event beforeitemmouseleave - * Fires before the mouseleave event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemmouseleave', - /** - * @event beforeitemclick - * Fires before the click event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemclick', - /** - * @event beforeitemdblclick - * Fires before the dblclick event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemdblclick', - /** - * @event beforeitemcontextmenu - * Fires before the contextmenu event on an item is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'beforeitemcontextmenu', - /** - * @event itemmousedown - * Fires when there is a mouse down on an item - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemmousedown', - /** - * @event itemmouseup - * Fires when there is a mouse up on an item - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemmouseup', - /** - * @event itemmouseenter - * Fires when the mouse enters an item. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemmouseenter', - /** - * @event itemmouseleave - * Fires when the mouse leaves an item. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemmouseleave', - /** - * @event itemclick - * Fires when an item is clicked. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemclick', - /** - * @event itemdblclick - * Fires when an item is double clicked. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemdblclick', - /** - * @event itemcontextmenu - * Fires when an item is right clicked. - * @param {Ext.view.View} this - * @param {Ext.data.Model} record The record that belongs to the item - * @param {HTMLElement} item The item's element - * @param {Number} index The item's index - * @param {Ext.EventObject} e The raw event object - */ - 'itemcontextmenu', - /** - * @event beforecontainermousedown - * Fires before the mousedown event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainermousedown', - /** - * @event beforecontainermouseup - * Fires before the mouseup event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainermouseup', - /** - * @event beforecontainermouseover - * Fires before the mouseover event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainermouseover', - /** - * @event beforecontainermouseout - * Fires before the mouseout event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainermouseout', - /** - * @event beforecontainerclick - * Fires before the click event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainerclick', - /** - * @event beforecontainerdblclick - * Fires before the dblclick event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainerdblclick', - /** - * @event beforecontainercontextmenu - * Fires before the contextmenu event on the container is processed. Returns false to cancel the default action. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'beforecontainercontextmenu', - /** - * @event containermouseup - * Fires when there is a mouse up on the container - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'containermouseup', - /** - * @event containermouseover - * Fires when you move the mouse over the container. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'containermouseover', - /** - * @event containermouseout - * Fires when you move the mouse out of the container. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'containermouseout', - /** - * @event containerclick - * Fires when the container is clicked. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'containerclick', - /** - * @event containerdblclick - * Fires when the container is double clicked. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'containerdblclick', - /** - * @event containercontextmenu - * Fires when the container is right clicked. - * @param {Ext.view.View} this - * @param {Ext.EventObject} e The raw event object - */ - 'containercontextmenu', + view.on({ + afterrender: function () { + // hijack the view el's scroll method + view.el.scroll = Ext.Function.bind(me.elScroll, me); + // We use to listen to document.body wheel events, but that's a + // little much. We scope just to the view now. + me.mon(view.el, { + mousewheel: me.onMouseWheel, + scope: me + }); + }, + single: true + }); + this.items = [view]; - /** - * @event selectionchange - * Fires when the selected nodes change. Relayed event from the underlying selection model. - * @param {Ext.view.View} this - * @param {Array} selections Array of the selected nodes - */ - 'selectionchange', - /** - * @event beforeselect - * Fires before a selection is made. If any handlers return false, the selection is cancelled. - * @param {Ext.view.View} this - * @param {HTMLElement} node The node to be selected - * @param {Array} selections Array of currently selected nodes - */ - 'beforeselect' - ]); - } + me.mon(view.store, { + load: me.onStoreLoad, + scope: me + }); + me.mon(view, { + refresh: me.onViewRefresh, + scope: me + }); + this.relayEvents(view, [ + /** + * @event beforeitemmousedown + * Fires before the mousedown event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemmousedown', + /** + * @event beforeitemmouseup + * Fires before the mouseup event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemmouseup', + /** + * @event beforeitemmouseenter + * Fires before the mouseenter event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemmouseenter', + /** + * @event beforeitemmouseleave + * Fires before the mouseleave event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemmouseleave', + /** + * @event beforeitemclick + * Fires before the click event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemclick', + /** + * @event beforeitemdblclick + * Fires before the dblclick event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemdblclick', + /** + * @event beforeitemcontextmenu + * Fires before the contextmenu event on an item is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'beforeitemcontextmenu', + /** + * @event itemmousedown + * Fires when there is a mouse down on an item + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemmousedown', + /** + * @event itemmouseup + * Fires when there is a mouse up on an item + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemmouseup', + /** + * @event itemmouseenter + * Fires when the mouse enters an item. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemmouseenter', + /** + * @event itemmouseleave + * Fires when the mouse leaves an item. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemmouseleave', + /** + * @event itemclick + * Fires when an item is clicked. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemclick', + /** + * @event itemdblclick + * Fires when an item is double clicked. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemdblclick', + /** + * @event itemcontextmenu + * Fires when an item is right clicked. + * @param {Ext.view.View} this + * @param {Ext.data.Model} record The record that belongs to the item + * @param {HTMLElement} item The item's element + * @param {Number} index The item's index + * @param {Ext.EventObject} e The raw event object + */ + 'itemcontextmenu', + /** + * @event beforecontainermousedown + * Fires before the mousedown event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainermousedown', + /** + * @event beforecontainermouseup + * Fires before the mouseup event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainermouseup', + /** + * @event beforecontainermouseover + * Fires before the mouseover event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainermouseover', + /** + * @event beforecontainermouseout + * Fires before the mouseout event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainermouseout', + /** + * @event beforecontainerclick + * Fires before the click event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainerclick', + /** + * @event beforecontainerdblclick + * Fires before the dblclick event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainerdblclick', + /** + * @event beforecontainercontextmenu + * Fires before the contextmenu event on the container is processed. Returns false to cancel the default action. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'beforecontainercontextmenu', + /** + * @event containermouseup + * Fires when there is a mouse up on the container + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'containermouseup', + /** + * @event containermouseover + * Fires when you move the mouse over the container. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'containermouseover', + /** + * @event containermouseout + * Fires when you move the mouse out of the container. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'containermouseout', + /** + * @event containerclick + * Fires when the container is clicked. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'containerclick', + /** + * @event containerdblclick + * Fires when the container is double clicked. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'containerdblclick', + /** + * @event containercontextmenu + * Fires when the container is right clicked. + * @param {Ext.view.View} this + * @param {Ext.EventObject} e The raw event object + */ + 'containercontextmenu', + + /** + * @event selectionchange + * Fires when the selected nodes change. Relayed event from the underlying selection model. + * @param {Ext.view.View} this + * @param {Array} selections Array of the selected nodes + */ + 'selectionchange', + /** + * @event beforeselect + * Fires before a selection is made. If any handlers return false, the selection is cancelled. + * @param {Ext.view.View} this + * @param {HTMLElement} node The node to be selected + * @param {Array} selections Array of currently selected nodes + */ + 'beforeselect' + ]); } + me.callParent(arguments); }, @@ -109314,52 +109388,6 @@ Ext.define('Ext.panel.Table', { } }, - /** - * @private - * Called after this Component has achieved its correct initial size, after all layouts have done their thing. - * This is so we can add the View only after the initial size is known. This method is throttled 30ms. - */ - injectView: function() { - if (!this.hasView && !this.collapsed) { - var me = this, - view = me.getView(); - - me.hasView = true; - me.add(view); - - function viewReady () { - // hijack the view el's scroll method - view.el.scroll = Ext.Function.bind(me.elScroll, me); - // We use to listen to document.body wheel events, but that's a - // little much. We scope just to the view now. - me.mon(view.el, { - mousewheel: me.onMouseWheel, - scope: me - }); - if (!me.height) { - me.doComponentLayout(); - } - } - - if (view.rendered) { - viewReady(); - } else { - view.on({ - afterrender: viewReady, - single: true - }); - } - } - }, - - afterExpand: function() { - // TODO - this is *not* called when part of an accordion! - this.callParent(arguments); - if (!this.hasView) { - this.injectView(); - } - }, - /** * @private * Process UI events from the view. Propagate them to whatever internal Components need to process them @@ -109474,9 +109502,6 @@ Ext.define('Ext.panel.Table', { var me = this; me.callParent(arguments); - // Insert the View the first time the Panel has a Component layout performed. - me.injectView(); - // Avoid recursion if (!me.changingScrollBars) { me.determineScrollbars(); @@ -109626,7 +109651,7 @@ Ext.define('Ext.panel.Table', { var me = this, vertScroller = me.getVerticalScroller(), horizScroller = me.getHorizontalScroller(), - scrollDelta = me.scrollDelta / -5, + scrollDelta = -me.scrollDelta, deltas = e.getWheelDeltas(), deltaX = scrollDelta * deltas.x, deltaY = scrollDelta * deltas.y, @@ -119315,6 +119340,8 @@ Ext.define('Ext.layout.container.Border', { // Delegate this operation to the shadow "V" or "H" box layout. this.shadowLayout.beforeLayout(); + + // note: don't call base because that does a renderItems again }, renderItems: function(items, target) { @@ -119325,6 +119352,14 @@ Ext.define('Ext.layout.container.Border', { Ext.Error.raise('This should not be called'); }, + renderChildren: function() { + if (!this.borderLayoutInitialized) { + this.initializeBorderLayout(); + } + + this.shadowLayout.renderChildren(); + }, + /* * Gathers items for a layout operation. Injected into child Box layouts through configuration. * We must not include child items which are floated over the layout (are primed with a slide out animation) @@ -120589,9 +120624,9 @@ Ext.define('Ext.layout.container.Column', { item = items[i]; if (item.columnWidth) { columnWidth = Math.floor(item.columnWidth * availableWidth) - parallelMargins[i]; - if (item.getWidth() != columnWidth) { - me.setItemSize(item, columnWidth, item.height); - } + me.setItemSize(item, columnWidth, item.height); + } else { + me.layoutItem(item); } } @@ -120616,13 +120651,11 @@ Ext.define('Ext.layout.container.Column', { }, configureItem: function(item) { + this.callParent(arguments); + if (item.columnWidth) { item.layoutManagedWidth = 1; - } else { - item.layoutManagedWidth = 2; } - item.layoutManagedHeight = 2; - this.callParent(arguments); } }); /** diff --git a/deluge/ui/web/js/ext-all.js b/deluge/ui/web/js/ext-all.js index 2551403a0..4dcc1a7e8 100644 --- a/deluge/ui/web/js/ext-all.js +++ b/deluge/ui/web/js/ext-all.js @@ -12,4 +12,4 @@ This file may be used under the terms of the GNU General Public License version If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. */ -(function(){var e=this,a=Object.prototype,g=a.toString,b=true,d={toString:1},c;if(typeof Ext==="undefined"){e.Ext={}}Ext.global=e;for(c in d){b=null}if(b){b=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"]}Ext.enumerables=b;Ext.apply=function(n,m,q){if(q){Ext.apply(n,q)}if(n&&m&&typeof m==="object"){var p,l,h;for(p in m){n[p]=m[p]}if(b){for(l=b.length;l--;){h=b[l];if(m.hasOwnProperty(h)){n[h]=m[h]}}}}return n};Ext.buildSettings=Ext.apply({baseCSSPrefix:"x-",scopeResetCSS:false},Ext.buildSettings||{});Ext.apply(Ext,{emptyFn:function(){},baseCSSPrefix:Ext.buildSettings.baseCSSPrefix,applyIf:function(i,h){var j;if(i){for(j in h){if(i[j]===undefined){i[j]=h[j]}}}return i},iterate:function(h,j,i){if(Ext.isEmpty(h)){return}if(i===undefined){i=h}if(Ext.isIterable(h)){Ext.Array.each.call(Ext.Array,h,j,i)}else{Ext.Object.each.call(Ext.Object,h,j,i)}}});Ext.apply(Ext,{extend:function(){var h=a.constructor,i=function(k){for(var j in k){if(!k.hasOwnProperty(j)){continue}this[j]=k[j]}};return function(j,p,m){if(Ext.isObject(p)){m=p;p=j;j=m.constructor!==h?m.constructor:function(){p.apply(this,arguments)}}var l=function(){},k,n=p.prototype;l.prototype=n;k=j.prototype=new l();k.constructor=j;j.superclass=n;if(n.constructor===h){n.constructor=p}j.override=function(q){Ext.override(j,q)};k.override=i;k.proto=k;j.override(m);j.extend=function(q){return Ext.extend(j,q)};return j}}(),override:function(h,i){if(h.prototype.$className){return h.override(i)}else{Ext.apply(h.prototype,i)}}});Ext.apply(Ext,{valueFrom:function(j,h,i){return Ext.isEmpty(j,i)?h:j},typeOf:function(i){if(i===null){return"null"}var h=typeof i;if(h==="undefined"||h==="string"||h==="number"||h==="boolean"){return h}var j=g.call(i);switch(j){case"[object Array]":return"array";case"[object Date]":return"date";case"[object Boolean]":return"boolean";case"[object Number]":return"number";case"[object RegExp]":return"regexp"}if(h==="function"){return"function"}if(h==="object"){if(i.nodeType!==undefined){if(i.nodeType===3){return(/\S/).test(i.nodeValue)?"textnode":"whitespace"}else{return"element"}}return"object"}},isEmpty:function(h,i){return(h===null)||(h===undefined)||(!i?h==="":false)||(Ext.isArray(h)&&h.length===0)},isArray:("isArray" in Array)?Array.isArray:function(h){return g.call(h)==="[object Array]"},isDate:function(h){return g.call(h)==="[object Date]"},isObject:(g.call(null)==="[object Object]")?function(h){return h!==null&&h!==undefined&&g.call(h)==="[object Object]"&&h.ownerDocument===undefined}:function(h){return g.call(h)==="[object Object]"},isPrimitive:function(i){var h=typeof i;return h==="string"||h==="number"||h==="boolean"},isFunction:(typeof document!=="undefined"&&typeof document.getElementsByTagName("body")==="function")?function(h){return g.call(h)==="[object Function]"}:function(h){return typeof h==="function"},isNumber:function(h){return typeof h==="number"&&isFinite(h)},isNumeric:function(h){return !isNaN(parseFloat(h))&&isFinite(h)},isString:function(h){return typeof h==="string"},isBoolean:function(h){return typeof h==="boolean"},isElement:function(h){return h?h.nodeType===1:false},isTextNode:function(h){return h?h.nodeName==="#text":false},isDefined:function(h){return typeof h!=="undefined"},isIterable:function(h){return(h&&typeof h!=="string")?h.length!==undefined:false}});Ext.apply(Ext,{clone:function(q){if(q===null||q===undefined){return q}if(q.nodeType&&q.cloneNode){return q.cloneNode(true)}var p=g.call(q);if(p==="[object Date]"){return new Date(q.getTime())}var n,l,h,r,m;if(p==="[object Array]"){n=q.length;r=[];while(n--){r[n]=Ext.clone(q[n])}}else{if(p==="[object Object]"&&q.constructor===Object){r={};for(m in q){r[m]=Ext.clone(q[m])}if(b){for(l=b.length;l--;){h=b[l];r[h]=q[h]}}}}return r||q},getUniqueGlobalNamespace:function(){var j=this.uniqueGlobalNamespace;if(j===undefined){var h=0;do{j="ExtBox"+(++h)}while(Ext.global[j]!==undefined);Ext.global[j]=Ext;this.uniqueGlobalNamespace=j}return j},functionFactory:function(){var h=Array.prototype.slice.call(arguments);if(h.length>0){h[h.length-1]="var Ext=window."+this.getUniqueGlobalNamespace()+";"+h[h.length-1]}return Function.prototype.constructor.apply(Function.prototype,h)}});Ext.type=Ext.typeOf})();(function(){var a="4.0.2",b;Ext.Version=b=Ext.extend(Object,{constructor:function(c){var e,d;if(c instanceof b){return c}this.version=this.shortVersion=String(c).toLowerCase().replace(/_/g,".").replace(/[\-+]/g,"");d=this.version.search(/([^\d\.])/);if(d!==-1){this.release=this.version.substr(d,c.length);this.shortVersion=this.version.substr(0,d)}this.shortVersion=this.shortVersion.replace(/[^\d]/g,"");e=this.version.split(".");this.major=parseInt(e.shift()||0,10);this.minor=parseInt(e.shift()||0,10);this.patch=parseInt(e.shift()||0,10);this.build=parseInt(e.shift()||0,10);return this},toString:function(){return this.version},valueOf:function(){return this.version},getMajor:function(){return this.major||0},getMinor:function(){return this.minor||0},getPatch:function(){return this.patch||0},getBuild:function(){return this.build||0},getRelease:function(){return this.release||""},isGreaterThan:function(c){return b.compare(this.version,c)===1},isLessThan:function(c){return b.compare(this.version,c)===-1},equals:function(c){return b.compare(this.version,c)===0},match:function(c){c=String(c);return this.version.substr(0,c.length)===c},toArray:function(){return[this.getMajor(),this.getMinor(),this.getPatch(),this.getBuild(),this.getRelease()]},getShortVersion:function(){return this.shortVersion}});Ext.apply(b,{releaseValueMap:{dev:-6,alpha:-5,a:-5,beta:-4,b:-4,rc:-3,"#":-2,p:-1,pl:-1},getComponentValue:function(c){return !c?0:(isNaN(c)?this.releaseValueMap[c]||c:parseInt(c,10))},compare:function(h,g){var d,e,c;h=new b(h).toArray();g=new b(g).toArray();for(c=0;ce){return 1}}}return 0}});Ext.apply(Ext,{versions:{},lastRegisteredVersion:null,setVersion:function(d,c){Ext.versions[d]=new b(c);Ext.lastRegisteredVersion=Ext.versions[d];return this},getVersion:function(c){if(c===undefined){return Ext.lastRegisteredVersion}return Ext.versions[c]},deprecate:function(c,e,g,d){if(b.compare(Ext.getVersion(c),e)<1){g.call(d)}}});Ext.setVersion("core",a)})();Ext.String={trimRegex:/^[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+|[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+$/g,escapeRe:/('|\\)/g,formatRe:/\{(\d+)\}/g,escapeRegexRe:/([-.*+?^${}()|[\]\/\\])/g,htmlEncode:(function(){var d={"&":"&",">":">","<":"<",'"':"""},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+")","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){return d[g]})}})(),htmlDecode:(function(){var d={"&":"&",">":">","<":"<",""":'"'},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+"|&#[0-9]{1,5};)","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){if(g in d){return d[g]}else{return String.fromCharCode(parseInt(g.substr(2),10))}})}})(),urlAppend:function(b,a){if(!Ext.isEmpty(a)){return b+(b.indexOf("?")===-1?"?":"&")+a}return b},trim:function(a){return a.replace(Ext.String.trimRegex,"")},capitalize:function(a){return a.charAt(0).toUpperCase()+a.substr(1)},ellipsis:function(c,a,d){if(c&&c.length>a){if(d){var e=c.substr(0,a-2),b=Math.max(e.lastIndexOf(" "),e.lastIndexOf("."),e.lastIndexOf("!"),e.lastIndexOf("?"));if(b!==-1&&b>=(a-15)){return e.substr(0,b)+"..."}}return c.substr(0,a-3)+"..."}return c},escapeRegex:function(a){return a.replace(Ext.String.escapeRegexRe,"\\$1")},escape:function(a){return a.replace(Ext.String.escapeRe,"\\$1")},toggle:function(b,c,a){return b===c?a:c},leftPad:function(b,c,d){var a=String(b);d=d||" ";while(a.length=c){g+=c}else{if(b*2<-c){g-=c}}}return Ext.Number.constrain(g,d,h)},toFixed:function(d,b){if(a){b=b||0;var c=Math.pow(10,b);return(Math.round(d*c)/c).toFixed(b)}return d.toFixed(b)},from:function(c,b){if(isFinite(c)){c=parseFloat(c)}return !isNaN(c)?c:b}}})();Ext.num=function(){return Ext.Number.from.apply(this,arguments)};(function(){var g=Array.prototype,p=g.slice,r=function(){var B=[],e,A=20;if(!B.splice){return false}while(A--){B.push("A")}B.splice(15,0,"F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F");e=B.length;B.splice(13,0,"XXX");if(e+1!=B.length){return false}return true}(),j="forEach" in g,v="map" in g,q="indexOf" in g,z="every" in g,c="some" in g,d="filter" in g,n=function(){var e=[1,2,3,4,5].sort(function(){return 0});return e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4&&e[4]===5}(),k=true,a;try{if(typeof document!=="undefined"){p.call(document.getElementsByTagName("body"))}}catch(t){k=false}function m(A,e){return(e<0)?Math.max(0,A.length+e):Math.min(A.length,e)}function y(H,G,A,K){var L=K?K.length:0,C=H.length,I=m(H,G);if(I===C){if(L){H.push.apply(H,K)}}else{var F=Math.min(A,C-I),J=I+F,B=J+L-F,e=C-J,D=C-F,E;if(BJ){for(E=e;E--;){H[B+E]=H[J+E]}}}if(L&&I===D){H.length=D;H.push.apply(H,K)}else{H.length=D+L;for(E=0;E-1;A--){if(C.call(B||E[A],E[A],A,E)===false){return A}}}return true},forEach:function(D,B,A){if(j){return D.forEach(B,A)}var e=0,C=D.length;for(;ee){e=B}}}return e},mean:function(e){return e.length>0?a.sum(e)/e.length:undefined},sum:function(D){var A=0,e,C,B;for(e=0,C=D.length;e0){return setTimeout(d,c)}d();return 0},createSequence:function(c,b,a){if(!Ext.isFunction(b)){return c}else{return function(){var d=c.apply(this||window,arguments);b.apply(a||this||window,arguments);return d}}},createBuffered:function(d,a,c,b){return function(){var e;return function(){var g=this;if(e){clearInterval(e);e=null}e=setTimeout(function(){d.apply(c||g,b||arguments)},a)}}()},createThrottled:function(e,b,d){var g,a,c,i,h=function(){e.apply(d||this,c);g=new Date().getTime()};return function(){a=new Date().getTime()-g;c=arguments;clearTimeout(i);if(!g||(a>=b)){h()}else{i=setTimeout(h,b-a)}}}};Ext.defer=Ext.Function.alias(Ext.Function,"defer");Ext.pass=Ext.Function.alias(Ext.Function,"pass");Ext.bind=Ext.Function.alias(Ext.Function,"bind");(function(){var a=Ext.Object={toQueryObjects:function(d,j,c){var b=a.toQueryObjects,h=[],e,g;if(Ext.isArray(j)){for(e=0,g=j.length;e0){h=n.split("=");w=decodeURIComponent(h[0]);m=(h[1]!==undefined)?decodeURIComponent(h[1]):"";if(!r){if(u.hasOwnProperty(w)){if(!Ext.isArray(u[w])){u[w]=[u[w]]}u[w].push(m)}else{u[w]=m}}else{g=w.match(/(\[):?([^\]]*)\]/g);t=w.match(/^([^\[]+)/);w=t[0];k=[];if(g===null){u[w]=m;continue}for(p=0,b=g.length;p 0 ? +1 : (Ext.Date.getWeekOfYear(this) >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"Ext.String.leftPad(this.getFullYear(), 4, '0')",y:"('' + this.getFullYear()).substring(2, 4)",a:"(this.getHours() < 12 ? 'am' : 'pm')",A:"(this.getHours() < 12 ? 'AM' : 'PM')",g:"((this.getHours() % 12) ? this.getHours() % 12 : 12)",G:"this.getHours()",h:"Ext.String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"Ext.String.leftPad(this.getHours(), 2, '0')",i:"Ext.String.leftPad(this.getMinutes(), 2, '0')",s:"Ext.String.leftPad(this.getSeconds(), 2, '0')",u:"Ext.String.leftPad(this.getMilliseconds(), 3, '0')",O:"Ext.Date.getGMTOffset(this)",P:"Ext.Date.getGMTOffset(this, true)",T:"Ext.Date.getTimezone(this)",Z:"(this.getTimezoneOffset() * -60)",c:function(){for(var k="Y-m-dTH:i:sP",h=[],g=0,d=k.length;g= 0 && y >= 0){","v = Ext.Date.add(new Date(y < 100 ? 100 : y, 0, 1, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","v = !strict? v : (strict === true && (z <= 364 || (Ext.Date.isLeapYear(v) && z <= 365))? Ext.Date.add(v, Ext.Date.DAY, z) : null);","}else if(strict === true && !Ext.Date.isValid(y, m + 1, d, h, i, s, ms)){","v = null;","}else{","v = Ext.Date.add(new Date(y < 100 ? 100 : y, m, d, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","}","}","}","if(v){","if(zz != null){","v = Ext.Date.add(v, Ext.Date.SECOND, -v.getTimezoneOffset() * 60 - zz);","}else if(o){","v = Ext.Date.add(v, Ext.Date.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn));","}","}","return v;"].join("\n");return function(m){var e=a.parseRegexes.length,n=1,g=[],l=[],k=false,d="";for(var j=0;j Ext.Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(am|pm|AM|PM)"},A:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(AM|PM|am|pm)"},g:function(){return a.formatCodeToRegex("G")},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},h:function(){return a.formatCodeToRegex("H")},H:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},i:{g:1,c:"i = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},s:{g:1,c:"s = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},u:{g:1,c:"ms = results[{0}]; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n",s:"(\\d+)"},O:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60),","mn = o.substring(3,5) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{4})"},P:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60),","mn = o.substring(4,6) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{2}:\\d{2})"},T:{g:0,c:null,s:"[A-Z]{1,4}"},Z:{g:1,c:"zz = results[{0}] * 1;\nzz = (-43200 <= zz && zz <= 50400)? zz : null;\n",s:"([+-]?\\d{1,5})"},c:function(){var e=[],c=[a.formatCodeToRegex("Y",1),a.formatCodeToRegex("m",2),a.formatCodeToRegex("d",3),a.formatCodeToRegex("h",4),a.formatCodeToRegex("i",5),a.formatCodeToRegex("s",6),{c:"ms = results[7] || '0'; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n"},{c:["if(results[8]) {","if(results[8] == 'Z'){","zz = 0;","}else if (results[8].indexOf(':') > -1){",a.formatCodeToRegex("P",8).c,"}else{",a.formatCodeToRegex("O",8).c,"}","}"].join("\n")}];for(var g=0,d=c.length;g0?"-":"+")+Ext.String.leftPad(Math.floor(Math.abs(e)/60),2,"0")+(d?":":"")+Ext.String.leftPad(Math.abs(e%60),2,"0")},getDayOfYear:function(g){var e=0,j=Ext.Date.clone(g),c=g.getMonth(),h;for(h=0,j.setDate(1),j.setMonth(0);h28){e=Math.min(e,Ext.Date.getLastDateOfMonth(Ext.Date.add(Ext.Date.getFirstDateOfMonth(h),"mo",i)).getDate())}j.setDate(e);j.setMonth(h.getMonth()+i);break;case Ext.Date.YEAR:j.setFullYear(h.getFullYear()+i);break}return j},between:function(d,g,c){var e=d.getTime();return g.getTime()<=e&&e<=c.getTime()},compat:function(){var g=window.Date,e,c,h=["useStrict","formatCodeToRegex","parseFunctions","parseRegexes","formatFunctions","y2kYear","MILLI","SECOND","MINUTE","HOUR","DAY","MONTH","YEAR","defaults","dayNames","monthNames","monthNumbers","getShortMonthName","getShortDayName","getMonthNumber","formatCodes","isValid","parseDate","getFormatCode","createFormat","createParser","parseCodes"],d=["dateFormat","format","getTimezone","getGMTOffset","getDayOfYear","getWeekOfYear","isLeapYear","getFirstDayOfMonth","getLastDayOfMonth","getDaysInMonth","getSuffix","clone","isDST","clearTime","add","between"];Ext.Array.forEach(h,function(i){g[i]=a[i]});Ext.Array.forEach(d,function(i){g.prototype[i]=function(){var j=Array.prototype.slice.call(arguments);j.unshift(this);return a[i].apply(a,j)}})}};var a=Ext.Date})();(function(a){var b=Ext.Base=function(){};b.prototype={$className:"Ext.Base",$class:b,self:b,constructor:function(){return this},initConfig:function(c){if(!this.$configInited){this.config=Ext.Object.merge({},this.config||{},c||{});this.applyConfig(this.config);this.$configInited=true}return this},setConfig:function(c){this.applyConfig(c||{});return this},applyConfig:a(function(c,d){var e="set"+Ext.String.capitalize(c);if(typeof this[e]==="function"){this[e].call(this,d)}return this}),callParent:function(d){var g=this.callParent.caller,e,c;if(!g.$owner){g=g.caller}e=g.$owner.superclass;c=g.$name;return e[c].apply(this,d||[])},statics:function(){var d=this.statics.caller,c=this.self;if(!d){return c}return d.$owner},callOverridden:function(c){var d=this.callOverridden.caller;return d.$previous.apply(this,c||[])},destroy:function(){}};Ext.apply(Ext.Base,{create:function(){return Ext.create.apply(Ext,[this].concat(Array.prototype.slice.call(arguments,0)))},own:a(function(c,d){if(typeof d==="function"){this.ownMethod(c,d)}else{this.prototype[c]=d}}),ownMethod:function(c,d){var e;if(d.$owner!==undefined&&d!==Ext.emptyFn){e=d;d=function(){return e.apply(this,arguments)}}d.$owner=this;d.$name=c;this.prototype[c]=d},addStatics:function(c){for(var d in c){if(c.hasOwnProperty(d)){this[d]=c[d]}}return this},implement:function(d){var g=this.prototype,e,h,k,j;for(e in d){if(d.hasOwnProperty(e)){k=d[e];if(typeof k==="function"){k.$owner=this;k.$name=e}g[e]=k}}if(Ext.enumerables){var c=Ext.enumerables;for(h=c.length;h--;){e=c[h];if(d.hasOwnProperty(e)){k=d[e];k.$owner=this;k.$name=e;g[e]=k}}}},borrow:function(h,d){var c=h.prototype,e,g,j;d=Ext.Array.from(d);for(e=0,g=d.length;e0){if(i===h){return k[i]}j=k[i];h=h.substring(i.length+1)}if(j.length>0){j+="/"}return j.replace(/\/\.\//g,"/")+h.replace(/\./g,"/")+".js"},getPrefix:function(i){var k=this.config.paths,j,h="";if(k.hasOwnProperty(i)){return i}for(j in k){if(k.hasOwnProperty(j)&&j+"."===i.substring(0,j.length+1)){if(j.length>h.length){h=j}}}return h},refreshQueue:function(){var n=this.queue.length,k,m,h,l;if(n===0){this.triggerReady();return}for(k=0;kthis.numLoadedFiles){continue}h=0;do{if(c.isCreated(l[h])){Ext.Array.erase(l,h,1)}else{h++}}while(h=200&&k<300){new Function(s.responseText+"\n//@ sourceURL="+l)();q.call(t)}else{m.call(this,"Failed loading synchronously via XHR: '"+i+"'; please verify that the file exists. XHR status code: "+k,h)}}s=null}},exclude:function(i){var h=this;return{require:function(l,k,j){return h.require(l,k,j,i)},syncRequire:function(l,k,j){return h.syncRequire(l,k,j,i)}}},syncRequire:function(){this.syncModeEnabled=true;this.require.apply(this,arguments);this.refreshQueue();this.syncModeEnabled=false},require:function(s,y,A,z){var n,w,k,x,u={},l=[],m=[],r,h=[],q,p,v,t;s=Ext.Array.from(s);z=Ext.Array.from(z);y=y||Ext.emptyFn;A=A||Ext.global;for(q=0,v=z.length;q0){l=c.getNamesByExpression(k);for(p=0,t=l.length;p0){m=c.getNamesByExpression(w);for(p=0,t=m.length;p0){Ext.Error.raise({sourceClass:"Ext.Loader",sourceMethod:"require",msg:"Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class"+((h.length>1)?"es":"")+": "+h.join(", ")})}}if(h.length===0){y.call(A);return this}this.queue.push({requires:h,callback:y,scope:A});h=h.slice();for(q=0,v=h.length;qwindow.innerWidth?"portrait":"landscape"},destroy:function(){var c=arguments.length,b,a;for(b=0;b
'),I=J.child("div",true),E=I.offsetWidth;J.setStyle("overflow",(Ext.isWebKit||Ext.isGecko)?"auto":"scroll");var e=I.offsetWidth,G=E-e;J.remove();t={width:G,height:G}}return t},getScrollBarWidth:function(E){var e=Ext.getScrollbarSize(E);return e.width+2},copyTo:function(e,E,G,F){if(typeof G=="string"){G=G.split(/[,;\s]/)}Ext.each(G,function(H){if(F||E.hasOwnProperty(H)){e[H]=E[H]}},this);return e},destroyMembers:function(G){for(var F=1,E=arguments,e=E.length;F]+>/gi,c=/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,b=/\r?\n/g,d=/[^\d\.]/g,a;Ext.apply(g,{thousandSeparator:",",decimalSeparator:".",currencyPrecision:2,currencySign:"$",currencyAtEnd:false,undef:function(h){return h!==undefined?h:""},defaultValue:function(i,h){return i!==undefined&&i!==""?i:h},substr:function(i,j,h){return String(i).substr(j,h)},lowercase:function(h){return String(h).toLowerCase()},uppercase:function(h){return String(h).toUpperCase()},usMoney:function(h){return g.currency(h,"$",2)},currency:function(k,m,j,h){var p="",n=",0",l=0;k=k-0;if(k<0){k=-k;p="-"}j=j||g.currencyPrecision;n+=n+(j>0?".":"");for(;l")},capitalize:Ext.String.capitalize,ellipsis:Ext.String.ellipsis,format:Ext.String.format,htmlDecode:Ext.String.htmlDecode,htmlEncode:Ext.String.htmlEncode,leftPad:Ext.String.leftPad,trim:Ext.String.trim,parseBox:function(i){if(Ext.isNumber(i)){i=i.toString()}var j=i.split(" "),h=j.length;if(h==1){j[1]=j[2]=j[3]=j[0]}else{if(h==2){j[2]=j[0];j[3]=j[1]}else{if(h==3){j[3]=j[1]}}}return{top:parseInt(j[0],10)||0,right:parseInt(j[1],10)||0,bottom:parseInt(j[2],10)||0,left:parseInt(j[3],10)||0}},escapeRegex:function(h){return h.replace(/([\-.*+?\^${}()|\[\]\/\\])/g,"\\$1")}})})();Ext.ns("Ext.util");Ext.util.TaskRunner=function(e){e=e||10;var g=[],a=[],b=0,h=false,d=function(){h=false;clearInterval(b);b=0},i=function(){if(!h){h=true;b=setInterval(j,e)}},c=function(k){a.push(k);if(k.onStop){k.onStop.apply(k.scope||k)}},j=function(){var m=a.length,p=new Date().getTime(),r;if(m>0){for(r=0;r','
',"",'
','
',"
",'
'].join("");d.body.appendChild(g);for(a=0;a

";return(b.childNodes.length==2)}},{identity:"Float",fn:function(a,b){return !!b.lastChild.style.cssFloat}},{identity:"AudioTag",fn:function(a){return !!a.createElement("audio").canPlayType}},{identity:"History",fn:function(){return !!(window.history&&history.pushState)}},{identity:"CSS3DTransform",fn:function(){return(typeof WebKitCSSMatrix!="undefined"&&new WebKitCSSMatrix().hasOwnProperty("m41"))}},{identity:"CSS3LinearGradient",fn:function(e,h){var d="background-image:",b="-webkit-gradient(linear, left top, right bottom, from(black), to(white))",g="linear-gradient(left top, black, white)",c="-moz-"+g,a=[d+b,d+g,d+c];h.style.cssText=a.join(";");return(""+h.style.backgroundImage).indexOf("gradient")!==-1}},{identity:"CSS3BorderRadius",fn:function(d,e){var b=["borderRadius","BorderRadius","MozBorderRadius","WebkitBorderRadius","OBorderRadius","KhtmlBorderRadius"],c=false,a;for(a=0;a=534.16}}]};Ext.ns("Ext.core");Ext.core.DomHelper=function(){var y=null,k=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,m=/^table|tbody|tr|td$/i,d=/tag|children|cn|html$/i,u=/td|tr|tbody/i,w=/end/i,s,p="afterbegin",q="afterend",c="beforebegin",r="beforeend",a="",i="
",b=a+"",j=""+i,l=b+"",x=""+j;function h(C,E,D,F,B,z){C=Ext.getDom(C);var A;if(s.useDom){A=n(E,null);if(z){C.appendChild(A)}else{(B=="firstChild"?C:C.parentNode).insertBefore(A,C[B]||C)}}else{A=Ext.core.DomHelper.insertHtml(F,C,Ext.core.DomHelper.createHtml(E))}return D?Ext.get(A,true):A}function n(z,F){var A,I=document,D,G,B,H;if(Ext.isArray(z)){A=I.createDocumentFragment();for(var E=0,C=z.length;E"}}}return A}function g(G,D,C,E){y.innerHTML=[D,C,E].join("");var z=-1,B=y,A;while(++z+~]\s?|\s|$)/,tagTokenRe=/^(#)?([\w-\*]+)/,nthRe=/(\d*)n\+?(\d*)/,nthRe2=/\D/,isIE=window.ActiveXObject?true:false,key=30803;eval("var batch = 30803;");function child(parent,index){var i=0,n=parent.firstChild;while(n){if(n.nodeType==1){if(++i==index){return n}}n=n.nextSibling}return null}function next(n){while((n=n.nextSibling)&&n.nodeType!=1){}return n}function prev(n){while((n=n.previousSibling)&&n.nodeType!=1){}return n}function children(parent){var n=parent.firstChild,nodeIndex=-1,nextNode;while(n){nextNode=n.nextSibling;if(n.nodeType==3&&!nonSpace.test(n.nodeValue)){parent.removeChild(n)}else{n.nodeIndex=++nodeIndex}n=nextNode}return this}function byClassName(nodeSet,cls){if(!cls){return nodeSet}var result=[],ri=-1;for(var i=0,ci;ci=nodeSet[i];i++){if((" "+ci.className+" ").indexOf(cls)!=-1){result[++ri]=ci}}return result}function attrValue(n,attr){if(!n.tagName&&typeof n.length!="undefined"){n=n[0]}if(!n){return null}if(attr=="for"){return n.htmlFor}if(attr=="class"||attr=="className"){return n.className}return n.getAttribute(attr)||n[attr]}function getNodes(ns,mode,tagName){var result=[],ri=-1,cs;if(!ns){return result}tagName=tagName||"*";if(typeof ns.getElementsByTagName!="undefined"){ns=[ns]}if(!mode){for(var i=0,ni;ni=ns[i];i++){cs=ni.getElementsByTagName(tagName);for(var j=0,ci;ci=cs[j];j++){result[++ri]=ci}}}else{if(mode=="/"||mode==">"){var utag=tagName.toUpperCase();for(var i=0,ni,cn;ni=ns[i];i++){cn=ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if(cj.nodeName==utag||cj.nodeName==tagName||tagName=="*"){result[++ri]=cj}}}}else{if(mode=="+"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(n&&(n.nodeName==utag||n.nodeName==tagName||tagName=="*")){result[++ri]=n}}}else{if(mode=="~"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)){if(n.nodeName==utag||n.nodeName==tagName||tagName=="*"){result[++ri]=n}}}}}}}return result}function concat(a,b){if(b.slice){return a.concat(b)}for(var i=0,l=b.length;i1){return nodup(results)}return results},isXml:function(el){var docEl=(el?el.ownerDocument||el:0).documentElement;return docEl?docEl.nodeName!=="HTML":false},select:document.querySelectorAll?function(path,root,type){root=root||document;if(!Ext.DomQuery.isXml(root)){try{var cs=root.querySelectorAll(path);return Ext.Array.toArray(cs)}catch(ex){}}return Ext.DomQuery.jsSelect.call(this,path,root,type)}:function(path,root,type){return Ext.DomQuery.jsSelect.call(this,path,root,type)},selectNode:function(path,root){return Ext.DomQuery.select(path,root)[0]},selectValue:function(path,root,defaultValue){path=path.replace(trimRe,"");if(!valueCache[path]){valueCache[path]=Ext.DomQuery.compile(path,"select")}var n=valueCache[path](root),v;n=n[0]?n[0]:n;if(typeof n.normalize=="function"){n.normalize()}v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==="")?defaultValue:v)},selectNumber:function(path,root,defaultValue){var v=Ext.DomQuery.selectValue(path,root,defaultValue||0);return parseFloat(v)},is:function(el,ss){if(typeof el=="string"){el=document.getElementById(el)}var isArray=Ext.isArray(el),result=Ext.DomQuery.filter(isArray?el:[el],ss);return isArray?(result.length==el.length):(result.length>0)},filter:function(els,ss,nonMatches){ss=ss.replace(trimRe,"");if(!simpleCache[ss]){simpleCache[ss]=Ext.DomQuery.compile(ss,"simple")}var result=simpleCache[ss](els);return nonMatches?quickDiff(result,els):result},matchers:[{re:/^\.([\w-]+)/,select:'n = byClassName(n, " {1} ");'},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:'n = byPseudo(n, "{1}", "{2}");'},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{4}", "{3}", "{1}");'},{re:/^#([\w-]+)/,select:'n = byId(n, "{1}");'},{re:/^@([\w-]+)/,select:'return {firstChild:{nodeValue:attrValue(n, "{1}")}};'}],operators:{"=":function(a,v){return a==v},"!=":function(a,v){return a!=v},"^=":function(a,v){return a&&a.substr(0,v.length)==v},"$=":function(a,v){return a&&a.substr(a.length-v.length)==v},"*=":function(a,v){return a&&a.indexOf(v)!==-1},"%=":function(a,v){return(a%v)==0},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+"-")},"~=":function(a,v){return a&&(" "+a+" ").indexOf(" "+v+" ")!=-1}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"nth-child":function(c,a){var r=[],ri=-1,m=nthRe.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!nthRe2.test(a)&&"n+"+a||a),f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var pn=n.parentNode;if(batch!=pn._batch){var j=0;for(var cn=pn.firstChild;cn;cn=cn.nextSibling){if(cn.nodeType==1){cn.nodeIndex=++j}}pn._batch=batch}if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n}}else{if((n.nodeIndex+l)%f==0){r[++ri]=n}}}return r},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci}}return r},empty:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var cns=ci.childNodes,j=0,cn,empty=true;while(cn=cns[j]){++j;if(cn.nodeType==1||cn.nodeType==3){empty=false;break}}if(empty){r[++ri]=ci}}return r},contains:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText||"").indexOf(v)!=-1){r[++ri]=ci}}return r},nodeValue:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v){r[++ri]=ci}}return r},checked:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci}}return r},not:function(c,ss){return Ext.DomQuery.filter(c,ss,true)},any:function(c,selectors){var ss=selectors.split("|"),r=[],ri=-1,s;for(var i=0,ci;ci=c[i];i++){for(var j=0;s=ss[j];j++){if(Ext.DomQuery.is(ci,s)){r[++ri]=ci;break}}}return r},odd:function(c){return this["nth-child"](c,"odd")},even:function(c){return this["nth-child"](c,"even")},nth:function(c,a){return c[a-1]||[]},first:function(c){return c[0]||[]},last:function(c){return c[c.length-1]||[]},has:function(c,ss){var s=Ext.DomQuery.select,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(ss,ci).length>0){r[++ri]=ci}}return r},next:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r},prev:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r}}}}();Ext.query=Ext.DomQuery.select;(function(){var h=document,a=Ext.cache;Ext.Element=Ext.core.Element=function(l,m){var n=typeof l=="string"?h.getElementById(l):l,p;if(!n){return null}p=n.id;if(!m&&p&&a[p]){return a[p].el}this.dom=n;this.id=p||Ext.id(n)};var d=Ext.core.DomHelper,e=Ext.core.Element;e.prototype={set:function(q,m){var n=this.dom,l,p;m=(m!==false)&&!!n.setAttribute;for(l in q){if(q.hasOwnProperty(l)){p=q[l];if(l=="style"){d.applyStyles(n,p)}else{if(l=="cls"){n.className=p}else{if(m){n.setAttribute(l,p)}else{n[l]=p}}}}}return this},defaultUnit:"px",is:function(l){return Ext.DomQuery.is(this.dom,l)},focus:function(p,n){var l=this;n=n||l.dom;try{if(Number(p)){Ext.defer(l.focus,p,null,[null,n])}else{n.focus()}}catch(m){}return l},blur:function(){try{this.dom.blur()}catch(l){}return this},getValue:function(l){var m=this.dom.value;return l?parseInt(m,10):m},addListener:function(l,p,n,m){Ext.EventManager.on(this.dom,l,p,n||this,m);return this},removeListener:function(l,n,m){Ext.EventManager.un(this.dom,l,n,m||this);return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);return this},purgeAllListeners:function(){Ext.EventManager.purgeElement(this);return this},addUnits:function(m,l){if(Ext.isNumber(m)){return m+(l||this.defaultUnit||"px")}if(m===""||m=="auto"||m===undefined||m===null){return m||""}if(!i.test(m)){return m||""}return m},isBorderBox:function(){return Ext.isBorderBox||g[(this.dom.tagName||"").toLowerCase()]},remove:function(){var l=this,m=l.dom;if(m){delete l.dom;Ext.removeNode(m)}},hover:function(m,l,p,n){var q=this;q.on("mouseenter",m,p||q.dom,n);q.on("mouseleave",l,p||q.dom,n);return q},contains:function(l){return !l?false:Ext.core.Element.isAncestor(this.dom,l.dom?l.dom:l)},getAttributeNS:function(m,l){return this.getAttribute(l,m)},getAttribute:(Ext.isIE&&!(Ext.isIE9&&document.documentMode===9))?function(l,n){var p=this.dom,m;if(n){m=typeof p[n+":"+l];if(m!="undefined"&&m!="unknown"){return p[n+":"+l]||null}return null}if(l==="for"){l="htmlFor"}return p[l]||null}:function(l,m){var n=this.dom;if(m){return n.getAttributeNS(m,l)||n.getAttribute(m+":"+l)}return n.getAttribute(l)||n[l]||null},update:function(l){if(this.dom){this.dom.innerHTML=l}return this}};var k=e.prototype;e.addMethods=function(l){Ext.apply(k,l)};k.on=k.addListener;k.un=k.removeListener;k.clearListeners=k.removeAllListeners;k.destroy=k.remove;k.autoBoxAdjust=true;var i=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,c;e.get=function(m){var l,q,p;if(!m){return null}if(typeof m=="string"){if(!(q=h.getElementById(m))){return null}if(a[m]&&a[m].el){l=a[m].el;l.dom=q}else{l=e.addToCache(new e(q))}return l}else{if(m.tagName){if(!(p=m.id)){p=Ext.id(m)}if(a[p]&&a[p].el){l=a[p].el;l.dom=m}else{l=e.addToCache(new e(m))}return l}else{if(m instanceof e){if(m!=c){if(Ext.isIE&&(m.id==undefined||m.id=="")){m.dom=m.dom}else{m.dom=h.getElementById(m.id)||m.dom}}return m}else{if(m.isComposite){return m}else{if(Ext.isArray(m)){return e.select(m)}else{if(m==h){if(!c){var n=function(){};n.prototype=e.prototype;c=new n();c.dom=h}return c}}}}}}return null};e.addToCache=function(l,m){if(l){m=m||l.id;a[m]={el:l,data:{},events:{}}}return l};e.data=function(m,l,n){m=e.get(m);if(!m){return null}var p=a[m.id].data;if(arguments.length==2){return p[l]}else{return(p[l]=n)}};function j(){if(!Ext.enableGarbageCollector){clearInterval(e.collectorThreadId)}else{var l,n,q,p;for(l in a){if(!a.hasOwnProperty(l)){continue}p=a[l];if(p.skipGarbageCollection){continue}n=p.el;q=n.dom;if(!q||!q.parentNode||(!q.offsetParent&&!h.getElementById(l))){if(q&&Ext.enableListenerCollection){Ext.EventManager.removeAll(q)}delete a[l]}}if(Ext.isIE){var m={};for(l in a){if(!a.hasOwnProperty(l)){continue}m[l]=a[l]}a=Ext.cache=m}}}e.collectorThreadId=setInterval(j,30000);var b=function(){};b.prototype=e.prototype;e.Flyweight=function(l){this.dom=l};e.Flyweight.prototype=new b();e.Flyweight.prototype.isFlyweight=true;e._flyweights={};e.fly=function(n,l){var m=null;l=l||"_global";n=Ext.getDom(n);if(n){(e._flyweights[l]=e._flyweights[l]||new e.Flyweight()).dom=n;m=e._flyweights[l]}return m};Ext.get=e.get;Ext.fly=e.fly;var g=Ext.isStrict?{select:1}:{input:1,select:1,textarea:1};if(Ext.isIE||Ext.isGecko){g.button=1}})();Ext.core.Element.addMethods({findParent:function(i,h,c){var e=this.dom,a=document.body,g=0,d;h=h||50;if(isNaN(h)){d=Ext.getDom(h);h=Number.MAX_VALUE}while(e&&e.nodeType==1&&g "+a,c.dom);return b?d:Ext.get(d)},parent:function(a,b){return this.matchNode("parentNode","parentNode",a,b)},next:function(a,b){return this.matchNode("nextSibling","nextSibling",a,b)},prev:function(a,b){return this.matchNode("previousSibling","previousSibling",a,b)},first:function(a,b){return this.matchNode("nextSibling","firstChild",a,b)},last:function(a,b){return this.matchNode("previousSibling","lastChild",a,b)},matchNode:function(b,e,a,c){if(!this.dom){return null}var d=this.dom[e];while(d){if(d.nodeType==1&&(!a||Ext.DomQuery.is(d,a))){return !c?Ext.get(d):d}d=d[b]}return null}});Ext.core.Element.addMethods({appendChild:function(a){return Ext.get(a).appendTo(this)},appendTo:function(a){Ext.getDom(a).appendChild(this.dom);return this},insertBefore:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a);return this},insertAfter:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a.nextSibling);return this},insertFirst:function(b,a){b=b||{};if(b.nodeType||b.dom||typeof b=="string"){b=Ext.getDom(b);this.dom.insertBefore(b,this.dom.firstChild);return !a?Ext.get(b):b}else{return this.createChild(b,this.dom.firstChild,a)}},insertSibling:function(e,c,d){var g=this,b,a=(c||"before").toLowerCase()=="after",h;if(Ext.isArray(e)){h=g;Ext.each(e,function(i){b=Ext.fly(h,"_internal").insertSibling(i,c,d);if(a){h=b}});return b}e=e||{};if(e.nodeType||e.dom){b=g.dom.parentNode.insertBefore(Ext.getDom(e),a?g.dom.nextSibling:g.dom);if(!d){b=Ext.get(b)}}else{if(a&&!g.dom.nextSibling){b=Ext.core.DomHelper.append(g.dom.parentNode,e,!d)}else{b=Ext.core.DomHelper[a?"insertAfter":"insertBefore"](g.dom,e,!d)}}return b},replace:function(a){a=Ext.get(a);this.insertBefore(a);a.remove();return this},replaceWith:function(a){var b=this;if(a.nodeType||a.dom||typeof a=="string"){a=Ext.get(a);b.dom.parentNode.insertBefore(a,b.dom)}else{a=Ext.core.DomHelper.insertBefore(b.dom,a)}delete Ext.cache[b.id];Ext.removeNode(b.dom);b.id=Ext.id(b.dom=a);Ext.core.Element.addToCache(b.isFlyweight?new Ext.core.Element(b.dom):b);return b},createChild:function(b,a,c){b=b||{tag:"div"};if(a){return Ext.core.DomHelper.insertBefore(a,b,c!==true)}else{return Ext.core.DomHelper[!this.dom.firstChild?"insertFirst":"append"](this.dom,b,c!==true)}},wrap:function(a,b){var e=Ext.core.DomHelper.insertBefore(this.dom,a||{tag:"div"},!b),c=e.dom||e;c.appendChild(this.dom);return e},insertHtml:function(b,c,a){var d=Ext.core.DomHelper.insertHtml(b,this.dom,c);return a?Ext.get(d):d}});(function(){Ext.core.Element.boxMarkup='
';var z=Ext.supports,s=document.defaultView,B=/alpha\(opacity=(.*)\)/i,l=/^\s+|\s+$/g,u=/\s+/,b=/\w/g,v=/table-row|table-.*-group/,c="_internal",e="padding",d="margin",x="border",t="-left",q="-right",w="-top",p="-bottom",j="-width",r=Math,y="hidden",g="isClipped",k="overflow",n="overflow-x",m="overflow-y",A="originalClip",i={l:x+t+j,r:x+q+j,t:x+w+j,b:x+p+j},h={l:e+t,r:e+q,t:e+w,b:e+p},a={l:d+t,r:d+q,t:d+w,b:d+p},C=Ext.core.Element.data;Ext.override(Ext.core.Element,{adjustWidth:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("lr")+E.getPadding("lr"))}return(F&&D<0)?0:D},adjustHeight:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("tb")+E.getPadding("tb"))}return(F&&D<0)?0:D},addCls:function(H){var I=this,E=[],J=((I.dom.className.replace(l,"")=="")?"":" "),G,D,F;if(H===undefined){return I}if(Object.prototype.toString.call(H)!=="[object Array]"){if(typeof H==="string"){H=H.replace(l,"").split(u);if(H.length===1){H=H[0];if(!I.hasCls(H)){I.dom.className+=J+H}}else{this.addCls(H)}}}else{for(G=0,D=H.length;G5?F.toLowerCase():E)},setStyle:function(H,G){var F=this,D,E;if(!F.dom){return F}if(typeof H==="string"){D={};D[H]=G;H=D}for(E in H){if(H.hasOwnProperty(E)){G=Ext.value(H[E],"");if(E=="opacity"){F.setOpacity(G)}else{F.dom.style[Ext.core.Element.normalize(E)]=G}}}return F},setOpacity:function(E,D){var G=this,I=G.dom,H,F;if(!G.dom){return G}F=G.dom.style;if(!D||!G.anim){if(!Ext.supports.Opacity){E=E<1?"alpha(opacity="+E*100+")":"";H=F.filter.replace(B,"").replace(l,"");F.zoom=1;F.filter=H+(H.length>0?" ":"")+E}else{F.opacity=E}}else{if(!Ext.isObject(D)){D={duration:350,easing:"ease-in"}}G.animate(Ext.applyIf({to:{opacity:E}},D))}return G},clearOpacity:function(){var D=this.dom.style;if(!Ext.supports.Opacity){if(!Ext.isEmpty(D.filter)){D.filter=D.filter.replace(B,"").replace(l,"")}}else{D.opacity=D["-moz-opacity"]=D["-khtml-opacity"]=""}return this},adjustDirect2DDimension:function(H){var F=this,I=F.dom,G=F.getStyle("display"),E=I.style.display,D=I.style.position,K=H==="width"?0:1,J;if(G==="inline"){I.style.display="inline-block"}I.style.position=G.match(v)?"absolute":"static";J=(parseFloat(F.getStyle(H))||parseFloat(I.currentStyle.msTransformOrigin.split(" ")[K])*2)%1;I.style.position=D;if(G==="inline"){I.style.display=E}return J},getHeight:function(K,F){var J=this,G=J.dom,H=Ext.isIE&&J.isStyle("display","none"),L,E,D,I;if(Ext.isIEQuirks){D=G.style;E=D.overflow;J.setStyle({overflow:"hidden"})}L=G.offsetHeight;L=r.max(L,H?0:G.clientHeight)||0;if(!H&&Ext.supports.Direct2DBug){I=J.adjustDirect2DDimension("height");if(F){L+=I}else{if(I>0&&I<0.5){L++}}}if(K){L-=(J.getBorderWidth("tb")+J.getPadding("tb"))}if(Ext.isIEQuirks){J.setStyle({overflow:E})}if(L<0){L=0}return L},getWidth:function(D,N){var K=this,H=K.dom,I=Ext.isIE&&K.isStyle("display","none"),L,F,G,E,J,M;if(Ext.isIEQuirks){E=H.style;G=E.overflow;K.setStyle({overflow:"hidden"})}if(Ext.isOpera10_5){if(H.parentNode.currentStyle.position==="relative"){M=H.parentNode.style.position;H.parentNode.style.position="static";F=H.offsetWidth;H.parentNode.style.position=M}F=Math.max(F||0,H.offsetWidth)}else{if(Ext.supports.BoundingClientRect){L=H.getBoundingClientRect();F=L.right-L.left;F=N?F:Math.ceil(F)}else{F=H.offsetWidth}}F=r.max(F,I?0:H.clientWidth)||0;if(!I&&Ext.supports.Direct2DBug){J=K.adjustDirect2DDimension("width");if(N){F+=J}else{if(J>0&&J<0.5){F++}}}if(D){F-=(K.getBorderWidth("lr")+K.getPadding("lr"))}if(Ext.isIEQuirks){K.setStyle({overflow:G})}if(F<0){F=0}return F},setWidth:function(E,D){var F=this;E=F.adjustWidth(E);if(!D||!F.anim){F.dom.style.width=F.addUnits(E)}else{if(!Ext.isObject(D)){D={}}F.animate(Ext.applyIf({to:{width:E}},D))}return F},setHeight:function(D,E){var F=this;D=F.adjustHeight(D);if(!E||!F.anim){F.dom.style.height=F.addUnits(D)}else{if(!Ext.isObject(E)){E={}}F.animate(Ext.applyIf({to:{height:D}},E))}return F},getBorderWidth:function(D){return this.addStyles(D,i)},getPadding:function(D){return this.addStyles(D,h)},clip:function(){var D=this,E=D.dom;if(!C(E,g)){C(E,g,true);C(E,A,{o:D.getStyle(k),x:D.getStyle(n),y:D.getStyle(m)});D.setStyle(k,y);D.setStyle(n,y);D.setStyle(m,y)}return D},unclip:function(){var E=this,F=E.dom,D;if(C(F,g)){C(F,g,false);D=C(F,A);if(o.o){E.setStyle(k,o.o)}if(o.x){E.setStyle(n,o.x)}if(o.y){E.setStyle(m,o.y)}}return E},addStyles:function(K,J){var E=0,I=K.match(b),H=0,D=I.length,G,F;for(;H"+Ext.String.format(Ext.core.Element.boxMarkup,D)+""));Ext.DomQuery.selectNode("."+D+"-mc",E.dom).appendChild(this.dom);return E},setSize:function(F,D,E){var G=this;if(Ext.isObject(F)){E=D;D=F.height;F=F.width}F=G.adjustWidth(F);D=G.adjustHeight(D);if(!E||!G.anim){G.dom.style.width=G.addUnits(F);G.dom.style.height=G.addUnits(D)}else{if(E===true){E={}}G.animate(Ext.applyIf({to:{width:F,height:D}},E))}return G},getComputedHeight:function(){var E=this,D=Math.max(E.dom.offsetHeight,E.dom.clientHeight);if(!D){D=parseFloat(E.getStyle("height"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("tb")}}return D},getComputedWidth:function(){var E=this,D=Math.max(E.dom.offsetWidth,E.dom.clientWidth);if(!D){D=parseFloat(E.getStyle("width"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("lr")}}return D},getFrameWidth:function(E,D){return D&&this.isBorderBox()?0:(this.getPadding(E)+this.getBorderWidth(E))},addClsOnOver:function(D){var E=this.dom;this.hover(function(){Ext.fly(E,c).addCls(D)},function(){Ext.fly(E,c).removeCls(D)});return this},addClsOnFocus:function(D){var E=this,F=E.dom;E.on("focus",function(){Ext.fly(F,c).addCls(D)});E.on("blur",function(){Ext.fly(F,c).removeCls(D)});return E},addClsOnClick:function(D){var E=this.dom;this.on("mousedown",function(){Ext.fly(E,c).addCls(D);var G=Ext.getDoc(),F=function(){Ext.fly(E,c).removeCls(D);G.removeListener("mouseup",F)};G.on("mouseup",F)});return this},getViewSize:function(){var G=this,H=G.dom,E=(H==Ext.getDoc().dom||H==Ext.getBody().dom),F,I,D;if(E){D={width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}else{if(Ext.isIE6||Ext.isIEQuirks){F=H.style;I=F.overflow;G.setStyle({overflow:"hidden"})}D={width:H.clientWidth,height:H.clientHeight};if(Ext.isIE6||Ext.isIEQuirks){G.setStyle({overflow:I})}}return D},getStyleSize:function(){var H=this,I=document,J=this.dom,E=(J==I||J==I.body),G=J.style,D,F;if(E){return{width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}if(G.width&&G.width!="auto"){D=parseFloat(G.width);if(H.isBorderBox()){D-=H.getFrameWidth("lr")}}if(G.height&&G.height!="auto"){F=parseFloat(G.height);if(H.isBorderBox()){F-=H.getFrameWidth("tb")}}return{width:D||H.getWidth(true),height:F||H.getHeight(true)}},getSize:function(D){return{width:this.getWidth(D),height:this.getHeight(D)}},repaint:function(){var D=this.dom;this.addCls(Ext.baseCSSPrefix+"repaint");setTimeout(function(){Ext.fly(D).removeCls(Ext.baseCSSPrefix+"repaint")},1);return this},unselectable:function(){var D=this;D.dom.unselectable="on";D.swallowEvent("selectstart",true);D.applyStyles("-moz-user-select:none;-khtml-user-select:none;");D.addCls(Ext.baseCSSPrefix+"unselectable");return D},getMargin:function(E){var F=this,G={t:"top",l:"left",r:"right",b:"bottom"},H={},D;if(!E){for(D in F.margins){H[G[D]]=parseFloat(F.getStyle(F.margins[D]))||0}return H}else{return F.addStyles.call(F,E,F.margins)}}})})();Ext.core.Element.VISIBILITY=1;Ext.core.Element.DISPLAY=2;Ext.core.Element.OFFSETS=3;Ext.core.Element.ASCLASS=4;Ext.core.Element.visibilityCls=Ext.baseCSSPrefix+"hide-nosize";Ext.core.Element.addMethods(function(){var e=Ext.core.Element,q="opacity",j="visibility",g="display",d="hidden",n="offsets",k="asclass",m="none",a="nosize",b="originalDisplay",c="visibilityMode",h="isVisible",i=e.data,l=function(s){var r=i(s,b);if(r===undefined){i(s,b,r="")}return r},p=function(s){var r=i(s,c);if(r===undefined){i(s,c,r=1)}return r};return{originalDisplay:"",visibilityMode:1,setVisibilityMode:function(r){i(this.dom,c,r);return this},isVisible:function(){var r=this,t=r.dom,s=i(t,h);if(typeof s=="boolean"){return s}s=!r.isStyle(j,d)&&!r.isStyle(g,m)&&!((p(t)==e.ASCLASS)&&r.hasCls(r.visibilityCls||e.visibilityCls));i(t,h,s);return s},setVisible:function(u,r){var x=this,s,z,y,w,v=x.dom,t=p(v);if(typeof r=="string"){switch(r){case g:t=e.DISPLAY;break;case j:t=e.VISIBILITY;break;case n:t=e.OFFSETS;break;case a:case k:t=e.ASCLASS;break}x.setVisibilityMode(t);r=false}if(!r||!x.anim){if(t==e.ASCLASS){x[u?"removeCls":"addCls"](x.visibilityCls||e.visibilityCls)}else{if(t==e.DISPLAY){return x.setDisplayed(u)}else{if(t==e.OFFSETS){if(!u){if(!x.hideModeStyles){x.hideModeStyles={position:x.getStyle("position"),top:x.getStyle("top"),left:x.getStyle("left")}}x.applyStyles({position:"absolute",top:"-10000px",left:"-10000px"})}else{if(x.hideModeStyles){x.applyStyles(x.hideModeStyles||{position:"",top:"",left:""});delete x.hideModeStyles}}}else{x.fixDisplay();v.style.visibility=u?"":d}}}}else{if(u){x.setOpacity(0.01);x.setVisible(true)}if(!Ext.isObject(r)){r={duration:350,easing:"ease-in"}}x.animate(Ext.applyIf({callback:function(){u||x.setVisible(false).setOpacity(1)},to:{opacity:(u)?1:0}},r))}i(v,h,u);return x},hasMetrics:function(){var r=this.dom;return this.isVisible()||(p(r)==e.OFFSETS)||(p(r)==e.VISIBILITY)},toggle:function(r){var s=this;s.setVisible(!s.isVisible(),s.anim(r));return s},setDisplayed:function(r){if(typeof r=="boolean"){r=r?l(this.dom):m}this.setStyle(g,r);return this},fixDisplay:function(){var r=this;if(r.isStyle(g,m)){r.setStyle(j,d);r.setStyle(g,l(this.dom));if(r.isStyle(g,m)){r.setStyle(g,"block")}}},hide:function(r){if(typeof r=="string"){this.setVisible(false,r);return this}this.setVisible(false,this.anim(r));return this},show:function(r){if(typeof r=="string"){this.setVisible(true,r);return this}this.setVisible(true,this.anim(r));return this}}}());Ext.applyIf(Ext.core.Element.prototype,{animate:function(a){var b=this;if(!b.id){b=Ext.get(b.dom)}if(Ext.fx.Manager.hasFxBlock(b.id)){return b}Ext.fx.Manager.queueFx(Ext.create("Ext.fx.Anim",b.anim(a)));return this},anim:function(a){if(!Ext.isObject(a)){return(a)?{}:false}var b=this,c=a.duration||Ext.fx.Anim.prototype.duration,e=a.easing||"ease",d;if(a.stopAnimation){b.stopAnimation()}Ext.applyIf(a,Ext.fx.Manager.getFxDefaults(b.id));Ext.fx.Manager.setFxDefaults(b.id,{delay:0});d={target:b,remove:a.remove,alternate:a.alternate||false,duration:c,easing:e,callback:a.callback,listeners:a.listeners,iterations:a.iterations||1,scope:a.scope,block:a.block,concurrent:a.concurrent,delay:a.delay||0,paused:true,keyframes:a.keyframes,from:a.from||{},to:Ext.apply({},a)};Ext.apply(d.to,a.to);delete d.to.to;delete d.to.from;delete d.to.remove;delete d.to.alternate;delete d.to.keyframes;delete d.to.iterations;delete d.to.listeners;delete d.to.target;delete d.to.paused;delete d.to.callback;delete d.to.scope;delete d.to.duration;delete d.to.easing;delete d.to.concurrent;delete d.to.block;delete d.to.stopAnimation;delete d.to.delay;return d},slideIn:function(b,h,e){var g=this,d=g.dom.style,c,a;b=b||"t";h=h||{};c=function(){var m=this,l=h.listeners,n,i,k,j,p;if(!e){g.fixDisplay()}n=g.getBox();if((b=="t"||b=="b")&&n.height==0){n.height=g.dom.scrollHeight}else{if((b=="l"||b=="r")&&n.width==0){n.width=g.dom.scrollWidth}}i=g.getPositioning();g.setSize(n.width,n.height);j=g.wrap({style:{visibility:e?"visible":"hidden"}});j.setPositioning(i);if(j.isStyle("position","static")){j.position("relative")}g.clearPositioning("auto");j.clip();g.setStyle({visibility:"",position:"absolute"});if(e){j.setSize(n.width,n.height)}switch(b){case"t":p={from:{width:n.width+"px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break;case"l":p={from:{width:"0px",height:n.height+"px"},to:{width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"r":p={from:{x:n.x+n.width,width:"0px",height:n.height+"px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};break;case"b":p={from:{y:n.y+n.height,width:n.width+"px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tl":p={from:{x:n.x,y:n.y,width:"0px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";d.right="0px";break;case"bl":p={from:{x:n.x+n.width,width:"0px",height:"0px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"br":p={from:{x:n.x+n.width,y:n.y+n.height,width:"0px",height:"0px"},to:{x:n.x,y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tr":p={from:{y:n.y+n.height,width:"0px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break}j.show();a=Ext.apply({},h);delete a.listeners;a=Ext.create("Ext.fx.Anim",Ext.applyIf(a,{target:j,duration:500,easing:"ease-out",from:e?p.to:p.from,to:e?p.from:p.to}));a.on("afteranimate",function(){if(e){g.setPositioning(i);if(h.useDisplay){g.setDisplayed(false)}else{g.hide()}}else{g.clearPositioning();g.setPositioning(i)}if(j.dom){j.dom.parentNode.insertBefore(g.dom,j.dom);j.remove()}g.setSize(n.width,n.height);m.end()});if(l){a.on(l)}};g.animate({duration:h.duration?h.duration*2:1000,listeners:{beforeanimate:{fn:c},afteranimate:{fn:function(){if(a&&a.running){a.end()}}}}});return g},slideOut:function(a,b){return this.slideIn(a,b,true)},puff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-out",duration:500,useDisplay:false});a=function(){b.clearOpacity();b.show();var e=b.getBox(),g=b.getStyle("fontSize"),d=b.getPositioning();this.to={width:e.width*2,height:e.height*2,x:e.x-(e.width/2),y:e.y-(e.height/2),opacity:0,fontSize:"200%"};this.on("afteranimate",function(){if(b.dom){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setStyle({fontSize:g})}})};b.animate({duration:c.duration,easing:c.easing,listeners:{beforeanimate:{fn:a}}});return b},switchOff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-in",duration:500,remove:false,useDisplay:false});a=function(){var h=this,g=b.getSize(),i=b.getXY(),e,d;b.clearOpacity();b.clip();d=b.getPositioning();e=Ext.create("Ext.fx.Animator",{target:b,duration:c.duration,easing:c.easing,keyframes:{33:{opacity:0.3},66:{height:1,y:i[1]+g.height/2},100:{width:1,x:i[0]+g.width/2}}});e.on("afteranimate",function(){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setSize(g);h.end()})};b.animate({duration:(c.duration*2),listeners:{beforeanimate:{fn:a}}});return b},frame:function(a,d,e){var c=this,b;a=a||"#C3DAF9";d=d||1;e=e||{};b=function(){c.show();var i=this,j=c.getBox(),h=Ext.getBody().createChild({style:{position:"absolute","pointer-events":"none","z-index":35000,border:"0px solid "+a}}),g;g=Ext.create("Ext.fx.Anim",{target:h,duration:e.duration||1000,iterations:d,from:{top:j.y,left:j.x,borderWidth:0,opacity:1,height:j.height,width:j.width},to:{top:j.y-20,left:j.x-20,borderWidth:10,opacity:0,height:j.height+40,width:j.width+40}});g.on("afteranimate",function(){h.remove();i.end()})};c.animate({duration:(e.duration*2)||2000,listeners:{beforeanimate:{fn:b}}});return c},ghost:function(a,d){var c=this,b;a=a||"b";b=function(){var h=c.getWidth(),g=c.getHeight(),i=c.getXY(),e=c.getPositioning(),j={opacity:0};switch(a){case"t":j.y=i[1]-g;break;case"l":j.x=i[0]-h;break;case"r":j.x=i[0]+h;break;case"b":j.y=i[1]+g;break;case"tl":j.x=i[0]-h;j.y=i[1]-g;break;case"bl":j.x=i[0]-h;j.y=i[1]+g;break;case"br":j.x=i[0]+h;j.y=i[1]+g;break;case"tr":j.x=i[0]+h;j.y=i[1]-g;break}this.to=j;this.on("afteranimate",function(){if(c.dom){c.hide();c.clearOpacity();c.setPositioning(e)}})};c.animate(Ext.applyIf(d||{},{duration:500,easing:"ease-out",listeners:{beforeanimate:{fn:b}}}));return c},highlight:function(d,b){var i=this,e=i.dom,k={},h,l,g,c,a,j;b=b||{};c=b.listeners||{};g=b.attr||"backgroundColor";k[g]=d||"ffff9c";if(!b.to){l={};l[g]=b.endColor||i.getColor(g,"ffffff","")}else{l=b.to}b.listeners=Ext.apply(Ext.apply({},c),{beforeanimate:function(){h=e.style[g];i.clearOpacity();i.show();a=c.beforeanimate;if(a){j=a.fn||a;return j.apply(a.scope||c.scope||window,arguments)}},afteranimate:function(){if(e){e.style[g]=h}a=c.afteranimate;if(a){j=a.fn||a;j.apply(a.scope||c.scope||window,arguments)}}});i.animate(Ext.apply({},b,{duration:1000,easing:"ease-in",from:k,to:l}));return i},pause:function(a){var b=this;Ext.fx.Manager.setFxDefaults(b.id,{delay:a});return b},fadeIn:function(a){this.animate(Ext.apply({},a,{opacity:1}));return this},fadeOut:function(a){this.animate(Ext.apply({},a,{opacity:0}));return this},scale:function(a,b,c){this.animate(Ext.apply({},c,{width:a,height:b}));return this},shift:function(a){this.animate(a);return this}});Ext.applyIf(Ext.core.Element,{unitRe:/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,camelRe:/(-[a-z])/gi,opacityRe:/alpha\(opacity=(.*)\)/i,cssRe:/([a-z0-9-]+)\s*:\s*([^;\s]+(?:\s*[^;\s]+)*);?/gi,propertyCache:{},defaultUnit:"px",borders:{l:"border-left-width",r:"border-right-width",t:"border-top-width",b:"border-bottom-width"},paddings:{l:"padding-left",r:"padding-right",t:"padding-top",b:"padding-bottom"},margins:{l:"margin-left",r:"margin-right",t:"margin-top",b:"margin-bottom"},addUnits:Ext.core.Element.prototype.addUnits,parseBox:function(b){if(Ext.isObject(b)){return{top:b.top||0,right:b.right||0,bottom:b.bottom||0,left:b.left||0}}else{if(typeof b!="string"){b=b.toString()}var c=b.split(" "),a=c.length;if(a==1){c[1]=c[2]=c[3]=c[0]}else{if(a==2){c[2]=c[0];c[3]=c[1]}else{if(a==3){c[3]=c[1]}}}return{top:parseFloat(c[0])||0,right:parseFloat(c[1])||0,bottom:parseFloat(c[2])||0,left:parseFloat(c[3])||0}}},unitizeBox:function(c,b){var a=this.addUnits,d=this.parseBox(c);return a(d.top,b)+" "+a(d.right,b)+" "+a(d.bottom,b)+" "+a(d.left,b)},camelReplaceFn:function(b,c){return c.charAt(1).toUpperCase()},normalize:function(a){if(a=="float"){a=Ext.supports.Float?"cssFloat":"styleFloat"}return this.propertyCache[a]||(this.propertyCache[a]=a.replace(this.camelRe,this.camelReplaceFn))},getDocumentHeight:function(){return Math.max(!Ext.isStrict?document.body.scrollHeight:document.documentElement.scrollHeight,this.getViewportHeight())},getDocumentWidth:function(){return Math.max(!Ext.isStrict?document.body.scrollWidth:document.documentElement.scrollWidth,this.getViewportWidth())},getViewportHeight:function(){return window.innerHeight},getViewportWidth:function(){return window.innerWidth},getViewSize:function(){return{width:window.innerWidth,height:window.innerHeight}},getOrientation:function(){if(Ext.supports.OrientationChange){return(window.orientation==0)?"portrait":"landscape"}return(window.innerHeight>window.innerWidth)?"portrait":"landscape"},fromPoint:function(a,b){return Ext.get(document.elementFromPoint(a,b))},parseStyles:function(c){var a={},b=this.cssRe,d;if(c){b.lastIndex=0;while((d=b.exec(c))){a[d[1]]=d[2]}}return a}});Ext.CompositeElementLite=function(b,a){this.elements=[];this.add(b,a);this.el=new Ext.core.Element.Flyweight()};Ext.CompositeElementLite.prototype={isComposite:true,getElement:function(a){var b=this.el;b.dom=a;b.id=a.id;return b},transformElement:function(a){return Ext.getDom(a)},getCount:function(){return this.elements.length},add:function(d,b){var e=this,g=e.elements;if(!d){return this}if(typeof d=="string"){d=Ext.core.Element.selectorFunction(d,b)}else{if(d.isComposite){d=d.elements}else{if(!Ext.isIterable(d)){d=[d]}}}for(var c=0,a=d.length;c-1){c=Ext.getDom(c);if(a){g=this.elements[b];g.parentNode.insertBefore(c,g);Ext.removeNode(g)}Ext.Array.splice(this.elements,b,1,c)}return this},clear:function(){this.elements=[]}};Ext.CompositeElementLite.prototype.on=Ext.CompositeElementLite.prototype.addListener;Ext.CompositeElementLite.importElementMethods=function(){var c,b=Ext.core.Element.prototype,a=Ext.CompositeElementLite.prototype;for(c in b){if(typeof b[c]=="function"){(function(d){a[d]=a[d]||function(){return this.invoke(d,arguments)}}).call(a,c)}}};Ext.CompositeElementLite.importElementMethods();if(Ext.DomQuery){Ext.core.Element.selectorFunction=Ext.DomQuery.select}Ext.core.Element.select=function(a,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;Ext.util.DelayedTask=function(d,c,a){var e=this,g,b=function(){clearInterval(g);g=null;d.apply(c,a||[])};this.delay=function(i,k,j,h){e.cancel();d=k||d;c=j||c;a=h||a;g=setInterval(b,i)};this.cancel=function(){if(g){clearInterval(g);g=null}}};Ext.require("Ext.util.DelayedTask",function(){Ext.util.Event=Ext.extend(Object,(function(){function b(e,g,h,d){g.task=new Ext.util.DelayedTask();return function(){g.task.delay(h.buffer,e,d,Ext.Array.toArray(arguments))}}function a(e,g,h,d){return function(){var i=new Ext.util.DelayedTask();if(!g.tasks){g.tasks=[]}g.tasks.push(i);i.delay(h.delay||10,e,d,Ext.Array.toArray(arguments))}}function c(e,g,h,d){return function(){g.ev.removeListener(g.fn,d);return e.apply(d,arguments)}}return{isEvent:true,constructor:function(e,d){this.name=d;this.observable=e;this.listeners=[]},addListener:function(g,e,d){var h=this,i;e=e||h.observable;if(!h.isListening(g,e)){i=h.createListener(g,e,d);if(h.firing){h.listeners=h.listeners.slice(0)}h.listeners.push(i)}},createListener:function(g,e,i){i=i||{};e=e||this.observable;var h={fn:g,scope:e,o:i,ev:this},d=g;if(i.single){d=c(d,h,i,e)}if(i.delay){d=a(d,h,i,e)}if(i.buffer){d=b(d,h,i,e)}h.fireFn=d;return h},findListener:function(j,h){var g=this.listeners,d=g.length,k,e;while(d--){k=g[d];if(k){e=k.scope;if(k.fn==j&&(e==h||e==this.observable)){return d}}}return -1},isListening:function(e,d){return this.findListener(e,d)!==-1},removeListener:function(h,g){var i=this,e,j,d;e=i.findListener(h,g);if(e!=-1){j=i.listeners[e];if(i.firing){i.listeners=i.listeners.slice(0)}if(j.task){j.task.cancel();delete j.task}d=j.tasks&&j.tasks.length;if(d){while(d--){j.tasks[d].cancel()}delete j.tasks}Ext.Array.erase(i.listeners,e,1);return true}return false},clearListeners:function(){var e=this.listeners,d=e.length;while(d--){this.removeListener(e[d].fn,e[d].scope)}},fire:function(){var j=this,g=j.listeners,h=g.length,e,d,k;if(h>0){j.firing=true;for(e=0;e111&&a.keyCode<124){a.keyCode=-1}}catch(b){}}},getRelatedTarget:function(a){a=a.browserEvent||a;var b=a.relatedTarget;if(!b){if(this.mouseLeaveRe.test(a.type)){b=a.toElement}else{if(this.mouseEnterRe.test(a.type)){b=a.fromElement}}}return this.resolveTextNode(b)},getPageX:function(a){return this.getXY(a)[0]},getPageY:function(a){return this.getXY(a)[1]},getPageXY:function(c){c=c.browserEvent||c;var b=c.pageX,e=c.pageY,d=document.documentElement,a=document.body;if(!b&&b!==0){b=c.clientX+(d&&d.scrollLeft||a&&a.scrollLeft||0)-(d&&d.clientLeft||a&&a.clientLeft||0);e=c.clientY+(d&&d.scrollTop||a&&a.scrollTop||0)-(d&&d.clientTop||a&&a.clientTop||0)}return[b,e]},getTarget:function(a){a=a.browserEvent||a;return this.resolveTextNode(a.target||a.srcElement)},resolveTextNode:Ext.isGecko?function(b){if(!b){return}var a=HTMLElement.prototype.toString.call(b);if(a=="[xpconnect wrapped native prototype]"||a=="[object XULElement]"){return}return b.nodeType==3?b.parentNode:b}:function(a){return a&&a.nodeType==3?a.parentNode:a},curWidth:0,curHeight:0,onWindowResize:function(d,c,b){var a=this.resizeEvent;if(!a){this.resizeEvent=a=new Ext.util.Event();this.on(window,"resize",this.fireResize,this,{buffer:100})}a.addListener(d,c,b)},fireResize:function(){var c=this,a=Ext.core.Element.getViewWidth(),b=Ext.core.Element.getViewHeight();if(c.curHeight!=b||c.curWidth!=a){c.curHeight=b;c.curWidth=a;c.resizeEvent.fire(a,b)}},removeResizeListener:function(b,a){if(this.resizeEvent){this.resizeEvent.removeListener(b,a)}},onWindowUnload:function(){var a=this.unloadEvent;if(!a){this.unloadEvent=a=new Ext.util.Event();this.addListener(window,"unload",this.fireUnload,this)}},fireUnload:function(){try{this.removeUnloadListener();if(Ext.isGecko3){var h=Ext.ComponentQuery.query("gridview"),b=0,d=h.length;for(;b=525:!((Ext.isGecko&&!Ext.isWindows)||Ext.isOpera),getKeyEvent:function(){return this.useKeyDown?"keydown":"keypress"}};Ext.onReady=function(c,b,a){Ext.Loader.onReady(c,b,true,a)};Ext.onDocumentReady=Ext.EventManager.onDocumentReady;Ext.EventManager.on=Ext.EventManager.addListener;Ext.EventManager.un=Ext.EventManager.removeListener;(function(){var a=function(){var g=document.body||document.getElementsByTagName("body")[0],e=Ext.baseCSSPrefix,c=[e+"body"],b=[],d;if(!g){return false}d=g.parentNode;if(Ext.isIE){c.push(e+"ie")}if(Ext.isIE6){c.push(e+"ie6")}if(Ext.isIE7){c.push(e+"ie7")}if(Ext.isIE8){c.push(e+"ie8")}if(Ext.isIE9){c.push(e+"ie9")}if(Ext.isGecko){c.push(e+"gecko")}if(Ext.isGecko3){c.push(e+"gecko3")}if(Ext.isGecko4){c.push(e+"gecko4")}if(Ext.isOpera){c.push(e+"opera")}if(Ext.isWebKit){c.push(e+"webkit")}if(Ext.isSafari){c.push(e+"safari")}if(Ext.isSafari2){c.push(e+"safari2")}if(Ext.isSafari3){c.push(e+"safari3")}if(Ext.isSafari4){c.push(e+"safari4")}if(Ext.isChrome){c.push(e+"chrome")}if(Ext.isMac){c.push(e+"mac")}if(Ext.isLinux){c.push(e+"linux")}if(!Ext.supports.CSS3BorderRadius){c.push(e+"nbr")}if(!Ext.supports.CSS3LinearGradient){c.push(e+"nlg")}if(!Ext.scopeResetCSS){c.push(e+"reset")}if(d){if(Ext.isStrict&&(Ext.isIE6||Ext.isIE7)){Ext.isBorderBox=false}else{Ext.isBorderBox=true}b.push(e+(Ext.isBorderBox?"border-box":"strict"));if(!Ext.isStrict){b.push(e+"quirks");if(Ext.isIE&&!Ext.isStrict){Ext.isIEQuirks=true}}Ext.fly(d,"_internal").addCls(b)}Ext.fly(g,"_internal").addCls(c);return true};Ext.onReady(a)})();Ext.define("Ext.EventObjectImpl",{uses:["Ext.util.Point"],BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,WHEEL_SCALE:(function(){var a;if(Ext.isGecko){a=3}else{if(Ext.isMac){if(Ext.isSafari&&Ext.webKitVersion>=532){a=120}else{a=12}a*=3}else{a=120}}return a})(),clickRe:/(dbl)?click/,safariKeys:{3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35},btnMap:Ext.isIE?{1:0,4:1,2:2}:{0:0,1:1,2:2},constructor:function(a,b){if(a){this.setEvent(a.browserEvent||a,b)}},setEvent:function(d,e){var c=this,b,a;if(d==c||(d&&d.browserEvent)){return d}c.browserEvent=d;if(d){b=d.button?c.btnMap[d.button]:(d.which?d.which-1:-1);if(c.clickRe.test(d.type)&&b==-1){b=0}a={type:d.type,button:b,shiftKey:d.shiftKey,ctrlKey:d.ctrlKey||d.metaKey||false,altKey:d.altKey,keyCode:d.keyCode,charCode:d.charCode,target:Ext.EventManager.getTarget(d),relatedTarget:Ext.EventManager.getRelatedTarget(d),currentTarget:d.currentTarget,xy:(e?c.getXY():null)}}else{a={button:-1,shiftKey:false,ctrlKey:false,altKey:false,keyCode:0,charCode:0,target:null,xy:[0,0]}}Ext.apply(c,a);return c},stopEvent:function(){this.stopPropagation();this.preventDefault()},preventDefault:function(){if(this.browserEvent){Ext.EventManager.preventDefault(this.browserEvent)}},stopPropagation:function(){var a=this.browserEvent;if(a){if(a.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(this)}Ext.EventManager.stopPropagation(a)}},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){return this.normalizeKey(this.keyCode||this.charCode)},normalizeKey:function(a){return Ext.isWebKit?(this.safariKeys[a]||a):a},getPageX:function(){return this.getX()},getPageY:function(){return this.getY()},getX:function(){return this.getXY()[0]},getY:function(){return this.getXY()[1]},getXY:function(){if(!this.xy){this.xy=Ext.EventManager.getPageXY(this.browserEvent)}return this.xy},getTarget:function(b,c,a){if(b){return Ext.fly(this.target).findParent(b,c,a)}return a?Ext.get(this.target):this.target},getRelatedTarget:function(b,c,a){if(b){return Ext.fly(this.relatedTarget).findParent(b,c,a)}return a?Ext.get(this.relatedTarget):this.relatedTarget},correctWheelDelta:function(c){var b=this.WHEEL_SCALE,a=Math.round(c/b+0.5);if(!a&&c){a=(c<0)?-1:1}return a},getWheelDeltas:function(){var d=this,c=d.browserEvent,b=0,a=0;if(Ext.isDefined(c.wheelDeltaX)){b=c.wheelDeltaX;a=c.wheelDeltaY}else{if(c.wheelDelta){a=c.wheelDelta}else{if(c.detail){a=-c.detail;if(a>100){a=3}else{if(a<-100){a=-3}}if(Ext.isDefined(c.axis)&&c.axis===c.HORIZONTAL_AXIS){b=a;a=0}}}}return{x:d.correctWheelDelta(b),y:d.correctWheelDelta(a)}},getWheelDelta:function(){var a=this.getWheelDeltas();return a.y},within:function(d,e,b){if(d){var c=e?this.getRelatedTarget():this.getTarget(),a;if(c){a=Ext.fly(d).contains(c);if(!a&&b){a=c==Ext.getDom(d)}return a}}return false},isNavKeyPress:function(){var b=this,a=this.normalizeKey(b.keyCode);return(a>=33&&a<=40)||a==b.RETURN||a==b.TAB||a==b.ESC},isSpecialKey:function(){var a=this.normalizeKey(this.keyCode);return(this.type=="keypress"&&this.ctrlKey)||this.isNavKeyPress()||(a==this.BACKSPACE)||(a>=16&&a<=20)||(a>=44&&a<=46)},getPoint:function(){var a=this.getXY();return Ext.create("Ext.util.Point",a[0],a[1])},hasModifier:function(){return this.ctrlKey||this.altKey||this.shiftKey||this.metaKey},injectEvent:function(){var d,e={};if(!Ext.isIE&&document.createEvent){d={createHtmlEvent:function(k,i,h,g){var j=k.createEvent("HTMLEvents");j.initEvent(i,h,g);return j},createMouseEvent:function(v,t,m,l,p,k,i,j,g,s,r,n,q){var h=v.createEvent("MouseEvents"),u=v.defaultView||window;if(h.initMouseEvent){h.initMouseEvent(t,m,l,u,p,k,i,k,i,j,g,s,r,n,q)}else{h=v.createEvent("UIEvents");h.initEvent(t,m,l);h.view=u;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.metaKey=r;h.shiftKey=s;h.button=n;h.relatedTarget=q}return h},createUIEvent:function(m,k,i,h,j){var l=m.createEvent("UIEvents"),g=m.defaultView||window;l.initUIEvent(k,i,h,g,j);return l},fireEvent:function(i,g,h){i.dispatchEvent(h)},fixTarget:function(g){if(g==window&&!g.dispatchEvent){return document}return g}}}else{if(document.createEventObject){var c={0:1,1:4,2:2};d={createHtmlEvent:function(k,i,h,g){var j=k.createEventObject();j.bubbles=h;j.cancelable=g;return j},createMouseEvent:function(u,t,m,l,p,k,i,j,g,s,r,n,q){var h=u.createEventObject();h.bubbles=m;h.cancelable=l;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.shiftKey=s;h.metaKey=r;h.button=c[n]||n;h.relatedTarget=q;return h},createUIEvent:function(l,j,h,g,i){var k=l.createEventObject();k.bubbles=h;k.cancelable=g;return k},fireEvent:function(i,g,h){i.fireEvent("on"+g,h)},fixTarget:function(g){if(g==document){return document.documentElement}return g}}}}Ext.Object.each({load:[false,false],unload:[false,false],select:[true,false],change:[true,false],submit:[true,true],reset:[true,false],resize:[true,false],scroll:[true,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createHtmlEvent(i,h,g);d.fireEvent(m,i,l)}});function b(i,h){var g=(i!="mousemove");return function(m,j){var l=j.getXY(),k=d.createMouseEvent(m.ownerDocument,i,true,g,h,l[0],l[1],j.ctrlKey,j.altKey,j.shiftKey,j.metaKey,j.button,j.relatedTarget);d.fireEvent(m,i,k)}}Ext.each(["click","dblclick","mousedown","mouseup","mouseover","mousemove","mouseout"],function(g){e[g]=b(g,1)});Ext.Object.each({focusin:[true,false],focusout:[true,false],activate:[true,true],focus:[false,false],blur:[false,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createUIEvent(m.ownerDocument,i,h,g,1);d.fireEvent(m,i,l)}});if(!d){e={};d={fixTarget:function(g){return g}}}function a(h,g){}return function(j){var i=this,h=e[i.type]||a,g=j?(j.dom||j):i.getTarget();g=d.fixTarget(g);h(g,i)}}()},function(){Ext.EventObject=new Ext.EventObjectImpl()});(function(){var e=document,d=null,b=e.compatMode=="CSS1Compat",h=Ext.core.Element,a=function(i){if(!c){c=new Ext.core.Element.Flyweight()}c.dom=i;return c},c;if(!("activeElement" in e)&&e.addEventListener){e.addEventListener("focus",function(i){if(i&&i.target){d=(i.target==e)?null:i.target}},true)}function g(j,k,i){return function(){j.selectionStart=k;j.selectionEnd=i}}Ext.apply(h,{isAncestor:function(j,k){var i=false;j=Ext.getDom(j);k=Ext.getDom(k);if(j&&k){if(j.contains){return j.contains(k)}else{if(j.compareDocumentPosition){return !!(j.compareDocumentPosition(k)&16)}else{while((k=k.parentNode)){i=k==j||i}}}}return i},getActiveElement:function(){return e.activeElement||d},getRightMarginFixCleaner:function(n){var k=Ext.supports,l=k.DisplayChangeInputSelectionBug,m=k.DisplayChangeTextAreaSelectionBug;if(l||m){var p=e.activeElement||d,i=p&&p.tagName,q,j;if((m&&i=="TEXTAREA")||(l&&i=="INPUT"&&p.type=="text")){if(h.isAncestor(n,p)){q=p.selectionStart;j=p.selectionEnd;if(Ext.isNumber(q)&&Ext.isNumber(j)){return g(p,q,j)}}}}return Ext.emptyFn},getViewWidth:function(i){return i?h.getDocumentWidth():h.getViewportWidth()},getViewHeight:function(i){return i?h.getDocumentHeight():h.getViewportHeight()},getDocumentHeight:function(){return Math.max(!b?e.body.scrollHeight:e.documentElement.scrollHeight,h.getViewportHeight())},getDocumentWidth:function(){return Math.max(!b?e.body.scrollWidth:e.documentElement.scrollWidth,h.getViewportWidth())},getViewportHeight:function(){return Ext.isIE?(Ext.isStrict?e.documentElement.clientHeight:e.body.clientHeight):self.innerHeight},getViewportWidth:function(){return(!Ext.isStrict&&!Ext.isOpera)?e.body.clientWidth:Ext.isIE?e.documentElement.clientWidth:self.innerWidth},getY:function(i){return h.getXY(i)[1]},getX:function(i){return h.getXY(i)[0]},getXY:function(k){var j,r,t,w,l,m,v=0,s=0,u,i,n=(e.body||e.documentElement),q=[0,0];k=Ext.getDom(k);if(k!=n){i=a(k).isStyle("position","absolute");if(k.getBoundingClientRect){t=k.getBoundingClientRect();u=a(document).getScroll();q=[Math.round(t.left+u.left),Math.round(t.top+u.top)]}else{j=k;while(j){r=a(j);v+=j.offsetLeft;s+=j.offsetTop;i=i||r.isStyle("position","absolute");if(Ext.isGecko){s+=w=parseInt(r.getStyle("borderTopWidth"),10)||0;v+=l=parseInt(r.getStyle("borderLeftWidth"),10)||0;if(j!=k&&!r.isStyle("overflow","visible")){v+=l;s+=w}}j=j.offsetParent}if(Ext.isSafari&&i){v-=n.offsetLeft;s-=n.offsetTop}if(Ext.isGecko&&!i){m=a(n);v+=parseInt(m.getStyle("borderLeftWidth"),10)||0;s+=parseInt(m.getStyle("borderTopWidth"),10)||0}j=k.parentNode;while(j&&j!=n){if(!Ext.isOpera||(j.tagName!="TR"&&!a(j).isStyle("display","inline"))){v-=j.scrollLeft;s-=j.scrollTop}j=j.parentNode}q=[v,s]}}return q},setXY:function(j,k){(j=Ext.fly(j,"_setXY")).position();var l=j.translatePoints(k),i=j.dom.style,m;for(m in l){if(!isNaN(l[m])){i[m]=l[m]+"px"}}},setX:function(j,i){h.setXY(j,[i,false])},setY:function(i,j){h.setXY(i,[false,j])},serializeForm:function(p){var n=p.elements||(document.forms[p]||Ext.getDom(p)).elements,i=false,m=encodeURIComponent,j,q="",l,k;Ext.each(n,function(r){j=r.name;l=r.type;if(!r.disabled&&j){if(/select-(one|multiple)/i.test(l)){Ext.each(r.options,function(s){if(s.selected){k=s.hasAttribute?s.hasAttribute("value"):s.getAttributeNode("value").specified;q+=Ext.String.format("{0}={1}&",m(j),m(k?s.value:s.text))}})}else{if(!(/file|undefined|reset|button/i.test(l))){if(!(/radio|checkbox/i.test(l)&&!r.checked)&&!(l=="submit"&&i)){q+=m(j)+"="+m(r.value)+"&";i=/submit/i.test(l)}}}}});return q.substr(0,q.length-1)}})})();Ext.core.Element.addMethods({monitorMouseLeave:function(a,d,c){var e=this,g,b={mouseleave:function(h){g=setTimeout(Ext.Function.bind(d,c||e,[h]),a)},mouseenter:function(){clearTimeout(g)},freezeEvent:true};e.on(b);return b},swallowEvent:function(a,b){var d=this;function c(g){g.stopPropagation();if(b){g.preventDefault()}}if(Ext.isArray(a)){Ext.each(a,function(g){d.on(g,c)});return d}d.on(a,c);return d},relayEvent:function(a,b){this.on(a,function(c){b.fireEvent(a,c)})},clean:function(b){var d=this,e=d.dom,g=e.firstChild,a,c=-1;if(Ext.core.Element.data(e,"isCleaned")&&b!==true){return d}while(g){a=g.nextSibling;if(g.nodeType==3){if(!(/\S/.test(g.nodeValue))){e.removeChild(g)}else{if(a&&a.nodeType==3){g.appendData(Ext.String.trim(a.data));e.removeChild(a);a=g.nextSibling;g.nodeIndex=++c}}}else{Ext.fly(g).clean();g.nodeIndex=++c}g=a}Ext.core.Element.data(e,"isCleaned",true);return d},load:function(a){this.getLoader().load(a);return this},getLoader:function(){var c=this.dom,b=Ext.core.Element.data,a=b(c,"loader");if(!a){a=Ext.create("Ext.ElementLoader",{target:this});b(c,"loader",a)}return a},update:function(html,loadScripts,callback){var me=this,id,dom,interval;if(!me.dom){return me}html=html||"";dom=me.dom;if(loadScripts!==true){dom.innerHTML=html;Ext.callback(callback,me);return me}id=Ext.id();html+='';interval=setInterval(function(){if(!document.getElementById(id)){return false}clearInterval(interval);var DOC=document,hd=DOC.getElementsByTagName("head")[0],re=/(?:]*)?>)((\n|\r|.)*?)(?:<\/script>)/ig,srcRe=/\ssrc=([\'\"])(.*?)\1/i,typeRe=/\stype=([\'\"])(.*?)\1/i,match,attrs,srcMatch,typeMatch,el,s;while((match=re.exec(html))){attrs=match[1];srcMatch=attrs?attrs.match(srcRe):false;if(srcMatch&&srcMatch[2]){s=DOC.createElement("script");s.src=srcMatch[2];typeMatch=attrs.match(typeRe);if(typeMatch&&typeMatch[2]){s.type=typeMatch[2]}hd.appendChild(s)}else{if(match[2]&&match[2].length>0){if(window.execScript){window.execScript(match[2])}else{window.eval(match[2])}}}}el=DOC.getElementById(id);if(el){Ext.removeNode(el)}Ext.callback(callback,me)},20);dom.innerHTML=html.replace(/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,"");return me},removeAllListeners:function(){this.removeAnchor();Ext.EventManager.removeAll(this.dom);return this},createProxy:function(a,e,d){a=(typeof a=="object")?a:{tag:"div",cls:a};var c=this,b=e?Ext.core.DomHelper.append(e,a,true):Ext.core.DomHelper.insertBefore(c.dom,a,true);b.setVisibilityMode(Ext.core.Element.DISPLAY);b.hide();if(d&&c.setBox&&c.getBox){b.setBox(c.getBox())}return b}});Ext.core.Element.prototype.clearListeners=Ext.core.Element.prototype.removeAllListeners;Ext.core.Element.addMethods({getAnchorXY:function(e,l,q){e=(e||"tl").toLowerCase();q=q||{};var k=this,b=k.dom==document.body||k.dom==document,n=q.width||b?Ext.core.Element.getViewWidth():k.getWidth(),i=q.height||b?Ext.core.Element.getViewHeight():k.getHeight(),p,a=Math.round,c=k.getXY(),m=k.getScroll(),j=b?m.left:!l?c[0]:0,g=b?m.top:!l?c[1]:0,d={c:[a(n*0.5),a(i*0.5)],t:[a(n*0.5),0],l:[0,a(i*0.5)],r:[n,a(i*0.5)],b:[a(n*0.5),i],tl:[0,0],bl:[0,i],br:[n,i],tr:[n,0]};p=d[e];return[p[0]+j,p[1]+g]},anchorTo:function(b,h,c,a,k,l){var i=this,e=i.dom,j=!Ext.isEmpty(k),d=function(){Ext.fly(e).alignTo(b,h,c,a);Ext.callback(l,Ext.fly(e))},g=this.getAnchor();this.removeAnchor();Ext.apply(g,{fn:d,scroll:j});Ext.EventManager.onWindowResize(d,null);if(j){Ext.EventManager.on(window,"scroll",d,null,{buffer:!isNaN(k)?k:50})}d.call(i);return i},removeAnchor:function(){var b=this,a=this.getAnchor();if(a&&a.fn){Ext.EventManager.removeResizeListener(a.fn);if(a.scroll){Ext.EventManager.un(window,"scroll",a.fn)}delete a.fn}return b},getAnchor:function(){var b=Ext.core.Element.data,c=this.dom;if(!c){return}var a=b(c,"_anchor");if(!a){a=b(c,"_anchor",{})}return a},getAlignVector:function(c,a,h){var d=this,b={t:"top",l:"left",r:"right",b:"bottom"},e=d.getRegion(),g;c=Ext.get(c);if(!c||!c.dom){}g=c.getRegion()},getAlignToXY:function(g,A,B){g=Ext.get(g);if(!g||!g.dom){}B=B||[0,0];A=(!A||A=="?"?"tl-bl?":(!(/-/).test(A)&&A!==""?"tl-"+A:A||"tl-bl")).toLowerCase();var K=this,H=K.dom,M,L,n,l,s,F,v,t=Ext.core.Element.getViewWidth()-10,G=Ext.core.Element.getViewHeight()-10,b,i,j,k,u,z,N=document,J=N.documentElement,q=N.body,E=(J.scrollLeft||q.scrollLeft||0)+5,D=(J.scrollTop||q.scrollTop||0)+5,I=false,e="",a="",C=A.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!C){}e=C[1];a=C[2];I=!!C[3];M=K.getAnchorXY(e,true);L=g.getAnchorXY(a,false);n=L[0]-M[0]+B[0];l=L[1]-M[1]+B[1];if(I){s=K.getWidth();F=K.getHeight();v=g.getRegion();b=e.charAt(0);i=e.charAt(e.length-1);j=a.charAt(0);k=a.charAt(a.length-1);u=((b=="t"&&j=="b")||(b=="b"&&j=="t"));z=((i=="r"&&k=="l")||(i=="l"&&k=="r"));if(n+s>t+E){n=z?v.left-s:t+E-s}if(nG+D){l=u?v.top-F:G+D-F}if(ld.right){c=true;a[0]=(d.right-g.right)}if(g.left+a[0]d.bottom){c=true;a[1]=(d.bottom-g.bottom)}if(g.top+a[1]a.clientHeight||a.scrollWidth>a.clientWidth},getScroll:function(){var i=this.dom,h=document,a=h.body,c=h.documentElement,b,g,e;if(i==h||i==a){if(Ext.isIE&&Ext.isStrict){b=c.scrollLeft;g=c.scrollTop}else{b=window.pageXOffset;g=window.pageYOffset}e={left:b||(a?a.scrollLeft:0),top:g||(a?a.scrollTop:0)}}else{e={left:i.scrollLeft,top:i.scrollTop}}return e},scrollTo:function(b,d,a){var g=/top/i.test(b),c=this,h=c.dom,e={},i;if(!a||!c.anim){i="scroll"+(g?"Top":"Left");h[i]=d}else{if(!Ext.isObject(a)){a={}}e["scroll"+(g?"Top":"Left")]=d;c.animate(Ext.applyIf({to:e},a))}return c},scrollIntoView:function(b,e){b=Ext.getDom(b)||Ext.getBody().dom;var c=this.dom,h=this.getOffsetsTo(b),g=h[0]+b.scrollLeft,j=h[1]+b.scrollTop,a=j+c.offsetHeight,k=g+c.offsetWidth,n=b.clientHeight,m=parseInt(b.scrollTop,10),d=parseInt(b.scrollLeft,10),i=m+n,l=d+b.clientWidth;if(c.offsetHeight>n||ji){b.scrollTop=a-n}}b.scrollTop=b.scrollTop;if(e!==false){if(c.offsetWidth>b.clientWidth||gl){b.scrollLeft=k-b.clientWidth}}b.scrollLeft=b.scrollLeft}return this},scrollChildIntoView:function(b,a){Ext.fly(b,"_scrollChildIntoView").scrollIntoView(this,a)},scroll:function(m,b,d){if(!this.isScrollable()){return false}var e=this.dom,g=e.scrollLeft,q=e.scrollTop,n=e.scrollWidth,k=e.scrollHeight,i=e.clientWidth,a=e.clientHeight,c=false,p,j={l:Math.min(g+b,n-i),r:p=Math.max(g-b,0),t:Math.max(q-b,0),b:Math.min(q+b,k-a)};j.d=j.b;j.u=j.t;m=m.substr(0,1);if((p=j[m])>-1){c=true;this.scrollTo(m=="l"||m=="r"?"left":"top",p,this.anim(d))}return c}});Ext.core.Element.addMethods(function(){var d="visibility",b="display",a="hidden",h="none",c=Ext.baseCSSPrefix+"masked",g=Ext.baseCSSPrefix+"masked-relative",e=Ext.core.Element.data;return{isVisible:function(i){var j=!this.isStyle(d,a)&&!this.isStyle(b,h),k=this.dom.parentNode;if(i!==true||!j){return j}while(k&&!(/^body/i.test(k.tagName))){if(!Ext.fly(k,"_isVisible").isVisible()){return false}k=k.parentNode}return true},isDisplayed:function(){return !this.isStyle(b,h)},enableDisplayMode:function(i){this.setVisibilityMode(Ext.core.Element.DISPLAY);if(!Ext.isEmpty(i)){e(this.dom,"originalDisplay",i)}return this},mask:function(j,p){var r=this,l=r.dom,m=l.style.setExpression,q=Ext.core.DomHelper,n=Ext.baseCSSPrefix+"mask-msg",i,s;if(!(/^body/i.test(l.tagName)&&r.getStyle("position")=="static")){r.addCls(g)}i=e(l,"maskMsg");if(i){i.remove()}i=e(l,"mask");if(i){i.remove()}s=q.append(l,{cls:Ext.baseCSSPrefix+"mask"},true);e(l,"mask",s);r.addCls(c);s.setDisplayed(true);if(typeof j=="string"){var k=q.append(l,{cls:n,cn:{tag:"div"}},true);e(l,"maskMsg",k);k.dom.className=p?n+" "+p:n;k.dom.firstChild.innerHTML=j;k.setDisplayed(true);k.center(r)}if(!Ext.supports.IncludePaddingInWidthCalculation&&m){s.dom.style.setExpression("width",'this.parentNode.offsetWidth + "px"')}if(!Ext.supports.IncludePaddingInHeightCalculation&&m){s.dom.style.setExpression("height",'this.parentNode.offsetHeight + "px"')}else{if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&r.getStyle("height")=="auto"){s.setSize(undefined,r.getHeight())}}return s},unmask:function(){var k=this,l=k.dom,i=e(l,"mask"),j=e(l,"maskMsg");if(i){if(i.dom.style.clearExpression){i.dom.style.clearExpression("width");i.dom.style.clearExpression("height")}if(j){j.remove();e(l,"maskMsg",undefined)}i.remove();e(l,"mask",undefined);k.removeCls([c,g])}},isMasked:function(){var k=this,i=e(k.dom,"mask"),j=e(k.dom,"maskMsg");if(i&&i.isVisible()){if(j){j.center(k)}return true}return false},createShim:function(){var i=document.createElement("iframe"),j;i.frameBorder="0";i.className=Ext.baseCSSPrefix+"shim";i.src=Ext.SSL_SECURE_URL;j=Ext.get(this.dom.parentNode.insertBefore(i,this.dom));j.autoBoxAdjust=false;return j}}}());Ext.core.Element.addMethods({addKeyListener:function(b,d,c){var a;if(typeof b!="object"||Ext.isArray(b)){a={key:b,fn:d,scope:c}}else{a={key:b.key,shift:b.shift,ctrl:b.ctrl,alt:b.alt,fn:d,scope:c}}return Ext.create("Ext.util.KeyMap",this,a)},addKeyMap:function(a){return Ext.create("Ext.util.KeyMap",this,a)}});Ext.CompositeElementLite.importElementMethods();Ext.apply(Ext.CompositeElementLite.prototype,{addElements:function(c,a){if(!c){return this}if(typeof c=="string"){c=Ext.core.Element.selectorFunction(c,a)}var b=this.elements;Ext.each(c,function(d){b.push(Ext.get(d))});return this},first:function(){return this.item(0)},last:function(){return this.item(this.getCount()-1)},contains:function(a){return this.indexOf(a)!=-1},removeElement:function(d,e){var c=this,a=this.elements,b;Ext.each(d,function(g){if((b=(a[g]||a[g=c.indexOf(g)]))){if(e){if(b.dom){b.remove()}else{Ext.removeNode(b)}}Ext.Array.erase(a,g,1)}});return this}});Ext.CompositeElement=Ext.extend(Ext.CompositeElementLite,{constructor:function(b,a){this.elements=[];this.add(b,a)},getElement:function(a){return a},transformElement:function(a){return Ext.get(a)}});Ext.core.Element.select=function(a,d,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return(d===true)?new Ext.CompositeElement(c):new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;Ext.define("Ext.util.Observable",{requires:["Ext.util.Event"],statics:{releaseCapture:function(a){a.fireEvent=this.prototype.fireEvent},capture:function(c,b,a){c.fireEvent=Ext.Function.createInterceptor(c.fireEvent,b,a)},observe:function(a,b){if(a){if(!a.isObservable){Ext.applyIf(a,new this());this.capture(a.prototype,a.fireEvent,a)}if(Ext.isObject(b)){a.on(b)}return a}}},isObservable:true,constructor:function(a){var b=this;Ext.apply(b,a);if(b.listeners){b.on(b.listeners);delete b.listeners}b.events=b.events||{};if(b.bubbleEvents){b.enableBubble(b.bubbleEvents)}},eventOptionsRe:/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate|element|vertical|horizontal)$/,addManagedListener:function(i,d,g,e,c){var h=this,a=h.managedListeners=h.managedListeners||[],b;if(typeof d!=="string"){c=d;for(d in c){if(c.hasOwnProperty(d)){b=c[d];if(!h.eventOptionsRe.test(d)){h.addManagedListener(i,d,b.fn||b,b.scope||c.scope,b.fn?b:c)}}}}else{a.push({item:i,ename:d,fn:g,scope:e,options:c});i.on(d,g,e,c)}},removeManagedListener:function(j,c,g,k){var e=this,l,b,h,a,d;if(typeof c!=="string"){l=c;for(c in l){if(l.hasOwnProperty(c)){b=l[c];if(!e.eventOptionsRe.test(c)){e.removeManagedListener(j,c,b.fn||b,b.scope||l.scope)}}}}h=e.managedListeners?e.managedListeners.slice():[];for(d=0,a=h.length;d0},suspendEvents:function(a){this.eventsSuspended=true;if(a&&!this.eventQueue){this.eventQueue=[]}},resumeEvents:function(){var a=this,b=a.eventQueue||[];a.eventsSuspended=false;delete a.eventQueue;Ext.each(b,function(c){a.fireEvent.apply(a,c)})},relayEvents:function(c,e,j){j=j||"";var h=this,a=e.length,d=0,g,b;for(;d1){for(;c";for(;s\^])\s?|\s|$)/,c=/^(#)?([\w\-]+|\*)(?:\((true|false)\))?/,b=[{re:/^\.([\w\-]+)(?:\((true|false)\))?/,method:m},{re:/^(?:[\[](?:@)?([\w\-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]])/,method:n},{re:/^#([\w\-]+)/,method:d},{re:/^\:([\w\-]+)(?:\(((?:\{[^\}]+\})|(?:(?!\{)[^\s>\/]*?(?!\})))\))?/,method:l},{re:/^(?:\{([^\}]+)\})/,method:k}];h.Query=Ext.extend(Object,{constructor:function(p){p=p||{};Ext.apply(this,p)},execute:function(q){var s=this.operations,t=0,u=s.length,r,p;if(!q){p=Ext.ComponentManager.all.getArray()}else{if(Ext.isArray(q)){p=q}}for(;t1){for(s=0,t=u.length;s1){t=s.length;for(r=0;re?1:(g0){if(!b.stateTask){b.stateTask=Ext.create("Ext.util.DelayedTask",b.saveState,b)}b.stateTask.delay(b.saveDelay)}else{b.saveState()}},saveState:function(){var a=this,c,b;if(a.stateful!==false){c=a.getStateId();if(c){b=a.getState();if(a.fireEvent("beforestatesave",a,b)!==false){Ext.state.Manager.set(c,b);a.fireEvent("statesave",a,b)}}}},getState:function(){return null},applyState:function(a){if(a){Ext.apply(this,a)}},getStateId:function(){var a=this,b=a.stateId;if(!b){b=a.autoGenIdRe.test(String(a.id))?null:a.id}return b},initState:function(){var a=this,c=a.getStateId(),b;if(a.stateful!==false){if(c){b=Ext.state.Manager.get(c);if(b){b=Ext.apply({},b);if(a.fireEvent("beforestaterestore",a,b)!==false){a.applyState(b);a.fireEvent("staterestore",a,b)}}}}},destroy:function(){var a=this.stateTask;if(a){a.cancel()}this.clearListeners()}});Ext.define("Ext.AbstractManager",{requires:["Ext.util.HashMap"],typeName:"type",constructor:function(a){Ext.apply(this,a||{});this.all=Ext.create("Ext.util.HashMap");this.types={}},get:function(a){return this.all.get(a)},register:function(a){this.all.add(a)},unregister:function(a){this.all.remove(a)},registerType:function(b,a){this.types[b]=a;a[this.typeName]=b},isRegistered:function(a){return this.types[a]!==undefined},create:function(a,d){var b=a[this.typeName]||a.type||d,c=this.types[b];return new c(a)},onAvailable:function(e,c,b){var a=this.all,d;if(a.containsKey(e)){d=a.get(e);c.call(b||d,d)}else{a.on("add",function(i,g,h){if(g==e){c.call(b||h,h);a.un("add",c,b)}})}},each:function(b,a){this.all.each(b,a||this)},getCount:function(){return this.all.getCount()}});Ext.define("Ext.PluginManager",{extend:"Ext.AbstractManager",alternateClassName:"Ext.PluginMgr",singleton:true,typeName:"ptype",create:function(a,b){if(a.init){return a}else{return Ext.createByAlias("plugin."+(a.ptype||b),a)}},findByType:function(c,g){var e=[],b=this.types;for(var a in b){if(!b.hasOwnProperty(a)){continue}var d=b[a];if(d.type==c&&(!g||(g===true&&d.isDefault))){e.push(d)}}return e}},function(){Ext.preg=function(){return Ext.PluginManager.registerType.apply(Ext.PluginManager,arguments)}});Ext.define("Ext.ComponentManager",{extend:"Ext.AbstractManager",alternateClassName:"Ext.ComponentMgr",singleton:true,typeName:"xtype",create:function(b,d){if(b instanceof Ext.AbstractComponent){return b}else{if(Ext.isString(b)){return Ext.createByAlias("widget."+b)}else{var c=b.xtype||d,a=b;return Ext.createByAlias("widget."+c,a)}}},registerType:function(b,a){this.types[b]=a;a[this.typeName]=b;a.prototype[this.typeName]=b}});Ext.define("Ext.XTemplate",{extend:"Ext.Template",statics:{from:function(b,a){b=Ext.getDom(b);return new this(b.value||b.innerHTML,a||{})}},argsRe:/]*>((?:(?=([^<]+))\2|<(?!tpl\b[^>]*>))*?)<\/tpl>/,nameRe:/^]*?for="(.*?)"/,ifRe:/^]*?if="(.*?)"/,execRe:/^]*?exec="(.*?)"/,constructor:function(){this.callParent(arguments);var z=this,j=z.html,w=z.argsRe,c=z.nameRe,u=z.ifRe,y=z.execRe,q=0,k=[],p="values",x="parent",l="xindex",n="xcount",d="return ",b="with(values){ ",r,g,v,a,e,h,s,A,t;j=["",j,""].join("");while((r=j.match(w))){e=null;h=null;s=null;g=r[0].match(c);v=r[0].match(u);a=r[0].match(y);e=v?v[1]:null;if(e){h=Ext.functionFactory(p,x,l,n,b+"try{"+d+Ext.String.htmlDecode(e)+";}catch(e){return;}}")}e=a?a[1]:null;if(e){s=Ext.functionFactory(p,x,l,n,b+Ext.String.htmlDecode(e)+";}")}A=g?g[1]:null;if(A){if(A==="."){A=p}else{if(A===".."){A=x}}A=Ext.functionFactory(p,x,"try{"+b+d+A+";}}catch(e){return;}")}k.push({id:q,target:A,exec:s,test:h,body:r[1]||""});j=j.replace(r[0],"{xtpl"+q+"}");q=q+1}for(t=k.length-1;t>=0;--t){z.compileTpl(k[t])}z.master=k[k.length-1];z.tpls=k},applySubTemplate:function(h,a,c,e,g){var d=this,b=d.tpls[h];return b.compiled.call(d,a,c,e,g)},codeRe:/\{\[((?:\\\]|.|\n)*?)\]\}/g,re:/\{([\w-\.\#]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?(\s?[\+\-\*\/]\s?[\d\.\+\-\*\/\(\)]+)?\}/g,compileTpl:function(tpl){var fm=Ext.util.Format,me=this,useFormat=me.disableFormats!==true,body,bodyReturn,evaluatedFn;function fn(m,name,format,args,math){var v;if(name.substr(0,4)=="xtpl"){return"',this.applySubTemplate("+name.substr(4)+", values, parent, xindex, xcount),'"}if(name=="."){v='Ext.Array.indexOf(["string", "number", "boolean"], typeof values) > -1 || Ext.isDate(values) ? values : ""'}else{if(name=="#"){v="xindex"}else{if(name.substr(0,7)=="parent."){v=name}else{if(name.indexOf(".")!=-1){v="values."+name}else{v="values['"+name+"']"}}}}if(math){v="("+v+math+")"}if(format&&useFormat){args=args?","+args:"";if(format.substr(0,5)!="this."){format="fm."+format+"("}else{format="this."+format.substr(5)+"("}}else{args="";format="("+v+" === undefined ? '' : "}return"',"+format+v+args+"),'"}function codeFn(m,code){return"',("+code.replace(me.compileARe,"'")+"),'"}bodyReturn=tpl.body.replace(me.compileBRe,"\\n").replace(me.compileCRe,"\\'").replace(me.re,fn).replace(me.codeRe,codeFn);body="evaluatedFn = function(values, parent, xindex, xcount){return ['"+bodyReturn+"'].join('');};";eval(body);tpl.compiled=function(values,parent,xindex,xcount){var vs,length,buffer,i;if(tpl.test&&!tpl.test.call(me,values,parent,xindex,xcount)){return""}vs=tpl.target?tpl.target.call(me,values,parent):values;if(!vs){return""}parent=tpl.target?values:parent;if(tpl.target&&Ext.isArray(vs)){buffer=[];length=vs.length;if(tpl.exec){for(i=0;i1||Ext.isArray(g)){b=arguments.length>1?arguments:g;for(a=b.length;d=d.length){return d.add(c,g)}d.length++;Ext.Array.splice(d.items,a,0,g);if(typeof c!="undefined"&&c!==null){d.map[c]=g}Ext.Array.splice(d.keys,a,0,c);d.fireEvent("add",a,g,c);return g},remove:function(a){return this.removeAt(this.indexOf(a))},removeAll:function(a){Ext.each(a||[],function(b){this.remove(b)},this);return this},removeAt:function(a){var c=this,d,b;if(a=0){c.length--;d=c.items[a];Ext.Array.erase(c.items,a,1);b=c.keys[a];if(typeof b!="undefined"){delete c.map[b]}Ext.Array.erase(c.keys,a,1);c.fireEvent("remove",d,b);return d}return false},removeAtKey:function(a){return this.removeAt(this.indexOfKey(a))},getCount:function(){return this.length},indexOf:function(a){return Ext.Array.indexOf(this.items,a)},indexOfKey:function(a){return Ext.Array.indexOf(this.keys,a)},get:function(b){var d=this,a=d.map[b],c=a!==undefined?a:(typeof b=="number")?d.items[b]:undefined;return typeof c!="function"||d.allowFunctions?c:null},getAt:function(a){return this.items[a]},getByKey:function(a){return this.map[a]},contains:function(a){return Ext.Array.contains(this.items,a)},containsKey:function(a){return typeof this.map[a]!="undefined"},clear:function(){var a=this;a.length=0;a.items=[];a.keys=[];a.map={};a.fireEvent("clear")},first:function(){return this.items[0]},last:function(){return this.items[this.length-1]},sum:function(h,b,j,a){var c=this.extractValues(h,b),g=c.length,e=0,d;j=j||0;a=(a||a===0)?a:g-1;for(d=j;d<=a;d++){e+=c[d]}return e},collect:function(k,e,h){var l=this.extractValues(k,e),a=l.length,b={},c=[],j,g,d;for(d=0;d=a;d--){b[b.length]=c[d]}}return b},filter:function(d,c,g,a){var b=[],e;if(Ext.isString(d)){b.push(Ext.create("Ext.util.Filter",{property:d,value:c,anyMatch:g,caseSensitive:a}))}else{if(Ext.isArray(d)||d instanceof Ext.util.Filter){b=b.concat(d)}}e=function(h){var n=true,p=b.length,j;for(j=0;je?1:(gd){c=k.height;a=true}if(k.width&&k.width>e){l=k.width;a=true}if(a){var j=!Ext.isNumber(g.width),i=!Ext.isNumber(g.height);g.componentLayout.childrenChanged=true;g.setSize(l,c,g.ownerCt);g.el.setSize(e,d);if(j){delete g.width}if(i){delete g.height}}}return g.mixins.animate.animate.apply(g,arguments)},findLayoutController:function(){return this.findParentBy(function(a){return !a.ownerCt||(a.layout.layoutBusy&&!a.ownerCt.layout.layoutBusy)})},onShow:function(){var a=this.needsLayout;if(Ext.isObject(a)){this.doComponentLayout(a.width,a.height,a.isSetSize,a.ownerCt)}},constructPlugin:function(a){if(a.ptype&&typeof a.init!="function"){a.cmp=this;a=Ext.PluginManager.create(a)}else{if(typeof a=="string"){a=Ext.PluginManager.create({ptype:a,cmp:this})}}return a},initPlugin:function(a){a.init(this);return a},doAutoRender:function(){var a=this;if(a.floating){a.render(document.body)}else{a.render(Ext.isBoolean(a.autoRender)?Ext.getBody():a.autoRender)}},render:function(b,a){var c=this;if(!c.rendered&&c.fireEvent("beforerender",c)!==false){if(c.el){c.el=Ext.get(c.el)}if(c.floating){c.onFloatRender()}b=c.initContainer(b);c.onRender(b,a);c.el.setVisibilityMode(Ext.core.Element[c.hideMode.toUpperCase()]);if(c.overCls){c.el.hover(c.addOverCls,c.removeOverCls,c)}c.fireEvent("render",c);c.initContent();c.afterRender(b);c.fireEvent("afterrender",c);c.initEvents();if(c.hidden){c.el.hide()}if(c.disabled){c.disable(true)}}return c},onRender:function(b,a){var g=this,d=g.el,e=g.initStyles(),j,h,c;a=g.getInsertPosition(a);if(!d){if(a){d=Ext.core.DomHelper.insertBefore(a,g.getElConfig(),true)}else{d=Ext.core.DomHelper.append(b,g.getElConfig(),true)}}else{if(g.allowDomMove!==false){if(a){b.dom.insertBefore(d.dom,a)}else{b.dom.appendChild(d.dom)}}}if(Ext.scopeResetCSS&&!g.ownerCt){if(d.dom==Ext.getBody().dom){d.parent().addCls(Ext.baseCSSPrefix+"reset")}else{g.resetEl=d.wrap({cls:Ext.baseCSSPrefix+"reset"})}}g.setUI(g.ui);d.addCls(g.initCls());d.setStyle(e);g.el=d;g.initFrame();j=g.initRenderTpl();if(j){h=g.initRenderData();j.append(g.getTargetEl(),h)}g.applyRenderSelectors();g.rendered=true},afterRender:function(){var a=this,c,b;a.getComponentLayout();if(!a.ownerCt||(a.height||a.width)){a.setSize(a.width,a.height)}if(a.floating&&(a.x===undefined||a.y===undefined)){if(a.floatParent){b=a.el.getAlignToXY(a.floatParent.getTargetEl(),"c-c");c=a.floatParent.getTargetEl().translatePoints(b[0],b[1])}else{b=a.el.getAlignToXY(a.container,"c-c");c=a.container.translatePoints(b[0],b[1])}a.x=a.x===undefined?c.left:a.x;a.y=a.y===undefined?c.top:a.y}if(Ext.isDefined(a.x)||Ext.isDefined(a.y)){a.setPosition(a.x,a.y)}if(a.styleHtmlContent){a.getTargetEl().addCls(a.styleHtmlCls)}},frameCls:Ext.baseCSSPrefix+"frame",frameElementCls:{tl:[],tc:[],tr:[],ml:[],mc:[],mr:[],bl:[],bc:[],br:[]},frameTpl:['','
{parent.baseCls}-{parent.ui}-{.}-tl" style="background-position: {tl}; padding-left: {frameWidth}px" role="presentation">','
{parent.baseCls}-{parent.ui}-{.}-tr" style="background-position: {tr}; padding-right: {frameWidth}px" role="presentation">','
{parent.baseCls}-{parent.ui}-{.}-tc" style="background-position: {tc}; height: {frameWidth}px" role="presentation">
','
','
',"
",'
{parent.baseCls}-{parent.ui}-{.}-ml" style="background-position: {ml}; padding-left: {frameWidth}px" role="presentation">','
{parent.baseCls}-{parent.ui}-{.}-mr" style="background-position: {mr}; padding-right: {frameWidth}px" role="presentation">','
{parent.baseCls}-{parent.ui}-{.}-mc" role="presentation">
','
','
','','
{parent.baseCls}-{parent.ui}-{.}-bl" style="background-position: {bl}; padding-left: {frameWidth}px" role="presentation">','
{parent.baseCls}-{parent.ui}-{.}-br" style="background-position: {br}; padding-right: {frameWidth}px" role="presentation">','
{parent.baseCls}-{parent.ui}-{.}-bc" style="background-position: {bc}; height: {frameWidth}px" role="presentation">
','
','
',"
"],frameTableTpl:["",'',"",'','','',"","","",'','','',"",'',"",'','','',"","","
{parent.baseCls}-{parent.ui}-{.}-tl" style="background-position: {tl}; padding-left:{frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-tc" style="background-position: {tc}; height: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-tr" style="background-position: {tr}; padding-left: {frameWidth}px" role="presentation">
{parent.baseCls}-{parent.ui}-{.}-ml" style="background-position: {ml}; padding-left: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-mc" style="background-position: 0 0;" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-mr" style="background-position: {mr}; padding-left: {frameWidth}px" role="presentation">
{parent.baseCls}-{parent.ui}-{.}-bl" style="background-position: {bl}; padding-left: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-bc" style="background-position: {bc}; height: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-br" style="background-position: {br}; padding-left: {frameWidth}px" role="presentation">
"],initFrame:function(){if(Ext.supports.CSS3BorderRadius){return false}var d=this,c=d.getFrameInfo(),b=c.width,a=d.getFrameTpl(c.table);if(d.frame){a.insertFirst(d.el,Ext.apply({},{ui:d.ui,uiCls:d.uiCls,frameCls:d.frameCls,baseCls:d.baseCls,frameWidth:b,top:!!c.top,left:!!c.left,right:!!c.right,bottom:!!c.bottom},d.getFramePositions(c)));d.frameBody=d.el.down("."+d.frameCls+"-mc");Ext.apply(d.renderSelectors,{frameTL:"."+d.baseCls+"-tl",frameTC:"."+d.baseCls+"-tc",frameTR:"."+d.baseCls+"-tr",frameML:"."+d.baseCls+"-ml",frameMC:"."+d.baseCls+"-mc",frameMR:"."+d.baseCls+"-mr",frameBL:"."+d.baseCls+"-bl",frameBC:"."+d.baseCls+"-bc",frameBR:"."+d.baseCls+"-br"})}},updateFrame:function(){if(Ext.supports.CSS3BorderRadius){return false}var e=this,h=this.frameSize&&this.frameSize.table,g=this.frameTL,d=this.frameBL,c=this.frameML,a=this.frameMC,b;this.initFrame();if(a){if(e.frame){delete e.frameTL;delete e.frameTC;delete e.frameTR;delete e.frameML;delete e.frameMC;delete e.frameMR;delete e.frameBL;delete e.frameBC;delete e.frameBR;this.applyRenderSelectors();b=this.frameMC.dom.className;a.insertAfter(this.frameMC);this.frameMC.remove();this.frameBody=this.frameMC=a;a.dom.className=b;if(h){e.el.query("> table")[1].remove()}else{if(g){g.remove()}if(d){d.remove()}c.remove()}}else{}}else{if(e.frame){this.applyRenderSelectors()}}},getFrameInfo:function(){if(Ext.supports.CSS3BorderRadius){return false}var c=this,g=c.el.getStyle("background-position-x"),e=c.el.getStyle("background-position-y"),d,b=false,a;if(!g&&!e){d=c.el.getStyle("background-position").split(" ");g=d[0];e=d[1]}if(parseInt(g,10)>=1000000&&parseInt(e,10)>=1000000){a=Math.max;b={table:g.substr(0,3)=="110",vertical:e.substr(0,3)=="110",top:a(g.substr(3,2),g.substr(5,2)),right:a(g.substr(5,2),e.substr(3,2)),bottom:a(e.substr(3,2),e.substr(5,2)),left:a(e.substr(5,2),g.substr(3,2))};b.width=a(b.top,b.right,b.bottom,b.left);c.el.setStyle("background-image","none")}if(c.frame===true&&!b){}c.frame=c.frame||!!b;c.frameSize=b||false;return b},getFramePositions:function(e){var h=this,i=e.width,j=h.dock,d,b,g,c,a;if(e.vertical){b="0 -"+(i*0)+"px";g="0 -"+(i*1)+"px";if(j&&j=="right"){b="right -"+(i*0)+"px";g="right -"+(i*1)+"px"}d={tl:"0 -"+(i*0)+"px",tr:"0 -"+(i*1)+"px",bl:"0 -"+(i*2)+"px",br:"0 -"+(i*3)+"px",ml:"-"+(i*1)+"px 0",mr:"right 0",tc:b,bc:g}}else{c="-"+(i*0)+"px 0";a="right 0";if(j&&j=="bottom"){c="left bottom";a="right bottom"}d={tl:"0 -"+(i*2)+"px",tr:"right -"+(i*3)+"px",bl:"0 -"+(i*4)+"px",br:"right -"+(i*5)+"px",ml:c,mr:a,tc:"0 -"+(i*0)+"px",bc:"0 -"+(i*1)+"px"}}return d},getFrameTpl:function(a){return a?this.getTpl("frameTableTpl"):this.getTpl("frameTpl")},initCls:function(){var b=this,a=[];a.push(b.baseCls);if(Ext.isDefined(b.cmpCls)){if(Ext.isDefined(Ext.global.console)){Ext.global.console.warn("Ext.Component: cmpCls has been deprecated. Please use componentCls.")}b.componentCls=b.cmpCls;delete b.cmpCls}if(b.componentCls){a.push(b.componentCls)}else{b.componentCls=b.baseCls}if(b.cls){a.push(b.cls);delete b.cls}return a.concat(b.additionalCls)},setUI:function(g){var e=this,b=Ext.Array.clone(e.uiCls),h=[],d=[],a,c;for(c=0;c=0;a--){if((g=d.getAt(a)).is(b)){return g}}}else{if(a){return d.getAt(--a)}}}}return null},previousNode:function(c,d){var h=this,b,g,a,e;if(d&&h.is(c)){return h}b=this.prev(c);if(b){return b}if(h.ownerCt){for(g=h.ownerCt.items.items,e=Ext.Array.indexOf(g,h)-1;e>-1;e--){if(g[e].query){b=g[e].query(c);b=b[b.length-1];if(b){return b}}}return h.ownerCt.previousNode(c,true)}},nextNode:function(c,d){var h=this,b,g,a,e;if(d&&h.is(c)){return h}b=this.next(c);if(b){return b}if(h.ownerCt){for(g=h.ownerCt.items,e=g.indexOf(h)+1,g=g.items,a=g.length;e=200&&a<300)||a==304,b=false;if(!c){switch(a){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:b=true;break}}return{success:c,isException:b}},createResponse:function(c){var i=c.xhr,a={},j=i.getAllResponseHeaders().replace(/\r\n/g,"\n").split("\n"),d=j.length,k,e,h,g,b;while(d--){k=j[d];e=k.indexOf(":");if(e>=0){h=k.substr(0,e).toLowerCase();if(k.charAt(e+1)==" "){++e}a[h]=k.substr(e+1)}}c.xhr=null;delete c.xhr;b={request:c,requestId:c.id,status:i.status,statusText:i.statusText,getResponseHeader:function(l){return a[l.toLowerCase()]},getAllResponseHeaders:function(){return a},responseText:i.responseText,responseXML:i.responseXML};i=null;return b},createException:function(a){return{request:a,requestId:a.id,status:a.aborted?-1:0,statusText:a.aborted?"transaction aborted":"communication failure",aborted:a.aborted,timedout:a.timedout}}});Ext.define("Ext.Ajax",{extend:"Ext.data.Connection",singleton:true,autoAbort:false});Ext.define("Ext.data.Association",{primaryKey:"id",defaultReaderType:"json",statics:{create:function(a){if(!a.isAssociation){if(Ext.isString(a)){a={type:a}}switch(a.type){case"belongsTo":return Ext.create("Ext.data.BelongsToAssociation",a);case"hasMany":return Ext.create("Ext.data.HasManyAssociation",a);default:}}return a}},constructor:function(b){Ext.apply(this,b);var c=Ext.ModelManager.types,d=b.ownerModel,g=b.associatedModel,e=c[d],h=c[g],a;this.ownerModel=e;this.associatedModel=h;Ext.applyIf(this,{ownerName:d,associatedName:g})},getReader:function(){var c=this,a=c.reader,b=c.associatedModel;if(a){if(Ext.isString(a)){a={type:a}}if(a.isReader){a.setModel(b)}else{Ext.applyIf(a,{model:b,type:c.defaultReaderType})}c.reader=Ext.createByAlias("reader."+a.type,a)}return c.reader||null}});Ext.define("Ext.ModelManager",{extend:"Ext.AbstractManager",alternateClassName:"Ext.ModelMgr",requires:["Ext.data.Association"],singleton:true,typeName:"mtype",associationStack:[],registerType:function(c,b){var d=b.prototype,a;if(d&&d.isModel){a=b}else{if(!b.extend){b.extend="Ext.data.Model"}a=Ext.define(c,b)}this.types[c]=a;return a},onModelDefined:function(c){var a=this.associationStack,g=a.length,e=[],b,d,h;for(d=0;d]+>/gi,asText:function(a){return String(a).replace(this.stripTagsRE,"")},asUCText:function(a){return String(a).toUpperCase().replace(this.stripTagsRE,"")},asUCString:function(a){return String(a).toUpperCase()},asDate:function(a){if(!a){return 0}if(Ext.isDate(a)){return a.getTime()}return Date.parse(String(a))},asFloat:function(a){var b=parseFloat(String(a).replace(/,/g,""));return isNaN(b)?0:b},asInt:function(a){var b=parseInt(String(a).replace(/,/g,""),10);return isNaN(b)?0:b}});Ext.define("Ext.data.Errors",{extend:"Ext.util.MixedCollection",isValid:function(){return this.length===0},getByField:function(e){var d=[],a,c,b;for(b=0;ba)){return false}else{return true}},format:function(a,b){return !!(a.matcher&&a.matcher.test(b))},inclusion:function(a,b){return a.list&&Ext.Array.indexOf(a.list,b)!=-1},exclusion:function(a,b){return a.list&&Ext.Array.indexOf(a.list,b)==-1}});Ext.define("Ext.data.ResultSet",{loaded:true,count:0,total:0,success:false,constructor:function(a){Ext.apply(this,a);this.totalRecords=this.total;if(a.count===undefined){this.count=this.records.length}}});Ext.define("Ext.data.writer.Writer",{alias:"writer.base",alternateClassName:["Ext.data.DataWriter","Ext.data.Writer"],writeAllFields:true,nameProperty:"name",constructor:function(a){Ext.apply(this,a)},write:function(e){var c=e.operation,b=c.records||[],a=b.length,d=0,g=[];for(;d=0;--c){b=this.zIndexStack[c];if(!b.hidden){if(!d){this._setActiveChild(b);d=true}if(b.modal){this._showModalMask(b.el.getStyle("zIndex")-4);return}}}this._hideModalMask();if(!d){this._setActiveChild(null)}},_showModalMask:function(a){if(!this.mask){this.mask=this.targetEl.createChild({cls:Ext.baseCSSPrefix+"mask"});this.mask.setVisibilityMode(Ext.core.Element.DISPLAY);this.mask.on("click",this._onMaskClick,this)}Ext.getBody().addCls(Ext.baseCSSPrefix+"body-masked");this.mask.setSize(this.targetEl.getViewSize(true));this.mask.setStyle("zIndex",a);this.mask.show()},_hideModalMask:function(){if(this.mask){Ext.getBody().removeCls(Ext.baseCSSPrefix+"body-masked");this.mask.hide()}},_onMaskClick:function(){if(this.front){this.front.focus()}},_onContainerResize:function(){if(this.mask&&this.mask.isVisible()){this.mask.setSize(this.targetEl.getViewSize(true))}},register:function(a){if(a.zIndexManager){a.zIndexManager.unregister(a)}a.zIndexManager=this;this.list[a.id]=a;this.zIndexStack.push(a);a.on("hide",this._activateLast,this)},unregister:function(a){delete a.zIndexManager;if(this.list&&this.list[a.id]){delete this.list[a.id];a.un("hide",this._activateLast);Ext.Array.remove(this.zIndexStack,a);this._activateLast(a)}},get:function(a){return typeof a=="object"?a:this.list[a]},bringToFront:function(a){a=this.get(a);if(a!=this.front){Ext.Array.remove(this.zIndexStack,a);this.zIndexStack.push(a);this.assignZIndices();return true}if(a.modal){Ext.getBody().addCls(Ext.baseCSSPrefix+"body-masked");this.mask.setSize(Ext.core.Element.getViewWidth(true),Ext.core.Element.getViewHeight(true));this.mask.show()}return false},sendToBack:function(a){a=this.get(a);Ext.Array.remove(this.zIndexStack,a);this.zIndexStack.unshift(a);this.assignZIndices();return a},hideAll:function(){for(var a in this.list){if(this.list[a].isComponent&&this.list[a].isVisible()){this.list[a].hide()}}},hide:function(){var b=0,c=this.zIndexStack.length,a;this.tempHidden=[];for(;b0;){b=a[c];if(b.isComponent&&e.call(d||b,b)===false){return}}},destroy:function(){delete this.zIndexStack;delete this.list;delete this.container;delete this.targetEl}},function(){Ext.WindowManager=Ext.WindowMgr=new this()});Ext.define("Ext.layout.container.boxOverflow.None",{alternateClassName:"Ext.layout.boxOverflow.None",constructor:function(b,a){this.layout=b;Ext.apply(this,a||{})},handleOverflow:Ext.emptyFn,clearOverflow:Ext.emptyFn,onRemove:Ext.emptyFn,getItem:function(a){return this.layout.owner.getComponent(a)},onRemove:Ext.emptyFn});Ext.define("Ext.util.KeyMap",{alternateClassName:"Ext.KeyMap",constructor:function(b,d,a){var c=this;Ext.apply(c,{el:Ext.get(b),eventName:a||c.eventName,bindings:[]});if(d){c.addBinding(d)}c.enable()},eventName:"keydown",addBinding:function(h){if(Ext.isArray(h)){Ext.each(h,this.addBinding,this);return}var g=h.key,j=false,d,e,b,c,a;if(Ext.isString(g)){e=[];b=g.toLowerCase();for(c=0,a=b.length;c/,beforeLayout:function(){return this.callParent(arguments)||this.lastText!==this.owner.text},onLayout:function(c,p){var l=this,h=Ext.isNumber,d=l.owner,n=d.el,i=d.btnEl,e=d.btnInnerEl,g=d.btnIconEl,j=(d.icon||d.iconCls)&&(d.iconAlign=="top"||d.iconAlign=="bottom"),b=d.minWidth,m=d.maxWidth,a,q,k;l.getTargetInfo();l.callParent(arguments);e.unclip();l.setTargetSize(c,p);if(!h(c)){if(d.text&&Ext.isIE7&&Ext.isStrict&&i&&i.getWidth()>20){q=l.btnFrameWidth;k=Ext.util.TextMetrics.measure(e,d.text);n.setWidth(k.width+q+l.adjWidth);i.setWidth(k.width+q);e.setWidth(k.width+q);if(j){g.setWidth(k.width+q)}}else{n.setWidth(null);i.setWidth(null);e.setWidth(null);g.setWidth(null)}if(b||m){a=n.getWidth();if(b&&(am)){e.clip();l.setTargetSize(m,p)}}}}this.lastText=d.text},setTargetSize:function(a,l){var h=this,b=h.owner,e=Ext.isNumber,d=b.btnInnerEl,j=(e(a)?a-h.adjWidth:a),g=(e(l)?l-h.adjHeight:l),c=h.btnFrameHeight,k=b.getText(),i;h.callParent(arguments);h.setElementSize(b.btnEl,j,g);h.setElementSize(d,j,g);if(e(g)){d.setStyle("line-height",g-c+"px")}if(k&&this.htmlRE.test(k)){d.setStyle("line-height","normal");i=Ext.util.TextMetrics.measure(d,k).height;d.setStyle("padding-top",h.btnFrameTop+Math.max(d.getHeight()-c-i,0)/2+"px");h.setElementSize(d,j,g)}},getTargetInfo:function(){var e=this,a=e.owner,d=a.el,c=e.frameSize,h=a.frameBody,b=a.btnWrap,g=a.btnInnerEl;if(!("adjWidth" in e)){Ext.apply(e,{adjWidth:c.left+c.right+d.getBorderWidth("lr")+d.getPadding("lr")+b.getPadding("lr")+(h?h.getFrameWidth("lr"):0),adjHeight:c.top+c.bottom+d.getBorderWidth("tb")+d.getPadding("tb")+b.getPadding("tb")+(h?h.getFrameWidth("tb"):0),btnFrameWidth:g.getFrameWidth("lr"),btnFrameHeight:g.getFrameWidth("tb"),btnFrameTop:g.getFrameWidth("t")})}return e.callParent()}});Ext.define("Ext.util.TextMetrics",{statics:{shared:null,measure:function(a,d,e){var b=this,c=b.shared;if(!c){c=b.shared=new b(a,e)}c.bind(a);c.setFixedWidth(e||"auto");return c.getSize(d)},destroy:function(){var a=this;Ext.destroy(a.shared);a.shared=null}},constructor:function(a,c){var b=this.measure=Ext.getBody().createChild({cls:"x-textmetrics"});this.el=Ext.get(a);b.position("absolute");b.setLeftTop(-1000,-1000);b.hide();if(c){b.setWidth(c)}},getSize:function(c){var b=this.measure,a;b.update(c);a=b.getSize();b.update("");return a},bind:function(a){var b=this;b.el=Ext.get(a);b.measure.setStyle(b.el.getStyles("font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"))},setFixedWidth:function(a){this.measure.setWidth(a)},getWidth:function(a){this.measure.dom.style.width="auto";return this.getSize(a).width},getHeight:function(a){return this.getSize(a).height},destroy:function(){var a=this;a.measure.remove();delete a.el;delete a.measure}},function(){Ext.core.Element.addMethods({getTextWidth:function(c,b,a){return Ext.Number.constrain(Ext.util.TextMetrics.measure(this.dom,Ext.value(c,this.dom.innerHTML,true)).width,b||0,a||1000000)}})});Ext.define("Ext.layout.container.boxOverflow.Scroller",{extend:"Ext.layout.container.boxOverflow.None",requires:["Ext.util.ClickRepeater","Ext.core.Element"],alternateClassName:"Ext.layout.boxOverflow.Scroller",mixins:{observable:"Ext.util.Observable"},animateScroll:false,scrollIncrement:20,wheelIncrement:10,scrollRepeatInterval:60,scrollDuration:400,scrollerCls:Ext.baseCSSPrefix+"box-scroller",constructor:function(b,a){this.layout=b;Ext.apply(this,a||{});this.addEvents("scroll")},initCSSClasses:function(){var b=this,a=b.layout;if(!b.CSSinitialized){b.beforeCtCls=b.beforeCtCls||Ext.baseCSSPrefix+"box-scroller-"+a.parallelBefore;b.afterCtCls=b.afterCtCls||Ext.baseCSSPrefix+"box-scroller-"+a.parallelAfter;b.beforeScrollerCls=b.beforeScrollerCls||Ext.baseCSSPrefix+a.owner.getXType()+"-scroll-"+a.parallelBefore;b.afterScrollerCls=b.afterScrollerCls||Ext.baseCSSPrefix+a.owner.getXType()+"-scroll-"+a.parallelAfter;b.CSSinitializes=true}},handleOverflow:function(a,g){var e=this,d=e.layout,c="get"+d.parallelPrefixCap,b={};e.initCSSClasses();e.callParent(arguments);this.createInnerElements();this.showScrollers();b[d.perpendicularPrefix]=g[d.perpendicularPrefix];b[d.parallelPrefix]=g[d.parallelPrefix]-(e.beforeCt[c]()+e.afterCt[c]());return{targetSize:b}},createInnerElements:function(){var a=this,b=a.layout.getRenderTarget();if(!a.beforeCt){b.addCls(Ext.baseCSSPrefix+a.layout.direction+"-box-overflow-body");a.beforeCt=b.insertSibling({cls:Ext.layout.container.Box.prototype.innerCls+" "+a.beforeCtCls},"before");a.afterCt=b.insertSibling({cls:Ext.layout.container.Box.prototype.innerCls+" "+a.afterCtCls},"after");a.createWheelListener()}},createWheelListener:function(){this.layout.innerCt.on({scope:this,mousewheel:function(a){a.stopEvent();this.scrollBy(a.getWheelDelta()*this.wheelIncrement*-1,false)}})},clearOverflow:function(){this.hideScrollers()},showScrollers:function(){this.createScrollers();this.beforeScroller.show();this.afterScroller.show();this.updateScrollButtons();this.layout.owner.addClsWithUI("scroller")},hideScrollers:function(){if(this.beforeScroller!=undefined){this.beforeScroller.hide();this.afterScroller.hide();this.layout.owner.removeClsWithUI("scroller")}},createScrollers:function(){if(!this.beforeScroller&&!this.afterScroller){var a=this.beforeCt.createChild({cls:Ext.String.format("{0} {1} ",this.scrollerCls,this.beforeScrollerCls)});var b=this.afterCt.createChild({cls:Ext.String.format("{0} {1}",this.scrollerCls,this.afterScrollerCls)});a.addClsOnOver(this.beforeScrollerCls+"-hover");b.addClsOnOver(this.afterScrollerCls+"-hover");a.setVisibilityMode(Ext.core.Element.DISPLAY);b.setVisibilityMode(Ext.core.Element.DISPLAY);this.beforeRepeater=Ext.create("Ext.util.ClickRepeater",a,{interval:this.scrollRepeatInterval,handler:this.scrollLeft,scope:this});this.afterRepeater=Ext.create("Ext.util.ClickRepeater",b,{interval:this.scrollRepeatInterval,handler:this.scrollRight,scope:this});this.beforeScroller=a;this.afterScroller=b}},destroy:function(){Ext.destroy(this.beforeRepeater,this.afterRepeater,this.beforeScroller,this.afterScroller,this.beforeCt,this.afterCt)},scrollBy:function(b,a){this.scrollTo(this.getScrollPosition()+b,a)},getScrollAnim:function(){return{duration:this.scrollDuration,callback:this.updateScrollButtons,scope:this}},updateScrollButtons:function(){if(this.beforeScroller==undefined||this.afterScroller==undefined){return}var d=this.atExtremeBefore()?"addCls":"removeCls",c=this.atExtremeAfter()?"addCls":"removeCls",a=this.beforeScrollerCls+"-disabled",b=this.afterScrollerCls+"-disabled";this.beforeScroller[d](a);this.afterScroller[c](b);this.scrolling=false},atExtremeBefore:function(){return this.getScrollPosition()===0},scrollLeft:function(){this.scrollBy(-this.scrollIncrement,false)},scrollRight:function(){this.scrollBy(this.scrollIncrement,false)},getScrollPosition:function(){var a=this.layout;return parseInt(a.innerCt.dom["scroll"+a.parallelBeforeCap],10)||0},getMaxScrollPosition:function(){var a=this.layout;return a.innerCt.dom["scroll"+a.parallelPrefixCap]-this.layout.innerCt["get"+a.parallelPrefixCap]()},atExtremeAfter:function(){return this.getScrollPosition()>=this.getMaxScrollPosition()},scrollTo:function(a,b){var g=this,e=g.layout,d=g.getScrollPosition(),c=Ext.Number.constrain(a,0,g.getMaxScrollPosition());if(c!=d&&!g.scrolling){if(b==undefined){b=g.animateScroll}e.innerCt.scrollTo(e.parallelBefore,c,b?g.getScrollAnim():false);if(b){g.scrolling=true}else{g.scrolling=false;g.updateScrollButtons()}g.fireEvent("scroll",g,c,b?g.getScrollAnim():false)}},scrollToItem:function(h,b){var g=this,e=g.layout,a,d,c;h=g.getItem(h);if(h!=undefined){a=this.getItemVisibility(h);if(!a.fullyVisible){d=h.getBox(true,true);c=d[e.parallelPosition];if(a.hiddenEnd){c-=(this.layout.innerCt["get"+e.parallelPrefixCap]()-d[e.parallelPrefix])}this.scrollTo(c,b)}}},getItemVisibility:function(g){var e=this,d=e.getItem(g).getBox(true,true),c=e.layout,b=d[c.parallelPosition],h=b+d[c.parallelPrefix],i=e.getScrollPosition(),a=i+c.innerCt["get"+c.parallelPrefixCap]();return{hiddenStart:ba,fullyVisible:b>i&&hw){return w}while(ys){y=u}else{w=u}u=(w-y)/2+y}return u}return c(p,1/(200*i))},cubicBezier:function(b,e,a,c){var d=function(g){return Ext.fx.CubicBezier.cubicBezierAtTime(g,b,e,a,c,1)};d.toCSS3=function(){return"cubic-bezier("+[b,e,a,c].join(",")+")"};d.reverse=function(){return Ext.fx.CubicBezier.cubicBezier(1-a,1-c,1-b,1-e)};return d}});Ext.define("Ext.draw.Color",{colorToHexRe:/(.*?)rgb\((\d+),\s*(\d+),\s*(\d+)\)/,rgbRe:/\s*rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)\s*/,hexRe:/\s*#([0-9a-fA-F][0-9a-fA-F]?)([0-9a-fA-F][0-9a-fA-F]?)([0-9a-fA-F][0-9a-fA-F]?)\s*/,lightnessFactor:0.2,constructor:function(d,c,a){var b=this,e=Ext.Number.constrain;b.r=e(d,0,255);b.g=e(c,0,255);b.b=e(a,0,255)},getRed:function(){return this.r},getGreen:function(){return this.g},getBlue:function(){return this.b},getRGB:function(){var a=this;return[a.r,a.g,a.b]},getHSL:function(){var j=this,a=j.r/255,i=j.g/255,k=j.b/255,m=Math.max(a,i,k),d=Math.min(a,i,k),n=m-d,e,p=0,c=0.5*(m+d);if(d!=m){p=(c<0.5)?n/(m+d):n/(2-m-d);if(a==m){e=60*(i-k)/n}else{if(i==m){e=120+60*(k-a)/n}else{e=240+60*(a-i)/n}}if(e<0){e+=360}if(e>=360){e-=360}}return[e,p,c]},getLighter:function(b){var a=this.getHSL();b=b||this.lightnessFactor;a[2]=Ext.Number.constrain(a[2]+b,0,1);return this.fromHSL(a[0],a[1],a[2])},getDarker:function(a){a=a||this.lightnessFactor;return this.getLighter(-a)},toString:function(){var h=this,c=Math.round,e=c(h.r).toString(16),d=c(h.g).toString(16),a=c(h.b).toString(16);e=(e.length==1)?"0"+e:e;d=(d.length==1)?"0"+d:d;a=(a.length==1)?"0"+a:a;return["#",e,d,a].join("")},toHex:function(b){if(Ext.isArray(b)){b=b[0]}if(!Ext.isString(b)){return""}if(b.substr(0,1)==="#"){return b}var e=this.colorToHexRe.exec(b);if(Ext.isArray(e)){var g=parseInt(e[2],10),d=parseInt(e[3],10),a=parseInt(e[4],10),c=a|(d<<8)|(g<<16);return e[1]+"#"+("000000"+c.toString(16)).slice(-6)}else{return""}},fromString:function(i){var c,e,d,a,h=parseInt;if((i.length==4||i.length==7)&&i.substr(0,1)==="#"){c=i.match(this.hexRe);if(c){e=h(c[1],16)>>0;d=h(c[2],16)>>0;a=h(c[3],16)>>0;if(i.length==4){e+=(e*16);d+=(d*16);a+=(a*16)}}}else{c=i.match(this.rgbRe);if(c){e=c[1];d=c[2];a=c[3]}}return(typeof e=="undefined")?undefined:Ext.create("Ext.draw.Color",e,d,a)},getGrayscale:function(){return this.r*0.3+this.g*0.59+this.b*0.11},fromHSL:function(g,p,d){var a,b,c,e,k=[],n=Math.abs,j=Math.floor;if(p==0||g==null){k=[d,d,d]}else{g/=60;a=p*(1-n(2*d-1));b=a*(1-n(g-2*j(g/2)-1));c=d-a/2;switch(j(g)){case 0:k=[a,b,0];break;case 1:k=[b,a,0];break;case 2:k=[0,a,b];break;case 3:k=[0,b,a];break;case 4:k=[b,0,a];break;case 5:k=[a,0,b];break}k=[k[0]+c,k[1]+c,k[2]+c]}return Ext.create("Ext.draw.Color",k[0]*255,k[1]*255,k[2]*255)}},function(){var a=this.prototype;this.addStatics({fromHSL:function(){return a.fromHSL.apply(a,arguments)},fromString:function(){return a.fromString.apply(a,arguments)},toHex:function(){return a.toHex.apply(a,arguments)}})});Ext.define("Ext.dd.StatusProxy",{animRepair:false,constructor:function(a){Ext.apply(this,a);this.id=this.id||Ext.id();this.proxy=Ext.createWidget("component",{floating:true,id:this.id,html:'
',cls:Ext.baseCSSPrefix+"dd-drag-proxy "+this.dropNotAllowed,shadow:!a||a.shadow!==false,renderTo:document.body});this.el=this.proxy.el;this.el.show();this.el.setVisibilityMode(Ext.core.Element.VISIBILITY);this.el.hide();this.ghost=Ext.get(this.el.dom.childNodes[1]);this.dropStatus=this.dropNotAllowed},dropAllowed:Ext.baseCSSPrefix+"dd-drop-ok",dropNotAllowed:Ext.baseCSSPrefix+"dd-drop-nodrop",setStatus:function(a){a=a||this.dropNotAllowed;if(this.dropStatus!=a){this.el.replaceCls(this.dropStatus,a);this.dropStatus=a}},reset:function(a){this.el.dom.className=Ext.baseCSSPrefix+"dd-drag-proxy "+this.dropNotAllowed;this.dropStatus=this.dropNotAllowed;if(a){this.ghost.update("")}},update:function(a){if(typeof a=="string"){this.ghost.update(a)}else{this.ghost.update("");a.style.margin="0";this.ghost.dom.appendChild(a)}var b=this.ghost.dom.firstChild;if(b){Ext.fly(b).setStyle("float","none")}},getEl:function(){return this.el},getGhost:function(){return this.ghost},hide:function(a){this.proxy.hide();if(a){this.reset(true)}},stop:function(){if(this.anim&&this.anim.isAnimated&&this.anim.isAnimated()){this.anim.stop()}},show:function(){this.proxy.show();this.proxy.toFront()},sync:function(){this.proxy.el.sync()},repair:function(b,c,a){this.callback=c;this.scope=a;if(b&&this.animRepair!==false){this.el.addCls(Ext.baseCSSPrefix+"dd-drag-repair");this.el.hideUnders(true);this.anim=this.el.animate({duration:this.repairDuration||500,easing:"ease-out",to:{x:b[0],y:b[1]},stopAnimation:true,callback:this.afterRepair,scope:this})}else{this.afterRepair()}},afterRepair:function(){this.hide(true);if(typeof this.callback=="function"){this.callback.call(this.scope||this)}this.callback=null;this.scope=null},destroy:function(){Ext.destroy(this.ghost,this.proxy,this.el)}});Ext.define("Ext.panel.Proxy",{alternateClassName:"Ext.dd.PanelProxy",constructor:function(a,b){this.panel=a;this.id=this.panel.id+"-ddproxy";Ext.apply(this,b)},insertProxy:true,setStatus:Ext.emptyFn,reset:Ext.emptyFn,update:Ext.emptyFn,stop:Ext.emptyFn,sync:Ext.emptyFn,getEl:function(){return this.ghost.el},getGhost:function(){return this.ghost},getProxy:function(){return this.proxy},hide:function(){if(this.ghost){if(this.proxy){this.proxy.remove();delete this.proxy}this.panel.unghost(null,false);delete this.ghost}},show:function(){if(!this.ghost){var a=this.panel.getSize();this.panel.el.setVisibilityMode(Ext.core.Element.DISPLAY);this.ghost=this.panel.ghost();if(this.insertProxy){this.proxy=this.panel.el.insertSibling({cls:Ext.baseCSSPrefix+"panel-dd-spacer"});this.proxy.setSize(a)}}},repair:function(b,c,a){this.hide();if(typeof c=="function"){c.call(a||this)}},moveProxy:function(a,b){if(this.proxy){a.insertBefore(this.proxy.dom,b)}}});Ext.define("Ext.layout.component.AbstractDock",{extend:"Ext.layout.component.Component",type:"dock",autoSizing:true,beforeLayout:function(){var a=this.callParent(arguments);if(a!==false&&(!this.initializedBorders||this.childrenChanged)&&(!this.owner.border||this.owner.manageBodyBorders)){this.handleItemBorders();this.initializedBorders=true}return a},handleItemBorders:function(){var a=this.owner,e=a.body,m=this.getLayoutItems(),h={top:[],right:[],bottom:[],left:[]},b=this.borders,d={top:"bottom",right:"left",bottom:"top",left:"right"},c,j,l,k,g;for(c=0,j=m.length;c=0){return Ext.functionFactory("obj","return obj"+(b>0?".":"")+c)}}return function(d){return d[c]}}}()});Ext.define("Ext.data.writer.Json",{extend:"Ext.data.writer.Writer",alternateClassName:"Ext.data.JsonWriter",alias:"writer.json",root:undefined,encode:false,allowSingle:true,writeRecords:function(b,c){var a=this.root;if(this.allowSingle&&c.length==1){c=c[0]}if(this.encode){if(a){b.params[a]=Ext.encode(c)}else{}}else{b.jsonData=b.jsonData||{};if(a){b.jsonData[a]=c}else{b.jsonData=c}}return b}});Ext.define("Ext.data.proxy.Proxy",{alias:"proxy.proxy",alternateClassName:["Ext.data.DataProxy","Ext.data.Proxy"],requires:["Ext.data.reader.Json","Ext.data.writer.Json"],uses:["Ext.data.Batch","Ext.data.Operation","Ext.data.Model"],mixins:{observable:"Ext.util.Observable"},batchOrder:"create,update,destroy",batchActions:true,defaultReaderType:"json",defaultWriterType:"json",isProxy:true,constructor:function(a){a=a||{};if(a.model===undefined){delete a.model}this.mixins.observable.constructor.call(this,a);if(this.model!==undefined&&!(this.model instanceof Ext.data.Model)){this.setModel(this.model)}},setModel:function(b,c){this.model=Ext.ModelManager.getModel(b);var a=this.reader,d=this.writer;this.setReader(a);this.setWriter(d);if(c&&this.store){this.store.setModel(this.model)}},getModel:function(){return this.model},setReader:function(a){var b=this;if(a===undefined||typeof a=="string"){a={type:a}}if(a.isReader){a.setModel(b.model)}else{Ext.applyIf(a,{proxy:b,model:b.model,type:b.defaultReaderType});a=Ext.createByAlias("reader."+a.type,a)}b.reader=a;return b.reader},getReader:function(){return this.reader},setWriter:function(a){if(a===undefined||typeof a=="string"){a={type:a}}if(!(a instanceof Ext.data.writer.Writer)){Ext.applyIf(a,{model:this.model,type:this.defaultWriterType});a=Ext.createByAlias("writer."+a.type,a)}this.writer=a;return this.writer},getWriter:function(){return this.writer},create:Ext.emptyFn,read:Ext.emptyFn,update:Ext.emptyFn,destroy:Ext.emptyFn,batch:function(d,e){var g=this,c=Ext.create("Ext.data.Batch",{proxy:g,listeners:e||{}}),b=g.batchActions,a;Ext.each(g.batchOrder.split(","),function(h){a=d[h];if(a){if(b){c.add(Ext.create("Ext.data.Operation",{action:h,records:a}))}else{Ext.each(a,function(i){c.add(Ext.create("Ext.data.Operation",{action:h,records:[i]}))})}}},g);c.start();return c}},function(){Ext.data.DataProxy=this});Ext.define("Ext.data.proxy.Server",{extend:"Ext.data.proxy.Proxy",alias:"proxy.server",alternateClassName:"Ext.data.ServerProxy",uses:["Ext.data.Request"],pageParam:"page",startParam:"start",limitParam:"limit",groupParam:"group",sortParam:"sort",filterParam:"filter",directionParam:"dir",simpleSortMode:false,noCache:true,cacheString:"_dc",timeout:30000,constructor:function(a){var b=this;a=a||{};this.addEvents("exception");b.callParent([a]);b.extraParams=a.extraParams||{};b.api=a.api||{};b.nocache=b.noCache},create:function(){return this.doRequest.apply(this,arguments)},read:function(){return this.doRequest.apply(this,arguments)},update:function(){return this.doRequest.apply(this,arguments)},destroy:function(){return this.doRequest.apply(this,arguments)},buildRequest:function(a){var c=Ext.applyIf(a.params||{},this.extraParams||{}),b;c=Ext.applyIf(c,this.getParams(c,a));if(a.id&&!c.id){c.id=a.id}b=Ext.create("Ext.data.Request",{params:c,action:a.action,records:a.records,operation:a,url:a.url});b.url=this.buildUrl(b);a.request=b;return b},processResponse:function(n,c,e,d,m,p){var k=this,j,q,b,a,l,h,g;if(n===true){j=k.getReader();q=j.read(k.extractResponseData(d));b=q.records;a=b.length;if(q.success!==false){l=Ext.create("Ext.util.MixedCollection",true,function(i){return i.getId()});l.addAll(c.records);for(g=0;g0){s[c]=t.encodeSorters(q)}if(e&&a&&a.length>0){if(i){s[e]=a[0].property;s[k]=a[0].direction}else{s[e]=t.encodeSorters(a)}}if(m&&j&&j.length>0){s[m]=t.encodeFilters(j)}return s},buildUrl:function(c){var b=this,a=b.getUrl(c);if(b.noCache){a=Ext.urlAppend(a,Ext.String.format("{0}={1}",b.cacheString,Ext.Date.now()))}return a},getUrl:function(a){return a.url||this.api[a.action]||this.url},doRequest:function(a,c,b){},afterRequest:Ext.emptyFn,onDestroy:function(){Ext.destroy(this.reader,this.writer)}});Ext.define("Ext.data.proxy.Ajax",{requires:["Ext.util.MixedCollection","Ext.Ajax"],extend:"Ext.data.proxy.Server",alias:"proxy.ajax",alternateClassName:["Ext.data.HttpProxy","Ext.data.AjaxProxy"],actionMethods:{create:"POST",read:"GET",update:"POST",destroy:"POST"},doRequest:function(a,e,b){var d=this.getWriter(),c=this.buildRequest(a,e,b);if(a.allowWrite()){c=d.write(c)}Ext.apply(c,{headers:this.headers,timeout:this.timeout,scope:this,callback:this.createRequestCallback(c,a,e,b),method:this.getMethod(c),disableCaching:false});Ext.Ajax.request(c);return c},getMethod:function(a){return this.actionMethods[a.action]},createRequestCallback:function(d,a,e,b){var c=this;return function(h,i,g){c.processResponse(i,a,d,g,e,b)}}},function(){Ext.data.HttpProxy=this});Ext.define("Ext.data.Model",{alternateClassName:"Ext.data.Record",mixins:{observable:"Ext.util.Observable"},requires:["Ext.ModelManager","Ext.data.Field","Ext.data.Errors","Ext.data.Operation","Ext.data.validations","Ext.data.proxy.Ajax","Ext.util.MixedCollection"],onClassExtended:function(a,b){var c=b.onBeforeClassCreated;b.onBeforeClassCreated=function(d,y){var x=this,z=Ext.getClassName(d),m=d.prototype,r=d.prototype.superclass,e=y.validations||[],p=y.fields||[],t=y.associations||[],s=y.belongsTo,n=y.hasMany,v=new Ext.util.MixedCollection(false,function(i){return i.name}),u=new Ext.util.MixedCollection(false,function(i){return i.name}),l=r.validations,w=r.fields,h=r.associations,g,q,j,k=[];d.modelName=z;m.modelName=z;if(l){e=l.concat(e)}y.validations=e;if(w){p=w.items.concat(p)}for(q=0,j=p.length;q0){k=h.data.items;u=k.length;for(m=0;m1;if(a||Ext.isArray(g[0])){h=a?g:g[0];j.suspendLayout=true;for(c=0,e=h.length;c "+a)[0]||null},down:function(a){return this.query(a)[0]||null},show:function(){this.callParent(arguments);this.performDeferredLayouts();return this},performDeferredLayouts:function(){var e=this.layoutOnShow,d=e.getCount(),b=0,a,c;for(;b0){a.hideAll()}},a)},hideAll:function(){var a=this.active,b;if(a&&a.length>0){b=a.clone();b.each(function(c){c.hide()});return true}return false},onHide:function(a){var b=this,c=b.active;c.remove(a);if(c.length<1){Ext.getDoc().un("mousedown",b.onMouseDown,b);b.attached=false}},onShow:function(a){var e=this,g=e.active,d=g.last(),c=e.attached,b=a.getEl(),h;e.lastShow=new Date();g.add(a);if(!c){Ext.getDoc().on("mousedown",e.onMouseDown,e);e.attached=true}a.toFront()},onBeforeHide:function(a){if(a.activeChild){a.activeChild.hide()}if(a.autoHideTimer){clearTimeout(a.autoHideTimer);delete a.autoHideTimer}},onBeforeShow:function(a){var c=this.active,b=a.parentMenu;c.remove(a);if(!b&&!a.allowOtherMenus){this.hideAll()}else{if(b&&b.activeChild&&a!=b.activeChild){b.activeChild.hide()}}},onMouseDown:function(d){var b=this,c=b.active,a=b.lastShow;if(Ext.Date.getElapsed(a)>50&&c.length>0&&!d.getTarget("."+Ext.baseCSSPrefix+"menu")){b.hideAll()}},register:function(b){var a=this;if(!a.active){a.init()}if(b.floating){a.menus[b.id]=b;b.on({beforehide:a.onBeforeHide,hide:a.onHide,beforeshow:a.onBeforeShow,show:a.onShow,scope:a})}},get:function(b){var a=this.menus;if(typeof b=="string"){if(!a){return null}return a[b]}else{if(b.isMenu){return b}else{if(Ext.isArray(b)){return Ext.create("Ext.menu.Menu",{items:b})}else{return Ext.ComponentManager.create(b,"menu")}}}},unregister:function(d){var a=this,b=a.menus,c=a.active;delete b[d.id];c.remove(d);d.un({beforehide:a.onBeforeHide,hide:a.onHide,beforeshow:a.onBeforeShow,show:a.onShow,scope:a})},registerCheckable:function(c){var a=this.groups,b=c.group;if(b){if(!a[b]){a[b]=[]}a[b].push(c)}},unregisterCheckable:function(c){var a=this.groups,b=c.group;if(b){Ext.Array.remove(a[b],c)}},onCheckChange:function(d,g){var a=this.groups,c=d.group,b=0,j,e,h;if(c&&g){j=a[c];e=j.length;for(;b tabIndex="{tabIndex}" role="link">{text}',scale:"small",allowedScales:["small","medium","large"],iconAlign:"left",arrowAlign:"right",arrowCls:"arrow",maskOnDisable:false,initComponent:function(){var a=this;a.callParent(arguments);a.addEvents("click","toggle","mouseover","mouseout","menushow","menuhide","menutriggerover","menutriggerout");if(a.menu){a.split=true;a.menu=Ext.menu.Manager.get(a.menu);a.menu.ownerCt=a}if(a.url){a.href=a.url}if(a.href&&!a.hasOwnProperty("preventDefault")){a.preventDefault=false}if(Ext.isString(a.toggleGroup)){a.enableToggle=true}},initAria:function(){this.callParent();var a=this.getActionEl();if(this.menu){a.dom.setAttribute("aria-haspopup",true)}},getActionEl:function(){return this.btnEl},getFocusEl:function(){return this.btnEl},setButtonCls:function(){var c=this,b=c.el,a=[];if(c.useSetClass){if(!Ext.isEmpty(c.oldCls)){c.removeClsWithUI(c.oldCls);c.removeClsWithUI(c.pressedCls)}if(c.iconCls||c.icon){if(c.text){a.push("icon-text-"+c.iconAlign)}else{a.push("icon")}}else{if(c.text){a.push("noicon")}}c.oldCls=a;c.addClsWithUI(a);c.addClsWithUI(c.pressed?c.pressedCls:null)}},onRender:function(d,a){var e=this,c,b;Ext.applyIf(e.renderData,e.getTemplateArgs());Ext.applyIf(e.renderSelectors,{btnEl:e.href?"a":"button",btnWrap:"em",btnInnerEl:"."+e.baseCls+"-inner",btnIconEl:"."+e.baseCls+"-icon"});if(e.scale){e.ui=e.ui+"-"+e.scale}e.callParent(arguments);if(e.split&&e.arrowTooltip){e.arrowEl.dom[e.tooltipType]=e.arrowTooltip}e.mon(e.btnEl,{scope:e,focus:e.onFocus,blur:e.onBlur});b=e.el;if(e.icon){e.setIcon(e.icon)}if(e.iconCls){e.setIconCls(e.iconCls)}if(e.tooltip){e.setTooltip(e.tooltip,true)}if(e.handleMouseEvents){e.mon(b,{scope:e,mouseover:e.onMouseOver,mouseout:e.onMouseOut,mousedown:e.onMouseDown});if(e.split){e.mon(b,{mousemove:e.onMouseMove,scope:e})}}if(e.menu){e.mon(e.menu,{scope:e,show:e.onMenuShow,hide:e.onMenuHide});e.keyMap=Ext.create("Ext.util.KeyMap",e.el,{key:Ext.EventObject.DOWN,handler:e.onDownKey,scope:e})}if(e.repeat){c=Ext.create("Ext.util.ClickRepeater",b,Ext.isObject(e.repeat)?e.repeat:{});e.mon(c,"click",e.onRepeatClick,e)}else{e.mon(b,e.clickEvent,e.onClick,e)}Ext.ButtonToggleManager.register(e)},getTemplateArgs:function(){var c=this,b=c.getPersistentBtnPadding(),a="";if(Math.max.apply(Math,b)>0){a="margin:"+Ext.Array.map(b,function(d){return -d+"px"}).join(" ")}return{href:c.getHref(),target:c.target||"_blank",type:c.type,splitCls:c.getSplitCls(),cls:c.cls,text:c.text||" ",tabIndex:c.tabIndex,innerSpanStyle:a}},getHref:function(){var a=this,b=Ext.apply({},a.baseParams);b=Ext.apply(b,a.params);return a.href?Ext.urlAppend(a.href,Ext.Object.toQueryString(b)):false},setParams:function(a){this.params=a;this.btnEl.dom.href=this.getHref()},getSplitCls:function(){var a=this;return a.split?(a.baseCls+"-"+a.arrowCls)+" "+(a.baseCls+"-"+a.arrowCls+"-"+a.arrowAlign):""},afterRender:function(){var a=this;a.useSetClass=true;a.setButtonCls();a.doc=Ext.getDoc();this.callParent(arguments)},setIconCls:function(b){var c=this,a=c.btnIconEl;if(a){a.removeCls(c.iconCls);a.addCls(b||"");c.setButtonCls()}c.iconCls=b;return c},setTooltip:function(c,a){var b=this;if(b.rendered){if(!a){b.clearTip()}if(Ext.isObject(c)){Ext.tip.QuickTipManager.register(Ext.apply({target:b.btnEl.id},c));b.tooltip=c}else{b.btnEl.dom.setAttribute("data-"+this.tooltipType,c)}}else{b.tooltip=c}return b},getRefItems:function(a){var c=this.menu,b;if(c){b=c.getRefItems(a);b.unshift(c)}return b||[]},clearTip:function(){if(Ext.isObject(this.tooltip)){Ext.tip.QuickTipManager.unregister(this.btnEl)}},beforeDestroy:function(){var a=this;if(a.rendered){a.clearTip()}if(a.menu&&a.destroyMenu!==false){Ext.destroy(a.btnEl,a.btnInnerEl,a.menu)}Ext.destroy(a.repeater)},onDestroy:function(){var a=this;if(a.rendered){a.doc.un("mouseover",a.monitorMouseOver,a);a.doc.un("mouseup",a.onMouseUp,a);delete a.doc;delete a.btnEl;delete a.btnInnerEl;Ext.ButtonToggleManager.unregister(a);Ext.destroy(a.keyMap);delete a.keyMap}a.callParent()},setHandler:function(b,a){this.handler=b;this.scope=a;return this},setText:function(b){var a=this;a.text=b;if(a.el){a.btnInnerEl.update(b||" ");a.setButtonCls()}a.doComponentLayout();return a},setIcon:function(a){var b=this,c=b.btnInnerEl;b.icon=a;if(c){c.setStyle("background-image",a?"url("+a+")":"");b.setButtonCls()}return b},getText:function(){return this.text},toggle:function(c,a){var b=this;c=c===undefined?!b.pressed:!!c;if(c!==b.pressed){if(b.rendered){b[c?"addClsWithUI":"removeClsWithUI"](b.pressedCls)}b.btnEl.dom.setAttribute("aria-pressed",c);b.pressed=c;if(!a){b.fireEvent("toggle",b,c);Ext.callback(b.toggleHandler,b.scope||b,[b,c])}}return b},showMenu:function(){var a=this;if(a.rendered&&a.menu){if(a.tooltip){Ext.tip.QuickTipManager.getQuickTip().cancelShow(a.btnEl)}if(a.menu.isVisible()){a.menu.hide()}a.menu.showBy(a.el,a.menuAlign)}return a},hideMenu:function(){if(this.hasVisibleMenu()){this.menu.hide()}return this},hasVisibleMenu:function(){var a=this.menu;return a&&a.rendered&&a.isVisible()},onRepeatClick:function(a,b){this.onClick(b)},onClick:function(b){var a=this;if(a.preventDefault||(a.disabled&&a.getHref())&&b){b.preventDefault()}if(b.button!==0){return}if(!a.disabled){if(a.enableToggle&&(a.allowDepress!==false||!a.pressed)){a.toggle()}if(a.menu&&!a.hasVisibleMenu()&&!a.ignoreNextClick){a.showMenu()}a.fireEvent("click",a,b);if(a.handler){a.handler.call(a.scope||a,a,b)}a.onBlur()}},onMouseOver:function(b){var a=this;if(!a.disabled&&!b.within(a.el,true,true)){a.onMouseEnter(b)}},onMouseOut:function(b){var a=this;if(!b.within(a.el,true,true)){if(a.overMenuTrigger){a.onMenuTriggerOut(b)}a.onMouseLeave(b)}},onMouseMove:function(h){var d=this,c=d.el,g=d.overMenuTrigger,b,a;if(d.split){if(d.arrowAlign==="right"){b=h.getX()-c.getX();a=c.getWidth()}else{b=h.getY()-c.getY();a=c.getHeight()}if(b>(a-d.getTriggerSize())){if(!g){d.onMenuTriggerOver(h)}}else{if(g){d.onMenuTriggerOut(h)}}}},getTriggerSize:function(){var e=this,c=e.triggerSize,b,a,d;if(c===d){b=e.arrowAlign;a=b.charAt(0);c=e.triggerSize=e.el.getFrameWidth(a)+e.btnWrap.getFrameWidth(a)+(e.frameSize&&e.frameSize[b]||0)}return c},onMouseEnter:function(b){var a=this;a.addClsWithUI(a.overCls);a.fireEvent("mouseover",a,b)},onMouseLeave:function(b){var a=this;a.removeClsWithUI(a.overCls);a.fireEvent("mouseout",a,b)},onMenuTriggerOver:function(b){var a=this;a.overMenuTrigger=true;a.fireEvent("menutriggerover",a,a.menu,b)},onMenuTriggerOut:function(b){var a=this;delete a.overMenuTrigger;a.fireEvent("menutriggerout",a,a.menu,b)},enable:function(a){var b=this;b.callParent(arguments);b.removeClsWithUI("disabled");return b},disable:function(a){var b=this;b.callParent(arguments);b.addClsWithUI("disabled");return b},setScale:function(c){var a=this,b=a.ui.replace("-"+a.scale,"");if(!Ext.Array.contains(a.allowedScales,c)){throw ("#setScale: scale must be an allowed scale ("+a.allowedScales.join(", ")+")")}a.scale=c;a.setUI(b)},setUI:function(b){var a=this;if(a.scale&&!b.match(a.scale)){b=b+"-"+a.scale}a.callParent([b])},onFocus:function(b){var a=this;if(!a.disabled){a.addClsWithUI(a.focusCls)}},onBlur:function(b){var a=this;a.removeClsWithUI(a.focusCls)},onMouseDown:function(b){var a=this;if(!a.disabled&&b.button===0){a.addClsWithUI(a.pressedCls);a.doc.on("mouseup",a.onMouseUp,a)}},onMouseUp:function(b){var a=this;if(b.button===0){if(!a.pressed){a.removeClsWithUI(a.pressedCls)}a.doc.un("mouseup",a.onMouseUp,a)}},onMenuShow:function(b){var a=this;a.ignoreNextClick=0;a.addClsWithUI(a.menuActiveCls);a.fireEvent("menushow",a,a.menu)},onMenuHide:function(b){var a=this;a.removeClsWithUI(a.menuActiveCls);a.ignoreNextClick=Ext.defer(a.restoreClick,250,a);a.fireEvent("menuhide",a,a.menu)},restoreClick:function(){this.ignoreNextClick=0},onDownKey:function(){var a=this;if(!a.disabled){if(a.menu){a.showMenu()}}},getPersistentBtnPadding:function(){var a=Ext.button.Button,e=a.persistentPadding,c,b,d,g;if(!e){e=a.persistentPadding=[0,0,0,0];if(!Ext.isIE){c=Ext.create("Ext.button.Button",{renderTo:Ext.getBody(),text:"test",style:"position:absolute;top:-999px;"});d=c.btnEl;g=c.btnInnerEl;d.setSize(null,null);b=g.getOffsetsTo(d);e[0]=b[1];e[1]=d.getWidth()-g.getWidth()-b[0];e[2]=d.getHeight()-g.getHeight()-b[1];e[3]=b[0];c.destroy()}}return e}},function(){var a={},e,d,b;function c(g,h){if(h){e=a[g.toggleGroup];for(d=0,b=e.length;d(None)',constructor:function(b){var a=this;a.callParent(arguments);b.beforeLayout=Ext.Function.createInterceptor(b.beforeLayout,this.clearOverflow,this);a.afterCtCls=a.afterCtCls||Ext.baseCSSPrefix+"box-menu-"+b.parallelAfter;a.menuItems=[]},onRemove:function(a){Ext.Array.remove(this.menuItems,a)},handleOverflow:function(a,h){var g=this,e=g.layout,c="get"+e.parallelPrefixCap,b={},d=[null,null];g.callParent(arguments);this.createMenu(a,h);b[e.perpendicularPrefix]=h[e.perpendicularPrefix];b[e.parallelPrefix]=h[e.parallelPrefix]-g.afterCt[c]();d[e.perpendicularSizeIndex]=(a.meta.maxSize-g.menuTrigger["get"+e.perpendicularPrefixCap]())/2;g.menuTrigger.setPosition.apply(g.menuTrigger,d);return{targetSize:b}},clearOverflow:function(a,j){var h=this,g=j?j.width+(h.afterCt?h.afterCt.getWidth():0):0,b=h.menuItems,c=0,e=b.length,d;h.hideTrigger();for(;cb){l.menuItems.push(g.component);g.component.hide()}}},createInnerElements:function(){var a=this,b=a.layout.getRenderTarget();if(!this.afterCt){b.addCls(Ext.baseCSSPrefix+a.layout.direction+"-box-overflow-body");this.afterCt=b.insertSibling({cls:Ext.layout.container.Box.prototype.innerCls+" "+this.afterCtCls},"before")}},destroy:function(){Ext.destroy(this.menu,this.menuTrigger)}});Ext.define("Ext.util.Region",{requires:["Ext.util.Offset"],statics:{getRegion:function(a){return Ext.fly(a).getPageBox(true)},from:function(a){return new this(a.top,a.right,a.bottom,a.left)}},constructor:function(d,g,a,c){var e=this;e.y=e.top=e[1]=d;e.right=g;e.bottom=a;e.x=e.left=e[0]=c},contains:function(b){var a=this;return(b.x>=a.x&&b.right<=a.right&&b.y>=a.y&&b.bottom<=a.bottom)},intersect:function(h){var g=this,d=Math.max(g.y,h.y),e=Math.min(g.right,h.right),a=Math.min(g.bottom,h.bottom),c=Math.max(g.x,h.x);if(a>d&&e>c){return new this.self(d,e,a,c)}else{return false}},union:function(h){var g=this,d=Math.min(g.y,h.y),e=Math.max(g.right,h.right),a=Math.max(g.bottom,h.bottom),c=Math.min(g.x,h.x);return new this.self(d,e,a,c)},constrainTo:function(b){var a=this,c=Ext.Number.constrain;a.top=a.y=c(a.top,b.y,b.bottom);a.bottom=c(a.bottom,b.y,b.bottom);a.left=a.x=c(a.left,b.x,b.right);a.right=c(a.right,b.x,b.right);return a},adjust:function(d,g,a,c){var e=this;e.top=e.y+=d;e.left=e.x+=c;e.right+=g;e.bottom+=a;return e},getOutOfBoundOffset:function(a,b){if(!Ext.isObject(a)){if(a=="x"){return this.getOutOfBoundOffsetX(b)}else{return this.getOutOfBoundOffsetY(b)}}else{b=a;var c=Ext.create("Ext.util.Offset");c.x=this.getOutOfBoundOffsetX(b.x);c.y=this.getOutOfBoundOffsetY(b.y);return c}},getOutOfBoundOffsetX:function(a){if(a<=this.x){return this.x-a}else{if(a>=this.right){return this.right-a}}return 0},getOutOfBoundOffsetY:function(a){if(a<=this.y){return this.y-a}else{if(a>=this.bottom){return this.bottom-a}}return 0},isOutOfBound:function(a,b){if(!Ext.isObject(a)){if(a=="x"){return this.isOutOfBoundX(b)}else{return this.isOutOfBoundY(b)}}else{b=a;return(this.isOutOfBoundX(b.x)||this.isOutOfBoundY(b.y))}},isOutOfBoundX:function(a){return(athis.right)},isOutOfBoundY:function(a){return(athis.bottom)},restrict:function(b,d,a){if(Ext.isObject(b)){var c;a=d;d=b;if(d.copy){c=d.copy()}else{c={x:d.x,y:d.y}}c.x=this.restrictX(d.x,a);c.y=this.restrictY(d.y,a);return c}else{if(b=="x"){return this.restrictX(d,a)}else{return this.restrictY(d,a)}}},restrictX:function(b,a){if(!a){a=1}if(b<=this.x){b-=(b-this.x)*a}else{if(b>=this.right){b-=(b-this.right)*a}}return b},restrictY:function(b,a){if(!a){a=1}if(b<=this.y){b-=(b-this.y)*a}else{if(b>=this.bottom){b-=(b-this.bottom)*a}}return b},getSize:function(){return{width:this.right-this.x,height:this.bottom-this.y}},copy:function(){return new this.self(this.y,this.right,this.bottom,this.x)},copyFrom:function(b){var a=this;a.top=a.y=a[1]=b.y;a.right=b.right;a.bottom=b.bottom;a.left=a.x=a[0]=b.x;return this},toString:function(){return"Region["+this.top+","+this.right+","+this.bottom+","+this.left+"]"},translateBy:function(a,c){if(arguments.length==1){c=a.y;a=a.x}var b=this;b.top=b.y+=c;b.right+=a;b.bottom+=c;b.left=b.x+=a;return b},round:function(){var a=this;a.top=a.y=Math.round(a.y);a.right=Math.round(a.right);a.bottom=Math.round(a.bottom);a.left=a.x=Math.round(a.x);return a},equals:function(a){return(this.top==a.top&&this.right==a.right&&this.bottom==a.bottom&&this.left==a.left)}});Ext.define("Ext.dd.DragDropManager",{singleton:true,requires:["Ext.util.Region"],uses:["Ext.tip.QuickTipManager"],alternateClassName:["Ext.dd.DragDropMgr","Ext.dd.DDM"],ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,init:function(){this.initialized=true},POINT:0,INTERSECT:1,mode:0,_execOnAll:function(c,b){for(var d in this.ids){for(var a in this.ids[d]){var e=this.ids[d][a];if(!this.isTypeOfDD(e)){continue}e[c].apply(e,b)}}},_onLoad:function(){this.init();var a=Ext.EventManager;a.on(document,"mouseup",this.handleMouseUp,this,true);a.on(document,"mousemove",this.handleMouseMove,this,true);a.on(window,"unload",this._onUnload,this,true);a.on(window,"resize",this._onResize,this,true)},_onResize:function(a){this._execOnAll("resetConstraints",[])},lock:function(){this.locked=true},unlock:function(){this.locked=false},isLocked:function(){return this.locked},locationCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:350,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,regDragDrop:function(b,a){if(!this.initialized){this.init()}if(!this.ids[a]){this.ids[a]={}}this.ids[a][b.id]=b},removeDDFromGroup:function(c,a){if(!this.ids[a]){this.ids[a]={}}var b=this.ids[a];if(b&&b[c.id]){delete b[c.id]}},_remove:function(b){for(var a in b.groups){if(a&&this.ids[a]&&this.ids[a][b.id]){delete this.ids[a][b.id]}}delete this.handleIds[b.id]},regHandle:function(b,a){if(!this.handleIds[b]){this.handleIds[b]={}}this.handleIds[b][a]=a},isDragDrop:function(a){return(this.getDDById(a))?true:false},getRelated:function(g,b){var e=[];for(var d in g.groups){for(var c in this.ids[d]){var a=this.ids[d][c];if(!this.isTypeOfDD(a)){continue}if(!b||a.isTarget){e[e.length]=a}}}return e},isLegalTarget:function(e,d){var b=this.getRelated(e,true);for(var c=0,a=b.length;cthis.clickPixelThresh||a>this.clickPixelThresh){this.startDrag(this.startX,this.startY)}}if(this.dragThreshMet){this.dragCurrent.b4Drag(c);this.dragCurrent.onDrag(c);if(!this.dragCurrent.moveOnly){this.fireEvents(c,false)}}this.stopEvent(c);return true},fireEvents:function(m,n){var q=this.dragCurrent;if(!q||q.isLocked()){return}var r=m.getPoint();var a=[];var d=[];var k=[];var h=[];var c=[];for(var g in this.dragOvers){var b=this.dragOvers[g];if(!this.isTypeOfDD(b)){continue}if(!this.isOverTarget(r,b,this.mode)){d.push(b)}a[g]=true;delete this.dragOvers[g]}for(var p in q.groups){if("string"!=typeof p){continue}for(g in this.ids[p]){var j=this.ids[p][g];if(!this.isTypeOfDD(j)){continue}if(j.isTarget&&!j.isLocked()&&((j!=q)||(q.ignoreSelf===false))){if(this.isOverTarget(r,j,this.mode)){if(n){h.push(j)}else{if(!a[j.id]){c.push(j)}else{k.push(j)}this.dragOvers[j.id]=j}}}}}if(this.mode){if(d.length){q.b4DragOut(m,d);q.onDragOut(m,d)}if(c.length){q.onDragEnter(m,c)}if(k.length){q.b4DragOver(m,k);q.onDragOver(m,k)}if(h.length){q.b4DragDrop(m,h);q.onDragDrop(m,h)}}else{var l=0;for(g=0,l=d.length;g2000){}else{setTimeout(this._addListeners,10);if(document&&document.body){this._timeoutCount+=1}}}},handleWasClicked:function(a,c){if(this.isHandle(c,a.id)){return true}else{var b=a.parentNode;while(b){if(this.isHandle(c,b.id)){return true}else{b=b.parentNode}}}return false}},function(){this._addListeners()});Ext.define("Ext.layout.container.Box",{alias:["layout.box"],extend:"Ext.layout.container.Container",alternateClassName:"Ext.layout.BoxLayout",requires:["Ext.layout.container.boxOverflow.None","Ext.layout.container.boxOverflow.Menu","Ext.layout.container.boxOverflow.Scroller","Ext.util.Format","Ext.dd.DragDropManager"],defaultMargins:{top:0,right:0,bottom:0,left:0},padding:"0",pack:"start",type:"box",scrollOffset:0,itemCls:Ext.baseCSSPrefix+"box-item",targetCls:Ext.baseCSSPrefix+"box-layout-ct",innerCls:Ext.baseCSSPrefix+"box-inner",bindToOwnerCtContainer:true,availableSpaceOffset:0,reserveOffset:true,clearInnerCtOnLayout:false,flexSortFn:function(d,c){var e="max"+this.parallelPrefixCap,g=Infinity;d=d.component[e]||g;c=c.component[e]||g;if(!isFinite(d)&&!isFinite(c)){return false}return d-c},minSizeSortFn:function(d,c){return c.available-d.available},constructor:function(a){var b=this;b.callParent(arguments);b.flexSortFn=Ext.Function.bind(b.flexSortFn,b);b.initOverflowHandler()},getChildBox:function(b){b=b.el||this.owner.getComponent(b).el;var a=b.getBox(false,true);return{left:a.left,top:a.top,width:a.width,height:a.height}},calculateChildBox:function(e){var d=this,b=d.calculateChildBoxes(d.getVisibleItems(),d.getLayoutTargetSize()).boxes,c=b.length,a=0;e=d.owner.getComponent(e);for(;ac;e=m(0,c-d-w-(z.reserveOffset?z.availableSpaceOffset:0));if(n){for(ah=0;ah0){for(ah=0;ah0){U[z.perpendicularLeftTop]=R+Math.round(F/2)}}}}t+=(U[u]||0)+D[z.parallelAfter]}return{boxes:S,meta:{calculatedWidth:ai,maxSize:I,nonFlexSize:d,desiredSize:an,minimumSize:y,shortfall:Z,tooNarrow:n}}},onRemove:function(a){this.callParent(arguments);if(this.overflowHandler){this.overflowHandler.onRemove(a)}},initOverflowHandler:function(){var c=this.overflowHandler;if(typeof c=="string"){c={type:c}}var b="None";if(c&&c.type!==undefined){b=c.type}var a=Ext.layout.container.boxOverflow[b];if(a[this.type]){a=a[this.type]}this.overflowHandler=Ext.create("Ext.layout.container.boxOverflow."+b,this,c)},onLayout:function(){this.callParent();if(this.clearInnerCtOnLayout===true&&this.adjustmentPass!==true){this.innerCt.setSize(null,null)}var h=this,c=h.getLayoutTargetSize(),g=h.getVisibleItems(),b=h.calculateChildBoxes(g,c),e=b.boxes,i=b.meta,j,a,d;if(h.autoSize&&b.meta.desiredSize){c[h.parallelPrefix]=b.meta.desiredSize}if(i.shortfall>0){j=h.overflowHandler;a=i.tooNarrow?"handleOverflow":"clearOverflow";d=j[a](b,c);if(d){if(d.targetSize){c=d.targetSize}if(d.recalculate){g=h.getVisibleItems();b=h.calculateChildBoxes(g,c);e=b.boxes}}}else{h.overflowHandler.clearOverflow()}h.layoutTargetLastSize=c;h.childBoxCache=b;h.updateInnerCtSize(c,b);h.updateChildBoxes(e);h.handleTargetOverflow(c)},updateChildBoxes:function(h){var m=this,e=0,c=h.length,q=[],p=Ext.dd.DDM.getDDById(m.innerCt.id),a,g,d,j,k,b;for(;el.calculatedWidth){h.owner.el.setWidth(l.calculatedWidth)}if(h.innerCt.dom.scrollTop){h.innerCt.dom.scrollTop=0}},handleTargetOverflow:function(c){var b=this.getTarget(),d=b.getStyle("overflow"),a;if(d&&d!="hidden"&&!this.adjustmentPass){a=this.getLayoutTargetSize();if(a.width!=c.width||a.height!=c.height){this.adjustmentPass=true;this.onLayout();return true}}delete this.adjustmentPass},isValidParent:function(c,d,a){var b=c.el?c.el.dom:Ext.getDom(c);return(b&&this.innerCt&&b.parentNode===this.innerCt.dom)||false},getRenderTarget:function(){if(!this.innerCt){this.innerCt=this.getTarget().createChild({cls:this.innerCls,role:"presentation"});this.padding=Ext.util.Format.parseBox(this.padding)}return this.innerCt},renderItem:function(d,g){this.callParent(arguments);var c=this,a=d.getEl(),b=a.dom.style,e=d.margins||d.margin;if(e){if(Ext.isString(e)||Ext.isNumber(e)){e=Ext.util.Format.parseBox(e)}else{Ext.applyIf(e,{top:0,right:0,bottom:0,left:0})}}else{e=Ext.apply({},c.defaultMargins)}e.top+=a.getMargin("t");e.right+=a.getMargin("r");e.bottom+=a.getMargin("b");e.left+=a.getMargin("l");b.marginTop=b.marginRight=b.marginBottom=b.marginLeft="0";d.margins=e},destroy:function(){Ext.destroy(this.overflowHandler);this.callParent(arguments)}});Ext.define("Ext.layout.container.HBox",{alias:["layout.hbox"],extend:"Ext.layout.container.Box",alternateClassName:"Ext.layout.HBoxLayout",align:"top",alignCenteringString:"middle",type:"hbox",direction:"horizontal",parallelSizeIndex:0,perpendicularSizeIndex:1,parallelPrefix:"width",parallelPrefixCap:"Width",parallelLT:"l",parallelRB:"r",parallelBefore:"left",parallelBeforeCap:"Left",parallelAfter:"right",parallelPosition:"x",perpendicularPrefix:"height",perpendicularPrefixCap:"Height",perpendicularLT:"t",perpendicularRB:"b",perpendicularLeftTop:"top",perpendicularRightBottom:"bottom",perpendicularPosition:"y",configureItem:function(a){if(a.flex){a.layoutManagedWidth=1}else{a.layoutManagedWidth=2}if(this.align==="stretch"||this.align==="stretchmax"){a.layoutManagedHeight=1}else{a.layoutManagedHeight=2}this.callParent(arguments)}});Ext.define("Ext.layout.container.VBox",{alias:["layout.vbox"],extend:"Ext.layout.container.Box",alternateClassName:"Ext.layout.VBoxLayout",align:"left",alignCenteringString:"center",type:"vbox",direction:"vertical",parallelSizeIndex:1,perpendicularSizeIndex:0,parallelPrefix:"height",parallelPrefixCap:"Height",parallelLT:"t",parallelRB:"b",parallelBefore:"top",parallelBeforeCap:"Top",parallelAfter:"bottom",parallelPosition:"y",perpendicularPrefix:"width",perpendicularPrefixCap:"Width",perpendicularLT:"l",perpendicularRB:"r",perpendicularLeftTop:"left",perpendicularRightBottom:"right",perpendicularPosition:"x",configureItem:function(a){if(a.flex){a.layoutManagedHeight=1}else{a.layoutManagedHeight=2}if(this.align==="stretch"||this.align==="stretchmax"){a.layoutManagedWidth=1}else{a.layoutManagedWidth=2}this.callParent(arguments)}});Ext.define("Ext.FocusManager",{singleton:true,alternateClassName:"Ext.FocusMgr",mixins:{observable:"Ext.util.Observable"},requires:["Ext.ComponentManager","Ext.ComponentQuery","Ext.util.HashMap","Ext.util.KeyNav"],enabled:false,focusElementCls:Ext.baseCSSPrefix+"focus-element",focusFrameCls:Ext.baseCSSPrefix+"focus-frame",whitelist:["textfield"],tabIndexWhitelist:["a","button","embed","frame","iframe","img","input","object","select","textarea"],constructor:function(){var a=this,b=Ext.ComponentQuery;a.addEvents("beforecomponentfocus","componentfocus","disable","enable");a.keyNav=Ext.create("Ext.util.KeyNav",Ext.getDoc(),{disabled:true,scope:a,backspace:a.focusLast,enter:a.navigateIn,esc:a.navigateOut,tab:a.navigateSiblings});a.focusData={};a.subscribers=Ext.create("Ext.util.HashMap");a.focusChain={};Ext.apply(b.pseudos,{focusable:function(g){var d=g.length,j=[],h=0,k,e=function(c){return c&&c.focusable!==false&&b.is(c,"[rendered]:not([destroying]):not([isDestroyed]):not([disabled]){isVisible(true)}{el && c.el.dom && c.el.isVisible()}")};for(;h=d){h=0}else{if(h<0){h=d-1}}k=g[h];if(b.is(k,":focusable")){return[k]}else{if(k.placeholder&&b.is(k.placeholder,":focusable")){return[k.placeholder]}}}return[]},prevFocus:function(d,c){return this.nextFocus(d,c,-1)},root:function(e){var d=e.length,h=[],g=0,j;for(;ge.el.getZIndex()});return d.concat(b)},initDOM:function(b){var c=this,d=" ",a=c.focusFrameCls;if(!Ext.isReady){Ext.onReady(c.initDOM,c);return}if(!c.focusEl){c.focusEl=Ext.getBody().createChild({tabIndex:"-1",cls:c.focusElementCls,html:d})}if(!c.focusFrame&&b.focusFrame){c.focusFrame=Ext.getBody().createChild({cls:a,children:[{cls:a+"-top"},{cls:a+"-bottom"},{cls:a+"-left"},{cls:a+"-right"}],style:"top: -100px; left: -100px;"});c.focusFrame.setVisibilityMode(Ext.core.Element.DISPLAY);c.focusFrameWidth=c.focusFrame.child("."+a+"-top").getHeight();c.focusFrame.hide().setLeftTop(0,0)}},isWhitelisted:function(a){return a&&Ext.Array.some(this.whitelist,function(b){return a.isXType(b)})},navigateIn:function(d){var b=this,a=b.focusedCmp,g,c;if(!a){g=b.getRootComponents();if(g.length){g[0].focus()}}else{c=Ext.ComponentQuery.query(">:focusable",a)[0];if(c){c.focus()}else{if(Ext.isFunction(a.onClick)){d.button=0;a.onClick(d);a.focus()}}}},navigateOut:function(c){var b=this,a;if(!b.focusedCmp||!(a=b.focusedCmp.up(":focusable"))){b.focusEl.focus()}else{a.focus()}return true},navigateSiblings:function(i,b,n){var j=this,a=b||j,p=i.getKey(),g=Ext.EventObject,k=i.shiftKey||p==g.LEFT||p==g.UP,c=p==g.LEFT||p==g.RIGHT||p==g.UP||p==g.DOWN,h=k?"prev":"next",m,d,l;l=(a.focusedCmp&&a.focusedCmp.comp)||a.focusedCmp;if(!l&&!n){return}if(c&&j.isWhitelisted(l)){return true}n=n||l.up();if(n){m=l?Ext.Array.indexOf(n.getRefItems(),l):-1;d=Ext.ComponentQuery.query(">:"+h+"Focus("+m+")",n)[0];if(d&&l!==d){d.focus();return d}}},onComponentBlur:function(b,c){var a=this;if(a.focusedCmp===b){a.previousFocusedCmp=b;delete a.focusedCmp}if(a.focusFrame){a.focusFrame.hide()}},onComponentCreated:function(b,c,a){this.setFocus(a,true,this.options)},onComponentDestroy:function(a){this.setFocus(a,false)},onComponentFocus:function(p,l){var m=this,a=m.focusChain;if(!Ext.ComponentQuery.is(p,":focusable")){m.clearComponent(p);if(a[p.id]){return}var r=p.up();if(r){a[p.id]=true;r.focus()}return}m.focusChain={};clearTimeout(m.cmpFocusDelay);if(arguments.length!==2){m.cmpFocusDelay=Ext.defer(m.onComponentFocus,90,m,[p,l]);return}if(m.fireEvent("beforecomponentfocus",m,p,m.previousFocusedCmp)===false){m.clearComponent(p);return}m.focusedCmp=p;if(m.shouldShowFocusFrame(p)){var t="."+m.focusFrameCls+"-",b=m.focusFrame,g=m.focusFrameWidth,j=p.el.getPageBox(),s=j.top,c=j.left,n=j.width,h=j.height,i=b.child(t+"top"),d=b.child(t+"bottom"),q=b.child(t+"left"),k=b.child(t+"right");i.setWidth(n-2).setLeftTop(c+1,s);d.setWidth(n-2).setLeftTop(c+1,s+h-g);q.setHeight(h-2).setLeftTop(c,s+1);k.setHeight(h-2).setLeftTop(c+n-g,s+1);b.show()}m.fireEvent("componentfocus",m,p,m.previousFocusedCmp)},onComponentHide:function(e){var d=this,g=Ext.ComponentQuery,b=false,a,c;if(d.focusedCmp){a=g.query("[id="+d.focusedCmp.id+"]",e)[0];b=d.focusedCmp.id===e.id||a;if(a){d.clearComponent(a)}}d.clearComponent(e);if(b){c=g.query("^:focusable",e)[0];if(c){c.focus()}}},removeDOM:function(){var a=this;if(a.enabled||a.subscribers.length){return}Ext.destroy(a.focusEl,a.focusFrame);delete a.focusEl;delete a.focusFrame;delete a.focusFrameWidth},removeXTypeFromWhitelist:function(b){var a=this;if(Ext.isArray(b)){Ext.Array.forEach(b,a.removeXTypeFromWhitelist,a);return}Ext.Array.remove(a.whitelist,b)},setFocus:function(e,i,b){var d=this,c,h,g,a=function(j){return !Ext.Array.contains(d.tabIndexWhitelist,j.tagName.toLowerCase())&&j.tabIndex<=0};b=b||{};if(!e.rendered){e.on("afterrender",Ext.pass(d.setFocus,arguments,d),d,{single:true});return}c=e.getFocusEl();h=c.dom;if((i&&!d.focusData[e.id])||(!i&&d.focusData[e.id])){if(i){g={focusFrame:b.focusFrame};if(a(h)){g.tabIndex=h.tabIndex;h.tabIndex=-1}c.on({focus:g.focusFn=Ext.bind(d.onComponentFocus,d,[e],0),blur:g.blurFn=Ext.bind(d.onComponentBlur,d,[e],0),scope:d});e.on({hide:d.onComponentHide,close:d.onComponentHide,beforedestroy:d.onComponentDestroy,scope:d});d.focusData[e.id]=g}else{g=d.focusData[e.id];if("tabIndex" in g){h.tabIndex=g.tabIndex}c.un("focus",g.focusFn,d);c.un("blur",g.blurFn,d);e.un("hide",d.onComponentHide,d);e.un("close",d.onComponentHide,d);e.un("beforedestroy",d.onComponentDestroy,d);delete d.focusData[e.id]}}},setFocusAll:function(h,c){var g=this,b=Ext.ComponentManager.all.getArray(),a=b.length,e,d=0;for(;d"),b);g.setFocus(i,true,c);i.on("add",h.onAdd,g)}else{if(!i.isContainer){g.setFocus(i,true,c)}}};if(!a||!a.isContainer){return}if(!a.rendered){a.on("afterrender",Ext.pass(g.subscribe,arguments,g),g,{single:true});return}g.initDOM(c);h.keyNav=g.setupSubscriberKeys(a,c.keys);h.onAdd=function(j,k,i){b(k)};a.on("beforedestroy",g.unsubscribe,g);b(a);d.add(a.id,h)},unsubscribe:function(a){var e=this,d=Ext.Array,c=e.subscribers,g,b=function(h){if(h.isContainer&&!c.containsKey(h.id)){d.forEach(h.query(">"),b);e.setFocus(h,false);h.un("add",g.onAdd,e)}else{if(!h.isContainer){e.setFocus(h,false)}}};if(!a||!c.containsKey(a.id)){return}g=c.get(a.id);g.keyNav.destroy();a.un("beforedestroy",e.unsubscribe,e);c.removeAtKey(a.id);b(a);e.removeDOM()}});Ext.define("Ext.toolbar.Toolbar",{extend:"Ext.container.Container",requires:["Ext.toolbar.Fill","Ext.layout.container.HBox","Ext.layout.container.VBox","Ext.FocusManager"],uses:["Ext.toolbar.Separator"],alias:"widget.toolbar",alternateClassName:"Ext.Toolbar",isToolbar:true,baseCls:Ext.baseCSSPrefix+"toolbar",ariaRole:"toolbar",defaultType:"button",vertical:false,enableOverflow:false,trackMenus:true,itemCls:Ext.baseCSSPrefix+"toolbar-item",initComponent:function(){var b=this,a;if(!b.layout&&b.enableOverflow){b.layout={overflowHandler:"Menu"}}if(b.dock==="right"||b.dock==="left"){b.vertical=true}b.layout=Ext.applyIf(Ext.isString(b.layout)?{type:b.layout}:b.layout||{},{type:b.vertical?"vbox":"hbox",align:b.vertical?"stretchmax":"middle",clearInnerCtOnLayout:true});if(b.vertical){b.addClsWithUI("vertical")}if(b.ui==="footer"){b.ignoreBorderManagement=true}b.callParent();b.addEvents("overflowchange");a=b.vertical?["up","down"]:["left","right"];Ext.FocusManager.subscribe(b,{keys:a})},lookupComponent:function(b){if(Ext.isString(b)){var a=Ext.toolbar.Toolbar.shortcuts[b];if(a){b={xtype:a}}else{b={xtype:"tbtext",text:b}}this.applyDefaults(b)}return this.callParent(arguments)},applyDefaults:function(b){if(!Ext.isString(b)){b=this.callParent(arguments);var a=this.internalDefaults;if(b.events){Ext.applyIf(b.initialConfig,a);Ext.apply(b,a)}else{Ext.applyIf(b,a)}}return b},trackMenu:function(c,a){if(this.trackMenus&&c.menu){var d=a?"mun":"mon",b=this;b[d](c,"menutriggerover",b.onButtonTriggerOver,b);b[d](c,"menushow",b.onButtonMenuShow,b);b[d](c,"menuhide",b.onButtonMenuHide,b)}},constructButton:function(a){return a.events?a:this.createComponent(a,a.split?"splitbutton":this.defaultType)},onBeforeAdd:function(a){if(a.is("field")||(a.is("button")&&this.ui!="footer")){a.ui=a.ui+"-toolbar"}if(a instanceof Ext.toolbar.Separator){a.setUI((this.vertical)?"vertical":"horizontal")}this.callParent(arguments)},onAdd:function(a){this.callParent(arguments);this.trackMenu(a);if(this.disabled){a.disable()}},onRemove:function(a){this.callParent(arguments);this.trackMenu(a,true)},onButtonTriggerOver:function(a){if(this.activeMenuBtn&&this.activeMenuBtn!=a){this.activeMenuBtn.hideMenu();a.showMenu();this.activeMenuBtn=a}},onButtonMenuShow:function(a){this.activeMenuBtn=a},onButtonMenuHide:function(a){delete this.activeMenuBtn}},function(){this.shortcuts={"-":"tbseparator"," ":"tbspacer","->":"tbfill"}});Ext.define("Ext.panel.AbstractPanel",{extend:"Ext.container.Container",requires:["Ext.util.MixedCollection","Ext.core.Element","Ext.toolbar.Toolbar"],baseCls:Ext.baseCSSPrefix+"panel",isPanel:true,componentLayout:"dock",defaultDockWeights:{top:1,left:3,right:5,bottom:7},renderTpl:['
{bodyCls} {baseCls}-body-{ui} {parent.baseCls}-body-{parent.ui}-{.}" style="{bodyStyle}">
'],border:true,initComponent:function(){var a=this;a.addEvents("bodyresize");Ext.applyIf(a.renderSelectors,{body:"."+a.baseCls+"-body"});if(a.frame&&a.border&&a.bodyBorder===undefined){a.bodyBorder=false}if(a.frame&&a.border&&(a.bodyBorder===false||a.bodyBorder===0)){a.manageBodyBorders=true}a.callParent()},initItems:function(){var b=this,a=b.dockedItems;b.callParent();b.dockedItems=Ext.create("Ext.util.MixedCollection",false,b.getComponentId);if(a){b.addDocked(a)}},getDockedComponent:function(a){if(Ext.isObject(a)){a=a.getItemId()}return this.dockedItems.get(a)},getComponent:function(a){var b=this.callParent(arguments);if(b===undefined&&!Ext.isNumber(a)){b=this.getDockedComponent(a)}return b},initBodyStyles:function(){var d=this,a=d.bodyStyle,c=[],b=Ext.core.Element,e;if(Ext.isFunction(a)){a=a()}if(Ext.isString(a)){c=a.split(";")}else{for(e in a){if(a.hasOwnProperty(e)){c.push(e+":"+a[e])}}}if(d.bodyPadding!==undefined){c.push("padding: "+b.unitizeBox((d.bodyPadding===true)?5:d.bodyPadding))}if(d.frame&&d.bodyBorder){if(!Ext.isNumber(d.bodyBorder)){d.bodyBorder=1}c.push("border-width: "+b.unitizeBox(d.bodyBorder))}delete d.bodyStyle;return c.length?c.join(";"):undefined},initBodyCls:function(){var b=this,a="",c=b.bodyCls;if(c){Ext.each(c,function(d){a+=" "+d});delete b.bodyCls}return a.length>0?a:undefined},initRenderData:function(){return Ext.applyIf(this.callParent(),{bodyStyle:this.initBodyStyles(),bodyCls:this.initBodyCls()})},addDocked:function(a,g){var e=this,b=0,d,c;a=e.prepareItems(a);c=a.length;for(;b {bodyCls} {parent.baseCls}-body-{parent.ui}-{.}" style="{bodyStyle}">'],initComponent:function(){var c=this,e,b,a,d;c.indicateDragCls=c.baseCls+"-draggable";c.title=c.title||" ";c.tools=c.tools||[];c.items=c.items||[];c.orientation=c.orientation||"horizontal";c.dock=(c.dock)?c.dock:(c.orientation=="horizontal")?"top":"left";c.addClsWithUI(c.orientation);c.addClsWithUI(c.dock);Ext.applyIf(c.renderSelectors,{body:"."+c.baseCls+"-body"});if(!Ext.isEmpty(c.iconCls)){c.initIconCmp();c.items.push(c.iconCmp)}if(c.orientation=="vertical"){if(Ext.isIE6||Ext.isIE7){c.width=this.width||24}else{if(Ext.isIEQuirks){c.width=this.width||25}}c.layout={type:"vbox",align:"center",clearInnerCtOnLayout:true,bindToOwnerCtContainer:false};c.textConfig={cls:c.baseCls+"-text",type:"text",text:c.title,rotate:{degrees:90}};d=c.ui;if(Ext.isArray(d)){d=d[0]}e=Ext.util.CSS.getRule("."+c.baseCls+"-text-"+d);if(e){b=e.style}if(b){Ext.apply(c.textConfig,{"font-family":b.fontFamily,"font-weight":b.fontWeight,"font-size":b.fontSize,fill:b.color})}c.titleCmp=Ext.create("Ext.draw.Component",{ariaRole:"heading",focusable:false,viewBox:false,flex:1,autoSize:true,margins:"5 0 0 0",items:[c.textConfig],renderSelectors:{textEl:"."+c.baseCls+"-text"}})}else{c.layout={type:"hbox",align:"middle",clearInnerCtOnLayout:true,bindToOwnerCtContainer:false};c.titleCmp=Ext.create("Ext.Component",{xtype:"component",ariaRole:"heading",focusable:false,flex:1,renderTpl:['{title}'],renderData:{title:c.title,cls:c.baseCls,ui:c.ui},renderSelectors:{textEl:"."+c.baseCls+"-text"}})}c.items.push(c.titleCmp);c.items=c.items.concat(c.tools);this.callParent()},initIconCmp:function(){this.iconCmp=Ext.create("Ext.Component",{focusable:false,renderTpl:[''],renderData:{blank:Ext.BLANK_IMAGE_URL,cls:this.baseCls,iconCls:this.iconCls,orientation:this.orientation},renderSelectors:{iconEl:"."+this.baseCls+"-icon"},iconCls:this.iconCls})},afterRender:function(){var a=this;a.el.unselectable();if(a.indicateDrag){a.el.addCls(a.indicateDragCls)}a.mon(a.el,{click:a.onClick,scope:a});a.callParent()},afterLayout:function(){var a=this;a.callParent(arguments);if(Ext.isIE7){a.el.repaint()}},addUIClsToElement:function(b,g){var e=this,a=e.callParent(arguments),d=[e.baseCls+"-body-"+b,e.baseCls+"-body-"+e.ui+"-"+b],h,c;if(!g&&e.rendered){if(e.bodyCls){e.body.addCls(e.bodyCls)}else{e.body.addCls(d)}}else{if(e.bodyCls){h=e.bodyCls.split(" ");for(c=0;c0},runningFilter:function(a){return a.paused===false&&a.running===true&&a.isAnimator!==true},runner:function(){var b=this,a=b.items;b.targetData={};b.targetArr={};b.timestamp=new Date();a.filterBy(b.startingFilter).each(b.startAnim,b);a.filterBy(b.runningFilter).each(b.runAnim,b);b.applyPendingAttrs()},startAnim:function(a){a.start(this.timestamp)},runAnim:function(d){if(!d){return}var c=this,b=d.target.getId(),g=c.useCSS3&&d.target.type=="element",a=c.timestamp-d.startTime,e,h;this.collectTargetData(d,a,g);if(g){d.target.setAttr(c.targetData[b],true);c.targetData[b]=[];c.collectTargetData(d,d.duration,g);d.paused=true;e=d.target.target;if(d.target.isComposite){e=d.target.target.last()}h={};h[Ext.supports.CSS3TransitionEnd]=d.lastFrame;h.scope=d;h.single=true;e.on(h)}else{if(a>=d.duration){c.applyPendingAttrs(true);delete c.targetData[b];delete c.targetArr[b];d.lastFrame()}}},collectTargetData:function(d,a,e){var b=d.target.getId(),g=this.targetData[b],c;if(!g){g=this.targetData[b]=[];this.targetArr[b]=d.target}c={duration:d.duration,easing:(e&&d.reverse)?d.easingFn.reverse().toCSS3():d.easing,attrs:{}};Ext.apply(c.attrs,d.runAnim(a));g.push(c)},applyPendingAttrs:function(d){var c=this.targetData,b=this.targetArr,a;for(a in c){if(c.hasOwnProperty(a)){b[a].setAttr(c[a],false,d)}}}});Ext.define("Ext.fx.Animator",{mixins:{observable:"Ext.util.Observable"},requires:["Ext.fx.Manager"],isAnimator:true,duration:250,delay:0,delayStart:0,dynamic:false,easing:"ease",running:false,paused:false,damper:1,iterations:1,currentIteration:0,keyframeStep:0,animKeyFramesRE:/^(from|to|\d+%?)$/,constructor:function(a){var b=this;a=Ext.apply(b,a||{});b.config=a;b.id=Ext.id(null,"ext-animator-");b.addEvents("beforeanimate","keyframe","afteranimate");b.mixins.observable.constructor.call(b,a);b.timeline=[];b.createTimeline(b.keyframes);if(b.target){b.applyAnimator(b.target);Ext.fx.Manager.addAnim(b)}},sorter:function(d,c){return d.pct-c.pct},createTimeline:function(g){var k=this,n=[],l=k.to||{},c=k.duration,p,a,e,j,m,b,d,h;for(m in g){if(g.hasOwnProperty(m)&&k.animKeyFramesRE.test(m)){h={attrs:Ext.apply(g[m],l)};if(m=="from"){m=0}else{if(m=="to"){m=100}}h.pct=parseInt(m,10);n.push(h)}}Ext.Array.sort(n,k.sorter);j=n.length;for(e=0;e2){c.push([e].concat(Ext.Array.splice(i,0,2)));h="l";e=(e=="m")?"l":"L"}while(i.length>=d[h]){c.push([e].concat(Ext.Array.splice(i,0,d[h])));if(!d[h]){break}}})}c.toString=b.path2string;return c},mapPath:function(l,g){if(!g){return l}var h,e,c,k,a,d,b;l=this.path2curve(l);for(c=0,k=l.length;c7){h[b].shift();e=h[b];while(e.length){Ext.Array.splice(h,b++,0,["C"].concat(Ext.Array.splice(e,0,6)))}Ext.Array.erase(h,b,1);c=h.length}a=h[b];g=a.length;j.x=a[g-2];j.y=a[g-1];j.bx=parseFloat(a[g-4])||j.x;j.by=parseFloat(a[g-3])||j.y}return h},interpolatePaths:function(s,l){var j=this,d=j.pathToAbsolute(s),m=j.pathToAbsolute(l),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},b=function(p,t){if(p[t].length>7){p[t].shift();var u=p[t];while(u.length){Ext.Array.splice(p,t++,0,["C"].concat(Ext.Array.splice(u,0,6)))}Ext.Array.erase(p,t,1);q=Math.max(d.length,m.length||0)}},c=function(w,v,t,p,u){if(w&&v&&w[u][0]=="M"&&v[u][0]!="M"){Ext.Array.splice(v,u,0,["M",p.x,p.y]);t.bx=0;t.by=0;t.x=w[u][1];t.y=w[u][2];q=Math.max(d.length,m.length||0)}};for(var h=0,q=Math.max(d.length,m.length||0);h1){ad=Y(ad);K=ad*K;I=ad*I}d=K*K;U=I*I;X=(p==j?-1:1)*Y(z((d*U-d*Q*Q-U*R*R)/(d*Q*Q+U*R*R)));F=X*K*Q/I+(w+v)/2;E=X*-I*R/K+(ai+ah)/2;n=q(((ai-E)/I).toFixed(7));m=q(((ah-E)/I).toFixed(7));n=wm){n=n-e*2}if(!j&&m>n){m=m-e*2}}else{n=D[0];m=D[1];F=D[2];E=D[3]}u=m-n;if(z(u)>H){G=m;J=v;r=ah;m=n+H*(j&&m>n?1:-1);v=F+K*W(m);ah=E+I*a(m);P=A.arc2curve(v,ah,K,I,C,0,j,J,r,[m,G,F,E])}u=m-n;l=W(n);ag=a(n);g=W(m);af=a(m);S=M.tan(u/4);V=4/3*K*S;T=4/3*I*S;ae=[w,ai];ac=[w+V*ag,ai-T*l];ab=[v+V*af,ah-T*g];Z=[v,ah];ac[0]=2*ae[0]-ac[0];ac[1]=2*ae[1]-ac[1];if(D){return[ac,ab,Z].concat(P)}else{P=[ac,ab,Z].concat(P).join().split(",");O=[];N=P.length;for(aa=0;aa(a[1]-c[1])*(b[0]-c[0])},intersectIntersection:function(n,m,g,d){var c=[],b=g[0]-d[0],a=g[1]-d[1],k=n[0]-m[0],i=n[1]-m[1],l=g[0]*d[1]-g[1]*d[0],j=n[0]*m[1]-n[1]*m[0],h=1/(b*i-a*k);c[0]=(l*k-j*b)*h;c[1]=(l*i-j*a)*h;return c},intersect:function(p,c){var n=this,k=0,m=c.length,h=c[m-1],r=p,g,t,l,q,a,b,d;for(;k1000000000000){k=0.5}if(Math.abs(j)>1000000000000){j=0.5}if(k>0&&k<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,k);r.push(e.x);n.push(e.y)}if(j>0&&j<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,j);r.push(e.x);n.push(e.y)}s=(t-2*h+d)-(m-2*t+h);p=2*(h-d)-2*(t-h);l=d-h;k=(-p+Math.sqrt(p*p-4*s*l))/2/s;j=(-p-Math.sqrt(p*p-4*s*l))/2/s;if(Math.abs(k)>1000000000000){k=0.5}if(Math.abs(j)>1000000000000){j=0.5}if(k>0&&k<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,k);r.push(e.x);n.push(e.y)}if(j>0&&j<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,j);r.push(e.x);n.push(e.y)}return{min:{x:Math.min.apply(0,r),y:Math.min.apply(0,n)},max:{x:Math.max.apply(0,r),y:Math.max.apply(0,n)}}},getAnchors:function(e,d,k,j,w,v,r){r=r||4;var i=Math,q=i.PI,s=q/2,m=i.abs,a=i.sin,b=i.cos,g=i.atan,u,t,h,l,p,n,y,x,c;u=(k-e)/r;t=(w-k)/r;if((j>=d&&j>=v)||(j<=d&&j<=v)){h=l=s}else{h=g((k-e)/m(j-d));if(ds){c-=q}h+=c;l+=c;p=k-u*a(h);n=j+u*b(h);y=k+t*a(l);x=j+t*b(l);if((j>d&&nd)){p+=m(d-n)*(p-k)/(n-j);n=d}if((j>v&&xv)){y-=m(v-x)*(y-k)/(x-j);x=v}return{x1:p,y1:n,x2:y,y2:x}},smooth:function(a,s){var r=this.path2curve(a),e=[r[0]],k=r[0][1],h=r[0][2],t,v,w=1,l=r.length,g=1,n=k,m=h,c=0,b=0;for(;w=b.x&&a<=(b.x+b.width)&&c>=b.y&&c<=(b.y+b.height))},parseGradient:function(k){var e=this,g=k.type||"linear",c=k.angle||0,i=e.radian,l=k.stops,a=[],j,b,h,d;if(g=="linear"){b=[0,0,Math.cos(c*i),Math.sin(c*i)];h=1/(Math.max(Math.abs(b[2]),Math.abs(b[3]))||1);b[2]*=h;b[3]*=h;if(b[2]<0){b[0]=-b[2];b[2]=0}if(b[3]<0){b[1]=-b[3];b[3]=0}}for(j in l){if(l.hasOwnProperty(j)&&e.stopsRE.test(j)){d={offset:parseInt(j,10),color:Ext.draw.Color.toHex(l[j].color)||"#ffffff",opacity:l[j].opacity||1};a.push(d)}}Ext.Array.sort(a,e.sorter);if(g=="linear"){return{id:k.id,type:g,vector:b,stops:a}}else{return{id:k.id,type:g,centerX:k.centerX,centerY:k.centerY,focalX:k.focalX,focalY:k.focalY,radius:k.radius,vector:b,stops:a}}}});Ext.define("Ext.fx.PropertyHandler",{requires:["Ext.draw.Draw"],statics:{defaultHandler:{pixelDefaultsRE:/width|height|top$|bottom$|left$|right$/i,unitRE:/^(-?\d*\.?\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/,scrollRE:/^scroll/i,computeDelta:function(j,c,a,g,i){a=(typeof a=="number")?a:1;var h=this.unitRE,d=h.exec(j),b,e;if(d){j=d[1];e=d[2];if(!this.scrollRE.test(i)&&!e&&this.pixelDefaultsRE.test(i)){e="px"}}j=+j||0;d=h.exec(c);if(d){c=d[1];e=d[2]||e}c=+c||0;b=(g!=null)?g:j;return{from:j,delta:(c-b)*a,units:e}},get:function(p,b,a,n,k){var m=p.length,d=[],e,h,l,c,g;for(e=0;e=d){l=d;a=true}if(i.reverse){l=d-l}for(e in k){if(k.hasOwnProperty(e)){j=k[e];h=a?1:c(l/d);g[e]=b[e].set(j,h)}}return g},lastFrame:function(){var c=this,a=c.iterations,b=c.currentIteration;b++;if(b=this.minX;b=b-a){if(!c[b]){this.xTicks[this.xTicks.length]=b;c[b]=true}}for(b=this.initPageX;b<=this.maxX;b=b+a){if(!c[b]){this.xTicks[this.xTicks.length]=b;c[b]=true}}Ext.Array.sort(this.xTicks,this.DDMInstance.numericSort)},setYTicks:function(d,a){this.yTicks=[];this.yTickSize=a;var c={};for(var b=this.initPageY;b>=this.minY;b=b-a){if(!c[b]){this.yTicks[this.yTicks.length]=b;c[b]=true}}for(b=this.initPageY;b<=this.maxY;b=b+a){if(!c[b]){this.yTicks[this.yTicks.length]=b;c[b]=true}}Ext.Array.sort(this.yTicks,this.DDMInstance.numericSort)},setXConstraint:function(c,b,a){this.leftConstraint=c;this.rightConstraint=b;this.minX=this.initPageX-c;this.maxX=this.initPageX+b;if(a){this.setXTicks(this.initPageX,a)}this.constrainX=true},clearConstraints:function(){this.constrainX=false;this.constrainY=false;this.clearTicks()},clearTicks:function(){this.xTicks=null;this.yTicks=null;this.xTickSize=0;this.yTickSize=0},setYConstraint:function(a,c,b){this.topConstraint=a;this.bottomConstraint=c;this.minY=this.initPageY-a;this.maxY=this.initPageY+c;if(b){this.setYTicks(this.initPageY,b)}this.constrainY=true},resetConstraints:function(){if(this.initPageX||this.initPageX===0){var b=(this.maintainOffset)?this.lastPageX-this.initPageX:0;var a=(this.maintainOffset)?this.lastPageY-this.initPageY:0;this.setInitPosition(b,a)}else{this.setInitPosition()}if(this.constrainX){this.setXConstraint(this.leftConstraint,this.rightConstraint,this.xTickSize)}if(this.constrainY){this.setYConstraint(this.topConstraint,this.bottomConstraint,this.yTickSize)}},getTick:function(h,d){if(!d){return h}else{if(d[0]>=h){return d[0]}else{for(var b=0,a=d.length;b=h){var g=h-d[b];var e=d[c]-h;return(e>g)?d[b]:d[c]}}return d[d.length-1]}}},toString:function(){return("DragDrop "+this.id)}});Ext.define("Ext.dd.DD",{extend:"Ext.dd.DragDrop",requires:["Ext.dd.DragDropManager"],constructor:function(c,a,b){if(c){this.init(c,a,b)}},scroll:true,autoOffset:function(c,b){var a=c-this.startPageX;var d=b-this.startPageY;this.setDelta(a,d)},setDelta:function(b,a){this.deltaX=b;this.deltaY=a},setDragElPos:function(c,b){var a=this.getDragEl();this.alignElWithMouse(a,c,b)},alignElWithMouse:function(b,e,c){var g=this.getTargetCoord(e,c),d=b.dom?b:Ext.fly(b,"_dd"),l=d.getSize(),i=Ext.core.Element,j;if(!this.deltaSetXY){j=this.cachedViewportSize={width:i.getDocumentWidth(),height:i.getDocumentHeight()};var a=[Math.max(0,Math.min(g.x,j.width-l.width)),Math.max(0,Math.min(g.y,j.height-l.height))];d.setXY(a);var k=d.getLeft(true);var h=d.getTop(true);this.deltaSetXY=[k-g.x,h-g.y]}else{j=this.cachedViewportSize;d.setLeftTop(Math.max(0,Math.min(g.x+this.deltaSetXY[0],j.width-l.width)),Math.max(0,Math.min(g.y+this.deltaSetXY[1],j.height-l.height)))}this.cachePosition(g.x,g.y);this.autoScroll(g.x,g.y,b.offsetHeight,b.offsetWidth);return g},cachePosition:function(b,a){if(b){this.lastPageX=b;this.lastPageY=a}else{var c=Ext.core.Element.getXY(this.getEl());this.lastPageX=c[0];this.lastPageY=c[1]}},autoScroll:function(l,k,e,m){if(this.scroll){var n=Ext.core.Element.getViewHeight();var b=Ext.core.Element.getViewWidth();var q=this.DDMInstance.getScrollTop();var d=this.DDMInstance.getScrollLeft();var j=e+k;var p=m+l;var i=(n+q-k-this.deltaY);var g=(b+d-l-this.deltaX);var c=40;var a=(document.all)?80:30;if(j>n&&i0&&k-qb&&g0&&l-dthis.maxX){a=this.maxX}}if(this.constrainY){if(dthis.maxY){d=this.maxY}}a=this.getTick(a,this.xTicks);d=this.getTick(d,this.yTicks);return{x:a,y:d}},applyConfig:function(){this.callParent();this.scroll=(this.config.scroll!==false)},b4MouseDown:function(a){this.autoOffset(a.getPageX(),a.getPageY())},b4Drag:function(a){this.setDragElPos(a.getPageX(),a.getPageY())},toString:function(){return("DD "+this.id)}});Ext.define("Ext.dd.DDProxy",{extend:"Ext.dd.DD",statics:{dragElId:"ygddfdiv"},constructor:function(c,a,b){if(c){this.init(c,a,b);this.initFrame()}},resizeFrame:true,centerFrame:false,createFrame:function(){var b=this;var a=document.body;if(!a||!a.firstChild){setTimeout(function(){b.createFrame()},50);return}var d=this.getDragEl();if(!d){d=document.createElement("div");d.id=this.dragElId;var c=d.style;c.position="absolute";c.visibility="hidden";c.cursor="move";c.border="2px solid #aaa";c.zIndex=999;a.insertBefore(d,a.firstChild)}},initFrame:function(){this.createFrame()},applyConfig:function(){this.callParent();this.resizeFrame=(this.config.resizeFrame!==false);this.centerFrame=(this.config.centerFrame);this.setDragElId(this.config.dragElId||Ext.dd.DDProxy.dragElId)},showFrame:function(e,d){var c=this.getEl();var a=this.getDragEl();var b=a.style;this._resizeProxy();if(this.centerFrame){this.setDelta(Math.round(parseInt(b.width,10)/2),Math.round(parseInt(b.height,10)/2))}this.setDragElPos(e,d);Ext.fly(a).show()},_resizeProxy:function(){if(this.resizeFrame){var a=this.getEl();Ext.fly(this.getDragEl()).setSize(a.offsetWidth,a.offsetHeight)}},b4MouseDown:function(b){var a=b.getPageX();var c=b.getPageY();this.autoOffset(a,c);this.setDragElPos(a,c)},b4StartDrag:function(a,b){this.showFrame(a,b)},b4EndDrag:function(a){Ext.fly(this.getDragEl()).hide()},endDrag:function(c){var b=this.getEl();var a=this.getDragEl();a.style.visibility="";this.beforeMove();b.style.visibility="hidden";Ext.dd.DDM.moveToEl(b,a);a.style.visibility="hidden";b.style.visibility="";this.afterDrag()},beforeMove:function(){},afterDrag:function(){},toString:function(){return("DDProxy "+this.id)}});Ext.define("Ext.dd.DragSource",{extend:"Ext.dd.DDProxy",requires:["Ext.dd.StatusProxy","Ext.dd.DragDropManager"],dropAllowed:Ext.baseCSSPrefix+"dd-drop-ok",dropNotAllowed:Ext.baseCSSPrefix+"dd-drop-nodrop",animRepair:true,repairHighlightColor:"c3daf9",constructor:function(b,a){this.el=Ext.get(b);if(!this.dragData){this.dragData={}}Ext.apply(this,a);if(!this.proxy){this.proxy=Ext.create("Ext.dd.StatusProxy",{animRepair:this.animRepair})}this.callParent([this.el.dom,this.ddGroup||this.group,{dragElId:this.proxy.id,resizeFrame:false,isTarget:false,scroll:this.scroll===true}]);this.dragging=false},getDragData:function(a){return this.dragData},onDragEnter:function(c,d){var b=Ext.dd.DragDropManager.getDDById(d);this.cachedTarget=b;if(this.beforeDragEnter(b,c,d)!==false){if(b.isNotifyTarget){var a=b.notifyEnter(this,c,this.dragData);this.proxy.setStatus(a)}else{this.proxy.setStatus(this.dropAllowed)}if(this.afterDragEnter){this.afterDragEnter(b,c,d)}}},beforeDragEnter:function(b,a,c){return true},alignElWithMouse:function(){this.callParent(arguments);this.proxy.sync()},onDragOver:function(c,d){var b=this.cachedTarget||Ext.dd.DragDropManager.getDDById(d);if(this.beforeDragOver(b,c,d)!==false){if(b.isNotifyTarget){var a=b.notifyOver(this,c,this.dragData);this.proxy.setStatus(a)}if(this.afterDragOver){this.afterDragOver(b,c,d)}}},beforeDragOver:function(b,a,c){return true},onDragOut:function(b,c){var a=this.cachedTarget||Ext.dd.DragDropManager.getDDById(c);if(this.beforeDragOut(a,b,c)!==false){if(a.isNotifyTarget){a.notifyOut(this,b,this.dragData)}this.proxy.reset();if(this.afterDragOut){this.afterDragOut(a,b,c)}}this.cachedTarget=null},beforeDragOut:function(b,a,c){return true},onDragDrop:function(b,c){var a=this.cachedTarget||Ext.dd.DragDropManager.getDDById(c);if(this.beforeDragDrop(a,b,c)!==false){if(a.isNotifyTarget){if(a.notifyDrop(this,b,this.dragData)!==false){this.onValidDrop(a,b,c)}else{this.onInvalidDrop(a,b,c)}}else{this.onValidDrop(a,b,c)}if(this.afterDragDrop){this.afterDragDrop(a,b,c)}}delete this.cachedTarget},beforeDragDrop:function(b,a,c){return true},onValidDrop:function(b,a,c){this.hideProxy();if(this.afterValidDrop){this.afterValidDrop(b,a,c)}},getRepairXY:function(b,a){return this.el.getXY()},onInvalidDrop:function(b,a,c){this.beforeInvalidDrop(b,a,c);if(this.cachedTarget){if(this.cachedTarget.isNotifyTarget){this.cachedTarget.notifyOut(this,a,this.dragData)}this.cacheTarget=null}this.proxy.repair(this.getRepairXY(a,this.dragData),this.afterRepair,this);if(this.afterInvalidDrop){this.afterInvalidDrop(a,c)}},afterRepair:function(){var a=this;if(Ext.enableFx){a.el.highlight(a.repairHighlightColor)}a.dragging=false},beforeInvalidDrop:function(b,a,c){return true},handleMouseDown:function(b){if(this.dragging){return}var a=this.getDragData(b);if(a&&this.onBeforeDrag(a,b)!==false){this.dragData=a;this.proxy.stop();this.callParent(arguments)}},onBeforeDrag:function(a,b){return true},onStartDrag:Ext.emptyFn,startDrag:function(a,b){this.proxy.reset();this.dragging=true;this.proxy.update("");this.onInitDrag(a,b);this.proxy.show()},onInitDrag:function(a,c){var b=this.el.dom.cloneNode(true);b.id=Ext.id();this.proxy.update(b);this.onStartDrag(a,c);return true},getProxy:function(){return this.proxy},hideProxy:function(){this.proxy.hide();this.proxy.reset(true);this.dragging=false},triggerCacheRefresh:function(){Ext.dd.DDM.refreshCache(this.groups)},b4EndDrag:function(a){},endDrag:function(a){this.onEndDrag(this.dragData,a)},onEndDrag:function(a,b){},autoOffset:function(a,b){this.setDelta(-12,-20)},destroy:function(){this.callParent();Ext.destroy(this.proxy)}});Ext.define("Ext.panel.DD",{extend:"Ext.dd.DragSource",requires:["Ext.panel.Proxy"],constructor:function(b,a){this.panel=b;this.dragData={panel:b};this.proxy=Ext.create("Ext.panel.Proxy",b,a);this.callParent([b.el,a]);Ext.defer(function(){var d=b.header,c=b.body;if(d){this.setHandleElId(d.id);c=d.el}c.setStyle("cursor","move");this.scroll=false},200,this)},showFrame:Ext.emptyFn,startDrag:Ext.emptyFn,b4StartDrag:function(a,b){this.proxy.show()},b4MouseDown:function(b){var a=b.getPageX(),c=b.getPageY();this.autoOffset(a,c)},onInitDrag:function(a,b){this.onStartDrag(a,b);return true},createFrame:Ext.emptyFn,getDragEl:function(a){return this.proxy.ghost.el.dom},endDrag:function(a){this.proxy.hide();this.panel.saveState()},autoOffset:function(a,b){a-=this.startPageX;b-=this.startPageY;this.setDelta(a,b)}});Ext.define("Ext.layout.component.Dock",{alias:["layout.dock"],extend:"Ext.layout.component.AbstractDock"});Ext.define("Ext.panel.Panel",{extend:"Ext.panel.AbstractPanel",requires:["Ext.panel.Header","Ext.fx.Anim","Ext.util.KeyMap","Ext.panel.DD","Ext.XTemplate","Ext.layout.component.Dock","Ext.util.Memento"],alias:"widget.panel",alternateClassName:"Ext.Panel",collapsedCls:"collapsed",animCollapse:Ext.enableFx,minButtonWidth:75,collapsed:false,collapseFirst:true,hideCollapseTool:false,titleCollapse:false,floatable:true,collapsible:false,closable:false,closeAction:"destroy",preventHeader:false,headerPosition:"top",frame:false,frameHeader:true,initComponent:function(){var b=this,a;b.addEvents("beforeexpand","beforecollapse","expand","collapse","titlechange","iconchange");this.addStateEvents("expand","collapse");if(b.unstyled){b.setUI("plain")}if(b.frame){b.setUI(b.ui+"-framed")}b.callParent();b.collapseDirection=b.collapseDirection||b.headerPosition||Ext.Component.DIRECTION_TOP;b.bridgeToolbars()},setBorder:function(a){this.callParent(arguments)},beforeDestroy:function(){Ext.destroy(this.ghostPanel,this.dd);this.callParent()},initAria:function(){this.callParent();this.initHeaderAria()},initHeaderAria:function(){var b=this,a=b.el,c=b.header;if(a&&c){a.dom.setAttribute("aria-labelledby",c.titleCmp.id)}},getHeader:function(){return this.header},setTitle:function(c){var b=this,a=this.title;b.title=c;if(b.header){b.header.setTitle(c)}else{b.updateHeader()}if(b.reExpander){b.reExpander.setTitle(c)}b.fireEvent("titlechange",b,c,a)},setIconCls:function(a){var c=this,b=c.iconCls;c.iconCls=a;var d=c.header;if(d){d.setIconCls(a)}c.fireEvent("iconchange",c,a,b)},bridgeToolbars:function(){var a=this,c,b,e=a.minButtonWidth;function d(g,i,h){if(Ext.isArray(g)){g={xtype:"toolbar",items:g}}else{if(!g.xtype){g.xtype="toolbar"}}g.dock=i;if(i=="left"||i=="right"){g.vertical=true}if(h){g.layout=Ext.applyIf(g.layout||{},{pack:{left:"start",center:"center"}[a.buttonAlign]||"end"})}return g}if(a.tbar){a.addDocked(d(a.tbar,"top"));a.tbar=null}if(a.bbar){a.addDocked(d(a.bbar,"bottom"));a.bbar=null}if(a.buttons){a.fbar=a.buttons;a.buttons=null}if(a.fbar){c=d(a.fbar,"bottom",true);c.ui="footer";if(e){b=c.defaults;c.defaults=function(g){var h=b||{};if((!g.xtype||g.xtype==="button"||(g.isComponent&&g.isXType("button")))&&!("minWidth" in h)){h=Ext.apply({minWidth:e},h)}return h}}a.addDocked(c);a.fbar=null}if(a.lbar){a.addDocked(d(a.lbar,"left"));a.lbar=null}if(a.rbar){a.addDocked(d(a.rbar,"right"));a.rbar=null}},initTools:function(){var a=this;a.tools=a.tools||[];if(a.collapsible&&!(a.hideCollapseTool||a.header===false)){a.collapseDirection=a.collapseDirection||a.headerPosition||"top";a.collapseTool=a.expandTool=a.createComponent({xtype:"tool",type:"collapse-"+a.collapseDirection,expandType:a.getOppositeDirection(a.collapseDirection),handler:a.toggleCollapse,scope:a});if(a.collapseFirst){a.tools.unshift(a.collapseTool)}}a.addTools();if(a.closable){a.addClsWithUI("closable");a.addTool({type:"close",handler:Ext.Function.bind(a.close,this,[])})}if(a.collapseTool&&!a.collapseFirst){a.tools.push(a.collapseTool)}},addTools:Ext.emptyFn,close:function(){if(this.fireEvent("beforeclose",this)!==false){this.doClose()}},doClose:function(){this.fireEvent("close",this);this[this.closeAction]()},onRender:function(b,a){var d=this,c;d.initTools();d.updateHeader();d.callParent(arguments)},afterRender:function(){var a=this;a.callParent(arguments);if(a.collapsed){a.collapsed=false;a.collapse(null,false,true)}},updateHeader:function(b){var a=this,e=a.header,d=a.title,c=a.tools;if(!a.preventHeader&&(b||d||(c&&c.length))){if(!e){e=a.header=Ext.create("Ext.panel.Header",{title:d,orientation:(a.headerPosition=="left"||a.headerPosition=="right")?"vertical":"horizontal",dock:a.headerPosition||"top",textCls:a.headerTextCls,iconCls:a.iconCls,baseCls:a.baseCls+"-header",tools:c,ui:a.ui,indicateDrag:a.draggable,border:a.border,frame:a.frame&&a.frameHeader,ignoreParentFrame:a.frame||a.overlapHeader,ignoreBorderManagement:a.frame||a.ignoreHeaderBorderManagement,listeners:a.collapsible&&a.titleCollapse?{click:a.toggleCollapse,scope:a}:null});a.addDocked(e,0);a.tools=e.tools}e.show();a.initHeaderAria()}else{if(e){e.hide()}}},setUI:function(b){var a=this;a.callParent(arguments);if(a.header){a.header.setUI(b)}},getContentTarget:function(){return this.body},getTargetEl:function(){return this.body||this.frameBody||this.el},addTool:function(a){this.tools.push(a);var b=this.header;if(b){b.addTool(a)}this.updateHeader()},getOppositeDirection:function(a){var b=Ext.Component;switch(a){case b.DIRECTION_TOP:return b.DIRECTION_BOTTOM;case b.DIRECTION_RIGHT:return b.DIRECTION_LEFT;case b.DIRECTION_BOTTOM:return b.DIRECTION_TOP;case b.DIRECTION_LEFT:return b.DIRECTION_RIGHT}},collapse:function(w,g,j){var x=this,v=Ext.Component,l=x.getHeight(),m=x.getWidth(),y,a=0,s=x.dockedItems.items,t=s.length,r=0,u,h,q={from:{height:l,width:m},to:{height:l,width:m},listeners:{afteranimate:x.afterCollapse,scope:x},duration:Ext.Number.from(g,Ext.fx.Anim.prototype.duration)},e,d,n,b,k,p;if(!w){w=x.collapseDirection}if(j){g=false}else{if(x.collapsed||x.fireEvent("beforecollapse",x,w,g)===false){return false}}n=w;x.expandDirection=x.getOppositeDirection(w);x.hiddenDocked=[];switch(w){case v.DIRECTION_TOP:case v.DIRECTION_BOTTOM:x.expandedSize=x.getHeight();d="horizontal";p="height";b="getHeight";k="setHeight";for(;ri){e=i}}if(e){this.callParent([e,j])}}d.setXY(k)},doAutoWidth:function(){var d=this,b=d.owner,a=b.body,c=a.getTextWidth();if(b.header){c=Math.max(c,b.header.getWidth())}if(!Ext.isDefined(d.frameWidth)){d.frameWidth=b.el.getWidth()-a.getWidth()}c+=d.frameWidth+a.getPadding("lr");return c}});Ext.define("Ext.tip.Tip",{extend:"Ext.panel.Panel",requires:["Ext.layout.component.Tip"],alternateClassName:"Ext.Tip",minWidth:40,maxWidth:300,shadow:"sides",defaultAlign:"tl-bl?",constrainPosition:true,frame:false,autoRender:true,hidden:true,baseCls:Ext.baseCSSPrefix+"tip",floating:{shadow:true,shim:true,constrain:true},focusOnToFront:false,componentLayout:"tip",closeAction:"hide",ariaRole:"tooltip",initComponent:function(){this.callParent(arguments);this.constrain=this.constrain||this.constrainPosition},showAt:function(b){var a=this;this.callParent();if(a.isVisible()){a.setPagePosition(b[0],b[1]);if(a.constrainPosition||a.constrain){a.doConstrain()}a.toFront(true)}},showBy:function(a,b){this.showAt(this.el.getAlignToXY(a,b||this.defaultAlign))},initDraggable:function(){var a=this;a.draggable={el:a.getDragEl(),delegate:a.header.el,constrain:a,constrainTo:a.el.dom.parentNode};Ext.Component.prototype.initDraggable.call(a)},ghost:undefined,unghost:undefined});Ext.define("Ext.tip.ToolTip",{extend:"Ext.tip.Tip",alias:"widget.tooltip",alternateClassName:"Ext.ToolTip",showDelay:500,hideDelay:200,dismissDelay:5000,trackMouse:false,anchorToTarget:true,anchorOffset:0,targetCounter:0,quickShowInterval:250,initComponent:function(){var a=this;a.callParent(arguments);a.lastActive=new Date();a.setTarget(a.target);a.origAnchor=a.anchor},onRender:function(b,a){var c=this;c.callParent(arguments);c.anchorCls=Ext.baseCSSPrefix+"tip-anchor-"+c.getAnchorPosition();c.anchorEl=c.el.createChild({cls:Ext.baseCSSPrefix+"tip-anchor "+c.anchorCls})},afterRender:function(){var a=this,b;a.callParent(arguments);b=parseInt(a.el.getZIndex(),10)||0;a.anchorEl.setStyle("z-index",b+1).setVisibilityMode(Ext.core.Element.DISPLAY)},setTarget:function(d){var b=this,a=Ext.get(d),c;if(b.target){c=Ext.get(b.target);b.mun(c,"mouseover",b.onTargetOver,b);b.mun(c,"mouseout",b.onTargetOut,b);b.mun(c,"mousemove",b.onMouseMove,b)}b.target=a;if(a){b.mon(a,{freezeEvent:true,mouseover:b.onTargetOver,mouseout:b.onTargetOut,mousemove:b.onMouseMove,scope:b})}if(b.anchor){b.anchorTarget=b.target}},onMouseMove:function(d){var b=this,a=b.delegate?d.getTarget(b.delegate):b.triggerElement=true,c;if(a){b.targetXY=d.getXY();if(a===b.triggerElement){if(!b.hidden&&b.trackMouse){c=b.getTargetXY();if(b.constrainPosition){c=b.el.adjustForConstraints(c,b.el.dom.parentNode)}b.setPagePosition(c)}}else{b.hide();b.lastActive=new Date(0);b.onTargetOver(d)}}else{if((!b.closable&&b.isVisible())&&b.autoHide!==false){b.hide()}}},getTargetXY:function(){var j=this,d;if(j.delegate){j.anchorTarget=j.triggerElement}if(j.anchor){j.targetCounter++;var c=j.getOffsets(),n=(j.anchorToTarget&&!j.trackMouse)?j.el.getAlignToXY(j.anchorTarget,j.getAnchorAlign()):j.targetXY,a=Ext.core.Element.getViewWidth()-5,i=Ext.core.Element.getViewHeight()-5,l=document.documentElement,e=document.body,m=(l.scrollLeft||e.scrollLeft||0)+5,k=(l.scrollTop||e.scrollTop||0)+5,b=[n[0]+c[0],n[1]+c[1]],h=j.getSize(),g=j.constrainPosition;j.anchorEl.removeCls(j.anchorCls);if(j.targetCounter<2&&g){if(b[0]a){if(j.anchorToTarget){j.defaultAlign="r-l";if(j.mouseOffset){j.mouseOffset[0]*=-1}}j.anchor="right";return j.getTargetXY()}if(b[1]i){if(j.anchorToTarget){j.defaultAlign="b-t";if(j.mouseOffset){j.mouseOffset[1]*=-1}}j.anchor="bottom";return j.getTargetXY()}}j.anchorCls=Ext.baseCSSPrefix+"tip-anchor-"+j.getAnchorPosition();j.anchorEl.addCls(j.anchorCls);j.targetCounter=0;return b}else{d=j.getMouseOffset();return(j.targetXY)?[j.targetXY[0]+d[0],j.targetXY[1]+d[1]]:d}},getMouseOffset:function(){var a=this,b=a.anchor?[0,0]:[15,18];if(a.mouseOffset){b[0]+=a.mouseOffset[0];b[1]+=a.mouseOffset[1]}return b},getAnchorPosition:function(){var b=this,a;if(b.anchor){b.tipAnchor=b.anchor.charAt(0)}else{a=b.defaultAlign.match(/^([a-z]+)-([a-z]+)(\?)?$/);b.tipAnchor=a[1].charAt(0)}switch(b.tipAnchor){case"t":return"top";case"b":return"bottom";case"r":return"right"}return"left"},getAnchorAlign:function(){switch(this.anchor){case"top":return"tl-bl";case"left":return"tl-tr";case"right":return"tr-tl";default:return"bl-tl"}},getOffsets:function(){var c=this,d,b,a=c.getAnchorPosition().charAt(0);if(c.anchorToTarget&&!c.trackMouse){switch(a){case"t":b=[0,9];break;case"b":b=[0,-13];break;case"r":b=[-13,0];break;default:b=[9,0];break}}else{switch(a){case"t":b=[-15-c.anchorOffset,30];break;case"b":b=[-19-c.anchorOffset,-13-c.el.dom.offsetHeight];break;case"r":b=[-15-c.el.dom.offsetWidth,-13-c.anchorOffset];break;default:b=[25,-13-c.anchorOffset];break}}d=c.getMouseOffset();b[0]+=d[0];b[1]+=d[1];return b},onTargetOver:function(c){var b=this,a;if(b.disabled||c.within(b.target.dom,true)){return}a=c.getTarget(b.delegate);if(a){b.triggerElement=a;b.clearTimer("hide");b.targetXY=c.getXY();b.delayShow()}},delayShow:function(){var a=this;if(a.hidden&&!a.showTimer){if(Ext.Date.getElapsed(a.lastActive)0&&b!==a){return a}return this.name+"."+c+"."+a},getController:function(b){var a=this.controllers.get(b);if(!a){a=Ext.create(this.getModuleClassName(b,"controller"),{application:this,id:b});this.controllers.add(a)}return a},getStore:function(b){var a=Ext.StoreManager.get(b);if(!a){a=Ext.create(this.getModuleClassName(b,"store"),{storeId:b})}return a},getModel:function(a){a=this.getModuleClassName(a,"model");return Ext.ModelManager.getModel(a)},getView:function(a){a=this.getModuleClassName(a,"view");return Ext.ClassManager.get(a)}});Ext.define("Ext.chart.Callout",{constructor:function(a){if(a.callouts){a.callouts.styles=Ext.applyIf(a.callouts.styles||{},{color:"#000",font:"11px Helvetica, sans-serif"});this.callouts=Ext.apply(this.callouts||{},a.callouts);this.calloutsArray=[]}},renderCallouts:function(){if(!this.callouts){return}var w=this,m=w.items,a=w.chart.animate,v=w.callouts,h=v.styles,e=w.calloutsArray,b=w.chart.store,t=b.getCount(),d=m.length/t,l=[],s,c,r,n;for(s=0,c=0;sb){e=d[a];for(c in e){if(e[c]){e[c].hide(true)}}}}});Ext.define("Ext.draw.CompositeSprite",{extend:"Ext.util.MixedCollection",mixins:{animate:"Ext.util.Animate"},isCompositeSprite:true,constructor:function(a){var b=this;a=a||{};Ext.apply(b,a);b.addEvents("mousedown","mouseup","mouseover","mouseout","click");b.id=Ext.id(null,"ext-sprite-group-");b.callParent()},onClick:function(a){this.fireEvent("click",a)},onMouseUp:function(a){this.fireEvent("mouseup",a)},onMouseDown:function(a){this.fireEvent("mousedown",a)},onMouseOver:function(a){this.fireEvent("mouseover",a)},onMouseOut:function(a){this.fireEvent("mouseout",a)},attachEvents:function(b){var a=this;b.on({scope:a,mousedown:a.onMouseDown,mouseup:a.onMouseUp,mouseover:a.onMouseOver,mouseout:a.onMouseOut,click:a.onClick})},add:function(b,c){var a=this.callParent(arguments);this.attachEvents(a);return a},insert:function(a,b,c){return this.callParent(arguments)},remove:function(b){var a=this;b.un({scope:a,mousedown:a.onMouseDown,mouseup:a.onMouseUp,mouseover:a.onMouseOver,mouseout:a.onMouseOut,click:a.onClick});a.callParent(arguments)},getBBox:function(){var e=0,n,j,k=this.items,g=this.length,h=Infinity,c=h,m=-h,b=h,l=-h,d,a;for(;e0){b=c.first();c.remove(b);a.remove(b)}}c.clearListeners()}});Ext.define("Ext.layout.component.Draw",{alias:"layout.draw",extend:"Ext.layout.component.Auto",type:"draw",onLayout:function(b,a){this.owner.surface.setSize(b,a);this.callParent(arguments)}});Ext.define("Ext.chart.theme.Theme",{requires:["Ext.draw.Color"],theme:"Base",themeAttrs:false,initTheme:function(e){var d=this,b=Ext.chart.theme,c,a;if(e){e=e.split(":");for(c in b){if(c==e[0]){a=e[1]=="gradients";d.themeAttrs=new b[c]({useGradients:a});if(a){d.gradients=d.themeAttrs.gradients}if(d.themeAttrs.background){d.background=d.themeAttrs.background}return}}}}},function(){(function(){Ext.chart.theme=function(c,b){c=c||{};var k=0,h,a,j,q,r,e,n,p,m=[],d,g;if(c.baseColor){d=Ext.draw.Color.fromString(c.baseColor);g=d.getHSL()[2];if(g<0.15){d=d.getLighter(0.3)}else{if(g<0.3){d=d.getLighter(0.15)}else{if(g>0.85){d=d.getDarker(0.3)}else{if(g>0.7){d=d.getDarker(0.15)}}}}c.colors=[d.getDarker(0.3).toString(),d.getDarker(0.15).toString(),d.toString(),d.getLighter(0.15).toString(),d.getLighter(0.3).toString()];delete c.baseColor}if(c.colors){a=c.colors.slice();r=b.markerThemes;q=b.seriesThemes;h=a.length;b.colors=a;for(;k0?t:t+m,y:k>0?s:s+k,width:j(m),height:j(k)};v.mask.updateBox({x:d-j(m),y:c-j(k),width:j(m),height:j(k)});v.mask.show();v.maskSprite.setAttributes({hidden:true},true)}else{if(p=="horizontal"){l=["M",t,h,"L",t,k]}else{if(p=="vertical"){l=["M",i,s,"L",m,s]}else{l=["M",t,h,"L",t,k,"M",i,s,"L",m,s]}}v.maskSprite.setAttributes({path:l,fill:v.maskMouseDown?v.maskSprite.stroke:false,"stroke-width":p===true?1:3,hidden:false},true)}},onMouseLeave:function(b){var a=this;a.mouseMoved=false;a.mouseDown=false;a.maskMouseDown=false;a.mask.hide();a.maskSprite.hide(true)}});Ext.define("Ext.chart.Navigation",{constructor:function(){this.originalStore=this.store},setZoom:function(h){var g=this,k=g.substore||g.store,l=g.chartBBox,e=k.getCount(),i=(h.x/l.width*e)>>0,j=Math.ceil(((h.x+h.width)/l.width*e)),b,d=[],a,m=[],c;k.each(function(p,n){if(nj){return}c={};if(!d.length){p.fields.each(function(q){d.push(q.name)});b=d.length}for(n=0;n1;if(a||Ext.isArray(g[0])){var h=a?g:g[0],b=[],c,e,k;for(c=0,e=h.length;c0&&b.getAt(a-1).attr.zIndex>d)||(ad});if(a<0){a=b.length}b.insert(a,c)}return a},onAdd:function(d){var g=d.group,b=d.draggable,a,e,c;if(g){a=[].concat(g);e=a.length;for(c=0;c-1;b--){this.remove(a[b],d)}},onRemove:Ext.emptyFn,onDestroy:Ext.emptyFn,applyTransformations:function(b){b.bbox.transform=0;this.transform(b);var d=this,c=false,a=b.attr;if(a.translation.x!=null||a.translation.y!=null){d.translate(b);c=true}if(a.scaling.x!=null||a.scaling.y!=null){d.scale(b);c=true}if(a.rotation.degrees!=null){d.rotate(b);c=true}if(c){b.bbox.transform=0;this.transform(b);b.transformations=[]}},rotate:function(a){var e,b=a.attr.rotation.degrees,d=a.attr.rotation.x,c=a.attr.rotation.y;if(!Ext.isNumber(d)||!Ext.isNumber(c)){e=this.getBBox(a);d=!Ext.isNumber(d)?e.x+e.width/2:d;c=!Ext.isNumber(c)?e.y+e.height/2:c}a.transformations.push({type:"rotate",degrees:b,x:d,y:c})},translate:function(b){var a=b.attr.translation.x||0,c=b.attr.translation.y||0;b.transformations.push({type:"translate",x:a,y:c})},scale:function(b){var e,a=b.attr.scaling.x||1,g=b.attr.scaling.y||1,d=b.attr.scaling.centerX,c=b.attr.scaling.centerY;if(!Ext.isNumber(d)||!Ext.isNumber(c)){e=this.getBBox(b);d=!Ext.isNumber(d)?e.x+e.width/2:d;c=!Ext.isNumber(c)?e.y+e.height/2:c}b.transformations.push({type:"scale",x:a,y:g,centerX:d,centerY:c})},rectPath:function(a,e,b,c,d){if(d){return[["M",a+d,e],["l",b-d*2,0],["a",d,d,0,0,1,d,d],["l",0,c-d*2],["a",d,d,0,0,1,-d,d],["l",d*2-b,0],["a",d,d,0,0,1,-d,-d],["l",0,d*2-c],["a",d,d,0,0,1,d,-d],["z"]]}return[["M",a,e],["l",b,0],["l",0,c],["l",-b,0],["z"]]},ellipsePath:function(a,d,c,b){if(b==null){b=c}return[["M",a,d],["m",0,-b],["a",c,b,0,1,1,0,2*b],["a",c,b,0,1,1,0,-2*b],["z"]]},getPathpath:function(a){return a.attr.path},getPathcircle:function(c){var b=c.attr;return this.ellipsePath(b.x,b.y,b.radius,b.radius)},getPathellipse:function(c){var b=c.attr;return this.ellipsePath(b.x,b.y,b.radiusX||(b.width/2)||0,b.radiusY||(b.height/2)||0)},getPathrect:function(c){var b=c.attr;return this.rectPath(b.x,b.y,b.width,b.height,b.r)},getPathimage:function(c){var b=c.attr;return this.rectPath(b.x||0,b.y||0,b.width,b.height)},getPathtext:function(a){var b=this.getBBoxText(a);return this.rectPath(b.x,b.y,b.width,b.height)},createGroup:function(b){var a=this.groups.get(b);if(!a){a=Ext.create("Ext.draw.CompositeSprite",{surface:this});a.id=b||Ext.id(null,"ext-surface-group-");this.groups.add(a)}return a},getGroup:function(b){if(typeof b=="string"){var a=this.groups.get(b);if(!a){a=this.createGroup(b)}}else{a=b}return a},prepareItems:function(a,c){a=[].concat(a);var e,b,d;for(b=0,d=a.length;b0.5?0.2:0.8;n.setAttributes({fill:String(L.fromHSL.apply({},I))},true)}}l++;h++}}J.hideLabels(l)},hideLabels:function(c){var b=this.labelsGroup,a;if(b){a=b.getCount();while(a-->c){b.getAt(a).hide(true)}}}});Ext.define("Ext.chart.MaskLayer",{extend:"Ext.Component",constructor:function(a){a=Ext.apply(a||{},{style:"position:absolute;background-color:#888;cursor:move;opacity:0.6;border:1px solid #222;"});this.callParent([a])},initComponent:function(){var a=this;a.callParent(arguments);a.addEvents("mousedown","mouseup","mousemove","mouseenter","mouseleave")},initDraggable:function(){this.callParent(arguments);this.dd.onStart=function(c){var b=this,a=b.comp;this.startPosition=a.getPosition(true);if(a.ghost&&!a.liveDrag){b.proxy=a.ghost();b.dragTarget=b.proxy.header.el}if(b.constrain||b.constrainDelegate){b.constrainTo=b.calculateConstrainRegion()}}}});Ext.define("Ext.chart.TipSurface",{extend:"Ext.draw.Component",spriteArray:false,renderFirst:true,constructor:function(a){this.callParent([a]);if(a.sprites){this.spriteArray=[].concat(a.sprites);delete a.sprites}},onRender:function(){var c=this,b=0,a=0,d,e;this.callParent(arguments);e=c.spriteArray;if(c.renderFirst&&e){c.renderFirst=false;for(a=e.length;b0)]+=c.abs(g)}v=z(v,-a[0],a[1]);r=w(r,-a[0],a[1])}else{for(u=0;u>0))){v=(v>>0)+1}t=Ext.draw.Draw.snapEnds(r,v,x.majorTickSteps!==false?(x.majorTickSteps+1):x.steps);k=t.from;d=t.to;if(x.forceMinMax){if(!isNaN(v)){t.to=v}if(!isNaN(r)){t.from=r}}if(!isNaN(x.maximum)){t.to=x.maximum}if(!isNaN(x.minimum)){t.from=x.minimum}t.step=(t.to-t.from)/(d-k)*t.step;if(x.adjustMaximumByMajorUnit){t.to+=t.step}if(x.adjustMinimumByMajorUnit){t.from-=t.step}x.prevMin=r==v?0:r;x.prevMax=v;return t},drawAxis:function(v){var G=this,w,u,k=G.x,h=G.y,E=G.chart.maxGutter[0],D=G.chart.maxGutter[1],e=G.dashSize,C=G.minorTickSteps||0,B=G.minorTickSteps||0,b=G.length,H=G.position,g=[],n=false,c=G.applyData(),d=c.step,z=c.steps,t=c.from,a=c.to,A,s,r,q,p,m,l,F;if(G.hidden||isNaN(d)||(t==a)){return}G.from=c.from;G.to=c.to;if(H=="left"||H=="right"){s=Math.floor(k)+0.5;q=["M",s,h,"l",0,-b];A=b-(D*2)}else{r=Math.floor(h)+0.5;q=["M",k,r,"l",b,0];A=b-(E*2)}F=A/(z||1);m=Math.max(C+1,0);l=Math.max(B+1,0);if(G.type=="Numeric"){n=true;G.labels=[c.from]}if(H=="right"||H=="left"){r=h-D;s=k-((H=="left")*e*2);while(r>=h-D-A){q.push("M",s,Math.floor(r)+0.5,"l",e*2+1,0);if(r!=h-D){for(w=1;w>0;for(w=0;w4){h=h.substr(0,h.length-4)+"...";d.setAttributes({text:h},true);g=d.getBBox();if(g.width=0){if(!this.sprites){for(e=0;e<=l;e++){n=a.add({type:"path",path:["M",d+(m-c)*p(e/l*g-g),b+(m-c)*k(e/l*g-g),"L",d+m*p(e/l*g-g),b+m*k(e/l*g-g),"Z"],stroke:"#ccc"});n.setAttributes({hidden:false},true);h.push(n)}}else{h=this.sprites;for(e=0;e<=l;e++){h[e].setAttributes({path:["M",d+(m-c)*p(e/l*g-g),b+(m-c)*k(e/l*g-g),"L",d+m*p(e/l*g-g),b+m*k(e/l*g-g),"Z"],stroke:"#ccc"},true)}}}this.sprites=h;this.drawLabel();if(this.title){this.drawTitle()}},drawTitle:function(){var e=this,d=e.chart,a=d.surface,g=d.chartBBox,c=e.titleSprite,b;if(!c){e.titleSprite=c=a.add({type:"text",zIndex:2})}c.setAttributes(Ext.apply({text:e.title},e.label||{}),true);b=c.getBBox();c.setAttributes({x:g.x+(g.width/2)-(b.width/2),y:g.y+g.height-(b.height/2)-4},true)},setTitle:function(a){this.title=a;this.drawTitle()},drawLabel:function(){var k=this.chart,p=k.surface,b=k.chartBBox,j=b.x+(b.width/2),h=b.y+b.height,l=this.margin||10,d=Math.min(b.width,2*b.height)/2+2*l,u=Math.round,m=[],g,s=this.maximum||0,r=this.steps,q=0,v,t=Math.PI,c=Math.cos,a=Math.sin,e=this.label,n=e.renderer||function(i){return i};if(!this.labelArray){for(q=0;q<=r;q++){v=(q===0||q===r)?7:0;g=p.add({type:"text",text:n(u(q/r*s)),x:j+d*c(q/r*t-t),y:h+d*a(q/r*t-t)-v,"text-anchor":"middle","stroke-width":0.2,zIndex:10,stroke:"#333"});g.setAttributes({hidden:false},true);m.push(g)}}else{m=this.labelArray;for(q=0;q<=r;q++){v=(q===0||q===r)?7:0;m[q].setAttributes({text:n(u(q/r*s)),x:j+d*c(q/r*t-t),y:h+d*a(q/r*t-t)-v},true)}}this.labelArray=m}});Ext.define("Ext.chart.axis.Numeric",{extend:"Ext.chart.axis.Axis",alternateClassName:"Ext.chart.NumericAxis",type:"numeric",alias:"axis.numeric",constructor:function(c){var d=this,a=!!(c.label&&c.label.renderer),b;d.callParent([c]);b=d.label;if(d.roundToDecimal===false){return}if(!a){b.renderer=function(e){return d.roundToDecimal(e,d.decimals)}}},roundToDecimal:function(a,c){var b=Math.pow(10,c||0);return((a*b)>>0)/b},minimum:NaN,maximum:NaN,decimals:2,scale:"linear",position:"left",adjustMaximumByMajorUnit:false,adjustMinimumByMajorUnit:false,applyData:function(){this.callParent();return this.calcEnds()}});Ext.define("Ext.chart.axis.Radial",{extend:"Ext.chart.axis.Abstract",position:"radial",alias:"axis.radial",drawAxis:function(v){var m=this.chart,a=m.surface,u=m.chartBBox,r=m.store,b=r.getCount(),e=u.x+(u.width/2),c=u.y+(u.height/2),q=Math.min(u.width,u.height)/2,k=[],s,p=this.steps,g,d,h=Math.PI*2,t=Math.cos,n=Math.sin;if(this.sprites&&!m.resizing){this.drawLabel();return}if(!this.sprites){for(g=1;g<=p;g++){s=a.add({type:"circle",x:e,y:c,radius:Math.max(q*g/p,0),stroke:"#ccc"});s.setAttributes({hidden:false},true);k.push(s)}r.each(function(l,j){s=a.add({type:"path",path:["M",e,c,"L",e+q*t(j/b*h),c+q*n(j/b*h),"Z"],stroke:"#ccc"});s.setAttributes({hidden:false},true);k.push(s)})}else{k=this.sprites;for(g=0;g0){b.create=e;g=true}if(c.length>0){b.update=c;g=true}if(a.length>0){b.destroy=a;g=true}if(g&&d.fireEvent("beforesync",b)!==false){d.proxy.batch(b,d.getBatchListeners())}},getBatchListeners:function(){var b=this,a={scope:b,exception:b.onBatchException};if(b.batchUpdateMode=="operation"){a.operationcomplete=b.onBatchOperationComplete}else{a.complete=b.onBatchComplete}return a},save:function(){return this.sync.apply(this,arguments)},load:function(b){var c=this,a;b=b||{};Ext.applyIf(b,{action:"read",filters:c.filters.items,sorters:c.getSorters()});a=Ext.create("Ext.data.Operation",b);if(c.fireEvent("beforeload",c,a)!==false){c.loading=true;c.proxy.read(a,c.onProxyLoad,c)}return c},afterEdit:function(a){var b=this;if(b.autoSync){b.sync()}b.fireEvent("update",b,a,Ext.data.Model.EDIT)},afterReject:function(a){this.fireEvent("update",this,a,Ext.data.Model.REJECT)},afterCommit:function(a){this.fireEvent("update",this,a,Ext.data.Model.COMMIT)},clearData:Ext.emptyFn,destroyStore:function(){var a=this;if(!a.isDestroyed){if(a.storeId){Ext.data.StoreManager.unregister(a)}a.clearData();a.data=null;a.tree=null;a.reader=a.writer=null;a.clearListeners();a.isDestroyed=true;if(a.implicitModel){Ext.destroy(a.model)}}},doSort:function(a){var b=this;if(b.remoteSort){b.load()}else{b.data.sortBy(a);b.fireEvent("datachanged",b)}},getCount:Ext.emptyFn,getById:Ext.emptyFn,removeAll:Ext.emptyFn,isLoading:function(){return this.loading}});Ext.define("Ext.util.Grouper",{extend:"Ext.util.Sorter",getGroupString:function(a){return a.get(this.property)}});Ext.define("Ext.data.Store",{extend:"Ext.data.AbstractStore",alias:"store.store",requires:["Ext.ModelManager","Ext.data.Model","Ext.util.Grouper"],uses:["Ext.data.proxy.Memory"],remoteSort:false,remoteFilter:false,remoteGroup:false,groupField:undefined,groupDir:"ASC",pageSize:25,currentPage:1,clearOnPageLoad:true,loading:false,sortOnFilter:true,buffered:false,purgePageCount:5,isStore:true,constructor:function(b){b=b||{};var d=this,g=b.groupers||d.groupers,a=b.groupField||d.groupField,c,e;if(b.buffered||d.buffered){d.prefetchData=Ext.create("Ext.util.MixedCollection",false,function(h){return h.index});d.pendingRequests=[];d.pagesRequested=[];d.sortOnLoad=false;d.filterOnLoad=false}d.addEvents("beforeprefetch","groupchange","prefetch");e=b.data||d.data;d.data=Ext.create("Ext.util.MixedCollection",false,function(h){return h.internalId});if(e){d.inlineData=e;delete b.data}if(!g&&a){g=[{property:a,direction:b.groupDir||d.groupDir}]}delete b.groupers;d.groupers=Ext.create("Ext.util.MixedCollection");d.groupers.addAll(d.decodeGroupers(g));this.callParent([b]);if(d.groupers.items.length){d.sort(d.groupers.items,"prepend",false)}c=d.proxy;e=d.inlineData;if(e){if(c instanceof Ext.data.proxy.Memory){c.data=e;d.read()}else{d.add.apply(d,e)}d.sort();delete d.inlineData}else{if(d.autoLoad){Ext.defer(d.load,10,d,[typeof d.autoLoad==="object"?d.autoLoad:undefined])}}},onBeforeSort:function(){this.sort(this.groupers.items,"prepend",false)},decodeGroupers:function(d){if(!Ext.isArray(d)){if(d===undefined){d=[]}else{d=[d]}}var c=d.length,e=Ext.util.Grouper,a,b;for(b=0;b0},fireGroupChange:function(){this.fireEvent("groupchange",this,this.groupers)},getGroups:function(b){var d=this.data.items,a=d.length,c=[],k={},g,h,j,e;for(e=0;e-1){j=d.phantom===true;if(!k&&!j){g.removed.push(d)}d.unjoin(g);g.data.remove(d);h=h||!j;g.fireEvent("remove",g,d,e)}}g.fireEvent("datachanged",g);if(!k&&g.autoSync&&h){g.sync()}},removeAt:function(b){var a=this.getAt(b);if(a){this.remove(a)}},load:function(a){var b=this;a=a||{};if(Ext.isFunction(a)){a={callback:a}}Ext.applyIf(a,{groupers:b.groupers.items,page:b.currentPage,start:(b.currentPage-1)*b.pageSize,limit:b.pageSize,addRecords:false});return b.callParent([a])},onProxyLoad:function(b){var d=this,c=b.getResultSet(),a=b.getRecords(),e=b.wasSuccessful();if(c){d.totalCount=c.total}if(e){d.loadRecords(a,b)}d.loading=false;d.fireEvent("load",d,a,e);d.fireEvent("read",d,a,b.wasSuccessful());Ext.callback(b.callback,b.scope||d,[a,b,e])},onCreateRecords:function(d,e,m){if(m){var h=0,g=this.data,a=this.snapshot,b=d.length,l=e.records,j,c,k;for(;h-1){g.removeAt(k);g.insert(k,j)}if(a){k=a.indexOf(c);if(k>-1){a.removeAt(k);a.insert(k,j)}}j.phantom=false;j.join(this)}}}},onUpdateRecords:function(d,c,j){if(j){var e=0,g=d.length,h=this.data,b=this.snapshot,a;for(;ethis.totalCount)?this.totalCount-1:c;var j=this,d=a,l=j.prefetchData,e=[],h=!!l.getByKey(a),k=!!l.getByKey(c),g=j.getPageFromRecordIndex(a),m=j.getPageFromRecordIndex(c);j.cb=b;j.scope=n;j.requestStart=a;j.requestEnd=c;if(!h||!k){if(g===m){j.mask();j.prefetchPage(g,{callback:j.onWaitForGuarantee,scope:j})}else{j.mask();j.prefetchPage(g,{callback:j.onWaitForGuarantee,scope:j});j.prefetchPage(m,{callback:j.onWaitForGuarantee,scope:j})}}else{j.onGuaranteedRange()}},sort:function(){var d=this,c=d.prefetchData,e,g,a,b;if(d.buffered){if(d.remoteSort){c.clear();d.callParent(arguments)}else{e=d.getSorters();g=d.guaranteedStart;a=d.guaranteedEnd;if(e.length){c.sort(e);b=c.getRange();c.clear();d.cacheRecords(b);delete d.guaranteedStart;delete d.guaranteedEnd;d.guaranteeRange(g,a)}d.callParent(arguments)}}else{d.callParent(arguments)}},doSort:function(b){var e=this;if(e.remoteSort){e.load()}else{e.data.sortBy(b);if(!e.buffered){var a=e.getRange(),d=a.length,c=0;for(;c0){c=b[0].get(g)}for(;d0){a=c[0].get(g)}for(;da){a=e}}return a},average:function(c,a){var b=this;if(a&&b.isGrouped()){return b.aggregate(b.getAverage,b,true,[c])}else{return b.getAverage(b.data.items,c)}},getAverage:function(b,e){var c=0,a=b.length,d=0;if(b.length>0){for(;c+p){return false}else{if(+l==+p){return q}}}return false}})();if(!this.constrain){this.chart.filteredStore=this.chart.store;return}while(+e<=+d){c=j(e);h={};if(c){a.add(c.data)}else{a.model.prototype.fields.each(function(l){h[l.name]=false});h.date=e;a.add(h)}e=Ext.Date.add(e,b[0],b[1])}this.chart.filteredStore=a},aggregate:function(){var t={},p=[],v,n,j=this.aggregateOp,a=this.fields,r,m=this.groupBy.split(","),c,u=[],d=0,k,e=[],s=[],q=m.length,b=this.dateMethods,h=this.aggregateFn,g=this.chart.filteredStore||this.chart.store;g.each(function(i){if(!u.length){i.fields.each(function(l){u.push(l.name)});d=u.length}n=i.get(a);for(r=0;ra.width)&&w.areas){e=w.shrink(n,d,a.width);n=e.x;d=e.y}return{bbox:a,minX:u,minY:s,xValues:n,yValues:d,xScale:A,yScale:b,areasLen:y}},getPaths:function(){var w=this,l=w.chart,c=l.substore||l.store,d=true,e=w.getBounds(),a=e.bbox,m=w.items=[],v=[],b,p=[],s,h,j,g,q,t,k,z,r,u,n;h=e.xValues.length;for(s=0;sa.x+a.width)?(j-(j+n-a.x-a.width)):j;h=h-ma.y+a.height)?(h-(h+m-a.y-a.height)):h;if(v.chart.animate&&!v.chart.resizing){g.show(true);v.onAnimate(g,{to:{x:j,y:h}})}else{g.setAttributes({x:j,y:h},true);if(s){v.animation.on("afteranimate",function(){g.show(true)})}else{g.show(true)}}},onPlaceCallout:function(m,s,K,H,G,d,k){var N=this,t=N.chart,E=t.surface,I=t.resizing,M=N.callouts,u=N.items,w=(H==0)?false:u[H-1].point,A=(H==u.length-1)?false:u[H+1].point,c=K.point,B,g,O,L,q,r,b=m.label.getBBox(),J=30,D=10,C=3,h,e,j,z,v,F=N.clipRect,n,l;if(!w){w=c}if(!A){A=c}L=(A[1]-w[1])/(A[0]-w[0]);q=(c[1]-w[1])/(c[0]-w[0]);r=(A[1]-c[1])/(A[0]-c[0]);g=Math.sqrt(1+L*L);B=[1/g,L/g];O=[-B[1],B[0]];if(q>0&&r<0&&O[1]<0||q<0&&r>0&&O[1]>0){O[0]*=-1;O[1]*=-1}else{if(Math.abs(q)Math.abs(r)&&O[0]>0){O[0]*=-1;O[1]*=-1}}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;if(h(F[0]+F[2])){O[0]*=-1}if(e(F[1]+F[3])){O[1]*=-1}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;m.lines.setAttributes({path:["M",c[0],c[1],"L",n,l,"Z"]},true);m.box.setAttributes({x:h,y:e,width:j,height:z},true);m.label.setAttributes({x:n+(O[0]>0?C:-(b.width+C)),y:l},true);for(v in m){m[v].show(true)}},isItemInPoint:function(j,h,l,c){var g=this,b=l.pointsUp,d=l.pointsDown,n=Math.abs,e=Infinity,a,m,k;for(a=0,m=b.length;an(j-k[0])){e=n(j-k[0])}else{k=b[a-1];if(h>=k[1]&&(!d.length||h<=(d[a-1][1]))){l.storeIndex=a-1;l.storeField=g.yField[c];l.storeItem=g.chart.store.getAt(a-1);l._points=d.length?[k,d[a-1]]:[k];return true}else{break}}}return false},highlightSeries:function(){var a,c,b;if(this._index!==undefined){a=this.areas[this._index];if(a.__highlightAnim){a.__highlightAnim.paused=true}a.__highlighted=true;a.__prevOpacity=a.__prevOpacity||a.attr.opacity||1;a.__prevFill=a.__prevFill||a.attr.fill;a.__prevLineWidth=a.__prevLineWidth||a.attr.lineWidth;b=Ext.draw.Color.fromString(a.__prevFill);c={lineWidth:(a.__prevLineWidth||0)+2};if(b){c.fill=b.getLighter(0.2).toString()}else{c.opacity=Math.max(a.__prevOpacity-0.3,0)}if(this.chart.animate){a.__highlightAnim=Ext.create("Ext.fx.Anim",Ext.apply({target:a,to:c},this.chart.animate))}else{a.setAttributes(c,true)}}},unHighlightSeries:function(){var a;if(this._index!==undefined){a=this.areas[this._index];if(a.__highlightAnim){a.__highlightAnim.paused=true}if(a.__highlighted){a.__highlighted=false;a.__highlightAnim=Ext.create("Ext.fx.Anim",{target:a,to:{fill:a.__prevFill,opacity:a.__prevOpacity,lineWidth:a.__prevLineWidth}})}}},highlightItem:function(c){var b=this,a,d;if(!c){this.highlightSeries();return}a=c._points;d=a.length==2?["M",a[0][0],a[0][1],"L",a[1][0],a[1][1]]:["M",a[0][0],a[0][1],"L",a[0][0],b.bbox.y+b.bbox.height];b.highlightSprite.setAttributes({path:d,hidden:false},true)},unHighlightItem:function(a){if(!a){this.unHighlightSeries()}if(this.highlightSprite){this.highlightSprite.hide(true)}},hideAll:function(){if(!isNaN(this._index)){this.__excludes[this._index]=true;this.areas[this._index].hide(true);this.drawSeries()}},showAll:function(){if(!isNaN(this._index)){this.__excludes[this._index]=false;this.areas[this._index].show(true);this.drawSeries()}},getLegendColor:function(a){var b=this;return b.colorArrayStyle[a%b.colorArrayStyle.length]}});Ext.define("Ext.chart.series.Bar",{extend:"Ext.chart.series.Cartesian",alternateClassName:["Ext.chart.BarSeries","Ext.chart.BarChart","Ext.chart.StackedBarChart"],requires:["Ext.chart.axis.Axis","Ext.fx.Anim"],type:"bar",alias:"series.bar",column:false,style:{},gutter:38.2,groupGutter:38.2,xPadding:0,yPadding:10,constructor:function(c){this.callParent(arguments);var e=this,a=e.chart.surface,g=e.chart.shadow,d,b;Ext.apply(e,c,{highlightCfg:{lineWidth:3,stroke:"#55c",opacity:0.8,color:"#f00"},shadowAttributes:[{"stroke-width":6,"stroke-opacity":0.05,stroke:"rgb(200, 200, 200)",translate:{x:1.2,y:1.2}},{"stroke-width":4,"stroke-opacity":0.1,stroke:"rgb(150, 150, 150)",translate:{x:0.9,y:0.9}},{"stroke-width":2,"stroke-opacity":0.15,stroke:"rgb(100, 100, 100)",translate:{x:0.6,y:0.6}}]});e.group=a.getGroup(e.seriesId+"-bars");if(g){for(d=0,b=e.shadowAttributes.length;d0)][F]+=w(m)}});D[+(x>0)].push(w(x));D[+(z>0)].push(w(z));d=E.apply(h,D[0]);v=E.apply(h,D[1]);C=(g?a.height-b*2:a.width-p*2)/(v+d);n=n+d*C*(g?-1:1)}else{if(z/x<0){n=n-z*C*(g?-1:1)}}return{bars:s,bbox:a,barsLen:c,groupBarsLen:l,barWidth:q,groupBarWidth:A,scale:C,zero:n,xPadding:p,yPadding:b,signed:z/x<0,minY:z,maxY:x}},getPaths:function(){var v=this,Q=v.chart,b=Q.substore||Q.store,E=v.bounds=v.getBounds(),z=v.items=[],k=v.gutter/100,c=v.groupGutter/100,O=Q.animate,J=v.column,x=v.group,l=Q.shadow,M=v.shadowGroups,L=v.shadowAttributes,q=M.length,y=E.bbox,m=v.xPadding,r=v.yPadding,N=v.stacked,w=E.barsLen,K=v.colorArrayStyle,h=K&&K.length||0,B=Math,n=B.max,G=B.min,u=B.abs,P,R,e,H,C,a,i,t,s,p,g,d,D,A,I,F;b.each(function(j,S,T){a=E.zero;i=E.zero;H=0;C=0;t=false;for(P=0,g=0;P1?P:0)%h]};if(J){Ext.apply(s,{height:e,width:n(E.groupBarWidth,0),x:(y.x+m+S*E.barWidth*(1+k)+g*E.groupBarWidth*(1+c)*!N),y:a-e})}else{I=(T-1)-S;Ext.apply(s,{height:n(E.groupBarWidth,0),width:e+(a==E.zero),x:a+(a!=E.zero),y:(y.y+r+I*E.barWidth*(1+k)+g*E.groupBarWidth*(1+c)*!N+1)})}if(e<0){if(J){s.y=i;s.height=u(e)}else{s.x=i+e;s.width=u(e)}}if(N){if(e<0){i+=e*(J?-1:1)}else{a+=e*(J?-1:1)}H+=u(e);if(e<0){C+=u(e)}}s.x=Math.floor(s.x)+1;F=Math.floor(s.y);if(!Ext.isIE9&&s.y>F){F--}s.y=F;s.width=Math.floor(s.width);s.height=Math.floor(s.height);z.push({series:v,storeItem:j,value:[j.get(v.xField),R],attr:s,point:J?[s.x+s.width/2,R>=0?s.y:s.y+s.height]:[R>=0?s.x+s.width:s.x,s.y+s.height/2]});if(O&&Q.resizing){p=J?{x:s.x,y:E.zero,width:s.width,height:0}:{x:E.zero,y:s.y,width:0,height:s.height};if(l&&(N&&!t||!N)){t=true;for(d=0;d(P>=0?b-v.y:v.y+v.height-b)){q=N}}else{if(c+D>l.height){q=k;H.isOutside=true}}E=l.x+d/2;C=q==r?(b+((c/2+3)*(P>=0?-1:1))):(P>=0?(l.y+((c/2+3)*(q==k?-1:1))):(l.y+l.height+((c/2+3)*(q===k?1:-1))))}else{if(q==k){if(a+F+l.width>(P>=0?v.x+v.width-b:b-v.x)){q=N}}else{if(a+F>l.width){q=k;H.isOutside=true}}E=q==r?(b+((a/2+5)*(P>=0?1:-1))):(P>=0?(l.x+l.width+((a/2+5)*(q===k?1:-1))):(l.x+((a/2+5)*(q===k?-1:1))));C=l.y+d/2}z={x:E,y:C};if(L){z.rotate={x:E,y:C,degrees:270}}if(I&&B){if(G){E=l.x+l.width/2;C=b}else{E=b;C=l.y+l.height/2}H.setAttributes({x:E,y:C},true);if(L){H.setAttributes({rotate:{x:E,y:C,degrees:270}},true)}}if(I){m.onAnimate(H,{to:z})}else{H.setAttributes(Ext.apply(z,{hidden:false}),true)}},getLabelSize:function(g){var k=this.testerLabel,a=this.label,d=Ext.apply({},a,this.seriesLabelStyle||{}),b=a.orientation==="vertical",j,i,e,c;if(!k){k=this.testerLabel=this.chart.surface.add(Ext.apply({type:"text",opacity:0},d))}k.setAttributes({text:g},true);j=k.getBBox();i=j.width;e=j.height;return{width:b?e:i,height:b?i:e}},onAnimate:function(b,a){b.show();return this.callParent(arguments)},isItemInPoint:function(a,d,b){var c=b.sprite.getBBox();return c.x<=a&&c.y<=d&&(c.x+c.width)>=a&&(c.y+c.height)>=d},hideAll:function(){var a=this.chart.axes;if(!isNaN(this._index)){if(!this.__excludes){this.__excludes=[]}this.__excludes[this._index]=true;this.drawSeries();a.each(function(b){b.drawAxis()})}},showAll:function(){var a=this.chart.axes;if(!isNaN(this._index)){if(!this.__excludes){this.__excludes=[]}this.__excludes[this._index]=false;this.drawSeries();a.each(function(b){b.drawAxis()})}},getLegendColor:function(a){var c=this,b=c.colorArrayStyle.length;if(c.style&&c.style.fill){return c.style.fill}else{return c.colorArrayStyle[a%b]}},highlightItem:function(a){this.callParent(arguments);this.renderLabels()},unHighlightItem:function(){this.callParent(arguments);this.renderLabels()},cleanHighlights:function(){this.callParent(arguments);this.renderLabels()}});Ext.define("Ext.chart.series.Column",{alternateClassName:["Ext.chart.ColumnSeries","Ext.chart.ColumnChart","Ext.chart.StackedColumnChart"],extend:"Ext.chart.series.Bar",type:"column",alias:"series.column",column:true,xPadding:10,yPadding:0});Ext.define("Ext.chart.series.Gauge",{extend:"Ext.chart.series.Series",type:"gauge",alias:"series.gauge",rad:Math.PI/180,highlightDuration:150,angleField:false,needle:false,donut:false,showInLegend:false,style:{},constructor:function(b){this.callParent(arguments);var h=this,g=h.chart,a=g.surface,j=g.store,k=g.shadow,d,c,e;Ext.apply(h,b,{shadowAttributes:[{"stroke-width":6,"stroke-opacity":1,stroke:"rgb(200, 200, 200)",translate:{x:1.2,y:2}},{"stroke-width":4,"stroke-opacity":1,stroke:"rgb(150, 150, 150)",translate:{x:0.9,y:1.5}},{"stroke-width":2,"stroke-opacity":1,stroke:"rgb(100, 100, 100)",translate:{x:0.6,y:1}}]});h.group=a.getGroup(h.seriesId);if(k){for(d=0,c=h.shadowAttributes.length;d180,E=Math.min(s,q)*C,B=Math.max(s,q)*C,p=false;k+=l*d(j);i+=l*a(j);z=k+b.startRho*d(E);h=i+b.startRho*a(E);w=k+b.endRho*d(E);g=i+b.endRho*a(E);v=k+b.startRho*d(B);e=i+b.startRho*a(B);t=k+b.endRho*d(B);c=i+b.endRho*a(B);if(n(z-v)<=A&&n(h-e)<=A){p=true}if(p){return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["Z"]]}}else{return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["L",v,e],["A",b.startRho,b.startRho,0,+u,0,z,h],["Z"]]}}},calcMiddle:function(q){var k=this,l=k.rad,p=q.slice,n=k.centerX,m=k.centerY,j=p.startAngle,e=p.endAngle,i=Math.max(("rho" in p)?p.rho:k.radius,k.label.minMargin),h=+k.donut,b=Math.min(j,e)*l,a=Math.max(j,e)*l,d=-(b+(a-b)/2),g=n+(q.endRho+q.startRho)/2*Math.cos(d),c=m-(q.endRho+q.startRho)/2*Math.sin(d);q.middle={x:g,y:c}},drawSeries:function(){var x=this,X=x.chart,b=X.substore||X.store,B=x.group,T=x.chart.animate,E=x.chart.axes.get(0),F=E&&E.minimum||x.minimum||0,J=E&&E.maximum||x.maximum||0,n=x.angleField||x.field||x.xField,N=X.surface,I=X.chartBBox,h=x.rad,c=+x.donut,Y={},C=[],m=x.seriesStyle,a=x.seriesLabelStyle,g=x.colorArrayStyle,A=g&&g.length||0,L=X.maxGutter[0],K=X.maxGutter[1],k=Math.cos,t=Math.sin,u,e,d,w,s,D,P,G,H,M,V,U,l,W,y,q,R,S,r,z,v,Q,O;Ext.apply(m,x.style||{});x.setBBox();z=x.bbox;if(x.colorSet){g=x.colorSet;A=g.length}if(!b||!b.getCount()){return}e=x.centerX=I.x+(I.width/2);d=x.centerY=I.y+I.height;x.radius=Math.min(e-I.x,d-I.y);x.slices=s=[];x.items=C=[];if(!x.value){M=b.getAt(0);x.value=M.get(n)}P=x.value;if(x.needle){Q={series:x,value:P,startAngle:-180,endAngle:0,rho:x.radius};v=-180*(1-(P-F)/(J-F));s.push(Q)}else{v=-180*(1-(P-F)/(J-F));Q={series:x,value:P,startAngle:-180,endAngle:v,rho:x.radius};O={series:x,value:x.maximum-P,startAngle:v,endAngle:0,rho:x.radius};s.push(Q,O)}for(V=0,H=s.length;Van.width){a=aj.shrink(ay,ab,an.width);ay=a.x;ab=a.y}aj.items=[];k=0;aw=ay.length;for(N=0;Na.x+a.width)?(j-(j+n-a.x-a.width)):j;h=(h-ma.x+a.width)?(j-(j+n-a.x-a.width)):j;h=h-ma.y+a.height)?(h-(h+m-a.y-a.height)):h}}if(v.chart.animate&&!v.chart.resizing){g.show(true);v.onAnimate(g,{to:{x:j,y:h}})}else{g.setAttributes({x:j,y:h},true);if(s){v.animation.on("afteranimate",function(){g.show(true)})}else{g.show(true)}}},highlightItem:function(){var a=this;a.callParent(arguments);if(this.line&&!this.highlighted){if(!("__strokeWidth" in this.line)){this.line.__strokeWidth=this.line.attr["stroke-width"]||0}if(this.line.__anim){this.line.__anim.paused=true}this.line.__anim=Ext.create("Ext.fx.Anim",{target:this.line,to:{"stroke-width":this.line.__strokeWidth+3}});this.highlighted=true}},unHighlightItem:function(){var a=this;a.callParent(arguments);if(this.line&&this.highlighted){this.line.__anim=Ext.create("Ext.fx.Anim",{target:this.line,to:{"stroke-width":this.line.__strokeWidth}});this.highlighted=false}},onPlaceCallout:function(m,s,K,H,G,d,k){if(!G){return}var N=this,t=N.chart,E=t.surface,I=t.resizing,M=N.callouts,u=N.items,w=H==0?false:u[H-1].point,A=(H==u.length-1)?false:u[H+1].point,c=[+K.point[0],+K.point[1]],B,g,O,L,q,r,J=M.offsetFromViz||30,D=M.offsetToSide||10,C=M.offsetBox||3,h,e,j,z,v,F=N.clipRect,b={width:M.styles.width||10,height:M.styles.height||10},n,l;if(!w){w=c}if(!A){A=c}L=(A[1]-w[1])/(A[0]-w[0]);q=(c[1]-w[1])/(c[0]-w[0]);r=(A[1]-c[1])/(A[0]-c[0]);g=Math.sqrt(1+L*L);B=[1/g,L/g];O=[-B[1],B[0]];if(q>0&&r<0&&O[1]<0||q<0&&r>0&&O[1]>0){O[0]*=-1;O[1]*=-1}else{if(Math.abs(q)Math.abs(r)&&O[0]>0){O[0]*=-1;O[1]*=-1}}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;if(h(F[0]+F[2])){O[0]*=-1}if(e(F[1]+F[3])){O[1]*=-1}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;if(t.animate){N.onAnimate(m.lines,{to:{path:["M",c[0],c[1],"L",n,l,"Z"]}});if(m.panel){m.panel.setPosition(h,e,true)}}else{m.lines.setAttributes({path:["M",c[0],c[1],"L",n,l,"Z"]},true);if(m.panel){m.panel.setPosition(h,e)}}for(v in m){m[v].show(true)}},isItemInPoint:function(j,g,B,r){var D=this,n=D.items,t=D.selectionTolerance,k=null,A,c,q,w,h,z,b,u,a,l,C,e,d,p,v,s,E=Math.sqrt,m=Math.abs;c=n[r];A=r&&n[r-1];if(r>=h){A=n[h-1]}q=A&&A.point;w=c&&c.point;z=A?q[0]:w[0]-t;b=A?q[1]:w[1];u=c?w[0]:q[0]+t;a=c?w[1]:q[1];e=E((j-z)*(j-z)+(g-b)*(g-b));d=E((j-u)*(j-u)+(g-a)*(g-a));p=Math.min(e,d);if(p<=t){return p==e?A:c}return false},toggleAll:function(a){var e=this,b,d,g,c;if(!a){Ext.chart.series.Line.superclass.hideAll.call(e)}else{Ext.chart.series.Line.superclass.showAll.call(e)}if(e.line){e.line.setAttributes({hidden:!a},true);if(e.line.shadows){for(b=0,c=e.line.shadows,d=c.length;b180,E=Math.min(s,q)*C,B=Math.max(s,q)*C,p=false;k+=l*d(j);i+=l*a(j);z=k+b.startRho*d(E);h=i+b.startRho*a(E);w=k+b.endRho*d(E);g=i+b.endRho*a(E);v=k+b.startRho*d(B);e=i+b.startRho*a(B);t=k+b.endRho*d(B);c=i+b.endRho*a(B);if(n(z-v)<=A&&n(h-e)<=A){p=true}if(p){return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["Z"]]}}else{return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["L",v,e],["A",b.startRho,b.startRho,0,+u,0,z,h],["Z"]]}}},calcMiddle:function(p){var j=this,k=j.rad,n=p.slice,m=j.centerX,l=j.centerY,i=n.startAngle,e=n.endAngle,h=+j.donut,b=Math.min(i,e)*k,a=Math.max(i,e)*k,d=-(b+(a-b)/2),g=m+(p.endRho+p.startRho)/2*Math.cos(d),c=l-(p.endRho+p.startRho)/2*Math.sin(d);p.middle={x:g,y:c}},drawSeries:function(){var z=this,b=z.chart.substore||z.chart.store,F=z.group,ae=z.chart.animate,r=z.angleField||z.field||z.xField,I=[].concat(z.lengthField),ad=0,W=z.colorSet,aj=z.chart,T=aj.surface,O=aj.chartBBox,m=aj.shadow,ab=z.shadowGroups,aa=z.shadowAttributes,an=ab.length,h=z.rad,U=I.length,J=0,d=+z.donut,al=[],am={},ak,G=[],k=false,C=0,X=0,l=9,ao=true,B=0,q=z.seriesStyle,a=z.seriesLabelStyle,g=z.colorArrayStyle,E=g&&g.length||0,R=aj.maxGutter[0],Q=aj.maxGutter[1],w,ac,ai,K,P,M,e,c,x,t=0,y,v,H,V,L,ap,N,S,ag,af,n,ah,A,s,Y,Z,u,D;Ext.apply(q,z.style||{});z.setBBox();D=z.bbox;if(z.colorSet){g=z.colorSet;E=g.length}if(!b||!b.getCount()){return}z.unHighlightItem();z.cleanHighlights();e=z.centerX=O.x+(O.width/2);c=z.centerY=O.y+(O.height/2);z.radius=Math.min(e-O.x,c-O.y);z.slices=v=[];z.items=G=[];b.each(function(j,p){if(this.__excludes&&this.__excludes[p]){return}C+=+j.get(r);if(I[0]){for(af=0,ad=0;af1?af:ag)%E]}||{}));L=Ext.apply({},w.segment,{slice:y,series:z,storeItem:y.storeItem,index:ag});z.calcMiddle(L);if(m){L.shadows=y.shadowAttrs[af]}G[ag]=L;if(!H){u=Ext.apply({type:"path",group:F,middle:L.middle},Ext.apply(q,g&&{fill:g[(U>1?af:ag)%E]}||{}));H=T.add(Ext.apply(u,w))}y.sprite=y.sprite||[];L.sprite=H;y.sprite.push(H);y.point=[L.middle.x,L.middle.y];if(ae){w=z.renderer(H,b.getAt(ag),w,ag,b);H._to=w;H._animating=true;z.onAnimate(H,{to:w,listeners:{afteranimate:{fn:function(){this._animating=false},scope:H}}})}else{w=z.renderer(H,b.getAt(ag),Ext.apply(w,{hidden:false}),ag,b);H.setAttributes(w,true)}J+=x}}N=F.getCount();for(ag=0;ag>0]&&F.getAt(ag)){F.getAt(ag).hide(true)}}if(m){an=ab.length;for(M=0;M>0]){for(af=0;af90&&w<270)?w+180:w;h=k.attr.rotation.degrees;if(h!=null&&Math.abs(h-w)>180){if(w>h){w-=360}else{w+=360}w=w%360}else{w=a(w)}b.rotate={degrees:w,x:b.x,y:b.y};break;default:break}b.translate={x:0,y:0};if(e&&!z&&(t!="rotate"||h!=null)){C.onAnimate(k,{to:b})}else{k.setAttributes(b,true)}k._from=s},onPlaceCallout:function(l,q,B,w,v,d,e){var D=this,r=D.chart,z=r.resizing,C=D.callouts,j=D.centerX,h=D.centerY,E=B.middle,b={x:E.x,y:E.y},n=E.x-j,k=E.y-h,c=1,m,g=Math.atan2(k,n||1),a=l.label.getBBox(),A=20,u=10,t=10,s;c=B.endRho+A;m=(B.endRho+B.startRho)/2+(B.endRho-B.startRho)/3;b.x=c*Math.cos(g)+j;b.y=c*Math.sin(g)+h;n=m*Math.cos(g);k=m*Math.sin(g);if(r.animate){D.onAnimate(l.lines,{to:{path:["M",n+j,k+h,"L",b.x,b.y,"Z","M",b.x,b.y,"l",n>0?u:-u,0,"z"]}});D.onAnimate(l.box,{to:{x:b.x+(n>0?u:-(u+a.width+2*t)),y:b.y+(k>0?(-a.height-t/2):(-a.height-t/2)),width:a.width+2*t,height:a.height+2*t}});D.onAnimate(l.label,{to:{x:b.x+(n>0?(u+t):-(u+a.width+t)),y:b.y+(k>0?-a.height/4:-a.height/4)}})}else{l.lines.setAttributes({path:["M",n+j,k+h,"L",b.x,b.y,"Z","M",b.x,b.y,"l",n>0?u:-u,0,"z"]},true);l.box.setAttributes({x:b.x+(n>0?u:-(u+a.width+2*t)),y:b.y+(k>0?(-a.height-t/2):(-a.height-t/2)),width:a.width+2*t,height:a.height+2*t},true);l.label.setAttributes({x:b.x+(n>0?(u+t):-(u+a.width+t)),y:b.y+(k>0?-a.height/4:-a.height/4)},true)}for(s in l){l[s].show(true)}},onAnimate:function(b,a){b.show();return this.callParent(arguments)},isItemInPoint:function(l,j,n,e){var h=this,d=h.centerX,c=h.centerY,q=Math.abs,p=q(l-d),m=q(j-c),g=n.startAngle,a=n.endAngle,k=Math.sqrt(p*p+m*m),b=Math.atan2(j-c,l-d)/h.rad+360;if(b>h.firstAngle){b-=360}return(b<=g&&b>a&&k>=n.startRho&&k<=n.endRho)},hideAll:function(){var e,b,h,g,d,a,c;if(!isNaN(this._index)){this.__excludes=this.__excludes||[];this.__excludes[this._index]=true;c=this.slices[this._index].sprite;for(d=0,a=c.length;da.x+a.width)?(j-(j+n-a.x-a.width)):j;h=(h-ma.x+a.width)?(j-(j+n-a.x-a.width)):j;h=h-ma.y+a.height)?(h-(h+m-a.y-a.height)):h}}if(!l.animate){g.setAttributes({x:j,y:h},true);g.show(true)}else{if(t){p=u.sprite.getActiveAnimation();if(p){p.on("afteranimate",function(){g.setAttributes({x:j,y:h},true);g.show(true)})}else{g.show(true)}}else{w.onAnimate(g,{to:{x:j,y:h}})}}},onPlaceCallout:function(k,m,C,A,z,c,h){var F=this,n=F.chart,v=n.surface,B=n.resizing,E=F.callouts,q=F.items,b=C.point,G,a=k.label.getBBox(),D=30,u=10,t=3,e,d,g,s,r,w=F.bbox,l,j;G=[Math.cos(Math.PI/4),-Math.sin(Math.PI/4)];l=b[0]+G[0]*D;j=b[1]+G[1]*D;e=l+(G[0]>0?0:-(a.width+2*t));d=j-a.height/2-t;g=a.width+2*t;s=a.height+2*t;if(e(w[0]+w[2])){G[0]*=-1}if(d(w[1]+w[3])){G[1]*=-1}l=b[0]+G[0]*D;j=b[1]+G[1]*D;e=l+(G[0]>0?0:-(a.width+2*t));d=j-a.height/2-t;g=a.width+2*t;s=a.height+2*t;if(n.animate){F.onAnimate(k.lines,{to:{path:["M",b[0],b[1],"L",l,j,"Z"]}},true);F.onAnimate(k.box,{to:{x:e,y:d,width:g,height:s}},true);F.onAnimate(k.label,{to:{x:l+(G[0]>0?t:-(a.width+t)),y:j}},true)}else{k.lines.setAttributes({path:["M",b[0],b[1],"L",l,j,"Z"]},true);k.box.setAttributes({x:e,y:d,width:g,height:s},true);k.label.setAttributes({x:l+(G[0]>0?t:-(a.width+t)),y:j},true)}for(r in k){k[r].show(true)}},onAnimate:function(b,a){b.show();return this.callParent(arguments)},isItemInPoint:function(c,h,e){var b,d=10,a=Math.abs;function g(i){var k=a(i[0]-c),j=a(i[1]-h);return Math.sqrt(k*k+j*j)}b=e.point;return(b[0]-d<=c&&b[0]+d>=c&&b[1]-d<=h&&b[1]+d>=h)}});Ext.define("Ext.chart.theme.Base",{requires:["Ext.chart.theme.Theme"],constructor:function(a){Ext.chart.theme.call(this,a,{background:false,axis:{stroke:"#444","stroke-width":1},axisLabelTop:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisLabelRight:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisLabelBottom:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisLabelLeft:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisTitleTop:{font:"bold 18px Arial",fill:"#444"},axisTitleRight:{font:"bold 18px Arial",fill:"#444",rotate:{x:0,y:0,degrees:270}},axisTitleBottom:{font:"bold 18px Arial",fill:"#444"},axisTitleLeft:{font:"bold 18px Arial",fill:"#444",rotate:{x:0,y:0,degrees:270}},series:{"stroke-width":0},seriesLabel:{font:"12px Arial",fill:"#333"},marker:{stroke:"#555",fill:"#000",radius:3,size:3},colors:["#94ae0a","#115fa6","#a61120","#ff8809","#ffd13e","#a61187","#24ad9a","#7c7474","#a66111"],seriesThemes:[{fill:"#115fa6"},{fill:"#94ae0a"},{fill:"#a61120"},{fill:"#ff8809"},{fill:"#ffd13e"},{fill:"#a61187"},{fill:"#24ad9a"},{fill:"#7c7474"},{fill:"#a66111"}],markerThemes:[{fill:"#115fa6",type:"circle"},{fill:"#94ae0a",type:"cross"},{fill:"#a61120",type:"plus"}]})}},function(){var c=["#b1da5a","#4ce0e7","#e84b67","#da5abd","#4d7fe6","#fec935"],k=["Green","Sky","Red","Purple","Blue","Yellow"],h=0,g=0,b=c.length,a=Ext.chart.theme,d=[["#f0a50a","#c20024","#2044ba","#810065","#7eae29"],["#6d9824","#87146e","#2a9196","#d39006","#1e40ac"],["#fbbc29","#ce2e4e","#7e0062","#158b90","#57880e"],["#ef5773","#fcbd2a","#4f770d","#1d3eaa","#9b001f"],["#7eae29","#fdbe2a","#910019","#27b4bc","#d74dbc"],["#44dce1","#0b2592","#996e05","#7fb325","#b821a1"]],e=d.length;for(;h1){for(a=b.length;c0){if(k){for(h=k.length;g0){e.timeout=setTimeout(Ext.bind(i.handleTimeout,i,[e]),l)}i.setupErrorHandling(e);i[k]=Ext.bind(i.handleResponse,i,[e],true);Ext.getHead().appendChild(j);return e},abort:function(b){var c=this.statics().requests,a;if(b){if(!b.id){b=c[b]}this.abort(b)}else{for(a in c){if(c.hasOwnProperty(a)){this.abort(c[a])}}}},setupErrorHandling:function(a){a.script.onerror=Ext.bind(this.handleError,this,[a])},handleAbort:function(a){a.errorType="abort";this.handleResponse(null,a)},handleError:function(a){a.errorType="error";this.handleResponse(null,a)},cleanupErrorHandling:function(a){a.script.onerror=null},handleTimeout:function(a){a.errorType="timeout";this.handleResponse(null,a)},handleResponse:function(a,b){var c=true;if(b.timeout){clearTimeout(b.timeout)}delete this[b.callbackName];delete this.statics()[b.id];this.cleanupErrorHandling(b);Ext.fly(b.script).remove();if(b.errorType){c=false;Ext.callback(b.failure,b.scope,[b.errorType])}else{Ext.callback(b.success,b.scope,[a])}Ext.callback(b.callback,b.scope,[c,a,b.errorType])},createScript:function(b,c){var a=document.createElement("script");a.setAttribute("src",Ext.urlAppend(b,Ext.Object.toQueryString(c)));a.setAttribute("async",true);a.setAttribute("type","text/javascript");return a}});Ext.define("Ext.data.JsonPStore",{extend:"Ext.data.Store",alias:"store.jsonp",constructor:function(a){this.callParent(Ext.apply(a,{reader:Ext.create("Ext.data.reader.Json",a),proxy:Ext.create("Ext.data.proxy.JsonP",a)}))}});Ext.define("Ext.data.NodeInterface",{requires:["Ext.data.Field"],statics:{decorate:function(c){if(!c.isNode){var j=Ext.ModelManager,e=c.modelName,h=j.getModel(e),k=h.prototype.idProperty,g=[],b,a,d;h.override(this.getPrototypeBody());g=this.applyFields(h,[{name:k,type:"string",defaultValue:null},{name:"parentId",type:"string",defaultValue:null},{name:"index",type:"int",defaultValue:null},{name:"depth",type:"int",defaultValue:0},{name:"expanded",type:"bool",defaultValue:false,persist:false},{name:"expandable",type:"bool",defaultValue:true,persist:false},{name:"checked",type:"auto",defaultValue:null},{name:"leaf",type:"bool",defaultValue:false,persist:false},{name:"cls",type:"string",defaultValue:null,persist:false},{name:"iconCls",type:"string",defaultValue:null,persist:false},{name:"root",type:"boolean",defaultValue:false,persist:false},{name:"isLast",type:"boolean",defaultValue:false,persist:false},{name:"isFirst",type:"boolean",defaultValue:false,persist:false},{name:"allowDrop",type:"boolean",defaultValue:true,persist:false},{name:"allowDrag",type:"boolean",defaultValue:true,persist:false},{name:"loaded",type:"boolean",defaultValue:false,persist:false},{name:"loading",type:"boolean",defaultValue:false,persist:false},{name:"href",type:"string",defaultValue:null,persist:false},{name:"hrefTarget",type:"string",defaultValue:null,persist:false},{name:"qtip",type:"string",defaultValue:null,persist:false},{name:"qtitle",type:"string",defaultValue:null,persist:false}]);d=g.length;for(b=0;b0},isExpandable:function(){var a=this;if(a.get("expandable")){return !(a.isLeaf()||(a.isLoaded()&&!a.hasChildNodes()))}return false},appendChild:function(b,k,j){var g=this,c,e,d,h,a;if(Ext.isArray(b)){for(c=0,e=b.length;c0){Ext.Array.sort(d,g);for(c=0;c0){b=Ext.urlAppend(b,Ext.String.format("{0}={1}",g.recordParam,g.encodeRecords(a)))}return b},destroy:function(){this.abort();this.callParent()},abort:function(){var a=this.lastRequest;if(a){Ext.data.JsonP.abort(a.jsonp)}},encodeRecords:function(b){var d="",c=0,a=b.length;for(;c")}for(;c");for(k in l){if(l.hasOwnProperty(k)){d.push("<",k,">",l[k],"")}}d.push("")}if(j){d.push("")}a.xmlData=d.join("");return a}});Ext.define("Ext.direct.Event",{alias:"direct.event",requires:["Ext.direct.Manager"],status:true,constructor:function(a){Ext.apply(this,a)},getData:function(){return this.data}});Ext.define("Ext.direct.RemotingEvent",{extend:"Ext.direct.Event",alias:"direct.rpc",getTransaction:function(){return this.transaction||Ext.direct.Manager.getTransaction(this.tid)}});Ext.define("Ext.direct.ExceptionEvent",{extend:"Ext.direct.RemotingEvent",alias:"direct.exception",status:false});Ext.define("Ext.direct.Provider",{alias:"direct.provider",mixins:{observable:"Ext.util.Observable"},constructor:function(a){var b=this;Ext.apply(b,a);b.addEvents("connect","disconnect","data","exception");b.mixins.observable.constructor.call(b,a)},isConnected:function(){return false},connect:Ext.emptyFn,disconnect:Ext.emptyFn});Ext.define("Ext.direct.JsonProvider",{extend:"Ext.direct.Provider",alias:"direct.jsonprovider",uses:["Ext.direct.ExceptionEvent"],parseResponse:function(a){if(!Ext.isEmpty(a.responseText)){if(Ext.isObject(a.responseText)){return a.responseText}return Ext.decode(a.responseText)}return null},createEvents:function(b){var h=null,d=[],g,c=0,a;try{h=this.parseResponse(b)}catch(j){g=Ext.create("Ext.direct.ExceptionEvent",{data:j,xhr:b,code:Ext.direct.Manager.self.exceptions.PARSE,message:"Error parsing json response: \n\n "+h});return[g]}if(Ext.isArray(h)){for(a=h.length;c0){this.sendRequest(a==1?b[0]:b);this.callBuffer=[]}},configureFormRequest:function(e,a,b,i,j){var h=this,c=Ext.create("Ext.direct.Transaction",{provider:h,action:e,method:a.name,args:[b,i,j],callback:j&&Ext.isFunction(i)?Ext.Function.bind(i,j):i,isForm:true}),g,d;if(h.fireEvent("beforecall",h,c,a)!==false){Ext.direct.Manager.addTransaction(c);g=String(b.getAttribute("enctype")).toLowerCase()=="multipart/form-data";d={extTID:c.id,extAction:e,extMethod:a.name,extType:"rpc",extUpload:String(g)};Ext.apply(c,{form:Ext.getDom(b),isUpload:g,params:i&&Ext.isObject(i.params)?Ext.apply(d,i.params):d});h.fireEvent("call",h,c,a);h.sendFormRequest(c)}},sendFormRequest:function(a){Ext.Ajax.request({url:this.url,params:a.params,callback:this.onData,scope:this,form:a.form,isUpload:a.isUpload,transaction:a})}});Ext.define("Ext.draw.Matrix",{requires:["Ext.draw.Draw"],constructor:function(h,g,l,k,j,i){if(h!=null){this.matrix=[[h,l,j],[g,k,i],[0,0,1]]}else{this.matrix=[[1,0,0],[0,1,0],[0,0,1]]}},add:function(t,q,m,k,i,h){var n=this,g=[[],[],[]],s=[[t,m,i],[q,k,h],[0,0,1]],r,p,l,j;for(r=0;r<3;r++){for(p=0;p<3;p++){j=0;for(l=0;l<3;l++){j+=n.matrix[r][l]*s[l][p]}g[r][p]=j}}n.matrix=g},prepend:function(t,q,m,k,i,h){var n=this,g=[[],[],[]],s=[[t,m,i],[q,k,h],[0,0,1]],r,p,l,j;for(r=0;r<3;r++){for(p=0;p<3;p++){j=0;for(l=0;l<3;l++){j+=s[r][l]*n.matrix[l][p]}g[r][p]=j}}n.matrix=g},invert:function(){var j=this.matrix,i=j[0][0],h=j[1][0],n=j[0][1],m=j[1][1],l=j[0][2],k=j[1][2],g=i*m-h*n;return new Ext.draw.Matrix(m/g,-h/g,-n/g,i/g,(n*k-m*l)/g,(h*l-i*k)/g)},clone:function(){var i=this.matrix,h=i[0][0],g=i[1][0],m=i[0][1],l=i[1][1],k=i[0][2],j=i[1][2];return new Ext.draw.Matrix(h,g,m,l,k,j)},translate:function(a,b){this.prepend(1,0,0,1,a,b)},scale:function(b,e,a,d){var c=this;if(e==null){e=b}c.add(1,0,0,1,a,d);c.add(b,0,0,e,0,0);c.add(1,0,0,1,-a,-d)},rotate:function(c,b,h){c=Ext.draw.Draw.rad(c);var e=this,g=+Math.cos(c).toFixed(9),d=+Math.sin(c).toFixed(9);e.add(g,d,-d,g,b,h);e.add(1,0,0,1,-b,-h)},x:function(a,c){var b=this.matrix;return a*b[0][0]+c*b[0][1]+b[0][2]},y:function(a,c){var b=this.matrix;return a*b[1][0]+c*b[1][1]+b[1][2]},get:function(b,a){return +this.matrix[b][a].toFixed(4)},toString:function(){var a=this;return[a.get(0,0),a.get(0,1),a.get(1,0),a.get(1,1),0,0].join()},toSvg:function(){var a=this;return"matrix("+[a.get(0,0),a.get(1,0),a.get(0,1),a.get(1,1),a.get(0,2),a.get(1,2)].join()+")"},toFilter:function(){var a=this;return"progid:DXImageTransform.Microsoft.Matrix(M11="+a.get(0,0)+", M12="+a.get(0,1)+", M21="+a.get(1,0)+", M22="+a.get(1,1)+", Dx="+a.get(0,2)+", Dy="+a.get(1,2)+")"},offset:function(){var a=this.matrix;return[a[0][2].toFixed(4),a[1][2].toFixed(4)]},split:function(){function d(g){return g[0]*g[0]+g[1]*g[1]}function b(g){var h=Math.sqrt(d(g));g[0]/=h;g[1]/=h}var a=this.matrix,c={translateX:a[0][2],translateY:a[1][2]},e;e=[[a[0][0],a[0][1]],[a[1][1],a[1][1]]];c.scaleX=Math.sqrt(d(e[0]));b(e[0]);c.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1];e[1]=[e[1][0]-e[0][0]*c.shear,e[1][1]-e[0][1]*c.shear];c.scaleY=Math.sqrt(d(e[1]));b(e[1]);c.shear/=c.scaleY;c.rotate=Math.asin(-e[0][1]);c.isSimple=!+c.shear.toFixed(9)&&(c.scaleX.toFixed(9)==c.scaleY.toFixed(9)||!c.rotate);return c}});Ext.define("Ext.draw.SpriteDD",{extend:"Ext.dd.DragSource",constructor:function(b,a){var d=this,c=b.el;d.sprite=b;d.el=c;d.dragData={el:c,sprite:b};d.callParent([c,a]);d.sprite.setStyle("cursor","move")},showFrame:Ext.emptyFn,createFrame:Ext.emptyFn,getDragEl:function(a){return this.el},getRegion:function(){var j=this,g=j.el,m,d,c,p,n,u,a,k,h,s,q;q=j.sprite;s=q.getBBox();try{m=Ext.core.Element.getXY(g)}catch(i){}if(!m){return null}d=m[0];c=d+s.width;p=m[1];n=p+s.height;return Ext.create("Ext.util.Region",p,c,n,d)},startDrag:function(b,e){var d=this,a=d.sprite.attr,c=a.translation;if(d.sprite.vml){d.prevX=b+a.x;d.prevY=e+a.y}else{d.prevX=b-c.x;d.prevY=e-c.y}},onDrag:function(g){var d=g.getXY(),c=this,b=c.sprite,a=b.attr;c.translateX=d[0]-c.prevX;c.translateY=d[1]-c.prevY;b.setAttributes({translate:{x:c.translateX,y:c.translateY}},true);if(b.vml){c.prevX=d[0]+a.x||0;c.prevY=d[1]+a.y||0}}});Ext.define("Ext.draw.Sprite",{mixins:{observable:"Ext.util.Observable",animate:"Ext.util.Animate"},requires:["Ext.draw.SpriteDD"],dirty:false,dirtyHidden:false,dirtyTransform:false,dirtyPath:true,dirtyFont:true,zIndexDirty:true,isSprite:true,zIndex:0,fontProperties:["font","font-size","font-weight","font-style","font-family","text-anchor","text"],pathProperties:["x","y","d","path","height","width","radius","r","rx","ry","cx","cy"],constructor:function(a){var b=this;a=a||{};b.id=Ext.id(null,"ext-sprite-");b.transformations=[];Ext.copyTo(this,a,"surface,group,type,draggable");b.bbox={};b.attr={zIndex:0,translation:{x:null,y:null},rotation:{degrees:null,x:null,y:null},scaling:{x:null,y:null,cx:null,cy:null}};delete a.surface;delete a.group;delete a.type;delete a.draggable;b.setAttributes(a);b.addEvents("beforedestroy","destroy","render","mousedown","mouseup","mouseover","mouseout","mousemove","click");b.mixins.observable.constructor.apply(this,arguments)},initDraggable:function(){var a=this;a.draggable=true;if(!a.el){a.surface.createSpriteElement(a)}a.dd=Ext.create("Ext.draw.SpriteDD",a,Ext.isBoolean(a.draggable)?null:a.draggable);a.on("beforedestroy",a.dd.destroy,a.dd)},setAttributes:function(k,n){var t=this,j=t.fontProperties,r=j.length,g=t.pathProperties,e=g.length,s=!!t.surface,a=s&&t.surface.customAttributes||{},b=t.attr,l,p,h,c,q,m,u,d;k=Ext.apply({},k);for(l in a){if(k.hasOwnProperty(l)&&typeof a[l]=="function"){Ext.apply(k,a[l].apply(t,[].concat(k[l])))}}if(!!k.hidden!==!!b.hidden){t.dirtyHidden=true}for(p=0;p-1)&&(q[p] in g)){q[p]=g[q[p]]}if(p in t){c.dom.setAttribute(p,t[p](q[p],s,m))}else{c.dom.setAttribute(p,q[p])}}}if(s.type=="text"){m.tuneText(s,q)}b=j.style;if(b){c.setStyle(b)}s.dirty=false;if(Ext.isSafari3){m.webkitRect.show();setTimeout(function(){m.webkitRect.hide()})}},setClip:function(b,g){var e=this,d=g["clip-rect"],a,c;if(d){if(b.clip){b.clip.parentNode.parentNode.removeChild(b.clip.parentNode)}a=e.createSvgElement("clipPath");c=e.createSvgElement("rect");a.id=Ext.id(null,"ext-clip-");c.setAttribute("x",d.x);c.setAttribute("y",d.y);c.setAttribute("width",d.width);c.setAttribute("height",d.height);a.appendChild(c);e.getDefs().appendChild(a);b.el.dom.setAttribute("clip-path","url(#"+a.id+")");b.clip=c}},applyZIndex:function(c){var a=this.normalizeSpriteCollection(c),d=c.el,b;if(this.el.dom.childNodes[a+2]!==d.dom){if(a>0){do{b=this.items.getAt(--a).el}while(!b&&a>0)}d.insertAfter(b||this.bgRect)}c.zIndexDirty=false},createItem:function(a){var b=Ext.create("Ext.draw.Sprite",a);b.surface=this;return b},addGradient:function(h){h=Ext.draw.Draw.parseGradient(h);var e=this,d=h.stops.length,a=h.vector,l=Ext.isSafari&&!Ext.isStrict,j,g,k,c,b;b=e.gradientsMap||{};if(!l){if(h.type=="linear"){j=e.createSvgElement("linearGradient");j.setAttribute("x1",a[0]);j.setAttribute("y1",a[1]);j.setAttribute("x2",a[2]);j.setAttribute("y2",a[3])}else{j=e.createSvgElement("radialGradient");j.setAttribute("cx",h.centerX);j.setAttribute("cy",h.centerY);j.setAttribute("r",h.radius);if(Ext.isNumber(h.focalX)&&Ext.isNumber(h.focalY)){j.setAttribute("fx",h.focalX);j.setAttribute("fy",h.focalY)}}j.id=h.id;e.getDefs().appendChild(j);for(c=0;c")}a.W=h.span.offsetWidth;a.H=h.span.offsetHeight+2;if(c["text-anchor"]=="middle"){e["v-text-align"]="center"}else{if(c["text-anchor"]=="end"){e["v-text-align"]="right";a.bbx=-Math.round(a.W/2)}else{e["v-text-align"]="left";a.bbx=Math.round(a.W/2)}}}a.X=c.x;a.Y=c.y;a.path.v=Ext.String.format("m{0},{1}l{2},{1}",Math.round(a.X*j),Math.round(a.Y*j),Math.round(a.X*j)+1);i.bbox.plain=null;i.bbox.transform=null;i.dirtyFont=false},setText:function(a,b){a.vml.textpath.string=Ext.htmlDecode(b)},hide:function(){this.el.hide()},show:function(){this.el.show()},hidePrim:function(a){a.el.addCls(Ext.baseCSSPrefix+"hide-visibility")},showPrim:function(a){a.el.removeCls(Ext.baseCSSPrefix+"hide-visibility")},setSize:function(b,a){var c=this;b=b||c.width;a=a||c.height;c.width=b;c.height=a;if(c.el){if(b!=undefined){c.el.setWidth(b)}if(a!=undefined){c.el.setHeight(a)}c.applyViewBox();c.callParent(arguments)}},setViewBox:function(b,d,c,a){this.callParent(arguments);this.viewBox={x:b,y:d,width:c,height:a};this.applyViewBox()},applyViewBox:function(){var d=this,l=d.viewBox,a=d.width,h=d.height,g,e,j,b,i,c,k;if(l&&(a||h)){g=l.x;e=l.y;j=l.width;b=l.height;i=h/b;c=a/j;if(j*i')}}catch(d){c.createNode=function(e){return g.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}}if(!c.el){var b=g.createElement("div");c.el=Ext.get(b);c.el.addCls(c.baseVmlCls);c.span=g.createElement("span");Ext.get(c.span).addCls(c.measureSpanCls);b.appendChild(c.span);c.el.setSize(c.width||10,c.height||10);a.appendChild(b);c.el.on({scope:c,mouseup:c.onMouseUp,mousedown:c.onMouseDown,mouseover:c.onMouseOver,mouseout:c.onMouseOut,mousemove:c.onMouseMove,mouseenter:c.onMouseEnter,mouseleave:c.onMouseLeave,click:c.onClick})}c.renderAll()},renderAll:function(){this.items.each(this.renderItem,this)},redraw:function(a){a.dirty=true;this.renderItem(a)},renderItem:function(a){if(!this.el){return}if(!a.el){this.createSpriteElement(a)}if(a.dirty){this.applyAttrs(a);if(a.dirtyTransform){this.applyTransformations(a)}}},rotationCompensation:function(d,c,a){var b=Ext.create("Ext.draw.Matrix");b.rotate(-d,0.5,0.5);return{x:b.x(c,a),y:b.y(c,a)}},transform:function(u){var D=this,x=Ext.create("Ext.draw.Matrix"),m=u.transformations,s=m.length,z=0,k=0,c=1,b=1,j="",e=u.el,A=e.dom,v=A.style,a=D.zoom,g=u.skew,C,B,p,h,n,l,w,t,r,q,d;for(;ze?1:(g0){if(!a.owner.isFixedWidth()){b.width=undefined}if(!a.owner.isFixedHeight()){b.height=undefined}a.setItemSize(c,b.width,b.height)}},configureItem:function(a){a.layoutManagedHeight=0;a.layoutManagedWidth=0;this.callParent(arguments)}});Ext.define("Ext.layout.container.AbstractCard",{extend:"Ext.layout.container.Fit",type:"card",sizeAllCards:false,hideInactive:true,deferredRender:false,beforeLayout:function(){var a=this;a.activeItem=a.getActiveItem();if(a.activeItem&&a.deferredRender){a.renderItems([a.activeItem],a.getRenderTarget());return true}else{return this.callParent(arguments)}},onLayout:function(){var g=this,h=g.activeItem,b=g.getVisibleItems(),e=b.length,a=g.getTargetBox(),c,d;for(c=0;c1){b.doSelect(a,c,false)}else{b.doSelect(a,false)}}}}break;case"SIMPLE":if(b.isSelected(a)){b.doDeselect(a)}else{b.doSelect(a,true)}break;case"SINGLE":if(b.allowDeselect&&b.isSelected(a)){b.doDeselect(a)}else{b.doSelect(a,false)}break}},selectRange:function(l,e,m,c){var j=this,k=j.store,d=0,h,g,a,b=[];if(j.isLocked()){return}if(!m){j.deselectAll(true)}if(!Ext.isNumber(l)){l=k.indexOf(l)}if(!Ext.isNumber(e)){e=k.indexOf(e)}if(l>e){g=e;e=l;l=g}for(h=l;h<=e;h++){if(j.isSelected(k.getAt(h))){d++}}if(!c){a=-1}else{a=(c=="up")?l:e}for(h=l;h<=e;h++){if(d==(e-l+1)){if(h!=a){j.doDeselect(h,true)}}else{b.push(k.getAt(h))}}j.doMultiSelect(b,true)},select:function(b,c,a){this.doSelect(b,c,a)},deselect:function(b,a){this.doDeselect(b,a)},doSelect:function(c,e,b){var d=this,a;if(d.locked){return}if(typeof c==="number"){c=[d.store.getAt(c)]}if(d.selectionMode=="SINGLE"&&c){a=c.length?c[0]:c;d.doSingleSelect(a,b)}else{d.doMultiSelect(c,e,b)}},doMultiSelect:function(a,l,k){var h=this,b=h.selected,j=false,d=0,g,e;if(h.locked){return}a=!Ext.isArray(a)?[a]:a;g=a.length;if(!l&&b.getCount()>0){if(h.doDeselect(h.getSelection(),k)===false){return}}function c(){b.add(e);j=true}for(;d0&&!k);return g===l},doSingleSelect:function(a,b){var d=this,g=false,c=d.selected;if(d.locked){return}if(d.isSelected(a)){return}function e(){d.bulkChange=true;if(c.getCount()>0&&d.doDeselect(d.lastSelected,b)===false){delete d.bulkChange;return false}delete d.bulkChange;c.add(a);d.lastSelected=a;g=true}d.onSelectChange(a,true,b,e);if(g){if(!b){d.setLastFocused(a)}d.maybeFireSelectionChange(!b)}},setLastFocused:function(c,b){var d=this,a=d.lastFocused;d.lastFocused=c;d.onLastFocusChanged(a,c,b)},isFocused:function(a){return a===this.getLastFocused()},maybeFireSelectionChange:function(a){var b=this;if(a&&!b.bulkChange){b.fireEvent("selectionchange",b,b.getSelection())}},getLastSelected:function(){return this.lastSelected},getLastFocused:function(){return this.lastFocused},getSelection:function(){return this.selected.getRange()},getSelectionMode:function(){return this.selectionMode},setSelectionMode:function(a){a=a?a.toUpperCase():"SINGLE";this.selectionMode=this.modes[a]?a:"SINGLE"},isLocked:function(){return this.locked},setLocked:function(a){this.locked=!!a},isSelected:function(a){a=Ext.isNumber(a)?this.store.getAt(a):a;return this.selected.indexOf(a)!==-1},hasSelection:function(){return this.selected.getCount()>0},refresh:function(){var h=this,b=[],g=h.getSelection(),a=g.length,e,j,d=0,c=this.getLastFocused();for(;d0){this.clearSelections();this.maybeFireSelectionChange(true)}},onStoreRemove:function(b,a){var d=this,c=d.selected;if(d.locked||!d.pruneRemoved){return}if(c.remove(a)){if(d.lastSelected==a){d.lastSelected=null}if(d.getLastFocused()==a){d.setLastFocused(null)}d.maybeFireSelectionChange(true)}},getCount:function(){return this.selected.getCount()},destroy:function(){},onStoreUpdate:function(){},onSelectChange:function(a,c,b){},onLastFocusChanged:function(b,a){},onEditorKey:function(b,a){},bindComponent:function(a){}});Ext.define("Ext.selection.DataViewModel",{extend:"Ext.selection.Model",requires:["Ext.util.KeyNav"],deselectOnContainerClick:true,enableKeyNav:true,constructor:function(a){this.addEvents("beforedeselect","beforeselect","deselect","select");this.callParent(arguments)},bindComponent:function(a){var b=this,c={refresh:b.refresh,scope:b};b.view=a;b.bind(a.getStore());a.on(a.triggerEvent,b.onItemClick,b);a.on(a.triggerCtEvent,b.onContainerClick,b);a.on(c);if(b.enableKeyNav){b.initKeyNav(a)}},onItemClick:function(b,a,d,c,g){this.selectWithEvent(a,g)},onContainerClick:function(){if(this.deselectOnContainerClick){this.deselectAll()}},initKeyNav:function(a){var b=this;if(!a.rendered){a.on("render",Ext.Function.bind(b.initKeyNav,b,[a],0),b,{single:true});return}a.el.set({tabIndex:-1});b.keyNav=Ext.create("Ext.util.KeyNav",a.el,{down:Ext.pass(b.onNavKey,[1],b),right:Ext.pass(b.onNavKey,[1],b),left:Ext.pass(b.onNavKey,[-1],b),up:Ext.pass(b.onNavKey,[-1],b),scope:b})},onNavKey:function(g){g=g||1;var e=this,b=e.view,d=e.getSelection()[0],c=e.view.store.getCount(),a;if(d){a=b.indexOf(b.getNode(d))+g}else{a=0}if(a<0){a=c-1}else{if(a>=c){a=0}}e.select(a)},onSelectChange:function(b,e,d,h){var g=this,a=g.view,c=e?"select":"deselect";if((d||g.fireEvent("before"+c,g,b))!==false&&h()!==false){if(e){a.onItemSelect(b)}else{a.onItemDeselect(b)}if(!d){g.fireEvent(c,g,b)}}}});Ext.define("Ext.state.CookieProvider",{extend:"Ext.state.Provider",constructor:function(a){var b=this;b.path="/";b.expires=new Date(new Date().getTime()+(1000*60*60*24*7));b.domain=null;b.secure=false;b.callParent(arguments);b.state=b.readCookies()},set:function(a,c){var b=this;if(typeof c=="undefined"||c===null){b.clear(a);return}b.setCookie(a,c);b.callParent(arguments)},clear:function(a){this.clearCookie(a);this.callParent(arguments)},readCookies:function(){var e={},j=document.cookie+";",d=/\s?(.*?)=(.*?);/g,i=this.prefix,a=i.length,h,b,g;while((h=d.exec(j))!=null){b=h[1];g=h[2];if(b&&b.substring(0,a)==i){e[b.substr(a)]=this.decodeValue(g)}}return e},setCookie:function(a,c){var b=this;document.cookie=b.prefix+a+"="+b.encodeValue(c)+((b.expires==null)?"":("; expires="+b.expires.toGMTString()))+((b.path==null)?"":("; path="+b.path))+((b.domain==null)?"":("; domain="+b.domain))+((b.secure==true)?"; secure":"")},clearCookie:function(a){var b=this;document.cookie=b.prefix+a+"=null; expires=Thu, 01-Jan-70 00:00:01 GMT"+((b.path==null)?"":("; path="+b.path))+((b.domain==null)?"":("; domain="+b.domain))+((b.secure==true)?"; secure":"")}});Ext.define("Ext.state.LocalStorageProvider",{extend:"Ext.state.Provider",alias:"state.localstorage",constructor:function(){var a=this;a.callParent(arguments);a.store=a.getStorageObject();a.state=a.readLocalStorage()},readLocalStorage:function(){var c=this.store,e=0,a=c.length,h=this.prefix,b=h.length,g={},d;for(;e0)?a.changedTouches[0]:a;return new this(a.pageX,a.pageY)}},constructor:function(a,b){this.callParent([b,a,b,a])},toString:function(){return"Point["+this.x+","+this.y+"]"},equals:function(a){return(this.x==a.x&&this.y==a.y)},isWithin:function(b,a){if(!Ext.isObject(a)){a={x:a,y:a}}return(this.x<=b.x+a.x&&this.x>=b.x-a.x&&this.y<=b.y+a.y&&this.y>=b.y-a.y)},roundedEquals:function(a){return(Math.round(this.x)==Math.round(a.x)&&Math.round(this.y)==Math.round(a.y))}},function(){this.prototype.translate=Ext.util.Region.prototype.translateBy});Ext.define("Ext.view.AbstractView",{extend:"Ext.Component",alternateClassName:"Ext.view.AbstractView",requires:["Ext.LoadMask","Ext.data.StoreManager","Ext.CompositeElementLite","Ext.DomQuery","Ext.selection.DataViewModel"],inheritableStatics:{getRecord:function(a){return this.getBoundView(a).getRecord(a)},getBoundView:function(a){return Ext.getCmp(a.boundView)}},itemCls:Ext.baseCSSPrefix+"dataview-item",loadingText:"Loading...",loadMask:true,loadingUseMsg:true,selectedItemCls:Ext.baseCSSPrefix+"item-selected",emptyText:"",deferEmptyText:true,trackOver:false,blockRefresh:false,last:false,triggerEvent:"itemclick",triggerCtEvent:"containerclick",addCmpEvents:function(){},initComponent:function(){var c=this,a=Ext.isDefined,d=c.itemTpl,b={};if(d){if(Ext.isArray(d)){d=d.join("")}else{if(Ext.isObject(d)){b=Ext.apply(b,d.initialConfig);d=d.html}}if(!c.itemSelector){c.itemSelector="."+c.itemCls}d=Ext.String.format('
{1}
',c.itemCls,d);c.tpl=Ext.create("Ext.XTemplate",d,b)}c.callParent();if(Ext.isString(c.tpl)||Ext.isArray(c.tpl)){c.tpl=Ext.create("Ext.XTemplate",c.tpl)}c.addEvents("beforerefresh","refresh","itemupdate","itemadd","itemremove");c.addCmpEvents();if(c.store){c.store=Ext.data.StoreManager.lookup(c.store)}c.all=new Ext.CompositeElementLite()},onRender:function(){var c=this,b=c.loadMask,a={msg:c.loadingText,msgCls:c.loadingCls,useMsg:c.loadingUseMsg};c.callParent(arguments);if(b){if(Ext.isObject(b)){a=Ext.apply(a,b)}c.loadMask=Ext.create("Ext.LoadMask",c.floating?c:c.ownerCt||c,a);c.loadMask.on({scope:c,beforeshow:c.onMaskBeforeShow,hide:c.onMaskHide})}},onMaskBeforeShow:function(){var a=this;a.getSelectionModel().deselectAll();a.all.clear();if(a.loadingHeight){a.setCalculatedSize(undefined,a.loadingHeight)}},onMaskHide:function(){if(!this.destroying&&this.loadingHeight){this.setHeight(this.height)}},afterRender:function(){this.callParent(arguments);this.getSelectionModel().bindComponent(this)},getSelectionModel:function(){var a=this,b="SINGLE";if(!a.selModel){a.selModel={}}if(a.simpleSelect){b="SIMPLE"}else{if(a.multiSelect){b="MULTI"}}Ext.applyIf(a.selModel,{allowDeselect:a.allowDeselect,mode:b});if(!a.selModel.events){a.selModel=Ext.create("Ext.selection.DataViewModel",a.selModel)}if(!a.selModel.hasRelaySetup){a.relayEvents(a.selModel,["selectionchange","beforeselect","beforedeselect","select","deselect"]);a.selModel.hasRelaySetup=true}if(a.disableSelection){a.selModel.locked=true}return a.selModel},refresh:function(){var c=this,b,a;if(!c.rendered){return}c.fireEvent("beforerefresh",c);b=c.getTargetEl();a=c.store.getRange();b.update("");if(a.length<1){if(!c.deferEmptyText||c.hasSkippedEmptyText){b.update(c.emptyText)}c.all.clear()}else{c.tpl.overwrite(b,c.collectData(a,0));c.all.fill(Ext.query(c.getItemSelector(),b.dom));c.updateIndexes(0)}c.selModel.refresh();c.hasSkippedEmptyText=true;c.fireEvent("refresh",c)},prepareData:function(c,b,a){if(a){Ext.apply(c,a.getAssociatedData())}return c},collectData:function(c,g){var e=[],d=0,a=c.length,b;for(;d-1){c=d.bufferRender([a],b)[0];d.all.replaceElement(b,c,true);d.updateIndexes(b,b);d.selModel.refresh();d.fireEvent("itemupdate",a,b,c)}},onAdd:function(e,b,c){var d=this,a;if(d.all.getCount()===0){d.refresh();return}a=d.bufferRender(b,c);d.doAdd(a,b,c);d.selModel.refresh();d.updateIndexes(c);d.fireEvent("itemadd",b,c,a)},doAdd:function(b,a,c){var d=this.all;if(c=a&&d[c];c--){b.push(d[c])}}return b},indexOf:function(a){a=this.getNode(a);if(Ext.isNumber(a.viewIndex)){return a.viewIndex}return this.all.indexOf(a)},onDestroy:function(){var a=this;a.all.clear();a.callParent();a.bindStore(null);a.selModel.destroy()},onItemSelect:function(a){var b=this.getNode(a);Ext.fly(b).addCls(this.selectedItemCls)},onItemDeselect:function(a){var b=this.getNode(a);Ext.fly(b).removeCls(this.selectedItemCls)},getItemSelector:function(){return this.itemSelector}},function(){Ext.deprecate("extjs","4.0",function(){Ext.view.AbstractView.override({getSelectionCount:function(){if(Ext.global.console){Ext.global.console.warn("DataView: getSelectionCount will be removed, please interact with the Ext.selection.DataViewModel")}return this.selModel.getSelection().length},getSelectedRecords:function(){if(Ext.global.console){Ext.global.console.warn("DataView: getSelectedRecords will be removed, please interact with the Ext.selection.DataViewModel")}return this.selModel.getSelection()},select:function(a,b,d){if(Ext.global.console){Ext.global.console.warn("DataView: select will be removed, please access select through a DataView's SelectionModel, ie: view.getSelectionModel().select()")}var c=this.getSelectionModel();return c.select.apply(c,arguments)},clearSelections:function(){if(Ext.global.console){Ext.global.console.warn("DataView: clearSelections will be removed, please access deselectAll through DataView's SelectionModel, ie: view.getSelectionModel().deselectAll()")}var a=this.getSelectionModel();return a.deselectAll()}})})});Ext.define("Ext.Action",{constructor:function(a){this.initialConfig=a;this.itemId=a.itemId=(a.itemId||a.id||Ext.id());this.items=[]},isAction:true,setText:function(a){this.initialConfig.text=a;this.callEach("setText",[a])},getText:function(){return this.initialConfig.text},setIconCls:function(a){this.initialConfig.iconCls=a;this.callEach("setIconCls",[a])},getIconCls:function(){return this.initialConfig.iconCls},setDisabled:function(a){this.initialConfig.disabled=a;this.callEach("setDisabled",[a])},enable:function(){this.setDisabled(false)},disable:function(){this.setDisabled(true)},isDisabled:function(){return this.initialConfig.disabled},setHidden:function(a){this.initialConfig.hidden=a;this.callEach("setVisible",[!a])},show:function(){this.setHidden(false)},hide:function(){this.setHidden(true)},isHidden:function(){return this.initialConfig.hidden},setHandler:function(b,a){this.initialConfig.handler=b;this.initialConfig.scope=a;this.callEach("setHandler",[b,a])},each:function(b,a){Ext.each(this.items,b,a)},callEach:function(e,c){var b=this.items,d=0,a=b.length;for(;dj.zindex){j.shim.setStyle("z-index",j.zindex-2)}d.show();if(n.isVisible()){i=n.el.getXY();e=d.dom.style;a=n.el.getSize();e.left=(i[0])+"px";e.top=(i[1])+"px";e.width=(a.width)+"px";e.height=(a.height)+"px"}else{d.setSize(m,g);d.setLeftTop(c,p)}}}else{if(d){k=d.getStyle("z-index");if(k>j.zindex){j.shim.setStyle("z-index",j.zindex-2)}d.show();d.setSize(m,g);d.setLeftTop(c,p)}}}return this},remove:function(){this.hideUnders();this.callParent()},beginUpdate:function(){this.updating=true},endUpdate:function(){this.updating=false;this.sync(true)},hideUnders:function(){if(this.shadow){this.shadow.hide()}this.hideShim()},constrainXY:function(){if(this.constrain){var g=Ext.core.Element.getViewWidth(),b=Ext.core.Element.getViewHeight(),l=Ext.getDoc().getScroll(),k=this.getXY(),i=k[0],e=k[1],a=this.shadowOffset,j=this.dom.offsetWidth+a,c=this.dom.offsetHeight+a,d=false;if((i+j)>g+l.left){i=g-j-a;d=true}if((e+c)>b+l.top){e=b-c-a;d=true}if(i',"
 
","",'
','
',"
 
","
","
"],componentLayout:"progressbar",initComponent:function(){this.callParent();this.renderSelectors=Ext.apply(this.renderSelectors||{},{textTopEl:"."+this.baseCls+"-text",textBackEl:"."+this.baseCls+"-text-back",bar:"."+this.baseCls+"-bar"});this.addEvents("update")},afterRender:function(){var a=this;a.textEl=a.textEl?Ext.get(a.textEl):a.el.select("."+a.baseCls+"-text");this.callParent(arguments);if(a.value){a.updateProgress(a.value,a.text)}else{a.updateText(a.text)}},updateProgress:function(c,d,a){var b;this.value=c||0;if(d){this.updateText(d)}if(this.rendered&&!this.isDestroyed){b=Math.floor(this.value*this.el.getWidth(true));if(Ext.isForcedBorderBox){b+=this.bar.getBorderWidth("lr")}if(a===true||(a!==false&&this.animate)){this.bar.stopAnimation();this.bar.animate(Ext.apply({to:{width:b+"px"}},this.animate))}else{this.bar.setWidth(b)}}this.fireEvent("update",this,this.value,d);return this},updateText:function(a){this.text=a;if(this.rendered){this.textEl.update(this.text)}return this},applyText:function(a){this.updateText(a)},wait:function(b){if(!this.waitTimer){var a=this;b=b||{};this.updateText(b.text);this.waitTimer=Ext.TaskManager.start({run:function(c){var d=b.increment||10;c-=1;this.updateProgress(((((c+d)%d)+1)*(100/d))*0.01,null,b.animate)},interval:b.interval||1000,duration:b.duration,onStop:function(){if(b.fn){b.fn.apply(b.scope||this)}this.reset()},scope:a})}return this},isWaiting:function(){return this.waitTimer!==null},reset:function(a){this.updateProgress(0);this.clearTimer();if(a===true){this.hide()}return this},clearTimer:function(){if(this.waitTimer){this.waitTimer.onStop=null;Ext.TaskManager.stop(this.waitTimer);this.waitTimer=null}},onDestroy:function(){this.clearTimer();if(this.rendered){if(this.textEl.isComposite){this.textEl.clear()}Ext.destroyMembers(this,"textEl","progressBar","textTopEl")}this.callParent()}});Ext.define("Ext.ShadowPool",{singleton:true,requires:["Ext.core.DomHelper"],markup:function(){if(Ext.supports.CSS3BoxShadow){return''}else{if(Ext.isIE){return''}else{return''}}}(),shadows:[],pull:function(){var a=this.shadows.shift();if(!a){a=Ext.get(Ext.core.DomHelper.insertHtml("beforeBegin",document.body.firstChild,this.markup));a.autoBoxAdjust=false}return a},push:function(a){this.shadows.push(a)},reset:function(){Ext.Array.each(this.shadows,function(a){a.remove()});this.shadows=[]}});Ext.define("Ext.Shadow",{requires:["Ext.ShadowPool"],constructor:function(b){Ext.apply(this,b);if(typeof this.mode!="string"){this.mode=this.defaultMode}var d=this.offset,c={h:0},a=Math.floor(this.offset/2);switch(this.mode.toLowerCase()){case"drop":if(Ext.supports.CSS3BoxShadow){c.w=c.h=-d;c.l=c.t=d}else{c.w=0;c.l=c.t=d;c.t-=1;if(Ext.isIE){c.l-=d+a;c.t-=d+a;c.w-=a;c.h-=a;c.t+=1}}break;case"sides":if(Ext.supports.CSS3BoxShadow){c.h-=d;c.t=d;c.l=c.w=0}else{c.w=(d*2);c.l=-d;c.t=d-1;if(Ext.isIE){c.l-=(d-a);c.t-=d+a;c.l+=1;c.w-=(d-a)*2;c.w-=a+1;c.h-=1}}break;case"frame":if(Ext.supports.CSS3BoxShadow){c.l=c.w=c.t=0}else{c.w=c.h=(d*2);c.l=c.t=-d;c.t+=1;c.h-=2;if(Ext.isIE){c.l-=(d-a);c.t-=(d-a);c.l+=1;c.w-=(d+a+1);c.h-=(d+a);c.h+=1}break}}this.adjusts=c},offset:4,defaultMode:"drop",show:function(a){a=Ext.get(a);if(!this.el){this.el=Ext.ShadowPool.pull();if(this.el.dom.nextSibling!=a.dom){this.el.insertBefore(a)}}this.el.setStyle("z-index",this.zIndex||parseInt(a.getStyle("z-index"),10)-1);if(Ext.isIE&&!Ext.supports.CSS3BoxShadow){this.el.dom.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity=50) progid:DXImageTransform.Microsoft.Blur(pixelradius="+(this.offset)+")"}this.realign(a.getLeft(true),a.getTop(true),a.getWidth(),a.getHeight());this.el.dom.style.display="block"},isVisible:function(){return this.el?true:false},realign:function(b,q,m,h){if(!this.el){return}var a=this.adjusts,j=this.el.dom,k=j.style,c,g,n,e,i,p;k.left=(b+a.l)+"px";k.top=(q+a.t)+"px";c=Math.max(m+a.w,0);g=Math.max(h+a.h,0);i=c+"px";p=g+"px";if(k.width!=i||k.height!=p){k.width=i;k.height=p;if(Ext.supports.CSS3BoxShadow){k.boxShadow="0 0 "+this.offset+"px 0 #888"}else{if(!Ext.isIE){n=j.childNodes;e=Math.max(0,(c-12))+"px";n[0].childNodes[1].style.width=e;n[1].childNodes[1].style.width=e;n[2].childNodes[1].style.width=e;n[1].style.height=Math.max(0,(g-12))+"px"}}}},hide:function(){if(this.el){this.el.dom.style.display="none";Ext.ShadowPool.push(this.el);delete this.el}},setZIndex:function(a){this.zIndex=a;if(this.el){this.el.setStyle("z-index",a)}}});Ext.define("Ext.button.Split",{alias:"widget.splitbutton",extend:"Ext.button.Button",alternateClassName:"Ext.SplitButton",arrowCls:"split",split:true,initComponent:function(){this.callParent();this.addEvents("arrowclick")},setArrowHandler:function(b,a){this.arrowHandler=b;this.scope=a},onClick:function(c,a){var b=this;c.preventDefault();if(!b.disabled){if(b.overMenuTrigger){if(b.menu&&!b.menu.isVisible()&&!b.ignoreNextClick){b.showMenu()}b.fireEvent("arrowclick",b,c);if(b.arrowHandler){b.arrowHandler.call(b.scope||b,b,c)}}else{if(b.enableToggle){b.toggle()}b.fireEvent("click",b,c);if(b.handler){b.handler.call(b.scope||b,b,c)}b.onBlur()}}}});Ext.define("Ext.button.Cycle",{alias:"widget.cycle",extend:"Ext.button.Split",alternateClassName:"Ext.CycleButton",getButtonText:function(b){var a=this,c="";if(b&&a.showText===true){if(a.prependText){c+=a.prependText}c+=b.text;return c}return a.text},setActiveItem:function(c,a){var b=this;if(!Ext.isObject(c)){c=b.menu.getComponent(c)}if(c){if(!b.rendered){b.text=b.getButtonText(c);b.iconCls=c.iconCls}else{b.setText(b.getButtonText(c));b.setIconCls(c.iconCls)}b.activeItem=c;if(!c.checked){c.setChecked(true,false)}if(b.forceIcon){b.setIconCls(b.forceIcon)}if(!a){b.fireEvent("change",b,c)}}},getActiveItem:function(){return this.activeItem},initComponent:function(){var c=this,b=0,a;c.addEvents("change");if(c.changeHandler){c.on("change",c.changeHandler,c.scope||c);delete c.changeHandler}a=(c.menu.items||[]).concat(c.items||[]);c.menu=Ext.applyIf({cls:Ext.baseCSSPrefix+"cycle-menu",items:[]},c.menu);Ext.each(a,function(e,d){e=Ext.applyIf({group:c.id,itemIndex:d,checkHandler:c.checkHandler,scope:c,checked:e.checked||false},e);c.menu.items.push(e);if(e.checked){b=d}});c.itemCount=c.menu.items.length;c.callParent(arguments);c.on("click",c.toggleSelected,c);c.setActiveItem(b,c);if(c.width&&c.showText){c.addCls(Ext.baseCSSPrefix+"cycle-fixed-width")}},checkHandler:function(a,b){if(b){this.setActiveItem(a)}},toggleSelected:function(){var c=this,a=c.menu,b;b=c.activeItem.next(":not([disabled])")||a.items.getAt(0);b.setChecked(true)}});Ext.define("Ext.container.ButtonGroup",{extend:"Ext.panel.Panel",alias:"widget.buttongroup",alternateClassName:"Ext.ButtonGroup",baseCls:Ext.baseCSSPrefix+"btn-group",layout:{type:"table"},defaultType:"button",frame:true,frameHeader:false,internalDefaults:{removeMode:"container",hideParent:true},initComponent:function(){var a=this,b=a.columns;a.noTitleCls=a.baseCls+"-notitle";if(b){a.layout=Ext.apply({},{columns:b},a.layout)}if(!a.title){a.addCls(a.noTitleCls)}a.callParent(arguments)},afterLayout:function(){var b=this;b.callParent(arguments);if(b.layout.table&&(Ext.isIEQuirks||Ext.isIE6)&&!b.width){var a=b.getTargetEl();a.setWidth(b.layout.table.offsetWidth+a.getPadding("lr"))}},afterRender:function(){var a=this;if(a.header){delete a.header.items.items[0].flex;a.suspendLayout=true;a.header.insert(1,{xtype:"component",ui:a.ui,flex:1});a.header.insert(0,{xtype:"component",ui:a.ui,flex:1});a.suspendLayout=false}a.callParent(arguments)},onBeforeAdd:function(a){if(a.is("button")){a.ui=a.ui+"-toolbar"}this.callParent(arguments)},applyDefaults:function(b){if(!Ext.isString(b)){b=this.callParent(arguments);var a=this.internalDefaults;if(b.events){Ext.applyIf(b.initialConfig,a);Ext.apply(b,a)}else{Ext.applyIf(b,a)}}return b}});Ext.define("Ext.container.Viewport",{extend:"Ext.container.Container",alias:"widget.viewport",requires:["Ext.EventManager"],alternateClassName:"Ext.Viewport",isViewport:true,ariaRole:"application",initComponent:function(){var c=this,a=Ext.fly(document.body.parentNode),b;c.callParent(arguments);a.addCls(Ext.baseCSSPrefix+"viewport");if(c.autoScroll){a.setStyle("overflow","auto")}c.el=b=Ext.getBody();b.setHeight=Ext.emptyFn;b.setWidth=Ext.emptyFn;b.setSize=Ext.emptyFn;b.dom.scroll="no";c.allowDomMove=false;Ext.EventManager.onWindowResize(c.fireResize,c);c.renderTo=c.el;c.width=Ext.core.Element.getViewportWidth();c.height=Ext.core.Element.getViewportHeight()},fireResize:function(a,b){this.setSize(a,b)}});Ext.define("Ext.dd.DDTarget",{extend:"Ext.dd.DragDrop",constructor:function(c,a,b){if(c){this.initTarget(c,a,b)}},getDragEl:Ext.emptyFn,isValidHandleChild:Ext.emptyFn,startDrag:Ext.emptyFn,endDrag:Ext.emptyFn,onDrag:Ext.emptyFn,onDragDrop:Ext.emptyFn,onDragEnter:Ext.emptyFn,onDragOut:Ext.emptyFn,onDragOver:Ext.emptyFn,onInvalidDrop:Ext.emptyFn,onMouseDown:Ext.emptyFn,onMouseUp:Ext.emptyFn,setXConstraint:Ext.emptyFn,setYConstraint:Ext.emptyFn,resetConstraints:Ext.emptyFn,clearConstraints:Ext.emptyFn,clearTicks:Ext.emptyFn,setInitPosition:Ext.emptyFn,setDragElId:Ext.emptyFn,setHandleElId:Ext.emptyFn,setOuterHandleElId:Ext.emptyFn,addInvalidHandleClass:Ext.emptyFn,addInvalidHandleId:Ext.emptyFn,addInvalidHandleType:Ext.emptyFn,removeInvalidHandleClass:Ext.emptyFn,removeInvalidHandleId:Ext.emptyFn,removeInvalidHandleType:Ext.emptyFn,toString:function(){return("DDTarget "+this.id)}});Ext.define("Ext.dd.DragTracker",{uses:["Ext.util.Region"],mixins:{observable:"Ext.util.Observable"},active:false,trackOver:false,tolerance:5,autoStart:false,constructor:function(a){Ext.apply(this,a);this.addEvents("mouseover","mouseout","mousedown","mouseup","mousemove","beforedragstart","dragstart","dragend","drag");this.dragRegion=Ext.create("Ext.util.Region",0,0,0,0);if(this.el){this.initEl(this.el)}this.mixins.observable.constructor.call(this);if(this.disabled){this.disable()}},initEl:function(a){this.el=Ext.get(a);this.handle=Ext.get(this.delegate);this.delegate=this.handle?undefined:this.delegate;if(!this.handle){this.handle=this.el}this.mon(this.handle,{mousedown:this.onMouseDown,delegate:this.delegate,scope:this});if(this.trackOver||this.overCls){this.mon(this.handle,{mouseover:this.onMouseOver,mouseout:this.onMouseOut,delegate:this.delegate,scope:this})}},disable:function(){this.disabled=true},enable:function(){this.disabled=false},destroy:function(){this.clearListeners();delete this.el},onMouseOver:function(c,b){var a=this;if(!a.disabled){if(Ext.EventManager.contains(c)||a.delegate){a.mouseIsOut=false;if(a.overCls){a.el.addCls(a.overCls)}a.fireEvent("mouseover",a,c,a.delegate?c.getTarget(a.delegate,b):a.handle)}}},onMouseOut:function(a){if(this.mouseIsDown){this.mouseIsOut=true}else{if(this.overCls){this.el.removeCls(this.overCls)}this.fireEvent("mouseout",this,a)}},onMouseDown:function(b,a){if(this.disabled||b.dragTracked){return}this.dragTarget=this.delegate?a:this.handle.dom;this.startXY=this.lastXY=b.getXY();this.startRegion=Ext.fly(this.dragTarget).getRegion();if(this.fireEvent("mousedown",this,b)===false||this.fireEvent("beforedragstart",this,b)===false||this.onBeforeStart(b)===false){return}this.mouseIsDown=true;b.dragTracked=true;if(this.preventDefault!==false){b.preventDefault()}Ext.getDoc().on({scope:this,mouseup:this.onMouseUp,mousemove:this.onMouseMove,selectstart:this.stopSelect});if(this.autoStart){this.timer=Ext.defer(this.triggerStart,this.autoStart===true?1000:this.autoStart,this,[b])}},onMouseMove:function(d,c){if(this.active&&Ext.isIE&&!d.browserEvent.button){d.preventDefault();this.onMouseUp(d);return}d.preventDefault();var b=d.getXY(),a=this.startXY;this.lastXY=b;if(!this.active){if(Math.max(Math.abs(a[0]-b[0]),Math.abs(a[1]-b[1]))>this.tolerance){this.triggerStart(d)}else{return}}if(this.fireEvent("mousemove",this,d)===false){this.onMouseUp(d)}else{this.onDrag(d);this.fireEvent("drag",this,d)}},onMouseUp:function(a){this.mouseIsDown=false;if(this.mouseIsOut){this.mouseIsOut=false;this.onMouseOut(a)}a.preventDefault();this.fireEvent("mouseup",this,a);this.endDrag(a)},endDrag:function(c){var b=Ext.getDoc(),a=this.active;b.un("mousemove",this.onMouseMove,this);b.un("mouseup",this.onMouseUp,this);b.un("selectstart",this.stopSelect,this);this.clearStart();this.active=false;if(a){this.onEnd(c);this.fireEvent("dragend",this,c)}delete this._constrainRegion;delete Ext.EventObject.dragTracked},triggerStart:function(a){this.clearStart();this.active=true;this.onStart(a);this.fireEvent("dragstart",this,a)},clearStart:function(){if(this.timer){clearTimeout(this.timer);delete this.timer}},stopSelect:function(a){a.stopEvent();return false},onBeforeStart:function(a){},onStart:function(a){},onDrag:function(a){},onEnd:function(a){},getDragTarget:function(){return this.dragTarget},getDragCt:function(){return this.el},getConstrainRegion:function(){if(this.constrainTo){if(this.constrainTo instanceof Ext.util.Region){return this.constrainTo}if(!this._constrainRegion){this._constrainRegion=Ext.fly(this.constrainTo).getViewRegion()}}else{if(!this._constrainRegion){this._constrainRegion=this.getDragCt().getViewRegion()}}return this._constrainRegion},getXY:function(a){return a?this.constrainModes[a](this,this.lastXY):this.lastXY},getOffset:function(c){var b=this.getXY(c),a=this.startXY;return[b[0]-a[0],b[1]-a[1]]},constrainModes:{point:function(b,d){var c=b.dragRegion,a=b.getConstrainRegion();if(!a){return d}c.x=c.left=c[0]=c.right=d[0];c.y=c.top=c[1]=c.bottom=d[1];c.constrainTo(a);return[c.left,c.top]},dragTarget:function(c,g){var b=c.startXY,e=c.startRegion.copy(),a=c.getConstrainRegion(),d;if(!a){return g}e.translateBy(g[0]-b[0],g[1]-b[1]);if(e.right>a.right){g[0]+=d=(a.right-e.right);e.left+=d}if(e.lefta.bottom){g[1]+=d=(a.bottom-e.bottom);e.top+=d}if(e.top'],initComponent:function(){this.callParent();this.addEvents("success","failure")},onRender:function(){var c=this,e,d,b,a=c.getSwfId();c.renderData.swfId=a;c.callParent(arguments);e=Ext.apply({allowScriptAccess:"always",bgcolor:c.backgroundColor,wmode:c.wmode},c.flashParams);d=Ext.apply({allowedDomain:document.location.hostname},c.flashVars);new swfobject.embedSWF(c.url,a,c.swfWidth,c.swfHeight,c.flashVersion,c.expressInstall?c.statics.EXPRESS_INSTALL_URL:b,d,e,c.flashAttributes,Ext.bind(c.swfCallback,c))},swfCallback:function(b){var a=this;if(b.success){a.swf=Ext.get(b.ref);a.onSuccess();a.fireEvent("success",a)}else{a.onFailure();a.fireEvent("failure",a)}},getSwfId:function(){return this.swfId||(this.swfId="extswf"+this.getAutoId())},onSuccess:function(){this.swf.setStyle("visibility","inherit")},onFailure:Ext.emptyFn,beforeDestroy:function(){var b=this,a=b.swf;if(a){swfobject.removeSWF(b.getSwfId());Ext.destroy(a);delete b.swf}b.callParent()},statics:{EXPRESS_INSTALL_URL:"http://swfobject.googlecode.com/svn/trunk/swfobject/expressInstall.swf"}});Ext.define("Ext.form.action.Action",{alternateClassName:"Ext.form.Action",constructor:function(a){if(a){Ext.apply(this,a)}var b=a.params;if(Ext.isString(b)){this.params=Ext.Object.fromQueryString(b)}},run:Ext.emptyFn,onFailure:function(a){this.response=a;this.failureType=Ext.form.action.Action.CONNECT_FAILURE;this.form.afterAction(this,false)},processResponse:function(a){this.response=a;if(!a.responseText&&!a.responseXML){return true}return(this.result=this.handleResponse(a))},getUrl:function(){return this.url||this.form.url},getMethod:function(){return(this.method||this.form.method||"POST").toUpperCase()},getParams:function(){return Ext.apply({},this.params,this.form.baseParams)},createCallback:function(){var c=this,a,b=c.form;return{success:c.onSuccess,failure:c.onFailure,scope:c,timeout:(this.timeout*1000)||(b.timeout*1000),upload:b.fileUpload?c.onSuccess:a}},statics:{CLIENT_INVALID:"client",SERVER_INVALID:"server",CONNECT_FAILURE:"connect",LOAD_FAILURE:"load"}});Ext.define("Ext.form.action.Submit",{extend:"Ext.form.action.Action",alternateClassName:"Ext.form.Action.Submit",alias:"formaction.submit",type:"submit",run:function(){var a=this.form;if(this.clientValidation===false||a.isValid()){this.doSubmit()}else{this.failureType=Ext.form.action.Action.CLIENT_INVALID;a.afterAction(this,false)}},doSubmit:function(){var b,a=Ext.apply(this.createCallback(),{url:this.getUrl(),method:this.getMethod(),headers:this.headers});if(this.form.hasUpload()){b=a.form=this.buildForm();a.isUpload=true}else{a.params=this.getParams()}Ext.Ajax.request(a);if(b){Ext.removeNode(b)}},getParams:function(){var c=false,b=this.callParent(),a=this.form.getValues(c,c,this.submitEmptyText!==c);return Ext.apply({},a,b)},buildForm:function(){var c=[],d,e,b=this.form,h=this.getParams(),a=[];b.getFields().each(function(i){if(i.isFileUpload()){a.push(i)}});function g(i,j){c.push({tag:"input",type:"hidden",name:i,value:Ext.String.htmlEncode(j)})}Ext.iterate(h,function(i,j){if(Ext.isArray(j)){Ext.each(j,function(k){g(i,k)})}else{g(i,j)}});d={tag:"form",action:this.getUrl(),method:this.getMethod(),target:this.target||"_self",style:"display:none",cn:c};if(a.length){d.encoding=d.enctype="multipart/form-data"}e=Ext.core.DomHelper.append(Ext.getBody(),d);Ext.Array.each(a,function(i){if(i.rendered){e.appendChild(i.extractFileInput())}});return e},onSuccess:function(b){var c=this.form,d=true,a=this.processResponse(b);if(a!==true&&!a.success){if(a.errors){c.markInvalid(a.errors)}this.failureType=Ext.form.action.Action.SERVER_INVALID;d=false}c.afterAction(this,d)},handleResponse:function(d){var h=this.form,e=h.errorReader,c,j,g,a,b;if(e){c=e.read(d);b=c.records;j=[];if(b){for(g=0,a=b.length;g',' for="{inputId}" class="{labelCls}" style="{labelStyle}">','{fieldLabel}{labelSeparator}',"","",'
id="{baseBodyCls}-{inputId}" role="presentation">{subTplMarkup}
','','',{compiled:true,disableFormats:true}],activeErrorsTpl:['','
    class="last">{.}
',"
"],isFieldLabelable:true,formItemCls:Ext.baseCSSPrefix+"form-item",labelCls:Ext.baseCSSPrefix+"form-item-label",errorMsgCls:Ext.baseCSSPrefix+"form-error-msg",baseBodyCls:Ext.baseCSSPrefix+"form-item-body",fieldBodyCls:"",clearCls:Ext.baseCSSPrefix+"clear",invalidCls:Ext.baseCSSPrefix+"form-invalid",fieldLabel:undefined,labelAlign:"left",labelWidth:100,labelPad:5,labelSeparator:":",hideLabel:false,hideEmptyLabel:true,preventMark:false,autoFitErrors:true,msgTarget:"qtip",initLabelable:function(){this.addCls(this.formItemCls);this.addEvents("errorchange")},getFieldLabel:function(){return this.fieldLabel||""},getLabelableRenderData:function(){var d=this,b=d.labelAlign,c=d.labelPad,a;if(b==="top"){a="margin-bottom:"+c+"px;"}else{a="margin-right:"+c+"px;";if(Ext.isBorderBox){a+="width:"+d.labelWidth+"px;"}}return Ext.copyTo({inputId:d.getInputId(),fieldLabel:d.getFieldLabel(),labelStyle:a+(d.labelStyle||""),subTplMarkup:d.getSubTplMarkup()},d,"hideLabel,hideEmptyLabel,labelCls,fieldBodyCls,baseBodyCls,errorMsgCls,clearCls,labelSeparator",true)},getLabelableSelectors:function(){return{labelEl:"label."+this.labelCls,bodyEl:"."+this.baseBodyCls,errorEl:"."+this.errorMsgCls}},getSubTplMarkup:function(){return""},getInputId:function(){return""},getActiveError:function(){return this.activeError||""},hasActiveError:function(){return !!this.getActiveError()},setActiveError:function(a){this.activeError=a;this.activeErrors=[a];this.renderActiveError()},getActiveErrors:function(){return this.activeErrors||[]},setActiveErrors:function(a){this.activeErrors=a;this.activeError=this.getTpl("activeErrorsTpl").apply({errors:a});this.renderActiveError()},unsetActiveError:function(){delete this.activeError;delete this.activeErrors;this.renderActiveError()},renderActiveError:function(){var c=this,b=c.getActiveError(),a=!!b;if(b!==c.lastActiveError){c.fireEvent("errorchange",c,b);c.lastActiveError=b}if(c.rendered&&!c.isDestroyed&&!c.preventMark){c.el[a?"addCls":"removeCls"](c.invalidCls);c.getActionEl().dom.setAttribute("aria-invalid",a);c.errorEl.dom.innerHTML=b}},setFieldDefaults:function(b){var a=this;Ext.iterate(b,function(c,d){if(!a.hasOwnProperty(c)){a[c]=d}})},getBodyNaturalWidth:function(){return this.bodyEl.getWidth()}});Ext.define("Ext.form.field.Field",{isFormField:true,disabled:false,submitValue:true,validateOnChange:true,suspendCheckChange:0,initField:function(){this.addEvents("change","validitychange","dirtychange");this.initValue()},initValue:function(){var a=this;a.originalValue=a.lastValue=a.value;a.suspendCheckChange++;a.setValue(a.value);a.suspendCheckChange--},getName:function(){return this.name},getValue:function(){return this.value},setValue:function(b){var a=this;a.value=b;a.checkChange();return a},isEqual:function(b,a){return String(b)===String(a)},getSubmitData:function(){var a=this,b=null;if(!a.disabled&&a.submitValue&&!a.isFileUpload()){b={};b[a.getName()]=""+a.getValue()}return b},getModelData:function(){var a=this,b=null;if(!a.disabled&&!a.isFileUpload()){b={};b[a.getName()]=a.getValue()}return b},reset:function(){var a=this;a.setValue(a.originalValue);a.clearInvalid();delete a.wasValid},resetOriginalValue:function(){this.originalValue=this.getValue();this.checkDirty()},checkChange:function(){if(!this.suspendCheckChange){var c=this,b=c.getValue(),a=c.lastValue;if(!c.isEqual(b,a)&&!c.isDestroyed){c.lastValue=b;c.fireEvent("change",c,b,a);c.onChange(b,a)}}},onChange:function(b,a){if(this.validateOnChange){this.validate()}this.checkDirty()},isDirty:function(){var a=this;return !a.disabled&&!a.isEqual(a.getValue(),a.originalValue)},checkDirty:function(){var a=this,b=a.isDirty();if(b!==a.wasDirty){a.fireEvent("dirtychange",a,b);a.onDirtyChange(b);a.wasDirty=b}},onDirtyChange:Ext.emptyFn,getErrors:function(a){return[]},isValid:function(){var a=this;return a.disabled||Ext.isEmpty(a.getErrors())},validate:function(){var a=this,b=a.isValid();if(b!==a.wasValid){a.wasValid=b;a.fireEvent("validitychange",a,b)}return b},batchChanges:function(a){this.suspendCheckChange++;a();this.suspendCheckChange--;this.checkChange()},isFileUpload:function(){return false},extractFileInput:function(){return null},markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn});Ext.define("Ext.layout.component.field.Field",{alias:["layout.field"],extend:"Ext.layout.component.Component",uses:["Ext.tip.QuickTip","Ext.util.TextMetrics"],type:"field",beforeLayout:function(b,a){var c=this;return c.callParent(arguments)||(!c.owner.preventMark&&c.activeError!==c.owner.getActiveError())},onLayout:function(a,m){var g=this,b=g.owner,e=g.getLabelStrategy(),l=g.getErrorStrategy(),j=Ext.isDefined,n=Ext.isNumber,i,h,k,c,d;i=g.lastComponentSize||{};if(!j(a)){a=i.width;if(a<0){a=d}}if(!j(m)){m=i.height;if(m<0){m=d}}h=!n(a);k=!n(m);c={autoWidth:h,autoHeight:k,width:h?b.getBodyNaturalWidth():a,height:m,setOuterWidth:false,insets:{top:0,right:0,bottom:0,left:0}};e.prepare(b,c);l.prepare(b,c);e.adjustHorizInsets(b,c);l.adjustHorizInsets(b,c);e.layoutHoriz(b,c);l.layoutHoriz(b,c);e.adjustVertInsets(b,c);l.adjustVertInsets(b,c);e.layoutVert(b,c);l.layoutVert(b,c);if(h&&k){g.setElementSize(b.el,(c.setOuterWidth?c.width:d),c.height)}else{g.setTargetSize((!h||c.setOuterWidth?c.width:d),c.height)}g.sizeBody(c);g.activeError=b.getActiveError()},sizeBody:function(i){var h=this,c=h.owner,d=i.insets,b=i.width,e=i.height,g=Ext.isNumber(b)?b-d.left-d.right:b,a=Ext.isNumber(e)?e-d.top-d.bottom:e;h.setElementSize(c.bodyEl,g,a);h.sizeBodyContents(g,a)},sizeBodyContents:Ext.emptyFn,getLabelStrategy:function(){var b=this,c=b.labelStrategies,a=b.owner.labelAlign;return c[a]||c.base},getErrorStrategy:function(){var c=this,a=c.owner,d=c.errorStrategies,b=a.msgTarget;return !a.preventMark&&Ext.isString(b)?(d[b]||d.elementId):d.none},labelStrategies:(function(){var b=Ext.applyIf,a=Ext.emptyFn,c={prepare:function(e,i){var g=e.labelCls+"-"+e.labelAlign,h=e.labelEl;if(h&&!h.hasCls(g)){h.addCls(g)}},adjustHorizInsets:a,adjustVertInsets:a,layoutHoriz:a,layoutVert:a},d=b({prepare:function(e,g){c.prepare(e,g);if(g.autoWidth){g.width+=(!e.labelEl?0:e.labelWidth+e.labelPad)}g.setOuterWidth=true},adjustHorizInsets:function(e,g){if(e.labelEl){g.insets.left+=e.labelWidth+e.labelPad}},layoutHoriz:function(e,h){var g=e.labelEl;if(g&&!e.isLabelSized&&!Ext.isBorderBox){g.setWidth(e.labelWidth);e.isLabelSized=true}}},c);return{base:c,top:b({adjustVertInsets:function(e,h){var g=e.labelEl;if(g){h.insets.top+=Ext.util.TextMetrics.measure(g,e.fieldLabel,h.width).height+g.getFrameWidth("tb")+e.labelPad}}},c),left:d,right:d}})(),errorStrategies:(function(){function c(h,g){var i=h.getStyle("display")!=="none";if(g!==i){h.setDisplayed(g)}}function e(h,g,i){if(h.getStyle(g)!==i){h.setStyle(g,i)}}var b=Ext.applyIf,a=Ext.emptyFn,d={prepare:function(g){c(g.errorEl,false)},adjustHorizInsets:a,adjustVertInsets:a,layoutHoriz:a,layoutVert:a};return{none:d,side:b({prepare:function(g){var h=g.errorEl;h.addCls(Ext.baseCSSPrefix+"form-invalid-icon");Ext.layout.component.field.Field.initTip();h.dom.setAttribute("data-errorqtip",g.getActiveError()||"");c(h,g.hasActiveError())},adjustHorizInsets:function(g,h){if(g.autoFitErrors&&g.hasActiveError()){h.insets.right+=g.errorEl.getWidth()}},layoutHoriz:function(g,h){if(g.hasActiveError()){e(g.errorEl,"left",h.width-h.insets.right+"px")}},layoutVert:function(g,h){if(g.hasActiveError()){e(g.errorEl,"top",h.insets.top+"px")}}},d),under:b({prepare:function(g){var i=g.errorEl,h=Ext.baseCSSPrefix+"form-invalid-under";if(!i.hasCls(h)){i.addCls(h)}c(i,g.hasActiveError())},adjustVertInsets:function(g,h){if(g.autoFitErrors){h.insets.bottom+=g.errorEl.getHeight()}},layoutHoriz:function(g,i){var j=g.errorEl,h=i.insets;e(j,"width",i.width-h.right-h.left+"px");e(j,"marginLeft",h.left+"px")}},d),qtip:b({prepare:function(g){c(g.errorEl,false);Ext.layout.component.field.Field.initTip();g.getActionEl().dom.setAttribute("data-errorqtip",g.getActiveError()||"")}},d),title:b({prepare:function(g){c(g.errorEl,false);g.el.dom.title=g.getActiveError()||""}},d),elementId:b({prepare:function(g){c(g.errorEl,false);var h=Ext.fly(g.msgTarget);if(h){h.dom.innerHTML=g.getActiveError()||"";h.setDisplayed(g.hasActiveError())}}},d)}})(),statics:{initTip:function(){var a=this.tip;if(!a){a=this.tip=Ext.create("Ext.tip.QuickTip",{baseCls:Ext.baseCSSPrefix+"form-invalid-tip",renderTo:Ext.getBody()});a.tagConfig=Ext.apply({},{attribute:"errorqtip"},a.tagConfig)}},destroyTip:function(){var a=this.tip;if(a){a.destroy();delete this.tip}}}});Ext.define("Ext.form.field.VTypes",(function(){var c=/^[a-zA-Z_]+$/,d=/^[a-zA-Z0-9_]+$/,b=/^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/,a=/(((^https?)|(^ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@&#;`~=%!]*)(\.\w{2,})?)*\/?)/i;return{singleton:true,alternateClassName:"Ext.form.VTypes",email:function(e){return b.test(e)},emailText:'This field should be an e-mail address in the format "user@example.com"',emailMask:/[a-z0-9_\.\-@\+]/i,url:function(e){return a.test(e)},urlText:'This field should be a URL in the format "http://www.example.com"',alpha:function(e){return c.test(e)},alphaText:"This field should only contain letters and _",alphaMask:/[a-z_]/i,alphanum:function(e){return d.test(e)},alphanumText:"This field should only contain letters, numbers and _",alphanumMask:/[a-z0-9_]/i}})());Ext.define("Ext.layout.component.field.Text",{extend:"Ext.layout.component.field.Field",alias:"layout.textfield",requires:["Ext.util.TextMetrics"],type:"textfield",beforeLayout:function(d,b){var e=this,a=e.owner,c=this.lastValue,g=a.getRawValue();this.lastValue=g;return e.callParent(arguments)||(a.grow&&g!==c)},sizeBodyContents:function(c,a){var b=this.adjustForGrow(c,a);this.setElementSize(this.owner.inputEl,b[0],b[1])},adjustForGrow:function(e,c){var g=this,b=g.owner,i,h,d,a=[e,c];if(b.grow){i=b.inputEl;h=(i.dom.value||(b.hasFocus?"":b.emptyText)||"")+b.growAppend;d=i.getTextWidth(h)+i.getBorderWidth("lr")+i.getPadding("lr");a[0]=Ext.Number.constrain(d,b.growMin,Math.max(b.growMin,Math.min(b.growMax,Ext.isNumber(e)?e:Infinity)))}return a}});Ext.define("Ext.layout.component.field.TextArea",{extend:"Ext.layout.component.field.Text",alias:"layout.textareafield",type:"textareafield",adjustForGrow:function(a,k){var e=this,b=e.owner,i,h,g,d,c,j,l=[a,k];if(b.grow){i=b.inputEl;d=i.getWidth(true);c=i.getHeight();h=i.dom.value||" ";h+=b.growAppend;h=h.replace(/\n/g,"
");j=Ext.util.TextMetrics.measure(i,h,d).height+i.getBorderWidth("tb")+i.getPadding("tb");g=b.growMax;if(Ext.isNumber(k)){g=Math.min(g,k)}l[1]=Ext.Number.constrain(j,b.growMin,g)}return l}});Ext.define("Ext.layout.container.Anchor",{alias:"layout.anchor",extend:"Ext.layout.container.Container",alternateClassName:"Ext.layout.AnchorLayout",type:"anchor",defaultAnchor:"100%",parseAnchorRE:/^(r|right|b|bottom)$/i,onLayout:function(){this.callParent(arguments);var t=this,m=t.getLayoutTargetSize(),a=t.owner,v=t.getTarget(),u=m.width,k=m.height,n=v.getStyle("overflow"),l=t.getVisibleItems(a),r=l.length,e=[],h,p,j,g,c,d,q,b,s;if(u<20&&k<20){return}if(!t.clearEl){t.clearEl=v.createChild({cls:Ext.baseCSSPrefix+"clear",role:"presentation"})}if(!Ext.supports.RightMargin){s=Ext.core.Element.getRightMarginFixCleaner(v);v.addCls(Ext.baseCSSPrefix+"inline-children")}for(q=0;qname="{name}" ','size="{size}" ','tabIndex="{tabIdx}" ','class="{fieldCls} {typeCls}" autocomplete="off" />',{compiled:true,disableFormats:true}],inputType:"text",invalidText:"The value in this field is invalid",fieldCls:Ext.baseCSSPrefix+"form-field",focusCls:Ext.baseCSSPrefix+"form-focus",dirtyCls:Ext.baseCSSPrefix+"form-dirty",checkChangeEvents:Ext.isIE&&(!document.documentMode||document.documentMode<9)?["change","propertychange"]:["change","input","textInput","keyup","dragdrop"],checkChangeBuffer:50,componentLayout:"field",readOnly:false,readOnlyCls:Ext.baseCSSPrefix+"form-readonly",validateOnBlur:true,hasFocus:false,baseCls:Ext.baseCSSPrefix+"field",maskOnDisable:false,initComponent:function(){var a=this;a.callParent();a.subTplData=a.subTplData||{};a.addEvents("focus","blur","specialkey");a.initLabelable();a.initField();if(!a.name){a.name=a.getInputId()}},getInputId:function(){return this.inputId||(this.inputId=Ext.id())},getSubTplData:function(){var c=this,b=c.inputType,a=c.getInputId();return Ext.applyIf(c.subTplData,{id:a,name:c.name||a,type:b,size:c.size||20,cls:c.cls,fieldCls:c.fieldCls,tabIdx:c.tabIndex,typeCls:Ext.baseCSSPrefix+"form-"+(b==="password"?"text":b)})},getSubTplMarkup:function(){return this.getTpl("fieldSubTpl").apply(this.getSubTplData())},initRenderTpl:function(){var a=this;if(!a.hasOwnProperty("renderTpl")){a.renderTpl=a.getTpl("labelableRenderTpl")}return a.callParent()},initRenderData:function(){return Ext.applyIf(this.callParent(),this.getLabelableRenderData())},setFieldStyle:function(a){var b=this,c=b.inputEl;if(c){c.applyStyles(a)}b.fieldStyle=a},onRender:function(){var c=this,b=c.fieldStyle,a=c.renderSelectors;Ext.applyIf(a,c.getLabelableSelectors());Ext.applyIf(a,{inputEl:"."+c.fieldCls});c.callParent(arguments);c.setRawValue(c.rawValue);if(c.readOnly){c.setReadOnly(true)}if(c.disabled){c.disable()}if(b){c.setFieldStyle(b)}c.renderActiveError()},initAria:function(){var a=this;a.callParent();a.getActionEl().dom.setAttribute("aria-describedby",Ext.id(a.errorEl))},getFocusEl:function(){return this.inputEl},isFileUpload:function(){return this.inputType==="file"},extractFileInput:function(){var b=this,a=b.isFileUpload()?b.inputEl.dom:null,c;if(a){c=a.cloneNode(true);a.parentNode.replaceChild(c,a);b.inputEl=Ext.get(c)}return a},getSubmitData:function(){var a=this,b=null,c;if(!a.disabled&&a.submitValue&&!a.isFileUpload()){c=a.getSubmitValue();if(c!==null){b={};b[a.getName()]=c}}return b},getSubmitValue:function(){return this.processRawValue(this.getRawValue())},getRawValue:function(){var b=this,a=(b.inputEl?b.inputEl.getValue():Ext.value(b.rawValue,""));b.rawValue=a;return a},setRawValue:function(b){var a=this;b=Ext.value(b,"");a.rawValue=b;if(a.inputEl){a.inputEl.dom.value=b}return b},valueToRaw:function(a){return""+Ext.value(a,"")},rawToValue:function(a){return a},processRawValue:function(a){return a},getValue:function(){var a=this,b=a.rawToValue(a.processRawValue(a.getRawValue()));a.value=b;return b},setValue:function(b){var a=this;a.setRawValue(a.valueToRaw(b));return a.mixins.field.setValue.call(a,b)},onDisable:function(){var a=this,b=a.inputEl;a.callParent();if(b){b.dom.disabled=true}},onEnable:function(){var a=this,b=a.inputEl;a.callParent();if(b){b.dom.disabled=false}},setReadOnly:function(c){var a=this,b=a.inputEl;if(b){b.dom.readOnly=c;b.dom.setAttribute("aria-readonly",c)}a[c?"addCls":"removeCls"](a.readOnlyCls);a.readOnly=c},fireKey:function(a){if(a.isSpecialKey()){this.fireEvent("specialkey",this,Ext.create("Ext.EventObjectImpl",a))}},initEvents:function(){var b=this,c=b.inputEl,a,d;if(c){b.mon(c,Ext.EventManager.getKeyEvent(),b.fireKey,b);b.mon(c,"focus",b.onFocus,b);b.mon(c,"blur",b.onBlur,b,b.inEditor?{buffer:10}:null);a=Ext.create("Ext.util.DelayedTask",b.checkChange,b);b.onChangeEvent=d=function(){a.delay(b.checkChangeBuffer)};Ext.each(b.checkChangeEvents,function(e){if(e==="propertychange"){b.usesPropertychange=true}b.mon(c,e,d)},b)}b.callParent()},doComponentLayout:function(){var c=this,d=c.inputEl,a=c.usesPropertychange,b="propertychange",e=c.onChangeEvent;if(a){c.mun(d,b,e)}c.callParent(arguments);if(a){c.mon(d,b,e)}},preFocus:Ext.emptyFn,onFocus:function(){var b=this,a=b.focusCls,c=b.inputEl;b.preFocus();if(a&&c){c.addCls(a)}if(!b.hasFocus){b.hasFocus=true;b.fireEvent("focus",b)}},beforeBlur:Ext.emptyFn,onBlur:function(){var b=this,a=b.focusCls,c=b.inputEl;b.beforeBlur();if(a&&c){c.removeCls(a)}if(b.validateOnBlur){b.validate()}b.hasFocus=false;b.fireEvent("blur",b);b.postBlur()},postBlur:Ext.emptyFn,onDirtyChange:function(a){this[a?"addCls":"removeCls"](this.dirtyCls)},isValid:function(){var a=this;return a.disabled||a.validateValue(a.processRawValue(a.getRawValue()))},validateValue:function(b){var a=this,d=a.getErrors(b),c=Ext.isEmpty(d);if(!a.preventMark){if(c){a.clearInvalid()}else{a.markInvalid(d)}}return c},markInvalid:function(c){var b=this,a=b.getActiveError();b.setActiveErrors(Ext.Array.from(c));if(a!==b.getActiveError()){b.doComponentLayout()}},clearInvalid:function(){var b=this,a=b.hasActiveError();b.unsetActiveError();if(a){b.doComponentLayout()}},renderActiveError:function(){var b=this,a=b.hasActiveError();if(b.inputEl){b.inputEl[a?"addCls":"removeCls"](b.invalidCls+"-field")}b.mixins.labelable.renderActiveError.call(b)},getActionEl:function(){return this.inputEl||this.el}});Ext.define("Ext.form.field.Text",{extend:"Ext.form.field.Base",alias:"widget.textfield",requires:["Ext.form.field.VTypes","Ext.layout.component.field.Text"],alternateClassName:["Ext.form.TextField","Ext.form.Text"],size:20,growMin:30,growMax:800,growAppend:"W",allowBlank:true,minLength:0,maxLength:Number.MAX_VALUE,minLengthText:"The minimum length for this field is {0}",maxLengthText:"The maximum length for this field is {0}",blankText:"This field is required",regexText:"",emptyCls:Ext.baseCSSPrefix+"form-empty-field",ariaRole:"textbox",componentLayout:"textfield",initComponent:function(){this.callParent();this.addEvents("autosize","keydown","keyup","keypress")},initEvents:function(){var b=this,a=b.inputEl;b.callParent();if(b.selectOnFocus||b.emptyText){b.mon(a,"mousedown",b.onMouseDown,b)}if(b.maskRe||(b.vtype&&b.disableKeyFilter!==true&&(b.maskRe=Ext.form.field.VTypes[b.vtype+"Mask"]))){b.mon(a,"keypress",b.filterKeys,b)}if(b.enableKeyEvents){b.mon(a,{scope:b,keyup:b.onKeyUp,keydown:b.onKeyDown,keypress:b.onKeyPress})}},isEqual:function(b,a){return String(Ext.value(b,""))===String(Ext.value(a,""))},onChange:function(){this.callParent();this.autoSize()},afterRender:function(){var a=this;if(a.enforceMaxLength){a.inputEl.dom.maxLength=a.maxLength}a.applyEmptyText();a.autoSize();a.callParent()},onMouseDown:function(b){var a=this;if(!a.hasFocus){a.mon(a.inputEl,"mouseup",Ext.emptyFn,a,{single:true,preventDefault:true})}},processRawValue:function(b){var a=this,d=a.stripCharsRe,c;if(d){c=b.replace(d,"");if(c!==b){a.setRawValue(c);b=c}}return b},onDisable:function(){this.callParent();if(Ext.isIE){this.inputEl.dom.unselectable="on"}},onEnable:function(){this.callParent();if(Ext.isIE){this.inputEl.dom.unselectable=""}},onKeyDown:function(a){this.fireEvent("keydown",this,a)},onKeyUp:function(a){this.fireEvent("keyup",this,a)},onKeyPress:function(a){this.fireEvent("keypress",this,a)},reset:function(){this.callParent();this.applyEmptyText()},applyEmptyText:function(){var b=this,a=b.emptyText,c;if(b.rendered&&a){c=b.getRawValue().length<1&&!b.hasFocus;if(Ext.supports.Placeholder){b.inputEl.dom.placeholder=a}else{if(c){b.setRawValue(a)}}if(c){b.inputEl.addCls(b.emptyCls)}b.autoSize()}},preFocus:function(){var b=this,c=b.inputEl,a=b.emptyText,d;if(a&&!Ext.supports.Placeholder&&c.dom.value===a){b.setRawValue("");d=true;c.removeCls(b.emptyCls)}else{if(Ext.supports.Placeholder){b.inputEl.removeCls(b.emptyCls)}}if(b.selectOnFocus||d){c.dom.select()}},onFocus:function(){var a=this;a.callParent(arguments);if(a.emptyText){a.autoSize()}},postBlur:function(){this.applyEmptyText()},filterKeys:function(c){if(c.ctrlKey){return}var b=c.getKey(),a=String.fromCharCode(c.getCharCode());if(Ext.isGecko&&(c.isNavKeyPress()||b===c.BACKSPACE||(b===c.DELETE&&c.button===-1))){return}if(!Ext.isGecko&&c.isSpecialKey()&&!a){return}if(!this.maskRe.test(a)){c.stopEvent()}},getRawValue:function(){var b=this,a=b.callParent();if(a===b.emptyText){a=""}return a},setValue:function(b){var a=this,c=a.inputEl;if(c&&a.emptyText&&!Ext.isEmpty(b)){c.removeCls(a.emptyCls)}a.callParent(arguments);a.applyEmptyText();return a},getErrors:function(l){var g=this,k=g.callParent(arguments),a=g.validator,d=g.emptyText,c=g.allowBlank,e=g.vtype,h=Ext.form.field.VTypes,i=g.regex,j=Ext.String.format,b;l=l||g.processRawValue(g.getRawValue());if(Ext.isFunction(a)){b=a.call(g,l);if(b!==true){k.push(b)}}if(l.length<1||l===d){if(!c){k.push(g.blankText)}return k}if(l.lengthg.maxLength){k.push(j(g.maxLengthText,g.maxLength))}if(e){if(!h[e](l,g)){k.push(g.vtypeText||h[e+"Text"])}}if(i&&!i.test(l)){k.push(g.regexText||g.invalidText)}return k},selectText:function(i,a){var h=this,c=h.getRawValue(),d=true,g=h.inputEl.dom,e,b;if(c.length>0){i=i===e?0:i;a=a===e?c.length:a;if(g.setSelectionRange){g.setSelectionRange(i,a)}else{if(g.createTextRange){b=g.createTextRange();b.moveStart("character",i);b.moveEnd("character",a-c.length);b.select()}}d=Ext.isGecko||Ext.isOpera}if(d){h.focus()}},autoSize:function(){var b=this,a;if(b.grow&&b.rendered){b.doComponentLayout();a=b.inputEl.getWidth();if(a!==b.lastInputWidth){b.fireEvent("autosize",a);b.lastInputWidth=a}}},initAria:function(){this.callParent();this.getActionEl().dom.setAttribute("aria-required",this.allowBlank===false)},getBodyNaturalWidth:function(){return Math.round(this.size*6.5)+20}});Ext.define("Ext.form.field.TextArea",{extend:"Ext.form.field.Text",alias:["widget.textareafield","widget.textarea"],alternateClassName:"Ext.form.TextArea",requires:["Ext.XTemplate","Ext.layout.component.field.TextArea"],fieldSubTpl:['",{compiled:true,disableFormats:true}],growMin:60,growMax:1000,growAppend:"\n-",cols:20,rows:4,enterIsSpecial:false,preventScrollbars:false,componentLayout:"textareafield",onRender:function(b,a){var c=this;Ext.applyIf(c.subTplData,{cols:c.cols,rows:c.rows});c.callParent(arguments)},afterRender:function(){var a=this;a.callParent(arguments);if(a.grow){if(a.preventScrollbars){a.inputEl.setStyle("overflow","hidden")}a.inputEl.setHeight(a.growMin)}},fireKey:function(a){if(a.isSpecialKey()&&(this.enterIsSpecial||(a.getKey()!==a.ENTER||a.hasModifier()))){this.fireEvent("specialkey",this,a)}},autoSize:function(){var b=this,a;if(b.grow&&b.rendered){b.doComponentLayout();a=b.inputEl.getHeight();if(a!==b.lastInputHeight){b.fireEvent("autosize",a);b.lastInputHeight=a}}},initAria:function(){this.callParent(arguments);this.getActionEl().dom.setAttribute("aria-multiline",true)},getBodyNaturalWidth:function(){return Math.round(this.cols*6.5)+20}});Ext.define("Ext.window.MessageBox",{extend:"Ext.window.Window",requires:["Ext.toolbar.Toolbar","Ext.form.field.Text","Ext.form.field.TextArea","Ext.button.Button","Ext.layout.container.Anchor","Ext.layout.container.HBox","Ext.ProgressBar"],alternateClassName:"Ext.MessageBox",alias:"widget.messagebox",OK:1,YES:2,NO:4,CANCEL:8,OKCANCEL:9,YESNO:6,YESNOCANCEL:14,INFO:"ext-mb-info",WARNING:"ext-mb-warning",QUESTION:"ext-mb-question",ERROR:"ext-mb-error",hideMode:"offsets",closeAction:"hide",resizable:false,title:" ",width:600,height:500,minWidth:250,maxWidth:600,minHeight:110,maxHeight:500,constrain:true,cls:Ext.baseCSSPrefix+"message-box",layout:{type:"anchor"},defaultTextHeight:75,minProgressWidth:250,minPromptWidth:250,buttonText:{ok:"OK",yes:"Yes",no:"No",cancel:"Cancel"},buttonIds:["ok","yes","no","cancel"],titleText:{confirm:"Confirm",prompt:"Prompt",wait:"Loading...",alert:"Attention"},iconHeight:35,makeButton:function(a){var b=this.buttonIds[a];return Ext.create("Ext.button.Button",{handler:this.btnCallback,itemId:b,scope:this,text:this.buttonText[b],minWidth:75})},btnCallback:function(a){var b=this,c,d;if(b.cfg.prompt||b.cfg.multiline){if(b.cfg.multiline){d=b.textArea}else{d=b.textField}c=d.getValue();d.reset()}a.blur();b.hide();b.userCallback(a.itemId,c,b.cfg)},hide:function(){var a=this;a.dd.endDrag();a.progressBar.reset();a.removeCls(a.cfg.cls);a.callParent()},initComponent:function(){var c=this,b,a;c.title=" ";c.topContainer=Ext.create("Ext.container.Container",{anchor:"100%",style:{padding:"10px",overflow:"hidden"},items:[c.iconComponent=Ext.create("Ext.Component",{cls:"ext-mb-icon",width:50,height:c.iconHeight,style:{"float":"left"}}),c.promptContainer=Ext.create("Ext.container.Container",{layout:{type:"anchor"},items:[c.msg=Ext.create("Ext.Component",{autoEl:{tag:"span"},cls:"ext-mb-text"}),c.textField=Ext.create("Ext.form.field.Text",{anchor:"100%",enableKeyEvents:true,listeners:{keydown:c.onPromptKey,scope:c}}),c.textArea=Ext.create("Ext.form.field.TextArea",{anchor:"100%",height:75})]})]});c.progressBar=Ext.create("Ext.ProgressBar",{anchor:"-10",style:"margin-left:10px"});c.items=[c.topContainer,c.progressBar];c.msgButtons=[];for(b=0;b<4;b++){a=c.makeButton(b);c.msgButtons[a.itemId]=a;c.msgButtons.push(a)}c.bottomTb=Ext.create("Ext.toolbar.Toolbar",{ui:"footer",dock:"bottom",layout:{pack:"center"},items:[c.msgButtons[0],c.msgButtons[1],c.msgButtons[2],c.msgButtons[3]]});c.dockedItems=[c.bottomTb];c.callParent()},onPromptKey:function(a,c){var b=this,d;if(c.keyCode===Ext.EventObject.RETURN||c.keyCode===10){if(b.msgButtons.ok.isVisible()){d=true;b.msgButtons.ok.handler.call(b,b.msgButtons.ok)}else{if(b.msgButtons.yes.isVisible()){b.msgButtons.yes.handler.call(b,b.msgButtons.yes);d=true}}if(d){b.textField.blur()}}},reconfigure:function(a){var d=this,c=a.buttons||0,g=true,e=d.maxWidth,b;a=a||{};d.cfg=a;if(a.width){e=a.width}delete d.defaultFocus;d.animateTarget=a.animateTarget||undefined;d.modal=a.modal!==false;if(a.title){d.setTitle(a.title||" ")}if(!d.rendered){d.width=e;d.render(Ext.getBody())}else{d.hidden=false;d.setSize(e,d.maxHeight)}d.setPosition(-10000,-10000);d.closable=a.closable&&!a.wait;if(a.closable===false){d.tools.close.hide()}else{d.tools.close.show()}if(!a.title&&!d.closable){d.header.hide()}else{d.header.show()}d.liveDrag=!a.proxyDrag;d.userCallback=Ext.Function.bind(a.callback||a.fn||Ext.emptyFn,a.scope||Ext.global);d.setIcon(a.icon);if(a.msg){d.msg.update(a.msg);d.msg.show()}else{d.msg.hide()}if(a.prompt||a.multiline){d.multiline=a.multiline;if(a.multiline){d.textArea.setValue(a.value);d.textArea.setHeight(a.defaultTextHeight||d.defaultTextHeight);d.textArea.show();d.textField.hide();d.defaultFocus=d.textArea}else{d.textField.setValue(a.value);d.textArea.hide();d.textField.show();d.defaultFocus=d.textField}}else{d.textArea.hide();d.textField.hide()}if(a.progress||a.wait){d.progressBar.show();d.updateProgress(0,a.progressText);if(a.wait===true){d.progressBar.wait(a.waitConfig)}}else{d.progressBar.hide()}for(b=0;b<4;b++){if(c&Math.pow(2,b)){if(!d.defaultFocus){d.defaultFocus=d.msgButtons[b]}d.msgButtons[b].show();g=false}else{d.msgButtons[b].hide()}}if(g){d.bottomTb.hide()}else{d.bottomTb.show()}d.hidden=true},show:function(a){var b=this;b.reconfigure(a);b.addCls(a.cls);if(a.animateTarget){b.doAutoSize(false);b.callParent()}else{b.callParent();b.doAutoSize(true)}return b},afterShow:function(){if(this.animateTarget){this.center()}this.callParent(arguments)},doAutoSize:function(b){var e=this,d=e.iconComponent,g=e.iconHeight;if(!Ext.isDefined(e.frameWidth)){e.frameWidth=e.el.getWidth()-e.body.getWidth()}d.setHeight(g);e.minWidth=e.cfg.minWidth||Ext.getClass(this).prototype.minWidth;e.topContainer.doLayout();if(Ext.isIE6||Ext.isIEQuirks){e.textField.setCalculatedSize(9);e.textArea.setCalculatedSize(9)}var c=e.cfg.width||e.msg.getWidth()+d.getWidth()+25,a=(e.header.rendered?e.header.getHeight():0)+Math.max(e.promptContainer.getHeight(),d.getHeight())+e.progressBar.getHeight()+(e.bottomTb.rendered?e.bottomTb.getHeight():0)+20;d.setHeight(Math.max(g,e.msg.getHeight()));e.setSize(c+e.frameWidth,a+e.frameWidth);if(b){e.center()}return e},updateText:function(a){this.msg.update(a);return this.doAutoSize(true)},setIcon:function(a){var b=this;b.iconComponent.removeCls(b.iconCls);if(a){b.iconComponent.show();b.iconComponent.addCls(Ext.baseCSSPrefix+"dlg-icon");b.iconComponent.addCls(b.iconCls=a)}else{b.iconComponent.removeCls(Ext.baseCSSPrefix+"dlg-icon");b.iconComponent.hide()}return b},updateProgress:function(b,a,c){this.progressBar.updateProgress(b,a);if(c){this.updateText(c)}return this},onEsc:function(){if(this.closable!==false){this.callParent(arguments)}},confirm:function(a,d,c,b){if(Ext.isString(a)){a={title:a,icon:"ext-mb-question",msg:d,buttons:this.YESNO,callback:c,scope:b}}return this.show(a)},prompt:function(b,g,d,c,a,e){if(Ext.isString(b)){b={prompt:true,title:b,minWidth:this.minPromptWidth,msg:g,buttons:this.OKCANCEL,callback:d,scope:c,multiline:a,value:e}}return this.show(b)},wait:function(a,c,b){if(Ext.isString(a)){a={title:c,msg:a,closable:false,wait:true,modal:true,minWidth:this.minProgressWidth,waitConfig:b}}return this.show(a)},alert:function(a,d,c,b){if(Ext.isString(a)){a={title:a,msg:d,buttons:this.OK,fn:c,scope:b,minWidth:this.minWidth}}return this.show(a)},progress:function(a,c,b){if(Ext.isString(a)){a={title:a,msg:c,progressText:b}}return this.show(a)}},function(){Ext.MessageBox=Ext.Msg=new this()});Ext.define("Ext.form.Basic",{extend:"Ext.util.Observable",alternateClassName:"Ext.form.BasicForm",requires:["Ext.util.MixedCollection","Ext.form.action.Load","Ext.form.action.Submit","Ext.window.MessageBox","Ext.data.Errors","Ext.util.DelayedTask"],constructor:function(a,b){var c=this,d=c.onItemAddOrRemove;c.owner=a;c.mon(a,{add:d,remove:d,scope:c});Ext.apply(c,b);if(Ext.isString(c.paramOrder)){c.paramOrder=c.paramOrder.split(/[\s,|]/)}c.checkValidityTask=Ext.create("Ext.util.DelayedTask",c.checkValidity,c);c.addEvents("beforeaction","actionfailed","actioncomplete","validitychange","dirtychange");c.callParent()},initialize:function(){this.initialized=true;this.onValidityChange(!this.hasInvalidField())},timeout:30,paramsAsHash:false,waitTitle:"Please Wait...",trackResetOnLoad:false,wasDirty:false,destroy:function(){this.clearListeners();this.checkValidityTask.cancel()},onItemAddOrRemove:function(c,g){var d=this,e=!!g.ownerCt,b=g.isContainer;function a(h){d[e?"mon":"mun"](h,{validitychange:d.checkValidity,dirtychange:d.checkDirty,scope:d,buffer:100});delete d._fields}if(g.isFormField){a(g)}else{if(b){Ext.Array.forEach(g.query("[isFormField]"),a)}}delete this._boundItems;if(d.initialized){d.checkValidityTask.delay(10)}},getFields:function(){var a=this._fields;if(!a){a=this._fields=Ext.create("Ext.util.MixedCollection");a.addAll(this.owner.query("[isFormField]"))}return a},getBoundItems:function(){var a=this._boundItems;if(!a){a=this._boundItems=Ext.create("Ext.util.MixedCollection");a.addAll(this.owner.query("[formBind]"))}return a},hasInvalidField:function(){return !!this.getFields().findBy(function(c){var a=c.preventMark,b;c.preventMark=true;b=c.isValid();c.preventMark=a;return !b})},isValid:function(){var a=this,b;a.batchLayouts(function(){b=a.getFields().filterBy(function(c){return !c.validate()})});return b.length<1},checkValidity:function(){var b=this,a=!b.hasInvalidField();if(a!==b.wasValid){b.onValidityChange(a);b.fireEvent("validitychange",b,a);b.wasValid=a}},onValidityChange:function(b){var a=this.getBoundItems();if(a){a.each(function(c){if(c.disabled===b){c.setDisabled(!b)}})}},isDirty:function(){return !!this.getFields().findBy(function(a){return a.isDirty()})},checkDirty:function(){var a=this.isDirty();if(a!==this.wasDirty){this.fireEvent("dirtychange",this,a);this.wasDirty=a}},hasUpload:function(){return !!this.getFields().findBy(function(a){return a.isFileUpload()})},doAction:function(b,a){if(Ext.isString(b)){b=Ext.ClassManager.instantiateByAlias("formaction."+b,Ext.apply({},a,{form:this}))}if(this.fireEvent("beforeaction",this,b)!==false){this.beforeAction(b);Ext.defer(b.run,100,b)}return this},submit:function(a){return this.doAction(this.standardSubmit?"standardsubmit":this.api?"directsubmit":"submit",a)},load:function(a){return this.doAction(this.api?"directload":"load",a)},updateRecord:function(b){var a=b.fields,c=this.getFieldValues(),d,e={};a.each(function(g){d=g.name;if(d in c){e[d]=c[d]}});b.beginEdit();b.set(e);b.endEdit();return this},loadRecord:function(a){this._record=a;return this.setValues(a.data)},getRecord:function(){return this._record},beforeAction:function(c){var a=c.waitMsg,b=Ext.baseCSSPrefix+"mask-loading",d;this.getFields().each(function(e){if(e.isFormField&&e.syncValue){e.syncValue()}});if(a){d=this.waitMsgTarget;if(d===true){this.owner.el.mask(a,b)}else{if(d){d=this.waitMsgTarget=Ext.get(d);d.mask(a,b)}else{Ext.MessageBox.wait(a,c.waitTitle||this.waitTitle)}}}},afterAction:function(b,d){if(b.waitMsg){var a=Ext.MessageBox,c=this.waitMsgTarget;if(c===true){this.owner.el.unmask()}else{if(c){c.unmask()}else{a.updateProgress(1);a.hide()}}}if(d){if(b.reset){this.reset()}Ext.callback(b.success,b.scope||b,[this,b]);this.fireEvent("actioncomplete",this,b)}else{Ext.callback(b.failure,b.scope||b,[this,b]);this.fireEvent("actionfailed",this,b)}},findField:function(a){return this.getFields().findBy(function(b){return b.id===a||b.getName()===a})},markInvalid:function(c){var a=this;function b(d,g){var e=a.findField(d);if(e){e.markInvalid(g)}}if(Ext.isArray(c)){Ext.each(c,function(d){b(d.id,d.msg)})}else{if(c instanceof Ext.data.Errors){c.each(function(d){b(d.field,d.message)})}else{Ext.iterate(c,b)}}return this},setValues:function(a){var b=this;function c(d,g){var e=b.findField(d);if(e){e.setValue(g);if(b.trackResetOnLoad){e.resetOriginalValue()}}}if(Ext.isArray(a)){Ext.each(a,function(d){c(d.id,d.value)})}else{Ext.iterate(a,c)}return this},getValues:function(e,b,d,a){var c={};this.getFields().each(function(h){if(!b||h.isDirty()){var g=h[a?"getModelData":"getSubmitData"](d);if(Ext.isObject(g)){Ext.iterate(g,function(j,k){if(d&&k===""){k=h.emptyText||""}if(j in c){var l=c[j],i=Ext.isArray;if(!i(l)){l=c[j]=[l]}if(i(k)){c[j]=l.concat(k)}else{l.push(k)}}else{c[j]=k}})}}});if(e){c=Ext.Object.toQueryString(c)}return c},getFieldValues:function(a){return this.getValues(false,a,false,true)},clearInvalid:function(){var a=this;a.batchLayouts(function(){a.getFields().each(function(b){b.clearInvalid()})});return a},reset:function(){var a=this;a.batchLayouts(function(){a.getFields().each(function(b){b.reset()})});return a},applyToFields:function(a){this.getFields().each(function(b){Ext.apply(b,a)});return this},applyIfToFields:function(a){this.getFields().each(function(b){Ext.applyIf(b,a)});return this},batchLayouts:function(b){var c=this,a=new Ext.util.HashMap();c.getFields().each(function(e){var d=e.ownerCt;if(!a.contains(d)){a.add(d);d.oldSuspendLayout=d.suspendLayout;d.suspendLayout=true}});b();a.each(function(e,d){d.suspendLayout=d.oldSuspendLayout;delete d.oldSuspendLayout});c.owner.doComponentLayout()}});Ext.define("Ext.form.FieldAncestor",{initFieldAncestor:function(){var a=this,b=a.onFieldAncestorSubtreeChange;a.addEvents("fieldvaliditychange","fielderrorchange");a.on("add",b,a);a.on("remove",b,a);a.initFieldDefaults()},initFieldDefaults:function(){if(!this.fieldDefaults){this.fieldDefaults={}}},onFieldAncestorSubtreeChange:function(b,e){var c=this,d=!!e.ownerCt;function a(g){var h=g.isFieldLabelable,i=g.isFormField;if(h||i){if(h){c["onLabelable"+(d?"Added":"Removed")](g)}if(i){c["onField"+(d?"Added":"Removed")](g)}}else{if(g.isContainer){Ext.Array.forEach(g.getRefItems(),a)}}}a(e)},onLabelableAdded:function(a){var b=this;b.mon(a,"errorchange",b.handleFieldErrorChange,b,{buffer:10});a.setFieldDefaults(b.fieldDefaults)},onFieldAdded:function(b){var a=this;a.mon(b,"validitychange",a.handleFieldValidityChange,a)},onLabelableRemoved:function(a){var b=this;b.mun(a,"errorchange",b.handleFieldErrorChange,b)},onFieldRemoved:function(b){var a=this;a.mun(b,"validitychange",a.handleFieldValidityChange,a)},handleFieldValidityChange:function(c,b){var a=this;a.fireEvent("fieldvaliditychange",a,c,b);a.onFieldValidityChange()},handleFieldErrorChange:function(b,a){var c=this;c.fireEvent("fielderrorchange",c,b,a);c.onFieldErrorChange()},onFieldValidityChange:Ext.emptyFn,onFieldErrorChange:Ext.emptyFn});Ext.define("Ext.layout.container.CheckboxGroup",{extend:"Ext.layout.container.Container",alias:["layout.checkboxgroup"],onLayout:function(){var b=this.getColCount(),c=this.getShadowCt(),a=this.owner,g=a.items,j=c.items,h=g.length,k=0,d,e;j.each(function(i){i.items.clear()});while(j.length>b){c.remove(j.last())}while(j.length0&&d%e===0){k++}j.getAt(k).items.add(g.getAt(d))}}else{for(d=0;d'],maskOnDisable:false,getElConfig:function(){return{tag:"fieldset",id:this.id}},initComponent:function(){var b=this,a=b.baseCls;b.callParent();b.initLegend();Ext.applyIf(b.renderSelectors,{body:"."+a+"-body"});if(b.collapsed){b.addCls(a+"-collapsed");b.collapse()}},onRender:function(b,a){this.callParent(arguments);this.initLegend()},initLegend:function(){var c=this,a,b=c.legend;if(!b&&(c.title||c.checkboxToggle||c.collapsible)){a=[];if(c.checkboxToggle){a.push(c.createCheckboxCmp())}else{if(c.collapsible){a.push(c.createToggleCmp())}}a.push(c.createTitleCmp());b=c.legend=Ext.create("Ext.container.Container",{baseCls:c.baseCls+"-header",ariaRole:"",getElConfig:function(){return{tag:"legend",cls:this.baseCls}},items:a})}if(b&&!b.rendered&&c.rendered){c.legend.render(c.el,c.body)}},createTitleCmp:function(){var a=this;a.titleCmp=Ext.create("Ext.Component",{html:a.title,cls:a.baseCls+"-header-text"});return a.titleCmp},createCheckboxCmp:function(){var a=this,b="-checkbox";a.checkboxCmp=Ext.create("Ext.form.field.Checkbox",{name:a.checkboxName||a.id+b,cls:a.baseCls+"-header"+b,checked:!a.collapsed,listeners:{change:a.onCheckChange,scope:a}});return a.checkboxCmp},createToggleCmp:function(){var a=this;a.toggleCmp=Ext.create("Ext.panel.Tool",{type:"toggle",handler:a.toggle,scope:a});return a.toggleCmp},setTitle:function(b){var a=this;a.title=b;a.initLegend();a.titleCmp.update(b);return a},getTargetEl:function(){return this.body||this.frameBody||this.el},getContentTarget:function(){return this.body},getRefItems:function(a){var c=this.callParent(arguments),b=this.legend;if(b){c.unshift(b);if(a){c.unshift.apply(c,b.getRefItems(true))}}return c},expand:function(){return this.setExpanded(true)},collapse:function(){return this.setExpanded(false)},setExpanded:function(a){var b=this,c=b.checkboxCmp;a=!!a;if(c){c.setValue(a)}if(a){b.removeCls(b.baseCls+"-collapsed")}else{b.addCls(b.baseCls+"-collapsed")}b.collapsed=!a;if(a){b.getComponentLayout().childrenChanged=true}b.doComponentLayout();return b},toggle:function(){this.setExpanded(!!this.collapsed)},onCheckChange:function(b,a){this.setExpanded(a)},beforeDestroy:function(){var a=this.legend;if(a){a.destroy()}this.callParent()}});Ext.define("Ext.form.Label",{extend:"Ext.Component",alias:"widget.label",requires:["Ext.util.Format"],maskOnDisable:false,getElConfig:function(){var a=this;return{tag:"label",id:a.id,htmlFor:a.forId||"",html:a.text?Ext.util.Format.htmlEncode(a.text):(a.html||"")}},setText:function(c,b){var a=this;b=b!==false;if(b){a.text=c;delete a.html}else{a.html=c;delete a.text}if(a.rendered){a.el.dom.innerHTML=b!==false?Ext.util.Format.htmlEncode(c):c}return this}});Ext.define("Ext.form.Panel",{extend:"Ext.panel.Panel",mixins:{fieldAncestor:"Ext.form.FieldAncestor"},alias:"widget.form",alternateClassName:["Ext.FormPanel","Ext.form.FormPanel"],requires:["Ext.form.Basic","Ext.util.TaskRunner"],layout:"anchor",ariaRole:"form",initComponent:function(){var a=this;if(a.frame){a.border=false}a.initFieldAncestor();a.callParent();a.relayEvents(a.form,["beforeaction","actionfailed","actioncomplete","validitychange","dirtychange"]);if(a.pollForChanges){a.startPolling(a.pollInterval||500)}},initItems:function(){var a=this;a.form=a.createForm();a.callParent();a.form.initialize()},createForm:function(){return Ext.create("Ext.form.Basic",this,Ext.applyIf({listeners:{}},this.initialConfig))},getForm:function(){return this.form},loadRecord:function(a){return this.getForm().loadRecord(a)},getRecord:function(){return this.getForm().getRecord()},getValues:function(){return this.getForm().getValues()},beforeDestroy:function(){this.stopPolling();this.form.destroy();this.callParent()},load:function(a){this.form.load(a)},submit:function(a){this.form.submit(a)},disable:function(a){this.callParent(arguments);this.form.getFields().each(function(b){b.disable()})},enable:function(a){this.callParent(arguments);this.form.getFields().each(function(b){b.enable()})},startPolling:function(b){this.stopPolling();var a=Ext.create("Ext.util.TaskRunner",b);a.start({interval:0,run:this.checkChange,scope:this});this.pollTask=a},stopPolling:function(){var a=this.pollTask;if(a){a.stopAll();delete this.pollTask}},checkChange:function(){this.form.getFields().each(function(a){a.checkChange()})}});Ext.define("Ext.form.RadioGroup",{extend:"Ext.form.CheckboxGroup",alias:"widget.radiogroup",allowBlank:true,blankText:"You must select one item in this group",defaultType:"radiofield",groupCls:Ext.baseCSSPrefix+"form-radio-group",getBoxes:function(){return this.query("[isRadio]")}});Ext.define("Ext.form.RadioManager",{extend:"Ext.util.MixedCollection",singleton:true,getByName:function(a){return this.filterBy(function(b){return b.name==a})},getWithValue:function(a,b){return this.filterBy(function(c){return c.name==a&&c.inputValue==b})},getChecked:function(a){return this.findBy(function(b){return b.name==a&&b.checked})}});Ext.define("Ext.form.action.DirectLoad",{extend:"Ext.form.action.Load",requires:["Ext.direct.Manager"],alternateClassName:"Ext.form.Action.DirectLoad",alias:"formaction.directload",type:"directload",run:function(){this.form.api.load.apply(window,this.getArgs())},getArgs:function(){var g=this,c=[],e=g.form,b=e.paramOrder,h=g.getParams(),d,a;if(b){for(d=0,a=b.length;d",'',"",'tabIndex="{tabIdx}" ','class="{fieldCls} {typeCls}" autocomplete="off" hidefocus="true" />',"",'',"",{disableFormats:true,compiled:true}],isCheckbox:true,focusCls:Ext.baseCSSPrefix+"form-cb-focus",fieldBodyCls:Ext.baseCSSPrefix+"form-cb-wrap",checked:false,checkedCls:Ext.baseCSSPrefix+"form-cb-checked",boxLabelCls:Ext.baseCSSPrefix+"form-cb-label",boxLabelAlign:"after",inputValue:"on",checkChangeEvents:[],inputType:"checkbox",ariaRole:"checkbox",onRe:/^on$/i,initComponent:function(){this.callParent(arguments);this.getManager().add(this)},initValue:function(){var b=this,a=!!b.checked;b.originalValue=b.lastValue=a;b.setValue(a)},onRender:function(b,a){var c=this;Ext.applyIf(c.renderSelectors,{boxLabelEl:"label."+c.boxLabelCls});Ext.applyIf(c.subTplData,{boxLabel:c.boxLabel,boxLabelCls:c.boxLabelCls,boxLabelAlign:c.boxLabelAlign});c.callParent(arguments)},initEvents:function(){var a=this;a.callParent();a.mon(a.inputEl,"click",a.onBoxClick,a)},onBoxClick:function(b){var a=this;if(!a.disabled&&!a.readOnly){this.setValue(!this.checked)}},getRawValue:function(){return this.checked},getValue:function(){return this.checked},getSubmitValue:function(){var a=this.uncheckedValue,b=Ext.isDefined(a)?a:null;return this.checked?this.inputValue:b},setRawValue:function(d){var c=this,e=c.inputEl,a=c.inputValue,b=(d===true||d==="true"||d==="1"||((Ext.isString(d)&&a)?d==a:c.onRe.test(d)));if(e){e.dom.setAttribute("aria-checked",b);c[b?"addCls":"removeCls"](c.checkedCls)}c.checked=c.rawValue=b;return b},setValue:function(b){var a=this;if(Ext.isArray(b)){a.getManager().getByName(a.name).each(function(c){c.setValue(Ext.Array.contains(b,c.inputValue))})}else{a.callParent(arguments)}return a},valueToRaw:function(a){return a},onChange:function(b,a){var d=this,c=d.handler;if(c){c.call(d.scope||d,d,b)}d.callParent(arguments)},getManager:function(){return Ext.form.CheckboxManager},onEnable:function(){var a=this,b=a.inputEl;a.callParent();if(b){b.dom.disabled=a.readOnly}},setReadOnly:function(c){var a=this,b=a.inputEl;if(b){b.dom.disabled=c||a.disabled}a.readOnly=c},getBodyNaturalWidth:function(){var d=this,b=d.bodyEl,a="white-space",c;b.setStyle(a,"nowrap");c=b.getWidth();b.setStyle(a,"");return c}});Ext.define("Ext.layout.component.field.Trigger",{alias:["layout.triggerfield"],extend:"Ext.layout.component.field.Field",type:"triggerfield",sizeBodyContents:function(d,b){var e=this,a=e.owner,h=a.inputEl,c=a.triggerWrap,g=a.getTriggerWidth();if(a.hideTrigger||a.readOnly||g>0){e.setElementSize(h,Ext.isNumber(d)?d-g:d);c.setWidth(g)}}});Ext.define("Ext.view.View",{extend:"Ext.view.AbstractView",alternateClassName:"Ext.DataView",alias:"widget.dataview",inheritableStatics:{EventMap:{mousedown:"MouseDown",mouseup:"MouseUp",click:"Click",dblclick:"DblClick",contextmenu:"ContextMenu",mouseover:"MouseOver",mouseout:"MouseOut",mouseenter:"MouseEnter",mouseleave:"MouseLeave",keydown:"KeyDown",focus:"Focus"}},addCmpEvents:function(){this.addEvents("beforeitemmousedown","beforeitemmouseup","beforeitemmouseenter","beforeitemmouseleave","beforeitemclick","beforeitemdblclick","beforeitemcontextmenu","beforeitemkeydown","itemmousedown","itemmouseup","itemmouseenter","itemmouseleave","itemclick","itemdblclick","itemcontextmenu","itemkeydown","beforecontainermousedown","beforecontainermouseup","beforecontainermouseover","beforecontainermouseout","beforecontainerclick","beforecontainerdblclick","beforecontainercontextmenu","beforecontainerkeydown","containermouseup","containermouseover","containermouseout","containerclick","containerdblclick","containercontextmenu","containerkeydown","selectionchange","beforeselect")},afterRender:function(){var b=this,a;b.callParent();a={scope:b,freezeEvent:true,click:b.handleEvent,mousedown:b.handleEvent,mouseup:b.handleEvent,dblclick:b.handleEvent,contextmenu:b.handleEvent,mouseover:b.handleEvent,mouseout:b.handleEvent,keydown:b.handleEvent};b.mon(b.getTargetEl(),a);if(b.store){b.bindStore(b.store,true)}},handleEvent:function(a){if(this.processUIEvent(a)!==false){this.processSpecialEvent(a)}},processItemEvent:Ext.emptyFn,processContainerEvent:Ext.emptyFn,processSpecialEvent:Ext.emptyFn,stillOverItem:function(b,a){var c;if(a&&typeof(a.offsetParent)==="object"){c=(b.type=="mouseout")?b.getRelatedTarget():b.getTarget();return Ext.fly(a).contains(c)}return false},processUIEvent:function(h){var i=this,k=h.getTarget(i.getItemSelector(),i.getTargetEl()),a=this.statics().EventMap,g,c,j=h.type,d=i.mouseOverItem,b;if(!k){if(j=="mouseover"&&i.stillOverItem(h,d)){k=d}if(j=="keydown"){c=i.getSelectionModel().getLastSelected();if(c){k=i.getNode(c)}}}if(k){g=i.indexOf(k);if(!c){c=i.getRecord(k)}if(i.processItemEvent(c,k,g,h)===false){return false}b=i.isNewItemEvent(k,h);if(b===false){return false}if((i["onBeforeItem"+a[b]](c,k,g,h)===false)||(i.fireEvent("beforeitem"+b,i,c,k,g,h)===false)||(i["onItem"+a[b]](c,k,g,h)===false)){return false}i.fireEvent("item"+b,i,c,k,g,h)}else{if((i.processContainerEvent(h)===false)||(i["onBeforeContainer"+a[j]](h)===false)||(i.fireEvent("beforecontainer"+j,i,h)===false)||(i["onContainer"+a[j]](h)===false)){return false}i.fireEvent("container"+j,i,h)}return true},isNewItemEvent:function(d,g){var c=this,a=c.mouseOverItem,b=g.type;switch(b){case"mouseover":if(d===a){return false}c.mouseOverItem=d;return"mouseenter";case"mouseout":if(c.stillOverItem(g,a)){return false}c.mouseOverItem=null;return"mouseleave"}return b},onItemMouseEnter:function(a,c,b,d){if(this.trackOver){this.highlightItem(c)}},onItemMouseLeave:function(a,c,b,d){if(this.trackOver){this.clearHighlight()}},onItemMouseDown:Ext.emptyFn,onItemMouseUp:Ext.emptyFn,onItemFocus:Ext.emptyFn,onItemClick:Ext.emptyFn,onItemDblClick:Ext.emptyFn,onItemContextMenu:Ext.emptyFn,onItemKeyDown:Ext.emptyFn,onBeforeItemMouseDown:Ext.emptyFn,onBeforeItemMouseUp:Ext.emptyFn,onBeforeItemFocus:Ext.emptyFn,onBeforeItemMouseEnter:Ext.emptyFn,onBeforeItemMouseLeave:Ext.emptyFn,onBeforeItemClick:Ext.emptyFn,onBeforeItemDblClick:Ext.emptyFn,onBeforeItemContextMenu:Ext.emptyFn,onBeforeItemKeyDown:Ext.emptyFn,onContainerMouseDown:Ext.emptyFn,onContainerMouseUp:Ext.emptyFn,onContainerMouseOver:Ext.emptyFn,onContainerMouseOut:Ext.emptyFn,onContainerClick:Ext.emptyFn,onContainerDblClick:Ext.emptyFn,onContainerContextMenu:Ext.emptyFn,onContainerKeyDown:Ext.emptyFn,onBeforeContainerMouseDown:Ext.emptyFn,onBeforeContainerMouseUp:Ext.emptyFn,onBeforeContainerMouseOver:Ext.emptyFn,onBeforeContainerMouseOut:Ext.emptyFn,onBeforeContainerClick:Ext.emptyFn,onBeforeContainerDblClick:Ext.emptyFn,onBeforeContainerContextMenu:Ext.emptyFn,onBeforeContainerKeyDown:Ext.emptyFn,highlightItem:function(b){var a=this;a.clearHighlight();a.highlightedItem=b;Ext.fly(b).addCls(a.overItemCls)},clearHighlight:function(){var b=this,a=b.highlightedItem;if(a){Ext.fly(a).removeCls(b.overItemCls);delete b.highlightedItem}},refresh:function(){var a=this;a.clearHighlight();a.callParent(arguments);if(!a.isFixedHeight()){a.doComponentLayout()}}});Ext.define("Ext.layout.component.BoundList",{extend:"Ext.layout.component.Component",alias:"layout.boundlist",type:"component",beforeLayout:function(){return this.callParent(arguments)||this.owner.refreshed>0},onLayout:function(b,q){var k=this,c=k.owner,i=c.floating,d=c.el,s=d.getXY(),r=Ext.isNumber,a,n,p,m,h,l,g,j,e;if(i){d.setXY([-9999,-9999])}k.setTargetSize(b,q);if(!r(b)){a=c.minWidth;n=c.maxWidth;if(r(a)||r(n)){h=d.getWidth();if(hn){g=n}}if(g){k.setTargetSize(g)}}}if(!r(q)){p=c.minHeight;m=c.maxHeight;if(r(p)||r(m)){l=d.getHeight();if(lm){j=m}}if(j){k.setTargetSize(e,j)}}}if(i){d.setXY(s)}},afterLayout:function(){var b=this,a=b.owner.pagingToolbar;b.callParent();if(a){a.doComponentLayout()}},setTargetSize:function(d,b){var g=this,a=g.owner,c=null,e;if(Ext.isNumber(b)){c=b-a.el.getFrameWidth("tb");e=a.pagingToolbar;if(e){c-=e.getHeight()}}g.setElementSize(a.listEl,null,c);g.callParent(arguments)}});Ext.define("Ext.toolbar.TextItem",{extend:"Ext.toolbar.Item",requires:["Ext.XTemplate"],alias:"widget.tbtext",alternateClassName:"Ext.Toolbar.TextItem",text:"",renderTpl:"{text}",baseCls:Ext.baseCSSPrefix+"toolbar-text",onRender:function(){Ext.apply(this.renderData,{text:this.text});this.callParent(arguments)},setText:function(a){if(this.rendered){this.el.update(a);this.ownerCt.doLayout()}else{this.text=a}}});Ext.define("Ext.form.field.Trigger",{extend:"Ext.form.field.Text",alias:["widget.triggerfield","widget.trigger"],requires:["Ext.core.DomHelper","Ext.util.ClickRepeater","Ext.layout.component.field.Trigger"],alternateClassName:["Ext.form.TriggerField","Ext.form.TwinTriggerField","Ext.form.Trigger"],fieldSubTpl:['name="{name}" ','size="{size}" ','tabIndex="{tabIdx}" ','class="{fieldCls} {typeCls}" autocomplete="off" />','",{compiled:true,disableFormats:true}],triggerBaseCls:Ext.baseCSSPrefix+"form-trigger",triggerWrapCls:Ext.baseCSSPrefix+"form-trigger-wrap",hideTrigger:false,editable:true,readOnly:false,repeatTriggerClick:false,autoSize:Ext.emptyFn,monitorTab:true,mimicing:false,triggerIndexRe:/trigger-index-(\d+)/,componentLayout:"triggerfield",initComponent:function(){this.wrapFocusCls=this.triggerWrapCls+"-focus";this.callParent(arguments)},onRender:function(d,a){var e=this,j,g=e.triggerBaseCls,h=e.triggerWrapCls,b=[],c;if(!e.trigger1Cls){e.trigger1Cls=e.triggerCls}for(c=0;(j=e["trigger"+(c+1)+"Cls"])||c<1;c++){b.push({cls:[Ext.baseCSSPrefix+"trigger-index-"+c,g,j].join(" "),role:"button"})}b[c-1].cls+=" "+g+"-last";Ext.applyIf(e.renderSelectors,{triggerWrap:"."+h});Ext.applyIf(e.subTplData,{triggerWrapCls:h,triggerEl:Ext.core.DomHelper.markup(b),clearCls:e.clearCls});e.callParent(arguments);e.triggerEl=Ext.select("."+g,true,e.triggerWrap.dom);e.doc=Ext.isIE?Ext.getBody():Ext.getDoc();e.initTrigger()},onEnable:function(){this.callParent();this.triggerWrap.unmask()},onDisable:function(){this.callParent();this.triggerWrap.mask()},afterRender:function(){this.callParent();this.updateEditState()},updateEditState:function(){var c=this,e=c.inputEl,a=c.triggerWrap,d=Ext.baseCSSPrefix+"trigger-noedit",b,g;if(c.rendered){if(c.readOnly){e.addCls(d);g=true;b=false}else{if(c.editable){e.removeCls(d);g=false}else{e.addCls(d);g=true}b=!c.hideTrigger}a.setDisplayed(b);e.dom.readOnly=g;c.doComponentLayout()}},getTriggerWidth:function(){var c=this,b=c.triggerWrap,a=0;if(b&&!c.hideTrigger&&!c.readOnly){c.triggerEl.each(function(d){a+=d.getWidth()});a+=c.triggerWrap.getFrameWidth("lr")}return a},setHideTrigger:function(a){if(a!=this.hideTrigger){this.hideTrigger=a;this.updateEditState()}},setEditable:function(a){if(a!=this.editable){this.editable=a;this.updateEditState()}},setReadOnly:function(a){if(a!=this.readOnly){this.readOnly=a;this.updateEditState()}},initTrigger:function(){var c=this,a=c.triggerWrap,b=c.triggerEl;if(c.repeatTriggerClick){c.triggerRepeater=Ext.create("Ext.util.ClickRepeater",a,{preventDefault:true,handler:function(d,g){c.onTriggerWrapClick(g)}})}else{c.mon(c.triggerWrap,"click",c.onTriggerWrapClick,c)}b.addClsOnOver(c.triggerBaseCls+"-over");b.each(function(e,g,d){e.addClsOnOver(c["trigger"+(d+1)+"Cls"]+"-over")});b.addClsOnClick(c.triggerBaseCls+"-click");b.each(function(e,g,d){e.addClsOnClick(c["trigger"+(d+1)+"Cls"]+"-click")})},onDestroy:function(){var a=this;Ext.destroyMembers(a,"triggerRepeater","triggerWrap","triggerEl");delete a.doc;a.callParent()},onFocus:function(){var a=this;this.callParent();if(!a.mimicing){a.bodyEl.addCls(a.wrapFocusCls);a.mimicing=true;a.mon(a.doc,"mousedown",a.mimicBlur,a,{delay:10});if(a.monitorTab){a.on("specialkey",a.checkTab,a)}}},checkTab:function(a,b){if(!this.ignoreMonitorTab&&b.getKey()==b.TAB){this.triggerBlur()}},onBlur:Ext.emptyFn,mimicBlur:function(a){if(!this.isDestroyed&&!this.bodyEl.contains(a.target)&&this.validateBlur(a)){this.triggerBlur()}},triggerBlur:function(){var a=this;a.mimicing=false;a.mun(a.doc,"mousedown",a.mimicBlur,a);if(a.monitorTab&&a.inputEl){a.un("specialkey",a.checkTab,a)}Ext.form.field.Trigger.superclass.onBlur.call(a);if(a.bodyEl){a.bodyEl.removeCls(a.wrapFocusCls)}},beforeBlur:Ext.emptyFn,validateBlur:function(a){return true},onTriggerWrapClick:function(h){var g=this,d=h&&h.getTarget("."+Ext.baseCSSPrefix+"form-trigger",null),c=d&&d.className.match(g.triggerIndexRe),a,b;if(c&&!g.readOnly){a=parseInt(c[1],10);b=g["onTrigger"+(a+1)+"Click"]||g.onTriggerClick;if(b){b.call(g,h)}}},onTriggerClick:Ext.emptyFn});Ext.define("Ext.form.field.Picker",{extend:"Ext.form.field.Trigger",alias:"widget.pickerfield",alternateClassName:"Ext.form.Picker",requires:["Ext.util.KeyNav"],matchFieldWidth:true,pickerAlign:"tl-bl?",openCls:Ext.baseCSSPrefix+"pickerfield-open",editable:true,initComponent:function(){this.callParent();this.addEvents("expand","collapse","select")},initEvents:function(){var a=this;a.callParent();a.keyNav=Ext.create("Ext.util.KeyNav",a.inputEl,{down:function(){if(!a.isExpanded){a.onTriggerClick()}},esc:a.collapse,scope:a,forceKeyDown:true});if(!a.editable){a.mon(a.inputEl,"click",a.onTriggerClick,a)}if(Ext.isGecko){a.inputEl.dom.setAttribute("autocomplete","off")}},expand:function(){var c=this,a,b,d;if(c.rendered&&!c.isExpanded&&!c.isDestroyed){a=c.bodyEl;b=c.getPicker();d=c.collapseIf;b.show();c.isExpanded=true;c.alignPicker();a.addCls(c.openCls);c.mon(Ext.getDoc(),{mousewheel:d,mousedown:d,scope:c});Ext.EventManager.onWindowResize(c.alignPicker,c);c.fireEvent("expand",c);c.onExpand()}},onExpand:Ext.emptyFn,alignPicker:function(){var d=this,c,b,a="-above";if(this.isExpanded){c=d.getPicker();if(d.matchFieldWidth){c.setSize(d.bodyEl.getWidth(),c.store&&c.store.getCount()?null:0)}if(c.isFloating()){c.alignTo(d.inputEl,d.pickerAlign,d.pickerOffset);b=c.el.getY()0){a.spinUp()}else{if(c<0){a.spinDown()}}b.stopEvent()}},onDestroy:function(){Ext.destroyMembers(this,"spinnerKeyNav","spinUpEl","spinDownEl");this.callParent()}});Ext.define("Ext.form.field.Number",{extend:"Ext.form.field.Spinner",alias:"widget.numberfield",alternateClassName:["Ext.form.NumberField","Ext.form.Number"],allowDecimals:true,decimalSeparator:".",decimalPrecision:2,minValue:Number.NEGATIVE_INFINITY,maxValue:Number.MAX_VALUE,step:1,minText:"The minimum value for this field is {0}",maxText:"The maximum value for this field is {0}",nanText:"{0} is not a valid number",negativeText:"The value cannot be negative",baseChars:"0123456789",autoStripChars:false,initComponent:function(){var a=this,b;a.callParent();a.setMinValue(a.minValue);a.setMaxValue(a.maxValue);if(a.disableKeyFilter!==true){b=a.baseChars+"";if(a.allowDecimals){b+=a.decimalSeparator}if(a.minValue<0){b+="-"}b=Ext.String.escapeRegex(b);a.maskRe=new RegExp("["+b+"]");if(a.autoStripChars){a.stripCharsRe=new RegExp("[^"+b+"]","gi")}}},getErrors:function(c){var b=this,e=b.callParent(arguments),d=Ext.String.format,a;c=Ext.isDefined(c)?c:this.processRawValue(this.getRawValue());if(c.length<1){return e}c=String(c).replace(b.decimalSeparator,".");if(isNaN(c)){e.push(d(b.nanText,c))}a=b.parseValue(c);if(b.minValue===0&&a<0){e.push(this.negativeText)}else{if(ab.maxValue){e.push(d(b.maxText,b.maxValue))}return e},rawToValue:function(b){var a=this.fixPrecision(this.parseValue(b));if(a===null){a=b||null}return a},valueToRaw:function(c){var b=this,a=b.decimalSeparator;c=b.parseValue(c);c=b.fixPrecision(c);c=Ext.isNumber(c)?c:parseFloat(String(c).replace(a,"."));c=isNaN(c)?"":String(c).replace(".",a);return c},onChange:function(){var b=this,c=b.getValue(),a=c===null;b.callParent(arguments);b.setSpinUpEnabled(a||cb.minValue)},setMinValue:function(a){this.minValue=Ext.Number.from(a,Number.NEGATIVE_INFINITY)},setMaxValue:function(a){this.maxValue=Ext.Number.from(a,Number.MAX_VALUE)},parseValue:function(a){a=parseFloat(String(a).replace(this.decimalSeparator,"."));return isNaN(a)?null:a},fixPrecision:function(d){var c=this,b=isNaN(d),a=c.decimalPrecision;if(b||!d){return b?"":d}else{if(!c.allowDecimals||a<=0){a=0}}return parseFloat(Ext.Number.toFixed(parseFloat(d),a))},beforeBlur:function(){var b=this,a=b.parseValue(b.getRawValue());if(!Ext.isEmpty(a)){b.setValue(a)}},onSpinUp:function(){var a=this;if(!a.readOnly){a.setValue(Ext.Number.constrain(a.getValue()+a.step,a.minValue,a.maxValue))}},onSpinDown:function(){var a=this;if(!a.readOnly){a.setValue(Ext.Number.constrain(a.getValue()-a.step,a.minValue,a.maxValue))}}});Ext.define("Ext.toolbar.Paging",{extend:"Ext.toolbar.Toolbar",alias:"widget.pagingtoolbar",alternateClassName:"Ext.PagingToolbar",requires:["Ext.toolbar.TextItem","Ext.form.field.Number"],displayInfo:false,prependButtons:false,displayMsg:"Displaying {0} - {1} of {2}",emptyMsg:"No data to display",beforePageText:"Page",afterPageText:"of {0}",firstText:"First Page",prevText:"Previous Page",nextText:"Next Page",lastText:"Last Page",refreshText:"Refresh",inputItemWidth:30,getPagingItems:function(){var a=this;return[{itemId:"first",tooltip:a.firstText,overflowText:a.firstText,iconCls:Ext.baseCSSPrefix+"tbar-page-first",disabled:true,handler:a.moveFirst,scope:a},{itemId:"prev",tooltip:a.prevText,overflowText:a.prevText,iconCls:Ext.baseCSSPrefix+"tbar-page-prev",disabled:true,handler:a.movePrevious,scope:a},"-",a.beforePageText,{xtype:"numberfield",itemId:"inputItem",name:"inputItem",cls:Ext.baseCSSPrefix+"tbar-page-number",allowDecimals:false,minValue:1,hideTrigger:true,enableKeyEvents:true,selectOnFocus:true,submitValue:false,width:a.inputItemWidth,margins:"-1 2 3 2",listeners:{scope:a,keydown:a.onPagingKeyDown,blur:a.onPagingBlur}},{xtype:"tbtext",itemId:"afterTextItem",text:Ext.String.format(a.afterPageText,1)},"-",{itemId:"next",tooltip:a.nextText,overflowText:a.nextText,iconCls:Ext.baseCSSPrefix+"tbar-page-next",disabled:true,handler:a.moveNext,scope:a},{itemId:"last",tooltip:a.lastText,overflowText:a.lastText,iconCls:Ext.baseCSSPrefix+"tbar-page-last",disabled:true,handler:a.moveLast,scope:a},"-",{itemId:"refresh",tooltip:a.refreshText,overflowText:a.refreshText,iconCls:Ext.baseCSSPrefix+"tbar-loading",handler:a.doRefresh,scope:a}]},initComponent:function(){var b=this,c=b.getPagingItems(),a=b.items||b.buttons||[];if(b.prependButtons){b.items=a.concat(c)}else{b.items=c.concat(a)}delete b.buttons;if(b.displayInfo){b.items.push("->");b.items.push({xtype:"tbtext",itemId:"displayItem"})}b.callParent();b.addEvents("change","beforechange");b.on("afterlayout",b.onLoad,b,{single:true});b.bindStore(b.store,true)},updateInfo:function(){var e=this,c=e.child("#displayItem"),a=e.store,b=e.getPageData(),d,g;if(c){d=a.getCount();if(d===0){g=e.emptyMsg}else{g=Ext.String.format(e.displayMsg,b.fromRecord,b.toRecord,b.total)}c.setText(g);e.doComponentLayout()}},onLoad:function(){var e=this,d,b,c,a;if(!e.rendered){return}d=e.getPageData();b=d.currentPage;c=d.pageCount;a=Ext.String.format(e.afterPageText,isNaN(c)?1:c);e.child("#afterTextItem").setText(a);e.child("#inputItem").setValue(b);e.child("#first").setDisabled(b===1);e.child("#prev").setDisabled(b===1);e.child("#next").setDisabled(b===c);e.child("#last").setDisabled(b===c);e.child("#refresh").enable();e.updateInfo();e.fireEvent("change",e,d)},getPageData:function(){var b=this.store,a=b.getTotalCount();return{total:a,currentPage:b.currentPage,pageCount:Math.ceil(a/b.pageSize),fromRecord:((b.currentPage-1)*b.pageSize)+1,toRecord:Math.min(b.currentPage*b.pageSize,a)}},onLoadError:function(){if(!this.rendered){return}this.child("#refresh").enable()},readPageFromInput:function(b){var a=this.child("#inputItem").getValue(),c=parseInt(a,10);if(!a||isNaN(c)){this.child("#inputItem").setValue(b.currentPage);return false}return c},onPagingFocus:function(){this.child("#inputItem").select()},onPagingBlur:function(b){var a=this.getPageData().currentPage;this.child("#inputItem").setValue(a)},onPagingKeyDown:function(i,h){var d=this,b=h.getKey(),c=d.getPageData(),a=h.shiftKey?10:1,g;if(b==h.RETURN){h.stopEvent();g=d.readPageFromInput(c);if(g!==false){g=Math.min(Math.max(1,g),c.pageCount);if(d.fireEvent("beforechange",d,g)!==false){d.store.loadPage(g)}}}else{if(b==h.HOME||b==h.END){h.stopEvent();g=b==h.HOME?1:c.pageCount;i.setValue(g)}else{if(b==h.UP||b==h.PAGEUP||b==h.DOWN||b==h.PAGEDOWN){h.stopEvent();g=d.readPageFromInput(c);if(g){if(b==h.DOWN||b==h.PAGEDOWN){a*=-1}g+=a;if(g>=1&&g<=c.pages){i.setValue(g)}}}}}},beforeLoad:function(){if(this.rendered&&this.refresh){this.refresh.disable()}},doLoad:function(a){if(this.fireEvent("beforechange",this,o)!==false){this.store.load()}},moveFirst:function(){if(this.fireEvent("beforechange",this,1)!==false){this.store.loadPage(1)}},movePrevious:function(){var b=this,a=b.store.currentPage-1;if(a>0){if(b.fireEvent("beforechange",b,a)!==false){b.store.previousPage()}}},moveNext:function(){var c=this,b=c.getPageData().pageCount,a=c.store.currentPage+1;if(a<=b){if(c.fireEvent("beforechange",c,a)!==false){c.store.nextPage()}}},moveLast:function(){var b=this,a=b.getPageData().pageCount;if(b.fireEvent("beforechange",b,a)!==false){b.store.loadPage(a)}},doRefresh:function(){var a=this,b=a.store.currentPage;if(a.fireEvent("beforechange",a,b)!==false){a.store.loadPage(b)}},bindStore:function(a,b){var c=this;if(!b&&c.store){if(a!==c.store&&c.store.autoDestroy){c.store.destroy()}else{c.store.un("beforeload",c.beforeLoad,c);c.store.un("load",c.onLoad,c);c.store.un("exception",c.onLoadError,c)}if(!a){c.store=null}}if(a){a=Ext.data.StoreManager.lookup(a);a.on({scope:c,beforeload:c.beforeLoad,load:c.onLoad,exception:c.onLoadError})}c.store=a},unbind:function(a){this.bindStore(null)},bind:function(a){this.bindStore(a)},onDestroy:function(){this.bindStore(null);this.callParent()}});Ext.define("Ext.view.BoundList",{extend:"Ext.view.View",alias:"widget.boundlist",alternateClassName:"Ext.BoundList",requires:["Ext.layout.component.BoundList","Ext.toolbar.Paging"],pageSize:0,autoScroll:true,baseCls:Ext.baseCSSPrefix+"boundlist",listItemCls:"",shadow:false,trackOver:true,refreshed:0,ariaRole:"listbox",componentLayout:"boundlist",renderTpl:['
'],initComponent:function(){var b=this,a=b.baseCls,c=a+"-item";b.itemCls=c;b.selectedItemCls=a+"-selected";b.overItemCls=a+"-item-over";b.itemSelector="."+c;if(b.floating){b.addCls(a+"-floating")}if(!b.tpl){b.tpl=Ext.create("Ext.XTemplate",'
    ','
  • '+b.getInnerTpl(b.displayField)+"
  • ","
")}else{if(Ext.isString(b.tpl)){b.tpl=Ext.create("Ext.XTemplate",b.tpl)}}if(b.pageSize){b.pagingToolbar=b.createPagingToolbar()}b.callParent();Ext.applyIf(b.renderSelectors,{listEl:".list-ct"})},createPagingToolbar:function(){return Ext.widget("pagingtoolbar",{pageSize:this.pageSize,store:this.store,border:false})},onRender:function(){var b=this,a=b.pagingToolbar;b.callParent(arguments);if(a){a.render(b.el)}},bindStore:function(a,b){var d=this,c=d.pagingToolbar;d.callParent(arguments);if(c){c.bindStore(a,b)}},getTargetEl:function(){return this.listEl||this.el},getInnerTpl:function(a){return"{"+a+"}"},refresh:function(){var a=this;a.callParent();if(a.isVisible()){a.refreshed++;a.doComponentLayout();a.refreshed--}},initAria:function(){this.callParent();var a=this.getSelectionModel(),c=a.getSelectionMode(),b=this.getActionEl();if(c!=="SINGLE"){b.dom.setAttribute("aria-multiselectable",true)}},onDestroy:function(){Ext.destroyMembers(this,"pagingToolbar","listEl");this.callParent()}});Ext.define("Ext.view.BoundListKeyNav",{extend:"Ext.util.KeyNav",requires:"Ext.view.BoundList",constructor:function(b,a){var c=this;c.boundList=a.boundList;c.callParent([b,Ext.apply({},a,c.defaultHandlers)])},defaultHandlers:{up:function(){var e=this,b=e.boundList,d=b.all,g=b.highlightedItem,c=g?b.indexOf(g):-1,a=c>0?c-1:d.getCount()-1;e.highlightAt(a)},down:function(){var e=this,b=e.boundList,d=b.all,g=b.highlightedItem,c=g?b.indexOf(g):-1,a=c{[typeof values === "string" ? values : values.'+e.displayField+']}'+e.delimiter+"")}else{if(Ext.isString(e.displayTpl)){e.displayTpl=Ext.create("Ext.XTemplate",e.displayTpl)}}e.callParent();e.doQueryTask=Ext.create("Ext.util.DelayedTask",e.doRawQuery,e);if(e.store.getCount()>0){e.setValue(e.value)}if(a){e.render(a.parentNode,a);Ext.removeNode(a);delete e.renderTo}},beforeBlur:function(){var a=this;a.doQueryTask.cancel();if(a.forceSelection){a.assertValue()}else{a.collapse()}},assertValue:function(){var a=this,b=a.getRawValue(),c;if(a.multiSelect){if(b!==a.getDisplayValue()){a.setValue(a.lastSelection)}}else{c=a.findRecordByDisplay(b);if(c){a.select(c)}else{a.setValue(a.lastSelection)}}a.collapse()},onTypeAhead:function(){var e=this,d=e.displayField,b=e.store.findRecord(d,e.getRawValue()),c=e.getPicker(),g,a,h;if(b){g=b.get(d);a=g.length;h=e.getRawValue().length;c.highlightItem(c.getNode(b));if(h!==0&&h!==a){e.setRawValue(g);e.selectText(h,g.length)}}},resetToDefault:function(){},bindStore:function(a,b){var c=this,d=c.store;if(d&&!b){if(d!==a&&d.autoDestroy){d.destroy()}else{d.un({scope:c,load:c.onLoad,exception:c.collapse})}if(!a){c.store=null;if(c.picker){c.picker.bindStore(null)}}}if(a){if(!b){c.resetToDefault()}c.store=Ext.data.StoreManager.lookup(a);c.store.on({scope:c,load:c.onLoad,exception:c.collapse});if(c.picker){c.picker.bindStore(a)}}},onLoad:function(){var a=this,b=a.value;a.syncSelection();if(a.picker&&!a.picker.getSelectionModel().hasSelection()){a.doAutoSelect()}},doRawQuery:function(){this.doQuery(this.getRawValue())},doQuery:function(g,c){g=g||"";var d=this,b={query:g,forceAll:c,combo:d,cancel:false},a=d.store,e=d.queryMode==="local";if(d.fireEvent("beforequery",b)===false||b.cancel){return false}g=b.query;c=b.forceAll;if(c||(g.length>=d.minChars)){d.expand();if(!d.queryCaching||d.lastQuery!==g){d.lastQuery=g;if(e){if(c){a.clearFilter()}else{a.clearFilter(true);a.filter(d.displayField,g)}}else{a.load({params:d.getParams(g)})}}if(d.getRawValue()!==d.getDisplayValue()){d.ignoreSelection++;d.picker.getSelectionModel().deselectAll();d.ignoreSelection--}if(e){d.doAutoSelect()}if(d.typeAhead){d.doTypeAhead()}}return true},getParams:function(d){var b={},a=this.pageSize,c=this.queryParam;if(c){b[c]=d}if(a){b.start=0;b.limit=a}return b},doAutoSelect:function(){var b=this,a=b.picker,c,d;if(a&&b.autoSelect&&b.store.getCount()>0){c=a.getSelectionModel().lastSelected;d=a.getNode(c||0);if(d){a.highlightItem(d);a.listEl.scrollChildIntoView(d,false)}}},doTypeAhead:function(){if(!this.typeAheadTask){this.typeAheadTask=Ext.create("Ext.util.DelayedTask",this.onTypeAhead,this)}if(this.lastKey!=Ext.EventObject.BACKSPACE&&this.lastKey!=Ext.EventObject.DELETE){this.typeAheadTask.delay(this.typeAheadDelay)}},onTriggerClick:function(){var a=this;if(!a.readOnly&&!a.disabled){if(a.isExpanded){a.collapse()}else{a.onFocus({});if(a.triggerAction==="all"){a.doQuery(a.allQuery,true)}else{a.doQuery(a.getRawValue())}}a.inputEl.focus()}},onKeyUp:function(d,b){var c=this,a=d.getKey();if(!c.readOnly&&!c.disabled&&c.editable){c.lastKey=a;if(!d.isSpecialKey()||a==d.BACKSPACE||a==d.DELETE){c.doQueryTask.delay(c.queryDelay)}}if(c.enableKeyEvents){c.callParent(arguments)}},initEvents:function(){var a=this;a.callParent();if(!a.enableKeyEvents){a.mon(a.inputEl,"keyup",a.onKeyUp,a)}},createPicker:function(){var c=this,a,d=Ext.baseCSSPrefix+"menu",b=Ext.apply({selModel:{mode:c.multiSelect?"SIMPLE":"SINGLE"},floating:true,hidden:true,ownerCt:c.ownerCt,cls:c.el.up("."+d)?d:"",store:c.store,displayField:c.displayField,focusOnToFront:false,pageSize:c.pageSize,tpl:c.tpl},c.listConfig,c.defaultListConfig);a=c.picker=Ext.create("Ext.view.BoundList",b);c.mon(a,{itemclick:c.onItemClick,refresh:c.onListRefresh,scope:c});c.mon(a.getSelectionModel(),"selectionchange",c.onListSelectionChange,c);return a},onListRefresh:function(){this.alignPicker();this.syncSelection()},onItemClick:function(d,a){var g=this,b=g.lastSelection,c=g.valueField,e;if(!g.multiSelect&&b){e=b[0];if(e&&(a.get(c)===e.get(c))){g.collapse()}}},onListSelectionChange:function(b,d){var a=this,e=a.multiSelect,c=d.length>0;if(!a.ignoreSelection&&a.isExpanded){if(!e){Ext.defer(a.collapse,1,a)}if(e||c){a.setValue(d,false)}if(c){a.fireEvent("select",a,d)}a.inputEl.focus()}},onExpand:function(){var d=this,a=d.listKeyNav,c=d.selectOnTab,b=d.getPicker();if(a){a.enable()}else{a=d.listKeyNav=Ext.create("Ext.view.BoundListKeyNav",this.inputEl,{boundList:b,forceKeyDown:true,tab:function(g){if(c){this.selectHighlighted(g);d.triggerBlur()}return true}})}if(c){d.ignoreMonitorTab=true}Ext.defer(a.enable,1,a);d.inputEl.focus()},onCollapse:function(){var b=this,a=b.listKeyNav;if(a){a.disable();b.ignoreMonitorTab=false}},select:function(a){this.setValue(a,true)},findRecord:function(d,c){var b=this.store,a=b.findExact(d,c);return a!==-1?b.getAt(a):false},findRecordByValue:function(a){return this.findRecord(this.valueField,a)},findRecordByDisplay:function(a){return this.findRecord(this.displayField,a)},setValue:function(l,e){var k=this,c=k.valueNotFoundText,m=k.inputEl,g,j,h,b=[],a=[],d=[];if(k.store.loading){k.value=l;return k}l=Ext.Array.from(l);for(g=0,j=l.length;g=0){c.push(g)}});d.ignoreSelection++;a=b.getSelectionModel();a.deselectAll();if(c.length){a.select(c)}d.ignoreSelection--}}});Ext.define("Ext.picker.Month",{extend:"Ext.Component",requires:["Ext.XTemplate","Ext.util.ClickRepeater","Ext.Date","Ext.button.Button"],alias:"widget.monthpicker",alternateClassName:"Ext.MonthPicker",renderTpl:['
','
','','',"","
",'
','
','','',"
",'','',"","
","
",'
','','
',"
"],okText:"OK",cancelText:"Cancel",baseCls:Ext.baseCSSPrefix+"monthpicker",showButtons:true,width:178,smallCls:Ext.baseCSSPrefix+"monthpicker-small",totalYears:10,yearOffset:5,monthOffset:6,initComponent:function(){var a=this;a.selectedCls=a.baseCls+"-selected";a.addEvents("cancelclick","monthclick","monthdblclick","okclick","select","yearclick","yeardblclick");if(a.small){a.addCls(a.smallCls)}a.setValue(a.value);a.activeYear=a.getYear(new Date().getFullYear()-4,-4);this.callParent()},onRender:function(e,c){var h=this,d=0,b=[],a=Ext.Date.getShortMonthName,g=h.monthOffset;for(;de+c.yearOffset)){c.activeYear=b-c.yearOffset+1}}c.updateBody()}return c},getValue:function(){return this.value},hasSelection:function(){var a=this.value;return a[0]!==null&&a[1]!==null},getYears:function(){var d=this,e=d.yearOffset,g=d.activeYear,a=g+e,c=g,b=[];for(;c','",'','','','',"","",'','',"{#:this.isEndOfWeek}",'","","","",'','',"","",{firstInitial:function(a){return a.substr(0,1)},isEndOfWeek:function(b){b--;var a=b%7===0&&b!==0;return a?'':""},longDay:function(a){return Ext.Date.format(a,this.longDayFormat)}}],ariaTitle:"Date Picker",todayText:"Today",todayTip:"{0} (Spacebar)",minText:"This date is before the minimum date",maxText:"This date is after the maximum date",disabledDaysText:"Disabled",disabledDatesText:"Disabled",nextText:"Next Month (Control+Right)",prevText:"Previous Month (Control+Left)",monthYearText:"Choose a month (Control+Up/Down to move years)",startDay:0,showToday:true,disableAnim:true,baseCls:Ext.baseCSSPrefix+"datepicker",longDayFormat:"F d, Y",focusOnShow:false,focusOnSelect:true,width:178,initHour:12,numDays:42,initComponent:function(){var b=this,a=Ext.Date.clearTime;b.selectedCls=b.baseCls+"-selected";b.disabledCellCls=b.baseCls+"-disabled";b.prevCls=b.baseCls+"-prevday";b.activeCls=b.baseCls+"-active";b.nextCls=b.baseCls+"-prevday";b.todayCls=b.baseCls+"-today";b.dayNames=b.dayNames.slice(b.startDay).concat(b.dayNames.slice(0,b.startDay));this.callParent();b.value=b.value?a(b.value,true):a(new Date());b.addEvents("select");b.initDisabledDays()},onRender:function(b,a){var d=this,e=new Array(d.numDays),c=Ext.Date.format(new Date(),d.format);Ext.applyIf(d,{renderData:{},renderSelectors:{}});Ext.apply(d.renderData,{dayNames:d.dayNames,ariaTitle:d.ariaTitle,value:d.value,showToday:d.showToday,prevText:d.prevText,nextText:d.nextText,days:e});d.getTpl("renderTpl").longDayFormat=d.longDayFormat;Ext.apply(d.renderSelectors,{eventEl:"table."+d.baseCls+"-inner",prevEl:"."+d.baseCls+"-prev a",nextEl:"."+d.baseCls+"-next a",middleBtnEl:"."+d.baseCls+"-month",footerEl:"."+d.baseCls+"-footer"});this.callParent(arguments);d.el.unselectable();d.cells=d.eventEl.select("tbody td");d.textNodes=d.eventEl.query("tbody td span");d.monthBtn=Ext.create("Ext.button.Split",{text:"",tooltip:d.monthYearText,renderTo:d.middleBtnEl});d.todayBtn=Ext.create("Ext.button.Button",{renderTo:d.footerEl,text:Ext.String.format(d.todayText,c),tooltip:Ext.String.format(d.todayTip,c),handler:d.selectToday,scope:d})},initEvents:function(){var c=this,a=Ext.Date,b=a.DAY;this.callParent();c.prevRepeater=Ext.create("Ext.util.ClickRepeater",c.prevEl,{handler:c.showPrevMonth,scope:c,preventDefault:true,stopDefault:true});c.nextRepeater=Ext.create("Ext.util.ClickRepeater",c.nextEl,{handler:c.showNextMonth,scope:c,preventDefault:true,stopDefault:true});c.keyNav=Ext.create("Ext.util.KeyNav",c.eventEl,Ext.apply({scope:c,left:function(d){if(d.ctrlKey){c.showPrevMonth()}else{c.update(a.add(c.activeDate,b,-1))}},right:function(d){if(d.ctrlKey){c.showNextMonth()}else{c.update(a.add(c.activeDate,b,1))}},up:function(d){if(d.ctrlKey){c.showNextYear()}else{c.update(a.add(c.activeDate,b,-7))}},down:function(d){if(d.ctrlKey){c.showPrevYear()}else{c.update(a.add(c.activeDate,b,7))}},pageUp:c.showNextMonth,pageDown:c.showPrevMonth,enter:function(d){d.stopPropagation();return true}},c.keyNavConfig));if(c.showToday){c.todayKeyListener=c.eventEl.addKeyListener(Ext.EventObject.SPACE,c.selectToday,c)}c.mon(c.eventEl,"mousewheel",c.handleMouseWheel,c);c.mon(c.eventEl,"click",c.handleDateClick,c,{delegate:"a."+c.baseCls+"-date"});c.mon(c.monthBtn,"click",c.showMonthPicker,c);c.mon(c.monthBtn,"arrowclick",c.showMonthPicker,c);c.update(c.value)},initDisabledDays:function(){var d=this,b=d.disabledDates,c="(?:",a;if(!d.disabledDatesRE&&b){a=b.length-1;Ext.each(b,function(g,e){c+=Ext.isDate(g)?"^"+Ext.String.escapeRegex(Ext.Date.dateFormat(g,d.format))+"$":b[e];if(e!=a){c+="|"}},d);d.disabledDatesRE=new RegExp(c+")")}},setDisabledDates:function(a){var b=this;if(Ext.isArray(a)){b.disabledDates=a;b.disabledDatesRE=null}else{b.disabledDatesRE=a}b.initDisabledDays();b.update(b.value,true);return b},setDisabledDays:function(a){this.disabledDays=a;return this.update(this.value,true)},setMinDate:function(a){this.minDate=a;return this.update(this.value,true)},setMaxDate:function(a){this.maxDate=a;return this.update(this.value,true)},setValue:function(a){this.value=Ext.Date.clearTime(a,true);return this.update(this.value)},getValue:function(){return this.value},focus:function(){this.update(this.activeDate)},onEnable:function(){this.callParent();this.setDisabledStatus(false);this.update(this.activeDate)},onDisable:function(){this.callParent();this.setDisabledStatus(true)},setDisabledStatus:function(a){var b=this;b.keyNav.setDisabled(a);b.prevRepeater.setDisabled(a);b.nextRepeater.setDisabled(a);if(b.showToday){b.todayKeyListener.setDisabled(a);b.todayBtn.setDisabled(a)}},getActive:function(){return this.activeDate||me.value},runAnimation:function(b){var a={target:this.monthPicker,duration:200};Ext.fx.Manager.run();if(b){}else{}Ext.create("Ext.fx.Anim",a)},hideMonthPicker:function(){var b=this,a=b.monthPicker;if(a){if(b.disableAnim){a.hide()}else{this.runAnimation(true)}}return b},showMonthPicker:function(){var c=this,a,b,e,d;if(c.rendered&&!c.disabled){b=c.getSize();a=c.createMonthPicker();a.show();a.setSize(b);a.setValue(c.getActive());if(c.disableAnim){a.setPosition(-1,-1)}else{c.runAnimation(false)}}return c},createMonthPicker:function(){var b=this,a=b.monthPicker;if(!a){b.monthPicker=a=Ext.create("Ext.picker.Month",{renderTo:b.el,floating:true,shadow:false,small:b.showToday===false,listeners:{scope:b,cancelclick:b.onCancelClick,okclick:b.onOkClick,yeardblclick:b.onOkClick,monthdblclick:b.onOkClick}});b.on("beforehide",b.hideMonthPicker,b)}return a},onOkClick:function(b,e){var d=this,g=e[0],c=e[1],a=new Date(c,g,d.getActive().getDate());if(a.getMonth()!==g){a=new Date(c,g,1).getLastDateOfMonth()}d.update(a);d.hideMonthPicker()},onCancelClick:function(){this.hideMonthPicker()},showPrevMonth:function(a){return this.update(Ext.Date.add(this.activeDate,Ext.Date.MONTH,-1))},showNextMonth:function(a){return this.update(Ext.Date.add(this.activeDate,Ext.Date.MONTH,1))},showPrevYear:function(){this.update(Ext.Date.add(this.activeDate,Ext.Date.YEAR,-1))},showNextYear:function(){this.update(Ext.Date.add(this.activeDate,Ext.Date.YEAR,1))},handleMouseWheel:function(a){a.stopEvent();if(!this.disabled){var b=a.getWheelDelta();if(b>0){this.showPrevMonth()}else{if(b<0){this.showNextMonth()}}}},handleDateClick:function(d,a){var c=this,b=c.handler;d.stopEvent();if(!c.disabled&&a.dateValue&&!Ext.fly(a.parentNode).hasCls(c.disabledCellCls)){c.cancelFocus=c.focusOnSelect===false;c.setValue(new Date(a.dateValue));delete c.cancelFocus;c.fireEvent("select",c,c.value);if(b){b.call(c.scope||c,c,c.value)}c.onSelect()}},onSelect:function(){if(this.hideOnSelect){this.hide()}},selectToday:function(){var c=this,a=c.todayBtn,b=c.handler;if(a&&!a.disabled){c.setValue(Ext.Date.clearTime(new Date()));c.fireEvent("select",c,c.value);if(b){b.call(c.scope||c,c,c.value)}c.onSelect()}return c},selectedUpdate:function(c,g){var e=this,d=c.getTime(),b=e.cells,a=e.selectedCls;b.removeCls(a);b.each(function(h){if(h.dom.firstChild.dateValue==d){e.el.dom.setAttribute("aria-activedescendent",h.dom.id);h.addCls(a);if(e.isVisible()&&!e.cancelFocus){Ext.fly(h.dom.firstChild).focus(50)}return false}},this)},fullUpdate:function(D,m){var G=this,g=G.cells.elements,d=G.textNodes,I=G.disabledCellCls,p=Ext.Date,y=0,F=0,e=G.isVisible(),w=+p.clearTime(D,true),B=+p.clearTime(new Date()),v=G.minDate?p.clearTime(G.minDate,true):Number.NEGATIVE_INFINITY,x=G.maxDate?p.clearTime(G.maxDate,true):Number.POSITIVE_INFINITY,E=G.disabledDatesRE,u=G.disabledDatesText,J=G.disabledDays?G.disabledDays.join(""):false,C=G.disabledDaysText,z=G.format,l=p.getDaysInMonth(D),r=p.getFirstDateOfMonth(D),h=r.getDay()-G.startDay,A=p.add(D,p.MONTH,-1),b=G.longDayFormat,k,s,a,H,n,q,c,j,t;if(h<0){h+=7}l+=h;k=p.getDaysInMonth(A)-h;s=new Date(A.getFullYear(),A.getMonth(),k,G.initHour);if(G.showToday){H=p.clearTime(new Date());a=(Hx||(E&&z&&E.test(p.dateFormat(H,z)))||(J&&J.indexOf(H.getDay())!=-1));if(!G.disabled){G.todayBtn.setDisabled(a);G.todayKeyListener.setDisabled(a)}}n=function(i){t=+p.clearTime(s,true);i.title=p.format(s,b);i.firstChild.dateValue=t;if(t==B){i.className+=" "+G.todayCls;i.title=G.todayText}if(t==w){i.className+=" "+G.selectedCls;G.el.dom.setAttribute("aria-activedescendant",i.id);if(e&&G.floating){Ext.fly(i.firstChild).focus(50)}}if(tx){i.className=I;i.title=G.maxText;return}if(J){if(J.indexOf(s.getDay())!=-1){i.title=C;i.className=I}}if(E&&z){j=p.dateFormat(s,z);if(E.test(j)){i.title=u.replace("%0",j);i.className=I}}};for(;y=l){q=(++F);c=G.nextCls}else{q=y-h+1;c=G.activeCls}}d[y].innerHTML=q;g[y].className=c;s.setDate(s.getDate()+1);n(g[y])}G.monthBtn.setText(G.monthNames[D.getMonth()]+" "+D.getFullYear())},update:function(a,d){var b=this,c=b.activeDate;if(b.rendered){b.activeDate=a;if(!d&&c&&b.el&&c.getMonth()==a.getMonth()&&c.getFullYear()==a.getFullYear()){b.selectedUpdate(a,c)}else{b.fullUpdate(a,c)}}return b},beforeDestroy:function(){var a=this;if(a.rendered){Ext.destroy(a.todayKeyListener,a.keyNav,a.monthPicker,a.monthBtn,a.nextRepeater,a.prevRepeater,a.todayBtn);delete a.textNodes;delete a.cells.elements}},onShow:function(){this.callParent(arguments);if(this.focusOnShow){this.focus()}}},function(){var a=this.prototype;a.monthNames=Ext.Date.monthNames;a.dayNames=Ext.Date.dayNames;a.format=Ext.Date.defaultFormat});Ext.define("Ext.form.field.Date",{extend:"Ext.form.field.Picker",alias:"widget.datefield",requires:["Ext.picker.Date"],alternateClassName:["Ext.form.DateField","Ext.form.Date"],format:"m/d/Y",altFormats:"m/d/Y|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d|n-j|n/j",disabledDaysText:"Disabled",disabledDatesText:"Disabled",minText:"The date in this field must be equal to or after {0}",maxText:"The date in this field must be equal to or before {0}",invalidText:"{0} is not a valid date - it must be in the format {1}",triggerCls:Ext.baseCSSPrefix+"form-date-trigger",showToday:true,initTime:"12",initTimeFormat:"H",matchFieldWidth:false,startDay:0,initComponent:function(){var d=this,b=Ext.isString,c,a;c=d.minValue;a=d.maxValue;if(b(c)){d.minValue=d.parseDate(c)}if(b(a)){d.maxValue=d.parseDate(a)}d.disabledDatesRE=null;d.initDisabledDays();d.callParent()},initValue:function(){var a=this,b=a.value;if(Ext.isString(b)){a.value=a.rawToValue(b)}a.callParent()},initDisabledDays:function(){if(this.disabledDates){var b=this.disabledDates,a=b.length-1,c="(?:";Ext.each(b,function(g,e){c+=Ext.isDate(g)?"^"+Ext.String.escapeRegex(g.dateFormat(this.format))+"$":b[e];if(e!==a){c+="|"}},this);this.disabledDatesRE=new RegExp(c+")")}},setDisabledDates:function(a){var c=this,b=c.picker;c.disabledDates=a;c.initDisabledDays();if(b){b.setDisabledDates(c.disabledDatesRE)}},setDisabledDays:function(a){var b=this.picker;this.disabledDays=a;if(b){b.setDisabledDays(a)}},setMinValue:function(c){var b=this,a=b.picker,d=(Ext.isString(c)?b.parseDate(c):c);b.minValue=d;if(a){a.minText=Ext.String.format(b.minText,b.formatDate(b.minValue));a.setMinDate(d)}},setMaxValue:function(c){var b=this,a=b.picker,d=(Ext.isString(c)?b.parseDate(c):c);b.maxValue=d;if(a){a.maxText=Ext.String.format(b.maxText,b.formatDate(b.maxValue));a.setMaxDate(d)}},getErrors:function(r){var j=this,q=Ext.String.format,k=Ext.Date.clearTime,p=j.callParent(arguments),n=j.disabledDays,d=j.disabledDatesRE,m=j.minValue,h=j.maxValue,g=n?n.length:0,e=0,a,b,l,c;r=j.formatDate(r||j.processRawValue(j.getRawValue()));if(r===null||r.length<1){return p}a=r;r=j.parseDate(r);if(!r){p.push(q(j.invalidText,a,j.format));return p}c=r.getTime();if(m&&ck(h).getTime()){p.push(q(j.maxText,j.formatDate(h)))}if(n){l=r.getDay();for(;e',{compiled:true,disableFormats:true}],fieldCls:Ext.baseCSSPrefix+"form-display-field",htmlEncode:false,validateOnChange:false,initEvents:Ext.emptyFn,submitValue:false,isValid:function(){return true},validate:function(){return true},getRawValue:function(){return this.rawValue},setRawValue:function(b){var a=this;b=Ext.value(b,"");a.rawValue=b;if(a.rendered){a.inputEl.dom.innerHTML=a.htmlEncode?Ext.util.Format.htmlEncode(b):b}return b},getContentTarget:function(){return this.inputEl}});Ext.define("Ext.form.field.File",{extend:"Ext.form.field.Text",alias:["widget.filefield","widget.fileuploadfield"],alternateClassName:["Ext.form.FileUploadField","Ext.ux.form.FileUploadField","Ext.form.File"],uses:["Ext.button.Button","Ext.layout.component.field.File"],buttonText:"Browse...",buttonOnly:false,buttonMargin:3,fieldBodyCls:Ext.baseCSSPrefix+"form-file-wrap",readOnly:true,componentLayout:"filefield",onRender:function(){var a=this,b;a.callParent(arguments);a.createButton();a.createFileInput();if(a.disabled){a.disableItems()}b=a.inputEl;b.dom.removeAttribute("name");if(a.buttonOnly){b.setDisplayed(false)}},createButton:function(){var a=this;a.button=Ext.widget("button",Ext.apply({renderTo:a.bodyEl,text:a.buttonText,cls:Ext.baseCSSPrefix+"form-file-btn",preventDefault:false,style:a.buttonOnly?"":"margin-left:"+a.buttonMargin+"px"},a.buttonConfig))},createFileInput:function(){var a=this;a.fileInputEl=a.button.el.createChild({name:a.getName(),cls:Ext.baseCSSPrefix+"form-file-input",tag:"input",type:"file",size:1}).on("change",a.onFileChange,a)},onFileChange:function(){this.lastValue=null;Ext.form.field.File.superclass.setValue.call(this,this.fileInputEl.dom.value)},setValue:Ext.emptyFn,reset:function(){this.fileInputEl.remove();this.createFileInput();this.callParent()},onDisable:function(){this.callParent();this.disableItems()},disableItems:function(){var b=this.fileInputEl,a=this.button;if(b){b.dom.disabled=true}if(a){a.disable()}},onEnable:function(){var a=this;a.callParent();a.fileInputEl.dom.disabled=false;a.button.enable()},isFileUpload:function(){return true},extractFileInput:function(){var a=this.fileInputEl.dom;this.reset();return a},onDestroy:function(){Ext.destroyMembers(this,"fileInputEl","button");this.callParent()}});Ext.define("Ext.form.field.Hidden",{extend:"Ext.form.field.Base",alias:["widget.hiddenfield","widget.hidden"],alternateClassName:"Ext.form.Hidden",inputType:"hidden",hideLabel:true,initComponent:function(){this.formItemCls+="-hidden";this.callParent()},initEvents:Ext.emptyFn,setSize:Ext.emptyFn,setWidth:Ext.emptyFn,setHeight:Ext.emptyFn,setPosition:Ext.emptyFn,setPagePosition:Ext.emptyFn,markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn});Ext.define("Ext.picker.Color",{extend:"Ext.Component",requires:"Ext.XTemplate",alias:"widget.colorpicker",alternateClassName:"Ext.ColorPalette",componentCls:Ext.baseCSSPrefix+"color-picker",selectedCls:Ext.baseCSSPrefix+"color-picker-selected",value:null,clickEvent:"click",allowReselect:false,colors:["000000","993300","333300","003300","003366","000080","333399","333333","800000","FF6600","808000","008000","008080","0000FF","666699","808080","FF0000","FF9900","99CC00","339966","33CCCC","3366FF","800080","969696","FF00FF","FFCC00","FFFF00","00FF00","00FFFF","00CCFF","993366","C0C0C0","FF99CC","FFCC99","FFFF99","CCFFCC","CCFFFF","99CCFF","CC99FF","FFFFFF"],colorRe:/(?:^|\s)color-(.{6})(?:\s|$)/,constructor:function(){this.renderTpl=Ext.create("Ext.XTemplate",' ');this.callParent(arguments)},initComponent:function(){var a=this;this.callParent(arguments);a.addEvents("select");if(a.handler){a.on("select",a.handler,a.scope,true)}},onRender:function(c,b){var d=this,a=d.clickEvent;Ext.apply(d.renderData,{itemCls:d.itemCls,colors:d.colors});this.callParent(arguments);d.mon(d.el,a,d.handleClick,d,{delegate:"a"});if(a!="click"){d.mon(d.el,"click",Ext.emptyFn,d,{delegate:"a",stopEvent:true})}},afterRender:function(){var a=this,b;this.callParent(arguments);if(a.value){b=a.value;a.value=null;a.select(b,true)}},handleClick:function(c,d){var b=this,a;c.stopEvent();if(!b.disabled){a=d.className.match(b.colorRe)[1];b.select(a.toUpperCase())}},select:function(b,a){var d=this,g=d.selectedCls,e=d.value,c;b=b.replace("#","");if(!d.rendered){d.value=b;return}if(b!=e||d.allowReselect){c=d.el;if(d.value){c.down("a.color-"+e).removeCls(g)}c.down("a.color-"+b).addCls(g);d.value=b;if(a!==true){d.fireEvent("select",d,b)}}},getValue:function(){return this.value||null}});Ext.define("Ext.layout.component.field.HtmlEditor",{extend:"Ext.layout.component.field.Field",alias:["layout.htmleditor"],type:"htmleditor",sizeBodyContents:function(a,i){var e=this,b=e.owner,j=b.bodyEl,g=b.getToolbar(),h=b.textareaEl,c=b.iframeEl,d;if(Ext.isNumber(a)){a-=j.getFrameWidth("lr")}g.setWidth(a);h.setWidth(a);c.setWidth(a);if(Ext.isNumber(i)){d=i-g.getHeight()-j.getFrameWidth("tb");h.setHeight(d);c.setHeight(d)}}});Ext.define("Ext.form.field.HtmlEditor",{extend:"Ext.Component",mixins:{labelable:"Ext.form.Labelable",field:"Ext.form.field.Field"},alias:"widget.htmleditor",alternateClassName:"Ext.form.HtmlEditor",requires:["Ext.tip.QuickTipManager","Ext.picker.Color","Ext.toolbar.Item","Ext.toolbar.Toolbar","Ext.util.Format","Ext.layout.component.field.HtmlEditor"],fieldSubTpl:['
','','',{compiled:true,disableFormats:true}],enableFormat:true,enableFontSize:true,enableColors:true,enableAlignments:true,enableLists:true,enableSourceEdit:true,enableLinks:true,enableFont:true,createLinkText:"Please enter the URL for the link:",defaultLinkValue:"http://",fontFamilies:["Arial","Courier New","Tahoma","Times New Roman","Verdana"],defaultFont:"tahoma",defaultValue:(Ext.isOpera||Ext.isIE6)?" ":"​",fieldBodyCls:Ext.baseCSSPrefix+"html-editor-wrap",componentLayout:"htmleditor",initialized:false,activated:false,sourceEditMode:false,iframePad:3,hideMode:"offsets",maskOnDisable:true,initComponent:function(){var a=this;a.addEvents("initialize","activate","beforesync","beforepush","sync","push","editmodechange");a.callParent(arguments);a.initLabelable();a.initField()},createToolbar:function(e){var h=this,g=[],j=Ext.tip.QuickTipManager&&Ext.tip.QuickTipManager.isEnabled(),d=Ext.baseCSSPrefix,c,i,b;function a(m,k,l){return{itemId:m,cls:d+"btn-icon",iconCls:d+"edit-"+m,enableToggle:k!==false,scope:e,handler:l||e.relayBtnCmd,clickEvent:"mousedown",tooltip:j?e.buttonTips[m]||b:b,overflowText:e.buttonTips[m].title||b,tabIndex:-1}}if(h.enableFont&&!Ext.isSafari2){c=Ext.widget("component",{renderTpl:['"],renderData:{cls:d+"font-select",fonts:h.fontFamilies,defaultFont:h.defaultFont},renderSelectors:{selectEl:"select"},onDisable:function(){var k=this.selectEl;if(k){k.dom.disabled=true}Ext.Component.superclass.onDisable.apply(this,arguments)},onEnable:function(){var k=this.selectEl;if(k){k.dom.disabled=false}Ext.Component.superclass.onEnable.apply(this,arguments)}});g.push(c,"-")}if(h.enableFormat){g.push(a("bold"),a("italic"),a("underline"))}if(h.enableFontSize){g.push("-",a("increasefontsize",false,h.adjustFont),a("decreasefontsize",false,h.adjustFont))}if(h.enableColors){g.push("-",{itemId:"forecolor",cls:d+"btn-icon",iconCls:d+"edit-forecolor",overflowText:e.buttonTips.forecolor.title,tooltip:j?e.buttonTips.forecolor||b:b,tabIndex:-1,menu:Ext.widget("menu",{plain:true,items:[{xtype:"colorpicker",allowReselect:true,focus:Ext.emptyFn,value:"000000",plain:true,clickEvent:"mousedown",handler:function(l,k){h.execCmd("forecolor",Ext.isWebKit||Ext.isIE?"#"+k:k);h.deferFocus();this.up("menu").hide()}}]})},{itemId:"backcolor",cls:d+"btn-icon",iconCls:d+"edit-backcolor",overflowText:e.buttonTips.backcolor.title,tooltip:j?e.buttonTips.backcolor||b:b,tabIndex:-1,menu:Ext.widget("menu",{plain:true,items:[{xtype:"colorpicker",focus:Ext.emptyFn,value:"FFFFFF",plain:true,allowReselect:true,clickEvent:"mousedown",handler:function(l,k){if(Ext.isGecko){h.execCmd("useCSS",false);h.execCmd("hilitecolor",k);h.execCmd("useCSS",true);h.deferFocus()}else{h.execCmd(Ext.isOpera?"hilitecolor":"backcolor",Ext.isWebKit||Ext.isIE?"#"+k:k);h.deferFocus()}this.up("menu").hide()}}]})})}if(h.enableAlignments){g.push("-",a("justifyleft"),a("justifycenter"),a("justifyright"))}if(!Ext.isSafari2){if(h.enableLinks){g.push("-",a("createlink",false,h.createLink))}if(h.enableLists){g.push("-",a("insertorderedlist"),a("insertunorderedlist"))}if(h.enableSourceEdit){g.push("-",a("sourceedit",true,function(k){h.toggleSourceEdit(!h.sourceEditMode)}))}}i=Ext.widget("toolbar",{renderTo:h.toolbarWrap,enableOverflow:true,items:g});if(c){h.fontSelect=c.selectEl;h.mon(h.fontSelect,"change",function(){h.relayCmd("fontname",h.fontSelect.dom.value);h.deferFocus()})}h.mon(i.el,"click",function(k){k.preventDefault()});h.toolbar=i},onDisable:function(){this.bodyEl.mask();this.callParent(arguments)},onEnable:function(){this.bodyEl.unmask();this.callParent(arguments)},setReadOnly:function(e){var d=this,c=d.textareaEl,b=d.iframeEl,a;d.readOnly=e;if(c){c.dom.readOnly=e}if(d.initialized){a=d.getEditorBody();if(Ext.isIE){b.setDisplayed(false);a.contentEditable=!e;b.setDisplayed(true)}else{d.setDesignMode(!e)}if(a){a.style.cursor=e?"default":"text"}d.disableItems(e)}},getDocMarkup:function(){var b=this,a=b.iframeEl.getHeight()-b.iframePad*2;return Ext.String.format('',b.iframePad,a)},getEditorBody:function(){var a=this.getDoc();return a.body||a.documentElement},getDoc:function(){return(!Ext.isIE&&this.iframeEl.dom.contentDocument)||this.getWin().document},getWin:function(){return Ext.isIE?this.iframeEl.dom.contentWindow:window.frames[this.iframeEl.dom.name]},onRender:function(){var b=this,a=b.renderSelectors;Ext.applyIf(a,b.getLabelableSelectors());Ext.applyIf(a,{toolbarWrap:"div."+Ext.baseCSSPrefix+"html-editor-tb",iframeEl:"iframe",textareaEl:"textarea"});b.callParent(arguments);b.textareaEl.dom.value=b.value||"";b.monitorTask=Ext.TaskManager.start({run:b.checkDesignMode,scope:b,interval:100});b.createToolbar(b);b.disableItems(true)},initRenderTpl:function(){var a=this;if(!a.hasOwnProperty("renderTpl")){a.renderTpl=a.getTpl("labelableRenderTpl")}return a.callParent()},initRenderData:function(){return Ext.applyIf(this.callParent(),this.getLabelableRenderData())},getSubTplData:function(){var a=Ext.baseCSSPrefix;return{toolbarWrapCls:a+"html-editor-tb",textareaCls:a+"hidden",iframeName:Ext.id(),iframeSrc:Ext.SSL_SECURE_URL,size:"height:100px;"}},getSubTplMarkup:function(){return this.getTpl("fieldSubTpl").apply(this.getSubTplData())},getBodyNaturalWidth:function(){return 565},initFrameDoc:function(){var b=this,c,a;Ext.TaskManager.stop(b.monitorTask);c=b.getDoc();b.win=b.getWin();c.open();c.write(b.getDocMarkup());c.close();a={run:function(){var d=b.getDoc();if(d.body||d.readyState==="complete"){Ext.TaskManager.stop(a);b.setDesignMode(true);Ext.defer(b.initEditor,10,b)}},interval:10,duration:10000,scope:b};Ext.TaskManager.start(a)},checkDesignMode:function(){var a=this,b=a.getDoc();if(b&&(!b.editorInitialized||a.getDesignMode()!=="on")){a.initFrameDoc()}},setDesignMode:function(c){var a=this,b=a.getDoc();if(b){if(a.readOnly){c=false}b.designMode=(/on|true/i).test(String(c).toLowerCase())?"on":"off"}},getDesignMode:function(){var a=this.getDoc();return !a?"":String(a.designMode).toLowerCase()},disableItems:function(a){this.getToolbar().items.each(function(b){if(b.getItemId()!=="sourceedit"){b.setDisabled(a)}})},toggleSourceEdit:function(b){var g=this,d=g.iframeEl,a=g.textareaEl,e=Ext.baseCSSPrefix+"hidden",c=g.getToolbar().getComponent("sourceedit");if(!Ext.isBoolean(b)){b=!g.sourceEditMode}g.sourceEditMode=b;if(c.pressed!==b){c.toggle(b)}if(b){g.disableItems(true);g.syncValue();d.addCls(e);a.removeCls(e);a.dom.removeAttribute("tabIndex");a.focus()}else{if(g.initialized){g.disableItems(g.readOnly)}g.pushValue();d.removeCls(e);a.addCls(e);a.dom.setAttribute("tabIndex",-1);g.deferFocus()}g.fireEvent("editmodechange",g,b);g.doComponentLayout()},createLink:function(){var a=prompt(this.createLinkText,this.defaultLinkValue);if(a&&a!=="http://"){this.relayCmd("createlink",a)}},clearInvalid:Ext.emptyFn,setValue:function(c){var b=this,a=b.textareaEl;b.mixins.field.setValue.call(b,c);if(c===null||c===undefined){c=""}if(a){a.dom.value=c}b.pushValue();return this},cleanHtml:function(a){a=String(a);if(Ext.isWebKit){a=a.replace(/\sclass="(?:Apple-style-span|khtml-block-placeholder)"/gi,"")}if(a.charCodeAt(0)===this.defaultValue.replace(/\D/g,"")){a=a.substring(1)}return a},syncValue:function(){var e=this,b,d,a,c;if(e.initialized){b=e.getEditorBody();d=b.innerHTML;if(Ext.isWebKit){a=b.getAttribute("style");c=a.match(/text-align:(.*?);/i);if(c&&c[1]){d='
'+d+"
"}}d=e.cleanHtml(d);if(e.fireEvent("beforesync",e,d)!==false){e.textareaEl.dom.value=d;e.fireEvent("sync",e,d)}}},getValue:function(){var a=this,b;if(!a.sourceEditMode){a.syncValue()}b=a.rendered?a.textareaEl.dom.value:a.value;a.value=b;return b},pushValue:function(){var b=this,a;if(b.initialized){a=b.textareaEl.dom.value||"";if(!b.activated&&a.length<1){a=b.defaultValue}if(b.fireEvent("beforepush",b,a)!==false){b.getEditorBody().innerHTML=a;if(Ext.isGecko){b.setDesignMode(false);b.setDesignMode(true)}b.fireEvent("push",b,a)}}},deferFocus:function(){this.focus(false,true)},getFocusEl:function(){var a=this,b=a.win;return b&&!a.sourceEditMode?b:a.textareaEl},initEditor:function(){try{var g=this,d=g.getEditorBody(),b=g.textareaEl.getStyles("font-size","font-family","background-image","background-repeat","background-color","color"),i,c;b["background-attachment"]="fixed";d.bgProperties="fixed";Ext.core.DomHelper.applyStyles(d,b);i=g.getDoc();if(i){try{Ext.EventManager.removeAll(i)}catch(h){}}c=Ext.Function.bind(g.onEditorEvent,g);Ext.EventManager.on(i,{mousedown:c,dblclick:c,click:c,keyup:c,buffer:100});c=g.onRelayedEvent;Ext.EventManager.on(i,{mousedown:c,mousemove:c,mouseup:c,click:c,dblclick:c,scope:g});if(Ext.isGecko){Ext.EventManager.on(i,"keypress",g.applyCommand,g)}if(g.fixKeys){Ext.EventManager.on(i,"keydown",g.fixKeys,g)}Ext.EventManager.on(window,"unload",g.beforeDestroy,g);i.editorInitialized=true;g.initialized=true;g.pushValue();g.setReadOnly(g.readOnly);g.fireEvent("initialize",g)}catch(a){}},beforeDestroy:function(){var a=this,d=a.monitorTask,c,g;if(d){Ext.TaskManager.stop(d)}if(a.rendered){try{c=a.getDoc();if(c){Ext.EventManager.removeAll(c);for(g in c){if(c.hasOwnProperty(g)){delete c[g]}}}}catch(b){}Ext.destroyMembers("tb","toolbarWrap","iframeEl","textareaEl")}a.callParent()},onRelayedEvent:function(c){var b=this.iframeEl,d=b.getXY(),a=c.getXY();c.xy=[d[0]+a[0],d[1]+a[1]];c.injectEvent(b);c.xy=a},onFirstFocus:function(){var c=this,b,a;c.activated=true;c.disableItems(c.readOnly);if(Ext.isGecko){c.win.focus();b=c.win.getSelection();if(!b.focusNode||b.focusNode.nodeType!==3){a=b.getRangeAt(0);a.selectNodeContents(c.getEditorBody());a.collapse(true);c.deferFocus()}try{c.execCmd("useCSS",true);c.execCmd("styleWithCSS",false)}catch(d){}}c.fireEvent("activate",c)},adjustFont:function(d){var e=d.getItemId()==="increasefontsize"?1:-1,c=this.getDoc().queryCommandValue("FontSize")||"2",a=Ext.isString(c)&&c.indexOf("px")!==-1,b;c=parseInt(c,10);if(a){if(c<=10){c=1+e}else{if(c<=13){c=2+e}else{if(c<=16){c=3+e}else{if(c<=18){c=4+e}else{if(c<=24){c=5+e}else{c=6+e}}}}}c=Ext.Number.constrain(c,1,6)}else{b=Ext.isSafari;if(b){e*=2}c=Math.max(1,c+e)+(b?"px":0)}this.execCmd("FontSize",c)},onEditorEvent:function(a){this.updateToolbar()},updateToolbar:function(){var e=this,d,g,a,c;if(e.readOnly){return}if(!e.activated){e.onFirstFocus();return}d=e.getToolbar().items.map;g=e.getDoc();if(e.enableFont&&!Ext.isSafari2){a=(g.queryCommandValue("FontName")||e.defaultFont).toLowerCase();c=e.fontSelect.dom;if(a!==c.value){c.value=a}}function b(){Ext.Array.forEach(Ext.Array.toArray(arguments),function(h){d[h].toggle(g.queryCommandState(h))})}if(e.enableFormat){b("bold","italic","underline")}if(e.enableAlignments){b("justifyleft","justifycenter","justifyright")}if(!Ext.isSafari2&&e.enableLists){b("insertorderedlist","insertunorderedlist")}Ext.menu.Manager.hideAll();e.syncValue()},relayBtnCmd:function(a){this.relayCmd(a.getItemId())},relayCmd:function(b,a){Ext.defer(function(){var c=this;c.focus();c.execCmd(b,a);c.updateToolbar()},10,this)},execCmd:function(d,c){var b=this,e=b.getDoc(),a;e.execCommand(d,false,c===a?null:c);b.syncValue()},applyCommand:function(d){if(d.ctrlKey){var a=this,g=d.getCharCode(),b;if(g>0){g=String.fromCharCode(g);switch(g){case"b":b="bold";break;case"i":b="italic";break;case"u":b="underline";break}if(b){a.win.focus();a.execCmd(b);a.deferFocus();d.preventDefault()}}}},insertAtCursor:function(c){var b=this,a;if(b.activated){b.win.focus();if(Ext.isIE){a=b.getDoc().selection.createRange();if(a){a.pasteHTML(c);b.syncValue();b.deferFocus()}}else{b.execCmd("InsertHTML",c);b.deferFocus()}}},fixKeys:function(){if(Ext.isIE){return function(h){var c=this,b=h.getKey(),g=c.getDoc(),a,d;if(b===h.TAB){h.stopEvent();a=g.selection.createRange();if(a){a.collapse(true);a.pasteHTML("    ");c.deferFocus()}}else{if(b===h.ENTER){a=g.selection.createRange();if(a){d=a.parentElement();if(!d||d.tagName.toLowerCase()!=="li"){h.stopEvent();a.pasteHTML("
");a.collapse(false);a.select()}}}}}}if(Ext.isOpera){return function(b){var a=this;if(b.getKey()===b.TAB){b.stopEvent();a.win.focus();a.execCmd("InsertHTML","    ");a.deferFocus()}}}if(Ext.isWebKit){return function(c){var b=this,a=c.getKey();if(a===c.TAB){c.stopEvent();b.execCmd("InsertText","\t");b.deferFocus()}else{if(a===c.ENTER){c.stopEvent();b.execCmd("InsertHtml","

");b.deferFocus()}}}}return null}(),getToolbar:function(){return this.toolbar},buttonTips:{bold:{title:"Bold (Ctrl+B)",text:"Make the selected text bold.",cls:Ext.baseCSSPrefix+"html-editor-tip"},italic:{title:"Italic (Ctrl+I)",text:"Make the selected text italic.",cls:Ext.baseCSSPrefix+"html-editor-tip"},underline:{title:"Underline (Ctrl+U)",text:"Underline the selected text.",cls:Ext.baseCSSPrefix+"html-editor-tip"},increasefontsize:{title:"Grow Text",text:"Increase the font size.",cls:Ext.baseCSSPrefix+"html-editor-tip"},decreasefontsize:{title:"Shrink Text",text:"Decrease the font size.",cls:Ext.baseCSSPrefix+"html-editor-tip"},backcolor:{title:"Text Highlight Color",text:"Change the background color of the selected text.",cls:Ext.baseCSSPrefix+"html-editor-tip"},forecolor:{title:"Font Color",text:"Change the color of the selected text.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifyleft:{title:"Align Text Left",text:"Align text to the left.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifycenter:{title:"Center Text",text:"Center text in the editor.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifyright:{title:"Align Text Right",text:"Align text to the right.",cls:Ext.baseCSSPrefix+"html-editor-tip"},insertunorderedlist:{title:"Bullet List",text:"Start a bulleted list.",cls:Ext.baseCSSPrefix+"html-editor-tip"},insertorderedlist:{title:"Numbered List",text:"Start a numbered list.",cls:Ext.baseCSSPrefix+"html-editor-tip"},createlink:{title:"Hyperlink",text:"Make the selected text a hyperlink.",cls:Ext.baseCSSPrefix+"html-editor-tip"},sourceedit:{title:"Source Edit",text:"Switch to source editing mode.",cls:Ext.baseCSSPrefix+"html-editor-tip"}}});Ext.define("Ext.form.field.Radio",{extend:"Ext.form.field.Checkbox",alias:["widget.radiofield","widget.radio"],alternateClassName:"Ext.form.Radio",requires:["Ext.form.RadioManager"],isRadio:true,inputType:"radio",ariaRole:"radio",getGroupValue:function(){var a=this.getManager().getChecked(this.name);return a?a.inputValue:null},onBoxClick:function(b){var a=this;if(!a.disabled&&!a.readOnly){this.setValue(true)}},setValue:function(a){var b=this,c;if(Ext.isBoolean(a)){b.callParent(arguments)}else{c=b.getManager().getWithValue(b.name,a).getAt(0);if(c){c.setValue(true)}}return b},getSubmitValue:function(){return this.checked?this.inputValue:null},getModelData:function(){return this.getSubmitData()},onChange:function(b,a){var c=this;c.callParent(arguments);if(b){this.getManager().getByName(c.name).each(function(d){if(d!==c){d.setValue(false)}},c)}},beforeDestroy:function(){this.callParent();this.getManager().removeAtKey(this.id)},getManager:function(){return Ext.form.RadioManager}});Ext.define("Ext.picker.Time",{extend:"Ext.view.BoundList",alias:"widget.timepicker",requires:["Ext.data.Store","Ext.Date"],increment:15,format:"g:i A",displayField:"disp",initDate:[2008,1,1],componentCls:Ext.baseCSSPrefix+"timepicker",loadMask:false,initComponent:function(){var c=this,a=Ext.Date,b=a.clearTime,d=c.initDate.join("/");c.absMin=b(new Date(d));c.absMax=a.add(b(new Date(d)),"mi",(24*60)-1);c.store=c.createStore();c.updateList();this.callParent()},setMinValue:function(a){this.minValue=a;this.updateList()},setMaxValue:function(a){this.maxValue=a;this.updateList()},normalizeDate:function(a){var b=this.initDate;a.setFullYear(b[0],b[1]-1,b[2]);return a},updateList:function(){var c=this,b=c.normalizeDate(c.minValue||c.absMin),a=c.normalizeDate(c.maxValue||c.absMax);c.store.filterBy(function(d){var e=d.get("date");return e>=b&&e<=a})},createStore:function(){var d=this,c=Ext.Date,e=[],b=d.absMin,a=d.absMax;while(b<=a){e.push({disp:c.dateFormat(b,d.format),date:b});b=c.add(b,"mi",d.increment)}return Ext.create("Ext.data.Store",{fields:["disp","date"],data:e})}});Ext.define("Ext.form.field.Time",{extend:"Ext.form.field.Picker",alias:"widget.timefield",requires:["Ext.form.field.Date","Ext.picker.Time","Ext.view.BoundListKeyNav","Ext.Date"],alternateClassName:["Ext.form.TimeField","Ext.form.Time"],triggerCls:Ext.baseCSSPrefix+"form-time-trigger",minText:"The time in this field must be equal to or after {0}",maxText:"The time in this field must be equal to or before {0}",invalidText:"{0} is not a valid time",format:"g:i A",altFormats:"g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H|gi a|hi a|giA|hiA|gi A|hi A",increment:15,pickerMaxHeight:300,selectOnTab:true,initDate:"1/1/2008",initDateFormat:"j/n/Y",initComponent:function(){var c=this,b=c.minValue,a=c.maxValue;if(b){c.setMinValue(b)}if(a){c.setMaxValue(a)}this.callParent()},initValue:function(){var a=this,b=a.value;if(Ext.isString(b)){a.value=a.rawToValue(b)}a.callParent()},setMinValue:function(c){var b=this,a=b.picker;b.setLimit(c,true);if(a){a.setMinValue(b.minValue)}},setMaxValue:function(c){var b=this,a=b.picker;b.setLimit(c,false);if(a){a.setMaxValue(b.maxValue)}},setLimit:function(b,g){var a=this,e,c;if(Ext.isString(b)){e=a.parseDate(b)}else{if(Ext.isDate(b)){e=b}}if(e){c=Ext.Date.clearTime(new Date(a.initDate));c.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());a[g?"minValue":"maxValue"]=c}},rawToValue:function(a){return this.parseDate(a)||a||null},valueToRaw:function(a){return this.formatDate(this.parseDate(a))},getErrors:function(d){var b=this,g=Ext.String.format,h=b.callParent(arguments),c=b.minValue,e=b.maxValue,a;d=b.formatDate(d||b.processRawValue(b.getRawValue()));if(d===null||d.length<1){return h}a=b.parseDate(d);if(!a){h.push(g(b.invalidText,d,b.format));return h}if(c&&ae){h.push(g(b.maxText,b.formatDate(e)))}return h},formatDate:function(){return Ext.form.field.Date.prototype.formatDate.apply(this,arguments)},parseDate:function(e){if(!e||Ext.isDate(e)){return e}var d=this,h=d.safeParse(e,d.format),b=d.altFormats,g=d.altFormatsArray,c=0,a;if(!h&&b){g=g||b.split("|");a=g.length;for(;cm[h]){Ext.fly(j[h]).setHeight(b[h])}else{if(b[h]','
',""],initComponent:function(){var c=this,b=c.dock,a=Ext.baseCSSPrefix+"scroller-vertical",d="width";c.offsets={bottom:0};c.scrollProp="scrollTop";c.vertical=true;if(b==="top"||b==="bottom"){a=Ext.baseCSSPrefix+"scroller-horizontal";d="height";c.scrollProp="scrollLeft";c.vertical=false;c.weight+=5}c[d]=c.scrollerSize=Ext.getScrollbarSize()[d];c.cls+=(" "+a);Ext.applyIf(c.renderSelectors,{stretchEl:"."+Ext.baseCSSPrefix+"stretcher",scrollEl:"."+Ext.baseCSSPrefix+"scroller-ct"});c.callParent()},initRenderData:function(){var b=this,a=b.callParent(arguments)||{};a.baseId=b.id;return a},afterRender:function(){var a=this;a.callParent();a.mon(a.scrollEl,"scroll",a.onElScroll,a);Ext.cache[a.el.id].skipGarbageCollection=true},onAdded:function(a){this.ownerGrid=a;this.callParent(arguments)},getSizeCalculation:function(){var h=this,c=h.getPanel(),g=1,b=1,d,i;if(!h.vertical){var e=c.query("tableview"),a=e[1]||e[0];if(!a){return false}g=a.headerCt.getFullWidth();if(Ext.isIEQuirks){g--}}else{d=c.down("tableview:not([lockableInjected])");if(!d||!d.el){return false}i=d.el.child("table",true);if(!i){return false}b=i.offsetHeight}if(isNaN(g)){g=1}if(isNaN(b)){b=1}return{width:g,height:b}},invalidate:function(d){var g=this,e=g.stretchEl;if(!e||!g.ownerCt){return}var j=g.getSizeCalculation(),i=g.scrollEl,b=i.dom,c=g.reservedSpace,h,a=5;if(j){e.setSize(j);j=g.el.getSize(true);if(g.vertical){j.width+=a;j.height-=c;h="left"}else{j.width-=c;j.height+=a;h="top"}i.setSize(j);b.style[h]=(-a)+"px";b.scrollTop=b.scrollTop}},afterComponentLayout:function(){this.callParent(arguments);this.invalidate()},restoreScrollPos:function(){var c=this,b=this.scrollEl,a=b&&b.dom;if(c._scrollPos!==null&&a){a[c.scrollProp]=c._scrollPos;c._scrollPos=null}},setReservedSpace:function(b){var a=this;if(a.reservedSpace!==b){a.reservedSpace=b;a.invalidate()}},saveScrollPos:function(){var c=this,b=this.scrollEl,a=b&&b.dom;c._scrollPos=a?a[c.scrollProp]:null},setScrollTop:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return a.scrollTop=Ext.Number.constrain(c,0,a.scrollHeight-a.clientHeight)}},setScrollLeft:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return a.scrollLeft=Ext.Number.constrain(c,0,a.scrollWidth-a.clientWidth)}},scrollByDeltaY:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return this.setScrollTop(a.scrollTop+c)}},scrollByDeltaX:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return this.setScrollLeft(a.scrollLeft+c)}},scrollToTop:function(){this.setScrollTop(0)},onElScroll:function(a,b){this.fireEvent("bodyscroll",a,b)},getPanel:function(){var a=this;if(!a.panel){a.panel=this.up("[scrollerOwner]")}return a.panel}});Ext.define("Ext.grid.PagingScroller",{extend:"Ext.grid.Scroller",alias:"widget.paginggridscroller",percentageFromEdge:0.35,scrollToLoadBuffer:200,activePrefetch:true,chunkSize:50,snapIncrement:25,syncScroll:true,initComponent:function(){var a=this,b=a.store;b.on("guaranteedrange",this.onGuaranteedRange,this);this.callParent(arguments)},onGuaranteedRange:function(c,g,a){var d=this,e=d.store,b;if(c.length&&d.visibleStart=y){if(p>u-1){this.cancelLoad();if(h.rangeSatisfied(u-y,u-1)){z.syncScroll=true}h.guaranteeRange(u-y,u-1)}else{if(gv){if(h.rangeSatisfied(s,p)){this.cancelLoad();h.guaranteeRange(s,p)}else{h.mask();z.attemptLoad(s,p)}z.syncScroll=false}else{if(q&&g<(c+j)&&d>0){z.syncScroll=true;h.prefetchPage(d)}else{if(q&&a>(v-j)&&rl){return}for(;gg){b=1;if(c&&((j-e)j){b=2;if(h&&((g-l)0&&j)){n.stopEvent();q.scrollByDeltaX(i)}}if(k){if((h<0&&g)||(h>0&&l)){n.stopEvent();k.scrollByDeltaY(h)}}},onViewRefresh:function(){this.determineScrollbars();if(this.invalidateScrollerOnRefresh){this.invalidateScroller()}},setScrollTop:function(d){var c=this,b=c.getScrollerOwner(),a=c.getVerticalScroller();b.virtualScrollTop=d;if(a){a.setScrollTop(d)}},getScrollerOwner:function(){var a=this;if(!this.scrollerOwner){a=this.up("[scrollerOwner]")}return a},scrollByDeltaY:function(a){var b=this.getVerticalScroller();if(b){b.scrollByDeltaY(a)}},scrollByDeltaX:function(a){var b=this.getVerticalScroller();if(b){b.scrollByDeltaX(a)}},getLhsMarker:function(){var a=this;if(!a.lhsMarker){a.lhsMarker=Ext.core.DomHelper.append(a.el,{cls:Ext.baseCSSPrefix+"grid-resize-marker"},true)}return a.lhsMarker},getRhsMarker:function(){var a=this;if(!a.rhsMarker){a.rhsMarker=Ext.core.DomHelper.append(a.el,{cls:Ext.baseCSSPrefix+"grid-resize-marker"},true)}return a.rhsMarker},getSelectionModel:function(){if(!this.selModel){this.selModel={}}var b="SINGLE",a;if(this.simpleSelect){b="SIMPLE"}else{if(this.multiSelect){b="MULTI"}}Ext.applyIf(this.selModel,{allowDeselect:this.allowDeselect,mode:b});if(!this.selModel.events){a=this.selModel.selType||this.selType;this.selModel=Ext.create("selection."+a,this.selModel)}if(!this.selModel.hasRelaySetup){this.relayEvents(this.selModel,["selectionchange","beforeselect","beforedeselect","select","deselect"]);this.selModel.hasRelaySetup=true}if(this.disableSelection){this.selModel.locked=true}return this.selModel},onVerticalScroll:function(e,g){var b=this.getScrollerOwner(),c=b.query("tableview"),d=0,a=c.length;for(;d";a.callParent();a.mon(a.store,{load:a.onStoreLoad,scope:a})},onStoreLoad:function(){var a=this;if(a.invalidateScrollerOnRefresh){if(Ext.isGecko){if(!a.scrollToTopTask){a.scrollToTopTask=Ext.create("Ext.util.DelayedTask",a.scrollToTop,a)}a.scrollToTopTask.delay(1)}else{a.scrollToTop()}}},scrollToTop:Ext.emptyFn,addElListener:function(a,c,b){this.mon(this,a,c,b,{element:"el"})},getGridColumns:function(){return this.headerCt.getGridColumns()},getHeaderAtIndex:function(a){return this.headerCt.getHeaderAtIndex(a)},getCell:function(a,b){var c=this.getNode(a);return Ext.fly(c).down(b.getCellSelector())},getFeature:function(b){var a=this.featuresMC;if(a){return a.get(b)}},initFeatures:function(){var d=this,b=0,c,a;d.features=d.features||[];c=d.features;a=c.length;d.featuresMC=Ext.create("Ext.util.MixedCollection");for(;bd.bottom){h=i.bottom-d.bottom}}e=g.getRecord(j);b=g.store.indexOf(e);if(h){a.scrollByDeltaY(h)}g.fireEvent("rowfocus",e,j,b)}},focusCell:function(h){var j=this,k=j.getCellByPosition(h),b=j.el,d=0,e=0,c=b.getRegion(),a=j.ownerCt,i,g;if(k){i=k.getRegion();if(i.topc.bottom){d=i.bottom-c.bottom}}if(i.leftc.right){e=i.right-c.right}}if(d){a.scrollByDeltaY(d)}if(e){a.scrollByDeltaX(e)}b.focus();j.fireEvent("cellfocus",g,k,h)}},scrollByDelta:function(c,b){b=b||"scrollTop";var a=this.el.dom;a[b]=(a[b]+=c)},onUpdate:function(b,a){this.callParent(arguments)},saveScrollState:function(){var b=this.el.dom,a=this.scrollState;a.left=b.scrollLeft;a.top=b.scrollTop},restoreScrollState:function(){var b=this.el.dom,a=this.scrollState,c=this.headerCt.el.dom;c.scrollLeft=b.scrollLeft=a.left;b.scrollTop=a.top},refresh:function(){this.setNewTemplate();this.callParent(arguments)},processItemEvent:function(b,m,j,d){var h=this,k=d.getTarget(h.cellSelector,m),i=k?k.cellIndex:-1,a=h.statics().EventMap,c=h.getSelectionModel(),g=d.type,l;if(g=="keydown"&&!k&&c.getCurrentPosition){k=h.getCellByPosition(c.getCurrentPosition());if(k){k=k.dom;i=k.cellIndex}}l=h.fireEvent("uievent",g,h,k,j,i,d);if(l===false||h.callParent(arguments)===false){return false}if(g=="mouseover"||g=="mouseout"){return true}return !((h["onBeforeCell"+a[g]](k,i,b,m,j,d)===false)||(h.fireEvent("beforecell"+g,h,k,i,b,m,j,d)===false)||(h["onCell"+a[g]](k,i,b,m,j,d)===false)||(h.fireEvent("cell"+g,h,k,i,b,m,j,d)===false))},processSpecialEvent:function(k){var n=this,b=n.statics().EventMap,d=n.features,m=d.length,p=k.type,g,q,h,j,c,l,a=n.ownerCt;n.callParent(arguments);if(p=="mouseover"||p=="mouseout"){return}for(g=0;ge){e=b}}return e},getPositionByEvent:function(g){var d=this,b=g.getTarget(d.cellSelector),c=g.getTarget(d.itemSelector),a=d.getRecord(c),h=d.getHeaderByCell(b);return d.getPosition(a,h)},getHeaderByCell:function(b){if(b){var a=b.className.match(this.cellRe);if(a&&a[1]){return Ext.getCmp(a[1])}}return false},walkCells:function(l,m,h,n,a,p){var j=this,q=l.row,d=l.column,k=j.store.getCount(),g=j.getFirstVisibleColumnIndex(),b=j.getLastVisibleColumnIndex(),i={row:q,column:d},c=j.headerCt.getHeaderAtIndex(d);if(!c||c.hidden){return false}h=h||{};m=m.toLowerCase();switch(m){case"right":if(d===b){if(n||q===k-1){return false}if(!h.ctrlKey){i.row=q+1;i.column=g}}else{if(!h.ctrlKey){i.column=d+j.getRightGap(c)}else{i.column=b}}break;case"left":if(d===g){if(n||q===0){return false}if(!h.ctrlKey){i.row=q-1;i.column=b}}else{if(!h.ctrlKey){i.column=d+j.getLeftGap(c)}else{i.column=g}}break;case"up":if(q===0){return false}else{if(!h.ctrlKey){i.row=q-1}else{i.row=0}}break;case"down":if(q===k-1){return false}else{if(!h.ctrlKey){i.row=q+1}else{i.row=k-1}}break}if(a&&a.call(p||window,i)!==true){return false}else{return i}},getFirstVisibleColumnIndex:function(){var c=this.getHeaderCt(),a=c.getGridColumns(),d=Ext.ComponentQuery.query(":not([hidden])",a),b=d[0];return c.getHeaderIndex(b)},getLastVisibleColumnIndex:function(){var c=this.getHeaderCt(),a=c.getGridColumns(),d=Ext.ComponentQuery.query(":not([hidden])",a),b=d[d.length-1];return c.getHeaderIndex(b)},getHeaderCt:function(){return this.headerCt},getPosition:function(a,e){var d=this,b=d.store,c=d.headerCt.getGridColumns();return{row:b.indexOf(a),column:Ext.Array.indexOf(c,e)}},getRightGap:function(a){var g=this.getHeaderCt(),e=g.getGridColumns(),b=Ext.Array.indexOf(e,a),c=b+1,d;for(;c<=e.length;c++){if(!e[c].hidden){d=c;break}}return d-b},beforeDestroy:function(){if(this.rendered){this.el.removeAllListeners()}this.callParent(arguments)},getLeftGap:function(a){var g=this.getHeaderCt(),e=g.getGridColumns(),c=Ext.Array.indexOf(e,a),d=c-1,b;for(;d>=0;d--){if(!e[d].hidden){b=d;break}}return b-c}});Ext.define("Ext.grid.View",{extend:"Ext.view.Table",alias:"widget.gridview",stripeRows:true,invalidateScrollerOnRefresh:true,scrollToTop:function(){if(this.rendered){var b=this.ownerCt,a=b.verticalScroller;if(a){a.scrollToTop()}}},onAdd:function(c,a,b){this.callParent(arguments);this.doStripeRows(b)},onRemove:function(c,a,b){this.callParent(arguments);this.doStripeRows(b)},onUpdate:function(d,a,b){var c=d.indexOf(a);this.callParent(arguments);this.doStripeRows(c,c)},doStripeRows:function(b,a){if(this.stripeRows){var d=this.getNodes(b,a),g=d.length,c=0,e;for(;c=0){d.row=c.getNode(a);e.reposition();if(e.tooltip&&e.tooltip.isVisible()){e.tooltip.setTarget(d.row)}}else{e.editingPlugin.cancelEdit()}},onCtScroll:function(d,c){var a=this,b=c.scrollTop,g=c.scrollLeft;if(b!==a.lastScrollTop){a.lastScrollTop=b;if((a.tooltip&&a.tooltip.isVisible())||a.hiddenTip){a.repositionTip()}}if(g!==a.lastScrollLeft){a.lastScrollLeft=g;a.reposition()}},onColumnAdd:function(a){this.setField(a)},onColumnRemove:function(a){this.columns.remove(a)},onColumnResize:function(b,a){b.getEditor().setWidth(a-2);if(this.isVisible()){this.reposition()}},onColumnHide:function(a){a.getEditor().hide();if(this.isVisible()){this.reposition()}},onColumnShow:function(a){var b=a.getEditor();b.setWidth(a.getWidth()-2).show();if(this.isVisible()){this.reposition()}},onColumnMove:function(b,a,c){var d=b.getEditor();if(this.items.indexOf(d)!=c){this.move(a,c)}},onFieldAdd:function(e,a,b){var c=this,g=c.editingPlugin.grid.headerCt.getHeaderIndex(b),d=b.getEditor({xtype:"displayfield"});c.insert(g,d)},onFieldRemove:function(g,a,b){var c=this,e=b.getEditor(),d=e.el;c.remove(e,false);if(d){d.remove()}},onFieldReplace:function(e,a,c,b){var d=this;d.onFieldRemove(e,a,b)},clearFields:function(){var a=this,b=a.columns;b.each(function(c){b.removeAtKey(c)})},getFloatingButtons:function(){var d=this,e=Ext.baseCSSPrefix,c=e+"grid-row-editor-buttons",b=d.editingPlugin,a;if(!d.floatingButtons){a=d.floatingButtons=Ext.create("Ext.Container",{renderTpl:['
','
','
','
','
'],renderTo:d.el,baseCls:c,layout:{type:"hbox",align:"middle"},defaults:{margins:"0 1 0 1"},items:[{itemId:"update",flex:1,xtype:"button",handler:b.completeEdit,scope:b,text:d.saveBtnText,disabled:!d.isValid},{flex:1,xtype:"button",handler:b.cancelEdit,scope:b,text:d.cancelBtnText}]});d.mon(a.el,{mousedown:Ext.emptyFn,click:Ext.emptyFn,stopEvent:true})}return d.floatingButtons},reposition:function(s){var u=this,c=u.context,e=c&&Ext.get(c.row),q=u.getFloatingButtons(),r=q.el,a=u.editingPlugin.grid,g=a.view.el,t=a.verticalScroller,p=a.headerCt.getFullWidth(),v=a.getWidth(),l=Math.min(p,v),n=a.view.el.dom.scrollLeft,i=q.getWidth(),d=(l-i)/2+n,j,h,m,k=function(){if(t){t.invalidate();r.scrollIntoView(g,false)}if(s&&s.callback){s.callback.call(s.scope||u)}};if(e&&Ext.isElement(e.dom)){e.scrollIntoView(g,false);j=e.getXY()[1]-5;h=e.getHeight();m=h+10;if(Ext.isIE){m+=2}if(u.getHeight()!=m){u.setHeight(m);u.el.setLeft(0)}if(s){var b={to:{y:j},duration:s.duration||125,listeners:{afteranimate:function(){k();j=e.getXY()[1]-5;u.el.setY(j)}}};u.animate(b)}else{u.el.setY(j);k()}}if(u.getWidth()!=p){u.setWidth(p)}r.setLeft(d)},getEditor:function(a){var b=this;if(Ext.isNumber(a)){return b.query(">[isFormField]")[a]}else{if(a instanceof Ext.grid.column.Column){return a.getEditor()}}},removeField:function(b){var a=this;b=a.getEditor(b);a.mun(b,"validitychange",a.onValidityChange,a);a.columns.removeKey(b.id)},setField:function(a){var b=this,c;if(Ext.isArray(a)){Ext.Array.forEach(a,b.setField,b);return}c=a.getEditor(null,{xtype:"displayfield",getModelData:function(){return null}});c.margins="0 0 0 2";c.setWidth(a.getDesiredWidth()-2);b.mon(c,"change",b.onFieldChange,b);b.columns.add(c.id,a);if(b.isVisible()&&b.context){b.renderColumnData(c,b.context.record)}},loadRecord:function(a){var c=this,b=c.getForm();b.loadRecord(a);if(b.isValid()){c.hideToolTip()}else{c.showToolTip()}Ext.Array.forEach(c.query(">displayfield"),function(d){c.renderColumnData(d,a)},c)},renderColumnData:function(k,h){var i=this,a=i.editingPlugin.grid,d=a.headerCt,j=a.view,m=j.store,e=i.columns.get(k.id),l=h.get(e.dataIndex);if(e.renderer){var b={tdCls:"",style:""},c=m.indexOf(h),g=d.getHeaderIndex(e);l=e.renderer.call(e.scope||d.ownerCt,l,b,h,c,g,m,j)}k.setRawValue(l);k.resetOriginalValue()},beforeEdit:function(){var a=this;if(a.isVisible()&&!a.autoCancel&&a.isDirty()){a.showToolTip();return false}},startEdit:function(b,h){var g=this,e=g.editingPlugin.grid,a=e.getView(),c=e.store,d=g.context=Ext.apply(g.editingPlugin.context,{view:e.getView(),store:c});d.grid.getSelectionModel().select(b);g.loadRecord(b);if(!g.isVisible()){g.show();g.focusContextCell()}else{g.reposition({callback:this.focusContextCell})}},focusContextCell:function(){var a=this.getEditor(this.context.colIdx);if(a&&a.focus){a.focus()}},cancelEdit:function(){var b=this,a=b.getForm();b.hide();a.clearInvalid();a.reset()},completeEdit:function(){var b=this,a=b.getForm();if(!a.isValid()){return}a.updateRecord(b.context.record);b.hide();return true},onShow:function(){var a=this;a.callParent(arguments);a.reposition()},onHide:function(){var a=this;a.callParent(arguments);a.hideToolTip();a.invalidateScroller();if(a.context){a.context.view.focus();a.context=null}},isDirty:function(){var b=this,a=b.getForm();return a.isDirty()},getToolTip:function(){var a=this,b;if(!a.tooltip){b=a.tooltip=Ext.createWidget("tooltip",{cls:Ext.baseCSSPrefix+"grid-row-editor-errors",title:a.errorsText,autoHide:false,closable:true,closeAction:"disable",anchor:"left"})}return a.tooltip},hideToolTip:function(){var a=this,b=a.getToolTip();if(b.rendered){b.disable()}a.hiddenTip=false},showToolTip:function(){var c=this,d=c.getToolTip(),a=c.context,e=Ext.get(a.row),b=a.grid.view.el;d.setTarget(e);d.showAt([-10000,-10000]);d.body.update(c.getErrors());d.mouseOffset=[b.getWidth()-e.getWidth()+c.lastScrollLeft+15,0];c.repositionTip();d.doLayout();d.enable()},repositionTip:function(){var i=this,j=i.getToolTip(),c=i.context,l=Ext.get(c.row),k=c.grid.view.el,e=k.getHeight(),g=i.lastScrollTop,h=g+e,b=l.getHeight(),a=l.dom.offsetTop,d=a+b;if(d>g&&a":"",c=[];Ext.Array.forEach(a.query(">[isFormField]"),function(d){c=c.concat(Ext.Array.map(d.getErrors(),function(g){return"
  • "+g+"
  • "}))},a);return b+"
      "+c.join("")+"
    "},invalidateScroller:function(){var c=this,b=c.context,a=b.grid.verticalScroller;if(a){a.invalidate()}}});Ext.define("Ext.grid.header.Container",{extend:"Ext.container.Container",uses:["Ext.grid.ColumnLayout","Ext.grid.column.Column","Ext.menu.Menu","Ext.menu.CheckItem","Ext.menu.Separator","Ext.grid.plugin.HeaderResizer","Ext.grid.plugin.HeaderReorderer"],border:true,alias:"widget.headercontainer",baseCls:Ext.baseCSSPrefix+"grid-header-ct",dock:"top",weight:100,defaultType:"gridcolumn",defaultWidth:100,sortAscText:"Sort Ascending",sortDescText:"Sort Descending",sortClearText:"Clear Sort",columnsText:"Columns",lastHeaderCls:Ext.baseCSSPrefix+"column-header-last",firstHeaderCls:Ext.baseCSSPrefix+"column-header-first",headerOpenCls:Ext.baseCSSPrefix+"column-header-open",triStateSort:false,ddLock:false,dragging:false,sortable:true,initComponent:function(){var a=this;a.headerCounter=0;a.plugins=a.plugins||[];if(!a.isHeader){a.resizer=Ext.create("Ext.grid.plugin.HeaderResizer");a.reorderer=Ext.create("Ext.grid.plugin.HeaderReorderer");if(!a.enableColumnResize){a.resizer.disable()}if(!a.enableColumnMove){a.reorderer.disable()}a.plugins.push(a.reorderer,a.resizer)}if(a.isHeader&&!a.items){a.layout="auto"}else{a.layout={type:"gridcolumn",availableSpaceOffset:a.availableSpaceOffset,align:"stretchmax",resetStretch:true}}a.defaults=a.defaults||{};Ext.applyIf(a.defaults,{width:a.defaultWidth,triStateSort:a.triStateSort,sortable:a.sortable});a.callParent();a.addEvents("columnresize","headerclick","headertriggerclick","columnmove","columnhide","columnshow","sortchange","menucreate")},onDestroy:function(){Ext.destroy(this.resizer,this.reorderer);this.callParent()},onAdd:function(b){var a=this;if(!b.headerId){b.headerId="h"+(++a.headerCounter)}a.callParent(arguments);a.purgeCache()},onRemove:function(b){var a=this;a.callParent(arguments);a.purgeCache()},afterRender:function(){this.callParent();var a=this.up("[store]").store,c=a.sorters,d=c.first(),b;if(d){b=this.down("gridcolumn[dataIndex="+d.property+"]");if(b){b.setSortState(d.direction,false,true)}}},afterLayout:function(){if(!this.isHeader){var e=this,d=e.query(">gridcolumn:not([hidden])"),c,b,a;e.callParent(arguments);if(d.length){b=d[0].el;if(b!==e.pastFirstHeaderEl){if(e.pastFirstHeaderEl){e.pastFirstHeaderEl.removeCls(e.firstHeaderCls)}b.addCls(e.firstHeaderCls);e.pastFirstHeaderEl=b}a=d[d.length-1].el;if(a!==e.pastLastHeaderEl){if(e.pastLastHeaderEl){e.pastLastHeaderEl.removeCls(e.lastHeaderCls)}a.addCls(e.lastHeaderCls);e.pastLastHeaderEl=a}}}},onHeaderShow:function(g){var k=this,l=k.ownerCt,c=k.getMenu(),d,b,h,a,j,e;if(c){h=c.down("menucheckitem[headerId="+g.id+"]");if(h){h.setChecked(true,true)}d=c.query("#columnItem>menucheckitem[checked]");b=d.length;if((k.getVisibleGridColumns().length>1)&&k.disabledMenuItems&&k.disabledMenuItems.length){if(b==1){Ext.Array.remove(k.disabledMenuItems,d[0])}for(e=0,j=k.disabledMenuItems.length;emenucheckitem[checked]");if((e.length===1)){if(!d.disabledMenuItems){d.disabledMenuItems=[]}if((d.getVisibleGridColumns().length===1)&&e[0].menu){e=e.concat(e[0].menu.query("menucheckitem[checked]"))}a=e.length;for(b=0;bgridcolumn[hideable]"),h=a.length,d;for(;b{text}
    ',dataIndex:null,text:" ",sortable:true,hideable:true,menuDisabled:false,renderer:false,align:"left",draggable:true,initDraggable:Ext.emptyFn,isHeader:true,initComponent:function(){var c=this,b,a;if(Ext.isDefined(c.header)){c.text=c.header;delete c.header}if(c.flex){c.minWidth=c.minWidth||Ext.grid.plugin.HeaderResizer.prototype.minColWidth}else{c.minWidth=c.width}if(!c.triStateSort){c.possibleSortStates.length=2}if(Ext.isDefined(c.columns)){c.isGroupHeader=true;c.items=c.columns;delete c.columns;delete c.flex;c.width=0;for(b=0,a=c.items.length;b:not([hidden])");if(!c.length){g.ownerCt.hide()}else{for(d=0,a=c.length;d*");for(c=0,a=b.length;c:not([hidden])");for(c=0,a=b.length;c
    ',indicatorCls:"x-grid-drop-indicator",constructor:function(a){var b=this;Ext.apply(b,a);if(!b.ddGroup){b.ddGroup="view-dd-zone-"+b.view.id}b.callParent([b.view.el])},fireViewEvent:function(){var b=this,a;b.lock();a=b.view.fireEvent.apply(b.view,arguments);b.unlock();return a},getTargetFromEvent:function(k){var j=k.getTarget(this.view.getItemSelector()),d,c,b,g,a,h;if(!j){d=k.getPageY();for(g=0,c=this.view.getNodes(),a=c.length;g=(b.bottom-b.top)/2){d="before"}else{d="after"}return d},containsRecordAtOffset:function(d,b,g){if(!b){return false}var a=this.view,c=a.indexOf(b),e=a.getNode(c+g),h=e?a.getRecord(e):null;return h&&Ext.Array.contains(d,h)},positionIndicator:function(b,c,d){var g=this,i=g.view,h=g.getPosition(d,b),l=i.getRecord(b),a=c.records,j,k;if(!Ext.Array.contains(a,l)&&(h=="before"&&!g.containsRecordAtOffset(a,l,-1)||h=="after"&&!g.containsRecordAtOffset(a,l,1))){g.valid=true;if(g.overRecord!=l||g.currentPosition!=h){k=Ext.fly(b).getY()-i.el.getY()-1;if(h=="after"){k+=Ext.fly(b).getHeight()}g.getIndicator().setWidth(Ext.fly(i.el).getWidth()).showAt(0,k);g.overRecord=l;g.currentPosition=h}}else{g.invalidateDrop()}},invalidateDrop:function(){if(this.valid){this.valid=false;this.getIndicator().hide()}},onNodeOver:function(c,a,g,d){var b=this;if(!Ext.Array.contains(d.records,b.view.getRecord(c))){b.positionIndicator(c,d,g)}return b.valid?b.dropAllowed:b.dropNotAllowed},notifyOut:function(c,a,g,d){var b=this;b.callParent(arguments);delete b.overRecord;delete b.currentPosition;if(b.indicator){b.indicator.hide()}},onContainerOver:function(a,h,g){var d=this,b=d.view,c=b.store.getCount();if(c){d.positionIndicator(b.getNode(c-1),g,h)}else{delete d.overRecord;delete d.currentPosition;d.getIndicator().setWidth(Ext.fly(b.el).getWidth()).showAt(0,0);d.valid=true}return d.dropAllowed},onContainerDrop:function(a,c,b){return this.onNodeDrop(a,null,c,b)},onNodeDrop:function(d,a,h,g){var c=this,j=false,b=function(){c.invalidateDrop();c.handleNodeDrop(g,c.overRecord,c.currentPosition);j=true;c.fireViewEvent("drop",d,g,c.overRecord,c.currentPosition)},i=false;if(c.valid){i=c.fireViewEvent("beforedrop",d,g,c.overRecord,c.currentPosition,b);if(i!==false){if(!j){b()}}}return i}});Ext.define("Ext.grid.ViewDropZone",{extend:"Ext.view.DropZone",indicatorHtml:'
    ',indicatorCls:"x-grid-drop-indicator",handleNodeDrop:function(b,d,e){var j=this.view,k=j.getStore(),h,a,c,g;if(b.copy){a=b.records;b.records=[];for(c=0,g=a.length;c"}return i}},destroy:function(){delete this.items;delete this.renderer;return this.callParent(arguments)},processEvent:function(g,j,k,a,h,c){var d=this,b=c.getTarget().className.match(d.actionIdRe),l,i;if(b){l=d.items[parseInt(b[1],10)];if(l){if(g=="click"){i=l.handler||d.handler;if(i){i.call(l.scope||d.scope||d,j,a,h,l,c)}}else{if(g=="mousedown"&&l.stopSelection!==false){return false}}}}return d.callParent(arguments)},cascade:function(b,a){b.call(a||this,this)},getRefItems:function(){return[]}});Ext.define("Ext.grid.column.Boolean",{extend:"Ext.grid.column.Column",alias:["widget.booleancolumn"],alternateClassName:"Ext.grid.BooleanColumn",trueText:"true",falseText:"false",undefinedText:" ",constructor:function(a){this.callParent(arguments);var b=this.trueText,c=this.falseText,d=this.undefinedText;this.renderer=function(e){if(e===undefined){return d}if(!e||e==="false"){return c}return b}}});Ext.define("Ext.grid.column.Date",{extend:"Ext.grid.column.Column",alias:["widget.datecolumn"],requires:["Ext.Date"],alternateClassName:"Ext.grid.DateColumn",format:Ext.Date.defaultFormat,constructor:function(a){this.callParent(arguments);this.renderer=Ext.util.Format.dateRenderer(this.format)}});Ext.define("Ext.grid.column.Number",{extend:"Ext.grid.column.Column",alias:["widget.numbercolumn"],requires:["Ext.util.Format"],alternateClassName:"Ext.grid.NumberColumn",format:"0,000.00",constructor:function(a){this.callParent(arguments);this.renderer=Ext.util.Format.numberRenderer(this.format)}});Ext.define("Ext.grid.column.Template",{extend:"Ext.grid.column.Column",alias:["widget.templatecolumn"],requires:["Ext.XTemplate"],alternateClassName:"Ext.grid.TemplateColumn",constructor:function(a){var c=this,b;c.callParent(arguments);b=c.tpl=(!Ext.isPrimitive(c.tpl)&&c.tpl.compile)?c.tpl:Ext.create("Ext.XTemplate",c.tpl);c.renderer=function(g,h,d){var e=Ext.apply({},d.data,d.getAssociatedData());return b.apply(e)}}});Ext.define("Ext.grid.feature.Feature",{extend:"Ext.util.Observable",alias:"feature.feature",isFeature:true,disabled:false,hasFeatureEvent:true,eventPrefix:null,eventSelector:null,view:null,grid:null,collectData:false,getFeatureTpl:function(){return""},getFireEventArgs:function(b,a,c,d){return[b,a,c,d]},attachEvents:function(){},getFragmentTpl:function(){return},mutateMetaRowTpl:function(a){},getMetaRowTplFragments:function(){return{}},getTableFragments:function(){return{}},getAdditionalData:function(c,a,b,d){return{}},enable:function(){this.disabled=false},disable:function(){this.disabled=true}});Ext.define("Ext.grid.feature.AbstractSummary",{extend:"Ext.grid.feature.Feature",alias:"feature.abstractsummary",showSummaryRow:true,nestedIdRe:/\{\{id\}([\w\-]*)\}/g,toggleSummaryRow:function(a){this.showSummaryRow=!!a},getSummaryFragments:function(){var a={};if(this.showSummaryRow){Ext.apply(a,{printSummaryRow:Ext.bind(this.printSummaryRow,this)})}return a},printSummaryRow:function(b){var a=this.view.getTableChunker().metaRowTpl.join("");a=a.replace("x-grid-row","x-grid-row-summary");a=a.replace("{{id}}","{gridSummaryValue}");a=a.replace(this.nestedIdRe,"{id$1}");a=a.replace("{[this.embedRowCls()]}","{rowCls}");a=a.replace("{[this.embedRowAttr()]}","{rowAttr}");a=Ext.create("Ext.XTemplate",a,{firstOrLastCls:Ext.view.TableChunker.firstOrLastCls});return a.applyTemplate({columns:this.getPrintData(b)})},getColumnValue:function(c,a){var b=Ext.getCmp(c.id),e=a[c.id],d=b.summaryRenderer;if(d){e=d.call(b.scope||this,e,a,c.dataIndex)}return e},getSummary:function(a,b,d,c){if(b){if(Ext.isFunction(b)){return a.aggregate(b,null,c)}switch(b){case"count":return a.count(c);case"min":return a.min(d,c);case"max":return a.max(d,c);case"sum":return a.sum(d,c);case"average":return a.average(d,c);default:return c?{}:""}}}});Ext.define("Ext.grid.feature.Chunking",{extend:"Ext.grid.feature.Feature",alias:"feature.chunking",chunkSize:20,rowHeight:Ext.isIE?27:26,visibleChunk:0,hasFeatureEvent:false,attachEvents:function(){var b=this.view.up("gridpanel"),a=b.down("gridscroller[dock=right]");a.el.on("scroll",this.onBodyScroll,this,{buffer:300})},onBodyScroll:function(g,c){var b=this.view,d=c.scrollTop,a=Math.floor(d/this.rowHeight/this.chunkSize);if(a!==this.visibleChunk){this.visibleChunk=a;b.refresh();b.el.dom.scrollTop=d;b.el.dom.scrollTop=d}},collectData:function(d,m,l,k,j){var c={fullWidth:j.fullWidth,chunks:[]},e=j.rows.length,b=0,g=0,a=this.visibleChunk,h,p,n;for(;be){n=e-b}else{n=this.chunkSize}if(g>=a-1&&g<=a+1){p=j.rows.slice(b,b+this.chunkSize)}else{p=[]}c.chunks.push({rows:p,fullWidth:k,chunkHeight:n*this.rowHeight})}return c},getTableFragments:function(){return{openTableWrap:function(){return'
    '},closeTableWrap:function(){return"
    "}}}});Ext.define("Ext.grid.feature.Grouping",{extend:"Ext.grid.feature.Feature",alias:"feature.grouping",eventPrefix:"group",eventSelector:"."+Ext.baseCSSPrefix+"grid-group-hd",constructor:function(){this.collapsedState={};this.callParent(arguments)},groupHeaderTpl:"Group: {name}",depthToIndent:17,collapsedCls:Ext.baseCSSPrefix+"grid-group-collapsed",hdCollapsedCls:Ext.baseCSSPrefix+"grid-group-hd-collapsed",groupByText:"Group By This Field",showGroupsText:"Show in Groups",hideGroupedHeader:false,startCollapsed:false,enableGroupingMenu:true,enableNoGroups:true,enable:function(){var c=this,a=c.view,b=a.store,d;if(c.lastGroupIndex){b.group(c.lastGroupIndex)}c.callParent();d=c.view.headerCt.getMenu().down("#groupToggleMenuItem");d.setChecked(true,true);a.refresh()},disable:function(){var d=this,a=d.view,b=a.store,e,c;c=b.groupers.first();if(c){d.lastGroupIndex=c.property;b.groupers.clear()}d.callParent();e=d.view.headerCt.getMenu().down("#groupToggleMenuItem");e.setChecked(true,true);e.setChecked(false,true);a.refresh()},getFeatureTpl:function(b,c,a,e){var d=this;return["",'
    {collapsed}'+d.groupHeaderTpl+"
    ",'{[this.recurse(values)]}',"
    "].join("")},getFragmentTpl:function(){return{indentByDepth:this.indentByDepth,depthToIndent:this.depthToIndent}},indentByDepth:function(a){var b=a.depth||0;return'style="padding-left:'+b*this.depthToIndent+'px;"'},destroy:function(){var a=this;delete a.view;delete a.prunedHeader},attachEvents:function(){var d=this,a=d.view,g,b,e,c;a.on({scope:d,groupclick:d.onGroupClick,rowfocus:d.onRowFocus});a.store.on("groupchange",d.onGroupChange,d);d.pruneGroupedHeader();if(d.enableGroupingMenu){d.injectGroupingMenu()}if(d.hideGroupedHeader){g=a.headerCt.down("gridcolumn[dataIndex="+d.getGroupField()+"]");b=g.id;e=a.headerCt.getMenu();c=e.down("menuitem[headerId="+b+"]");if(c){c.setChecked(false)}}},injectGroupingMenu:function(){var b=this,a=b.view,c=a.headerCt;c.showMenuBy=b.showMenuBy;c.getMenuItems=b.getMenuItems()},showMenuBy:function(b,e){var d=this.getMenu(),c=d.down("#groupMenuItem"),a=e.groupable===false?"disable":"enable";c[a]();Ext.grid.header.Container.prototype.showMenuBy.apply(this,arguments)},getMenuItems:function(){var e=this,b=e.groupByText,d=e.disabled,a=e.showGroupsText,c=e.enableNoGroups,h=Ext.Function.bind(e.onGroupMenuItemClick,e),g=Ext.Function.bind(e.onGroupToggleMenuItemClick,e);return function(){var i=Ext.grid.header.Container.prototype.getMenuItems.call(this);i.push("-",{itemId:"groupMenuItem",text:b,handler:h});if(c){i.push({itemId:"groupToggleMenuItem",text:a,checked:!d,checkHandler:g})}return i}},onGroupMenuItemClick:function(b,c){var d=b.parentMenu,g=d.activeHeader,a=this.view;delete this.lastGroupIndex;this.enable();a.store.group(g.dataIndex);this.pruneGroupedHeader()},onGroupToggleMenuItemClick:function(a,b){this[b?"enable":"disable"]()},pruneGroupedHeader:function(){var d=this,b=d.view,c=b.store,a=d.getGroupField(),e=b.headerCt,g=e.down("header[dataIndex="+a+"]");if(g){if(d.prunedHeader){d.prunedHeader.show()}d.prunedHeader=g;g.hide()}},getGroupField:function(){var a=this.view.store.groupers.first();if(a){return a.property}return""},onRowFocus:function(c){var b=this.view.getNode(c),a=Ext.fly(b).up("."+this.collapsedCls);if(a){this.expand(a)}},expand:function(c){var e=this,b=e.view,d=b.up("gridpanel"),a=Ext.getDom(c);e.collapsedState[a.id]=false;c.removeCls(e.collapsedCls);c.prev().removeCls(e.hdCollapsedCls);d.determineScrollbars();d.invalidateScroller();b.fireEvent("groupexpand")},collapse:function(c){var e=this,b=e.view,d=b.up("gridpanel"),a=Ext.getDom(c);e.collapsedState[a.id]=true;c.addCls(e.collapsedCls);c.prev().addCls(e.hdCollapsedCls);d.determineScrollbars();d.invalidateScroller();b.fireEvent("groupcollapse")},onGroupChange:function(){this.view.refresh()},onGroupClick:function(c,i,a,j,h){var g=this,d=g.toggleCls,b=Ext.fly(i.nextSibling,"_grouping");if(b.hasCls(g.collapsedCls)){g.expand(b)}else{g.collapse(b)}},getMetaRowTplFragments:function(){return{isRow:this.isRow,closeRow:this.closeRow}},isRow:function(){return""},closeRow:function(){return""},mutateMetaRowTpl:function(a){a.unshift("{[this.isRow()]}");a.push("{[this.closeRow()]}")},getAdditionalData:function(e,j,g,i){var h=this.view,d=h.headerCt,c=d.items.getAt(0),b={},a=c.id+"-tdAttr";b[a]=this.indentByDepth(e)+" "+(i[a]?i[a]:"");b.collapsed="true";return b},getGroupRows:function(h,c,b,i){var e=this,d=h.children,g=h.rows=[],a=e.view;h.viewId=a.id;Ext.Array.each(c,function(k,j){if(Ext.Array.indexOf(d,k)!=-1){g.push(Ext.apply(b[j],{depth:1}))}});delete h.children;h.fullWidth=i;if(e.collapsedState[a.id+"-gp-"+h.name]){h.collapsedCls=e.collapsedCls;h.hdCollapsedCls=e.hdCollapsedCls}return h},collectData:function(d,c,i,h,g){var e=this,b=e.view.store,a;if(!e.disabled&&b.isGrouped()){a=b.getGroups();Ext.Array.each(a,function(k,j){e.getGroupRows(k,d,c,h)},e);return{rows:a,fullWidth:h}}return g},getFireEventArgs:function(g,h,d,c){var j=[g,h,d],i=Ext.fly(d.nextSibling,"_grouping"),a=Ext.getDom(i).id,b=h.id+"-gp-",k=a.substr(b.length);j.push(k,c);return j}});Ext.define("Ext.grid.feature.GroupingSummary",{extend:"Ext.grid.feature.Grouping",alias:"feature.groupingsummary",mixins:{summary:"Ext.grid.feature.AbstractSummary"},getFeatureTpl:function(){var a=this.callParent(arguments);if(this.showSummaryRow){a=a.replace("","");a+="{[this.printSummaryRow(xindex)]}"}return a},getFragmentTpl:function(){var b=this,a=b.callParent();Ext.apply(a,b.getSummaryFragments());if(b.showSummaryRow){b.summaryGroups=b.view.store.getGroups();b.summaryData=b.generateSummaryData()}return a},getPrintData:function(j){var k=this,e=k.view.headerCt.getColumnsForTpl(),h=0,b=e.length,g=[],a=k.summaryGroups[j-1].name,d=k.summaryData[a],c;for(;h','','
    {rowBody}
    ',"",""].join("")},getMetaRowTplFragments:function(){return{getRowBody:this.getRowBody,rowBodyTrCls:this.rowBodyTrCls,rowBodyTdCls:this.rowBodyTdCls,rowBodyDivCls:this.rowBodyDivCls}},mutateMetaRowTpl:function(a){a.push("{[this.getRowBody(values)]}")},getAdditionalData:function(c,a,b,g){var d=this.view.headerCt,e=d.getColumnCount();return{rowBody:"",rowBodyCls:this.rowBodyCls,rowBodyColspan:e}}});Ext.define("Ext.grid.feature.RowWrap",{extend:"Ext.grid.feature.Feature",alias:"feature.rowwrap",hasFeatureEvent:false,mutateMetaRowTpl:function(a){a[0]=a[0].replace(Ext.baseCSSPrefix+"grid-row","");a[0]=a[0].replace("{[this.embedRowCls()]}","");a.unshift('');a.unshift('
    ');a.push("
    ");a.push("")},embedColSpan:function(){return"{colspan}"},embedFullWidth:function(){return"{fullWidth}"},getAdditionalData:function(h,p,k,m){var d=this.view.headerCt,c=d.getColumnCount(),n=d.getFullWidth(),l=d.query("gridcolumn"),q=l.length,g=0,b={colspan:c,fullWidth:n},a,j,e;for(;g{[this.printSummaryRow()]}"},getPrintData:function(a){var g=this,c=g.view.headerCt.getColumnsForTpl(),b=0,e=c.length,h=[],j=g.summaryData,d;for(;bn.items.indexOf(i))){p--}if(n!==j){n.suspendLayout=true;n.remove(i,false);n.suspendLayout=false}if(n.isGroupHeader){if(!n.items.getCount()){m=n.ownerCt;m.suspendLayout=true;m.remove(n,false);n.el.dom.parentNode.removeChild(n.el.dom);m.suspendLayout=false}else{n.minWidth=n.getWidth()-i.getWidth();n.setWidth(n.minWidth)}}j.suspendLayout=true;if(n===j){j.move(a,p)}else{j.insert(p,i)}j.suspendLayout=false;if(j.isGroupHeader){i.savedFlex=i.flex;delete i.flex;i.width=i.getWidth();j.minWidth=j.getWidth()+i.getWidth()-(i.savedFlex?1:0);j.setWidth(j.minWidth)}else{if(i.savedFlex){i.flex=i.savedFlex;delete i.width}}c.purgeCache();c.doLayout();c.onHeaderMoved(i,a,p);if(!n.items.getCount()){n.destroy()}}}}}});Ext.define("Ext.grid.plugin.Editing",{alias:"editing.editing",requires:["Ext.grid.column.Column","Ext.util.KeyNav"],mixins:{observable:"Ext.util.Observable"},clicksToEdit:2,defaultFieldXType:"textfield",editStyle:"",constructor:function(a){var b=this;Ext.apply(b,a);b.addEvents("beforeedit","edit","validateedit");b.mixins.observable.constructor.call(b);b.relayEvents(b,["afteredit"],"after")},init:function(a){var b=this;b.grid=a;b.view=a.view;b.initEvents();b.mon(a,"reconfigure",b.onReconfigure,b);b.onReconfigure();a.relayEvents(b,["beforeedit","edit","validateedit"]);a.isEditable=true;a.editingPlugin=a.view.editingPlugin=b},onReconfigure:function(){this.initFieldAccessors(this.view.getGridColumns())},destroy:function(){var c=this,b=c.grid,d=b.headerCt,a=b.events;Ext.destroy(c.keyNav);c.removeFieldAccessors(b.getView().getGridColumns());c.clearListeners();delete c.grid.editingPlugin;delete c.grid.view.editingPlugin;delete c.grid;delete c.view;delete c.editor;delete c.keyNav},getEditStyle:function(){return this.editStyle},initFieldAccessors:function(a){var b=this;if(Ext.isArray(a)){Ext.Array.forEach(a,b.initFieldAccessors,b);return}Ext.applyIf(a,{getEditor:function(c,d){return b.getColumnField(this,d)},setEditor:function(c){b.setColumnField(this,c)}})},removeFieldAccessors:function(a){var b=this;if(Ext.isArray(a)){Ext.Array.forEach(a,b.removeFieldAccessors,b);return}delete a.getEditor;delete a.setEditor},getColumnField:function(b,a){var c=b.field;if(!c&&b.editor){c=b.editor;delete b.editor}if(!c&&a){c=a}if(c){if(Ext.isString(c)){c={xtype:c}}if(Ext.isObject(c)&&!c.isFormField){c=Ext.ComponentManager.create(c,this.defaultFieldXType);b.field=c}Ext.apply(c,{name:b.dataIndex});return c}},setColumnField:function(a,b){if(Ext.isObject(b)&&!b.isFormField){b=Ext.ComponentManager.create(b,this.defaultFieldXType)}a.field=b},initEvents:function(){var a=this;a.initEditTriggers();a.initCancelTriggers()},initCancelTriggers:Ext.emptyFn,initEditTriggers:function(){var c=this,b=c.view,a=c.clicksToEdit===1?"click":"dblclick";c.mon(b,"cell"+a,c.startEditByClick,c);b.on("render",function(){c.keyNav=Ext.create("Ext.util.KeyNav",b.el,{enter:c.onEnterKey,esc:c.onEscKey,scope:c})},c,{single:true})},onEnterKey:function(h){var d=this,c=d.grid,b=c.getSelectionModel(),a,g=c.headerCt.getHeaderAtIndex(0);if(b.getCurrentPosition){pos=b.getCurrentPosition();a=c.store.getAt(pos.row);g=c.headerCt.getHeaderAtIndex(pos.column)}else{a=b.getLastSelected()}d.startEdit(a,g)},onEscKey:function(a){this.cancelEdit()},startEditByClick:function(c,a,i,b,h,d,g){this.startEdit(b,c.getHeaderAtIndex(i))},beforeEdit:Ext.emptyFn,startEdit:function(a,d){var c=this,b=c.getEditingContext(a,d);if(c.beforeEdit(b)===false||c.fireEvent("beforeedit",b)===false||b.cancel){return false}c.context=b;c.editing=true},getEditingContext:function(e,c){var g=this,a=g.grid,j=a.store,b,d,h=a.getView(),i;if(Ext.isNumber(e)){b=e;e=j.getAt(b)}else{b=j.indexOf(e)}if(Ext.isNumber(c)){d=c;c=a.headerCt.getHeaderAtIndex(d)}else{d=c.getIndex()}i=e.get(c.dataIndex);return{grid:a,record:e,field:c.dataIndex,value:i,row:h.getNode(b),column:c,rowIdx:b,colIdx:d}},cancelEdit:function(){this.editing=false},completeEdit:function(){var a=this;if(a.editing&&a.validateEdit()){a.fireEvent("edit",a.context)}delete a.context;a.editing=false},validateEdit:function(){var b=this,a=b.context;return b.fireEvent("validateedit",b,a)!==false&&!a.cancel}});Ext.define("Ext.grid.plugin.CellEditing",{alias:"plugin.cellediting",extend:"Ext.grid.plugin.Editing",requires:["Ext.grid.CellEditor","Ext.util.DelayedTask"],constructor:function(){this.callParent(arguments);this.editors=Ext.create("Ext.util.MixedCollection",false,function(a){return a.editorId});this.editTask=Ext.create("Ext.util.DelayedTask")},onReconfigure:function(){this.editors.clear();this.callParent()},destroy:function(){var a=this;a.editTask.cancel();a.editors.each(Ext.destroy,Ext);a.editors.clear();a.callParent(arguments)},onBodyScroll:function(){var a=this.getActiveEditor();if(a&&a.field){if(a.field.triggerBlur){a.field.triggerBlur()}else{a.field.blur()}}},initCancelTriggers:function(){var c=this,b=c.grid,a=b.view;a.addElListener("mousewheel",c.cancelEdit,c);c.mon(a,"bodyscroll",c.onBodyScroll,c);c.mon(b,{columnresize:c.cancelEdit,columnmove:c.cancelEdit,scope:c})},startEdit:function(a,g){var d=this,b=d.getEditor(a,g),e=a.get(g.dataIndex),c=d.getEditingContext(a,g);a=c.record;g=c.column;d.completeEdit();if(g&&!g.getEditor(a)){return false}if(b){c.originalValue=c.value=e;if(d.beforeEdit(c)===false||d.fireEvent("beforeedit",c)===false||c.cancel){return false}d.context=c;d.setActiveEditor(b);d.setActiveRecord(a);d.setActiveColumn(g);d.editTask.delay(15,b.startEdit,b,[d.getCell(a,g),e])}else{d.grid.getView().getEl(g).focus((Ext.isWebKit||Ext.isIE)?10:false)}},completeEdit:function(){var a=this.getActiveEditor();if(a){a.completeEdit()}},setActiveEditor:function(a){this.activeEditor=a},getActiveEditor:function(){return this.activeEditor},setActiveColumn:function(a){this.activeColumn=a},getActiveColumn:function(){return this.activeColumn},setActiveRecord:function(a){this.activeRecord=a},getActiveRecord:function(){return this.activeRecord},getEditor:function(a,d){var g=this,e=g.editors,c=d.getItemId(),b=e.getByKey(c);if(b){return b}else{b=d.getEditor(a);if(!b){return false}if(!(b instanceof Ext.grid.CellEditor)){b=Ext.create("Ext.grid.CellEditor",{editorId:c,field:b})}b.parentEl=g.grid.getEditorParent();b.on({scope:g,specialkey:g.onSpecialKey,complete:g.onEditComplete,canceledit:g.cancelEdit});e.add(b);return b}},getCell:function(a,b){return this.grid.getView().getCell(a,b)},onSpecialKey:function(a,d,c){var b=this.grid,g;if(c.getKey()===c.TAB){c.stopEvent();g=b.getSelectionModel();if(g.onEditorTab){g.onEditorTab(this,c)}}},onEditComplete:function(b,h,a){var g=this,d=g.grid,i=d.getSelectionModel(),e=g.getActiveColumn(),c;if(e){c=e.dataIndex;g.setActiveEditor(null);g.setActiveColumn(null);g.setActiveRecord(null);delete i.wasEditing;if(!g.validateEdit()){return}if(h!==a){g.context.record.set(c,h)}else{d.getView().getEl(e).focus()}g.context.value=h;g.fireEvent("edit",g,g.context)}},cancelEdit:function(){var c=this,b=c.getActiveEditor(),a=c.grid.getView().getEl(c.getActiveColumn());c.setActiveEditor(null);c.setActiveColumn(null);c.setActiveRecord(null);if(b){b.cancelEdit();a.focus()}},startEditByPosition:function(a){var d=this,c=d.grid,g=c.getSelectionModel(),b=c.store.getAt(a.row),e=c.headerCt.getHeaderAtIndex(a.column);if(g.selectByPosition){g.selectByPosition(a)}d.startEdit(b,e)}});Ext.define("Ext.grid.plugin.DragDrop",{extend:"Ext.AbstractPlugin",alias:"plugin.gridviewdragdrop",uses:["Ext.view.DragZone","Ext.grid.ViewDropZone"],dragText:"{0} selected row{1}",ddGroup:"GridDD",enableDrop:true,enableDrag:true,init:function(a){a.on("render",this.onViewRender,this,{single:true})},destroy:function(){Ext.destroy(this.dragZone,this.dropZone)},onViewRender:function(a){var b=this;if(b.enableDrag){b.dragZone=Ext.create("Ext.view.DragZone",{view:a,ddGroup:b.dragGroup||b.ddGroup,dragText:b.dragText})}if(b.enableDrop){b.dropZone=Ext.create("Ext.grid.ViewDropZone",{view:a,ddGroup:b.dropGroup||b.ddGroup})}}});Ext.define("Ext.grid.plugin.HeaderReorderer",{extend:"Ext.util.Observable",requires:["Ext.grid.header.DragZone","Ext.grid.header.DropZone"],alias:"plugin.gridheaderreorderer",init:function(a){this.headerCt=a;a.on("render",this.onHeaderCtRender,this)},destroy:function(){Ext.destroy(this.dragZone,this.dropZone)},onHeaderCtRender:function(){this.dragZone=Ext.create("Ext.grid.header.DragZone",this.headerCt);this.dropZone=Ext.create("Ext.grid.header.DropZone",this.headerCt);if(this.disabled){this.dragZone.disable()}},enable:function(){this.disabled=false;if(this.dragZone){this.dragZone.enable()}},disable:function(){this.disabled=true;if(this.dragZone){this.dragZone.disable()}}});Ext.define("Ext.grid.plugin.HeaderResizer",{extend:"Ext.util.Observable",requires:["Ext.dd.DragTracker","Ext.util.Region"],alias:"plugin.gridheaderresizer",disabled:false,configs:{dynamic:true},colHeaderCls:Ext.baseCSSPrefix+"column-header",minColWidth:40,maxColWidth:1000,wResizeCursor:"col-resize",eResizeCursor:"col-resize",init:function(a){this.headerCt=a;a.on("render",this.afterHeaderRender,this,{single:true})},destroy:function(){if(this.tracker){this.tracker.destroy()}},afterHeaderRender:function(){var b=this.headerCt,a=b.el;b.mon(a,"mousemove",this.onHeaderCtMouseMove,this);this.tracker=Ext.create("Ext.dd.DragTracker",{disabled:this.disabled,onBeforeStart:Ext.Function.bind(this.onBeforeStart,this),onStart:Ext.Function.bind(this.onStart,this),onDrag:Ext.Function.bind(this.onDrag,this),onEnd:Ext.Function.bind(this.onEnd,this),tolerance:3,autoStart:300,el:a})},onHeaderCtMouseMove:function(c,a){if(this.headerCt.dragging){if(this.activeHd){this.activeHd.el.dom.style.cursor="";delete this.activeHd}}else{var g=c.getTarget("."+this.colHeaderCls,3,true),b,d;if(g){b=Ext.getCmp(g.id);if(b.isOnLeftEdge(c)){d=b.previousNode("gridcolumn:not([hidden]):not([isGroupHeader])")}else{if(b.isOnRightEdge(c)){d=b}else{d=null}}if(d){if(d.isGroupHeader){d=d.getVisibleGridColumns();d=d[d.length-1]}if(d&&!(d.fixed||this.disabled)){this.activeHd=d;b.el.dom.style.cursor=this.eResizeCursor}}else{b.el.dom.style.cursor="";delete this.activeHd}}}},onBeforeStart:function(b){var a=b.getTarget();this.dragHd=this.activeHd;if(!!this.dragHd&&!Ext.fly(a).hasCls("x-column-header-trigger")&&!this.headerCt.dragging){this.tracker.constrainTo=this.getConstrainRegion();return true}else{this.headerCt.dragging=false;return false}},getConstrainRegion:function(){var a=this.dragHd.el,b=Ext.util.Region.getRegion(a);return b.adjust(0,this.maxColWidth-a.getWidth(),0,this.minColWidth)},onStart:function(v){var w=this,h=w.dragHd,b=h.el,p=b.getWidth(),j=w.headerCt,l=v.getTarget();if(w.dragHd&&!Ext.fly(l).hasCls("x-column-header-trigger")){j.dragging=true}w.origWidth=p;if(!w.dynamic){var d=b.getXY(),s=j.up("[scrollerOwner]"),g=w.dragHd.up(":not([isGroupHeader])"),k=g.up(),c=s.getLhsMarker(),n=s.getRhsMarker(),a=n.parent(),i=a.getLeft(true),u=a.getTop(true),r=a.translatePoints(d),q=k.body.getHeight()+j.getHeight(),m=r.top-u;c.setTop(m);n.setTop(m);c.setHeight(q);n.setHeight(q);c.setLeft(r.left-i);n.setLeft(r.left+p-i)}},onDrag:function(h){if(!this.dynamic){var g=this.tracker.getXY("point"),a=this.headerCt.up("[scrollerOwner]"),i=a.getRhsMarker(),c=i.parent(),b=c.translatePoints(g),d=c.getLeft(true);i.setLeft(b.left-d)}else{this.doResize()}},onEnd:function(h){this.headerCt.dragging=false;if(this.dragHd){if(!this.dynamic){var g=this.dragHd,c=this.headerCt.up("[scrollerOwner]"),d=c.getLhsMarker(),j=c.getRhsMarker(),a=g.getWidth(),i=this.tracker.getOffset("point"),b=-9999;d.setLeft(b);j.setLeft(b)}this.doResize()}},doResize:function(){if(this.dragHd){var b=this.dragHd,a,c=this.tracker.getOffset("point");if(b.flex){delete b.flex}if(this.headerCt.forceFit){a=b.nextNode("gridcolumn:not([hidden]):not([isGroupHeader])");if(a){this.headerCt.componentLayout.layoutBusy=true}}b.minWidth=this.origWidth+c[0];b.setWidth(b.minWidth);if(a){delete a.flex;a.setWidth(a.getWidth()-c[0]);this.headerCt.componentLayout.layoutBusy=false;this.headerCt.doComponentLayout()}}},disable:function(){this.disabled=true;if(this.tracker){this.tracker.disable()}},enable:function(){this.disabled=false;if(this.tracker){this.tracker.enable()}}});Ext.define("Ext.grid.plugin.RowEditing",{extend:"Ext.grid.plugin.Editing",alias:"plugin.rowediting",requires:["Ext.grid.RowEditor"],editStyle:"row",autoCancel:true,errorSummary:true,constructor:function(){var a=this;a.callParent(arguments);if(!a.clicksToMoveEditor){a.clicksToMoveEditor=a.clicksToEdit}a.autoCancel=!!a.autoCancel},destroy:function(){var a=this;Ext.destroy(a.editor);a.callParent(arguments)},startEdit:function(a,d){var c=this,b=c.getEditor();if(c.callParent(arguments)===false){return false}if(b.beforeEdit()!==false){b.startEdit(c.context.record,c.context.column)}},cancelEdit:function(){var a=this;if(a.editing){a.getEditor().cancelEdit();a.callParent(arguments)}},completeEdit:function(){var a=this;if(a.editing&&a.validateEdit()){a.editing=false;a.fireEvent("edit",a.context)}},validateEdit:function(){var a=this;return a.callParent(arguments)&&a.getEditor().completeEdit()},getEditor:function(){var a=this;if(!a.editor){a.editor=a.initEditor()}return a.editor},initEditor:function(){var c=this,b=c.grid,a=c.view,d=b.headerCt;return Ext.create("Ext.grid.RowEditor",{autoCancel:c.autoCancel,errorSummary:c.errorSummary,fields:d.getGridColumns(),hidden:true,editingPlugin:c,renderTo:a.el})},initEditTriggers:function(){var c=this,b=c.grid,a=c.view,e=b.headerCt,d=c.clicksToMoveEditor===1?"click":"dblclick";c.callParent(arguments);if(c.clicksToMoveEditor!==c.clicksToEdit){c.mon(a,"cell"+d,c.moveEditorByClick,c)}a.on("render",function(){c.mon(e,{add:c.onColumnAdd,remove:c.onColumnRemove,columnresize:c.onColumnResize,columnhide:c.onColumnHide,columnshow:c.onColumnShow,columnmove:c.onColumnMove,scope:c})},c,{single:true})},startEditByClick:function(){var a=this;if(!a.editing||a.clicksToMoveEditor===a.clicksToEdit){a.callParent(arguments)}},moveEditorByClick:function(){var a=this;if(a.editing){a.superclass.startEditByClick.apply(a,arguments)}},onColumnAdd:function(a,c){if(c.isHeader){var d=this,b;d.initFieldAccessors(c);b=d.getEditor();if(b&&b.onColumnAdd){b.onColumnAdd(c)}}},onColumnRemove:function(a,c){if(c.isHeader){var d=this,b=d.getEditor();if(b&&b.onColumnRemove){b.onColumnRemove(c)}d.removeFieldAccessors(c)}},onColumnResize:function(a,d,c){if(d.isHeader){var e=this,b=e.getEditor();if(b&&b.onColumnResize){b.onColumnResize(d,c)}}},onColumnHide:function(a,c){var d=this,b=d.getEditor();if(b&&b.onColumnHide){b.onColumnHide(c)}},onColumnShow:function(a,c){var d=this,b=d.getEditor();if(b&&b.onColumnShow){b.onColumnShow(c)}},onColumnMove:function(a,d,c,g){var e=this,b=e.getEditor();if(b&&b.onColumnMove){b.onColumnMove(d,c,g)}},setColumnField:function(a,c){var b=this;b.callParent(arguments);b.getEditor().setField(a.field,a)}});Ext.define("Ext.grid.property.Grid",{extend:"Ext.grid.Panel",alias:"widget.propertygrid",alternateClassName:"Ext.grid.PropertyGrid",uses:["Ext.grid.plugin.CellEditing","Ext.grid.property.Store","Ext.grid.property.HeaderContainer","Ext.XTemplate","Ext.grid.CellEditor","Ext.form.field.Date","Ext.form.field.Text","Ext.form.field.Number"],valueField:"value",nameField:"name",enableColumnMove:false,columnLines:true,stripeRows:false,trackMouseOver:false,clicksToEdit:1,enableHdMenu:false,initComponent:function(){var a=this;a.addCls(Ext.baseCSSPrefix+"property-grid");a.plugins=a.plugins||[];a.plugins.push(Ext.create("Ext.grid.plugin.CellEditing",{clicksToEdit:a.clicksToEdit,startEdit:function(b,c){return this.self.prototype.startEdit.call(this,b,a.headerCt.child("#"+a.valueField))}}));a.selModel={selType:"cellmodel",onCellSelect:function(b){if(b.column!=1){b.column=1}return this.self.prototype.onCellSelect.call(this,b)}};a.customRenderers=a.customRenderers||{};a.customEditors=a.customEditors||{};if(!a.store){a.propStore=a.store=Ext.create("Ext.grid.property.Store",a,a.source)}a.store.sort("name","ASC");a.columns=Ext.create("Ext.grid.property.HeaderContainer",a,a.store);a.addEvents("beforepropertychange","propertychange");a.callParent();a.getView().walkCells=this.walkCells;a.editors={date:Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.Date",{selectOnFocus:true})}),string:Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.Text",{selectOnFocus:true})}),number:Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.Number",{selectOnFocus:true})}),"boolean":Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.ComboBox",{editable:false,store:[[true,a.headerCt.trueText],[false,a.headerCt.falseText]]})})};a.store.on("update",a.onUpdate,a)},onUpdate:function(d,a,c){var g=this,b,e;if(c==Ext.data.Model.EDIT){b=a.get(g.valueField);e=a.modified.value;if(g.fireEvent("beforepropertychange",g.source,a.getId(),b,e)!==false){if(g.source){g.source[a.getId()]=b}a.commit();g.fireEvent("propertychange",g.source,a.getId(),b,e)}else{a.reject()}}},walkCells:function(h,g,d,c,a,b){if(g=="left"){g="up"}else{if(g=="right"){g="down"}}h=Ext.view.Table.prototype.walkCells.call(this,h,g,d,c,a,b);if(!h.column){h.column=1}return h},getCellEditor:function(a,c){var d=this,e=a.get(d.nameField),g=a.get(d.valueField),b=d.customEditors[e];if(b){if(!(b instanceof Ext.grid.CellEditor)){if(!(b instanceof Ext.form.field.Base)){b=Ext.ComponentManager.create(b,"textfield")}b=d.customEditors[e]=Ext.create("Ext.grid.CellEditor",{field:b})}}else{if(Ext.isDate(g)){b=d.editors.date}else{if(Ext.isNumber(g)){b=d.editors.number}else{if(Ext.isBoolean(g)){b=d.editors["boolean"]}else{b=d.editors.string}}}}b.editorId=e;return b},beforeDestroy:function(){var a=this;a.callParent();a.destroyEditors(a.editors);a.destroyEditors(a.customEditors);delete a.source},destroyEditors:function(b){for(var a in b){if(b.hasOwnProperty(a)){Ext.destroy(b[a])}}},setSource:function(a){this.source=a;this.propStore.setSource(a)},getSource:function(){return this.propStore.getSource()},setProperty:function(c,b,a){this.propStore.setValue(c,b,a)},removeProperty:function(a){this.propStore.remove(a)}});Ext.define("Ext.grid.property.HeaderContainer",{extend:"Ext.grid.header.Container",alternateClassName:"Ext.grid.PropertyColumnModel",nameWidth:115,nameText:"Name",valueText:"Value",dateFormat:"m/j/Y",trueText:"true",falseText:"false",nameColumnCls:Ext.baseCSSPrefix+"grid-property-name",constructor:function(b,a){var c=this;c.grid=b;c.store=a;c.callParent([{items:[{header:c.nameText,width:b.nameColumnWidth||c.nameWidth,sortable:true,dataIndex:b.nameField,renderer:Ext.Function.bind(c.renderProp,c),itemId:b.nameField,menuDisabled:true,tdCls:c.nameColumnCls},{header:c.valueText,renderer:Ext.Function.bind(c.renderCell,c),getEditor:Ext.Function.bind(c.getCellEditor,c),flex:1,fixed:true,dataIndex:b.valueField,itemId:b.valueField,menuDisabled:true}]}])},getCellEditor:function(a){return this.grid.getCellEditor(a,this)},renderProp:function(a){return this.getPropertyName(a)},renderCell:function(g,d,e){var b=this,c=b.grid.customRenderers[e.get(b.grid.nameField)],a=g;if(c){return c.apply(b,arguments)}if(Ext.isDate(g)){a=b.renderDate(g)}else{if(Ext.isBoolean(g)){a=b.renderBool(g)}}return Ext.util.Format.htmlEncode(a)},renderDate:Ext.util.Format.date,renderBool:function(a){return this[a?"trueText":"falseText"]},getPropertyName:function(b){var a=this.grid.propertyNames;return a&&a[b]?a[b]:b}});Ext.define("Ext.grid.property.Property",{extend:"Ext.data.Model",alternateClassName:"Ext.PropGridProperty",fields:[{name:"name",type:"string"},{name:"value"}],idProperty:"name"});Ext.define("Ext.grid.property.Store",{extend:"Ext.data.Store",alternateClassName:"Ext.grid.PropertyStore",uses:["Ext.data.reader.Reader","Ext.data.proxy.Proxy","Ext.data.ResultSet","Ext.grid.property.Property"],constructor:function(a,c){var b=this;b.grid=a;b.source=c;b.callParent([{data:c,model:Ext.grid.property.Property,proxy:b.getProxy()}])},getProxy:function(){if(!this.proxy){Ext.grid.property.Store.prototype.proxy=Ext.create("Ext.data.proxy.Memory",{model:Ext.grid.property.Property,reader:this.getReader()})}return this.proxy},getReader:function(){if(!this.reader){Ext.grid.property.Store.prototype.reader=Ext.create("Ext.data.reader.Reader",{model:Ext.grid.property.Property,buildExtractors:Ext.emptyFn,read:function(a){return this.readRecords(a)},readRecords:function(b){var d,c,a={records:[],success:true};for(c in b){if(b.hasOwnProperty(c)){d=b[c];if(this.isEditableValue(d)){a.records.push(new Ext.grid.property.Property({name:c,value:d},c))}}}a.total=a.count=a.records.length;return Ext.create("Ext.data.ResultSet",a)},isEditableValue:function(a){return Ext.isPrimitive(a)||Ext.isDate(a)}})}return this.reader},setSource:function(a){var b=this;b.source=a;b.suspendEvents();b.removeAll();b.proxy.data=a;b.load();b.resumeEvents();b.fireEvent("datachanged",b)},getProperty:function(a){return Ext.isNumber(a)?this.getAt(a):this.getById(a)},setValue:function(e,c,a){var b=this,d=b.getRec(e);if(d){d.set("value",c);b.source[e]=c}else{if(a){b.source[e]=c;d=new Ext.grid.property.Property({name:e,value:c},e);b.add(d)}}},remove:function(b){var a=this.getRec(b);if(a){this.callParent([a]);delete this.source[b]}},getRec:function(a){return this.getById(a)},getSource:function(){return this.source}});Ext.define("Ext.layout.component.Body",{alias:["layout.body"],extend:"Ext.layout.component.Component",uses:["Ext.layout.container.Container"],type:"body",onLayout:function(c,b){var d=this,a=d.owner;d.setTargetSize(c,b);d.setBodySize.apply(d,arguments);if(a&&a.layout&&a.layout.isLayout){if(!Ext.isNumber(a.height)||!Ext.isNumber(a.width)){a.layout.bindToOwnerCtComponent=true}else{a.layout.bindToOwnerCtComponent=false}}d.callParent(arguments)},setBodySize:function(e,b){var g=this,a=g.owner,c=a.frameSize,d=Ext.isNumber;if(d(e)){e-=a.el.getFrameWidth("lr")-c.left-c.right}if(d(b)){b-=a.el.getFrameWidth("tb")-c.top-c.bottom}g.setElementSize(a.body,e,b)}});Ext.define("Ext.layout.component.FieldSet",{extend:"Ext.layout.component.Body",alias:["layout.fieldset"],type:"fieldset",doContainerLayout:function(){if(!this.owner.collapsed){this.callParent()}}});Ext.define("Ext.layout.component.Tab",{alias:["layout.tab"],extend:"Ext.layout.component.Button",beforeLayout:function(){var b=this,a=b.lastClosable!==b.owner.closable;if(a){delete b.adjWidth}return this.callParent(arguments)||a},onLayout:function(){var a=this;a.callParent(arguments);a.lastClosable=a.owner.closable}});Ext.define("Ext.layout.component.field.File",{alias:["layout.filefield"],extend:"Ext.layout.component.field.Field",type:"filefield",sizeBodyContents:function(c,b){var d=this,a=d.owner;if(!a.buttonOnly){d.setElementSize(a.inputEl,Ext.isNumber(c)?c-a.button.getWidth()-a.buttonMargin:c)}}});Ext.define("Ext.layout.component.field.Slider",{alias:["layout.sliderfield"],extend:"Ext.layout.component.field.Field",type:"sliderfield",sizeBodyContents:function(a,k){var b=this.owner,g=b.thumbs,c=g.length,j=b.inputEl,h=b.innerEl,e=b.endEl,d=0;for(;dpanel:not([collapsed])"):[];if(c.multi){c.setCollapsed(b);if(a.length===1&&a[0]===b){c.setExpanded(d)}c.animate=c.initialAnimate;c.layout();c.animate=false}else{if(d){c.onComponentExpand(d)}}return false},onComponentShow:function(a){this.onComponentExpand(a)},setCollapsed:function(b){var e=b.getDockedItems(),d,a=e.length,c=0;b.hiddenDocked=[];for(;c
     
    '],baseCls:Ext.baseCSSPrefix+"splitter",collapsedClsInternal:Ext.baseCSSPrefix+"splitter-collapsed",collapsible:false,collapseOnDblClick:true,defaultSplitMin:40,defaultSplitMax:1000,width:5,height:5,collapseTarget:"next",onRender:function(){var a=this,b=a.getCollapseTarget(),c=a.getCollapseDirection();Ext.applyIf(a.renderData,{collapseDir:c,collapsible:a.collapsible||b.collapsible});Ext.applyIf(a.renderSelectors,{collapseEl:"."+Ext.baseCSSPrefix+"collapse-el"});this.callParent(arguments);if(a.performCollapse!==false){if(a.renderData.collapsible){a.mon(a.collapseEl,"click",a.toggleTargetCmp,a)}if(a.collapseOnDblClick){a.mon(a.el,"dblclick",a.toggleTargetCmp,a)}}a.mon(b,"collapse",a.onTargetCollapse,a);a.mon(b,"expand",a.onTargetExpand,a);a.el.addCls(a.baseCls+"-"+a.orientation);a.el.unselectable();a.tracker=Ext.create("Ext.resizer.SplitterTracker",{el:a.el});a.relayEvents(a.tracker,["beforedragstart","dragstart","dragend"])},getCollapseDirection:function(){var c=this,a,b=c.ownerCt.layout.type;if(c.collapseTarget.isComponent){a=Number(c.ownerCt.items.indexOf(c.collapseTarget)==c.ownerCt.items.indexOf(c)-1)<<1|Number(b=="hbox")}else{a=Number(c.collapseTarget=="prev")<<1|Number(b=="hbox")}c.orientation=["horizontal","vertical"][a&1];return["bottom","right","top","left"][a]},getCollapseTarget:function(){var a=this;return a.collapseTarget.isComponent?a.collapseTarget:a.collapseTarget=="prev"?a.previousSibling():a.nextSibling()},onTargetCollapse:function(a){this.el.addCls([this.collapsedClsInternal,this.collapsedCls])},onTargetExpand:function(a){this.el.removeCls([this.collapsedClsInternal,this.collapsedCls])},toggleTargetCmp:function(c,a){var b=this.getCollapseTarget();if(b.isVisible()){if(b.collapsed){b.expand(b.animCollapse)}else{b.collapse(this.renderData.collapseDir,b.animCollapse)}}},setSize:function(){var a=this;a.callParent(arguments);if(Ext.isIE){a.el.repaint()}}});Ext.define("Ext.layout.container.Border",{alias:["layout.border"],extend:"Ext.layout.container.Container",requires:["Ext.resizer.Splitter","Ext.container.Container","Ext.fx.Anim"],alternateClassName:"Ext.layout.BorderLayout",targetCls:Ext.baseCSSPrefix+"border-layout-ct",itemCls:Ext.baseCSSPrefix+"border-item",bindToOwnerCtContainer:true,percentageRe:/(\d+)%/,slideDirection:{north:"t",south:"b",west:"l",east:"r"},constructor:function(a){this.initialConfig=a;this.callParent(arguments)},onLayout:function(){var a=this;if(!a.borderLayoutInitialized){a.initializeBorderLayout()}a.fixHeightConstraints();a.shadowLayout.onLayout();if(a.embeddedContainer){a.embeddedContainer.layout.onLayout()}if(!a.initialCollapsedComplete){Ext.iterate(a.regions,function(b,c){if(c.borderCollapse){a.onBeforeRegionCollapse(c,c.collapseDirection,false,0)}});a.initialCollapsedComplete=true}},isValidParent:function(b,c,a){if(!this.borderLayoutInitialized){this.initializeBorderLayout()}return this.shadowLayout.isValidParent(b,c,a)},beforeLayout:function(){if(!this.borderLayoutInitialized){this.initializeBorderLayout()}this.shadowLayout.beforeLayout()},renderItems:function(a,b){},renderItem:function(a){},getVisibleItems:function(){return Ext.ComponentQuery.query(":not([slideOutAnim])",this.callParent(arguments))},initializeBorderLayout:function(){var k=this,c=0,j=k.getLayoutItems(),h=j.length,b=(k.regions={}),e=[],g=[],a=0,m=0,d,l;k.splitters={};for(;cm.height);if(Ext.isIE6||Ext.isIE7||Ext.isIEQuirks){h.adjustedWidth=m.width-Ext.getScrollBarWidth()}else{e.setStyle("overflow","auto")}if(h.adjustmentPass){h.onLayout()}}delete h.adjustmentPass},configureItem:function(a){if(a.columnWidth){a.layoutManagedWidth=1}else{a.layoutManagedWidth=2}a.layoutManagedHeight=2;this.callParent(arguments)}});Ext.define("Ext.layout.container.Table",{alias:["layout.table"],extend:"Ext.layout.container.Auto",alternateClassName:"Ext.layout.TableLayout",monitorResize:false,type:"table",autoSize:true,clearEl:true,targetCls:Ext.baseCSSPrefix+"table-layout-ct",tableCls:Ext.baseCSSPrefix+"table-layout",cellCls:Ext.baseCSSPrefix+"table-layout-cell",tableAttrs:null,renderItems:function(h){var e=this.getTable().tBodies[0],p=e.rows,d=0,g=h.length,n,l,c,a,m,k,j,b;n=this.calculateCells(h);for(;d=h||n[d]>0){if(d>=h){d=0;a=0;b++;for(c=0;c0){n[c]--}}}else{d++}}m.push({rowIdx:b,cellIdx:a});for(c=l.colspan||1;c;--c){n[d]=l.rowspan||1;++d}++a}return m},getTable:function(){var a=this.table;if(!a){a=this.table=this.getTarget().createChild(Ext.apply({tag:"table",role:"presentation",cls:this.tableCls,cellspacing:0,cn:{tag:"tbody"}},this.tableAttrs),null,true)}return a},needsDivWrap:function(){return Ext.isOpera10_5}});Ext.define("Ext.menu.Item",{extend:"Ext.Component",alias:"widget.menuitem",alternateClassName:"Ext.menu.TextItem",activeCls:Ext.baseCSSPrefix+"menu-item-active",ariaRole:"menuitem",canActivate:true,clickHideDelay:1,destroyMenu:true,disabledCls:Ext.baseCSSPrefix+"menu-item-disabled",hideOnClick:true,isMenuItem:true,menuAlign:"tl-tr?",menuExpandDelay:200,menuHideDelay:200,renderTpl:['',"{text}","",'','target="{hrefTarget}" hidefocus="true" unselectable="on">','','style="margin-right: 17px;" >{text}','','',"","",""],maskOnDisable:false,activate:function(){var a=this;if(!a.activated&&a.canActivate&&a.rendered&&!a.isDisabled()&&a.isVisible()){a.el.addCls(a.activeCls);a.focus();a.activated=true;a.fireEvent("activate",a)}},blur:function(){this.$focused=false;this.callParent(arguments)},deactivate:function(){var a=this;if(a.activated){a.el.removeCls(a.activeCls);a.blur();a.hideMenu();a.activated=false;a.fireEvent("deactivate",a)}},deferExpandMenu:function(){var a=this;if(!a.menu.rendered||!a.menu.isVisible()){a.parentMenu.activeChild=a.menu;a.menu.parentItem=a;a.menu.parentMenu=a.menu.ownerCt=a.parentMenu;a.menu.showBy(a,a.menuAlign)}},deferHideMenu:function(){if(this.menu.isVisible()){this.menu.hide()}},deferHideParentMenus:function(){Ext.menu.Manager.hideAll()},expandMenu:function(a){var b=this;if(b.menu){clearTimeout(b.hideMenuTimer);if(a===0){b.deferExpandMenu()}else{b.expandMenuTimer=Ext.defer(b.deferExpandMenu,Ext.isNumber(a)?a:b.menuExpandDelay,b)}}},focus:function(){this.$focused=true;this.callParent(arguments)},getRefItems:function(a){var c=this.menu,b;if(c){b=c.getRefItems(a);b.unshift(c)}return b||[]},hideMenu:function(a){var b=this;if(b.menu){clearTimeout(b.expandMenuTimer);b.hideMenuTimer=Ext.defer(b.deferHideMenu,Ext.isNumber(a)?a:b.menuHideDelay,b)}},initComponent:function(){var b=this,c=Ext.baseCSSPrefix,a=[c+"menu-item"];b.addEvents("activate","click","deactivate");if(b.plain){a.push(c+"menu-item-plain")}if(b.cls){a.push(b.cls)}b.cls=a.join(" ");if(b.menu){b.menu=Ext.menu.Manager.get(b.menu)}b.callParent(arguments)},onClick:function(b){var a=this;if(!a.href){b.stopEvent()}if(a.disabled){return}if(a.hideOnClick){a.deferHideParentMenusTimer=Ext.defer(a.deferHideParentMenus,a.clickHideDelay,a)}Ext.callback(a.handler,a.scope||a,[a,b]);a.fireEvent("click",a,b);if(!a.hideOnClick){a.focus()}},onDestroy:function(){var a=this;clearTimeout(a.expandMenuTimer);clearTimeout(a.hideMenuTimer);clearTimeout(a.deferHideParentMenusTimer);if(a.menu){delete a.menu.parentItem;delete a.menu.parentMenu;delete a.menu.ownerCt;if(a.destroyMenu!==false){a.menu.destroy()}}a.callParent(arguments)},onRender:function(a,d){var b=this,c="."+Ext.baseCSSPrefix;Ext.applyIf(b.renderData,{href:b.href||"#",hrefTarget:b.hrefTarget,icon:b.icon||Ext.BLANK_IMAGE_URL,iconCls:b.iconCls+(b.checkChangeDisabled?" "+b.disabledCls:""),menu:Ext.isDefined(b.menu),plain:b.plain,text:b.text});Ext.applyIf(b.renderSelectors,{itemEl:c+"menu-item-link",iconEl:c+"menu-item-icon",textEl:c+"menu-item-text",arrowEl:c+"menu-item-arrow"});b.callParent(arguments)},setHandler:function(b,a){this.handler=b||null;this.scope=a},setIconCls:function(a){var b=this;if(b.iconEl){if(b.iconCls){b.iconEl.removeCls(b.iconCls)}if(a){b.iconEl.addCls(a)}}b.iconCls=a},setText:function(c){var b=this,a=b.textEl||b.el;b.text=c;if(b.rendered){a.update(c||"");b.ownerCt.redoComponentLayout()}}});Ext.define("Ext.menu.CheckItem",{extend:"Ext.menu.Item",alias:"widget.menucheckitem",checkedCls:Ext.baseCSSPrefix+"menu-item-checked",uncheckedCls:Ext.baseCSSPrefix+"menu-item-unchecked",groupCls:Ext.baseCSSPrefix+"menu-group-icon",hideOnClick:false,afterRender:function(){var a=this;this.callParent();a.checked=!a.checked;a.setChecked(!a.checked,true)},initComponent:function(){var a=this;a.addEvents("beforecheckchange","checkchange");a.callParent(arguments);Ext.menu.Manager.registerCheckable(a);if(a.group){if(!a.iconCls){a.iconCls=a.groupCls}if(a.initialConfig.hideOnClick!==false){a.hideOnClick=true}}},disableCheckChange:function(){var a=this;if(a.iconEl){a.iconEl.addCls(a.disabledCls)}a.checkChangeDisabled=true},enableCheckChange:function(){var a=this;a.iconEl.removeCls(a.disabledCls);a.checkChangeDisabled=false},onClick:function(b){var a=this;if(!a.disabled&&!a.checkChangeDisabled&&!(a.checked&&a.group)){a.setChecked(!a.checked)}this.callParent([b])},onDestroy:function(){Ext.menu.Manager.unregisterCheckable(this);this.callParent(arguments)},setChecked:function(c,a){var b=this;if(b.checked!==c&&(a||b.fireEvent("beforecheckchange",b,c)!==false)){if(b.el){b.el[c?"addCls":"removeCls"](b.checkedCls)[!c?"addCls":"removeCls"](b.uncheckedCls)}b.checked=c;Ext.menu.Manager.onCheckChange(b,c);if(!a){Ext.callback(b.checkHandler,b.scope,[b,c]);b.fireEvent("checkchange",b,c)}}}});Ext.define("Ext.menu.KeyNav",{extend:"Ext.util.KeyNav",requires:["Ext.FocusManager"],constructor:function(b){var a=this;a.menu=b;a.callParent([b.el,{down:a.down,enter:a.enter,esc:a.escape,left:a.left,right:a.right,space:a.enter,tab:a.tab,up:a.up}])},down:function(b){var a=this,c=a.menu.focusedItem;if(c&&b.getKey()==Ext.EventObject.DOWN&&a.isWhitelisted(c)){return true}a.focusNextItem(1)},enter:function(a){var b=this.menu;if(b.activeItem){b.onClick(a)}},escape:function(a){Ext.menu.Manager.hideAll()},focusNextItem:function(g){var h=this.menu,b=h.items,d=h.focusedItem,c=d?b.indexOf(d):-1,a=c+g;while(a!=c){if(a<0){a=b.length-1}else{if(a>=b.length){a=0}}var e=b.getAt(a);if(h.canActivateItem(e)){h.setActiveItem(e);break}a+=g}},isWhitelisted:function(a){return Ext.FocusManager.isWhitelisted(a)},left:function(b){var c=this.menu,d=c.focusedItem,a=c.activeItem;if(d&&this.isWhitelisted(d)){return true}c.hide();if(c.parentMenu){c.parentMenu.focus()}},right:function(c){var d=this.menu,g=d.focusedItem,a=d.activeItem,b;if(g&&this.isWhitelisted(g)){return true}if(a){b=d.activeItem.menu;if(b){a.expandMenu(0);Ext.defer(function(){b.setActiveItem(b.items.getAt(0))},25)}}},tab:function(b){var a=this;if(b.shiftKey){a.up(b)}else{a.down(b)}},up:function(b){var a=this,c=a.menu.focusedItem;if(c&&b.getKey()==Ext.EventObject.UP&&a.isWhitelisted(c)){return true}a.focusNextItem(-1)}});Ext.define("Ext.menu.Separator",{extend:"Ext.menu.Item",alias:"widget.menuseparator",canActivate:false,focusable:false,hideOnClick:false,plain:true,separatorCls:Ext.baseCSSPrefix+"menu-item-separator",text:" ",onRender:function(b,d){var c=this,a=c.separatorCls;c.cls+=" "+a;Ext.applyIf(c.renderSelectors,{itemSepEl:"."+a});c.callParent(arguments)}});Ext.define("Ext.menu.Menu",{extend:"Ext.panel.Panel",alias:"widget.menu",requires:["Ext.layout.container.Fit","Ext.layout.container.VBox","Ext.menu.CheckItem","Ext.menu.Item","Ext.menu.KeyNav","Ext.menu.Manager","Ext.menu.Separator"],allowOtherMenus:false,ariaRole:"menu",defaultAlign:"tl-bl?",floating:true,constrain:true,hidden:true,hideMode:"visibility",ignoreParentClicks:false,isMenu:true,showSeparator:true,minWidth:120,initComponent:function(){var b=this,d=Ext.baseCSSPrefix,a=[d+"menu"],c=b.bodyCls?[b.bodyCls]:[];b.addEvents("click","mouseenter","mouseleave","mouseover");Ext.menu.Manager.register(b);if(b.plain){a.push(d+"menu-plain")}b.cls=a.join(" ");c.unshift(d+"menu-body");b.bodyCls=c.join(" ");b.layout={type:"vbox",align:"stretchmax",autoSize:true,clearInnerCtOnLayout:true,overflowHandler:"Scroller"};if(b.floating===false&&b.initialConfig.hidden!==true){b.hidden=false}b.callParent(arguments);b.on("beforeshow",function(){var e=!!b.items.length;if(e&&b.rendered){b.el.setStyle("visibility",null)}return e})},afterRender:function(a){var b=this,d=Ext.baseCSSPrefix,c=" ";b.callParent(arguments);if(b.showSeparator){b.iconSepEl=b.layout.getRenderTarget().insertFirst({cls:d+"menu-icon-separator",html:c})}b.focusEl=b.el.createChild({cls:d+"menu-focus",tabIndex:"-1",html:c});b.mon(b.el,{click:b.onClick,mouseover:b.onMouseOver,scope:b});b.mouseMonitor=b.el.monitorMouseLeave(100,b.onMouseLeave,b);if(b.showSeparator&&((!Ext.isStrict&&Ext.isIE)||Ext.isIE6)){b.iconSepEl.setHeight(b.el.getHeight())}b.keyNav=Ext.create("Ext.menu.KeyNav",b)},afterLayout:function(){var k=this;k.callParent(arguments);if((!Ext.iStrict&&Ext.isIE)||Ext.isIE6){var a=k.layout.getRenderTarget(),c=0,b=k.dockedItems,d=b.length,g=0,h,j,e;c=a.getWidth();e=c+k.body.getBorderWidth("lr")+k.body.getPadding("lr");k.body.setWidth(e);for(;g=0){if(!a.menu||!b.ignoreParentClicks){a.onClick(c)}else{c.stopEvent()}}}b.fireEvent("click",b,a,c)}},onDestroy:function(){var a=this;Ext.menu.Manager.unregister(a);if(a.rendered){a.el.un(a.mouseMonitor);a.keyNav.destroy();delete a.keyNav}a.callParent(arguments)},onMouseLeave:function(b){var a=this;a.deactivateActiveItem();if(a.disabled){return}a.fireEvent("mouseleave",a,b)},onMouseOver:function(d){var c=this,g=d.getRelatedTarget(),a=!c.el.contains(g),b=c.getItemFromEvent(d);if(a&&c.parentMenu){c.parentMenu.setActiveItem(c.parentItem);c.parentMenu.mouseMonitor.mouseenter()}if(c.disabled){return}if(b){c.setActiveItem(b);if(b.activated&&b.expandMenu){b.expandMenu()}}if(a){c.fireEvent("mouseenter",c,d)}c.fireEvent("mouseover",c,b,d)},setActiveItem:function(b){var a=this;if(b&&(b!=a.activeItem&&b!=a.focusedItem)){a.deactivateActiveItem();if(a.canActivateItem(b)){if(b.activate){b.activate();if(b.activated){a.activeItem=b;a.focusedItem=b;a.focus()}}else{b.focus();a.focusedItem=b}}b.el.scrollIntoView(a.layout.getRenderTarget())}},showBy:function(b,g,e){var a=this,d,c;if(a.floating&&b){a.layout.autoSize=true;a.doAutoRender();b=b.el||b;d=a.el.getAlignToXY(b,g||a.defaultAlign,e);if(a.floatParent){c=a.floatParent.getTargetEl().getViewRegion();d[0]-=c.x;d[1]-=c.y}a.showAt(d)}return a},showAt:function(){this.callParent(arguments);if(this.floating){this.doConstrain()}},doConstrain:function(){var g=this,h=g.el.getY(),i,e,b,j=h,k,d,a,c;delete g.height;g.setSize();e=g.getHeight();if(g.floating){d=Ext.fly(g.el.dom.parentNode);a=d.getScroll().top;c=d.getViewSize().height;k=h-a;i=g.maxHeight?g.maxHeight:c-k;if(e>c){i=c;j=h-k}else{if(ii&&i>0){g.layout.autoSize=false;g.setHeight(i);if(g.showSeparator){g.iconSepEl.setHeight(g.layout.getRenderTarget().dom.scrollHeight)}}b=g.getConstrainVector(g.el.dom.parentNode);if(b){g.setPosition(g.getPosition()[0]+b[0])}g.el.setY(j)}});Ext.define("Ext.menu.ColorPicker",{extend:"Ext.menu.Menu",alias:"widget.colormenu",requires:["Ext.picker.Color"],hideOnClick:true,pickerId:null,initComponent:function(){var a=this;Ext.apply(a,{plain:true,showSeparator:false,items:Ext.applyIf({cls:Ext.baseCSSPrefix+"menu-color-item",id:a.pickerId,xtype:"colorpicker"},a.initialConfig)});a.callParent(arguments);a.picker=a.down("colorpicker");a.relayEvents(a.picker,["select"]);if(a.hideOnClick){a.on("select",a.hidePickerOnSelect,a)}},hidePickerOnSelect:function(){Ext.menu.Manager.hideAll()}});Ext.define("Ext.menu.DatePicker",{extend:"Ext.menu.Menu",alias:"widget.datemenu",requires:["Ext.picker.Date"],hideOnClick:true,pickerId:null,initComponent:function(){var a=this;Ext.apply(a,{showSeparator:false,plain:true,border:false,bodyPadding:0,items:Ext.applyIf({cls:Ext.baseCSSPrefix+"menu-date-item",id:a.pickerId,xtype:"datepicker"},a.initialConfig)});a.callParent(arguments);a.picker=a.down("datepicker");a.relayEvents(a.picker,["select"]);if(a.hideOnClick){a.on("select",a.hidePickerOnSelect,a)}},hidePickerOnSelect:function(){Ext.menu.Manager.hideAll()}});Ext.define("Ext.panel.Tool",{extend:"Ext.Component",requires:["Ext.tip.QuickTipManager"],alias:"widget.tool",baseCls:Ext.baseCSSPrefix+"tool",disabledCls:Ext.baseCSSPrefix+"tool-disabled",toolPressedCls:Ext.baseCSSPrefix+"tool-pressed",toolOverCls:Ext.baseCSSPrefix+"tool-over",ariaRole:"button",renderTpl:[''],stopEvent:true,initComponent:function(){var a=this;a.addEvents("click");a.type=a.type||a.id;Ext.applyIf(a.renderData,{baseCls:a.baseCls,blank:Ext.BLANK_IMAGE_URL,type:a.type});a.renderSelectors.toolEl="."+a.baseCls+"-"+a.type;a.callParent()},afterRender:function(){var a=this;a.callParent(arguments);if(a.qtip){if(Ext.isObject(a.qtip)){Ext.tip.QuickTipManager.register(Ext.apply({target:a.id},a.qtip))}else{a.toolEl.dom.qtip=a.qtip}}a.mon(a.toolEl,{click:a.onClick,mousedown:a.onMouseDown,mouseover:a.onMouseOver,mouseout:a.onMouseOut,scope:a})},setType:function(a){var b=this;b.type=a;if(b.rendered){b.toolEl.dom.className=b.baseCls+"-"+a}return b},bindTo:function(a){this.owner=a},onClick:function(d,c){var b=this,a;if(b.disabled){return false}a=b.owner||b.ownerCt;b.el.removeCls(b.toolPressedCls);b.el.removeCls(b.toolOverCls);if(b.stopEvent!==false){d.stopEvent()}Ext.callback(b.handler,b.scope||b,[d,c,a,b]);b.fireEvent("click",b,d);return true},onDestroy:function(){if(Ext.isObject(this.tooltip)){Ext.tip.QuickTipManager.unregister(this.id)}this.callParent()},onMouseDown:function(){if(this.disabled){return false}this.el.addCls(this.toolPressedCls)},onMouseOver:function(){if(this.disabled){return false}this.el.addCls(this.toolOverCls)},onMouseOut:function(){this.el.removeCls(this.toolOverCls)}});Ext.define("Ext.resizer.Handle",{extend:"Ext.Component",handleCls:"",baseHandleCls:Ext.baseCSSPrefix+"resizable-handle",region:"",onRender:function(){this.addCls(this.baseHandleCls,this.baseHandleCls+"-"+this.region,this.handleCls);this.callParent(arguments);this.el.unselectable()}});Ext.define("Ext.resizer.Resizer",{mixins:{observable:"Ext.util.Observable"},uses:["Ext.resizer.ResizeTracker","Ext.Component"],alternateClassName:"Ext.Resizable",handleCls:Ext.baseCSSPrefix+"resizable-handle",pinnedCls:Ext.baseCSSPrefix+"resizable-pinned",overCls:Ext.baseCSSPrefix+"resizable-over",proxyCls:Ext.baseCSSPrefix+"resizable-proxy",wrapCls:Ext.baseCSSPrefix+"resizable-wrap",dynamic:true,handles:"s e se",height:null,width:null,heightIncrement:0,widthIncrement:0,minHeight:20,minWidth:20,maxHeight:10000,maxWidth:10000,pinned:false,preserveRatio:false,transparent:false,possiblePositions:{n:"north",s:"south",e:"east",w:"west",se:"southeast",sw:"southwest",nw:"northwest",ne:"northeast"},constructor:function(a){var h=this,g,m,l=h.handles,b,k,e,c=0,j;this.addEvents("beforeresize","resizedrag","resize");if(Ext.isString(a)||Ext.isElement(a)||a.dom){g=a;a=arguments[1]||{};a.target=g}h.mixins.observable.constructor.call(h,a);g=h.target;if(g){if(g.isComponent){h.el=g.getEl();if(g.minWidth){h.minWidth=g.minWidth}if(g.minHeight){h.minHeight=g.minHeight}if(g.maxWidth){h.maxWidth=g.maxWidth}if(g.maxHeight){h.maxHeight=g.maxHeight}if(g.floating){if(!this.hasOwnProperty("handles")){this.handles="n ne e se s sw w nw"}}}else{h.el=h.target=Ext.get(g)}}else{h.target=h.el=Ext.get(h.el)}m=h.el.dom.tagName;if(m=="TEXTAREA"||m=="IMG"){h.originalTarget=h.target;h.target=h.el=h.el.wrap({cls:h.wrapCls,id:h.el.id+"-rzwrap"});h.el.setPositioning(h.originalTarget.getPositioning());h.originalTarget.clearPositioning();var d=h.originalTarget.getBox();h.el.setBox(d)}h.el.position();if(h.pinned){h.el.addCls(h.pinnedCls)}h.resizeTracker=Ext.create("Ext.resizer.ResizeTracker",{disabled:h.disabled,target:h.target,constrainTo:h.constrainTo,overCls:h.overCls,throttle:h.throttle,originalTarget:h.originalTarget,delegate:"."+h.handleCls,dynamic:h.dynamic,preserveRatio:h.preserveRatio,heightIncrement:h.heightIncrement,widthIncrement:h.widthIncrement,minHeight:h.minHeight,maxHeight:h.maxHeight,minWidth:h.minWidth,maxWidth:h.maxWidth});h.resizeTracker.on("mousedown",h.onBeforeResize,h);h.resizeTracker.on("drag",h.onResize,h);h.resizeTracker.on("dragend",h.onResizeEnd,h);if(h.handles=="all"){h.handles="n s e w ne nw se sw"}l=h.handles=h.handles.split(/ |\s*?[,;]\s*?/);k=h.possiblePositions;e=l.length;b=h.handleCls+" "+(this.target.isComponent?(h.target.baseCls+"-handle "):"")+h.handleCls+"-";for(;cc){d.minWidth=d.el.getWidth()*a}else{d.minHeight=d.el.getHeight()*c}}if(d.throttle){var e=Ext.Function.createThrottled(function(){Ext.resizer.ResizeTracker.prototype.resize.apply(d,arguments)},d.throttle);d.resize=function(h,i,g){if(g){Ext.resizer.ResizeTracker.prototype.resize.apply(d,arguments)}else{e.apply(null,arguments)}}}},onBeforeStart:function(a){this.startBox=this.el.getBox()},getDynamicTarget:function(){var a=this.target;if(this.dynamic){return a}else{if(!this.proxy){this.proxy=a.isComponent?a.getProxy().addCls(Ext.baseCSSPrefix+"resizable-proxy"):a.createProxy({tag:"div",cls:Ext.baseCSSPrefix+"resizable-proxy",id:a.id+"-rzproxy"},Ext.getBody());this.proxy.removeCls(Ext.baseCSSPrefix+"proxy-el")}}this.proxy.show();return this.proxy},onStart:function(a){this.activeResizeHandle=Ext.getCmp(this.getDragTarget().id);if(!this.dynamic){this.resize(this.startBox,{horizontal:"none",vertical:"none"})}},onDrag:function(a){if(this.dynamic||this.proxy){this.updateDimensions(a)}},updateDimensions:function(t,m){var u=this,c=u.activeResizeHandle.region,g=u.getOffset(u.constrainTo?"dragTarget":null),k=u.startBox,h,q=0,v=0,j,r,a=0,x=0,w,n=g[0]<0?"right":"left",s=g[1]<0?"down":"up",i,b;switch(c){case"south":v=g[1];b=2;break;case"north":v=-g[1];x=-v;b=2;break;case"east":q=g[0];b=1;break;case"west":q=-g[0];a=-q;b=1;break;case"northeast":v=-g[1];x=-v;q=g[0];i=[k.x,k.y+k.height];b=3;break;case"southeast":v=g[1];q=g[0];i=[k.x,k.y];b=3;break;case"southwest":q=-g[0];a=-q;v=g[1];i=[k.x+k.width,k.y];b=3;break;case"northwest":v=-g[1];x=-v;q=-g[0];a=-q;i=[k.x+k.width,k.y+k.height];b=3;break}var d={width:k.width+q,height:k.height+v,x:k.x+a,y:k.y+x};j=Ext.Number.snap(d.width,u.widthIncrement);r=Ext.Number.snap(d.height,u.heightIncrement);if(j!=d.width||r!=d.height){switch(c){case"northeast":d.y-=r-d.height;break;case"north":d.y-=r-d.height;break;case"southwest":d.x-=j-d.width;break;case"west":d.x-=j-d.width;break;case"northwest":d.x-=j-d.width;d.y-=r-d.height}d.width=j;d.height=r}if(d.widthu.maxWidth){d.width=Ext.Number.constrain(d.width,u.minWidth,u.maxWidth);if(a){d.x=k.x+(k.width-d.width)}}else{u.lastX=d.x}if(d.heightu.maxHeight){d.height=Ext.Number.constrain(d.height,u.minHeight,u.maxHeight);if(x){d.y=k.y+(k.height-d.height)}}else{u.lastY=d.y}if(u.preserveRatio||t.shiftKey){var p,l;h=u.startBox.width/u.startBox.height;p=Math.min(Math.max(u.minHeight,d.width/h),u.maxHeight);l=Math.min(Math.max(u.minWidth,d.height*h),u.maxWidth);if(b==1){d.height=p}else{if(b==2){d.width=l}else{w=Math.abs(i[0]-this.lastXY[0])/Math.abs(i[1]-this.lastXY[1]);if(w>h){d.height=p}else{d.width=l}if(c=="northeast"){d.y=k.y-(d.height-k.height)}else{if(c=="northwest"){d.y=k.y-(d.height-k.height);d.x=k.x-(d.width-k.width)}else{if(c=="southwest"){d.x=k.x-(d.width-k.width)}}}}}}if(v===0){s="none"}if(q===0){n="none"}u.resize(d,{horizontal:n,vertical:s},m)},getResizeTarget:function(a){return a?this.target:this.getDynamicTarget()},resize:function(b,d,a){var c=this.getResizeTarget(a);if(c.isComponent){if(c.floating){c.setPagePosition(b.x,b.y)}c.setSize(b.width,b.height)}else{c.setBox(b);if(this.originalTarget){this.originalTarget.setBox(b)}}},onEnd:function(a){this.updateDimensions(a,true);if(this.proxy){this.proxy.hide()}}});Ext.define("Ext.resizer.SplitterTracker",{extend:"Ext.dd.DragTracker",requires:["Ext.util.Region"],enabled:true,overlayCls:Ext.baseCSSPrefix+"resizable-overlay",getPrevCmp:function(){var a=this.getSplitter();return a.previousSibling()},getNextCmp:function(){var a=this.getSplitter();return a.nextSibling()},onBeforeStart:function(h){var d=this,g=d.getPrevCmp(),a=d.getNextCmp(),c=d.getSplitter().collapseEl,b;if(c&&(h.getTarget()===d.getSplitter().collapseEl.dom)){return false}if(a.collapsed||g.collapsed){return false}b=d.overlay=Ext.getBody().createChild({cls:d.overlayCls,html:" "});b.unselectable();b.setSize(Ext.core.Element.getViewWidth(true),Ext.core.Element.getViewHeight(true));b.show();d.prevBox=g.getEl().getBox();d.nextBox=a.getEl().getBox();d.constrainTo=d.calculateConstrainRegion()},onStart:function(b){var a=this.getSplitter();a.addCls(a.baseCls+"-active")},calculateConstrainRegion:function(){var g=this,a=g.getSplitter(),h=a.getWidth(),i=a.defaultSplitMin,b=a.orientation,d=g.prevBox,j=g.getPrevCmp(),c=g.nextBox,e=g.getNextCmp(),l,k;if(b==="vertical"){l=Ext.create("Ext.util.Region",d.y,(j.maxWidth?d.x+j.maxWidth:c.right-(e.minWidth||i))+h,d.bottom,d.x+(j.minWidth||i));k=Ext.create("Ext.util.Region",c.y,c.right-(e.minWidth||i),c.bottom,(e.maxWidth?c.right-e.maxWidth:d.x+(d.minWidth||i))-h)}else{l=Ext.create("Ext.util.Region",d.y+(j.minHeight||i),d.right,(j.maxHeight?d.y+j.maxHeight:c.bottom-(e.minHeight||i))+h,d.x);k=Ext.create("Ext.util.Region",(e.maxHeight?c.bottom-e.maxHeight:d.y+(j.minHeight||i))-h,c.right,c.bottom-(e.minHeight||i),c.x)}return l.intersect(k)},performResize:function(h){var j=this,c=j.getOffset("dragTarget"),a=j.getSplitter(),d=a.orientation,k=j.getPrevCmp(),i=j.getNextCmp(),b=a.ownerCt,g=b.getLayout();b.suspendLayout=true;if(d==="vertical"){if(k){if(!k.maintainFlex){delete k.flex;k.setSize(j.prevBox.width+c[0],k.getHeight())}}if(i){if(!i.maintainFlex){delete i.flex;i.setSize(j.nextBox.width-c[0],i.getHeight())}}}else{if(k){if(!k.maintainFlex){delete k.flex;k.setSize(k.getWidth(),j.prevBox.height+c[1])}}if(i){if(!i.maintainFlex){delete i.flex;i.setSize(k.getWidth(),j.nextBox.height-c[1])}}}delete b.suspendLayout;g.onLayout()},endDrag:function(){var a=this;if(a.overlay){a.overlay.remove();delete a.overlay}a.callParent(arguments)},onEnd:function(c){var a=this,b=a.getSplitter();b.removeCls(b.baseCls+"-active");a.performResize()},onDrag:function(g){var c=this,h=c.getOffset("dragTarget"),d=c.getSplitter(),b=d.getEl(),a=d.orientation;if(a==="vertical"){b.setX(c.startRegion.left+h[0])}else{b.setY(c.startRegion.top+h[1])}},getSplitter:function(){return Ext.getCmp(this.getDragCt().id)}});Ext.define("Ext.selection.CellModel",{extend:"Ext.selection.Model",alias:"selection.cellmodel",requires:["Ext.util.KeyNav"],enableKeyNav:true,preventWrap:false,constructor:function(){this.addEvents("deselect","select");this.callParent(arguments)},bindComponent:function(a){var b=this;b.primaryView=a;b.views=b.views||[];b.views.push(a);b.bind(a.getStore(),true);a.on({cellmousedown:b.onMouseDown,refresh:b.onViewRefresh,scope:b});if(b.enableKeyNav){b.initKeyNav(a)}},initKeyNav:function(a){var b=this;if(!a.rendered){a.on("render",Ext.Function.bind(b.initKeyNav,b,[a],0),b,{single:true});return}a.el.set({tabIndex:-1});b.keyNav=Ext.create("Ext.util.KeyNav",a.el,{up:b.onKeyUp,down:b.onKeyDown,right:b.onKeyRight,left:b.onKeyLeft,tab:b.onKeyTab,scope:b})},getHeaderCt:function(){return this.primaryView.headerCt},onKeyUp:function(b,a){this.move("up",b)},onKeyDown:function(b,a){this.move("down",b)},onKeyLeft:function(b,a){this.move("left",b)},onKeyRight:function(b,a){this.move("right",b)},move:function(a,c){var b=this,d=b.primaryView.walkCells(b.getCurrentPosition(),a,c,b.preventWrap);if(d){b.setCurrentPosition(d)}return d},getCurrentPosition:function(){return this.position},setCurrentPosition:function(b){var a=this;if(a.position){a.onCellDeselect(a.position)}if(b){a.onCellSelect(b)}a.position=b},onMouseDown:function(c,a,d,b,h,i,g){this.setCurrentPosition({row:i,column:d})},onCellSelect:function(a){var d=this,c=d.view.getStore(),b=c.getAt(a.row);d.doSelect(b);d.primaryView.onCellSelect(a);d.primaryView.onCellFocus(a);d.fireEvent("select",d,b,a.row,a.column)},onCellDeselect:function(a){var d=this,c=d.view.getStore(),b=c.getAt(a.row);d.doDeselect(b);d.primaryView.onCellDeselect(a);d.fireEvent("deselect",d,b,a.row,a.column)},onKeyTab:function(h,c){var d=this,g=h.shiftKey?"left":"right",b=d.view.editingPlugin,a=d.move(g,h);if(b&&a&&d.wasEditing){b.startEditByPosition(a)}delete d.wasEditing},onEditorTab:function(b,g){var c=this,d=g.shiftKey?"left":"right",a=c.move(d,g);if(a){b.startEditByPosition(a);c.wasEditing=true}},refresh:function(){var a=this.getCurrentPosition();if(a){this.onCellSelect(a)}},onViewRefresh:function(){var a=this.getCurrentPosition();if(a){this.onCellDeselect(a);this.setCurrentPosition(null)}},selectByPosition:function(a){this.setCurrentPosition(a)}});Ext.define("Ext.selection.RowModel",{extend:"Ext.selection.Model",alias:"selection.rowmodel",requires:["Ext.util.KeyNav"],deltaScroll:5,enableKeyNav:true,constructor:function(){this.addEvents("beforedeselect","beforeselect","deselect","select");this.callParent(arguments)},bindComponent:function(a){var b=this;b.views=b.views||[];b.views.push(a);b.bind(a.getStore(),true);a.on({itemmousedown:b.onRowMouseDown,scope:b});if(b.enableKeyNav){b.initKeyNav(a)}},initKeyNav:function(a){var b=this;if(!a.rendered){a.on("render",Ext.Function.bind(b.initKeyNav,b,[a],0),b,{single:true});return}a.el.set({tabIndex:-1});b.keyNav=new Ext.util.KeyNav(a.el,{up:b.onKeyUp,down:b.onKeyDown,right:b.onKeyRight,left:b.onKeyLeft,pageDown:b.onKeyPageDown,pageUp:b.onKeyPageUp,home:b.onKeyHome,end:b.onKeyEnd,scope:b});a.el.on(Ext.EventManager.getKeyEvent(),b.onKeyPress,b)},getRowsVisible:function(){var e=false,a=this.views[0],d=a.getNode(0),b,c;if(d){b=Ext.fly(d).getHeight();c=a.el.getHeight();e=Math.floor(c/b)}return e},onKeyEnd:function(d,a){var c=this,b=c.store.getAt(c.store.getCount()-1);if(b){if(d.shiftKey){c.selectRange(b,c.lastFocused||0);c.setLastFocused(b)}else{if(d.ctrlKey){c.setLastFocused(b)}else{c.doSelect(b)}}}},onKeyHome:function(c,a){var b=this,d=b.store.getAt(0);if(d){if(c.shiftKey){b.selectRange(d,b.lastFocused||0);b.setLastFocused(d)}else{if(c.ctrlKey){b.setLastFocused(d)}else{b.doSelect(d,false)}}}},onKeyPageUp:function(i,d){var h=this,j=h.getRowsVisible(),b,c,a,g;if(j){b=h.lastFocused?h.store.indexOf(h.lastFocused):0;c=b-j;if(c<0){c=0}a=h.store.getAt(c);if(i.shiftKey){g=h.store.getAt(b);h.selectRange(a,g,i.ctrlKey,"up");h.setLastFocused(a)}else{if(i.ctrlKey){i.preventDefault();h.setLastFocused(a)}else{h.doSelect(a)}}}},onKeyPageDown:function(i,b){var g=this,j=g.getRowsVisible(),a,h,d,c;if(j){a=g.lastFocused?g.store.indexOf(g.lastFocused):0;h=a+j;if(h>=g.store.getCount()){h=g.store.getCount()-1}d=g.store.getAt(h);if(i.shiftKey){c=g.store.getAt(a);g.selectRange(d,c,i.ctrlKey,"down");g.setLastFocused(d)}else{if(i.ctrlKey){i.preventDefault();g.setLastFocused(d)}else{g.doSelect(d)}}}},onKeyPress:function(d,b){if(d.getKey()===d.SPACE){d.stopEvent();var c=this,a=c.lastFocused;if(a){if(c.isSelected(a)){c.doDeselect(a,false)}else{c.doSelect(a,true)}}}},onKeyUp:function(h,d){var g=this,c=g.views[0],a=g.store.indexOf(g.lastFocused),b;if(a>0){b=g.store.getAt(a-1);if(h.shiftKey&&g.lastFocused){if(g.isSelected(g.lastFocused)&&g.isSelected(b)){g.doDeselect(g.lastFocused,true);g.setLastFocused(b)}else{if(!g.isSelected(g.lastFocused)){g.doSelect(g.lastFocused,true);g.doSelect(b,true)}else{g.doSelect(b,true)}}}else{if(h.ctrlKey){g.setLastFocused(b)}else{g.doSelect(b)}}}},onKeyDown:function(h,d){var g=this,c=g.views[0],a=g.store.indexOf(g.lastFocused),b;if(a+1 '},onRowMouseDown:function(b,a,h,d,i){b.el.focus();var g=this,c=i.getTarget("."+Ext.baseCSSPrefix+"grid-row-checker");if(g.checkOnly&&!c){return}if(c){var j=g.getSelectionMode();if(j!=="SINGLE"){g.setSelectionMode("SIMPLE")}g.selectWithEvent(a,i);g.setSelectionMode(j)}else{g.selectWithEvent(a,i)}},onSelectChange:function(){this.callParent(arguments);var a=this.selected.getCount()===this.store.getCount();this.toggleUiHeader(a)}});Ext.define("Ext.selection.TreeModel",{extend:"Ext.selection.RowModel",alias:"selection.treemodel",pruneRemoved:false,onKeyRight:function(d,b){var c=this.getLastFocused(),a=this.view;if(c){if(c.isExpanded()){this.onKeyDown(d,b)}else{if(!c.isLeaf()){a.expand(c)}}}},onKeyLeft:function(i,d){var h=this.getLastFocused(),c=this.view,b=c.getSelectionModel(),a,g;if(h){a=h.parentNode;if(h.isExpanded()){c.collapse(h)}else{if(a&&!a.isRoot()){if(i.shiftKey){b.selectRange(a,h,i.ctrlKey,"up");b.setLastFocused(a)}else{if(i.ctrlKey){b.setLastFocused(a)}else{b.select(a)}}}}}},onKeyPress:function(d,a){var b,c;if(d.getKey()===d.SPACE||d.getKey()===d.ENTER){d.stopEvent();b=this.getLastSelected();if(b&&b.isLeaf()){c=b.get("checked");if(Ext.isBoolean(c)){b.set("checked",!c)}}}else{this.callParent(arguments)}}});Ext.define("Ext.slider.Thumb",{requires:["Ext.dd.DragTracker","Ext.util.Format"],topZIndex:10000,constructor:function(a){var b=this;Ext.apply(b,a||{},{cls:Ext.baseCSSPrefix+"slider-thumb",constrain:false});b.callParent([a]);if(b.slider.vertical){Ext.apply(b,Ext.slider.Thumb.Vertical)}},render:function(){var a=this;a.el=a.slider.innerEl.insertFirst({cls:a.cls});if(a.disabled){a.disable()}a.initEvents()},move:function(b,a){if(!a){this.el.setLeft(b)}else{Ext.create("Ext.fx.Anim",{target:this.el,duration:350,to:{left:b}})}},bringToFront:function(){this.el.setStyle("zIndex",this.topZIndex)},sendToBack:function(){this.el.setStyle("zIndex","")},enable:function(){var a=this;a.disabled=false;if(a.el){a.el.removeCls(a.slider.disabledCls)}},disable:function(){var a=this;a.disabled=true;if(a.el){a.el.addCls(a.slider.disabledCls)}},initEvents:function(){var b=this,a=b.el;b.tracker=Ext.create("Ext.dd.DragTracker",{onBeforeStart:Ext.Function.bind(b.onBeforeDragStart,b),onStart:Ext.Function.bind(b.onDragStart,b),onDrag:Ext.Function.bind(b.onDrag,b),onEnd:Ext.Function.bind(b.onDragEnd,b),tolerance:3,autoStart:300,overCls:Ext.baseCSSPrefix+"slider-thumb-over"});b.tracker.initEl(a)},onBeforeDragStart:function(a){if(this.disabled){return false}else{this.slider.promoteThumb(this);return true}},onDragStart:function(b){var a=this;a.el.addCls(Ext.baseCSSPrefix+"slider-thumb-drag");a.dragging=true;a.dragStartValue=a.value;a.slider.fireEvent("dragstart",a.slider,b,a)},onDrag:function(h){var d=this,c=d.slider,b=d.index,g=d.getNewValue(),a,i;if(d.constrain){a=c.thumbs[b+1];i=c.thumbs[b-1];if(i!==undefined&&g<=i.value){g=i.value}if(a!==undefined&&g>=a.value){g=a.value}}c.setValue(b,g,false);c.fireEvent("drag",c,h,d)},getNewValue:function(){var a=this.slider,b=a.innerEl.translatePoints(this.tracker.getXY());return Ext.util.Format.round(a.reverseValue(b.left),a.decimalPrecision)},onDragEnd:function(d){var b=this,a=b.slider,c=b.value;b.el.removeCls(Ext.baseCSSPrefix+"slider-thumb-drag");b.dragging=false;a.fireEvent("dragend",a,d);if(b.dragStartValue!=c){a.fireEvent("changecomplete",a,c,b)}},destroy:function(){Ext.destroy(this.tracker)},statics:{Vertical:{getNewValue:function(){var b=this.slider,c=b.innerEl,d=c.translatePoints(this.tracker.getXY()),a=c.getHeight()-d.top;return Ext.util.Format.round(b.reverseValue(a),b.decimalPrecision)},move:function(b,a){if(!a){this.el.setBottom(b)}else{Ext.create("Ext.fx.Anim",{target:this.el,duration:350,to:{bottom:b}})}}}}});Ext.define("Ext.slider.Tip",{extend:"Ext.tip.Tip",minWidth:10,alias:"widget.slidertip",offsets:[0,-10],isSliderTip:true,init:function(b){var a=this;b.on({scope:a,dragstart:a.onSlide,drag:a.onSlide,dragend:a.hide,destroy:a.destroy})},onSlide:function(c,d,a){var b=this;b.show();b.update(b.getText(a));b.doComponentLayout();b.el.alignTo(a.el,"b-t?",b.offsets)},getText:function(a){return String(a.value)}});Ext.define("Ext.slider.Multi",{extend:"Ext.form.field.Base",alias:"widget.multislider",alternateClassName:"Ext.slider.MultiSlider",requires:["Ext.slider.Thumb","Ext.slider.Tip","Ext.Number","Ext.util.Format","Ext.Template","Ext.layout.component.field.Slider"],fieldSubTpl:['
    ','","
    ",{disableFormats:true,compiled:true}],vertical:false,minValue:0,maxValue:100,decimalPrecision:0,keyIncrement:1,increment:0,clickRange:[5,15],clickToChange:true,animate:true,dragging:false,constrainThumbs:true,componentLayout:"sliderfield",useTips:true,tipText:null,ariaRole:"slider",initValue:function(){var e=this,c=Ext.value,b=c(e.values,[c(e.value,c(e.minValue,0))]),d=0,a=b.length;e.originalValue=b;for(;dd.clickRange[0]&&c.topg?g:c.value}e.syncThumbs()},setValue:function(c,g,b,e){var d=this,a=d.thumbs[c];g=d.normalizeValue(g);if(g!==a.value&&d.fireEvent("beforechange",d,g,a.value,a)!==false){a.value=g;if(d.rendered){d.inputEl.set({"aria-valuenow":g,"aria-valuetext":g});a.move(d.translateValue(g),Ext.isDefined(b)?b!==false:d.animate);d.fireEvent("change",d,g,a);if(e){d.fireEvent("changecomplete",d,g,a)}}}},translateValue:function(a){var b=this.getRatio();return(a*b)-(this.minValue*b)-this.halfThumb},reverseValue:function(b){var a=this.getRatio();return(b+(this.minValue*a))/a},focus:function(){this.focusEl.focus(10)},onDisable:function(){var g=this,d=0,b=g.thumbs,a=b.length,c,e,h;g.callParent();for(;de.clickRange[0]&&d.left {baseCls}-body-{ui} {parent.baseCls}-body-{parent.ui}-{.}" style="{bodyStyle}">','
    {baseCls}-strip-{ui} {parent.baseCls}-strip-{parent.ui}-{.}">
    '],minTabWidth:30,maxTabWidth:undefined,initComponent:function(){var b=this,a;if(b.plain){b.setUI(b.ui+"-plain")}b.addClsWithUI(b.dock);b.addEvents("change");Ext.applyIf(b.renderSelectors,{body:"."+b.baseCls+"-body",strip:"."+b.baseCls+"-strip"});b.callParent(arguments);b.layout.align=(b.orientation=="vertical")?"left":"top";b.layout.overflowHandler=Ext.create("Ext.layout.container.boxOverflow.Scroller",b.layout);b.items.removeAt(b.items.getCount()-1);b.items.removeAt(b.items.getCount()-1);a=b.orientation=="vertical"?["up","down"]:["left","right"];Ext.FocusManager.subscribe(b,{keys:a})},onAdd:function(a){var b=this,d=b.tabPanel,c=!!d;b.callParent(arguments);a.position=b.dock;if(c){a.minWidth=d.minTabWidth}else{a.minWidth=b.minTabWidth+(a.iconCls?25:0)}a.maxWidth=b.maxTabWidth||(c?d.maxTabWidth:undefined)},afterRender:function(){var a=this;a.mon(a.el,{scope:a,click:a.onClick,delegate:"."+Ext.baseCSSPrefix+"tab"});a.callParent(arguments)},afterComponentLayout:function(){var a=this;a.callParent(arguments);a.strip.setWidth(a.el.getWidth())},onClick:function(d,c){var b=Ext.getCmp(c.id),g=this.tabPanel,a=true;c=d.getTarget();if(b&&b.isDisabled&&!b.isDisabled()){if(b.closable&&c===b.closeEl.dom){b.onCloseClick()}else{if(g){g.setActiveTab(b.card)}else{this.setActiveTab(b)}b.focus()}}},closeTab:function(c){var d=this,b=c.card,e=d.tabPanel,a;if(b&&b.fireEvent("beforeclose",b)===false){return false}if(c.active&&d.items.getCount()>1){a=c.next("tab")||d.items.items[0];d.setActiveTab(a);if(e){e.setActiveTab(a.card)}}c.fireClose();d.remove(c);if(e&&b){b.fireEvent("close",b);e.remove(b)}if(a){a.focus()}},setActiveTab:function(a){if(a.disabled){return}var b=this;if(b.activeTab){b.activeTab.deactivate()}a.activate();if(b.rendered){b.layout.layout();a.el.scrollIntoView(b.layout.getRenderTarget())}b.activeTab=a;b.fireEvent("change",b,a,a.card)}});Ext.define("Ext.tab.Panel",{extend:"Ext.panel.Panel",alias:"widget.tabpanel",alternateClassName:["Ext.TabPanel"],requires:["Ext.layout.container.Card","Ext.tab.Bar"],tabPosition:"top",removePanelHeader:true,plain:false,itemCls:"x-tabpanel-child",deferredRender:true,initComponent:function(){var c=this,b=c.dockedItems||[],a=c.activeTab||0;c.layout=Ext.create("Ext.layout.container.Card",Ext.apply({owner:c,deferredRender:c.deferredRender,itemCls:c.itemCls},c.layout));c.tabBar=Ext.create("Ext.tab.Bar",Ext.apply({},c.tabBar,{dock:c.tabPosition,plain:c.plain,border:c.border,cardLayout:c.layout,tabPanel:c}));if(b&&!Ext.isArray(b)){b=[b]}b.push(c.tabBar);c.dockedItems=b;c.addEvents("beforetabchange","tabchange");c.callParent(arguments);c.setActiveTab(a);c.on("afterlayout",c.afterInitialLayout,c,{single:true})},afterInitialLayout:function(){var b=this,a=b.getComponent(b.activeTab);if(a){b.layout.setActiveItem(a)}},setActiveTab:function(a){var c=this,b;a=c.getComponent(a);if(a){b=c.getActiveTab();if(b&&b!==a&&c.fireEvent("beforetabchange",c,a,b)===false){return false}c.tabBar.setActiveTab(a.tab);c.activeTab=a;if(c.rendered){c.layout.setActiveItem(a)}if(b&&b!==a){c.fireEvent("tabchange",c,a,b)}}},getActiveTab:function(){return this.activeTab},getTabBar:function(){return this.tabBar},onAdd:function(e,c){var d=this,b=e.tabConfig||{},a={xtype:"tab",card:e,disabled:e.disabled,closable:e.closable,hidden:e.hidden,tabBar:d.tabBar};if(e.closeText){a.closeText=e.closeText}b=Ext.applyIf(b,a);e.tab=d.tabBar.insert(c,b);e.on({scope:d,enable:d.onItemEnable,disable:d.onItemDisable,beforeshow:d.onItemBeforeShow,iconchange:d.onItemIconChange,titlechange:d.onItemTitleChange});if(e.isPanel){if(d.removePanelHeader){e.preventHeader=true;if(e.rendered){e.updateHeader()}}if(e.isPanel&&d.border){e.setBorder(false)}}if(this.rendered&&d.items.getCount()===1){d.setActiveTab(0)}},onItemEnable:function(a){a.tab.enable()},onItemDisable:function(a){a.tab.disable()},onItemBeforeShow:function(a){if(a!==this.activeTab){this.setActiveTab(a);return false}},onItemIconChange:function(b,a){b.tab.setIconCls(a);this.getTabBar().doLayout()},onItemTitleChange:function(a,b){a.tab.setText(b);this.getTabBar().doLayout()},doRemove:function(d,b){var c=this,a=c.items,e=a.getCount()>1;if(c.destroying||!e){c.activeTab=null}else{if(d===c.activeTab){c.setActiveTab(d.next()||a.getAt(0))}}c.callParent(arguments);delete d.tab.card;delete d.tab},onRemove:function(c,a){var b=this;c.un({scope:b,enable:b.onItemEnable,disable:b.onItemDisable,beforeshow:b.onItemBeforeShow});if(!b.destroying&&c.tab.ownerCt==b.tabBar){b.tabBar.remove(c.tab)}}});Ext.define("Ext.toolbar.Spacer",{extend:"Ext.Component",alias:"widget.tbspacer",alternateClassName:"Ext.Toolbar.Spacer",baseCls:Ext.baseCSSPrefix+"toolbar-spacer",focusable:false});Ext.define("Ext.tree.Column",{extend:"Ext.grid.column.Column",alias:"widget.treecolumn",initComponent:function(){var a=this.renderer||this.defaultRenderer,b=this.scope||window;this.renderer=function(m,p,e,d,l,h,k){var t=[],r=Ext.String.format,v=e.getDepth(),s=Ext.baseCSSPrefix+"tree-",g=s+"elbow-",n=s+"expander",j='',w='',i=a.apply(b,arguments),q=e.get("href"),u=e.get("hrefTarget"),c=e.get("cls");while(e){if(!e.isRoot()||(e.isRoot()&&k.rootVisible)){if(e.getDepth()===v){t.unshift(r(j,s+"icon "+s+"icon"+(e.get("icon")?"-inline ":(e.isLeaf()?"-leaf ":"-parent "))+(e.get("iconCls")||""),e.get("icon")||Ext.BLANK_IMAGE_URL));if(e.get("checked")!==null){t.unshift(r(w,(s+"checkbox")+(e.get("checked")?" "+s+"checkbox-checked":""),e.get("checked")?'aria-checked="true"':""));if(e.get("checked")){p.tdCls+=(" "+Ext.baseCSSPrefix+"tree-checked")}}if(e.isLast()){if(e.isExpandable()){t.unshift(r(j,(g+"end-plus "+n),Ext.BLANK_IMAGE_URL))}else{t.unshift(r(j,(g+"end"),Ext.BLANK_IMAGE_URL))}}else{if(e.isExpandable()){t.unshift(r(j,(g+"plus "+n),Ext.BLANK_IMAGE_URL))}else{t.unshift(r(j,(s+"elbow"),Ext.BLANK_IMAGE_URL))}}}else{if(e.isLast()||e.getDepth()===0){t.unshift(r(j,(g+"empty"),Ext.BLANK_IMAGE_URL))}else{if(e.getDepth()!==0){t.unshift(r(j,(g+"line"),Ext.BLANK_IMAGE_URL))}}}}e=e.parentNode}if(q){i=r('{2}',q,u,i)}if(c){p.tdCls+=" "+c}return t.join("")+i};this.callParent(arguments)},defaultRenderer:function(a){return a}});Ext.define("Ext.tree.View",{extend:"Ext.view.Table",alias:"widget.treeview",loadingCls:Ext.baseCSSPrefix+"grid-tree-loading",expandedCls:Ext.baseCSSPrefix+"grid-tree-node-expanded",expanderSelector:"."+Ext.baseCSSPrefix+"tree-expander",checkboxSelector:"."+Ext.baseCSSPrefix+"tree-checkbox",expanderIconOverCls:Ext.baseCSSPrefix+"tree-expander-over",blockRefresh:true,rootVisible:true,expandDuration:250,collapseDuration:250,toggleOnDblClick:true,initComponent:function(){var a=this;if(a.initialConfig.animate===undefined){a.animate=Ext.enableFx}a.store=Ext.create("Ext.data.NodeStore",{recursive:true,rootVisible:a.rootVisible,listeners:{beforeexpand:a.onBeforeExpand,expand:a.onExpand,beforecollapse:a.onBeforeCollapse,collapse:a.onCollapse,scope:a}});if(a.node){a.setRootNode(a.node)}a.animQueue={};a.callParent(arguments)},onClear:function(){this.store.removeAll()},setRootNode:function(b){var a=this;a.store.setNode(b);a.node=b;if(!a.rootVisible){b.expand()}},onRender:function(){var c=this,b={delegate:c.expanderSelector},a;c.callParent(arguments);a=c.el;a.on({scope:c,delegate:c.expanderSelector,mouseover:c.onExpanderMouseOver,mouseout:c.onExpanderMouseOut});a.on({scope:c,delegate:c.checkboxSelector,click:c.onCheckboxChange})},onCheckboxChange:function(g,b){var c=g.getTarget(this.getItemSelector(),this.getTargetEl()),a,d;if(c){a=this.getRecord(c);d=!a.get("checked");a.set("checked",d);this.fireEvent("checkchange",a,d)}},getChecked:function(){var a=[];this.node.cascadeBy(function(b){if(b.get("checked")){a.push(b)}});return a},isItemChecked:function(a){return a.get("checked")},createAnimWrap:function(j,k){var g="",e=this.panel.headerCt,b=e.getGridColumns(),h=0,l=b.length,m,d=this.getNode(j),a,c;for(;h'}c=Ext.get(d);a=c.insertSibling({tag:"tr",html:['','
    ','',g,"
    ","
    ",""].join("")},"after");return{record:j,node:d,el:a,expanding:false,collapsing:false,animating:false,animateEl:a.down("div"),targetEl:a.down("tbody")}},getAnimWrap:function(a){if(!this.animate){return null}while(a){if(a.animWrap){return a.animWrap}a=a.parentNode}return null},doAdd:function(b,d,i){var j=this,g=d[0],l=g.parentNode,k=j.all.elements,n=0,e=j.getAnimWrap(l),m,c,h;if(!e||!e.expanding){j.resetScrollers();return j.callParent(arguments)}l=e.record;m=e.targetEl;c=m.dom.childNodes;h=c.length-1;n=i-j.indexOf(l)-1;if(!h||n>=h){m.appendChild(b)}else{Ext.fly(c[n+1]).insertSibling(b,"before",true)}Ext.Array.insert(k,i,b);if(e.isAnimating){j.onExpand(l)}},doRemove:function(a,c){var h=this,e=a.parentNode,d=h.all,b=h.getAnimWrap(a),g=d.item(c).dom;if(!b||!b.collapsing){h.resetScrollers();return h.callParent(arguments)}b.targetEl.appendChild(g);d.removeElement(c)},onBeforeExpand:function(d,b,c){var e=this,a;if(!e.rendered||!e.animate){return}if(e.getNode(d)){a=e.getAnimWrap(d);if(!a){a=d.animWrap=e.createAnimWrap(d);a.animateEl.setHeight(0)}else{if(a.collapsing){a.targetEl.select(e.itemSelector).remove()}}a.expanding=true;a.collapsing=false}},onExpand:function(c){var d=this,a=d.animQueue,i=c.getId(),b,e,g,h;if(d.singleExpand){d.ensureSingleExpand(c)}b=d.getAnimWrap(c);if(!b){d.resetScrollers();return}e=b.animateEl;g=b.targetEl;e.stopAnimation();a[i]=true;e.slideIn("t",{duration:d.expandDuration,listeners:{scope:d,lastframe:function(){b.el.insertSibling(g.query(d.itemSelector),"before");b.el.remove();d.resetScrollers();delete b.record.animWrap;delete a[i]}}});b.isAnimating=true},resetScrollers:function(){var a=this.panel;a.determineScrollbars();a.invalidateScroller()},onBeforeCollapse:function(d,b,c){var e=this,a;if(!e.rendered||!e.animate){return}if(e.getNode(d)){a=e.getAnimWrap(d);if(!a){a=d.animWrap=e.createAnimWrap(d,c)}else{if(a.expanding){a.targetEl.select(this.itemSelector).remove()}}a.expanding=false;a.collapsing=true}},onCollapse:function(c){var d=this,a=d.animQueue,h=c.getId(),b=d.getAnimWrap(c),e,g;if(!b){d.resetScrollers();return}e=b.animateEl;g=b.targetEl;a[h]=true;e.stopAnimation();e.slideOut("t",{duration:d.collapseDuration,listeners:{scope:d,lastframe:function(){b.el.remove();delete b.record.animWrap;d.resetScrollers();delete a[h]}}});b.isAnimating=true},isAnimating:function(a){return !!this.animQueue[a.getId()]},collectData:function(c){var g=this.callParent(arguments),e=g.rows,a=e.length,d=0,h,b;for(;d=i.top&&h<(i.top+d)){return"before"}else{if(!a&&(k||(h>=(i.bottom-d)&&h<=i.bottom))){return"after"}else{return"append"}}},isValidDropPoint:function(b,j,n,k,g){if(!b||!g.item){return false}var p=this.view,l=p.getRecord(b),d=g.records,a=d.length,m=d.length,c,h;if(!(l&&j&&a)){return false}for(c=0;c2)?a[2]:null,h=(i>3)?a[3]:"/",d=(i>4)?a[4]:null,g=(i>5)?a[5]:false;document.cookie=c+"="+escape(e)+((b===null)?"":("; expires="+b.toGMTString()))+((h===null)?"":("; path="+h))+((d===null)?"":("; domain="+d))+((g===true)?"; secure":"")},get:function(d){var b=d+"=",g=b.length,a=document.cookie.length,e=0,c=0;while(e=0;--k){m=p[k].selectorText;if(m){m=m.split(",");h=m.length;for(g=0;g=0?a.substr(b+1):null},doSave:function(){this.hiddenField.value=this.currentToken},handleStateChange:function(a){this.currentToken=a;this.fireEvent("change",a)},updateIFrame:function(b){var a='
    '+Ext.util.Format.htmlEncode(b)+"
    ";try{var d=this.iframe.contentWindow.document;d.open();d.write(a);d.close();return true}catch(c){return false}},checkIFrame:function(){var d=this,b=d.iframe.contentWindow;if(!b||!b.document){Ext.Function.defer(this.checkIFrame,10,this);return}var e=b.document,c=e.getElementById("state"),a=c?c.innerText:null,g=d.getHash();Ext.TaskManager.start({run:function(){var k=b.document,j=k.getElementById("state"),h=j?j.innerText:null,i=d.getHash();if(h!==a){a=h;d.handleStateChange(h);window.top.location.hash=h;g=h;d.doSave()}else{if(i!==g){g=i;d.updateIFrame(i)}}},interval:50,scope:d});d.ready=true;d.fireEvent("ready",d)},startUp:function(){var a=this;a.currentToken=a.hiddenField.value||this.getHash();if(a.oldIEMode){a.checkIFrame()}else{var b=a.getHash();Ext.TaskManager.start({run:function(){var c=a.getHash();if(c!==b){b=c;a.handleStateChange(b);a.doSave()}},interval:50,scope:a});a.ready=true;a.fireEvent("ready",a)}},fieldId:Ext.baseCSSPrefix+"history-field",iframeId:Ext.baseCSSPrefix+"history-frame",init:function(c,a){var b=this;if(b.ready){Ext.callback(c,a,[b]);return}if(!Ext.isReady){Ext.onReady(function(){b.init(c,a)});return}b.hiddenField=Ext.getDom(b.fieldId);if(b.oldIEMode){b.iframe=Ext.getDom(b.iframeId)}b.addEvents("ready","change");if(c){b.on("ready",c,a,{single:true})}b.startUp()},add:function(a,c){var b=this;if(c!==false){if(b.getToken()===a){return true}}if(b.oldIEMode){return b.updateIFrame(a)}else{window.top.location.hash=a;return true}},back:function(){window.history.go(-1)},forward:function(){window.history.go(1)},getToken:function(){return this.ready?this.currentToken:this.getHash()}});Ext.define("Ext.view.TableChunker",{singleton:true,requires:["Ext.XTemplate"],metaTableTpl:["{[this.openTableWrap()]}",'',"",'','','',"","","{[this.openRows()]}","{row}",'',"{[this.embedFeature(values, parent, xindex, xcount)]}","","{[this.closeRows()]}","","
    ","{[this.closeTableWrap()]}"],constructor:function(){Ext.XTemplate.prototype.recurse=function(b,a){return this.apply(a?b[a]:b)}},embedFeature:function(b,d,a,e){var c="";if(!b.disabled){c=b.getFeatureTpl(b,d,a,e)}return c},embedFullWidth:function(){return'style="width: {fullWidth}px;"'},openRows:function(){return''},closeRows:function(){return""},metaRowTpl:['','','
    {{id}}
    ',"
    ",""],firstOrLastCls:function(b,c){var a="";if(b===1){a=Ext.baseCSSPrefix+"grid-cell-first"}else{if(b===c){a=Ext.baseCSSPrefix+"grid-cell-last"}}return a},embedRowCls:function(){return"{rowCls}"},embedRowAttr:function(){return"{rowAttr}"},openTableWrap:function(){return""},closeTableWrap:function(){return""},getTableTpl:function(k,b){var j,h={openRows:this.openRows,closeRows:this.closeRows,embedFeature:this.embedFeature,embedFullWidth:this.embedFullWidth,openTableWrap:this.openTableWrap,closeTableWrap:this.closeTableWrap},g={},c=k.features||[],m=c.length,e=0,l={embedRowCls:this.embedRowCls,embedRowAttr:this.embedRowAttr,firstOrLastCls:this.firstOrLastCls},d=Array.prototype.slice.call(this.metaRowTpl,0),a;for(;e0){h[h.length-1]="var Ext=window."+this.getUniqueGlobalNamespace()+";"+h[h.length-1]}return Function.prototype.constructor.apply(Function.prototype,h)}});Ext.type=Ext.typeOf})();(function(){var a="4.0.2a",b;Ext.Version=b=Ext.extend(Object,{constructor:function(c){var e,d;if(c instanceof b){return c}this.version=this.shortVersion=String(c).toLowerCase().replace(/_/g,".").replace(/[\-+]/g,"");d=this.version.search(/([^\d\.])/);if(d!==-1){this.release=this.version.substr(d,c.length);this.shortVersion=this.version.substr(0,d)}this.shortVersion=this.shortVersion.replace(/[^\d]/g,"");e=this.version.split(".");this.major=parseInt(e.shift()||0,10);this.minor=parseInt(e.shift()||0,10);this.patch=parseInt(e.shift()||0,10);this.build=parseInt(e.shift()||0,10);return this},toString:function(){return this.version},valueOf:function(){return this.version},getMajor:function(){return this.major||0},getMinor:function(){return this.minor||0},getPatch:function(){return this.patch||0},getBuild:function(){return this.build||0},getRelease:function(){return this.release||""},isGreaterThan:function(c){return b.compare(this.version,c)===1},isLessThan:function(c){return b.compare(this.version,c)===-1},equals:function(c){return b.compare(this.version,c)===0},match:function(c){c=String(c);return this.version.substr(0,c.length)===c},toArray:function(){return[this.getMajor(),this.getMinor(),this.getPatch(),this.getBuild(),this.getRelease()]},getShortVersion:function(){return this.shortVersion}});Ext.apply(b,{releaseValueMap:{dev:-6,alpha:-5,a:-5,beta:-4,b:-4,rc:-3,"#":-2,p:-1,pl:-1},getComponentValue:function(c){return !c?0:(isNaN(c)?this.releaseValueMap[c]||c:parseInt(c,10))},compare:function(h,g){var d,e,c;h=new b(h).toArray();g=new b(g).toArray();for(c=0;ce){return 1}}}return 0}});Ext.apply(Ext,{versions:{},lastRegisteredVersion:null,setVersion:function(d,c){Ext.versions[d]=new b(c);Ext.lastRegisteredVersion=Ext.versions[d];return this},getVersion:function(c){if(c===undefined){return Ext.lastRegisteredVersion}return Ext.versions[c]},deprecate:function(c,e,g,d){if(b.compare(Ext.getVersion(c),e)<1){g.call(d)}}});Ext.setVersion("core",a)})();Ext.String={trimRegex:/^[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+|[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+$/g,escapeRe:/('|\\)/g,formatRe:/\{(\d+)\}/g,escapeRegexRe:/([-.*+?^${}()|[\]\/\\])/g,htmlEncode:(function(){var d={"&":"&",">":">","<":"<",'"':"""},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+")","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){return d[g]})}})(),htmlDecode:(function(){var d={"&":"&",">":">","<":"<",""":'"'},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+"|&#[0-9]{1,5};)","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){if(g in d){return d[g]}else{return String.fromCharCode(parseInt(g.substr(2),10))}})}})(),urlAppend:function(b,a){if(!Ext.isEmpty(a)){return b+(b.indexOf("?")===-1?"?":"&")+a}return b},trim:function(a){return a.replace(Ext.String.trimRegex,"")},capitalize:function(a){return a.charAt(0).toUpperCase()+a.substr(1)},ellipsis:function(c,a,d){if(c&&c.length>a){if(d){var e=c.substr(0,a-2),b=Math.max(e.lastIndexOf(" "),e.lastIndexOf("."),e.lastIndexOf("!"),e.lastIndexOf("?"));if(b!==-1&&b>=(a-15)){return e.substr(0,b)+"..."}}return c.substr(0,a-3)+"..."}return c},escapeRegex:function(a){return a.replace(Ext.String.escapeRegexRe,"\\$1")},escape:function(a){return a.replace(Ext.String.escapeRe,"\\$1")},toggle:function(b,c,a){return b===c?a:c},leftPad:function(b,c,d){var a=String(b);d=d||" ";while(a.length=c){g+=c}else{if(b*2<-c){g-=c}}}return Ext.Number.constrain(g,d,h)},toFixed:function(d,b){if(a){b=b||0;var c=Math.pow(10,b);return(Math.round(d*c)/c).toFixed(b)}return d.toFixed(b)},from:function(c,b){if(isFinite(c)){c=parseFloat(c)}return !isNaN(c)?c:b}}})();Ext.num=function(){return Ext.Number.from.apply(this,arguments)};(function(){var g=Array.prototype,p=g.slice,r=function(){var B=[],e,A=20;if(!B.splice){return false}while(A--){B.push("A")}B.splice(15,0,"F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F");e=B.length;B.splice(13,0,"XXX");if(e+1!=B.length){return false}return true}(),j="forEach" in g,v="map" in g,q="indexOf" in g,z="every" in g,c="some" in g,d="filter" in g,n=function(){var e=[1,2,3,4,5].sort(function(){return 0});return e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4&&e[4]===5}(),k=true,a;try{if(typeof document!=="undefined"){p.call(document.getElementsByTagName("body"))}}catch(t){k=false}function m(A,e){return(e<0)?Math.max(0,A.length+e):Math.min(A.length,e)}function y(H,G,A,K){var L=K?K.length:0,C=H.length,I=m(H,G);if(I===C){if(L){H.push.apply(H,K)}}else{var F=Math.min(A,C-I),J=I+F,B=J+L-F,e=C-J,D=C-F,E;if(BJ){for(E=e;E--;){H[B+E]=H[J+E]}}}if(L&&I===D){H.length=D;H.push.apply(H,K)}else{H.length=D+L;for(E=0;E-1;A--){if(C.call(B||E[A],E[A],A,E)===false){return A}}}return true},forEach:function(D,B,A){if(j){return D.forEach(B,A)}var e=0,C=D.length;for(;ee){e=B}}}return e},mean:function(e){return e.length>0?a.sum(e)/e.length:undefined},sum:function(D){var A=0,e,C,B;for(e=0,C=D.length;e0){return setTimeout(d,c)}d();return 0},createSequence:function(c,b,a){if(!Ext.isFunction(b)){return c}else{return function(){var d=c.apply(this||window,arguments);b.apply(a||this||window,arguments);return d}}},createBuffered:function(d,a,c,b){return function(){var e;return function(){var g=this;if(e){clearInterval(e);e=null}e=setTimeout(function(){d.apply(c||g,b||arguments)},a)}}()},createThrottled:function(e,b,d){var g,a,c,i,h=function(){e.apply(d||this,c);g=new Date().getTime()};return function(){a=new Date().getTime()-g;c=arguments;clearTimeout(i);if(!g||(a>=b)){h()}else{i=setTimeout(h,b-a)}}}};Ext.defer=Ext.Function.alias(Ext.Function,"defer");Ext.pass=Ext.Function.alias(Ext.Function,"pass");Ext.bind=Ext.Function.alias(Ext.Function,"bind");(function(){var a=Ext.Object={toQueryObjects:function(d,j,c){var b=a.toQueryObjects,h=[],e,g;if(Ext.isArray(j)){for(e=0,g=j.length;e0){h=n.split("=");w=decodeURIComponent(h[0]);m=(h[1]!==undefined)?decodeURIComponent(h[1]):"";if(!r){if(u.hasOwnProperty(w)){if(!Ext.isArray(u[w])){u[w]=[u[w]]}u[w].push(m)}else{u[w]=m}}else{g=w.match(/(\[):?([^\]]*)\]/g);t=w.match(/^([^\[]+)/);w=t[0];k=[];if(g===null){u[w]=m;continue}for(p=0,b=g.length;p 0 ? +1 : (Ext.Date.getWeekOfYear(this) >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"Ext.String.leftPad(this.getFullYear(), 4, '0')",y:"('' + this.getFullYear()).substring(2, 4)",a:"(this.getHours() < 12 ? 'am' : 'pm')",A:"(this.getHours() < 12 ? 'AM' : 'PM')",g:"((this.getHours() % 12) ? this.getHours() % 12 : 12)",G:"this.getHours()",h:"Ext.String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"Ext.String.leftPad(this.getHours(), 2, '0')",i:"Ext.String.leftPad(this.getMinutes(), 2, '0')",s:"Ext.String.leftPad(this.getSeconds(), 2, '0')",u:"Ext.String.leftPad(this.getMilliseconds(), 3, '0')",O:"Ext.Date.getGMTOffset(this)",P:"Ext.Date.getGMTOffset(this, true)",T:"Ext.Date.getTimezone(this)",Z:"(this.getTimezoneOffset() * -60)",c:function(){for(var k="Y-m-dTH:i:sP",h=[],g=0,d=k.length;g= 0 && y >= 0){","v = Ext.Date.add(new Date(y < 100 ? 100 : y, 0, 1, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","v = !strict? v : (strict === true && (z <= 364 || (Ext.Date.isLeapYear(v) && z <= 365))? Ext.Date.add(v, Ext.Date.DAY, z) : null);","}else if(strict === true && !Ext.Date.isValid(y, m + 1, d, h, i, s, ms)){","v = null;","}else{","v = Ext.Date.add(new Date(y < 100 ? 100 : y, m, d, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","}","}","}","if(v){","if(zz != null){","v = Ext.Date.add(v, Ext.Date.SECOND, -v.getTimezoneOffset() * 60 - zz);","}else if(o){","v = Ext.Date.add(v, Ext.Date.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn));","}","}","return v;"].join("\n");return function(m){var e=a.parseRegexes.length,n=1,g=[],l=[],k=false,d="";for(var j=0;j Ext.Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(am|pm|AM|PM)"},A:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(AM|PM|am|pm)"},g:function(){return a.formatCodeToRegex("G")},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},h:function(){return a.formatCodeToRegex("H")},H:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},i:{g:1,c:"i = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},s:{g:1,c:"s = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},u:{g:1,c:"ms = results[{0}]; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n",s:"(\\d+)"},O:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60),","mn = o.substring(3,5) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{4})"},P:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60),","mn = o.substring(4,6) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{2}:\\d{2})"},T:{g:0,c:null,s:"[A-Z]{1,4}"},Z:{g:1,c:"zz = results[{0}] * 1;\nzz = (-43200 <= zz && zz <= 50400)? zz : null;\n",s:"([+-]?\\d{1,5})"},c:function(){var e=[],c=[a.formatCodeToRegex("Y",1),a.formatCodeToRegex("m",2),a.formatCodeToRegex("d",3),a.formatCodeToRegex("h",4),a.formatCodeToRegex("i",5),a.formatCodeToRegex("s",6),{c:"ms = results[7] || '0'; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n"},{c:["if(results[8]) {","if(results[8] == 'Z'){","zz = 0;","}else if (results[8].indexOf(':') > -1){",a.formatCodeToRegex("P",8).c,"}else{",a.formatCodeToRegex("O",8).c,"}","}"].join("\n")}];for(var g=0,d=c.length;g0?"-":"+")+Ext.String.leftPad(Math.floor(Math.abs(e)/60),2,"0")+(d?":":"")+Ext.String.leftPad(Math.abs(e%60),2,"0")},getDayOfYear:function(g){var e=0,j=Ext.Date.clone(g),c=g.getMonth(),h;for(h=0,j.setDate(1),j.setMonth(0);h28){e=Math.min(e,Ext.Date.getLastDateOfMonth(Ext.Date.add(Ext.Date.getFirstDateOfMonth(h),"mo",i)).getDate())}j.setDate(e);j.setMonth(h.getMonth()+i);break;case Ext.Date.YEAR:j.setFullYear(h.getFullYear()+i);break}return j},between:function(d,g,c){var e=d.getTime();return g.getTime()<=e&&e<=c.getTime()},compat:function(){var g=window.Date,e,c,h=["useStrict","formatCodeToRegex","parseFunctions","parseRegexes","formatFunctions","y2kYear","MILLI","SECOND","MINUTE","HOUR","DAY","MONTH","YEAR","defaults","dayNames","monthNames","monthNumbers","getShortMonthName","getShortDayName","getMonthNumber","formatCodes","isValid","parseDate","getFormatCode","createFormat","createParser","parseCodes"],d=["dateFormat","format","getTimezone","getGMTOffset","getDayOfYear","getWeekOfYear","isLeapYear","getFirstDayOfMonth","getLastDayOfMonth","getDaysInMonth","getSuffix","clone","isDST","clearTime","add","between"];Ext.Array.forEach(h,function(i){g[i]=a[i]});Ext.Array.forEach(d,function(i){g.prototype[i]=function(){var j=Array.prototype.slice.call(arguments);j.unshift(this);return a[i].apply(a,j)}})}};var a=Ext.Date})();(function(a){var b=Ext.Base=function(){};b.prototype={$className:"Ext.Base",$class:b,self:b,constructor:function(){return this},initConfig:function(c){if(!this.$configInited){this.config=Ext.Object.merge({},this.config||{},c||{});this.applyConfig(this.config);this.$configInited=true}return this},setConfig:function(c){this.applyConfig(c||{});return this},applyConfig:a(function(c,d){var e="set"+Ext.String.capitalize(c);if(typeof this[e]==="function"){this[e].call(this,d)}return this}),callParent:function(d){var g=this.callParent.caller,e,c;if(!g.$owner){g=g.caller}e=g.$owner.superclass;c=g.$name;return e[c].apply(this,d||[])},statics:function(){var d=this.statics.caller,c=this.self;if(!d){return c}return d.$owner},callOverridden:function(c){var d=this.callOverridden.caller;return d.$previous.apply(this,c||[])},destroy:function(){}};Ext.apply(Ext.Base,{create:function(){return Ext.create.apply(Ext,[this].concat(Array.prototype.slice.call(arguments,0)))},own:a(function(c,d){if(typeof d==="function"){this.ownMethod(c,d)}else{this.prototype[c]=d}}),ownMethod:function(c,d){var e;if(d.$owner!==undefined&&d!==Ext.emptyFn){e=d;d=function(){return e.apply(this,arguments)}}d.$owner=this;d.$name=c;this.prototype[c]=d},addStatics:function(c){for(var d in c){if(c.hasOwnProperty(d)){this[d]=c[d]}}return this},implement:function(d){var g=this.prototype,e,h,k,j;for(e in d){if(d.hasOwnProperty(e)){k=d[e];if(typeof k==="function"){k.$owner=this;k.$name=e}g[e]=k}}if(Ext.enumerables){var c=Ext.enumerables;for(h=c.length;h--;){e=c[h];if(d.hasOwnProperty(e)){k=d[e];k.$owner=this;k.$name=e;g[e]=k}}}},borrow:function(h,d){var c=h.prototype,e,g,j;d=Ext.Array.from(d);for(e=0,g=d.length;e0){if(i===h){return k[i]}j=k[i];h=h.substring(i.length+1)}if(j.length>0){j+="/"}return j.replace(/\/\.\//g,"/")+h.replace(/\./g,"/")+".js"},getPrefix:function(i){var k=this.config.paths,j,h="";if(k.hasOwnProperty(i)){return i}for(j in k){if(k.hasOwnProperty(j)&&j+"."===i.substring(0,j.length+1)){if(j.length>h.length){h=j}}}return h},refreshQueue:function(){var n=this.queue.length,k,m,h,l;if(n===0){this.triggerReady();return}for(k=0;kthis.numLoadedFiles){continue}h=0;do{if(c.isCreated(l[h])){Ext.Array.erase(l,h,1)}else{h++}}while(h=200&&k<300){new Function(s.responseText+"\n//@ sourceURL="+l)();q.call(t)}else{m.call(this,"Failed loading synchronously via XHR: '"+i+"'; please verify that the file exists. XHR status code: "+k,h)}}s=null}},exclude:function(i){var h=this;return{require:function(l,k,j){return h.require(l,k,j,i)},syncRequire:function(l,k,j){return h.syncRequire(l,k,j,i)}}},syncRequire:function(){this.syncModeEnabled=true;this.require.apply(this,arguments);this.refreshQueue();this.syncModeEnabled=false},require:function(s,y,A,z){var n,w,k,x,u={},l=[],m=[],r,h=[],q,p,v,t;s=Ext.Array.from(s);z=Ext.Array.from(z);y=y||Ext.emptyFn;A=A||Ext.global;for(q=0,v=z.length;q0){l=c.getNamesByExpression(k);for(p=0,t=l.length;p0){m=c.getNamesByExpression(w);for(p=0,t=m.length;p0){Ext.Error.raise({sourceClass:"Ext.Loader",sourceMethod:"require",msg:"Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class"+((h.length>1)?"es":"")+": "+h.join(", ")})}}if(h.length===0){y.call(A);return this}this.queue.push({requires:h,callback:y,scope:A});h=h.slice();for(q=0,v=h.length;qwindow.innerWidth?"portrait":"landscape"},destroy:function(){var c=arguments.length,b,a;for(b=0;b
    '),I=J.child("div",true),E=I.offsetWidth;J.setStyle("overflow",(Ext.isWebKit||Ext.isGecko)?"auto":"scroll");var e=I.offsetWidth,G=E-e;J.remove();t={width:G,height:G}}return t},getScrollBarWidth:function(E){var e=Ext.getScrollbarSize(E);return e.width+2},copyTo:function(e,E,G,F){if(typeof G=="string"){G=G.split(/[,;\s]/)}Ext.each(G,function(H){if(F||E.hasOwnProperty(H)){e[H]=E[H]}},this);return e},destroyMembers:function(G){for(var F=1,E=arguments,e=E.length;F]+>/gi,c=/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,b=/\r?\n/g,d=/[^\d\.]/g,a;Ext.apply(g,{thousandSeparator:",",decimalSeparator:".",currencyPrecision:2,currencySign:"$",currencyAtEnd:false,undef:function(h){return h!==undefined?h:""},defaultValue:function(i,h){return i!==undefined&&i!==""?i:h},substr:function(i,j,h){return String(i).substr(j,h)},lowercase:function(h){return String(h).toLowerCase()},uppercase:function(h){return String(h).toUpperCase()},usMoney:function(h){return g.currency(h,"$",2)},currency:function(k,m,j,h){var p="",n=",0",l=0;k=k-0;if(k<0){k=-k;p="-"}j=j||g.currencyPrecision;n+=n+(j>0?".":"");for(;l")},capitalize:Ext.String.capitalize,ellipsis:Ext.String.ellipsis,format:Ext.String.format,htmlDecode:Ext.String.htmlDecode,htmlEncode:Ext.String.htmlEncode,leftPad:Ext.String.leftPad,trim:Ext.String.trim,parseBox:function(i){if(Ext.isNumber(i)){i=i.toString()}var j=i.split(" "),h=j.length;if(h==1){j[1]=j[2]=j[3]=j[0]}else{if(h==2){j[2]=j[0];j[3]=j[1]}else{if(h==3){j[3]=j[1]}}}return{top:parseInt(j[0],10)||0,right:parseInt(j[1],10)||0,bottom:parseInt(j[2],10)||0,left:parseInt(j[3],10)||0}},escapeRegex:function(h){return h.replace(/([\-.*+?\^${}()|\[\]\/\\])/g,"\\$1")}})})();Ext.ns("Ext.util");Ext.util.TaskRunner=function(e){e=e||10;var g=[],a=[],b=0,h=false,d=function(){h=false;clearInterval(b);b=0},i=function(){if(!h){h=true;b=setInterval(j,e)}},c=function(k){a.push(k);if(k.onStop){k.onStop.apply(k.scope||k)}},j=function(){var m=a.length,p=new Date().getTime(),r;if(m>0){for(r=0;r','
    ',"",'
    ','
    ',"
    ",'
    '].join("");d.body.appendChild(g);for(a=0;a

    ";return(b.childNodes.length==2)}},{identity:"Float",fn:function(a,b){return !!b.lastChild.style.cssFloat}},{identity:"AudioTag",fn:function(a){return !!a.createElement("audio").canPlayType}},{identity:"History",fn:function(){return !!(window.history&&history.pushState)}},{identity:"CSS3DTransform",fn:function(){return(typeof WebKitCSSMatrix!="undefined"&&new WebKitCSSMatrix().hasOwnProperty("m41"))}},{identity:"CSS3LinearGradient",fn:function(e,h){var d="background-image:",b="-webkit-gradient(linear, left top, right bottom, from(black), to(white))",g="linear-gradient(left top, black, white)",c="-moz-"+g,a=[d+b,d+g,d+c];h.style.cssText=a.join(";");return(""+h.style.backgroundImage).indexOf("gradient")!==-1}},{identity:"CSS3BorderRadius",fn:function(d,e){var b=["borderRadius","BorderRadius","MozBorderRadius","WebkitBorderRadius","OBorderRadius","KhtmlBorderRadius"],c=false,a;for(a=0;a=534.16}}]};Ext.ns("Ext.core");Ext.core.DomHelper=function(){var y=null,k=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,m=/^table|tbody|tr|td$/i,d=/tag|children|cn|html$/i,u=/td|tr|tbody/i,w=/end/i,s,p="afterbegin",q="afterend",c="beforebegin",r="beforeend",a="",i="
    ",b=a+"",j=""+i,l=b+"",x=""+j;function h(C,E,D,F,B,z){C=Ext.getDom(C);var A;if(s.useDom){A=n(E,null);if(z){C.appendChild(A)}else{(B=="firstChild"?C:C.parentNode).insertBefore(A,C[B]||C)}}else{A=Ext.core.DomHelper.insertHtml(F,C,Ext.core.DomHelper.createHtml(E))}return D?Ext.get(A,true):A}function n(z,F){var A,I=document,D,G,B,H;if(Ext.isArray(z)){A=I.createDocumentFragment();for(var E=0,C=z.length;E"}}}return A}function g(G,D,C,E){y.innerHTML=[D,C,E].join("");var z=-1,B=y,A;while(++z+~]\s?|\s|$)/,tagTokenRe=/^(#)?([\w-\*]+)/,nthRe=/(\d*)n\+?(\d*)/,nthRe2=/\D/,isIE=window.ActiveXObject?true:false,key=30803;eval("var batch = 30803;");function child(parent,index){var i=0,n=parent.firstChild;while(n){if(n.nodeType==1){if(++i==index){return n}}n=n.nextSibling}return null}function next(n){while((n=n.nextSibling)&&n.nodeType!=1){}return n}function prev(n){while((n=n.previousSibling)&&n.nodeType!=1){}return n}function children(parent){var n=parent.firstChild,nodeIndex=-1,nextNode;while(n){nextNode=n.nextSibling;if(n.nodeType==3&&!nonSpace.test(n.nodeValue)){parent.removeChild(n)}else{n.nodeIndex=++nodeIndex}n=nextNode}return this}function byClassName(nodeSet,cls){if(!cls){return nodeSet}var result=[],ri=-1;for(var i=0,ci;ci=nodeSet[i];i++){if((" "+ci.className+" ").indexOf(cls)!=-1){result[++ri]=ci}}return result}function attrValue(n,attr){if(!n.tagName&&typeof n.length!="undefined"){n=n[0]}if(!n){return null}if(attr=="for"){return n.htmlFor}if(attr=="class"||attr=="className"){return n.className}return n.getAttribute(attr)||n[attr]}function getNodes(ns,mode,tagName){var result=[],ri=-1,cs;if(!ns){return result}tagName=tagName||"*";if(typeof ns.getElementsByTagName!="undefined"){ns=[ns]}if(!mode){for(var i=0,ni;ni=ns[i];i++){cs=ni.getElementsByTagName(tagName);for(var j=0,ci;ci=cs[j];j++){result[++ri]=ci}}}else{if(mode=="/"||mode==">"){var utag=tagName.toUpperCase();for(var i=0,ni,cn;ni=ns[i];i++){cn=ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if(cj.nodeName==utag||cj.nodeName==tagName||tagName=="*"){result[++ri]=cj}}}}else{if(mode=="+"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(n&&(n.nodeName==utag||n.nodeName==tagName||tagName=="*")){result[++ri]=n}}}else{if(mode=="~"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)){if(n.nodeName==utag||n.nodeName==tagName||tagName=="*"){result[++ri]=n}}}}}}}return result}function concat(a,b){if(b.slice){return a.concat(b)}for(var i=0,l=b.length;i1){return nodup(results)}return results},isXml:function(el){var docEl=(el?el.ownerDocument||el:0).documentElement;return docEl?docEl.nodeName!=="HTML":false},select:document.querySelectorAll?function(path,root,type){root=root||document;if(!Ext.DomQuery.isXml(root)){try{var cs=root.querySelectorAll(path);return Ext.Array.toArray(cs)}catch(ex){}}return Ext.DomQuery.jsSelect.call(this,path,root,type)}:function(path,root,type){return Ext.DomQuery.jsSelect.call(this,path,root,type)},selectNode:function(path,root){return Ext.DomQuery.select(path,root)[0]},selectValue:function(path,root,defaultValue){path=path.replace(trimRe,"");if(!valueCache[path]){valueCache[path]=Ext.DomQuery.compile(path,"select")}var n=valueCache[path](root),v;n=n[0]?n[0]:n;if(typeof n.normalize=="function"){n.normalize()}v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==="")?defaultValue:v)},selectNumber:function(path,root,defaultValue){var v=Ext.DomQuery.selectValue(path,root,defaultValue||0);return parseFloat(v)},is:function(el,ss){if(typeof el=="string"){el=document.getElementById(el)}var isArray=Ext.isArray(el),result=Ext.DomQuery.filter(isArray?el:[el],ss);return isArray?(result.length==el.length):(result.length>0)},filter:function(els,ss,nonMatches){ss=ss.replace(trimRe,"");if(!simpleCache[ss]){simpleCache[ss]=Ext.DomQuery.compile(ss,"simple")}var result=simpleCache[ss](els);return nonMatches?quickDiff(result,els):result},matchers:[{re:/^\.([\w-]+)/,select:'n = byClassName(n, " {1} ");'},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:'n = byPseudo(n, "{1}", "{2}");'},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{4}", "{3}", "{1}");'},{re:/^#([\w-]+)/,select:'n = byId(n, "{1}");'},{re:/^@([\w-]+)/,select:'return {firstChild:{nodeValue:attrValue(n, "{1}")}};'}],operators:{"=":function(a,v){return a==v},"!=":function(a,v){return a!=v},"^=":function(a,v){return a&&a.substr(0,v.length)==v},"$=":function(a,v){return a&&a.substr(a.length-v.length)==v},"*=":function(a,v){return a&&a.indexOf(v)!==-1},"%=":function(a,v){return(a%v)==0},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+"-")},"~=":function(a,v){return a&&(" "+a+" ").indexOf(" "+v+" ")!=-1}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"nth-child":function(c,a){var r=[],ri=-1,m=nthRe.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!nthRe2.test(a)&&"n+"+a||a),f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var pn=n.parentNode;if(batch!=pn._batch){var j=0;for(var cn=pn.firstChild;cn;cn=cn.nextSibling){if(cn.nodeType==1){cn.nodeIndex=++j}}pn._batch=batch}if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n}}else{if((n.nodeIndex+l)%f==0){r[++ri]=n}}}return r},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci}}return r},empty:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var cns=ci.childNodes,j=0,cn,empty=true;while(cn=cns[j]){++j;if(cn.nodeType==1||cn.nodeType==3){empty=false;break}}if(empty){r[++ri]=ci}}return r},contains:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText||"").indexOf(v)!=-1){r[++ri]=ci}}return r},nodeValue:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v){r[++ri]=ci}}return r},checked:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci}}return r},not:function(c,ss){return Ext.DomQuery.filter(c,ss,true)},any:function(c,selectors){var ss=selectors.split("|"),r=[],ri=-1,s;for(var i=0,ci;ci=c[i];i++){for(var j=0;s=ss[j];j++){if(Ext.DomQuery.is(ci,s)){r[++ri]=ci;break}}}return r},odd:function(c){return this["nth-child"](c,"odd")},even:function(c){return this["nth-child"](c,"even")},nth:function(c,a){return c[a-1]||[]},first:function(c){return c[0]||[]},last:function(c){return c[c.length-1]||[]},has:function(c,ss){var s=Ext.DomQuery.select,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(ss,ci).length>0){r[++ri]=ci}}return r},next:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r},prev:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r}}}}();Ext.query=Ext.DomQuery.select;(function(){var h=document,a=Ext.cache;Ext.Element=Ext.core.Element=function(l,m){var n=typeof l=="string"?h.getElementById(l):l,p;if(!n){return null}p=n.id;if(!m&&p&&a[p]){return a[p].el}this.dom=n;this.id=p||Ext.id(n)};var d=Ext.core.DomHelper,e=Ext.core.Element;e.prototype={set:function(q,m){var n=this.dom,l,p;m=(m!==false)&&!!n.setAttribute;for(l in q){if(q.hasOwnProperty(l)){p=q[l];if(l=="style"){d.applyStyles(n,p)}else{if(l=="cls"){n.className=p}else{if(m){n.setAttribute(l,p)}else{n[l]=p}}}}}return this},defaultUnit:"px",is:function(l){return Ext.DomQuery.is(this.dom,l)},focus:function(p,n){var l=this;n=n||l.dom;try{if(Number(p)){Ext.defer(l.focus,p,null,[null,n])}else{n.focus()}}catch(m){}return l},blur:function(){try{this.dom.blur()}catch(l){}return this},getValue:function(l){var m=this.dom.value;return l?parseInt(m,10):m},addListener:function(l,p,n,m){Ext.EventManager.on(this.dom,l,p,n||this,m);return this},removeListener:function(l,n,m){Ext.EventManager.un(this.dom,l,n,m||this);return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);return this},purgeAllListeners:function(){Ext.EventManager.purgeElement(this);return this},addUnits:function(m,l){if(Ext.isNumber(m)){return m+(l||this.defaultUnit||"px")}if(m===""||m=="auto"||m===undefined||m===null){return m||""}if(!i.test(m)){return m||""}return m},isBorderBox:function(){return Ext.isBorderBox||g[(this.dom.tagName||"").toLowerCase()]},remove:function(){var l=this,m=l.dom;if(m){delete l.dom;Ext.removeNode(m)}},hover:function(m,l,p,n){var q=this;q.on("mouseenter",m,p||q.dom,n);q.on("mouseleave",l,p||q.dom,n);return q},contains:function(l){return !l?false:Ext.core.Element.isAncestor(this.dom,l.dom?l.dom:l)},getAttributeNS:function(m,l){return this.getAttribute(l,m)},getAttribute:(Ext.isIE&&!(Ext.isIE9&&document.documentMode===9))?function(l,n){var p=this.dom,m;if(n){m=typeof p[n+":"+l];if(m!="undefined"&&m!="unknown"){return p[n+":"+l]||null}return null}if(l==="for"){l="htmlFor"}return p[l]||null}:function(l,m){var n=this.dom;if(m){return n.getAttributeNS(m,l)||n.getAttribute(m+":"+l)}return n.getAttribute(l)||n[l]||null},update:function(l){if(this.dom){this.dom.innerHTML=l}return this}};var k=e.prototype;e.addMethods=function(l){Ext.apply(k,l)};k.on=k.addListener;k.un=k.removeListener;k.clearListeners=k.removeAllListeners;k.destroy=k.remove;k.autoBoxAdjust=true;var i=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,c;e.get=function(m){var l,q,p;if(!m){return null}if(typeof m=="string"){if(!(q=h.getElementById(m))){return null}if(a[m]&&a[m].el){l=a[m].el;l.dom=q}else{l=e.addToCache(new e(q))}return l}else{if(m.tagName){if(!(p=m.id)){p=Ext.id(m)}if(a[p]&&a[p].el){l=a[p].el;l.dom=m}else{l=e.addToCache(new e(m))}return l}else{if(m instanceof e){if(m!=c){if(Ext.isIE&&(m.id==undefined||m.id=="")){m.dom=m.dom}else{m.dom=h.getElementById(m.id)||m.dom}}return m}else{if(m.isComposite){return m}else{if(Ext.isArray(m)){return e.select(m)}else{if(m==h){if(!c){var n=function(){};n.prototype=e.prototype;c=new n();c.dom=h}return c}}}}}}return null};e.addToCache=function(l,m){if(l){m=m||l.id;a[m]={el:l,data:{},events:{}}}return l};e.data=function(m,l,n){m=e.get(m);if(!m){return null}var p=a[m.id].data;if(arguments.length==2){return p[l]}else{return(p[l]=n)}};function j(){if(!Ext.enableGarbageCollector){clearInterval(e.collectorThreadId)}else{var l,n,q,p;for(l in a){if(!a.hasOwnProperty(l)){continue}p=a[l];if(p.skipGarbageCollection){continue}n=p.el;q=n.dom;if(!q||!q.parentNode||(!q.offsetParent&&!h.getElementById(l))){if(q&&Ext.enableListenerCollection){Ext.EventManager.removeAll(q)}delete a[l]}}if(Ext.isIE){var m={};for(l in a){if(!a.hasOwnProperty(l)){continue}m[l]=a[l]}a=Ext.cache=m}}}e.collectorThreadId=setInterval(j,30000);var b=function(){};b.prototype=e.prototype;e.Flyweight=function(l){this.dom=l};e.Flyweight.prototype=new b();e.Flyweight.prototype.isFlyweight=true;e._flyweights={};e.fly=function(n,l){var m=null;l=l||"_global";n=Ext.getDom(n);if(n){(e._flyweights[l]=e._flyweights[l]||new e.Flyweight()).dom=n;m=e._flyweights[l]}return m};Ext.get=e.get;Ext.fly=e.fly;var g=Ext.isStrict?{select:1}:{input:1,select:1,textarea:1};if(Ext.isIE||Ext.isGecko){g.button=1}})();Ext.core.Element.addMethods({findParent:function(i,h,c){var e=this.dom,a=document.body,g=0,d;h=h||50;if(isNaN(h)){d=Ext.getDom(h);h=Number.MAX_VALUE}while(e&&e.nodeType==1&&g "+a,c.dom);return b?d:Ext.get(d)},parent:function(a,b){return this.matchNode("parentNode","parentNode",a,b)},next:function(a,b){return this.matchNode("nextSibling","nextSibling",a,b)},prev:function(a,b){return this.matchNode("previousSibling","previousSibling",a,b)},first:function(a,b){return this.matchNode("nextSibling","firstChild",a,b)},last:function(a,b){return this.matchNode("previousSibling","lastChild",a,b)},matchNode:function(b,e,a,c){if(!this.dom){return null}var d=this.dom[e];while(d){if(d.nodeType==1&&(!a||Ext.DomQuery.is(d,a))){return !c?Ext.get(d):d}d=d[b]}return null}});Ext.core.Element.addMethods({appendChild:function(a){return Ext.get(a).appendTo(this)},appendTo:function(a){Ext.getDom(a).appendChild(this.dom);return this},insertBefore:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a);return this},insertAfter:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a.nextSibling);return this},insertFirst:function(b,a){b=b||{};if(b.nodeType||b.dom||typeof b=="string"){b=Ext.getDom(b);this.dom.insertBefore(b,this.dom.firstChild);return !a?Ext.get(b):b}else{return this.createChild(b,this.dom.firstChild,a)}},insertSibling:function(e,c,d){var g=this,b,a=(c||"before").toLowerCase()=="after",h;if(Ext.isArray(e)){h=g;Ext.each(e,function(i){b=Ext.fly(h,"_internal").insertSibling(i,c,d);if(a){h=b}});return b}e=e||{};if(e.nodeType||e.dom){b=g.dom.parentNode.insertBefore(Ext.getDom(e),a?g.dom.nextSibling:g.dom);if(!d){b=Ext.get(b)}}else{if(a&&!g.dom.nextSibling){b=Ext.core.DomHelper.append(g.dom.parentNode,e,!d)}else{b=Ext.core.DomHelper[a?"insertAfter":"insertBefore"](g.dom,e,!d)}}return b},replace:function(a){a=Ext.get(a);this.insertBefore(a);a.remove();return this},replaceWith:function(a){var b=this;if(a.nodeType||a.dom||typeof a=="string"){a=Ext.get(a);b.dom.parentNode.insertBefore(a,b.dom)}else{a=Ext.core.DomHelper.insertBefore(b.dom,a)}delete Ext.cache[b.id];Ext.removeNode(b.dom);b.id=Ext.id(b.dom=a);Ext.core.Element.addToCache(b.isFlyweight?new Ext.core.Element(b.dom):b);return b},createChild:function(b,a,c){b=b||{tag:"div"};if(a){return Ext.core.DomHelper.insertBefore(a,b,c!==true)}else{return Ext.core.DomHelper[!this.dom.firstChild?"insertFirst":"append"](this.dom,b,c!==true)}},wrap:function(a,b){var e=Ext.core.DomHelper.insertBefore(this.dom,a||{tag:"div"},!b),c=e.dom||e;c.appendChild(this.dom);return e},insertHtml:function(b,c,a){var d=Ext.core.DomHelper.insertHtml(b,this.dom,c);return a?Ext.get(d):d}});(function(){Ext.core.Element.boxMarkup='
    ';var z=Ext.supports,s=document.defaultView,B=/alpha\(opacity=(.*)\)/i,l=/^\s+|\s+$/g,u=/\s+/,b=/\w/g,v=/table-row|table-.*-group/,c="_internal",e="padding",d="margin",x="border",t="-left",q="-right",w="-top",p="-bottom",j="-width",r=Math,y="hidden",g="isClipped",k="overflow",n="overflow-x",m="overflow-y",A="originalClip",i={l:x+t+j,r:x+q+j,t:x+w+j,b:x+p+j},h={l:e+t,r:e+q,t:e+w,b:e+p},a={l:d+t,r:d+q,t:d+w,b:d+p},C=Ext.core.Element.data;Ext.override(Ext.core.Element,{adjustWidth:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("lr")+E.getPadding("lr"))}return(F&&D<0)?0:D},adjustHeight:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("tb")+E.getPadding("tb"))}return(F&&D<0)?0:D},addCls:function(H){var I=this,E=[],J=((I.dom.className.replace(l,"")=="")?"":" "),G,D,F;if(H===undefined){return I}if(Object.prototype.toString.call(H)!=="[object Array]"){if(typeof H==="string"){H=H.replace(l,"").split(u);if(H.length===1){H=H[0];if(!I.hasCls(H)){I.dom.className+=J+H}}else{this.addCls(H)}}}else{for(G=0,D=H.length;G5?F.toLowerCase():E)},setStyle:function(H,G){var F=this,D,E;if(!F.dom){return F}if(typeof H==="string"){D={};D[H]=G;H=D}for(E in H){if(H.hasOwnProperty(E)){G=Ext.value(H[E],"");if(E=="opacity"){F.setOpacity(G)}else{F.dom.style[Ext.core.Element.normalize(E)]=G}}}return F},setOpacity:function(E,D){var G=this,I=G.dom,H,F;if(!G.dom){return G}F=G.dom.style;if(!D||!G.anim){if(!Ext.supports.Opacity){E=E<1?"alpha(opacity="+E*100+")":"";H=F.filter.replace(B,"").replace(l,"");F.zoom=1;F.filter=H+(H.length>0?" ":"")+E}else{F.opacity=E}}else{if(!Ext.isObject(D)){D={duration:350,easing:"ease-in"}}G.animate(Ext.applyIf({to:{opacity:E}},D))}return G},clearOpacity:function(){var D=this.dom.style;if(!Ext.supports.Opacity){if(!Ext.isEmpty(D.filter)){D.filter=D.filter.replace(B,"").replace(l,"")}}else{D.opacity=D["-moz-opacity"]=D["-khtml-opacity"]=""}return this},adjustDirect2DDimension:function(H){var F=this,I=F.dom,G=F.getStyle("display"),E=I.style.display,D=I.style.position,K=H==="width"?0:1,J;if(G==="inline"){I.style.display="inline-block"}I.style.position=G.match(v)?"absolute":"static";J=(parseFloat(F.getStyle(H))||parseFloat(I.currentStyle.msTransformOrigin.split(" ")[K])*2)%1;I.style.position=D;if(G==="inline"){I.style.display=E}return J},getHeight:function(K,F){var J=this,G=J.dom,H=Ext.isIE&&J.isStyle("display","none"),L,E,D,I;if(Ext.isIEQuirks){D=G.style;E=D.overflow;J.setStyle({overflow:"hidden"})}L=G.offsetHeight;L=r.max(L,H?0:G.clientHeight)||0;if(!H&&Ext.supports.Direct2DBug){I=J.adjustDirect2DDimension("height");if(F){L+=I}else{if(I>0&&I<0.5){L++}}}if(K){L-=(J.getBorderWidth("tb")+J.getPadding("tb"))}if(Ext.isIEQuirks){J.setStyle({overflow:E})}if(L<0){L=0}return L},getWidth:function(D,N){var K=this,H=K.dom,I=Ext.isIE&&K.isStyle("display","none"),L,F,G,E,J,M;if(Ext.isIEQuirks){E=H.style;G=E.overflow;K.setStyle({overflow:"hidden"})}if(Ext.isOpera10_5){if(H.parentNode.currentStyle.position==="relative"){M=H.parentNode.style.position;H.parentNode.style.position="static";F=H.offsetWidth;H.parentNode.style.position=M}F=Math.max(F||0,H.offsetWidth)}else{if(Ext.supports.BoundingClientRect){L=H.getBoundingClientRect();F=L.right-L.left;F=N?F:Math.ceil(F)}else{F=H.offsetWidth}}F=r.max(F,I?0:H.clientWidth)||0;if(!I&&Ext.supports.Direct2DBug){J=K.adjustDirect2DDimension("width");if(N){F+=J}else{if(J>0&&J<0.5){F++}}}if(D){F-=(K.getBorderWidth("lr")+K.getPadding("lr"))}if(Ext.isIEQuirks){K.setStyle({overflow:G})}if(F<0){F=0}return F},setWidth:function(E,D){var F=this;E=F.adjustWidth(E);if(!D||!F.anim){F.dom.style.width=F.addUnits(E)}else{if(!Ext.isObject(D)){D={}}F.animate(Ext.applyIf({to:{width:E}},D))}return F},setHeight:function(D,E){var F=this;D=F.adjustHeight(D);if(!E||!F.anim){F.dom.style.height=F.addUnits(D)}else{if(!Ext.isObject(E)){E={}}F.animate(Ext.applyIf({to:{height:D}},E))}return F},getBorderWidth:function(D){return this.addStyles(D,i)},getPadding:function(D){return this.addStyles(D,h)},clip:function(){var D=this,E=D.dom;if(!C(E,g)){C(E,g,true);C(E,A,{o:D.getStyle(k),x:D.getStyle(n),y:D.getStyle(m)});D.setStyle(k,y);D.setStyle(n,y);D.setStyle(m,y)}return D},unclip:function(){var E=this,F=E.dom,D;if(C(F,g)){C(F,g,false);D=C(F,A);if(o.o){E.setStyle(k,o.o)}if(o.x){E.setStyle(n,o.x)}if(o.y){E.setStyle(m,o.y)}}return E},addStyles:function(K,J){var E=0,I=K.match(b),H=0,D=I.length,G,F;for(;H"+Ext.String.format(Ext.core.Element.boxMarkup,D)+""));Ext.DomQuery.selectNode("."+D+"-mc",E.dom).appendChild(this.dom);return E},setSize:function(F,D,E){var G=this;if(Ext.isObject(F)){E=D;D=F.height;F=F.width}F=G.adjustWidth(F);D=G.adjustHeight(D);if(!E||!G.anim){G.dom.style.width=G.addUnits(F);G.dom.style.height=G.addUnits(D)}else{if(E===true){E={}}G.animate(Ext.applyIf({to:{width:F,height:D}},E))}return G},getComputedHeight:function(){var E=this,D=Math.max(E.dom.offsetHeight,E.dom.clientHeight);if(!D){D=parseFloat(E.getStyle("height"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("tb")}}return D},getComputedWidth:function(){var E=this,D=Math.max(E.dom.offsetWidth,E.dom.clientWidth);if(!D){D=parseFloat(E.getStyle("width"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("lr")}}return D},getFrameWidth:function(E,D){return D&&this.isBorderBox()?0:(this.getPadding(E)+this.getBorderWidth(E))},addClsOnOver:function(D){var E=this.dom;this.hover(function(){Ext.fly(E,c).addCls(D)},function(){Ext.fly(E,c).removeCls(D)});return this},addClsOnFocus:function(D){var E=this,F=E.dom;E.on("focus",function(){Ext.fly(F,c).addCls(D)});E.on("blur",function(){Ext.fly(F,c).removeCls(D)});return E},addClsOnClick:function(D){var E=this.dom;this.on("mousedown",function(){Ext.fly(E,c).addCls(D);var G=Ext.getDoc(),F=function(){Ext.fly(E,c).removeCls(D);G.removeListener("mouseup",F)};G.on("mouseup",F)});return this},getViewSize:function(){var G=this,H=G.dom,E=(H==Ext.getDoc().dom||H==Ext.getBody().dom),F,I,D;if(E){D={width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}else{if(Ext.isIE6||Ext.isIEQuirks){F=H.style;I=F.overflow;G.setStyle({overflow:"hidden"})}D={width:H.clientWidth,height:H.clientHeight};if(Ext.isIE6||Ext.isIEQuirks){G.setStyle({overflow:I})}}return D},getStyleSize:function(){var H=this,I=document,J=this.dom,E=(J==I||J==I.body),G=J.style,D,F;if(E){return{width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}if(G.width&&G.width!="auto"){D=parseFloat(G.width);if(H.isBorderBox()){D-=H.getFrameWidth("lr")}}if(G.height&&G.height!="auto"){F=parseFloat(G.height);if(H.isBorderBox()){F-=H.getFrameWidth("tb")}}return{width:D||H.getWidth(true),height:F||H.getHeight(true)}},getSize:function(D){return{width:this.getWidth(D),height:this.getHeight(D)}},repaint:function(){var D=this.dom;this.addCls(Ext.baseCSSPrefix+"repaint");setTimeout(function(){Ext.fly(D).removeCls(Ext.baseCSSPrefix+"repaint")},1);return this},unselectable:function(){var D=this;D.dom.unselectable="on";D.swallowEvent("selectstart",true);D.applyStyles("-moz-user-select:none;-khtml-user-select:none;");D.addCls(Ext.baseCSSPrefix+"unselectable");return D},getMargin:function(E){var F=this,G={t:"top",l:"left",r:"right",b:"bottom"},H={},D;if(!E){for(D in F.margins){H[G[D]]=parseFloat(F.getStyle(F.margins[D]))||0}return H}else{return F.addStyles.call(F,E,F.margins)}}})})();Ext.core.Element.VISIBILITY=1;Ext.core.Element.DISPLAY=2;Ext.core.Element.OFFSETS=3;Ext.core.Element.ASCLASS=4;Ext.core.Element.visibilityCls=Ext.baseCSSPrefix+"hide-nosize";Ext.core.Element.addMethods(function(){var e=Ext.core.Element,q="opacity",j="visibility",g="display",d="hidden",n="offsets",k="asclass",m="none",a="nosize",b="originalDisplay",c="visibilityMode",h="isVisible",i=e.data,l=function(s){var r=i(s,b);if(r===undefined){i(s,b,r="")}return r},p=function(s){var r=i(s,c);if(r===undefined){i(s,c,r=1)}return r};return{originalDisplay:"",visibilityMode:1,setVisibilityMode:function(r){i(this.dom,c,r);return this},isVisible:function(){var r=this,t=r.dom,s=i(t,h);if(typeof s=="boolean"){return s}s=!r.isStyle(j,d)&&!r.isStyle(g,m)&&!((p(t)==e.ASCLASS)&&r.hasCls(r.visibilityCls||e.visibilityCls));i(t,h,s);return s},setVisible:function(u,r){var x=this,s,z,y,w,v=x.dom,t=p(v);if(typeof r=="string"){switch(r){case g:t=e.DISPLAY;break;case j:t=e.VISIBILITY;break;case n:t=e.OFFSETS;break;case a:case k:t=e.ASCLASS;break}x.setVisibilityMode(t);r=false}if(!r||!x.anim){if(t==e.ASCLASS){x[u?"removeCls":"addCls"](x.visibilityCls||e.visibilityCls)}else{if(t==e.DISPLAY){return x.setDisplayed(u)}else{if(t==e.OFFSETS){if(!u){if(!x.hideModeStyles){x.hideModeStyles={position:x.getStyle("position"),top:x.getStyle("top"),left:x.getStyle("left")}}x.applyStyles({position:"absolute",top:"-10000px",left:"-10000px"})}else{if(x.hideModeStyles){x.applyStyles(x.hideModeStyles||{position:"",top:"",left:""});delete x.hideModeStyles}}}else{x.fixDisplay();v.style.visibility=u?"":d}}}}else{if(u){x.setOpacity(0.01);x.setVisible(true)}if(!Ext.isObject(r)){r={duration:350,easing:"ease-in"}}x.animate(Ext.applyIf({callback:function(){u||x.setVisible(false).setOpacity(1)},to:{opacity:(u)?1:0}},r))}i(v,h,u);return x},hasMetrics:function(){var r=this.dom;return this.isVisible()||(p(r)==e.OFFSETS)||(p(r)==e.VISIBILITY)},toggle:function(r){var s=this;s.setVisible(!s.isVisible(),s.anim(r));return s},setDisplayed:function(r){if(typeof r=="boolean"){r=r?l(this.dom):m}this.setStyle(g,r);return this},fixDisplay:function(){var r=this;if(r.isStyle(g,m)){r.setStyle(j,d);r.setStyle(g,l(this.dom));if(r.isStyle(g,m)){r.setStyle(g,"block")}}},hide:function(r){if(typeof r=="string"){this.setVisible(false,r);return this}this.setVisible(false,this.anim(r));return this},show:function(r){if(typeof r=="string"){this.setVisible(true,r);return this}this.setVisible(true,this.anim(r));return this}}}());Ext.applyIf(Ext.core.Element.prototype,{animate:function(a){var b=this;if(!b.id){b=Ext.get(b.dom)}if(Ext.fx.Manager.hasFxBlock(b.id)){return b}Ext.fx.Manager.queueFx(Ext.create("Ext.fx.Anim",b.anim(a)));return this},anim:function(a){if(!Ext.isObject(a)){return(a)?{}:false}var b=this,c=a.duration||Ext.fx.Anim.prototype.duration,e=a.easing||"ease",d;if(a.stopAnimation){b.stopAnimation()}Ext.applyIf(a,Ext.fx.Manager.getFxDefaults(b.id));Ext.fx.Manager.setFxDefaults(b.id,{delay:0});d={target:b,remove:a.remove,alternate:a.alternate||false,duration:c,easing:e,callback:a.callback,listeners:a.listeners,iterations:a.iterations||1,scope:a.scope,block:a.block,concurrent:a.concurrent,delay:a.delay||0,paused:true,keyframes:a.keyframes,from:a.from||{},to:Ext.apply({},a)};Ext.apply(d.to,a.to);delete d.to.to;delete d.to.from;delete d.to.remove;delete d.to.alternate;delete d.to.keyframes;delete d.to.iterations;delete d.to.listeners;delete d.to.target;delete d.to.paused;delete d.to.callback;delete d.to.scope;delete d.to.duration;delete d.to.easing;delete d.to.concurrent;delete d.to.block;delete d.to.stopAnimation;delete d.to.delay;return d},slideIn:function(b,h,e){var g=this,d=g.dom.style,c,a;b=b||"t";h=h||{};c=function(){var m=this,l=h.listeners,n,i,k,j,p;if(!e){g.fixDisplay()}n=g.getBox();if((b=="t"||b=="b")&&n.height==0){n.height=g.dom.scrollHeight}else{if((b=="l"||b=="r")&&n.width==0){n.width=g.dom.scrollWidth}}i=g.getPositioning();g.setSize(n.width,n.height);j=g.wrap({style:{visibility:e?"visible":"hidden"}});j.setPositioning(i);if(j.isStyle("position","static")){j.position("relative")}g.clearPositioning("auto");j.clip();g.setStyle({visibility:"",position:"absolute"});if(e){j.setSize(n.width,n.height)}switch(b){case"t":p={from:{width:n.width+"px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break;case"l":p={from:{width:"0px",height:n.height+"px"},to:{width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"r":p={from:{x:n.x+n.width,width:"0px",height:n.height+"px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};break;case"b":p={from:{y:n.y+n.height,width:n.width+"px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tl":p={from:{x:n.x,y:n.y,width:"0px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";d.right="0px";break;case"bl":p={from:{x:n.x+n.width,width:"0px",height:"0px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"br":p={from:{x:n.x+n.width,y:n.y+n.height,width:"0px",height:"0px"},to:{x:n.x,y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tr":p={from:{y:n.y+n.height,width:"0px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break}j.show();a=Ext.apply({},h);delete a.listeners;a=Ext.create("Ext.fx.Anim",Ext.applyIf(a,{target:j,duration:500,easing:"ease-out",from:e?p.to:p.from,to:e?p.from:p.to}));a.on("afteranimate",function(){if(e){g.setPositioning(i);if(h.useDisplay){g.setDisplayed(false)}else{g.hide()}}else{g.clearPositioning();g.setPositioning(i)}if(j.dom){j.dom.parentNode.insertBefore(g.dom,j.dom);j.remove()}g.setSize(n.width,n.height);m.end()});if(l){a.on(l)}};g.animate({duration:h.duration?h.duration*2:1000,listeners:{beforeanimate:{fn:c},afteranimate:{fn:function(){if(a&&a.running){a.end()}}}}});return g},slideOut:function(a,b){return this.slideIn(a,b,true)},puff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-out",duration:500,useDisplay:false});a=function(){b.clearOpacity();b.show();var e=b.getBox(),g=b.getStyle("fontSize"),d=b.getPositioning();this.to={width:e.width*2,height:e.height*2,x:e.x-(e.width/2),y:e.y-(e.height/2),opacity:0,fontSize:"200%"};this.on("afteranimate",function(){if(b.dom){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setStyle({fontSize:g})}})};b.animate({duration:c.duration,easing:c.easing,listeners:{beforeanimate:{fn:a}}});return b},switchOff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-in",duration:500,remove:false,useDisplay:false});a=function(){var h=this,g=b.getSize(),i=b.getXY(),e,d;b.clearOpacity();b.clip();d=b.getPositioning();e=Ext.create("Ext.fx.Animator",{target:b,duration:c.duration,easing:c.easing,keyframes:{33:{opacity:0.3},66:{height:1,y:i[1]+g.height/2},100:{width:1,x:i[0]+g.width/2}}});e.on("afteranimate",function(){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setSize(g);h.end()})};b.animate({duration:(c.duration*2),listeners:{beforeanimate:{fn:a}}});return b},frame:function(a,d,e){var c=this,b;a=a||"#C3DAF9";d=d||1;e=e||{};b=function(){c.show();var i=this,j=c.getBox(),h=Ext.getBody().createChild({style:{position:"absolute","pointer-events":"none","z-index":35000,border:"0px solid "+a}}),g;g=Ext.create("Ext.fx.Anim",{target:h,duration:e.duration||1000,iterations:d,from:{top:j.y,left:j.x,borderWidth:0,opacity:1,height:j.height,width:j.width},to:{top:j.y-20,left:j.x-20,borderWidth:10,opacity:0,height:j.height+40,width:j.width+40}});g.on("afteranimate",function(){h.remove();i.end()})};c.animate({duration:(e.duration*2)||2000,listeners:{beforeanimate:{fn:b}}});return c},ghost:function(a,d){var c=this,b;a=a||"b";b=function(){var h=c.getWidth(),g=c.getHeight(),i=c.getXY(),e=c.getPositioning(),j={opacity:0};switch(a){case"t":j.y=i[1]-g;break;case"l":j.x=i[0]-h;break;case"r":j.x=i[0]+h;break;case"b":j.y=i[1]+g;break;case"tl":j.x=i[0]-h;j.y=i[1]-g;break;case"bl":j.x=i[0]-h;j.y=i[1]+g;break;case"br":j.x=i[0]+h;j.y=i[1]+g;break;case"tr":j.x=i[0]+h;j.y=i[1]-g;break}this.to=j;this.on("afteranimate",function(){if(c.dom){c.hide();c.clearOpacity();c.setPositioning(e)}})};c.animate(Ext.applyIf(d||{},{duration:500,easing:"ease-out",listeners:{beforeanimate:{fn:b}}}));return c},highlight:function(d,b){var i=this,e=i.dom,k={},h,l,g,c,a,j;b=b||{};c=b.listeners||{};g=b.attr||"backgroundColor";k[g]=d||"ffff9c";if(!b.to){l={};l[g]=b.endColor||i.getColor(g,"ffffff","")}else{l=b.to}b.listeners=Ext.apply(Ext.apply({},c),{beforeanimate:function(){h=e.style[g];i.clearOpacity();i.show();a=c.beforeanimate;if(a){j=a.fn||a;return j.apply(a.scope||c.scope||window,arguments)}},afteranimate:function(){if(e){e.style[g]=h}a=c.afteranimate;if(a){j=a.fn||a;j.apply(a.scope||c.scope||window,arguments)}}});i.animate(Ext.apply({},b,{duration:1000,easing:"ease-in",from:k,to:l}));return i},pause:function(a){var b=this;Ext.fx.Manager.setFxDefaults(b.id,{delay:a});return b},fadeIn:function(a){this.animate(Ext.apply({},a,{opacity:1}));return this},fadeOut:function(a){this.animate(Ext.apply({},a,{opacity:0}));return this},scale:function(a,b,c){this.animate(Ext.apply({},c,{width:a,height:b}));return this},shift:function(a){this.animate(a);return this}});Ext.applyIf(Ext.core.Element,{unitRe:/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,camelRe:/(-[a-z])/gi,opacityRe:/alpha\(opacity=(.*)\)/i,cssRe:/([a-z0-9-]+)\s*:\s*([^;\s]+(?:\s*[^;\s]+)*);?/gi,propertyCache:{},defaultUnit:"px",borders:{l:"border-left-width",r:"border-right-width",t:"border-top-width",b:"border-bottom-width"},paddings:{l:"padding-left",r:"padding-right",t:"padding-top",b:"padding-bottom"},margins:{l:"margin-left",r:"margin-right",t:"margin-top",b:"margin-bottom"},addUnits:Ext.core.Element.prototype.addUnits,parseBox:function(b){if(Ext.isObject(b)){return{top:b.top||0,right:b.right||0,bottom:b.bottom||0,left:b.left||0}}else{if(typeof b!="string"){b=b.toString()}var c=b.split(" "),a=c.length;if(a==1){c[1]=c[2]=c[3]=c[0]}else{if(a==2){c[2]=c[0];c[3]=c[1]}else{if(a==3){c[3]=c[1]}}}return{top:parseFloat(c[0])||0,right:parseFloat(c[1])||0,bottom:parseFloat(c[2])||0,left:parseFloat(c[3])||0}}},unitizeBox:function(c,b){var a=this.addUnits,d=this.parseBox(c);return a(d.top,b)+" "+a(d.right,b)+" "+a(d.bottom,b)+" "+a(d.left,b)},camelReplaceFn:function(b,c){return c.charAt(1).toUpperCase()},normalize:function(a){if(a=="float"){a=Ext.supports.Float?"cssFloat":"styleFloat"}return this.propertyCache[a]||(this.propertyCache[a]=a.replace(this.camelRe,this.camelReplaceFn))},getDocumentHeight:function(){return Math.max(!Ext.isStrict?document.body.scrollHeight:document.documentElement.scrollHeight,this.getViewportHeight())},getDocumentWidth:function(){return Math.max(!Ext.isStrict?document.body.scrollWidth:document.documentElement.scrollWidth,this.getViewportWidth())},getViewportHeight:function(){return window.innerHeight},getViewportWidth:function(){return window.innerWidth},getViewSize:function(){return{width:window.innerWidth,height:window.innerHeight}},getOrientation:function(){if(Ext.supports.OrientationChange){return(window.orientation==0)?"portrait":"landscape"}return(window.innerHeight>window.innerWidth)?"portrait":"landscape"},fromPoint:function(a,b){return Ext.get(document.elementFromPoint(a,b))},parseStyles:function(c){var a={},b=this.cssRe,d;if(c){b.lastIndex=0;while((d=b.exec(c))){a[d[1]]=d[2]}}return a}});Ext.CompositeElementLite=function(b,a){this.elements=[];this.add(b,a);this.el=new Ext.core.Element.Flyweight()};Ext.CompositeElementLite.prototype={isComposite:true,getElement:function(a){var b=this.el;b.dom=a;b.id=a.id;return b},transformElement:function(a){return Ext.getDom(a)},getCount:function(){return this.elements.length},add:function(d,b){var e=this,g=e.elements;if(!d){return this}if(typeof d=="string"){d=Ext.core.Element.selectorFunction(d,b)}else{if(d.isComposite){d=d.elements}else{if(!Ext.isIterable(d)){d=[d]}}}for(var c=0,a=d.length;c-1){c=Ext.getDom(c);if(a){g=this.elements[b];g.parentNode.insertBefore(c,g);Ext.removeNode(g)}Ext.Array.splice(this.elements,b,1,c)}return this},clear:function(){this.elements=[]}};Ext.CompositeElementLite.prototype.on=Ext.CompositeElementLite.prototype.addListener;Ext.CompositeElementLite.importElementMethods=function(){var c,b=Ext.core.Element.prototype,a=Ext.CompositeElementLite.prototype;for(c in b){if(typeof b[c]=="function"){(function(d){a[d]=a[d]||function(){return this.invoke(d,arguments)}}).call(a,c)}}};Ext.CompositeElementLite.importElementMethods();if(Ext.DomQuery){Ext.core.Element.selectorFunction=Ext.DomQuery.select}Ext.core.Element.select=function(a,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;Ext.util.DelayedTask=function(d,c,a){var e=this,g,b=function(){clearInterval(g);g=null;d.apply(c,a||[])};this.delay=function(i,k,j,h){e.cancel();d=k||d;c=j||c;a=h||a;g=setInterval(b,i)};this.cancel=function(){if(g){clearInterval(g);g=null}}};Ext.require("Ext.util.DelayedTask",function(){Ext.util.Event=Ext.extend(Object,(function(){function b(e,g,h,d){g.task=new Ext.util.DelayedTask();return function(){g.task.delay(h.buffer,e,d,Ext.Array.toArray(arguments))}}function a(e,g,h,d){return function(){var i=new Ext.util.DelayedTask();if(!g.tasks){g.tasks=[]}g.tasks.push(i);i.delay(h.delay||10,e,d,Ext.Array.toArray(arguments))}}function c(e,g,h,d){return function(){g.ev.removeListener(g.fn,d);return e.apply(d,arguments)}}return{isEvent:true,constructor:function(e,d){this.name=d;this.observable=e;this.listeners=[]},addListener:function(g,e,d){var h=this,i;e=e||h.observable;if(!h.isListening(g,e)){i=h.createListener(g,e,d);if(h.firing){h.listeners=h.listeners.slice(0)}h.listeners.push(i)}},createListener:function(g,e,i){i=i||{};e=e||this.observable;var h={fn:g,scope:e,o:i,ev:this},d=g;if(i.single){d=c(d,h,i,e)}if(i.delay){d=a(d,h,i,e)}if(i.buffer){d=b(d,h,i,e)}h.fireFn=d;return h},findListener:function(j,h){var g=this.listeners,d=g.length,k,e;while(d--){k=g[d];if(k){e=k.scope;if(k.fn==j&&(e==h||e==this.observable)){return d}}}return -1},isListening:function(e,d){return this.findListener(e,d)!==-1},removeListener:function(h,g){var i=this,e,j,d;e=i.findListener(h,g);if(e!=-1){j=i.listeners[e];if(i.firing){i.listeners=i.listeners.slice(0)}if(j.task){j.task.cancel();delete j.task}d=j.tasks&&j.tasks.length;if(d){while(d--){j.tasks[d].cancel()}delete j.tasks}Ext.Array.erase(i.listeners,e,1);return true}return false},clearListeners:function(){var e=this.listeners,d=e.length;while(d--){this.removeListener(e[d].fn,e[d].scope)}},fire:function(){var j=this,g=j.listeners,h=g.length,e,d,k;if(h>0){j.firing=true;for(e=0;e111&&a.keyCode<124){a.keyCode=-1}}catch(b){}}},getRelatedTarget:function(a){a=a.browserEvent||a;var b=a.relatedTarget;if(!b){if(this.mouseLeaveRe.test(a.type)){b=a.toElement}else{if(this.mouseEnterRe.test(a.type)){b=a.fromElement}}}return this.resolveTextNode(b)},getPageX:function(a){return this.getXY(a)[0]},getPageY:function(a){return this.getXY(a)[1]},getPageXY:function(c){c=c.browserEvent||c;var b=c.pageX,e=c.pageY,d=document.documentElement,a=document.body;if(!b&&b!==0){b=c.clientX+(d&&d.scrollLeft||a&&a.scrollLeft||0)-(d&&d.clientLeft||a&&a.clientLeft||0);e=c.clientY+(d&&d.scrollTop||a&&a.scrollTop||0)-(d&&d.clientTop||a&&a.clientTop||0)}return[b,e]},getTarget:function(a){a=a.browserEvent||a;return this.resolveTextNode(a.target||a.srcElement)},resolveTextNode:Ext.isGecko?function(b){if(!b){return}var a=HTMLElement.prototype.toString.call(b);if(a=="[xpconnect wrapped native prototype]"||a=="[object XULElement]"){return}return b.nodeType==3?b.parentNode:b}:function(a){return a&&a.nodeType==3?a.parentNode:a},curWidth:0,curHeight:0,onWindowResize:function(d,c,b){var a=this.resizeEvent;if(!a){this.resizeEvent=a=new Ext.util.Event();this.on(window,"resize",this.fireResize,this,{buffer:100})}a.addListener(d,c,b)},fireResize:function(){var c=this,a=Ext.core.Element.getViewWidth(),b=Ext.core.Element.getViewHeight();if(c.curHeight!=b||c.curWidth!=a){c.curHeight=b;c.curWidth=a;c.resizeEvent.fire(a,b)}},removeResizeListener:function(b,a){if(this.resizeEvent){this.resizeEvent.removeListener(b,a)}},onWindowUnload:function(){var a=this.unloadEvent;if(!a){this.unloadEvent=a=new Ext.util.Event();this.addListener(window,"unload",this.fireUnload,this)}},fireUnload:function(){try{this.removeUnloadListener();if(Ext.isGecko3){var h=Ext.ComponentQuery.query("gridview"),b=0,d=h.length;for(;b=525:!((Ext.isGecko&&!Ext.isWindows)||Ext.isOpera),getKeyEvent:function(){return this.useKeyDown?"keydown":"keypress"}};Ext.onReady=function(c,b,a){Ext.Loader.onReady(c,b,true,a)};Ext.onDocumentReady=Ext.EventManager.onDocumentReady;Ext.EventManager.on=Ext.EventManager.addListener;Ext.EventManager.un=Ext.EventManager.removeListener;(function(){var a=function(){var g=document.body||document.getElementsByTagName("body")[0],e=Ext.baseCSSPrefix,c=[e+"body"],b=[],d;if(!g){return false}d=g.parentNode;if(Ext.isIE){c.push(e+"ie")}if(Ext.isIE6){c.push(e+"ie6")}if(Ext.isIE7){c.push(e+"ie7")}if(Ext.isIE8){c.push(e+"ie8")}if(Ext.isIE9){c.push(e+"ie9")}if(Ext.isGecko){c.push(e+"gecko")}if(Ext.isGecko3){c.push(e+"gecko3")}if(Ext.isGecko4){c.push(e+"gecko4")}if(Ext.isOpera){c.push(e+"opera")}if(Ext.isWebKit){c.push(e+"webkit")}if(Ext.isSafari){c.push(e+"safari")}if(Ext.isSafari2){c.push(e+"safari2")}if(Ext.isSafari3){c.push(e+"safari3")}if(Ext.isSafari4){c.push(e+"safari4")}if(Ext.isChrome){c.push(e+"chrome")}if(Ext.isMac){c.push(e+"mac")}if(Ext.isLinux){c.push(e+"linux")}if(!Ext.supports.CSS3BorderRadius){c.push(e+"nbr")}if(!Ext.supports.CSS3LinearGradient){c.push(e+"nlg")}if(!Ext.scopeResetCSS){c.push(e+"reset")}if(d){if(Ext.isStrict&&(Ext.isIE6||Ext.isIE7)){Ext.isBorderBox=false}else{Ext.isBorderBox=true}b.push(e+(Ext.isBorderBox?"border-box":"strict"));if(!Ext.isStrict){b.push(e+"quirks");if(Ext.isIE&&!Ext.isStrict){Ext.isIEQuirks=true}}Ext.fly(d,"_internal").addCls(b)}Ext.fly(g,"_internal").addCls(c);return true};Ext.onReady(a)})();Ext.define("Ext.EventObjectImpl",{uses:["Ext.util.Point"],BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,WHEEL_SCALE:(function(){var a;if(Ext.isGecko){a=3}else{if(Ext.isMac){if(Ext.isSafari&&Ext.webKitVersion>=532){a=120}else{a=12}a*=3}else{a=120}}return a})(),clickRe:/(dbl)?click/,safariKeys:{3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35},btnMap:Ext.isIE?{1:0,4:1,2:2}:{0:0,1:1,2:2},constructor:function(a,b){if(a){this.setEvent(a.browserEvent||a,b)}},setEvent:function(d,e){var c=this,b,a;if(d==c||(d&&d.browserEvent)){return d}c.browserEvent=d;if(d){b=d.button?c.btnMap[d.button]:(d.which?d.which-1:-1);if(c.clickRe.test(d.type)&&b==-1){b=0}a={type:d.type,button:b,shiftKey:d.shiftKey,ctrlKey:d.ctrlKey||d.metaKey||false,altKey:d.altKey,keyCode:d.keyCode,charCode:d.charCode,target:Ext.EventManager.getTarget(d),relatedTarget:Ext.EventManager.getRelatedTarget(d),currentTarget:d.currentTarget,xy:(e?c.getXY():null)}}else{a={button:-1,shiftKey:false,ctrlKey:false,altKey:false,keyCode:0,charCode:0,target:null,xy:[0,0]}}Ext.apply(c,a);return c},stopEvent:function(){this.stopPropagation();this.preventDefault()},preventDefault:function(){if(this.browserEvent){Ext.EventManager.preventDefault(this.browserEvent)}},stopPropagation:function(){var a=this.browserEvent;if(a){if(a.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(this)}Ext.EventManager.stopPropagation(a)}},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){return this.normalizeKey(this.keyCode||this.charCode)},normalizeKey:function(a){return Ext.isWebKit?(this.safariKeys[a]||a):a},getPageX:function(){return this.getX()},getPageY:function(){return this.getY()},getX:function(){return this.getXY()[0]},getY:function(){return this.getXY()[1]},getXY:function(){if(!this.xy){this.xy=Ext.EventManager.getPageXY(this.browserEvent)}return this.xy},getTarget:function(b,c,a){if(b){return Ext.fly(this.target).findParent(b,c,a)}return a?Ext.get(this.target):this.target},getRelatedTarget:function(b,c,a){if(b){return Ext.fly(this.relatedTarget).findParent(b,c,a)}return a?Ext.get(this.relatedTarget):this.relatedTarget},correctWheelDelta:function(c){var b=this.WHEEL_SCALE,a=Math.round(c/b+0.5);if(!a&&c){a=(c<0)?-1:1}return a},getWheelDeltas:function(){var d=this,c=d.browserEvent,b=0,a=0;if(Ext.isDefined(c.wheelDeltaX)){b=c.wheelDeltaX;a=c.wheelDeltaY}else{if(c.wheelDelta){a=c.wheelDelta}else{if(c.detail){a=-c.detail;if(a>100){a=3}else{if(a<-100){a=-3}}if(Ext.isDefined(c.axis)&&c.axis===c.HORIZONTAL_AXIS){b=a;a=0}}}}return{x:d.correctWheelDelta(b),y:d.correctWheelDelta(a)}},getWheelDelta:function(){var a=this.getWheelDeltas();return a.y},within:function(d,e,b){if(d){var c=e?this.getRelatedTarget():this.getTarget(),a;if(c){a=Ext.fly(d).contains(c);if(!a&&b){a=c==Ext.getDom(d)}return a}}return false},isNavKeyPress:function(){var b=this,a=this.normalizeKey(b.keyCode);return(a>=33&&a<=40)||a==b.RETURN||a==b.TAB||a==b.ESC},isSpecialKey:function(){var a=this.normalizeKey(this.keyCode);return(this.type=="keypress"&&this.ctrlKey)||this.isNavKeyPress()||(a==this.BACKSPACE)||(a>=16&&a<=20)||(a>=44&&a<=46)},getPoint:function(){var a=this.getXY();return Ext.create("Ext.util.Point",a[0],a[1])},hasModifier:function(){return this.ctrlKey||this.altKey||this.shiftKey||this.metaKey},injectEvent:function(){var d,e={};if(!Ext.isIE&&document.createEvent){d={createHtmlEvent:function(k,i,h,g){var j=k.createEvent("HTMLEvents");j.initEvent(i,h,g);return j},createMouseEvent:function(v,t,m,l,p,k,i,j,g,s,r,n,q){var h=v.createEvent("MouseEvents"),u=v.defaultView||window;if(h.initMouseEvent){h.initMouseEvent(t,m,l,u,p,k,i,k,i,j,g,s,r,n,q)}else{h=v.createEvent("UIEvents");h.initEvent(t,m,l);h.view=u;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.metaKey=r;h.shiftKey=s;h.button=n;h.relatedTarget=q}return h},createUIEvent:function(m,k,i,h,j){var l=m.createEvent("UIEvents"),g=m.defaultView||window;l.initUIEvent(k,i,h,g,j);return l},fireEvent:function(i,g,h){i.dispatchEvent(h)},fixTarget:function(g){if(g==window&&!g.dispatchEvent){return document}return g}}}else{if(document.createEventObject){var c={0:1,1:4,2:2};d={createHtmlEvent:function(k,i,h,g){var j=k.createEventObject();j.bubbles=h;j.cancelable=g;return j},createMouseEvent:function(u,t,m,l,p,k,i,j,g,s,r,n,q){var h=u.createEventObject();h.bubbles=m;h.cancelable=l;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.shiftKey=s;h.metaKey=r;h.button=c[n]||n;h.relatedTarget=q;return h},createUIEvent:function(l,j,h,g,i){var k=l.createEventObject();k.bubbles=h;k.cancelable=g;return k},fireEvent:function(i,g,h){i.fireEvent("on"+g,h)},fixTarget:function(g){if(g==document){return document.documentElement}return g}}}}Ext.Object.each({load:[false,false],unload:[false,false],select:[true,false],change:[true,false],submit:[true,true],reset:[true,false],resize:[true,false],scroll:[true,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createHtmlEvent(i,h,g);d.fireEvent(m,i,l)}});function b(i,h){var g=(i!="mousemove");return function(m,j){var l=j.getXY(),k=d.createMouseEvent(m.ownerDocument,i,true,g,h,l[0],l[1],j.ctrlKey,j.altKey,j.shiftKey,j.metaKey,j.button,j.relatedTarget);d.fireEvent(m,i,k)}}Ext.each(["click","dblclick","mousedown","mouseup","mouseover","mousemove","mouseout"],function(g){e[g]=b(g,1)});Ext.Object.each({focusin:[true,false],focusout:[true,false],activate:[true,true],focus:[false,false],blur:[false,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createUIEvent(m.ownerDocument,i,h,g,1);d.fireEvent(m,i,l)}});if(!d){e={};d={fixTarget:function(g){return g}}}function a(h,g){}return function(j){var i=this,h=e[i.type]||a,g=j?(j.dom||j):i.getTarget();g=d.fixTarget(g);h(g,i)}}()},function(){Ext.EventObject=new Ext.EventObjectImpl()});(function(){var e=document,d=null,b=e.compatMode=="CSS1Compat",h=Ext.core.Element,a=function(i){if(!c){c=new Ext.core.Element.Flyweight()}c.dom=i;return c},c;if(!("activeElement" in e)&&e.addEventListener){e.addEventListener("focus",function(i){if(i&&i.target){d=(i.target==e)?null:i.target}},true)}function g(j,k,i){return function(){j.selectionStart=k;j.selectionEnd=i}}Ext.apply(h,{isAncestor:function(j,k){var i=false;j=Ext.getDom(j);k=Ext.getDom(k);if(j&&k){if(j.contains){return j.contains(k)}else{if(j.compareDocumentPosition){return !!(j.compareDocumentPosition(k)&16)}else{while((k=k.parentNode)){i=k==j||i}}}}return i},getActiveElement:function(){return e.activeElement||d},getRightMarginFixCleaner:function(n){var k=Ext.supports,l=k.DisplayChangeInputSelectionBug,m=k.DisplayChangeTextAreaSelectionBug;if(l||m){var p=e.activeElement||d,i=p&&p.tagName,q,j;if((m&&i=="TEXTAREA")||(l&&i=="INPUT"&&p.type=="text")){if(h.isAncestor(n,p)){q=p.selectionStart;j=p.selectionEnd;if(Ext.isNumber(q)&&Ext.isNumber(j)){return g(p,q,j)}}}}return Ext.emptyFn},getViewWidth:function(i){return i?h.getDocumentWidth():h.getViewportWidth()},getViewHeight:function(i){return i?h.getDocumentHeight():h.getViewportHeight()},getDocumentHeight:function(){return Math.max(!b?e.body.scrollHeight:e.documentElement.scrollHeight,h.getViewportHeight())},getDocumentWidth:function(){return Math.max(!b?e.body.scrollWidth:e.documentElement.scrollWidth,h.getViewportWidth())},getViewportHeight:function(){return Ext.isIE?(Ext.isStrict?e.documentElement.clientHeight:e.body.clientHeight):self.innerHeight},getViewportWidth:function(){return(!Ext.isStrict&&!Ext.isOpera)?e.body.clientWidth:Ext.isIE?e.documentElement.clientWidth:self.innerWidth},getY:function(i){return h.getXY(i)[1]},getX:function(i){return h.getXY(i)[0]},getXY:function(k){var j,r,t,w,l,m,v=0,s=0,u,i,n=(e.body||e.documentElement),q=[0,0];k=Ext.getDom(k);if(k!=n){i=a(k).isStyle("position","absolute");if(k.getBoundingClientRect){t=k.getBoundingClientRect();u=a(document).getScroll();q=[Math.round(t.left+u.left),Math.round(t.top+u.top)]}else{j=k;while(j){r=a(j);v+=j.offsetLeft;s+=j.offsetTop;i=i||r.isStyle("position","absolute");if(Ext.isGecko){s+=w=parseInt(r.getStyle("borderTopWidth"),10)||0;v+=l=parseInt(r.getStyle("borderLeftWidth"),10)||0;if(j!=k&&!r.isStyle("overflow","visible")){v+=l;s+=w}}j=j.offsetParent}if(Ext.isSafari&&i){v-=n.offsetLeft;s-=n.offsetTop}if(Ext.isGecko&&!i){m=a(n);v+=parseInt(m.getStyle("borderLeftWidth"),10)||0;s+=parseInt(m.getStyle("borderTopWidth"),10)||0}j=k.parentNode;while(j&&j!=n){if(!Ext.isOpera||(j.tagName!="TR"&&!a(j).isStyle("display","inline"))){v-=j.scrollLeft;s-=j.scrollTop}j=j.parentNode}q=[v,s]}}return q},setXY:function(j,k){(j=Ext.fly(j,"_setXY")).position();var l=j.translatePoints(k),i=j.dom.style,m;for(m in l){if(!isNaN(l[m])){i[m]=l[m]+"px"}}},setX:function(j,i){h.setXY(j,[i,false])},setY:function(i,j){h.setXY(i,[false,j])},serializeForm:function(p){var n=p.elements||(document.forms[p]||Ext.getDom(p)).elements,i=false,m=encodeURIComponent,j,q="",l,k;Ext.each(n,function(r){j=r.name;l=r.type;if(!r.disabled&&j){if(/select-(one|multiple)/i.test(l)){Ext.each(r.options,function(s){if(s.selected){k=s.hasAttribute?s.hasAttribute("value"):s.getAttributeNode("value").specified;q+=Ext.String.format("{0}={1}&",m(j),m(k?s.value:s.text))}})}else{if(!(/file|undefined|reset|button/i.test(l))){if(!(/radio|checkbox/i.test(l)&&!r.checked)&&!(l=="submit"&&i)){q+=m(j)+"="+m(r.value)+"&";i=/submit/i.test(l)}}}}});return q.substr(0,q.length-1)}})})();Ext.core.Element.addMethods({monitorMouseLeave:function(a,d,c){var e=this,g,b={mouseleave:function(h){g=setTimeout(Ext.Function.bind(d,c||e,[h]),a)},mouseenter:function(){clearTimeout(g)},freezeEvent:true};e.on(b);return b},swallowEvent:function(a,b){var d=this;function c(g){g.stopPropagation();if(b){g.preventDefault()}}if(Ext.isArray(a)){Ext.each(a,function(g){d.on(g,c)});return d}d.on(a,c);return d},relayEvent:function(a,b){this.on(a,function(c){b.fireEvent(a,c)})},clean:function(b){var d=this,e=d.dom,g=e.firstChild,a,c=-1;if(Ext.core.Element.data(e,"isCleaned")&&b!==true){return d}while(g){a=g.nextSibling;if(g.nodeType==3){if(!(/\S/.test(g.nodeValue))){e.removeChild(g)}else{if(a&&a.nodeType==3){g.appendData(Ext.String.trim(a.data));e.removeChild(a);a=g.nextSibling;g.nodeIndex=++c}}}else{Ext.fly(g).clean();g.nodeIndex=++c}g=a}Ext.core.Element.data(e,"isCleaned",true);return d},load:function(a){this.getLoader().load(a);return this},getLoader:function(){var c=this.dom,b=Ext.core.Element.data,a=b(c,"loader");if(!a){a=Ext.create("Ext.ElementLoader",{target:this});b(c,"loader",a)}return a},update:function(html,loadScripts,callback){var me=this,id,dom,interval;if(!me.dom){return me}html=html||"";dom=me.dom;if(loadScripts!==true){dom.innerHTML=html;Ext.callback(callback,me);return me}id=Ext.id();html+='';interval=setInterval(function(){if(!document.getElementById(id)){return false}clearInterval(interval);var DOC=document,hd=DOC.getElementsByTagName("head")[0],re=/(?:]*)?>)((\n|\r|.)*?)(?:<\/script>)/ig,srcRe=/\ssrc=([\'\"])(.*?)\1/i,typeRe=/\stype=([\'\"])(.*?)\1/i,match,attrs,srcMatch,typeMatch,el,s;while((match=re.exec(html))){attrs=match[1];srcMatch=attrs?attrs.match(srcRe):false;if(srcMatch&&srcMatch[2]){s=DOC.createElement("script");s.src=srcMatch[2];typeMatch=attrs.match(typeRe);if(typeMatch&&typeMatch[2]){s.type=typeMatch[2]}hd.appendChild(s)}else{if(match[2]&&match[2].length>0){if(window.execScript){window.execScript(match[2])}else{window.eval(match[2])}}}}el=DOC.getElementById(id);if(el){Ext.removeNode(el)}Ext.callback(callback,me)},20);dom.innerHTML=html.replace(/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,"");return me},removeAllListeners:function(){this.removeAnchor();Ext.EventManager.removeAll(this.dom);return this},createProxy:function(a,e,d){a=(typeof a=="object")?a:{tag:"div",cls:a};var c=this,b=e?Ext.core.DomHelper.append(e,a,true):Ext.core.DomHelper.insertBefore(c.dom,a,true);b.setVisibilityMode(Ext.core.Element.DISPLAY);b.hide();if(d&&c.setBox&&c.getBox){b.setBox(c.getBox())}return b}});Ext.core.Element.prototype.clearListeners=Ext.core.Element.prototype.removeAllListeners;Ext.core.Element.addMethods({getAnchorXY:function(e,l,q){e=(e||"tl").toLowerCase();q=q||{};var k=this,b=k.dom==document.body||k.dom==document,n=q.width||b?Ext.core.Element.getViewWidth():k.getWidth(),i=q.height||b?Ext.core.Element.getViewHeight():k.getHeight(),p,a=Math.round,c=k.getXY(),m=k.getScroll(),j=b?m.left:!l?c[0]:0,g=b?m.top:!l?c[1]:0,d={c:[a(n*0.5),a(i*0.5)],t:[a(n*0.5),0],l:[0,a(i*0.5)],r:[n,a(i*0.5)],b:[a(n*0.5),i],tl:[0,0],bl:[0,i],br:[n,i],tr:[n,0]};p=d[e];return[p[0]+j,p[1]+g]},anchorTo:function(b,h,c,a,k,l){var i=this,e=i.dom,j=!Ext.isEmpty(k),d=function(){Ext.fly(e).alignTo(b,h,c,a);Ext.callback(l,Ext.fly(e))},g=this.getAnchor();this.removeAnchor();Ext.apply(g,{fn:d,scroll:j});Ext.EventManager.onWindowResize(d,null);if(j){Ext.EventManager.on(window,"scroll",d,null,{buffer:!isNaN(k)?k:50})}d.call(i);return i},removeAnchor:function(){var b=this,a=this.getAnchor();if(a&&a.fn){Ext.EventManager.removeResizeListener(a.fn);if(a.scroll){Ext.EventManager.un(window,"scroll",a.fn)}delete a.fn}return b},getAnchor:function(){var b=Ext.core.Element.data,c=this.dom;if(!c){return}var a=b(c,"_anchor");if(!a){a=b(c,"_anchor",{})}return a},getAlignVector:function(c,a,h){var d=this,b={t:"top",l:"left",r:"right",b:"bottom"},e=d.getRegion(),g;c=Ext.get(c);if(!c||!c.dom){}g=c.getRegion()},getAlignToXY:function(g,A,B){g=Ext.get(g);if(!g||!g.dom){}B=B||[0,0];A=(!A||A=="?"?"tl-bl?":(!(/-/).test(A)&&A!==""?"tl-"+A:A||"tl-bl")).toLowerCase();var K=this,H=K.dom,M,L,n,l,s,F,v,t=Ext.core.Element.getViewWidth()-10,G=Ext.core.Element.getViewHeight()-10,b,i,j,k,u,z,N=document,J=N.documentElement,q=N.body,E=(J.scrollLeft||q.scrollLeft||0)+5,D=(J.scrollTop||q.scrollTop||0)+5,I=false,e="",a="",C=A.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!C){}e=C[1];a=C[2];I=!!C[3];M=K.getAnchorXY(e,true);L=g.getAnchorXY(a,false);n=L[0]-M[0]+B[0];l=L[1]-M[1]+B[1];if(I){s=K.getWidth();F=K.getHeight();v=g.getRegion();b=e.charAt(0);i=e.charAt(e.length-1);j=a.charAt(0);k=a.charAt(a.length-1);u=((b=="t"&&j=="b")||(b=="b"&&j=="t"));z=((i=="r"&&k=="l")||(i=="l"&&k=="r"));if(n+s>t+E){n=z?v.left-s:t+E-s}if(nG+D){l=u?v.top-F:G+D-F}if(ld.right){c=true;a[0]=(d.right-g.right)}if(g.left+a[0]d.bottom){c=true;a[1]=(d.bottom-g.bottom)}if(g.top+a[1]a.clientHeight||a.scrollWidth>a.clientWidth},getScroll:function(){var i=this.dom,h=document,a=h.body,c=h.documentElement,b,g,e;if(i==h||i==a){if(Ext.isIE&&Ext.isStrict){b=c.scrollLeft;g=c.scrollTop}else{b=window.pageXOffset;g=window.pageYOffset}e={left:b||(a?a.scrollLeft:0),top:g||(a?a.scrollTop:0)}}else{e={left:i.scrollLeft,top:i.scrollTop}}return e},scrollTo:function(b,d,a){var g=/top/i.test(b),c=this,h=c.dom,e={},i;if(!a||!c.anim){i="scroll"+(g?"Top":"Left");h[i]=d}else{if(!Ext.isObject(a)){a={}}e["scroll"+(g?"Top":"Left")]=d;c.animate(Ext.applyIf({to:e},a))}return c},scrollIntoView:function(b,e){b=Ext.getDom(b)||Ext.getBody().dom;var c=this.dom,h=this.getOffsetsTo(b),g=h[0]+b.scrollLeft,j=h[1]+b.scrollTop,a=j+c.offsetHeight,k=g+c.offsetWidth,n=b.clientHeight,m=parseInt(b.scrollTop,10),d=parseInt(b.scrollLeft,10),i=m+n,l=d+b.clientWidth;if(c.offsetHeight>n||ji){b.scrollTop=a-n}}b.scrollTop=b.scrollTop;if(e!==false){if(c.offsetWidth>b.clientWidth||gl){b.scrollLeft=k-b.clientWidth}}b.scrollLeft=b.scrollLeft}return this},scrollChildIntoView:function(b,a){Ext.fly(b,"_scrollChildIntoView").scrollIntoView(this,a)},scroll:function(m,b,d){if(!this.isScrollable()){return false}var e=this.dom,g=e.scrollLeft,q=e.scrollTop,n=e.scrollWidth,k=e.scrollHeight,i=e.clientWidth,a=e.clientHeight,c=false,p,j={l:Math.min(g+b,n-i),r:p=Math.max(g-b,0),t:Math.max(q-b,0),b:Math.min(q+b,k-a)};j.d=j.b;j.u=j.t;m=m.substr(0,1);if((p=j[m])>-1){c=true;this.scrollTo(m=="l"||m=="r"?"left":"top",p,this.anim(d))}return c}});Ext.core.Element.addMethods(function(){var d="visibility",b="display",a="hidden",h="none",c=Ext.baseCSSPrefix+"masked",g=Ext.baseCSSPrefix+"masked-relative",e=Ext.core.Element.data;return{isVisible:function(i){var j=!this.isStyle(d,a)&&!this.isStyle(b,h),k=this.dom.parentNode;if(i!==true||!j){return j}while(k&&!(/^body/i.test(k.tagName))){if(!Ext.fly(k,"_isVisible").isVisible()){return false}k=k.parentNode}return true},isDisplayed:function(){return !this.isStyle(b,h)},enableDisplayMode:function(i){this.setVisibilityMode(Ext.core.Element.DISPLAY);if(!Ext.isEmpty(i)){e(this.dom,"originalDisplay",i)}return this},mask:function(j,p){var r=this,l=r.dom,m=l.style.setExpression,q=Ext.core.DomHelper,n=Ext.baseCSSPrefix+"mask-msg",i,s;if(!(/^body/i.test(l.tagName)&&r.getStyle("position")=="static")){r.addCls(g)}i=e(l,"maskMsg");if(i){i.remove()}i=e(l,"mask");if(i){i.remove()}s=q.append(l,{cls:Ext.baseCSSPrefix+"mask"},true);e(l,"mask",s);r.addCls(c);s.setDisplayed(true);if(typeof j=="string"){var k=q.append(l,{cls:n,cn:{tag:"div"}},true);e(l,"maskMsg",k);k.dom.className=p?n+" "+p:n;k.dom.firstChild.innerHTML=j;k.setDisplayed(true);k.center(r)}if(!Ext.supports.IncludePaddingInWidthCalculation&&m){s.dom.style.setExpression("width",'this.parentNode.offsetWidth + "px"')}if(!Ext.supports.IncludePaddingInHeightCalculation&&m){s.dom.style.setExpression("height",'this.parentNode.offsetHeight + "px"')}else{if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&r.getStyle("height")=="auto"){s.setSize(undefined,r.getHeight())}}return s},unmask:function(){var k=this,l=k.dom,i=e(l,"mask"),j=e(l,"maskMsg");if(i){if(i.dom.style.clearExpression){i.dom.style.clearExpression("width");i.dom.style.clearExpression("height")}if(j){j.remove();e(l,"maskMsg",undefined)}i.remove();e(l,"mask",undefined);k.removeCls([c,g])}},isMasked:function(){var k=this,i=e(k.dom,"mask"),j=e(k.dom,"maskMsg");if(i&&i.isVisible()){if(j){j.center(k)}return true}return false},createShim:function(){var i=document.createElement("iframe"),j;i.frameBorder="0";i.className=Ext.baseCSSPrefix+"shim";i.src=Ext.SSL_SECURE_URL;j=Ext.get(this.dom.parentNode.insertBefore(i,this.dom));j.autoBoxAdjust=false;return j}}}());Ext.core.Element.addMethods({addKeyListener:function(b,d,c){var a;if(typeof b!="object"||Ext.isArray(b)){a={key:b,fn:d,scope:c}}else{a={key:b.key,shift:b.shift,ctrl:b.ctrl,alt:b.alt,fn:d,scope:c}}return Ext.create("Ext.util.KeyMap",this,a)},addKeyMap:function(a){return Ext.create("Ext.util.KeyMap",this,a)}});Ext.CompositeElementLite.importElementMethods();Ext.apply(Ext.CompositeElementLite.prototype,{addElements:function(c,a){if(!c){return this}if(typeof c=="string"){c=Ext.core.Element.selectorFunction(c,a)}var b=this.elements;Ext.each(c,function(d){b.push(Ext.get(d))});return this},first:function(){return this.item(0)},last:function(){return this.item(this.getCount()-1)},contains:function(a){return this.indexOf(a)!=-1},removeElement:function(d,e){var c=this,a=this.elements,b;Ext.each(d,function(g){if((b=(a[g]||a[g=c.indexOf(g)]))){if(e){if(b.dom){b.remove()}else{Ext.removeNode(b)}}Ext.Array.erase(a,g,1)}});return this}});Ext.CompositeElement=Ext.extend(Ext.CompositeElementLite,{constructor:function(b,a){this.elements=[];this.add(b,a)},getElement:function(a){return a},transformElement:function(a){return Ext.get(a)}});Ext.core.Element.select=function(a,d,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return(d===true)?new Ext.CompositeElement(c):new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;Ext.define("Ext.util.Observable",{requires:["Ext.util.Event"],statics:{releaseCapture:function(a){a.fireEvent=this.prototype.fireEvent},capture:function(c,b,a){c.fireEvent=Ext.Function.createInterceptor(c.fireEvent,b,a)},observe:function(a,b){if(a){if(!a.isObservable){Ext.applyIf(a,new this());this.capture(a.prototype,a.fireEvent,a)}if(Ext.isObject(b)){a.on(b)}return a}}},isObservable:true,constructor:function(a){var b=this;Ext.apply(b,a);if(b.listeners){b.on(b.listeners);delete b.listeners}b.events=b.events||{};if(b.bubbleEvents){b.enableBubble(b.bubbleEvents)}},eventOptionsRe:/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate|element|vertical|horizontal)$/,addManagedListener:function(i,d,g,e,c){var h=this,a=h.managedListeners=h.managedListeners||[],b;if(typeof d!=="string"){c=d;for(d in c){if(c.hasOwnProperty(d)){b=c[d];if(!h.eventOptionsRe.test(d)){h.addManagedListener(i,d,b.fn||b,b.scope||c.scope,b.fn?b:c)}}}}else{a.push({item:i,ename:d,fn:g,scope:e,options:c});i.on(d,g,e,c)}},removeManagedListener:function(j,c,g,k){var e=this,l,b,h,a,d;if(typeof c!=="string"){l=c;for(c in l){if(l.hasOwnProperty(c)){b=l[c];if(!e.eventOptionsRe.test(c)){e.removeManagedListener(j,c,b.fn||b,b.scope||l.scope)}}}}h=e.managedListeners?e.managedListeners.slice():[];for(d=0,a=h.length;d0},suspendEvents:function(a){this.eventsSuspended=true;if(a&&!this.eventQueue){this.eventQueue=[]}},resumeEvents:function(){var a=this,b=a.eventQueue||[];a.eventsSuspended=false;delete a.eventQueue;Ext.each(b,function(c){a.fireEvent.apply(a,c)})},relayEvents:function(c,e,j){j=j||"";var h=this,a=e.length,d=0,g,b;for(;d1){for(;c";for(;s\^])\s?|\s|$)/,c=/^(#)?([\w\-]+|\*)(?:\((true|false)\))?/,b=[{re:/^\.([\w\-]+)(?:\((true|false)\))?/,method:m},{re:/^(?:[\[](?:@)?([\w\-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]])/,method:n},{re:/^#([\w\-]+)/,method:d},{re:/^\:([\w\-]+)(?:\(((?:\{[^\}]+\})|(?:(?!\{)[^\s>\/]*?(?!\})))\))?/,method:l},{re:/^(?:\{([^\}]+)\})/,method:k}];h.Query=Ext.extend(Object,{constructor:function(p){p=p||{};Ext.apply(this,p)},execute:function(q){var s=this.operations,t=0,u=s.length,r,p;if(!q){p=Ext.ComponentManager.all.getArray()}else{if(Ext.isArray(q)){p=q}}for(;t1){for(s=0,t=u.length;s1){t=s.length;for(r=0;re?1:(g0){if(!b.stateTask){b.stateTask=Ext.create("Ext.util.DelayedTask",b.saveState,b)}b.stateTask.delay(b.saveDelay)}else{b.saveState()}},saveState:function(){var a=this,c,b;if(a.stateful!==false){c=a.getStateId();if(c){b=a.getState();if(a.fireEvent("beforestatesave",a,b)!==false){Ext.state.Manager.set(c,b);a.fireEvent("statesave",a,b)}}}},getState:function(){return null},applyState:function(a){if(a){Ext.apply(this,a)}},getStateId:function(){var a=this,b=a.stateId;if(!b){b=a.autoGenIdRe.test(String(a.id))?null:a.id}return b},initState:function(){var a=this,c=a.getStateId(),b;if(a.stateful!==false){if(c){b=Ext.state.Manager.get(c);if(b){b=Ext.apply({},b);if(a.fireEvent("beforestaterestore",a,b)!==false){a.applyState(b);a.fireEvent("staterestore",a,b)}}}}},destroy:function(){var a=this.stateTask;if(a){a.cancel()}this.clearListeners()}});Ext.define("Ext.AbstractManager",{requires:["Ext.util.HashMap"],typeName:"type",constructor:function(a){Ext.apply(this,a||{});this.all=Ext.create("Ext.util.HashMap");this.types={}},get:function(a){return this.all.get(a)},register:function(a){this.all.add(a)},unregister:function(a){this.all.remove(a)},registerType:function(b,a){this.types[b]=a;a[this.typeName]=b},isRegistered:function(a){return this.types[a]!==undefined},create:function(a,d){var b=a[this.typeName]||a.type||d,c=this.types[b];return new c(a)},onAvailable:function(e,c,b){var a=this.all,d;if(a.containsKey(e)){d=a.get(e);c.call(b||d,d)}else{a.on("add",function(i,g,h){if(g==e){c.call(b||h,h);a.un("add",c,b)}})}},each:function(b,a){this.all.each(b,a||this)},getCount:function(){return this.all.getCount()}});Ext.define("Ext.PluginManager",{extend:"Ext.AbstractManager",alternateClassName:"Ext.PluginMgr",singleton:true,typeName:"ptype",create:function(a,b){if(a.init){return a}else{return Ext.createByAlias("plugin."+(a.ptype||b),a)}},findByType:function(c,g){var e=[],b=this.types;for(var a in b){if(!b.hasOwnProperty(a)){continue}var d=b[a];if(d.type==c&&(!g||(g===true&&d.isDefault))){e.push(d)}}return e}},function(){Ext.preg=function(){return Ext.PluginManager.registerType.apply(Ext.PluginManager,arguments)}});Ext.define("Ext.ComponentManager",{extend:"Ext.AbstractManager",alternateClassName:"Ext.ComponentMgr",singleton:true,typeName:"xtype",create:function(b,d){if(b instanceof Ext.AbstractComponent){return b}else{if(Ext.isString(b)){return Ext.createByAlias("widget."+b)}else{var c=b.xtype||d,a=b;return Ext.createByAlias("widget."+c,a)}}},registerType:function(b,a){this.types[b]=a;a[this.typeName]=b;a.prototype[this.typeName]=b}});Ext.define("Ext.XTemplate",{extend:"Ext.Template",statics:{from:function(b,a){b=Ext.getDom(b);return new this(b.value||b.innerHTML,a||{})}},argsRe:/]*>((?:(?=([^<]+))\2|<(?!tpl\b[^>]*>))*?)<\/tpl>/,nameRe:/^]*?for="(.*?)"/,ifRe:/^]*?if="(.*?)"/,execRe:/^]*?exec="(.*?)"/,constructor:function(){this.callParent(arguments);var z=this,j=z.html,w=z.argsRe,c=z.nameRe,u=z.ifRe,y=z.execRe,q=0,k=[],p="values",x="parent",l="xindex",n="xcount",d="return ",b="with(values){ ",r,g,v,a,e,h,s,A,t;j=["",j,""].join("");while((r=j.match(w))){e=null;h=null;s=null;g=r[0].match(c);v=r[0].match(u);a=r[0].match(y);e=v?v[1]:null;if(e){h=Ext.functionFactory(p,x,l,n,b+"try{"+d+Ext.String.htmlDecode(e)+";}catch(e){return;}}")}e=a?a[1]:null;if(e){s=Ext.functionFactory(p,x,l,n,b+Ext.String.htmlDecode(e)+";}")}A=g?g[1]:null;if(A){if(A==="."){A=p}else{if(A===".."){A=x}}A=Ext.functionFactory(p,x,"try{"+b+d+A+";}}catch(e){return;}")}k.push({id:q,target:A,exec:s,test:h,body:r[1]||""});j=j.replace(r[0],"{xtpl"+q+"}");q=q+1}for(t=k.length-1;t>=0;--t){z.compileTpl(k[t])}z.master=k[k.length-1];z.tpls=k},applySubTemplate:function(h,a,c,e,g){var d=this,b=d.tpls[h];return b.compiled.call(d,a,c,e,g)},codeRe:/\{\[((?:\\\]|.|\n)*?)\]\}/g,re:/\{([\w-\.\#]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?(\s?[\+\-\*\/]\s?[\d\.\+\-\*\/\(\)]+)?\}/g,compileTpl:function(tpl){var fm=Ext.util.Format,me=this,useFormat=me.disableFormats!==true,body,bodyReturn,evaluatedFn;function fn(m,name,format,args,math){var v;if(name.substr(0,4)=="xtpl"){return"',this.applySubTemplate("+name.substr(4)+", values, parent, xindex, xcount),'"}if(name=="."){v='Ext.Array.indexOf(["string", "number", "boolean"], typeof values) > -1 || Ext.isDate(values) ? values : ""'}else{if(name=="#"){v="xindex"}else{if(name.substr(0,7)=="parent."){v=name}else{if(name.indexOf(".")!=-1){v="values."+name}else{v="values['"+name+"']"}}}}if(math){v="("+v+math+")"}if(format&&useFormat){args=args?","+args:"";if(format.substr(0,5)!="this."){format="fm."+format+"("}else{format="this."+format.substr(5)+"("}}else{args="";format="("+v+" === undefined ? '' : "}return"',"+format+v+args+"),'"}function codeFn(m,code){return"',("+code.replace(me.compileARe,"'")+"),'"}bodyReturn=tpl.body.replace(me.compileBRe,"\\n").replace(me.compileCRe,"\\'").replace(me.re,fn).replace(me.codeRe,codeFn);body="evaluatedFn = function(values, parent, xindex, xcount){return ['"+bodyReturn+"'].join('');};";eval(body);tpl.compiled=function(values,parent,xindex,xcount){var vs,length,buffer,i;if(tpl.test&&!tpl.test.call(me,values,parent,xindex,xcount)){return""}vs=tpl.target?tpl.target.call(me,values,parent):values;if(!vs){return""}parent=tpl.target?values:parent;if(tpl.target&&Ext.isArray(vs)){buffer=[];length=vs.length;if(tpl.exec){for(i=0;i1||Ext.isArray(g)){b=arguments.length>1?arguments:g;for(a=b.length;d=d.length){return d.add(c,g)}d.length++;Ext.Array.splice(d.items,a,0,g);if(typeof c!="undefined"&&c!==null){d.map[c]=g}Ext.Array.splice(d.keys,a,0,c);d.fireEvent("add",a,g,c);return g},remove:function(a){return this.removeAt(this.indexOf(a))},removeAll:function(a){Ext.each(a||[],function(b){this.remove(b)},this);return this},removeAt:function(a){var c=this,d,b;if(a=0){c.length--;d=c.items[a];Ext.Array.erase(c.items,a,1);b=c.keys[a];if(typeof b!="undefined"){delete c.map[b]}Ext.Array.erase(c.keys,a,1);c.fireEvent("remove",d,b);return d}return false},removeAtKey:function(a){return this.removeAt(this.indexOfKey(a))},getCount:function(){return this.length},indexOf:function(a){return Ext.Array.indexOf(this.items,a)},indexOfKey:function(a){return Ext.Array.indexOf(this.keys,a)},get:function(b){var d=this,a=d.map[b],c=a!==undefined?a:(typeof b=="number")?d.items[b]:undefined;return typeof c!="function"||d.allowFunctions?c:null},getAt:function(a){return this.items[a]},getByKey:function(a){return this.map[a]},contains:function(a){return Ext.Array.contains(this.items,a)},containsKey:function(a){return typeof this.map[a]!="undefined"},clear:function(){var a=this;a.length=0;a.items=[];a.keys=[];a.map={};a.fireEvent("clear")},first:function(){return this.items[0]},last:function(){return this.items[this.length-1]},sum:function(h,b,j,a){var c=this.extractValues(h,b),g=c.length,e=0,d;j=j||0;a=(a||a===0)?a:g-1;for(d=j;d<=a;d++){e+=c[d]}return e},collect:function(k,e,h){var l=this.extractValues(k,e),a=l.length,b={},c=[],j,g,d;for(d=0;d=a;d--){b[b.length]=c[d]}}return b},filter:function(d,c,g,a){var b=[],e;if(Ext.isString(d)){b.push(Ext.create("Ext.util.Filter",{property:d,value:c,anyMatch:g,caseSensitive:a}))}else{if(Ext.isArray(d)||d instanceof Ext.util.Filter){b=b.concat(d)}}e=function(h){var n=true,p=b.length,j;for(j=0;je?1:(gd){c=k.height;a=true}if(k.width&&k.width>e){l=k.width;a=true}if(a){var j=!Ext.isNumber(g.width),i=!Ext.isNumber(g.height);g.componentLayout.childrenChanged=true;g.setSize(l,c,g.ownerCt);g.el.setSize(e,d);if(j){delete g.width}if(i){delete g.height}}}return g.mixins.animate.animate.apply(g,arguments)},findLayoutController:function(){return this.findParentBy(function(a){return !a.ownerCt||(a.layout.layoutBusy&&!a.ownerCt.layout.layoutBusy)})},onShow:function(){var a=this.needsLayout;if(Ext.isObject(a)){this.doComponentLayout(a.width,a.height,a.isSetSize,a.ownerCt)}},constructPlugin:function(a){if(a.ptype&&typeof a.init!="function"){a.cmp=this;a=Ext.PluginManager.create(a)}else{if(typeof a=="string"){a=Ext.PluginManager.create({ptype:a,cmp:this})}}return a},initPlugin:function(a){a.init(this);return a},doAutoRender:function(){var a=this;if(a.floating){a.render(document.body)}else{a.render(Ext.isBoolean(a.autoRender)?Ext.getBody():a.autoRender)}},render:function(b,a){var c=this;if(!c.rendered&&c.fireEvent("beforerender",c)!==false){if(c.el){c.el=Ext.get(c.el)}if(c.floating){c.onFloatRender()}b=c.initContainer(b);c.onRender(b,a);c.el.setVisibilityMode(Ext.core.Element[c.hideMode.toUpperCase()]);if(c.overCls){c.el.hover(c.addOverCls,c.removeOverCls,c)}c.fireEvent("render",c);c.initContent();c.afterRender(b);c.fireEvent("afterrender",c);c.initEvents();if(c.hidden){c.el.hide()}if(c.disabled){c.disable(true)}}return c},onRender:function(b,a){var g=this,d=g.el,e=g.initStyles(),j,h,c;a=g.getInsertPosition(a);if(!d){if(a){d=Ext.core.DomHelper.insertBefore(a,g.getElConfig(),true)}else{d=Ext.core.DomHelper.append(b,g.getElConfig(),true)}}else{if(g.allowDomMove!==false){if(a){b.dom.insertBefore(d.dom,a)}else{b.dom.appendChild(d.dom)}}}if(Ext.scopeResetCSS&&!g.ownerCt){if(d.dom==Ext.getBody().dom){d.parent().addCls(Ext.baseCSSPrefix+"reset")}else{g.resetEl=d.wrap({cls:Ext.baseCSSPrefix+"reset"})}}g.setUI(g.ui);d.addCls(g.initCls());d.setStyle(e);g.el=d;g.initFrame();j=g.initRenderTpl();if(j){h=g.initRenderData();j.append(g.getTargetEl(),h)}g.applyRenderSelectors();g.rendered=true},afterRender:function(){var a=this,c,b;a.getComponentLayout();if(!a.ownerCt||(a.height||a.width)){a.setSize(a.width,a.height)}else{a.renderChildren()}if(a.floating&&(a.x===undefined||a.y===undefined)){if(a.floatParent){b=a.el.getAlignToXY(a.floatParent.getTargetEl(),"c-c");c=a.floatParent.getTargetEl().translatePoints(b[0],b[1])}else{b=a.el.getAlignToXY(a.container,"c-c");c=a.container.translatePoints(b[0],b[1])}a.x=a.x===undefined?c.left:a.x;a.y=a.y===undefined?c.top:a.y}if(Ext.isDefined(a.x)||Ext.isDefined(a.y)){a.setPosition(a.x,a.y)}if(a.styleHtmlContent){a.getTargetEl().addCls(a.styleHtmlCls)}},renderChildren:function(){var b=this,a=b.getComponentLayout();b.suspendLayout=true;a.renderChildren();delete b.suspendLayout},frameCls:Ext.baseCSSPrefix+"frame",frameElementCls:{tl:[],tc:[],tr:[],ml:[],mc:[],mr:[],bl:[],bc:[],br:[]},frameTpl:['','
    {parent.baseCls}-{parent.ui}-{.}-tl" style="background-position: {tl}; padding-left: {frameWidth}px" role="presentation">','
    {parent.baseCls}-{parent.ui}-{.}-tr" style="background-position: {tr}; padding-right: {frameWidth}px" role="presentation">','
    {parent.baseCls}-{parent.ui}-{.}-tc" style="background-position: {tc}; height: {frameWidth}px" role="presentation">
    ','
    ','
    ',"
    ",'
    {parent.baseCls}-{parent.ui}-{.}-ml" style="background-position: {ml}; padding-left: {frameWidth}px" role="presentation">','
    {parent.baseCls}-{parent.ui}-{.}-mr" style="background-position: {mr}; padding-right: {frameWidth}px" role="presentation">','
    {parent.baseCls}-{parent.ui}-{.}-mc" role="presentation">
    ','
    ','
    ','','
    {parent.baseCls}-{parent.ui}-{.}-bl" style="background-position: {bl}; padding-left: {frameWidth}px" role="presentation">','
    {parent.baseCls}-{parent.ui}-{.}-br" style="background-position: {br}; padding-right: {frameWidth}px" role="presentation">','
    {parent.baseCls}-{parent.ui}-{.}-bc" style="background-position: {bc}; height: {frameWidth}px" role="presentation">
    ','
    ','
    ',"
    "],frameTableTpl:["",'',"",'','','',"","","",'','','',"",'',"",'','','',"","","
    {parent.baseCls}-{parent.ui}-{.}-tl" style="background-position: {tl}; padding-left:{frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-tc" style="background-position: {tc}; height: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-tr" style="background-position: {tr}; padding-left: {frameWidth}px" role="presentation">
    {parent.baseCls}-{parent.ui}-{.}-ml" style="background-position: {ml}; padding-left: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-mc" style="background-position: 0 0;" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-mr" style="background-position: {mr}; padding-left: {frameWidth}px" role="presentation">
    {parent.baseCls}-{parent.ui}-{.}-bl" style="background-position: {bl}; padding-left: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-bc" style="background-position: {bc}; height: {frameWidth}px" role="presentation"> {parent.baseCls}-{parent.ui}-{.}-br" style="background-position: {br}; padding-left: {frameWidth}px" role="presentation">
    "],initFrame:function(){if(Ext.supports.CSS3BorderRadius){return false}var d=this,c=d.getFrameInfo(),b=c.width,a=d.getFrameTpl(c.table);if(d.frame){a.insertFirst(d.el,Ext.apply({},{ui:d.ui,uiCls:d.uiCls,frameCls:d.frameCls,baseCls:d.baseCls,frameWidth:b,top:!!c.top,left:!!c.left,right:!!c.right,bottom:!!c.bottom},d.getFramePositions(c)));d.frameBody=d.el.down("."+d.frameCls+"-mc");Ext.apply(d.renderSelectors,{frameTL:"."+d.baseCls+"-tl",frameTC:"."+d.baseCls+"-tc",frameTR:"."+d.baseCls+"-tr",frameML:"."+d.baseCls+"-ml",frameMC:"."+d.baseCls+"-mc",frameMR:"."+d.baseCls+"-mr",frameBL:"."+d.baseCls+"-bl",frameBC:"."+d.baseCls+"-bc",frameBR:"."+d.baseCls+"-br"})}},updateFrame:function(){if(Ext.supports.CSS3BorderRadius){return false}var e=this,h=this.frameSize&&this.frameSize.table,g=this.frameTL,d=this.frameBL,c=this.frameML,a=this.frameMC,b;this.initFrame();if(a){if(e.frame){delete e.frameTL;delete e.frameTC;delete e.frameTR;delete e.frameML;delete e.frameMC;delete e.frameMR;delete e.frameBL;delete e.frameBC;delete e.frameBR;this.applyRenderSelectors();b=this.frameMC.dom.className;a.insertAfter(this.frameMC);this.frameMC.remove();this.frameBody=this.frameMC=a;a.dom.className=b;if(h){e.el.query("> table")[1].remove()}else{if(g){g.remove()}if(d){d.remove()}c.remove()}}else{}}else{if(e.frame){this.applyRenderSelectors()}}},getFrameInfo:function(){if(Ext.supports.CSS3BorderRadius){return false}var c=this,g=c.el.getStyle("background-position-x"),e=c.el.getStyle("background-position-y"),d,b=false,a;if(!g&&!e){d=c.el.getStyle("background-position").split(" ");g=d[0];e=d[1]}if(parseInt(g,10)>=1000000&&parseInt(e,10)>=1000000){a=Math.max;b={table:g.substr(0,3)=="110",vertical:e.substr(0,3)=="110",top:a(g.substr(3,2),g.substr(5,2)),right:a(g.substr(5,2),e.substr(3,2)),bottom:a(e.substr(3,2),e.substr(5,2)),left:a(e.substr(5,2),g.substr(3,2))};b.width=a(b.top,b.right,b.bottom,b.left);c.el.setStyle("background-image","none")}if(c.frame===true&&!b){}c.frame=c.frame||!!b;c.frameSize=b||false;return b},getFramePositions:function(e){var h=this,i=e.width,j=h.dock,d,b,g,c,a;if(e.vertical){b="0 -"+(i*0)+"px";g="0 -"+(i*1)+"px";if(j&&j=="right"){b="right -"+(i*0)+"px";g="right -"+(i*1)+"px"}d={tl:"0 -"+(i*0)+"px",tr:"0 -"+(i*1)+"px",bl:"0 -"+(i*2)+"px",br:"0 -"+(i*3)+"px",ml:"-"+(i*1)+"px 0",mr:"right 0",tc:b,bc:g}}else{c="-"+(i*0)+"px 0";a="right 0";if(j&&j=="bottom"){c="left bottom";a="right bottom"}d={tl:"0 -"+(i*2)+"px",tr:"right -"+(i*3)+"px",bl:"0 -"+(i*4)+"px",br:"right -"+(i*5)+"px",ml:c,mr:a,tc:"0 -"+(i*0)+"px",bc:"0 -"+(i*1)+"px"}}return d},getFrameTpl:function(a){return a?this.getTpl("frameTableTpl"):this.getTpl("frameTpl")},initCls:function(){var b=this,a=[];a.push(b.baseCls);if(Ext.isDefined(b.cmpCls)){if(Ext.isDefined(Ext.global.console)){Ext.global.console.warn("Ext.Component: cmpCls has been deprecated. Please use componentCls.")}b.componentCls=b.cmpCls;delete b.cmpCls}if(b.componentCls){a.push(b.componentCls)}else{b.componentCls=b.baseCls}if(b.cls){a.push(b.cls);delete b.cls}return a.concat(b.additionalCls)},setUI:function(g){var e=this,b=Ext.Array.clone(e.uiCls),h=[],d=[],a,c;for(c=0;c=0;a--){if((g=d.getAt(a)).is(b)){return g}}}else{if(a){return d.getAt(--a)}}}}return null},previousNode:function(c,d){var h=this,b,g,a,e;if(d&&h.is(c)){return h}b=this.prev(c);if(b){return b}if(h.ownerCt){for(g=h.ownerCt.items.items,e=Ext.Array.indexOf(g,h)-1;e>-1;e--){if(g[e].query){b=g[e].query(c);b=b[b.length-1];if(b){return b}}}return h.ownerCt.previousNode(c,true)}},nextNode:function(c,d){var h=this,b,g,a,e;if(d&&h.is(c)){return h}b=this.next(c);if(b){return b}if(h.ownerCt){for(g=h.ownerCt.items,e=g.indexOf(h)+1,g=g.items,a=g.length;e=200&&a<300)||a==304,b=false;if(!c){switch(a){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:b=true;break}}return{success:c,isException:b}},createResponse:function(c){var i=c.xhr,a={},j=i.getAllResponseHeaders().replace(/\r\n/g,"\n").split("\n"),d=j.length,k,e,h,g,b;while(d--){k=j[d];e=k.indexOf(":");if(e>=0){h=k.substr(0,e).toLowerCase();if(k.charAt(e+1)==" "){++e}a[h]=k.substr(e+1)}}c.xhr=null;delete c.xhr;b={request:c,requestId:c.id,status:i.status,statusText:i.statusText,getResponseHeader:function(l){return a[l.toLowerCase()]},getAllResponseHeaders:function(){return a},responseText:i.responseText,responseXML:i.responseXML};i=null;return b},createException:function(a){return{request:a,requestId:a.id,status:a.aborted?-1:0,statusText:a.aborted?"transaction aborted":"communication failure",aborted:a.aborted,timedout:a.timedout}}});Ext.define("Ext.Ajax",{extend:"Ext.data.Connection",singleton:true,autoAbort:false});Ext.define("Ext.data.Association",{primaryKey:"id",defaultReaderType:"json",statics:{create:function(a){if(!a.isAssociation){if(Ext.isString(a)){a={type:a}}switch(a.type){case"belongsTo":return Ext.create("Ext.data.BelongsToAssociation",a);case"hasMany":return Ext.create("Ext.data.HasManyAssociation",a);default:}}return a}},constructor:function(b){Ext.apply(this,b);var c=Ext.ModelManager.types,d=b.ownerModel,g=b.associatedModel,e=c[d],h=c[g],a;this.ownerModel=e;this.associatedModel=h;Ext.applyIf(this,{ownerName:d,associatedName:g})},getReader:function(){var c=this,a=c.reader,b=c.associatedModel;if(a){if(Ext.isString(a)){a={type:a}}if(a.isReader){a.setModel(b)}else{Ext.applyIf(a,{model:b,type:c.defaultReaderType})}c.reader=Ext.createByAlias("reader."+a.type,a)}return c.reader||null}});Ext.define("Ext.ModelManager",{extend:"Ext.AbstractManager",alternateClassName:"Ext.ModelMgr",requires:["Ext.data.Association"],singleton:true,typeName:"mtype",associationStack:[],registerType:function(c,b){var d=b.prototype,a;if(d&&d.isModel){a=b}else{if(!b.extend){b.extend="Ext.data.Model"}a=Ext.define(c,b)}this.types[c]=a;return a},onModelDefined:function(c){var a=this.associationStack,g=a.length,e=[],b,d,h;for(d=0;d]+>/gi,asText:function(a){return String(a).replace(this.stripTagsRE,"")},asUCText:function(a){return String(a).toUpperCase().replace(this.stripTagsRE,"")},asUCString:function(a){return String(a).toUpperCase()},asDate:function(a){if(!a){return 0}if(Ext.isDate(a)){return a.getTime()}return Date.parse(String(a))},asFloat:function(a){var b=parseFloat(String(a).replace(/,/g,""));return isNaN(b)?0:b},asInt:function(a){var b=parseInt(String(a).replace(/,/g,""),10);return isNaN(b)?0:b}});Ext.define("Ext.data.Errors",{extend:"Ext.util.MixedCollection",isValid:function(){return this.length===0},getByField:function(e){var d=[],a,c,b;for(b=0;ba)){return false}else{return true}},format:function(a,b){return !!(a.matcher&&a.matcher.test(b))},inclusion:function(a,b){return a.list&&Ext.Array.indexOf(a.list,b)!=-1},exclusion:function(a,b){return a.list&&Ext.Array.indexOf(a.list,b)==-1}});Ext.define("Ext.data.ResultSet",{loaded:true,count:0,total:0,success:false,constructor:function(a){Ext.apply(this,a);this.totalRecords=this.total;if(a.count===undefined){this.count=this.records.length}}});Ext.define("Ext.data.writer.Writer",{alias:"writer.base",alternateClassName:["Ext.data.DataWriter","Ext.data.Writer"],writeAllFields:true,nameProperty:"name",constructor:function(a){Ext.apply(this,a)},write:function(e){var c=e.operation,b=c.records||[],a=b.length,d=0,g=[];for(;d=0;--c){b=this.zIndexStack[c];if(!b.hidden){if(!d){this._setActiveChild(b);d=true}if(b.modal){this._showModalMask(b.el.getStyle("zIndex")-4);return}}}this._hideModalMask();if(!d){this._setActiveChild(null)}},_showModalMask:function(a){if(!this.mask){this.mask=this.targetEl.createChild({cls:Ext.baseCSSPrefix+"mask"});this.mask.setVisibilityMode(Ext.core.Element.DISPLAY);this.mask.on("click",this._onMaskClick,this)}Ext.getBody().addCls(Ext.baseCSSPrefix+"body-masked");this.mask.setSize(this.targetEl.getViewSize(true));this.mask.setStyle("zIndex",a);this.mask.show()},_hideModalMask:function(){if(this.mask){Ext.getBody().removeCls(Ext.baseCSSPrefix+"body-masked");this.mask.hide()}},_onMaskClick:function(){if(this.front){this.front.focus()}},_onContainerResize:function(){if(this.mask&&this.mask.isVisible()){this.mask.setSize(this.targetEl.getViewSize(true))}},register:function(a){if(a.zIndexManager){a.zIndexManager.unregister(a)}a.zIndexManager=this;this.list[a.id]=a;this.zIndexStack.push(a);a.on("hide",this._activateLast,this)},unregister:function(a){delete a.zIndexManager;if(this.list&&this.list[a.id]){delete this.list[a.id];a.un("hide",this._activateLast);Ext.Array.remove(this.zIndexStack,a);this._activateLast(a)}},get:function(a){return typeof a=="object"?a:this.list[a]},bringToFront:function(a){a=this.get(a);if(a!=this.front){Ext.Array.remove(this.zIndexStack,a);this.zIndexStack.push(a);this.assignZIndices();return true}if(a.modal){Ext.getBody().addCls(Ext.baseCSSPrefix+"body-masked");this.mask.setSize(Ext.core.Element.getViewWidth(true),Ext.core.Element.getViewHeight(true));this.mask.show()}return false},sendToBack:function(a){a=this.get(a);Ext.Array.remove(this.zIndexStack,a);this.zIndexStack.unshift(a);this.assignZIndices();return a},hideAll:function(){for(var a in this.list){if(this.list[a].isComponent&&this.list[a].isVisible()){this.list[a].hide()}}},hide:function(){var b=0,c=this.zIndexStack.length,a;this.tempHidden=[];for(;b0;){b=a[c];if(b.isComponent&&e.call(d||b,b)===false){return}}},destroy:function(){delete this.zIndexStack;delete this.list;delete this.container;delete this.targetEl}},function(){Ext.WindowManager=Ext.WindowMgr=new this()});Ext.define("Ext.layout.container.boxOverflow.None",{alternateClassName:"Ext.layout.boxOverflow.None",constructor:function(b,a){this.layout=b;Ext.apply(this,a||{})},handleOverflow:Ext.emptyFn,clearOverflow:Ext.emptyFn,onRemove:Ext.emptyFn,getItem:function(a){return this.layout.owner.getComponent(a)},onRemove:Ext.emptyFn});Ext.define("Ext.util.KeyMap",{alternateClassName:"Ext.KeyMap",constructor:function(b,d,a){var c=this;Ext.apply(c,{el:Ext.get(b),eventName:a||c.eventName,bindings:[]});if(d){c.addBinding(d)}c.enable()},eventName:"keydown",addBinding:function(h){if(Ext.isArray(h)){Ext.each(h,this.addBinding,this);return}var g=h.key,j=false,d,e,b,c,a;if(Ext.isString(g)){e=[];b=g.toLowerCase();for(c=0,a=b.length;c/,beforeLayout:function(){return this.callParent(arguments)||this.lastText!==this.owner.text},onLayout:function(c,p){var l=this,h=Ext.isNumber,d=l.owner,n=d.el,i=d.btnEl,e=d.btnInnerEl,g=d.btnIconEl,j=(d.icon||d.iconCls)&&(d.iconAlign=="top"||d.iconAlign=="bottom"),b=d.minWidth,m=d.maxWidth,a,q,k;l.getTargetInfo();l.callParent(arguments);e.unclip();l.setTargetSize(c,p);if(!h(c)){if(d.text&&Ext.isIE7&&Ext.isStrict&&i&&i.getWidth()>20){q=l.btnFrameWidth;k=Ext.util.TextMetrics.measure(e,d.text);n.setWidth(k.width+q+l.adjWidth);i.setWidth(k.width+q);e.setWidth(k.width+q);if(j){g.setWidth(k.width+q)}}else{n.setWidth(null);i.setWidth(null);e.setWidth(null);g.setWidth(null)}if(b||m){a=n.getWidth();if(b&&(am)){e.clip();l.setTargetSize(m,p)}}}}this.lastText=d.text},setTargetSize:function(a,l){var h=this,b=h.owner,e=Ext.isNumber,d=b.btnInnerEl,j=(e(a)?a-h.adjWidth:a),g=(e(l)?l-h.adjHeight:l),c=h.btnFrameHeight,k=b.getText(),i;h.callParent(arguments);h.setElementSize(b.btnEl,j,g);h.setElementSize(d,j,g);if(e(g)){d.setStyle("line-height",g-c+"px")}if(k&&this.htmlRE.test(k)){d.setStyle("line-height","normal");i=Ext.util.TextMetrics.measure(d,k).height;d.setStyle("padding-top",h.btnFrameTop+Math.max(d.getHeight()-c-i,0)/2+"px");h.setElementSize(d,j,g)}},getTargetInfo:function(){var e=this,a=e.owner,d=a.el,c=e.frameSize,h=a.frameBody,b=a.btnWrap,g=a.btnInnerEl;if(!("adjWidth" in e)){Ext.apply(e,{adjWidth:c.left+c.right+d.getBorderWidth("lr")+d.getPadding("lr")+b.getPadding("lr")+(h?h.getFrameWidth("lr"):0),adjHeight:c.top+c.bottom+d.getBorderWidth("tb")+d.getPadding("tb")+b.getPadding("tb")+(h?h.getFrameWidth("tb"):0),btnFrameWidth:g.getFrameWidth("lr"),btnFrameHeight:g.getFrameWidth("tb"),btnFrameTop:g.getFrameWidth("t")})}return e.callParent()}});Ext.define("Ext.util.TextMetrics",{statics:{shared:null,measure:function(a,d,e){var b=this,c=b.shared;if(!c){c=b.shared=new b(a,e)}c.bind(a);c.setFixedWidth(e||"auto");return c.getSize(d)},destroy:function(){var a=this;Ext.destroy(a.shared);a.shared=null}},constructor:function(a,c){var b=this.measure=Ext.getBody().createChild({cls:"x-textmetrics"});this.el=Ext.get(a);b.position("absolute");b.setLeftTop(-1000,-1000);b.hide();if(c){b.setWidth(c)}},getSize:function(c){var b=this.measure,a;b.update(c);a=b.getSize();b.update("");return a},bind:function(a){var b=this;b.el=Ext.get(a);b.measure.setStyle(b.el.getStyles("font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"))},setFixedWidth:function(a){this.measure.setWidth(a)},getWidth:function(a){this.measure.dom.style.width="auto";return this.getSize(a).width},getHeight:function(a){return this.getSize(a).height},destroy:function(){var a=this;a.measure.remove();delete a.el;delete a.measure}},function(){Ext.core.Element.addMethods({getTextWidth:function(c,b,a){return Ext.Number.constrain(Ext.util.TextMetrics.measure(this.dom,Ext.value(c,this.dom.innerHTML,true)).width,b||0,a||1000000)}})});Ext.define("Ext.layout.container.boxOverflow.Scroller",{extend:"Ext.layout.container.boxOverflow.None",requires:["Ext.util.ClickRepeater","Ext.core.Element"],alternateClassName:"Ext.layout.boxOverflow.Scroller",mixins:{observable:"Ext.util.Observable"},animateScroll:false,scrollIncrement:20,wheelIncrement:10,scrollRepeatInterval:60,scrollDuration:400,scrollerCls:Ext.baseCSSPrefix+"box-scroller",constructor:function(b,a){this.layout=b;Ext.apply(this,a||{});this.addEvents("scroll")},initCSSClasses:function(){var b=this,a=b.layout;if(!b.CSSinitialized){b.beforeCtCls=b.beforeCtCls||Ext.baseCSSPrefix+"box-scroller-"+a.parallelBefore;b.afterCtCls=b.afterCtCls||Ext.baseCSSPrefix+"box-scroller-"+a.parallelAfter;b.beforeScrollerCls=b.beforeScrollerCls||Ext.baseCSSPrefix+a.owner.getXType()+"-scroll-"+a.parallelBefore;b.afterScrollerCls=b.afterScrollerCls||Ext.baseCSSPrefix+a.owner.getXType()+"-scroll-"+a.parallelAfter;b.CSSinitializes=true}},handleOverflow:function(a,g){var e=this,d=e.layout,c="get"+d.parallelPrefixCap,b={};e.initCSSClasses();e.callParent(arguments);this.createInnerElements();this.showScrollers();b[d.perpendicularPrefix]=g[d.perpendicularPrefix];b[d.parallelPrefix]=g[d.parallelPrefix]-(e.beforeCt[c]()+e.afterCt[c]());return{targetSize:b}},createInnerElements:function(){var a=this,b=a.layout.getRenderTarget();if(!a.beforeCt){b.addCls(Ext.baseCSSPrefix+a.layout.direction+"-box-overflow-body");a.beforeCt=b.insertSibling({cls:Ext.layout.container.Box.prototype.innerCls+" "+a.beforeCtCls},"before");a.afterCt=b.insertSibling({cls:Ext.layout.container.Box.prototype.innerCls+" "+a.afterCtCls},"after");a.createWheelListener()}},createWheelListener:function(){this.layout.innerCt.on({scope:this,mousewheel:function(a){a.stopEvent();this.scrollBy(a.getWheelDelta()*this.wheelIncrement*-1,false)}})},clearOverflow:function(){this.hideScrollers()},showScrollers:function(){this.createScrollers();this.beforeScroller.show();this.afterScroller.show();this.updateScrollButtons();this.layout.owner.addClsWithUI("scroller")},hideScrollers:function(){if(this.beforeScroller!=undefined){this.beforeScroller.hide();this.afterScroller.hide();this.layout.owner.removeClsWithUI("scroller")}},createScrollers:function(){if(!this.beforeScroller&&!this.afterScroller){var a=this.beforeCt.createChild({cls:Ext.String.format("{0} {1} ",this.scrollerCls,this.beforeScrollerCls)});var b=this.afterCt.createChild({cls:Ext.String.format("{0} {1}",this.scrollerCls,this.afterScrollerCls)});a.addClsOnOver(this.beforeScrollerCls+"-hover");b.addClsOnOver(this.afterScrollerCls+"-hover");a.setVisibilityMode(Ext.core.Element.DISPLAY);b.setVisibilityMode(Ext.core.Element.DISPLAY);this.beforeRepeater=Ext.create("Ext.util.ClickRepeater",a,{interval:this.scrollRepeatInterval,handler:this.scrollLeft,scope:this});this.afterRepeater=Ext.create("Ext.util.ClickRepeater",b,{interval:this.scrollRepeatInterval,handler:this.scrollRight,scope:this});this.beforeScroller=a;this.afterScroller=b}},destroy:function(){Ext.destroy(this.beforeRepeater,this.afterRepeater,this.beforeScroller,this.afterScroller,this.beforeCt,this.afterCt)},scrollBy:function(b,a){this.scrollTo(this.getScrollPosition()+b,a)},getScrollAnim:function(){return{duration:this.scrollDuration,callback:this.updateScrollButtons,scope:this}},updateScrollButtons:function(){if(this.beforeScroller==undefined||this.afterScroller==undefined){return}var d=this.atExtremeBefore()?"addCls":"removeCls",c=this.atExtremeAfter()?"addCls":"removeCls",a=this.beforeScrollerCls+"-disabled",b=this.afterScrollerCls+"-disabled";this.beforeScroller[d](a);this.afterScroller[c](b);this.scrolling=false},atExtremeBefore:function(){return this.getScrollPosition()===0},scrollLeft:function(){this.scrollBy(-this.scrollIncrement,false)},scrollRight:function(){this.scrollBy(this.scrollIncrement,false)},getScrollPosition:function(){var a=this.layout;return parseInt(a.innerCt.dom["scroll"+a.parallelBeforeCap],10)||0},getMaxScrollPosition:function(){var a=this.layout;return a.innerCt.dom["scroll"+a.parallelPrefixCap]-this.layout.innerCt["get"+a.parallelPrefixCap]()},atExtremeAfter:function(){return this.getScrollPosition()>=this.getMaxScrollPosition()},scrollTo:function(a,b){var g=this,e=g.layout,d=g.getScrollPosition(),c=Ext.Number.constrain(a,0,g.getMaxScrollPosition());if(c!=d&&!g.scrolling){if(b==undefined){b=g.animateScroll}e.innerCt.scrollTo(e.parallelBefore,c,b?g.getScrollAnim():false);if(b){g.scrolling=true}else{g.scrolling=false;g.updateScrollButtons()}g.fireEvent("scroll",g,c,b?g.getScrollAnim():false)}},scrollToItem:function(h,b){var g=this,e=g.layout,a,d,c;h=g.getItem(h);if(h!=undefined){a=this.getItemVisibility(h);if(!a.fullyVisible){d=h.getBox(true,true);c=d[e.parallelPosition];if(a.hiddenEnd){c-=(this.layout.innerCt["get"+e.parallelPrefixCap]()-d[e.parallelPrefix])}this.scrollTo(c,b)}}},getItemVisibility:function(g){var e=this,d=e.getItem(g).getBox(true,true),c=e.layout,b=d[c.parallelPosition],h=b+d[c.parallelPrefix],i=e.getScrollPosition(),a=i+c.innerCt["get"+c.parallelPrefixCap]();return{hiddenStart:ba,fullyVisible:b>i&&hw){return w}while(ys){y=u}else{w=u}u=(w-y)/2+y}return u}return c(p,1/(200*i))},cubicBezier:function(b,e,a,c){var d=function(g){return Ext.fx.CubicBezier.cubicBezierAtTime(g,b,e,a,c,1)};d.toCSS3=function(){return"cubic-bezier("+[b,e,a,c].join(",")+")"};d.reverse=function(){return Ext.fx.CubicBezier.cubicBezier(1-a,1-c,1-b,1-e)};return d}});Ext.define("Ext.draw.Color",{colorToHexRe:/(.*?)rgb\((\d+),\s*(\d+),\s*(\d+)\)/,rgbRe:/\s*rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)\s*/,hexRe:/\s*#([0-9a-fA-F][0-9a-fA-F]?)([0-9a-fA-F][0-9a-fA-F]?)([0-9a-fA-F][0-9a-fA-F]?)\s*/,lightnessFactor:0.2,constructor:function(d,c,a){var b=this,e=Ext.Number.constrain;b.r=e(d,0,255);b.g=e(c,0,255);b.b=e(a,0,255)},getRed:function(){return this.r},getGreen:function(){return this.g},getBlue:function(){return this.b},getRGB:function(){var a=this;return[a.r,a.g,a.b]},getHSL:function(){var j=this,a=j.r/255,i=j.g/255,k=j.b/255,m=Math.max(a,i,k),d=Math.min(a,i,k),n=m-d,e,p=0,c=0.5*(m+d);if(d!=m){p=(c<0.5)?n/(m+d):n/(2-m-d);if(a==m){e=60*(i-k)/n}else{if(i==m){e=120+60*(k-a)/n}else{e=240+60*(a-i)/n}}if(e<0){e+=360}if(e>=360){e-=360}}return[e,p,c]},getLighter:function(b){var a=this.getHSL();b=b||this.lightnessFactor;a[2]=Ext.Number.constrain(a[2]+b,0,1);return this.fromHSL(a[0],a[1],a[2])},getDarker:function(a){a=a||this.lightnessFactor;return this.getLighter(-a)},toString:function(){var h=this,c=Math.round,e=c(h.r).toString(16),d=c(h.g).toString(16),a=c(h.b).toString(16);e=(e.length==1)?"0"+e:e;d=(d.length==1)?"0"+d:d;a=(a.length==1)?"0"+a:a;return["#",e,d,a].join("")},toHex:function(b){if(Ext.isArray(b)){b=b[0]}if(!Ext.isString(b)){return""}if(b.substr(0,1)==="#"){return b}var e=this.colorToHexRe.exec(b);if(Ext.isArray(e)){var g=parseInt(e[2],10),d=parseInt(e[3],10),a=parseInt(e[4],10),c=a|(d<<8)|(g<<16);return e[1]+"#"+("000000"+c.toString(16)).slice(-6)}else{return""}},fromString:function(i){var c,e,d,a,h=parseInt;if((i.length==4||i.length==7)&&i.substr(0,1)==="#"){c=i.match(this.hexRe);if(c){e=h(c[1],16)>>0;d=h(c[2],16)>>0;a=h(c[3],16)>>0;if(i.length==4){e+=(e*16);d+=(d*16);a+=(a*16)}}}else{c=i.match(this.rgbRe);if(c){e=c[1];d=c[2];a=c[3]}}return(typeof e=="undefined")?undefined:Ext.create("Ext.draw.Color",e,d,a)},getGrayscale:function(){return this.r*0.3+this.g*0.59+this.b*0.11},fromHSL:function(g,p,d){var a,b,c,e,k=[],n=Math.abs,j=Math.floor;if(p==0||g==null){k=[d,d,d]}else{g/=60;a=p*(1-n(2*d-1));b=a*(1-n(g-2*j(g/2)-1));c=d-a/2;switch(j(g)){case 0:k=[a,b,0];break;case 1:k=[b,a,0];break;case 2:k=[0,a,b];break;case 3:k=[0,b,a];break;case 4:k=[b,0,a];break;case 5:k=[a,0,b];break}k=[k[0]+c,k[1]+c,k[2]+c]}return Ext.create("Ext.draw.Color",k[0]*255,k[1]*255,k[2]*255)}},function(){var a=this.prototype;this.addStatics({fromHSL:function(){return a.fromHSL.apply(a,arguments)},fromString:function(){return a.fromString.apply(a,arguments)},toHex:function(){return a.toHex.apply(a,arguments)}})});Ext.define("Ext.dd.StatusProxy",{animRepair:false,constructor:function(a){Ext.apply(this,a);this.id=this.id||Ext.id();this.proxy=Ext.createWidget("component",{floating:true,id:this.id,html:'
    ',cls:Ext.baseCSSPrefix+"dd-drag-proxy "+this.dropNotAllowed,shadow:!a||a.shadow!==false,renderTo:document.body});this.el=this.proxy.el;this.el.show();this.el.setVisibilityMode(Ext.core.Element.VISIBILITY);this.el.hide();this.ghost=Ext.get(this.el.dom.childNodes[1]);this.dropStatus=this.dropNotAllowed},dropAllowed:Ext.baseCSSPrefix+"dd-drop-ok",dropNotAllowed:Ext.baseCSSPrefix+"dd-drop-nodrop",setStatus:function(a){a=a||this.dropNotAllowed;if(this.dropStatus!=a){this.el.replaceCls(this.dropStatus,a);this.dropStatus=a}},reset:function(a){this.el.dom.className=Ext.baseCSSPrefix+"dd-drag-proxy "+this.dropNotAllowed;this.dropStatus=this.dropNotAllowed;if(a){this.ghost.update("")}},update:function(a){if(typeof a=="string"){this.ghost.update(a)}else{this.ghost.update("");a.style.margin="0";this.ghost.dom.appendChild(a)}var b=this.ghost.dom.firstChild;if(b){Ext.fly(b).setStyle("float","none")}},getEl:function(){return this.el},getGhost:function(){return this.ghost},hide:function(a){this.proxy.hide();if(a){this.reset(true)}},stop:function(){if(this.anim&&this.anim.isAnimated&&this.anim.isAnimated()){this.anim.stop()}},show:function(){this.proxy.show();this.proxy.toFront()},sync:function(){this.proxy.el.sync()},repair:function(b,c,a){this.callback=c;this.scope=a;if(b&&this.animRepair!==false){this.el.addCls(Ext.baseCSSPrefix+"dd-drag-repair");this.el.hideUnders(true);this.anim=this.el.animate({duration:this.repairDuration||500,easing:"ease-out",to:{x:b[0],y:b[1]},stopAnimation:true,callback:this.afterRepair,scope:this})}else{this.afterRepair()}},afterRepair:function(){this.hide(true);if(typeof this.callback=="function"){this.callback.call(this.scope||this)}this.callback=null;this.scope=null},destroy:function(){Ext.destroy(this.ghost,this.proxy,this.el)}});Ext.define("Ext.panel.Proxy",{alternateClassName:"Ext.dd.PanelProxy",constructor:function(a,b){this.panel=a;this.id=this.panel.id+"-ddproxy";Ext.apply(this,b)},insertProxy:true,setStatus:Ext.emptyFn,reset:Ext.emptyFn,update:Ext.emptyFn,stop:Ext.emptyFn,sync:Ext.emptyFn,getEl:function(){return this.ghost.el},getGhost:function(){return this.ghost},getProxy:function(){return this.proxy},hide:function(){if(this.ghost){if(this.proxy){this.proxy.remove();delete this.proxy}this.panel.unghost(null,false);delete this.ghost}},show:function(){if(!this.ghost){var a=this.panel.getSize();this.panel.el.setVisibilityMode(Ext.core.Element.DISPLAY);this.ghost=this.panel.ghost();if(this.insertProxy){this.proxy=this.panel.el.insertSibling({cls:Ext.baseCSSPrefix+"panel-dd-spacer"});this.proxy.setSize(a)}}},repair:function(b,c,a){this.hide();if(typeof c=="function"){c.call(a||this)}},moveProxy:function(a,b){if(this.proxy){a.insertBefore(this.proxy.dom,b)}}});Ext.define("Ext.layout.component.AbstractDock",{extend:"Ext.layout.component.Component",type:"dock",autoSizing:true,beforeLayout:function(){var a=this.callParent(arguments);if(a!==false&&(!this.initializedBorders||this.childrenChanged)&&(!this.owner.border||this.owner.manageBodyBorders)){this.handleItemBorders();this.initializedBorders=true}return a},handleItemBorders:function(){var a=this.owner,e=a.body,m=this.getLayoutItems(),h={top:[],right:[],bottom:[],left:[]},b=this.borders,d={top:"bottom",right:"left",bottom:"top",left:"right"},c,j,l,k,g;for(c=0,j=m.length;c=0){return Ext.functionFactory("obj","return obj"+(b>0?".":"")+c)}}return function(d){return d[c]}}}()});Ext.define("Ext.data.writer.Json",{extend:"Ext.data.writer.Writer",alternateClassName:"Ext.data.JsonWriter",alias:"writer.json",root:undefined,encode:false,allowSingle:true,writeRecords:function(b,c){var a=this.root;if(this.allowSingle&&c.length==1){c=c[0]}if(this.encode){if(a){b.params[a]=Ext.encode(c)}else{}}else{b.jsonData=b.jsonData||{};if(a){b.jsonData[a]=c}else{b.jsonData=c}}return b}});Ext.define("Ext.data.proxy.Proxy",{alias:"proxy.proxy",alternateClassName:["Ext.data.DataProxy","Ext.data.Proxy"],requires:["Ext.data.reader.Json","Ext.data.writer.Json"],uses:["Ext.data.Batch","Ext.data.Operation","Ext.data.Model"],mixins:{observable:"Ext.util.Observable"},batchOrder:"create,update,destroy",batchActions:true,defaultReaderType:"json",defaultWriterType:"json",isProxy:true,constructor:function(a){a=a||{};if(a.model===undefined){delete a.model}this.mixins.observable.constructor.call(this,a);if(this.model!==undefined&&!(this.model instanceof Ext.data.Model)){this.setModel(this.model)}},setModel:function(b,c){this.model=Ext.ModelManager.getModel(b);var a=this.reader,d=this.writer;this.setReader(a);this.setWriter(d);if(c&&this.store){this.store.setModel(this.model)}},getModel:function(){return this.model},setReader:function(a){var b=this;if(a===undefined||typeof a=="string"){a={type:a}}if(a.isReader){a.setModel(b.model)}else{Ext.applyIf(a,{proxy:b,model:b.model,type:b.defaultReaderType});a=Ext.createByAlias("reader."+a.type,a)}b.reader=a;return b.reader},getReader:function(){return this.reader},setWriter:function(a){if(a===undefined||typeof a=="string"){a={type:a}}if(!(a instanceof Ext.data.writer.Writer)){Ext.applyIf(a,{model:this.model,type:this.defaultWriterType});a=Ext.createByAlias("writer."+a.type,a)}this.writer=a;return this.writer},getWriter:function(){return this.writer},create:Ext.emptyFn,read:Ext.emptyFn,update:Ext.emptyFn,destroy:Ext.emptyFn,batch:function(d,e){var g=this,c=Ext.create("Ext.data.Batch",{proxy:g,listeners:e||{}}),b=g.batchActions,a;Ext.each(g.batchOrder.split(","),function(h){a=d[h];if(a){if(b){c.add(Ext.create("Ext.data.Operation",{action:h,records:a}))}else{Ext.each(a,function(i){c.add(Ext.create("Ext.data.Operation",{action:h,records:[i]}))})}}},g);c.start();return c}},function(){Ext.data.DataProxy=this});Ext.define("Ext.data.proxy.Server",{extend:"Ext.data.proxy.Proxy",alias:"proxy.server",alternateClassName:"Ext.data.ServerProxy",uses:["Ext.data.Request"],pageParam:"page",startParam:"start",limitParam:"limit",groupParam:"group",sortParam:"sort",filterParam:"filter",directionParam:"dir",simpleSortMode:false,noCache:true,cacheString:"_dc",timeout:30000,constructor:function(a){var b=this;a=a||{};this.addEvents("exception");b.callParent([a]);b.extraParams=a.extraParams||{};b.api=a.api||{};b.nocache=b.noCache},create:function(){return this.doRequest.apply(this,arguments)},read:function(){return this.doRequest.apply(this,arguments)},update:function(){return this.doRequest.apply(this,arguments)},destroy:function(){return this.doRequest.apply(this,arguments)},buildRequest:function(a){var c=Ext.applyIf(a.params||{},this.extraParams||{}),b;c=Ext.applyIf(c,this.getParams(c,a));if(a.id&&!c.id){c.id=a.id}b=Ext.create("Ext.data.Request",{params:c,action:a.action,records:a.records,operation:a,url:a.url});b.url=this.buildUrl(b);a.request=b;return b},processResponse:function(n,c,e,d,m,p){var k=this,j,q,b,a,l,h,g;if(n===true){j=k.getReader();q=j.read(k.extractResponseData(d));b=q.records;a=b.length;if(q.success!==false){l=Ext.create("Ext.util.MixedCollection",true,function(i){return i.getId()});l.addAll(c.records);for(g=0;g0){s[c]=t.encodeSorters(q)}if(e&&a&&a.length>0){if(i){s[e]=a[0].property;s[k]=a[0].direction}else{s[e]=t.encodeSorters(a)}}if(m&&j&&j.length>0){s[m]=t.encodeFilters(j)}return s},buildUrl:function(c){var b=this,a=b.getUrl(c);if(b.noCache){a=Ext.urlAppend(a,Ext.String.format("{0}={1}",b.cacheString,Ext.Date.now()))}return a},getUrl:function(a){return a.url||this.api[a.action]||this.url},doRequest:function(a,c,b){},afterRequest:Ext.emptyFn,onDestroy:function(){Ext.destroy(this.reader,this.writer)}});Ext.define("Ext.data.proxy.Ajax",{requires:["Ext.util.MixedCollection","Ext.Ajax"],extend:"Ext.data.proxy.Server",alias:"proxy.ajax",alternateClassName:["Ext.data.HttpProxy","Ext.data.AjaxProxy"],actionMethods:{create:"POST",read:"GET",update:"POST",destroy:"POST"},doRequest:function(a,e,b){var d=this.getWriter(),c=this.buildRequest(a,e,b);if(a.allowWrite()){c=d.write(c)}Ext.apply(c,{headers:this.headers,timeout:this.timeout,scope:this,callback:this.createRequestCallback(c,a,e,b),method:this.getMethod(c),disableCaching:false});Ext.Ajax.request(c);return c},getMethod:function(a){return this.actionMethods[a.action]},createRequestCallback:function(d,a,e,b){var c=this;return function(h,i,g){c.processResponse(i,a,d,g,e,b)}}},function(){Ext.data.HttpProxy=this});Ext.define("Ext.data.Model",{alternateClassName:"Ext.data.Record",mixins:{observable:"Ext.util.Observable"},requires:["Ext.ModelManager","Ext.data.Field","Ext.data.Errors","Ext.data.Operation","Ext.data.validations","Ext.data.proxy.Ajax","Ext.util.MixedCollection"],onClassExtended:function(a,b){var c=b.onBeforeClassCreated;b.onBeforeClassCreated=function(d,y){var x=this,z=Ext.getClassName(d),m=d.prototype,r=d.prototype.superclass,e=y.validations||[],p=y.fields||[],t=y.associations||[],s=y.belongsTo,n=y.hasMany,v=new Ext.util.MixedCollection(false,function(i){return i.name}),u=new Ext.util.MixedCollection(false,function(i){return i.name}),l=r.validations,w=r.fields,h=r.associations,g,q,j,k=[];d.modelName=z;m.modelName=z;if(l){e=l.concat(e)}y.validations=e;if(w){p=w.items.concat(p)}for(q=0,j=p.length;q0){k=h.data.items;u=k.length;for(m=0;m1;if(a||Ext.isArray(g[0])){h=a?g:g[0];j.suspendLayout=true;for(c=0,e=h.length;c "+a)[0]||null},down:function(a){return this.query(a)[0]||null},show:function(){this.callParent(arguments);this.performDeferredLayouts();return this},performDeferredLayouts:function(){var e=this.layoutOnShow,d=e.getCount(),b=0,a,c;for(;b0){a.hideAll()}},a)},hideAll:function(){var a=this.active,b;if(a&&a.length>0){b=a.clone();b.each(function(c){c.hide()});return true}return false},onHide:function(a){var b=this,c=b.active;c.remove(a);if(c.length<1){Ext.getDoc().un("mousedown",b.onMouseDown,b);b.attached=false}},onShow:function(a){var e=this,g=e.active,d=g.last(),c=e.attached,b=a.getEl(),h;e.lastShow=new Date();g.add(a);if(!c){Ext.getDoc().on("mousedown",e.onMouseDown,e);e.attached=true}a.toFront()},onBeforeHide:function(a){if(a.activeChild){a.activeChild.hide()}if(a.autoHideTimer){clearTimeout(a.autoHideTimer);delete a.autoHideTimer}},onBeforeShow:function(a){var c=this.active,b=a.parentMenu;c.remove(a);if(!b&&!a.allowOtherMenus){this.hideAll()}else{if(b&&b.activeChild&&a!=b.activeChild){b.activeChild.hide()}}},onMouseDown:function(d){var b=this,c=b.active,a=b.lastShow;if(Ext.Date.getElapsed(a)>50&&c.length>0&&!d.getTarget("."+Ext.baseCSSPrefix+"menu")){b.hideAll()}},register:function(b){var a=this;if(!a.active){a.init()}if(b.floating){a.menus[b.id]=b;b.on({beforehide:a.onBeforeHide,hide:a.onHide,beforeshow:a.onBeforeShow,show:a.onShow,scope:a})}},get:function(b){var a=this.menus;if(typeof b=="string"){if(!a){return null}return a[b]}else{if(b.isMenu){return b}else{if(Ext.isArray(b)){return Ext.create("Ext.menu.Menu",{items:b})}else{return Ext.ComponentManager.create(b,"menu")}}}},unregister:function(d){var a=this,b=a.menus,c=a.active;delete b[d.id];c.remove(d);d.un({beforehide:a.onBeforeHide,hide:a.onHide,beforeshow:a.onBeforeShow,show:a.onShow,scope:a})},registerCheckable:function(c){var a=this.groups,b=c.group;if(b){if(!a[b]){a[b]=[]}a[b].push(c)}},unregisterCheckable:function(c){var a=this.groups,b=c.group;if(b){Ext.Array.remove(a[b],c)}},onCheckChange:function(d,g){var a=this.groups,c=d.group,b=0,j,e,h;if(c&&g){j=a[c];e=j.length;for(;b tabIndex="{tabIndex}" role="link">{text}',scale:"small",allowedScales:["small","medium","large"],iconAlign:"left",arrowAlign:"right",arrowCls:"arrow",maskOnDisable:false,initComponent:function(){var a=this;a.callParent(arguments);a.addEvents("click","toggle","mouseover","mouseout","menushow","menuhide","menutriggerover","menutriggerout");if(a.menu){a.split=true;a.menu=Ext.menu.Manager.get(a.menu);a.menu.ownerCt=a}if(a.url){a.href=a.url}if(a.href&&!a.hasOwnProperty("preventDefault")){a.preventDefault=false}if(Ext.isString(a.toggleGroup)){a.enableToggle=true}},initAria:function(){this.callParent();var a=this.getActionEl();if(this.menu){a.dom.setAttribute("aria-haspopup",true)}},getActionEl:function(){return this.btnEl},getFocusEl:function(){return this.btnEl},setButtonCls:function(){var c=this,b=c.el,a=[];if(c.useSetClass){if(!Ext.isEmpty(c.oldCls)){c.removeClsWithUI(c.oldCls);c.removeClsWithUI(c.pressedCls)}if(c.iconCls||c.icon){if(c.text){a.push("icon-text-"+c.iconAlign)}else{a.push("icon")}}else{if(c.text){a.push("noicon")}}c.oldCls=a;c.addClsWithUI(a);c.addClsWithUI(c.pressed?c.pressedCls:null)}},onRender:function(d,a){var e=this,c,b;Ext.applyIf(e.renderData,e.getTemplateArgs());Ext.applyIf(e.renderSelectors,{btnEl:e.href?"a":"button",btnWrap:"em",btnInnerEl:"."+e.baseCls+"-inner",btnIconEl:"."+e.baseCls+"-icon"});if(e.scale){e.ui=e.ui+"-"+e.scale}e.callParent(arguments);if(e.split&&e.arrowTooltip){e.arrowEl.dom[e.tooltipType]=e.arrowTooltip}e.mon(e.btnEl,{scope:e,focus:e.onFocus,blur:e.onBlur});b=e.el;if(e.icon){e.setIcon(e.icon)}if(e.iconCls){e.setIconCls(e.iconCls)}if(e.tooltip){e.setTooltip(e.tooltip,true)}if(e.handleMouseEvents){e.mon(b,{scope:e,mouseover:e.onMouseOver,mouseout:e.onMouseOut,mousedown:e.onMouseDown});if(e.split){e.mon(b,{mousemove:e.onMouseMove,scope:e})}}if(e.menu){e.mon(e.menu,{scope:e,show:e.onMenuShow,hide:e.onMenuHide});e.keyMap=Ext.create("Ext.util.KeyMap",e.el,{key:Ext.EventObject.DOWN,handler:e.onDownKey,scope:e})}if(e.repeat){c=Ext.create("Ext.util.ClickRepeater",b,Ext.isObject(e.repeat)?e.repeat:{});e.mon(c,"click",e.onRepeatClick,e)}else{e.mon(b,e.clickEvent,e.onClick,e)}Ext.ButtonToggleManager.register(e)},getTemplateArgs:function(){var c=this,b=c.getPersistentBtnPadding(),a="";if(Math.max.apply(Math,b)>0){a="margin:"+Ext.Array.map(b,function(d){return -d+"px"}).join(" ")}return{href:c.getHref(),target:c.target||"_blank",type:c.type,splitCls:c.getSplitCls(),cls:c.cls,text:c.text||" ",tabIndex:c.tabIndex,innerSpanStyle:a}},getHref:function(){var a=this,b=Ext.apply({},a.baseParams);b=Ext.apply(b,a.params);return a.href?Ext.urlAppend(a.href,Ext.Object.toQueryString(b)):false},setParams:function(a){this.params=a;this.btnEl.dom.href=this.getHref()},getSplitCls:function(){var a=this;return a.split?(a.baseCls+"-"+a.arrowCls)+" "+(a.baseCls+"-"+a.arrowCls+"-"+a.arrowAlign):""},afterRender:function(){var a=this;a.useSetClass=true;a.setButtonCls();a.doc=Ext.getDoc();this.callParent(arguments)},setIconCls:function(b){var c=this,a=c.btnIconEl;if(a){a.removeCls(c.iconCls);a.addCls(b||"");c.setButtonCls()}c.iconCls=b;return c},setTooltip:function(c,a){var b=this;if(b.rendered){if(!a){b.clearTip()}if(Ext.isObject(c)){Ext.tip.QuickTipManager.register(Ext.apply({target:b.btnEl.id},c));b.tooltip=c}else{b.btnEl.dom.setAttribute("data-"+this.tooltipType,c)}}else{b.tooltip=c}return b},getRefItems:function(a){var c=this.menu,b;if(c){b=c.getRefItems(a);b.unshift(c)}return b||[]},clearTip:function(){if(Ext.isObject(this.tooltip)){Ext.tip.QuickTipManager.unregister(this.btnEl)}},beforeDestroy:function(){var a=this;if(a.rendered){a.clearTip()}if(a.menu&&a.destroyMenu!==false){Ext.destroy(a.btnEl,a.btnInnerEl,a.menu)}Ext.destroy(a.repeater)},onDestroy:function(){var a=this;if(a.rendered){a.doc.un("mouseover",a.monitorMouseOver,a);a.doc.un("mouseup",a.onMouseUp,a);delete a.doc;delete a.btnEl;delete a.btnInnerEl;Ext.ButtonToggleManager.unregister(a);Ext.destroy(a.keyMap);delete a.keyMap}a.callParent()},setHandler:function(b,a){this.handler=b;this.scope=a;return this},setText:function(b){var a=this;a.text=b;if(a.el){a.btnInnerEl.update(b||" ");a.setButtonCls()}a.doComponentLayout();return a},setIcon:function(a){var b=this,c=b.btnInnerEl;b.icon=a;if(c){c.setStyle("background-image",a?"url("+a+")":"");b.setButtonCls()}return b},getText:function(){return this.text},toggle:function(c,a){var b=this;c=c===undefined?!b.pressed:!!c;if(c!==b.pressed){if(b.rendered){b[c?"addClsWithUI":"removeClsWithUI"](b.pressedCls)}b.btnEl.dom.setAttribute("aria-pressed",c);b.pressed=c;if(!a){b.fireEvent("toggle",b,c);Ext.callback(b.toggleHandler,b.scope||b,[b,c])}}return b},showMenu:function(){var a=this;if(a.rendered&&a.menu){if(a.tooltip){Ext.tip.QuickTipManager.getQuickTip().cancelShow(a.btnEl)}if(a.menu.isVisible()){a.menu.hide()}a.menu.showBy(a.el,a.menuAlign)}return a},hideMenu:function(){if(this.hasVisibleMenu()){this.menu.hide()}return this},hasVisibleMenu:function(){var a=this.menu;return a&&a.rendered&&a.isVisible()},onRepeatClick:function(a,b){this.onClick(b)},onClick:function(b){var a=this;if(a.preventDefault||(a.disabled&&a.getHref())&&b){b.preventDefault()}if(b.button!==0){return}if(!a.disabled){if(a.enableToggle&&(a.allowDepress!==false||!a.pressed)){a.toggle()}if(a.menu&&!a.hasVisibleMenu()&&!a.ignoreNextClick){a.showMenu()}a.fireEvent("click",a,b);if(a.handler){a.handler.call(a.scope||a,a,b)}a.onBlur()}},onMouseOver:function(b){var a=this;if(!a.disabled&&!b.within(a.el,true,true)){a.onMouseEnter(b)}},onMouseOut:function(b){var a=this;if(!b.within(a.el,true,true)){if(a.overMenuTrigger){a.onMenuTriggerOut(b)}a.onMouseLeave(b)}},onMouseMove:function(h){var d=this,c=d.el,g=d.overMenuTrigger,b,a;if(d.split){if(d.arrowAlign==="right"){b=h.getX()-c.getX();a=c.getWidth()}else{b=h.getY()-c.getY();a=c.getHeight()}if(b>(a-d.getTriggerSize())){if(!g){d.onMenuTriggerOver(h)}}else{if(g){d.onMenuTriggerOut(h)}}}},getTriggerSize:function(){var e=this,c=e.triggerSize,b,a,d;if(c===d){b=e.arrowAlign;a=b.charAt(0);c=e.triggerSize=e.el.getFrameWidth(a)+e.btnWrap.getFrameWidth(a)+(e.frameSize&&e.frameSize[b]||0)}return c},onMouseEnter:function(b){var a=this;a.addClsWithUI(a.overCls);a.fireEvent("mouseover",a,b)},onMouseLeave:function(b){var a=this;a.removeClsWithUI(a.overCls);a.fireEvent("mouseout",a,b)},onMenuTriggerOver:function(b){var a=this;a.overMenuTrigger=true;a.fireEvent("menutriggerover",a,a.menu,b)},onMenuTriggerOut:function(b){var a=this;delete a.overMenuTrigger;a.fireEvent("menutriggerout",a,a.menu,b)},enable:function(a){var b=this;b.callParent(arguments);b.removeClsWithUI("disabled");return b},disable:function(a){var b=this;b.callParent(arguments);b.addClsWithUI("disabled");return b},setScale:function(c){var a=this,b=a.ui.replace("-"+a.scale,"");if(!Ext.Array.contains(a.allowedScales,c)){throw ("#setScale: scale must be an allowed scale ("+a.allowedScales.join(", ")+")")}a.scale=c;a.setUI(b)},setUI:function(b){var a=this;if(a.scale&&!b.match(a.scale)){b=b+"-"+a.scale}a.callParent([b])},onFocus:function(b){var a=this;if(!a.disabled){a.addClsWithUI(a.focusCls)}},onBlur:function(b){var a=this;a.removeClsWithUI(a.focusCls)},onMouseDown:function(b){var a=this;if(!a.disabled&&b.button===0){a.addClsWithUI(a.pressedCls);a.doc.on("mouseup",a.onMouseUp,a)}},onMouseUp:function(b){var a=this;if(b.button===0){if(!a.pressed){a.removeClsWithUI(a.pressedCls)}a.doc.un("mouseup",a.onMouseUp,a)}},onMenuShow:function(b){var a=this;a.ignoreNextClick=0;a.addClsWithUI(a.menuActiveCls);a.fireEvent("menushow",a,a.menu)},onMenuHide:function(b){var a=this;a.removeClsWithUI(a.menuActiveCls);a.ignoreNextClick=Ext.defer(a.restoreClick,250,a);a.fireEvent("menuhide",a,a.menu)},restoreClick:function(){this.ignoreNextClick=0},onDownKey:function(){var a=this;if(!a.disabled){if(a.menu){a.showMenu()}}},getPersistentBtnPadding:function(){var a=Ext.button.Button,e=a.persistentPadding,c,b,d,g;if(!e){e=a.persistentPadding=[0,0,0,0];if(!Ext.isIE){c=Ext.create("Ext.button.Button",{renderTo:Ext.getBody(),text:"test",style:"position:absolute;top:-999px;"});d=c.btnEl;g=c.btnInnerEl;d.setSize(null,null);b=g.getOffsetsTo(d);e[0]=b[1];e[1]=d.getWidth()-g.getWidth()-b[0];e[2]=d.getHeight()-g.getHeight()-b[1];e[3]=b[0];c.destroy()}}return e}},function(){var a={},e,d,b;function c(g,h){if(h){e=a[g.toggleGroup];for(d=0,b=e.length;d(None)',constructor:function(b){var a=this;a.callParent(arguments);b.beforeLayout=Ext.Function.createInterceptor(b.beforeLayout,this.clearOverflow,this);a.afterCtCls=a.afterCtCls||Ext.baseCSSPrefix+"box-menu-"+b.parallelAfter;a.menuItems=[]},onRemove:function(a){Ext.Array.remove(this.menuItems,a)},handleOverflow:function(a,h){var g=this,e=g.layout,c="get"+e.parallelPrefixCap,b={},d=[null,null];g.callParent(arguments);this.createMenu(a,h);b[e.perpendicularPrefix]=h[e.perpendicularPrefix];b[e.parallelPrefix]=h[e.parallelPrefix]-g.afterCt[c]();d[e.perpendicularSizeIndex]=(a.meta.maxSize-g.menuTrigger["get"+e.perpendicularPrefixCap]())/2;g.menuTrigger.setPosition.apply(g.menuTrigger,d);return{targetSize:b}},clearOverflow:function(a,j){var h=this,g=j?j.width+(h.afterCt?h.afterCt.getWidth():0):0,b=h.menuItems,c=0,e=b.length,d;h.hideTrigger();for(;cb){l.menuItems.push(g.component);g.component.hide()}}},createInnerElements:function(){var a=this,b=a.layout.getRenderTarget();if(!this.afterCt){b.addCls(Ext.baseCSSPrefix+a.layout.direction+"-box-overflow-body");this.afterCt=b.insertSibling({cls:Ext.layout.container.Box.prototype.innerCls+" "+this.afterCtCls},"before")}},destroy:function(){Ext.destroy(this.menu,this.menuTrigger)}});Ext.define("Ext.util.Region",{requires:["Ext.util.Offset"],statics:{getRegion:function(a){return Ext.fly(a).getPageBox(true)},from:function(a){return new this(a.top,a.right,a.bottom,a.left)}},constructor:function(d,g,a,c){var e=this;e.y=e.top=e[1]=d;e.right=g;e.bottom=a;e.x=e.left=e[0]=c},contains:function(b){var a=this;return(b.x>=a.x&&b.right<=a.right&&b.y>=a.y&&b.bottom<=a.bottom)},intersect:function(h){var g=this,d=Math.max(g.y,h.y),e=Math.min(g.right,h.right),a=Math.min(g.bottom,h.bottom),c=Math.max(g.x,h.x);if(a>d&&e>c){return new this.self(d,e,a,c)}else{return false}},union:function(h){var g=this,d=Math.min(g.y,h.y),e=Math.max(g.right,h.right),a=Math.max(g.bottom,h.bottom),c=Math.min(g.x,h.x);return new this.self(d,e,a,c)},constrainTo:function(b){var a=this,c=Ext.Number.constrain;a.top=a.y=c(a.top,b.y,b.bottom);a.bottom=c(a.bottom,b.y,b.bottom);a.left=a.x=c(a.left,b.x,b.right);a.right=c(a.right,b.x,b.right);return a},adjust:function(d,g,a,c){var e=this;e.top=e.y+=d;e.left=e.x+=c;e.right+=g;e.bottom+=a;return e},getOutOfBoundOffset:function(a,b){if(!Ext.isObject(a)){if(a=="x"){return this.getOutOfBoundOffsetX(b)}else{return this.getOutOfBoundOffsetY(b)}}else{b=a;var c=Ext.create("Ext.util.Offset");c.x=this.getOutOfBoundOffsetX(b.x);c.y=this.getOutOfBoundOffsetY(b.y);return c}},getOutOfBoundOffsetX:function(a){if(a<=this.x){return this.x-a}else{if(a>=this.right){return this.right-a}}return 0},getOutOfBoundOffsetY:function(a){if(a<=this.y){return this.y-a}else{if(a>=this.bottom){return this.bottom-a}}return 0},isOutOfBound:function(a,b){if(!Ext.isObject(a)){if(a=="x"){return this.isOutOfBoundX(b)}else{return this.isOutOfBoundY(b)}}else{b=a;return(this.isOutOfBoundX(b.x)||this.isOutOfBoundY(b.y))}},isOutOfBoundX:function(a){return(athis.right)},isOutOfBoundY:function(a){return(athis.bottom)},restrict:function(b,d,a){if(Ext.isObject(b)){var c;a=d;d=b;if(d.copy){c=d.copy()}else{c={x:d.x,y:d.y}}c.x=this.restrictX(d.x,a);c.y=this.restrictY(d.y,a);return c}else{if(b=="x"){return this.restrictX(d,a)}else{return this.restrictY(d,a)}}},restrictX:function(b,a){if(!a){a=1}if(b<=this.x){b-=(b-this.x)*a}else{if(b>=this.right){b-=(b-this.right)*a}}return b},restrictY:function(b,a){if(!a){a=1}if(b<=this.y){b-=(b-this.y)*a}else{if(b>=this.bottom){b-=(b-this.bottom)*a}}return b},getSize:function(){return{width:this.right-this.x,height:this.bottom-this.y}},copy:function(){return new this.self(this.y,this.right,this.bottom,this.x)},copyFrom:function(b){var a=this;a.top=a.y=a[1]=b.y;a.right=b.right;a.bottom=b.bottom;a.left=a.x=a[0]=b.x;return this},toString:function(){return"Region["+this.top+","+this.right+","+this.bottom+","+this.left+"]"},translateBy:function(a,c){if(arguments.length==1){c=a.y;a=a.x}var b=this;b.top=b.y+=c;b.right+=a;b.bottom+=c;b.left=b.x+=a;return b},round:function(){var a=this;a.top=a.y=Math.round(a.y);a.right=Math.round(a.right);a.bottom=Math.round(a.bottom);a.left=a.x=Math.round(a.x);return a},equals:function(a){return(this.top==a.top&&this.right==a.right&&this.bottom==a.bottom&&this.left==a.left)}});Ext.define("Ext.dd.DragDropManager",{singleton:true,requires:["Ext.util.Region"],uses:["Ext.tip.QuickTipManager"],alternateClassName:["Ext.dd.DragDropMgr","Ext.dd.DDM"],ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,init:function(){this.initialized=true},POINT:0,INTERSECT:1,mode:0,_execOnAll:function(c,b){for(var d in this.ids){for(var a in this.ids[d]){var e=this.ids[d][a];if(!this.isTypeOfDD(e)){continue}e[c].apply(e,b)}}},_onLoad:function(){this.init();var a=Ext.EventManager;a.on(document,"mouseup",this.handleMouseUp,this,true);a.on(document,"mousemove",this.handleMouseMove,this,true);a.on(window,"unload",this._onUnload,this,true);a.on(window,"resize",this._onResize,this,true)},_onResize:function(a){this._execOnAll("resetConstraints",[])},lock:function(){this.locked=true},unlock:function(){this.locked=false},isLocked:function(){return this.locked},locationCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:350,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,regDragDrop:function(b,a){if(!this.initialized){this.init()}if(!this.ids[a]){this.ids[a]={}}this.ids[a][b.id]=b},removeDDFromGroup:function(c,a){if(!this.ids[a]){this.ids[a]={}}var b=this.ids[a];if(b&&b[c.id]){delete b[c.id]}},_remove:function(b){for(var a in b.groups){if(a&&this.ids[a]&&this.ids[a][b.id]){delete this.ids[a][b.id]}}delete this.handleIds[b.id]},regHandle:function(b,a){if(!this.handleIds[b]){this.handleIds[b]={}}this.handleIds[b][a]=a},isDragDrop:function(a){return(this.getDDById(a))?true:false},getRelated:function(g,b){var e=[];for(var d in g.groups){for(var c in this.ids[d]){var a=this.ids[d][c];if(!this.isTypeOfDD(a)){continue}if(!b||a.isTarget){e[e.length]=a}}}return e},isLegalTarget:function(e,d){var b=this.getRelated(e,true);for(var c=0,a=b.length;cthis.clickPixelThresh||a>this.clickPixelThresh){this.startDrag(this.startX,this.startY)}}if(this.dragThreshMet){this.dragCurrent.b4Drag(c);this.dragCurrent.onDrag(c);if(!this.dragCurrent.moveOnly){this.fireEvents(c,false)}}this.stopEvent(c);return true},fireEvents:function(m,n){var q=this.dragCurrent;if(!q||q.isLocked()){return}var r=m.getPoint();var a=[];var d=[];var k=[];var h=[];var c=[];for(var g in this.dragOvers){var b=this.dragOvers[g];if(!this.isTypeOfDD(b)){continue}if(!this.isOverTarget(r,b,this.mode)){d.push(b)}a[g]=true;delete this.dragOvers[g]}for(var p in q.groups){if("string"!=typeof p){continue}for(g in this.ids[p]){var j=this.ids[p][g];if(!this.isTypeOfDD(j)){continue}if(j.isTarget&&!j.isLocked()&&((j!=q)||(q.ignoreSelf===false))){if(this.isOverTarget(r,j,this.mode)){if(n){h.push(j)}else{if(!a[j.id]){c.push(j)}else{k.push(j)}this.dragOvers[j.id]=j}}}}}if(this.mode){if(d.length){q.b4DragOut(m,d);q.onDragOut(m,d)}if(c.length){q.onDragEnter(m,c)}if(k.length){q.b4DragOver(m,k);q.onDragOver(m,k)}if(h.length){q.b4DragDrop(m,h);q.onDragDrop(m,h)}}else{var l=0;for(g=0,l=d.length;g2000){}else{setTimeout(this._addListeners,10);if(document&&document.body){this._timeoutCount+=1}}}},handleWasClicked:function(a,c){if(this.isHandle(c,a.id)){return true}else{var b=a.parentNode;while(b){if(this.isHandle(c,b.id)){return true}else{b=b.parentNode}}}return false}},function(){this._addListeners()});Ext.define("Ext.layout.container.Box",{alias:["layout.box"],extend:"Ext.layout.container.Container",alternateClassName:"Ext.layout.BoxLayout",requires:["Ext.layout.container.boxOverflow.None","Ext.layout.container.boxOverflow.Menu","Ext.layout.container.boxOverflow.Scroller","Ext.util.Format","Ext.dd.DragDropManager"],defaultMargins:{top:0,right:0,bottom:0,left:0},padding:"0",pack:"start",type:"box",scrollOffset:0,itemCls:Ext.baseCSSPrefix+"box-item",targetCls:Ext.baseCSSPrefix+"box-layout-ct",innerCls:Ext.baseCSSPrefix+"box-inner",bindToOwnerCtContainer:true,availableSpaceOffset:0,reserveOffset:true,clearInnerCtOnLayout:false,flexSortFn:function(d,c){var e="max"+this.parallelPrefixCap,g=Infinity;d=d.component[e]||g;c=c.component[e]||g;if(!isFinite(d)&&!isFinite(c)){return false}return d-c},minSizeSortFn:function(d,c){return c.available-d.available},constructor:function(a){var b=this;b.callParent(arguments);b.flexSortFn=Ext.Function.bind(b.flexSortFn,b);b.initOverflowHandler()},getChildBox:function(b){b=b.el||this.owner.getComponent(b).el;var a=b.getBox(false,true);return{left:a.left,top:a.top,width:a.width,height:a.height}},calculateChildBox:function(e){var d=this,b=d.calculateChildBoxes(d.getVisibleItems(),d.getLayoutTargetSize()).boxes,c=b.length,a=0;e=d.owner.getComponent(e);for(;ac;e=m(0,c-d-w-(z.reserveOffset?z.availableSpaceOffset:0));if(n){for(ah=0;ah0){for(ah=0;ah0){U[z.perpendicularLeftTop]=R+Math.round(F/2)}}}}t+=(U[u]||0)+D[z.parallelAfter]}return{boxes:S,meta:{calculatedWidth:ai,maxSize:I,nonFlexSize:d,desiredSize:an,minimumSize:y,shortfall:Z,tooNarrow:n}}},onRemove:function(a){this.callParent(arguments);if(this.overflowHandler){this.overflowHandler.onRemove(a)}},initOverflowHandler:function(){var c=this.overflowHandler;if(typeof c=="string"){c={type:c}}var b="None";if(c&&c.type!==undefined){b=c.type}var a=Ext.layout.container.boxOverflow[b];if(a[this.type]){a=a[this.type]}this.overflowHandler=Ext.create("Ext.layout.container.boxOverflow."+b,this,c)},onLayout:function(){this.callParent();if(this.clearInnerCtOnLayout===true&&this.adjustmentPass!==true){this.innerCt.setSize(null,null)}var h=this,c=h.getLayoutTargetSize(),g=h.getVisibleItems(),b=h.calculateChildBoxes(g,c),e=b.boxes,i=b.meta,j,a,d;if(h.autoSize&&b.meta.desiredSize){c[h.parallelPrefix]=b.meta.desiredSize}if(i.shortfall>0){j=h.overflowHandler;a=i.tooNarrow?"handleOverflow":"clearOverflow";d=j[a](b,c);if(d){if(d.targetSize){c=d.targetSize}if(d.recalculate){g=h.getVisibleItems();b=h.calculateChildBoxes(g,c);e=b.boxes}}}else{h.overflowHandler.clearOverflow()}h.layoutTargetLastSize=c;h.childBoxCache=b;h.updateInnerCtSize(c,b);h.updateChildBoxes(e);h.handleTargetOverflow(c)},updateChildBoxes:function(h){var m=this,e=0,c=h.length,q=[],p=Ext.dd.DDM.getDDById(m.innerCt.id),a,g,d,j,k,b;for(;el.calculatedWidth){h.owner.el.setWidth(l.calculatedWidth)}if(h.innerCt.dom.scrollTop){h.innerCt.dom.scrollTop=0}},handleTargetOverflow:function(c){var b=this.getTarget(),d=b.getStyle("overflow"),a;if(d&&d!="hidden"&&!this.adjustmentPass){a=this.getLayoutTargetSize();if(a.width!=c.width||a.height!=c.height){this.adjustmentPass=true;this.onLayout();return true}}delete this.adjustmentPass},isValidParent:function(c,d,a){var b=c.el?c.el.dom:Ext.getDom(c);return(b&&this.innerCt&&b.parentNode===this.innerCt.dom)||false},getRenderTarget:function(){if(!this.innerCt){this.innerCt=this.getTarget().createChild({cls:this.innerCls,role:"presentation"});this.padding=Ext.util.Format.parseBox(this.padding)}return this.innerCt},renderItem:function(d,g){this.callParent(arguments);var c=this,a=d.getEl(),b=a.dom.style,e=d.margins||d.margin;if(e){if(Ext.isString(e)||Ext.isNumber(e)){e=Ext.util.Format.parseBox(e)}else{Ext.applyIf(e,{top:0,right:0,bottom:0,left:0})}}else{e=Ext.apply({},c.defaultMargins)}e.top+=a.getMargin("t");e.right+=a.getMargin("r");e.bottom+=a.getMargin("b");e.left+=a.getMargin("l");b.marginTop=b.marginRight=b.marginBottom=b.marginLeft="0";d.margins=e},destroy:function(){Ext.destroy(this.overflowHandler);this.callParent(arguments)}});Ext.define("Ext.layout.container.HBox",{alias:["layout.hbox"],extend:"Ext.layout.container.Box",alternateClassName:"Ext.layout.HBoxLayout",align:"top",alignCenteringString:"middle",type:"hbox",direction:"horizontal",parallelSizeIndex:0,perpendicularSizeIndex:1,parallelPrefix:"width",parallelPrefixCap:"Width",parallelLT:"l",parallelRB:"r",parallelBefore:"left",parallelBeforeCap:"Left",parallelAfter:"right",parallelPosition:"x",perpendicularPrefix:"height",perpendicularPrefixCap:"Height",perpendicularLT:"t",perpendicularRB:"b",perpendicularLeftTop:"top",perpendicularRightBottom:"bottom",perpendicularPosition:"y",configureItem:function(a){if(a.flex){a.layoutManagedWidth=1}else{a.layoutManagedWidth=2}if(this.align==="stretch"||this.align==="stretchmax"){a.layoutManagedHeight=1}else{a.layoutManagedHeight=2}this.callParent(arguments)}});Ext.define("Ext.layout.container.VBox",{alias:["layout.vbox"],extend:"Ext.layout.container.Box",alternateClassName:"Ext.layout.VBoxLayout",align:"left",alignCenteringString:"center",type:"vbox",direction:"vertical",parallelSizeIndex:1,perpendicularSizeIndex:0,parallelPrefix:"height",parallelPrefixCap:"Height",parallelLT:"t",parallelRB:"b",parallelBefore:"top",parallelBeforeCap:"Top",parallelAfter:"bottom",parallelPosition:"y",perpendicularPrefix:"width",perpendicularPrefixCap:"Width",perpendicularLT:"l",perpendicularRB:"r",perpendicularLeftTop:"left",perpendicularRightBottom:"right",perpendicularPosition:"x",configureItem:function(a){if(a.flex){a.layoutManagedHeight=1}else{a.layoutManagedHeight=2}if(this.align==="stretch"||this.align==="stretchmax"){a.layoutManagedWidth=1}else{a.layoutManagedWidth=2}this.callParent(arguments)}});Ext.define("Ext.FocusManager",{singleton:true,alternateClassName:"Ext.FocusMgr",mixins:{observable:"Ext.util.Observable"},requires:["Ext.ComponentManager","Ext.ComponentQuery","Ext.util.HashMap","Ext.util.KeyNav"],enabled:false,focusElementCls:Ext.baseCSSPrefix+"focus-element",focusFrameCls:Ext.baseCSSPrefix+"focus-frame",whitelist:["textfield"],tabIndexWhitelist:["a","button","embed","frame","iframe","img","input","object","select","textarea"],constructor:function(){var a=this,b=Ext.ComponentQuery;a.addEvents("beforecomponentfocus","componentfocus","disable","enable");a.keyNav=Ext.create("Ext.util.KeyNav",Ext.getDoc(),{disabled:true,scope:a,backspace:a.focusLast,enter:a.navigateIn,esc:a.navigateOut,tab:a.navigateSiblings});a.focusData={};a.subscribers=Ext.create("Ext.util.HashMap");a.focusChain={};Ext.apply(b.pseudos,{focusable:function(g){var d=g.length,j=[],h=0,k,e=function(c){return c&&c.focusable!==false&&b.is(c,"[rendered]:not([destroying]):not([isDestroyed]):not([disabled]){isVisible(true)}{el && c.el.dom && c.el.isVisible()}")};for(;h=d){h=0}else{if(h<0){h=d-1}}k=g[h];if(b.is(k,":focusable")){return[k]}else{if(k.placeholder&&b.is(k.placeholder,":focusable")){return[k.placeholder]}}}return[]},prevFocus:function(d,c){return this.nextFocus(d,c,-1)},root:function(e){var d=e.length,h=[],g=0,j;for(;ge.el.getZIndex()});return d.concat(b)},initDOM:function(b){var c=this,d=" ",a=c.focusFrameCls;if(!Ext.isReady){Ext.onReady(c.initDOM,c);return}if(!c.focusEl){c.focusEl=Ext.getBody().createChild({tabIndex:"-1",cls:c.focusElementCls,html:d})}if(!c.focusFrame&&b.focusFrame){c.focusFrame=Ext.getBody().createChild({cls:a,children:[{cls:a+"-top"},{cls:a+"-bottom"},{cls:a+"-left"},{cls:a+"-right"}],style:"top: -100px; left: -100px;"});c.focusFrame.setVisibilityMode(Ext.core.Element.DISPLAY);c.focusFrameWidth=c.focusFrame.child("."+a+"-top").getHeight();c.focusFrame.hide().setLeftTop(0,0)}},isWhitelisted:function(a){return a&&Ext.Array.some(this.whitelist,function(b){return a.isXType(b)})},navigateIn:function(d){var b=this,a=b.focusedCmp,g,c;if(!a){g=b.getRootComponents();if(g.length){g[0].focus()}}else{c=Ext.ComponentQuery.query(">:focusable",a)[0];if(c){c.focus()}else{if(Ext.isFunction(a.onClick)){d.button=0;a.onClick(d);a.focus()}}}},navigateOut:function(c){var b=this,a;if(!b.focusedCmp||!(a=b.focusedCmp.up(":focusable"))){b.focusEl.focus()}else{a.focus()}return true},navigateSiblings:function(i,b,n){var j=this,a=b||j,p=i.getKey(),g=Ext.EventObject,k=i.shiftKey||p==g.LEFT||p==g.UP,c=p==g.LEFT||p==g.RIGHT||p==g.UP||p==g.DOWN,h=k?"prev":"next",m,d,l;l=(a.focusedCmp&&a.focusedCmp.comp)||a.focusedCmp;if(!l&&!n){return}if(c&&j.isWhitelisted(l)){return true}n=n||l.up();if(n){m=l?Ext.Array.indexOf(n.getRefItems(),l):-1;d=Ext.ComponentQuery.query(">:"+h+"Focus("+m+")",n)[0];if(d&&l!==d){d.focus();return d}}},onComponentBlur:function(b,c){var a=this;if(a.focusedCmp===b){a.previousFocusedCmp=b;delete a.focusedCmp}if(a.focusFrame){a.focusFrame.hide()}},onComponentCreated:function(b,c,a){this.setFocus(a,true,this.options)},onComponentDestroy:function(a){this.setFocus(a,false)},onComponentFocus:function(p,l){var m=this,a=m.focusChain;if(!Ext.ComponentQuery.is(p,":focusable")){m.clearComponent(p);if(a[p.id]){return}var r=p.up();if(r){a[p.id]=true;r.focus()}return}m.focusChain={};clearTimeout(m.cmpFocusDelay);if(arguments.length!==2){m.cmpFocusDelay=Ext.defer(m.onComponentFocus,90,m,[p,l]);return}if(m.fireEvent("beforecomponentfocus",m,p,m.previousFocusedCmp)===false){m.clearComponent(p);return}m.focusedCmp=p;if(m.shouldShowFocusFrame(p)){var t="."+m.focusFrameCls+"-",b=m.focusFrame,g=m.focusFrameWidth,j=p.el.getPageBox(),s=j.top,c=j.left,n=j.width,h=j.height,i=b.child(t+"top"),d=b.child(t+"bottom"),q=b.child(t+"left"),k=b.child(t+"right");i.setWidth(n-2).setLeftTop(c+1,s);d.setWidth(n-2).setLeftTop(c+1,s+h-g);q.setHeight(h-2).setLeftTop(c,s+1);k.setHeight(h-2).setLeftTop(c+n-g,s+1);b.show()}m.fireEvent("componentfocus",m,p,m.previousFocusedCmp)},onComponentHide:function(e){var d=this,g=Ext.ComponentQuery,b=false,a,c;if(d.focusedCmp){a=g.query("[id="+d.focusedCmp.id+"]",e)[0];b=d.focusedCmp.id===e.id||a;if(a){d.clearComponent(a)}}d.clearComponent(e);if(b){c=g.query("^:focusable",e)[0];if(c){c.focus()}}},removeDOM:function(){var a=this;if(a.enabled||a.subscribers.length){return}Ext.destroy(a.focusEl,a.focusFrame);delete a.focusEl;delete a.focusFrame;delete a.focusFrameWidth},removeXTypeFromWhitelist:function(b){var a=this;if(Ext.isArray(b)){Ext.Array.forEach(b,a.removeXTypeFromWhitelist,a);return}Ext.Array.remove(a.whitelist,b)},setFocus:function(e,i,b){var d=this,c,h,g,a=function(j){return !Ext.Array.contains(d.tabIndexWhitelist,j.tagName.toLowerCase())&&j.tabIndex<=0};b=b||{};if(!e.rendered){e.on("afterrender",Ext.pass(d.setFocus,arguments,d),d,{single:true});return}c=e.getFocusEl();h=c.dom;if((i&&!d.focusData[e.id])||(!i&&d.focusData[e.id])){if(i){g={focusFrame:b.focusFrame};if(a(h)){g.tabIndex=h.tabIndex;h.tabIndex=-1}c.on({focus:g.focusFn=Ext.bind(d.onComponentFocus,d,[e],0),blur:g.blurFn=Ext.bind(d.onComponentBlur,d,[e],0),scope:d});e.on({hide:d.onComponentHide,close:d.onComponentHide,beforedestroy:d.onComponentDestroy,scope:d});d.focusData[e.id]=g}else{g=d.focusData[e.id];if("tabIndex" in g){h.tabIndex=g.tabIndex}c.un("focus",g.focusFn,d);c.un("blur",g.blurFn,d);e.un("hide",d.onComponentHide,d);e.un("close",d.onComponentHide,d);e.un("beforedestroy",d.onComponentDestroy,d);delete d.focusData[e.id]}}},setFocusAll:function(h,c){var g=this,b=Ext.ComponentManager.all.getArray(),a=b.length,e,d=0;for(;d"),b);g.setFocus(i,true,c);i.on("add",h.onAdd,g)}else{if(!i.isContainer){g.setFocus(i,true,c)}}};if(!a||!a.isContainer){return}if(!a.rendered){a.on("afterrender",Ext.pass(g.subscribe,arguments,g),g,{single:true});return}g.initDOM(c);h.keyNav=g.setupSubscriberKeys(a,c.keys);h.onAdd=function(j,k,i){b(k)};a.on("beforedestroy",g.unsubscribe,g);b(a);d.add(a.id,h)},unsubscribe:function(a){var e=this,d=Ext.Array,c=e.subscribers,g,b=function(h){if(h.isContainer&&!c.containsKey(h.id)){d.forEach(h.query(">"),b);e.setFocus(h,false);h.un("add",g.onAdd,e)}else{if(!h.isContainer){e.setFocus(h,false)}}};if(!a||!c.containsKey(a.id)){return}g=c.get(a.id);g.keyNav.destroy();a.un("beforedestroy",e.unsubscribe,e);c.removeAtKey(a.id);b(a);e.removeDOM()}});Ext.define("Ext.toolbar.Toolbar",{extend:"Ext.container.Container",requires:["Ext.toolbar.Fill","Ext.layout.container.HBox","Ext.layout.container.VBox","Ext.FocusManager"],uses:["Ext.toolbar.Separator"],alias:"widget.toolbar",alternateClassName:"Ext.Toolbar",isToolbar:true,baseCls:Ext.baseCSSPrefix+"toolbar",ariaRole:"toolbar",defaultType:"button",vertical:false,enableOverflow:false,trackMenus:true,itemCls:Ext.baseCSSPrefix+"toolbar-item",initComponent:function(){var b=this,a;if(!b.layout&&b.enableOverflow){b.layout={overflowHandler:"Menu"}}if(b.dock==="right"||b.dock==="left"){b.vertical=true}b.layout=Ext.applyIf(Ext.isString(b.layout)?{type:b.layout}:b.layout||{},{type:b.vertical?"vbox":"hbox",align:b.vertical?"stretchmax":"middle",clearInnerCtOnLayout:true});if(b.vertical){b.addClsWithUI("vertical")}if(b.ui==="footer"){b.ignoreBorderManagement=true}b.callParent();b.addEvents("overflowchange");a=b.vertical?["up","down"]:["left","right"];Ext.FocusManager.subscribe(b,{keys:a})},lookupComponent:function(b){if(Ext.isString(b)){var a=Ext.toolbar.Toolbar.shortcuts[b];if(a){b={xtype:a}}else{b={xtype:"tbtext",text:b}}this.applyDefaults(b)}return this.callParent(arguments)},applyDefaults:function(b){if(!Ext.isString(b)){b=this.callParent(arguments);var a=this.internalDefaults;if(b.events){Ext.applyIf(b.initialConfig,a);Ext.apply(b,a)}else{Ext.applyIf(b,a)}}return b},trackMenu:function(c,a){if(this.trackMenus&&c.menu){var d=a?"mun":"mon",b=this;b[d](c,"menutriggerover",b.onButtonTriggerOver,b);b[d](c,"menushow",b.onButtonMenuShow,b);b[d](c,"menuhide",b.onButtonMenuHide,b)}},constructButton:function(a){return a.events?a:this.createComponent(a,a.split?"splitbutton":this.defaultType)},onBeforeAdd:function(a){if(a.is("field")||(a.is("button")&&this.ui!="footer")){a.ui=a.ui+"-toolbar"}if(a instanceof Ext.toolbar.Separator){a.setUI((this.vertical)?"vertical":"horizontal")}this.callParent(arguments)},onAdd:function(a){this.callParent(arguments);this.trackMenu(a);if(this.disabled){a.disable()}},onRemove:function(a){this.callParent(arguments);this.trackMenu(a,true)},onButtonTriggerOver:function(a){if(this.activeMenuBtn&&this.activeMenuBtn!=a){this.activeMenuBtn.hideMenu();a.showMenu();this.activeMenuBtn=a}},onButtonMenuShow:function(a){this.activeMenuBtn=a},onButtonMenuHide:function(a){delete this.activeMenuBtn}},function(){this.shortcuts={"-":"tbseparator"," ":"tbspacer","->":"tbfill"}});Ext.define("Ext.panel.AbstractPanel",{extend:"Ext.container.Container",requires:["Ext.util.MixedCollection","Ext.core.Element","Ext.toolbar.Toolbar"],baseCls:Ext.baseCSSPrefix+"panel",isPanel:true,componentLayout:"dock",defaultDockWeights:{top:1,left:3,right:5,bottom:7},renderTpl:['
    {bodyCls} {baseCls}-body-{ui} {parent.baseCls}-body-{parent.ui}-{.}" style="{bodyStyle}">
    '],border:true,initComponent:function(){var a=this;a.addEvents("bodyresize");Ext.applyIf(a.renderSelectors,{body:"."+a.baseCls+"-body"});if(a.frame&&a.border&&a.bodyBorder===undefined){a.bodyBorder=false}if(a.frame&&a.border&&(a.bodyBorder===false||a.bodyBorder===0)){a.manageBodyBorders=true}a.callParent()},initItems:function(){var b=this,a=b.dockedItems;b.callParent();b.dockedItems=Ext.create("Ext.util.MixedCollection",false,b.getComponentId);if(a){b.addDocked(a)}},getDockedComponent:function(a){if(Ext.isObject(a)){a=a.getItemId()}return this.dockedItems.get(a)},getComponent:function(a){var b=this.callParent(arguments);if(b===undefined&&!Ext.isNumber(a)){b=this.getDockedComponent(a)}return b},initBodyStyles:function(){var d=this,a=d.bodyStyle,c=[],b=Ext.core.Element,e;if(Ext.isFunction(a)){a=a()}if(Ext.isString(a)){c=a.split(";")}else{for(e in a){if(a.hasOwnProperty(e)){c.push(e+":"+a[e])}}}if(d.bodyPadding!==undefined){c.push("padding: "+b.unitizeBox((d.bodyPadding===true)?5:d.bodyPadding))}if(d.frame&&d.bodyBorder){if(!Ext.isNumber(d.bodyBorder)){d.bodyBorder=1}c.push("border-width: "+b.unitizeBox(d.bodyBorder))}delete d.bodyStyle;return c.length?c.join(";"):undefined},initBodyCls:function(){var b=this,a="",c=b.bodyCls;if(c){Ext.each(c,function(d){a+=" "+d});delete b.bodyCls}return a.length>0?a:undefined},initRenderData:function(){return Ext.applyIf(this.callParent(),{bodyStyle:this.initBodyStyles(),bodyCls:this.initBodyCls()})},addDocked:function(a,g){var e=this,b=0,d,c;a=e.prepareItems(a);c=a.length;for(;b {bodyCls} {parent.baseCls}-body-{parent.ui}-{.}" style="{bodyStyle}">'],initComponent:function(){var c=this,e,b,a,d;c.indicateDragCls=c.baseCls+"-draggable";c.title=c.title||" ";c.tools=c.tools||[];c.items=c.items||[];c.orientation=c.orientation||"horizontal";c.dock=(c.dock)?c.dock:(c.orientation=="horizontal")?"top":"left";c.addClsWithUI(c.orientation);c.addClsWithUI(c.dock);Ext.applyIf(c.renderSelectors,{body:"."+c.baseCls+"-body"});if(!Ext.isEmpty(c.iconCls)){c.initIconCmp();c.items.push(c.iconCmp)}if(c.orientation=="vertical"){if(Ext.isIE6||Ext.isIE7){c.width=this.width||24}else{if(Ext.isIEQuirks){c.width=this.width||25}}c.layout={type:"vbox",align:"center",clearInnerCtOnLayout:true,bindToOwnerCtContainer:false};c.textConfig={cls:c.baseCls+"-text",type:"text",text:c.title,rotate:{degrees:90}};d=c.ui;if(Ext.isArray(d)){d=d[0]}e=Ext.util.CSS.getRule("."+c.baseCls+"-text-"+d);if(e){b=e.style}if(b){Ext.apply(c.textConfig,{"font-family":b.fontFamily,"font-weight":b.fontWeight,"font-size":b.fontSize,fill:b.color})}c.titleCmp=Ext.create("Ext.draw.Component",{ariaRole:"heading",focusable:false,viewBox:false,flex:1,autoSize:true,margins:"5 0 0 0",items:[c.textConfig],renderSelectors:{textEl:"."+c.baseCls+"-text"}})}else{c.layout={type:"hbox",align:"middle",clearInnerCtOnLayout:true,bindToOwnerCtContainer:false};c.titleCmp=Ext.create("Ext.Component",{xtype:"component",ariaRole:"heading",focusable:false,flex:1,renderTpl:['{title}'],renderData:{title:c.title,cls:c.baseCls,ui:c.ui},renderSelectors:{textEl:"."+c.baseCls+"-text"}})}c.items.push(c.titleCmp);c.items=c.items.concat(c.tools);this.callParent()},initIconCmp:function(){this.iconCmp=Ext.create("Ext.Component",{focusable:false,renderTpl:[''],renderData:{blank:Ext.BLANK_IMAGE_URL,cls:this.baseCls,iconCls:this.iconCls,orientation:this.orientation},renderSelectors:{iconEl:"."+this.baseCls+"-icon"},iconCls:this.iconCls})},afterRender:function(){var a=this;a.el.unselectable();if(a.indicateDrag){a.el.addCls(a.indicateDragCls)}a.mon(a.el,{click:a.onClick,scope:a});a.callParent()},afterLayout:function(){var a=this;a.callParent(arguments);if(Ext.isIE7){a.el.repaint()}},addUIClsToElement:function(b,g){var e=this,a=e.callParent(arguments),d=[e.baseCls+"-body-"+b,e.baseCls+"-body-"+e.ui+"-"+b],h,c;if(!g&&e.rendered){if(e.bodyCls){e.body.addCls(e.bodyCls)}else{e.body.addCls(d)}}else{if(e.bodyCls){h=e.bodyCls.split(" ");for(c=0;c0},runningFilter:function(a){return a.paused===false&&a.running===true&&a.isAnimator!==true},runner:function(){var b=this,a=b.items;b.targetData={};b.targetArr={};b.timestamp=new Date();a.filterBy(b.startingFilter).each(b.startAnim,b);a.filterBy(b.runningFilter).each(b.runAnim,b);b.applyPendingAttrs()},startAnim:function(a){a.start(this.timestamp)},runAnim:function(d){if(!d){return}var c=this,b=d.target.getId(),g=c.useCSS3&&d.target.type=="element",a=c.timestamp-d.startTime,e,h;this.collectTargetData(d,a,g);if(g){d.target.setAttr(c.targetData[b],true);c.targetData[b]=[];c.collectTargetData(d,d.duration,g);d.paused=true;e=d.target.target;if(d.target.isComposite){e=d.target.target.last()}h={};h[Ext.supports.CSS3TransitionEnd]=d.lastFrame;h.scope=d;h.single=true;e.on(h)}else{if(a>=d.duration){c.applyPendingAttrs(true);delete c.targetData[b];delete c.targetArr[b];d.lastFrame()}}},collectTargetData:function(d,a,e){var b=d.target.getId(),g=this.targetData[b],c;if(!g){g=this.targetData[b]=[];this.targetArr[b]=d.target}c={duration:d.duration,easing:(e&&d.reverse)?d.easingFn.reverse().toCSS3():d.easing,attrs:{}};Ext.apply(c.attrs,d.runAnim(a));g.push(c)},applyPendingAttrs:function(d){var c=this.targetData,b=this.targetArr,a;for(a in c){if(c.hasOwnProperty(a)){b[a].setAttr(c[a],false,d)}}}});Ext.define("Ext.fx.Animator",{mixins:{observable:"Ext.util.Observable"},requires:["Ext.fx.Manager"],isAnimator:true,duration:250,delay:0,delayStart:0,dynamic:false,easing:"ease",running:false,paused:false,damper:1,iterations:1,currentIteration:0,keyframeStep:0,animKeyFramesRE:/^(from|to|\d+%?)$/,constructor:function(a){var b=this;a=Ext.apply(b,a||{});b.config=a;b.id=Ext.id(null,"ext-animator-");b.addEvents("beforeanimate","keyframe","afteranimate");b.mixins.observable.constructor.call(b,a);b.timeline=[];b.createTimeline(b.keyframes);if(b.target){b.applyAnimator(b.target);Ext.fx.Manager.addAnim(b)}},sorter:function(d,c){return d.pct-c.pct},createTimeline:function(g){var k=this,n=[],l=k.to||{},c=k.duration,p,a,e,j,m,b,d,h;for(m in g){if(g.hasOwnProperty(m)&&k.animKeyFramesRE.test(m)){h={attrs:Ext.apply(g[m],l)};if(m=="from"){m=0}else{if(m=="to"){m=100}}h.pct=parseInt(m,10);n.push(h)}}Ext.Array.sort(n,k.sorter);j=n.length;for(e=0;e2){c.push([e].concat(Ext.Array.splice(i,0,2)));h="l";e=(e=="m")?"l":"L"}while(i.length>=d[h]){c.push([e].concat(Ext.Array.splice(i,0,d[h])));if(!d[h]){break}}})}c.toString=b.path2string;return c},mapPath:function(l,g){if(!g){return l}var h,e,c,k,a,d,b;l=this.path2curve(l);for(c=0,k=l.length;c7){h[b].shift();e=h[b];while(e.length){Ext.Array.splice(h,b++,0,["C"].concat(Ext.Array.splice(e,0,6)))}Ext.Array.erase(h,b,1);c=h.length}a=h[b];g=a.length;j.x=a[g-2];j.y=a[g-1];j.bx=parseFloat(a[g-4])||j.x;j.by=parseFloat(a[g-3])||j.y}return h},interpolatePaths:function(s,l){var j=this,d=j.pathToAbsolute(s),m=j.pathToAbsolute(l),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},b=function(p,t){if(p[t].length>7){p[t].shift();var u=p[t];while(u.length){Ext.Array.splice(p,t++,0,["C"].concat(Ext.Array.splice(u,0,6)))}Ext.Array.erase(p,t,1);q=Math.max(d.length,m.length||0)}},c=function(w,v,t,p,u){if(w&&v&&w[u][0]=="M"&&v[u][0]!="M"){Ext.Array.splice(v,u,0,["M",p.x,p.y]);t.bx=0;t.by=0;t.x=w[u][1];t.y=w[u][2];q=Math.max(d.length,m.length||0)}};for(var h=0,q=Math.max(d.length,m.length||0);h1){ad=Y(ad);K=ad*K;I=ad*I}d=K*K;U=I*I;X=(p==j?-1:1)*Y(z((d*U-d*Q*Q-U*R*R)/(d*Q*Q+U*R*R)));F=X*K*Q/I+(w+v)/2;E=X*-I*R/K+(ai+ah)/2;n=q(((ai-E)/I).toFixed(7));m=q(((ah-E)/I).toFixed(7));n=wm){n=n-e*2}if(!j&&m>n){m=m-e*2}}else{n=D[0];m=D[1];F=D[2];E=D[3]}u=m-n;if(z(u)>H){G=m;J=v;r=ah;m=n+H*(j&&m>n?1:-1);v=F+K*W(m);ah=E+I*a(m);P=A.arc2curve(v,ah,K,I,C,0,j,J,r,[m,G,F,E])}u=m-n;l=W(n);ag=a(n);g=W(m);af=a(m);S=M.tan(u/4);V=4/3*K*S;T=4/3*I*S;ae=[w,ai];ac=[w+V*ag,ai-T*l];ab=[v+V*af,ah-T*g];Z=[v,ah];ac[0]=2*ae[0]-ac[0];ac[1]=2*ae[1]-ac[1];if(D){return[ac,ab,Z].concat(P)}else{P=[ac,ab,Z].concat(P).join().split(",");O=[];N=P.length;for(aa=0;aa(a[1]-c[1])*(b[0]-c[0])},intersectIntersection:function(n,m,g,d){var c=[],b=g[0]-d[0],a=g[1]-d[1],k=n[0]-m[0],i=n[1]-m[1],l=g[0]*d[1]-g[1]*d[0],j=n[0]*m[1]-n[1]*m[0],h=1/(b*i-a*k);c[0]=(l*k-j*b)*h;c[1]=(l*i-j*a)*h;return c},intersect:function(p,c){var n=this,k=0,m=c.length,h=c[m-1],r=p,g,t,l,q,a,b,d;for(;k1000000000000){k=0.5}if(Math.abs(j)>1000000000000){j=0.5}if(k>0&&k<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,k);r.push(e.x);n.push(e.y)}if(j>0&&j<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,j);r.push(e.x);n.push(e.y)}s=(t-2*h+d)-(m-2*t+h);p=2*(h-d)-2*(t-h);l=d-h;k=(-p+Math.sqrt(p*p-4*s*l))/2/s;j=(-p-Math.sqrt(p*p-4*s*l))/2/s;if(Math.abs(k)>1000000000000){k=0.5}if(Math.abs(j)>1000000000000){j=0.5}if(k>0&&k<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,k);r.push(e.x);n.push(e.y)}if(j>0&&j<1){e=this.findDotAtSegment(g,d,i,h,u,t,q,m,j);r.push(e.x);n.push(e.y)}return{min:{x:Math.min.apply(0,r),y:Math.min.apply(0,n)},max:{x:Math.max.apply(0,r),y:Math.max.apply(0,n)}}},getAnchors:function(e,d,k,j,w,v,r){r=r||4;var i=Math,q=i.PI,s=q/2,m=i.abs,a=i.sin,b=i.cos,g=i.atan,u,t,h,l,p,n,y,x,c;u=(k-e)/r;t=(w-k)/r;if((j>=d&&j>=v)||(j<=d&&j<=v)){h=l=s}else{h=g((k-e)/m(j-d));if(ds){c-=q}h+=c;l+=c;p=k-u*a(h);n=j+u*b(h);y=k+t*a(l);x=j+t*b(l);if((j>d&&nd)){p+=m(d-n)*(p-k)/(n-j);n=d}if((j>v&&xv)){y-=m(v-x)*(y-k)/(x-j);x=v}return{x1:p,y1:n,x2:y,y2:x}},smooth:function(a,s){var r=this.path2curve(a),e=[r[0]],k=r[0][1],h=r[0][2],t,v,w=1,l=r.length,g=1,n=k,m=h,c=0,b=0;for(;w=b.x&&a<=(b.x+b.width)&&c>=b.y&&c<=(b.y+b.height))},parseGradient:function(k){var e=this,g=k.type||"linear",c=k.angle||0,i=e.radian,l=k.stops,a=[],j,b,h,d;if(g=="linear"){b=[0,0,Math.cos(c*i),Math.sin(c*i)];h=1/(Math.max(Math.abs(b[2]),Math.abs(b[3]))||1);b[2]*=h;b[3]*=h;if(b[2]<0){b[0]=-b[2];b[2]=0}if(b[3]<0){b[1]=-b[3];b[3]=0}}for(j in l){if(l.hasOwnProperty(j)&&e.stopsRE.test(j)){d={offset:parseInt(j,10),color:Ext.draw.Color.toHex(l[j].color)||"#ffffff",opacity:l[j].opacity||1};a.push(d)}}Ext.Array.sort(a,e.sorter);if(g=="linear"){return{id:k.id,type:g,vector:b,stops:a}}else{return{id:k.id,type:g,centerX:k.centerX,centerY:k.centerY,focalX:k.focalX,focalY:k.focalY,radius:k.radius,vector:b,stops:a}}}});Ext.define("Ext.fx.PropertyHandler",{requires:["Ext.draw.Draw"],statics:{defaultHandler:{pixelDefaultsRE:/width|height|top$|bottom$|left$|right$/i,unitRE:/^(-?\d*\.?\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/,scrollRE:/^scroll/i,computeDelta:function(j,c,a,g,i){a=(typeof a=="number")?a:1;var h=this.unitRE,d=h.exec(j),b,e;if(d){j=d[1];e=d[2];if(!this.scrollRE.test(i)&&!e&&this.pixelDefaultsRE.test(i)){e="px"}}j=+j||0;d=h.exec(c);if(d){c=d[1];e=d[2]||e}c=+c||0;b=(g!=null)?g:j;return{from:j,delta:(c-b)*a,units:e}},get:function(p,b,a,n,k){var m=p.length,d=[],e,h,l,c,g;for(e=0;e=d){l=d;a=true}if(i.reverse){l=d-l}for(e in k){if(k.hasOwnProperty(e)){j=k[e];h=a?1:c(l/d);g[e]=b[e].set(j,h)}}return g},lastFrame:function(){var c=this,a=c.iterations,b=c.currentIteration;b++;if(b=this.minX;b=b-a){if(!c[b]){this.xTicks[this.xTicks.length]=b;c[b]=true}}for(b=this.initPageX;b<=this.maxX;b=b+a){if(!c[b]){this.xTicks[this.xTicks.length]=b;c[b]=true}}Ext.Array.sort(this.xTicks,this.DDMInstance.numericSort)},setYTicks:function(d,a){this.yTicks=[];this.yTickSize=a;var c={};for(var b=this.initPageY;b>=this.minY;b=b-a){if(!c[b]){this.yTicks[this.yTicks.length]=b;c[b]=true}}for(b=this.initPageY;b<=this.maxY;b=b+a){if(!c[b]){this.yTicks[this.yTicks.length]=b;c[b]=true}}Ext.Array.sort(this.yTicks,this.DDMInstance.numericSort)},setXConstraint:function(c,b,a){this.leftConstraint=c;this.rightConstraint=b;this.minX=this.initPageX-c;this.maxX=this.initPageX+b;if(a){this.setXTicks(this.initPageX,a)}this.constrainX=true},clearConstraints:function(){this.constrainX=false;this.constrainY=false;this.clearTicks()},clearTicks:function(){this.xTicks=null;this.yTicks=null;this.xTickSize=0;this.yTickSize=0},setYConstraint:function(a,c,b){this.topConstraint=a;this.bottomConstraint=c;this.minY=this.initPageY-a;this.maxY=this.initPageY+c;if(b){this.setYTicks(this.initPageY,b)}this.constrainY=true},resetConstraints:function(){if(this.initPageX||this.initPageX===0){var b=(this.maintainOffset)?this.lastPageX-this.initPageX:0;var a=(this.maintainOffset)?this.lastPageY-this.initPageY:0;this.setInitPosition(b,a)}else{this.setInitPosition()}if(this.constrainX){this.setXConstraint(this.leftConstraint,this.rightConstraint,this.xTickSize)}if(this.constrainY){this.setYConstraint(this.topConstraint,this.bottomConstraint,this.yTickSize)}},getTick:function(h,d){if(!d){return h}else{if(d[0]>=h){return d[0]}else{for(var b=0,a=d.length;b=h){var g=h-d[b];var e=d[c]-h;return(e>g)?d[b]:d[c]}}return d[d.length-1]}}},toString:function(){return("DragDrop "+this.id)}});Ext.define("Ext.dd.DD",{extend:"Ext.dd.DragDrop",requires:["Ext.dd.DragDropManager"],constructor:function(c,a,b){if(c){this.init(c,a,b)}},scroll:true,autoOffset:function(c,b){var a=c-this.startPageX;var d=b-this.startPageY;this.setDelta(a,d)},setDelta:function(b,a){this.deltaX=b;this.deltaY=a},setDragElPos:function(c,b){var a=this.getDragEl();this.alignElWithMouse(a,c,b)},alignElWithMouse:function(b,e,c){var g=this.getTargetCoord(e,c),d=b.dom?b:Ext.fly(b,"_dd"),l=d.getSize(),i=Ext.core.Element,j;if(!this.deltaSetXY){j=this.cachedViewportSize={width:i.getDocumentWidth(),height:i.getDocumentHeight()};var a=[Math.max(0,Math.min(g.x,j.width-l.width)),Math.max(0,Math.min(g.y,j.height-l.height))];d.setXY(a);var k=d.getLeft(true);var h=d.getTop(true);this.deltaSetXY=[k-g.x,h-g.y]}else{j=this.cachedViewportSize;d.setLeftTop(Math.max(0,Math.min(g.x+this.deltaSetXY[0],j.width-l.width)),Math.max(0,Math.min(g.y+this.deltaSetXY[1],j.height-l.height)))}this.cachePosition(g.x,g.y);this.autoScroll(g.x,g.y,b.offsetHeight,b.offsetWidth);return g},cachePosition:function(b,a){if(b){this.lastPageX=b;this.lastPageY=a}else{var c=Ext.core.Element.getXY(this.getEl());this.lastPageX=c[0];this.lastPageY=c[1]}},autoScroll:function(l,k,e,m){if(this.scroll){var n=Ext.core.Element.getViewHeight();var b=Ext.core.Element.getViewWidth();var q=this.DDMInstance.getScrollTop();var d=this.DDMInstance.getScrollLeft();var j=e+k;var p=m+l;var i=(n+q-k-this.deltaY);var g=(b+d-l-this.deltaX);var c=40;var a=(document.all)?80:30;if(j>n&&i0&&k-qb&&g0&&l-dthis.maxX){a=this.maxX}}if(this.constrainY){if(dthis.maxY){d=this.maxY}}a=this.getTick(a,this.xTicks);d=this.getTick(d,this.yTicks);return{x:a,y:d}},applyConfig:function(){this.callParent();this.scroll=(this.config.scroll!==false)},b4MouseDown:function(a){this.autoOffset(a.getPageX(),a.getPageY())},b4Drag:function(a){this.setDragElPos(a.getPageX(),a.getPageY())},toString:function(){return("DD "+this.id)}});Ext.define("Ext.dd.DDProxy",{extend:"Ext.dd.DD",statics:{dragElId:"ygddfdiv"},constructor:function(c,a,b){if(c){this.init(c,a,b);this.initFrame()}},resizeFrame:true,centerFrame:false,createFrame:function(){var b=this;var a=document.body;if(!a||!a.firstChild){setTimeout(function(){b.createFrame()},50);return}var d=this.getDragEl();if(!d){d=document.createElement("div");d.id=this.dragElId;var c=d.style;c.position="absolute";c.visibility="hidden";c.cursor="move";c.border="2px solid #aaa";c.zIndex=999;a.insertBefore(d,a.firstChild)}},initFrame:function(){this.createFrame()},applyConfig:function(){this.callParent();this.resizeFrame=(this.config.resizeFrame!==false);this.centerFrame=(this.config.centerFrame);this.setDragElId(this.config.dragElId||Ext.dd.DDProxy.dragElId)},showFrame:function(e,d){var c=this.getEl();var a=this.getDragEl();var b=a.style;this._resizeProxy();if(this.centerFrame){this.setDelta(Math.round(parseInt(b.width,10)/2),Math.round(parseInt(b.height,10)/2))}this.setDragElPos(e,d);Ext.fly(a).show()},_resizeProxy:function(){if(this.resizeFrame){var a=this.getEl();Ext.fly(this.getDragEl()).setSize(a.offsetWidth,a.offsetHeight)}},b4MouseDown:function(b){var a=b.getPageX();var c=b.getPageY();this.autoOffset(a,c);this.setDragElPos(a,c)},b4StartDrag:function(a,b){this.showFrame(a,b)},b4EndDrag:function(a){Ext.fly(this.getDragEl()).hide()},endDrag:function(c){var b=this.getEl();var a=this.getDragEl();a.style.visibility="";this.beforeMove();b.style.visibility="hidden";Ext.dd.DDM.moveToEl(b,a);a.style.visibility="hidden";b.style.visibility="";this.afterDrag()},beforeMove:function(){},afterDrag:function(){},toString:function(){return("DDProxy "+this.id)}});Ext.define("Ext.dd.DragSource",{extend:"Ext.dd.DDProxy",requires:["Ext.dd.StatusProxy","Ext.dd.DragDropManager"],dropAllowed:Ext.baseCSSPrefix+"dd-drop-ok",dropNotAllowed:Ext.baseCSSPrefix+"dd-drop-nodrop",animRepair:true,repairHighlightColor:"c3daf9",constructor:function(b,a){this.el=Ext.get(b);if(!this.dragData){this.dragData={}}Ext.apply(this,a);if(!this.proxy){this.proxy=Ext.create("Ext.dd.StatusProxy",{animRepair:this.animRepair})}this.callParent([this.el.dom,this.ddGroup||this.group,{dragElId:this.proxy.id,resizeFrame:false,isTarget:false,scroll:this.scroll===true}]);this.dragging=false},getDragData:function(a){return this.dragData},onDragEnter:function(c,d){var b=Ext.dd.DragDropManager.getDDById(d);this.cachedTarget=b;if(this.beforeDragEnter(b,c,d)!==false){if(b.isNotifyTarget){var a=b.notifyEnter(this,c,this.dragData);this.proxy.setStatus(a)}else{this.proxy.setStatus(this.dropAllowed)}if(this.afterDragEnter){this.afterDragEnter(b,c,d)}}},beforeDragEnter:function(b,a,c){return true},alignElWithMouse:function(){this.callParent(arguments);this.proxy.sync()},onDragOver:function(c,d){var b=this.cachedTarget||Ext.dd.DragDropManager.getDDById(d);if(this.beforeDragOver(b,c,d)!==false){if(b.isNotifyTarget){var a=b.notifyOver(this,c,this.dragData);this.proxy.setStatus(a)}if(this.afterDragOver){this.afterDragOver(b,c,d)}}},beforeDragOver:function(b,a,c){return true},onDragOut:function(b,c){var a=this.cachedTarget||Ext.dd.DragDropManager.getDDById(c);if(this.beforeDragOut(a,b,c)!==false){if(a.isNotifyTarget){a.notifyOut(this,b,this.dragData)}this.proxy.reset();if(this.afterDragOut){this.afterDragOut(a,b,c)}}this.cachedTarget=null},beforeDragOut:function(b,a,c){return true},onDragDrop:function(b,c){var a=this.cachedTarget||Ext.dd.DragDropManager.getDDById(c);if(this.beforeDragDrop(a,b,c)!==false){if(a.isNotifyTarget){if(a.notifyDrop(this,b,this.dragData)!==false){this.onValidDrop(a,b,c)}else{this.onInvalidDrop(a,b,c)}}else{this.onValidDrop(a,b,c)}if(this.afterDragDrop){this.afterDragDrop(a,b,c)}}delete this.cachedTarget},beforeDragDrop:function(b,a,c){return true},onValidDrop:function(b,a,c){this.hideProxy();if(this.afterValidDrop){this.afterValidDrop(b,a,c)}},getRepairXY:function(b,a){return this.el.getXY()},onInvalidDrop:function(b,a,c){this.beforeInvalidDrop(b,a,c);if(this.cachedTarget){if(this.cachedTarget.isNotifyTarget){this.cachedTarget.notifyOut(this,a,this.dragData)}this.cacheTarget=null}this.proxy.repair(this.getRepairXY(a,this.dragData),this.afterRepair,this);if(this.afterInvalidDrop){this.afterInvalidDrop(a,c)}},afterRepair:function(){var a=this;if(Ext.enableFx){a.el.highlight(a.repairHighlightColor)}a.dragging=false},beforeInvalidDrop:function(b,a,c){return true},handleMouseDown:function(b){if(this.dragging){return}var a=this.getDragData(b);if(a&&this.onBeforeDrag(a,b)!==false){this.dragData=a;this.proxy.stop();this.callParent(arguments)}},onBeforeDrag:function(a,b){return true},onStartDrag:Ext.emptyFn,startDrag:function(a,b){this.proxy.reset();this.dragging=true;this.proxy.update("");this.onInitDrag(a,b);this.proxy.show()},onInitDrag:function(a,c){var b=this.el.dom.cloneNode(true);b.id=Ext.id();this.proxy.update(b);this.onStartDrag(a,c);return true},getProxy:function(){return this.proxy},hideProxy:function(){this.proxy.hide();this.proxy.reset(true);this.dragging=false},triggerCacheRefresh:function(){Ext.dd.DDM.refreshCache(this.groups)},b4EndDrag:function(a){},endDrag:function(a){this.onEndDrag(this.dragData,a)},onEndDrag:function(a,b){},autoOffset:function(a,b){this.setDelta(-12,-20)},destroy:function(){this.callParent();Ext.destroy(this.proxy)}});Ext.define("Ext.panel.DD",{extend:"Ext.dd.DragSource",requires:["Ext.panel.Proxy"],constructor:function(b,a){this.panel=b;this.dragData={panel:b};this.proxy=Ext.create("Ext.panel.Proxy",b,a);this.callParent([b.el,a]);Ext.defer(function(){var d=b.header,c=b.body;if(d){this.setHandleElId(d.id);c=d.el}c.setStyle("cursor","move");this.scroll=false},200,this)},showFrame:Ext.emptyFn,startDrag:Ext.emptyFn,b4StartDrag:function(a,b){this.proxy.show()},b4MouseDown:function(b){var a=b.getPageX(),c=b.getPageY();this.autoOffset(a,c)},onInitDrag:function(a,b){this.onStartDrag(a,b);return true},createFrame:Ext.emptyFn,getDragEl:function(a){return this.proxy.ghost.el.dom},endDrag:function(a){this.proxy.hide();this.panel.saveState()},autoOffset:function(a,b){a-=this.startPageX;b-=this.startPageY;this.setDelta(a,b)}});Ext.define("Ext.layout.component.Dock",{alias:["layout.dock"],extend:"Ext.layout.component.AbstractDock"});Ext.define("Ext.panel.Panel",{extend:"Ext.panel.AbstractPanel",requires:["Ext.panel.Header","Ext.fx.Anim","Ext.util.KeyMap","Ext.panel.DD","Ext.XTemplate","Ext.layout.component.Dock","Ext.util.Memento"],alias:"widget.panel",alternateClassName:"Ext.Panel",collapsedCls:"collapsed",animCollapse:Ext.enableFx,minButtonWidth:75,collapsed:false,collapseFirst:true,hideCollapseTool:false,titleCollapse:false,floatable:true,collapsible:false,closable:false,closeAction:"destroy",preventHeader:false,headerPosition:"top",frame:false,frameHeader:true,initComponent:function(){var b=this,a;b.addEvents("beforeexpand","beforecollapse","expand","collapse","titlechange","iconchange");this.addStateEvents("expand","collapse");if(b.unstyled){b.setUI("plain")}if(b.frame){b.setUI(b.ui+"-framed")}b.callParent();b.collapseDirection=b.collapseDirection||b.headerPosition||Ext.Component.DIRECTION_TOP;b.bridgeToolbars()},setBorder:function(a){this.callParent(arguments)},beforeDestroy:function(){Ext.destroy(this.ghostPanel,this.dd);this.callParent()},initAria:function(){this.callParent();this.initHeaderAria()},initHeaderAria:function(){var b=this,a=b.el,c=b.header;if(a&&c){a.dom.setAttribute("aria-labelledby",c.titleCmp.id)}},getHeader:function(){return this.header},setTitle:function(c){var b=this,a=this.title;b.title=c;if(b.header){b.header.setTitle(c)}else{b.updateHeader()}if(b.reExpander){b.reExpander.setTitle(c)}b.fireEvent("titlechange",b,c,a)},setIconCls:function(a){var c=this,b=c.iconCls;c.iconCls=a;var d=c.header;if(d){d.setIconCls(a)}c.fireEvent("iconchange",c,a,b)},bridgeToolbars:function(){var a=this,c,b,e=a.minButtonWidth;function d(g,i,h){if(Ext.isArray(g)){g={xtype:"toolbar",items:g}}else{if(!g.xtype){g.xtype="toolbar"}}g.dock=i;if(i=="left"||i=="right"){g.vertical=true}if(h){g.layout=Ext.applyIf(g.layout||{},{pack:{left:"start",center:"center"}[a.buttonAlign]||"end"})}return g}if(a.tbar){a.addDocked(d(a.tbar,"top"));a.tbar=null}if(a.bbar){a.addDocked(d(a.bbar,"bottom"));a.bbar=null}if(a.buttons){a.fbar=a.buttons;a.buttons=null}if(a.fbar){c=d(a.fbar,"bottom",true);c.ui="footer";if(e){b=c.defaults;c.defaults=function(g){var h=b||{};if((!g.xtype||g.xtype==="button"||(g.isComponent&&g.isXType("button")))&&!("minWidth" in h)){h=Ext.apply({minWidth:e},h)}return h}}a.addDocked(c);a.fbar=null}if(a.lbar){a.addDocked(d(a.lbar,"left"));a.lbar=null}if(a.rbar){a.addDocked(d(a.rbar,"right"));a.rbar=null}},initTools:function(){var a=this;a.tools=a.tools||[];if(a.collapsible&&!(a.hideCollapseTool||a.header===false)){a.collapseDirection=a.collapseDirection||a.headerPosition||"top";a.collapseTool=a.expandTool=a.createComponent({xtype:"tool",type:"collapse-"+a.collapseDirection,expandType:a.getOppositeDirection(a.collapseDirection),handler:a.toggleCollapse,scope:a});if(a.collapseFirst){a.tools.unshift(a.collapseTool)}}a.addTools();if(a.closable){a.addClsWithUI("closable");a.addTool({type:"close",handler:Ext.Function.bind(a.close,this,[])})}if(a.collapseTool&&!a.collapseFirst){a.tools.push(a.collapseTool)}},addTools:Ext.emptyFn,close:function(){if(this.fireEvent("beforeclose",this)!==false){this.doClose()}},doClose:function(){this.fireEvent("close",this);this[this.closeAction]()},onRender:function(b,a){var d=this,c;d.initTools();d.updateHeader();d.callParent(arguments)},afterComponentLayout:function(){var a=this;a.callParent(arguments);if(a.collapsed&&a.componentLayoutCounter==1){a.collapsed=false;a.collapse(null,false,true)}},updateHeader:function(b){var a=this,e=a.header,d=a.title,c=a.tools;if(!a.preventHeader&&(b||d||(c&&c.length))){if(!e){e=a.header=Ext.create("Ext.panel.Header",{title:d,orientation:(a.headerPosition=="left"||a.headerPosition=="right")?"vertical":"horizontal",dock:a.headerPosition||"top",textCls:a.headerTextCls,iconCls:a.iconCls,baseCls:a.baseCls+"-header",tools:c,ui:a.ui,indicateDrag:a.draggable,border:a.border,frame:a.frame&&a.frameHeader,ignoreParentFrame:a.frame||a.overlapHeader,ignoreBorderManagement:a.frame||a.ignoreHeaderBorderManagement,listeners:a.collapsible&&a.titleCollapse?{click:a.toggleCollapse,scope:a}:null});a.addDocked(e,0);a.tools=e.tools}e.show();a.initHeaderAria()}else{if(e){e.hide()}}},setUI:function(b){var a=this;a.callParent(arguments);if(a.header){a.header.setUI(b)}},getContentTarget:function(){return this.body},getTargetEl:function(){return this.body||this.frameBody||this.el},addTool:function(a){this.tools.push(a);var b=this.header;if(b){b.addTool(a)}this.updateHeader()},getOppositeDirection:function(a){var b=Ext.Component;switch(a){case b.DIRECTION_TOP:return b.DIRECTION_BOTTOM;case b.DIRECTION_RIGHT:return b.DIRECTION_LEFT;case b.DIRECTION_BOTTOM:return b.DIRECTION_TOP;case b.DIRECTION_LEFT:return b.DIRECTION_RIGHT}},collapse:function(w,g,j){var x=this,v=Ext.Component,l=x.getHeight(),m=x.getWidth(),y,a=0,s=x.dockedItems.items,t=s.length,r=0,u,h,q={from:{height:l,width:m},to:{height:l,width:m},listeners:{afteranimate:x.afterCollapse,scope:x},duration:Ext.Number.from(g,Ext.fx.Anim.prototype.duration)},e,d,n,b,k,p;if(!w){w=x.collapseDirection}if(j){g=false}else{if(x.collapsed||x.fireEvent("beforecollapse",x,w,g)===false){return false}}n=w;x.expandDirection=x.getOppositeDirection(w);x.hiddenDocked=[];switch(w){case v.DIRECTION_TOP:case v.DIRECTION_BOTTOM:x.expandedSize=x.getHeight();d="horizontal";p="height";b="getHeight";k="setHeight";for(;ri){e=i}}if(e){this.callParent([e,j])}}d.setXY(k)},doAutoWidth:function(){var d=this,b=d.owner,a=b.body,c=a.getTextWidth();if(b.header){c=Math.max(c,b.header.getWidth())}if(!Ext.isDefined(d.frameWidth)){d.frameWidth=b.el.getWidth()-a.getWidth()}c+=d.frameWidth+a.getPadding("lr");return c}});Ext.define("Ext.tip.Tip",{extend:"Ext.panel.Panel",requires:["Ext.layout.component.Tip"],alternateClassName:"Ext.Tip",minWidth:40,maxWidth:300,shadow:"sides",defaultAlign:"tl-bl?",constrainPosition:true,frame:false,autoRender:true,hidden:true,baseCls:Ext.baseCSSPrefix+"tip",floating:{shadow:true,shim:true,constrain:true},focusOnToFront:false,componentLayout:"tip",closeAction:"hide",ariaRole:"tooltip",initComponent:function(){this.callParent(arguments);this.constrain=this.constrain||this.constrainPosition},showAt:function(b){var a=this;this.callParent();if(a.isVisible()){a.setPagePosition(b[0],b[1]);if(a.constrainPosition||a.constrain){a.doConstrain()}a.toFront(true)}},showBy:function(a,b){this.showAt(this.el.getAlignToXY(a,b||this.defaultAlign))},initDraggable:function(){var a=this;a.draggable={el:a.getDragEl(),delegate:a.header.el,constrain:a,constrainTo:a.el.dom.parentNode};Ext.Component.prototype.initDraggable.call(a)},ghost:undefined,unghost:undefined});Ext.define("Ext.tip.ToolTip",{extend:"Ext.tip.Tip",alias:"widget.tooltip",alternateClassName:"Ext.ToolTip",showDelay:500,hideDelay:200,dismissDelay:5000,trackMouse:false,anchorToTarget:true,anchorOffset:0,targetCounter:0,quickShowInterval:250,initComponent:function(){var a=this;a.callParent(arguments);a.lastActive=new Date();a.setTarget(a.target);a.origAnchor=a.anchor},onRender:function(b,a){var c=this;c.callParent(arguments);c.anchorCls=Ext.baseCSSPrefix+"tip-anchor-"+c.getAnchorPosition();c.anchorEl=c.el.createChild({cls:Ext.baseCSSPrefix+"tip-anchor "+c.anchorCls})},afterRender:function(){var a=this,b;a.callParent(arguments);b=parseInt(a.el.getZIndex(),10)||0;a.anchorEl.setStyle("z-index",b+1).setVisibilityMode(Ext.core.Element.DISPLAY)},setTarget:function(d){var b=this,a=Ext.get(d),c;if(b.target){c=Ext.get(b.target);b.mun(c,"mouseover",b.onTargetOver,b);b.mun(c,"mouseout",b.onTargetOut,b);b.mun(c,"mousemove",b.onMouseMove,b)}b.target=a;if(a){b.mon(a,{freezeEvent:true,mouseover:b.onTargetOver,mouseout:b.onTargetOut,mousemove:b.onMouseMove,scope:b})}if(b.anchor){b.anchorTarget=b.target}},onMouseMove:function(d){var b=this,a=b.delegate?d.getTarget(b.delegate):b.triggerElement=true,c;if(a){b.targetXY=d.getXY();if(a===b.triggerElement){if(!b.hidden&&b.trackMouse){c=b.getTargetXY();if(b.constrainPosition){c=b.el.adjustForConstraints(c,b.el.dom.parentNode)}b.setPagePosition(c)}}else{b.hide();b.lastActive=new Date(0);b.onTargetOver(d)}}else{if((!b.closable&&b.isVisible())&&b.autoHide!==false){b.hide()}}},getTargetXY:function(){var j=this,d;if(j.delegate){j.anchorTarget=j.triggerElement}if(j.anchor){j.targetCounter++;var c=j.getOffsets(),n=(j.anchorToTarget&&!j.trackMouse)?j.el.getAlignToXY(j.anchorTarget,j.getAnchorAlign()):j.targetXY,a=Ext.core.Element.getViewWidth()-5,i=Ext.core.Element.getViewHeight()-5,l=document.documentElement,e=document.body,m=(l.scrollLeft||e.scrollLeft||0)+5,k=(l.scrollTop||e.scrollTop||0)+5,b=[n[0]+c[0],n[1]+c[1]],h=j.getSize(),g=j.constrainPosition;j.anchorEl.removeCls(j.anchorCls);if(j.targetCounter<2&&g){if(b[0]a){if(j.anchorToTarget){j.defaultAlign="r-l";if(j.mouseOffset){j.mouseOffset[0]*=-1}}j.anchor="right";return j.getTargetXY()}if(b[1]i){if(j.anchorToTarget){j.defaultAlign="b-t";if(j.mouseOffset){j.mouseOffset[1]*=-1}}j.anchor="bottom";return j.getTargetXY()}}j.anchorCls=Ext.baseCSSPrefix+"tip-anchor-"+j.getAnchorPosition();j.anchorEl.addCls(j.anchorCls);j.targetCounter=0;return b}else{d=j.getMouseOffset();return(j.targetXY)?[j.targetXY[0]+d[0],j.targetXY[1]+d[1]]:d}},getMouseOffset:function(){var a=this,b=a.anchor?[0,0]:[15,18];if(a.mouseOffset){b[0]+=a.mouseOffset[0];b[1]+=a.mouseOffset[1]}return b},getAnchorPosition:function(){var b=this,a;if(b.anchor){b.tipAnchor=b.anchor.charAt(0)}else{a=b.defaultAlign.match(/^([a-z]+)-([a-z]+)(\?)?$/);b.tipAnchor=a[1].charAt(0)}switch(b.tipAnchor){case"t":return"top";case"b":return"bottom";case"r":return"right"}return"left"},getAnchorAlign:function(){switch(this.anchor){case"top":return"tl-bl";case"left":return"tl-tr";case"right":return"tr-tl";default:return"bl-tl"}},getOffsets:function(){var c=this,d,b,a=c.getAnchorPosition().charAt(0);if(c.anchorToTarget&&!c.trackMouse){switch(a){case"t":b=[0,9];break;case"b":b=[0,-13];break;case"r":b=[-13,0];break;default:b=[9,0];break}}else{switch(a){case"t":b=[-15-c.anchorOffset,30];break;case"b":b=[-19-c.anchorOffset,-13-c.el.dom.offsetHeight];break;case"r":b=[-15-c.el.dom.offsetWidth,-13-c.anchorOffset];break;default:b=[25,-13-c.anchorOffset];break}}d=c.getMouseOffset();b[0]+=d[0];b[1]+=d[1];return b},onTargetOver:function(c){var b=this,a;if(b.disabled||c.within(b.target.dom,true)){return}a=c.getTarget(b.delegate);if(a){b.triggerElement=a;b.clearTimer("hide");b.targetXY=c.getXY();b.delayShow()}},delayShow:function(){var a=this;if(a.hidden&&!a.showTimer){if(Ext.Date.getElapsed(a.lastActive)0&&b!==a){return a}return this.name+"."+c+"."+a},getController:function(b){var a=this.controllers.get(b);if(!a){a=Ext.create(this.getModuleClassName(b,"controller"),{application:this,id:b});this.controllers.add(a)}return a},getStore:function(b){var a=Ext.StoreManager.get(b);if(!a){a=Ext.create(this.getModuleClassName(b,"store"),{storeId:b})}return a},getModel:function(a){a=this.getModuleClassName(a,"model");return Ext.ModelManager.getModel(a)},getView:function(a){a=this.getModuleClassName(a,"view");return Ext.ClassManager.get(a)}});Ext.define("Ext.chart.Callout",{constructor:function(a){if(a.callouts){a.callouts.styles=Ext.applyIf(a.callouts.styles||{},{color:"#000",font:"11px Helvetica, sans-serif"});this.callouts=Ext.apply(this.callouts||{},a.callouts);this.calloutsArray=[]}},renderCallouts:function(){if(!this.callouts){return}var w=this,m=w.items,a=w.chart.animate,v=w.callouts,h=v.styles,e=w.calloutsArray,b=w.chart.store,t=b.getCount(),d=m.length/t,l=[],s,c,r,n;for(s=0,c=0;sb){e=d[a];for(c in e){if(e[c]){e[c].hide(true)}}}}});Ext.define("Ext.draw.CompositeSprite",{extend:"Ext.util.MixedCollection",mixins:{animate:"Ext.util.Animate"},isCompositeSprite:true,constructor:function(a){var b=this;a=a||{};Ext.apply(b,a);b.addEvents("mousedown","mouseup","mouseover","mouseout","click");b.id=Ext.id(null,"ext-sprite-group-");b.callParent()},onClick:function(a){this.fireEvent("click",a)},onMouseUp:function(a){this.fireEvent("mouseup",a)},onMouseDown:function(a){this.fireEvent("mousedown",a)},onMouseOver:function(a){this.fireEvent("mouseover",a)},onMouseOut:function(a){this.fireEvent("mouseout",a)},attachEvents:function(b){var a=this;b.on({scope:a,mousedown:a.onMouseDown,mouseup:a.onMouseUp,mouseover:a.onMouseOver,mouseout:a.onMouseOut,click:a.onClick})},add:function(b,c){var a=this.callParent(arguments);this.attachEvents(a);return a},insert:function(a,b,c){return this.callParent(arguments)},remove:function(b){var a=this;b.un({scope:a,mousedown:a.onMouseDown,mouseup:a.onMouseUp,mouseover:a.onMouseOver,mouseout:a.onMouseOut,click:a.onClick});a.callParent(arguments)},getBBox:function(){var e=0,n,j,k=this.items,g=this.length,h=Infinity,c=h,m=-h,b=h,l=-h,d,a;for(;e0){b=c.first();c.remove(b);a.remove(b)}}c.clearListeners()}});Ext.define("Ext.layout.component.Draw",{alias:"layout.draw",extend:"Ext.layout.component.Auto",type:"draw",onLayout:function(b,a){this.owner.surface.setSize(b,a);this.callParent(arguments)}});Ext.define("Ext.chart.theme.Theme",{requires:["Ext.draw.Color"],theme:"Base",themeAttrs:false,initTheme:function(e){var d=this,b=Ext.chart.theme,c,a;if(e){e=e.split(":");for(c in b){if(c==e[0]){a=e[1]=="gradients";d.themeAttrs=new b[c]({useGradients:a});if(a){d.gradients=d.themeAttrs.gradients}if(d.themeAttrs.background){d.background=d.themeAttrs.background}return}}}}},function(){(function(){Ext.chart.theme=function(c,b){c=c||{};var k=0,h,a,j,q,r,e,n,p,m=[],d,g;if(c.baseColor){d=Ext.draw.Color.fromString(c.baseColor);g=d.getHSL()[2];if(g<0.15){d=d.getLighter(0.3)}else{if(g<0.3){d=d.getLighter(0.15)}else{if(g>0.85){d=d.getDarker(0.3)}else{if(g>0.7){d=d.getDarker(0.15)}}}}c.colors=[d.getDarker(0.3).toString(),d.getDarker(0.15).toString(),d.toString(),d.getLighter(0.15).toString(),d.getLighter(0.3).toString()];delete c.baseColor}if(c.colors){a=c.colors.slice();r=b.markerThemes;q=b.seriesThemes;h=a.length;b.colors=a;for(;k0?t:t+m,y:k>0?s:s+k,width:j(m),height:j(k)};v.mask.updateBox({x:d-j(m),y:c-j(k),width:j(m),height:j(k)});v.mask.show();v.maskSprite.setAttributes({hidden:true},true)}else{if(p=="horizontal"){l=["M",t,h,"L",t,k]}else{if(p=="vertical"){l=["M",i,s,"L",m,s]}else{l=["M",t,h,"L",t,k,"M",i,s,"L",m,s]}}v.maskSprite.setAttributes({path:l,fill:v.maskMouseDown?v.maskSprite.stroke:false,"stroke-width":p===true?1:3,hidden:false},true)}},onMouseLeave:function(b){var a=this;a.mouseMoved=false;a.mouseDown=false;a.maskMouseDown=false;a.mask.hide();a.maskSprite.hide(true)}});Ext.define("Ext.chart.Navigation",{constructor:function(){this.originalStore=this.store},setZoom:function(h){var g=this,k=g.substore||g.store,l=g.chartBBox,e=k.getCount(),i=(h.x/l.width*e)>>0,j=Math.ceil(((h.x+h.width)/l.width*e)),b,d=[],a,m=[],c;k.each(function(p,n){if(nj){return}c={};if(!d.length){p.fields.each(function(q){d.push(q.name)});b=d.length}for(n=0;n1;if(a||Ext.isArray(g[0])){var h=a?g:g[0],b=[],c,e,k;for(c=0,e=h.length;c0&&b.getAt(a-1).attr.zIndex>d)||(ad});if(a<0){a=b.length}b.insert(a,c)}return a},onAdd:function(d){var g=d.group,b=d.draggable,a,e,c;if(g){a=[].concat(g);e=a.length;for(c=0;c-1;b--){this.remove(a[b],d)}},onRemove:Ext.emptyFn,onDestroy:Ext.emptyFn,applyTransformations:function(b){b.bbox.transform=0;this.transform(b);var d=this,c=false,a=b.attr;if(a.translation.x!=null||a.translation.y!=null){d.translate(b);c=true}if(a.scaling.x!=null||a.scaling.y!=null){d.scale(b);c=true}if(a.rotation.degrees!=null){d.rotate(b);c=true}if(c){b.bbox.transform=0;this.transform(b);b.transformations=[]}},rotate:function(a){var e,b=a.attr.rotation.degrees,d=a.attr.rotation.x,c=a.attr.rotation.y;if(!Ext.isNumber(d)||!Ext.isNumber(c)){e=this.getBBox(a);d=!Ext.isNumber(d)?e.x+e.width/2:d;c=!Ext.isNumber(c)?e.y+e.height/2:c}a.transformations.push({type:"rotate",degrees:b,x:d,y:c})},translate:function(b){var a=b.attr.translation.x||0,c=b.attr.translation.y||0;b.transformations.push({type:"translate",x:a,y:c})},scale:function(b){var e,a=b.attr.scaling.x||1,g=b.attr.scaling.y||1,d=b.attr.scaling.centerX,c=b.attr.scaling.centerY;if(!Ext.isNumber(d)||!Ext.isNumber(c)){e=this.getBBox(b);d=!Ext.isNumber(d)?e.x+e.width/2:d;c=!Ext.isNumber(c)?e.y+e.height/2:c}b.transformations.push({type:"scale",x:a,y:g,centerX:d,centerY:c})},rectPath:function(a,e,b,c,d){if(d){return[["M",a+d,e],["l",b-d*2,0],["a",d,d,0,0,1,d,d],["l",0,c-d*2],["a",d,d,0,0,1,-d,d],["l",d*2-b,0],["a",d,d,0,0,1,-d,-d],["l",0,d*2-c],["a",d,d,0,0,1,d,-d],["z"]]}return[["M",a,e],["l",b,0],["l",0,c],["l",-b,0],["z"]]},ellipsePath:function(a,d,c,b){if(b==null){b=c}return[["M",a,d],["m",0,-b],["a",c,b,0,1,1,0,2*b],["a",c,b,0,1,1,0,-2*b],["z"]]},getPathpath:function(a){return a.attr.path},getPathcircle:function(c){var b=c.attr;return this.ellipsePath(b.x,b.y,b.radius,b.radius)},getPathellipse:function(c){var b=c.attr;return this.ellipsePath(b.x,b.y,b.radiusX||(b.width/2)||0,b.radiusY||(b.height/2)||0)},getPathrect:function(c){var b=c.attr;return this.rectPath(b.x,b.y,b.width,b.height,b.r)},getPathimage:function(c){var b=c.attr;return this.rectPath(b.x||0,b.y||0,b.width,b.height)},getPathtext:function(a){var b=this.getBBoxText(a);return this.rectPath(b.x,b.y,b.width,b.height)},createGroup:function(b){var a=this.groups.get(b);if(!a){a=Ext.create("Ext.draw.CompositeSprite",{surface:this});a.id=b||Ext.id(null,"ext-surface-group-");this.groups.add(a)}return a},getGroup:function(b){if(typeof b=="string"){var a=this.groups.get(b);if(!a){a=this.createGroup(b)}}else{a=b}return a},prepareItems:function(a,c){a=[].concat(a);var e,b,d;for(b=0,d=a.length;b0.5?0.2:0.8;n.setAttributes({fill:String(L.fromHSL.apply({},I))},true)}}l++;h++}}J.hideLabels(l)},hideLabels:function(c){var b=this.labelsGroup,a;if(b){a=b.getCount();while(a-->c){b.getAt(a).hide(true)}}}});Ext.define("Ext.chart.MaskLayer",{extend:"Ext.Component",constructor:function(a){a=Ext.apply(a||{},{style:"position:absolute;background-color:#888;cursor:move;opacity:0.6;border:1px solid #222;"});this.callParent([a])},initComponent:function(){var a=this;a.callParent(arguments);a.addEvents("mousedown","mouseup","mousemove","mouseenter","mouseleave")},initDraggable:function(){this.callParent(arguments);this.dd.onStart=function(c){var b=this,a=b.comp;this.startPosition=a.getPosition(true);if(a.ghost&&!a.liveDrag){b.proxy=a.ghost();b.dragTarget=b.proxy.header.el}if(b.constrain||b.constrainDelegate){b.constrainTo=b.calculateConstrainRegion()}}}});Ext.define("Ext.chart.TipSurface",{extend:"Ext.draw.Component",spriteArray:false,renderFirst:true,constructor:function(a){this.callParent([a]);if(a.sprites){this.spriteArray=[].concat(a.sprites);delete a.sprites}},onRender:function(){var c=this,b=0,a=0,d,e;this.callParent(arguments);e=c.spriteArray;if(c.renderFirst&&e){c.renderFirst=false;for(a=e.length;b0)]+=c.abs(g)}v=z(v,-a[0],a[1]);r=w(r,-a[0],a[1])}else{for(u=0;u>0))){v=(v>>0)+1}t=Ext.draw.Draw.snapEnds(r,v,x.majorTickSteps!==false?(x.majorTickSteps+1):x.steps);k=t.from;d=t.to;if(x.forceMinMax){if(!isNaN(v)){t.to=v}if(!isNaN(r)){t.from=r}}if(!isNaN(x.maximum)){t.to=x.maximum}if(!isNaN(x.minimum)){t.from=x.minimum}t.step=(t.to-t.from)/(d-k)*t.step;if(x.adjustMaximumByMajorUnit){t.to+=t.step}if(x.adjustMinimumByMajorUnit){t.from-=t.step}x.prevMin=r==v?0:r;x.prevMax=v;return t},drawAxis:function(v){var G=this,w,u,k=G.x,h=G.y,E=G.chart.maxGutter[0],D=G.chart.maxGutter[1],e=G.dashSize,C=G.minorTickSteps||0,B=G.minorTickSteps||0,b=G.length,H=G.position,g=[],n=false,c=G.applyData(),d=c.step,z=c.steps,t=c.from,a=c.to,A,s,r,q,p,m,l,F;if(G.hidden||isNaN(d)||(t==a)){return}G.from=c.from;G.to=c.to;if(H=="left"||H=="right"){s=Math.floor(k)+0.5;q=["M",s,h,"l",0,-b];A=b-(D*2)}else{r=Math.floor(h)+0.5;q=["M",k,r,"l",b,0];A=b-(E*2)}F=A/(z||1);m=Math.max(C+1,0);l=Math.max(B+1,0);if(G.type=="Numeric"){n=true;G.labels=[c.from]}if(H=="right"||H=="left"){r=h-D;s=k-((H=="left")*e*2);while(r>=h-D-A){q.push("M",s,Math.floor(r)+0.5,"l",e*2+1,0);if(r!=h-D){for(w=1;w>0;for(w=0;w4){h=h.substr(0,h.length-4)+"...";d.setAttributes({text:h},true);g=d.getBBox();if(g.width=0){if(!this.sprites){for(e=0;e<=l;e++){n=a.add({type:"path",path:["M",d+(m-c)*p(e/l*g-g),b+(m-c)*k(e/l*g-g),"L",d+m*p(e/l*g-g),b+m*k(e/l*g-g),"Z"],stroke:"#ccc"});n.setAttributes({hidden:false},true);h.push(n)}}else{h=this.sprites;for(e=0;e<=l;e++){h[e].setAttributes({path:["M",d+(m-c)*p(e/l*g-g),b+(m-c)*k(e/l*g-g),"L",d+m*p(e/l*g-g),b+m*k(e/l*g-g),"Z"],stroke:"#ccc"},true)}}}this.sprites=h;this.drawLabel();if(this.title){this.drawTitle()}},drawTitle:function(){var e=this,d=e.chart,a=d.surface,g=d.chartBBox,c=e.titleSprite,b;if(!c){e.titleSprite=c=a.add({type:"text",zIndex:2})}c.setAttributes(Ext.apply({text:e.title},e.label||{}),true);b=c.getBBox();c.setAttributes({x:g.x+(g.width/2)-(b.width/2),y:g.y+g.height-(b.height/2)-4},true)},setTitle:function(a){this.title=a;this.drawTitle()},drawLabel:function(){var k=this.chart,p=k.surface,b=k.chartBBox,j=b.x+(b.width/2),h=b.y+b.height,l=this.margin||10,d=Math.min(b.width,2*b.height)/2+2*l,u=Math.round,m=[],g,s=this.maximum||0,r=this.steps,q=0,v,t=Math.PI,c=Math.cos,a=Math.sin,e=this.label,n=e.renderer||function(i){return i};if(!this.labelArray){for(q=0;q<=r;q++){v=(q===0||q===r)?7:0;g=p.add({type:"text",text:n(u(q/r*s)),x:j+d*c(q/r*t-t),y:h+d*a(q/r*t-t)-v,"text-anchor":"middle","stroke-width":0.2,zIndex:10,stroke:"#333"});g.setAttributes({hidden:false},true);m.push(g)}}else{m=this.labelArray;for(q=0;q<=r;q++){v=(q===0||q===r)?7:0;m[q].setAttributes({text:n(u(q/r*s)),x:j+d*c(q/r*t-t),y:h+d*a(q/r*t-t)-v},true)}}this.labelArray=m}});Ext.define("Ext.chart.axis.Numeric",{extend:"Ext.chart.axis.Axis",alternateClassName:"Ext.chart.NumericAxis",type:"numeric",alias:"axis.numeric",constructor:function(c){var d=this,a=!!(c.label&&c.label.renderer),b;d.callParent([c]);b=d.label;if(d.roundToDecimal===false){return}if(!a){b.renderer=function(e){return d.roundToDecimal(e,d.decimals)}}},roundToDecimal:function(a,c){var b=Math.pow(10,c||0);return((a*b)>>0)/b},minimum:NaN,maximum:NaN,decimals:2,scale:"linear",position:"left",adjustMaximumByMajorUnit:false,adjustMinimumByMajorUnit:false,applyData:function(){this.callParent();return this.calcEnds()}});Ext.define("Ext.chart.axis.Radial",{extend:"Ext.chart.axis.Abstract",position:"radial",alias:"axis.radial",drawAxis:function(v){var m=this.chart,a=m.surface,u=m.chartBBox,r=m.store,b=r.getCount(),e=u.x+(u.width/2),c=u.y+(u.height/2),q=Math.min(u.width,u.height)/2,k=[],s,p=this.steps,g,d,h=Math.PI*2,t=Math.cos,n=Math.sin;if(this.sprites&&!m.resizing){this.drawLabel();return}if(!this.sprites){for(g=1;g<=p;g++){s=a.add({type:"circle",x:e,y:c,radius:Math.max(q*g/p,0),stroke:"#ccc"});s.setAttributes({hidden:false},true);k.push(s)}r.each(function(l,j){s=a.add({type:"path",path:["M",e,c,"L",e+q*t(j/b*h),c+q*n(j/b*h),"Z"],stroke:"#ccc"});s.setAttributes({hidden:false},true);k.push(s)})}else{k=this.sprites;for(g=0;g0){b.create=e;g=true}if(c.length>0){b.update=c;g=true}if(a.length>0){b.destroy=a;g=true}if(g&&d.fireEvent("beforesync",b)!==false){d.proxy.batch(b,d.getBatchListeners())}},getBatchListeners:function(){var b=this,a={scope:b,exception:b.onBatchException};if(b.batchUpdateMode=="operation"){a.operationcomplete=b.onBatchOperationComplete}else{a.complete=b.onBatchComplete}return a},save:function(){return this.sync.apply(this,arguments)},load:function(b){var c=this,a;b=b||{};Ext.applyIf(b,{action:"read",filters:c.filters.items,sorters:c.getSorters()});a=Ext.create("Ext.data.Operation",b);if(c.fireEvent("beforeload",c,a)!==false){c.loading=true;c.proxy.read(a,c.onProxyLoad,c)}return c},afterEdit:function(a){var b=this;if(b.autoSync){b.sync()}b.fireEvent("update",b,a,Ext.data.Model.EDIT)},afterReject:function(a){this.fireEvent("update",this,a,Ext.data.Model.REJECT)},afterCommit:function(a){this.fireEvent("update",this,a,Ext.data.Model.COMMIT)},clearData:Ext.emptyFn,destroyStore:function(){var a=this;if(!a.isDestroyed){if(a.storeId){Ext.data.StoreManager.unregister(a)}a.clearData();a.data=null;a.tree=null;a.reader=a.writer=null;a.clearListeners();a.isDestroyed=true;if(a.implicitModel){Ext.destroy(a.model)}}},doSort:function(a){var b=this;if(b.remoteSort){b.load()}else{b.data.sortBy(a);b.fireEvent("datachanged",b)}},getCount:Ext.emptyFn,getById:Ext.emptyFn,removeAll:Ext.emptyFn,isLoading:function(){return this.loading}});Ext.define("Ext.util.Grouper",{extend:"Ext.util.Sorter",getGroupString:function(a){return a.get(this.property)}});Ext.define("Ext.data.Store",{extend:"Ext.data.AbstractStore",alias:"store.store",requires:["Ext.ModelManager","Ext.data.Model","Ext.util.Grouper"],uses:["Ext.data.proxy.Memory"],remoteSort:false,remoteFilter:false,remoteGroup:false,groupField:undefined,groupDir:"ASC",pageSize:25,currentPage:1,clearOnPageLoad:true,loading:false,sortOnFilter:true,buffered:false,purgePageCount:5,isStore:true,constructor:function(b){b=b||{};var d=this,g=b.groupers||d.groupers,a=b.groupField||d.groupField,c,e;if(b.buffered||d.buffered){d.prefetchData=Ext.create("Ext.util.MixedCollection",false,function(h){return h.index});d.pendingRequests=[];d.pagesRequested=[];d.sortOnLoad=false;d.filterOnLoad=false}d.addEvents("beforeprefetch","groupchange","prefetch");e=b.data||d.data;d.data=Ext.create("Ext.util.MixedCollection",false,function(h){return h.internalId});if(e){d.inlineData=e;delete b.data}if(!g&&a){g=[{property:a,direction:b.groupDir||d.groupDir}]}delete b.groupers;d.groupers=Ext.create("Ext.util.MixedCollection");d.groupers.addAll(d.decodeGroupers(g));this.callParent([b]);if(d.groupers.items.length){d.sort(d.groupers.items,"prepend",false)}c=d.proxy;e=d.inlineData;if(e){if(c instanceof Ext.data.proxy.Memory){c.data=e;d.read()}else{d.add.apply(d,e)}d.sort();delete d.inlineData}else{if(d.autoLoad){Ext.defer(d.load,10,d,[typeof d.autoLoad==="object"?d.autoLoad:undefined])}}},onBeforeSort:function(){this.sort(this.groupers.items,"prepend",false)},decodeGroupers:function(d){if(!Ext.isArray(d)){if(d===undefined){d=[]}else{d=[d]}}var c=d.length,e=Ext.util.Grouper,a,b;for(b=0;b0},fireGroupChange:function(){this.fireEvent("groupchange",this,this.groupers)},getGroups:function(b){var d=this.data.items,a=d.length,c=[],k={},g,h,j,e;for(e=0;e-1){j=d.phantom===true;if(!k&&!j){g.removed.push(d)}d.unjoin(g);g.data.remove(d);h=h||!j;g.fireEvent("remove",g,d,e)}}g.fireEvent("datachanged",g);if(!k&&g.autoSync&&h){g.sync()}},removeAt:function(b){var a=this.getAt(b);if(a){this.remove(a)}},load:function(a){var b=this;a=a||{};if(Ext.isFunction(a)){a={callback:a}}Ext.applyIf(a,{groupers:b.groupers.items,page:b.currentPage,start:(b.currentPage-1)*b.pageSize,limit:b.pageSize,addRecords:false});return b.callParent([a])},onProxyLoad:function(b){var d=this,c=b.getResultSet(),a=b.getRecords(),e=b.wasSuccessful();if(c){d.totalCount=c.total}if(e){d.loadRecords(a,b)}d.loading=false;d.fireEvent("load",d,a,e);d.fireEvent("read",d,a,b.wasSuccessful());Ext.callback(b.callback,b.scope||d,[a,b,e])},onCreateRecords:function(d,e,m){if(m){var h=0,g=this.data,a=this.snapshot,b=d.length,l=e.records,j,c,k;for(;h-1){g.removeAt(k);g.insert(k,j)}if(a){k=a.indexOf(c);if(k>-1){a.removeAt(k);a.insert(k,j)}}j.phantom=false;j.join(this)}}}},onUpdateRecords:function(d,c,j){if(j){var e=0,g=d.length,h=this.data,b=this.snapshot,a;for(;ethis.totalCount)?this.totalCount-1:c;var j=this,d=a,l=j.prefetchData,e=[],h=!!l.getByKey(a),k=!!l.getByKey(c),g=j.getPageFromRecordIndex(a),m=j.getPageFromRecordIndex(c);j.cb=b;j.scope=n;j.requestStart=a;j.requestEnd=c;if(!h||!k){if(g===m){j.mask();j.prefetchPage(g,{callback:j.onWaitForGuarantee,scope:j})}else{j.mask();j.prefetchPage(g,{callback:j.onWaitForGuarantee,scope:j});j.prefetchPage(m,{callback:j.onWaitForGuarantee,scope:j})}}else{j.onGuaranteedRange()}},sort:function(){var d=this,c=d.prefetchData,e,g,a,b;if(d.buffered){if(d.remoteSort){c.clear();d.callParent(arguments)}else{e=d.getSorters();g=d.guaranteedStart;a=d.guaranteedEnd;if(e.length){c.sort(e);b=c.getRange();c.clear();d.cacheRecords(b);delete d.guaranteedStart;delete d.guaranteedEnd;d.guaranteeRange(g,a)}d.callParent(arguments)}}else{d.callParent(arguments)}},doSort:function(b){var e=this;if(e.remoteSort){e.load()}else{e.data.sortBy(b);if(!e.buffered){var a=e.getRange(),d=a.length,c=0;for(;c0){c=b[0].get(g)}for(;d0){a=c[0].get(g)}for(;da){a=e}}return a},average:function(c,a){var b=this;if(a&&b.isGrouped()){return b.aggregate(b.getAverage,b,true,[c])}else{return b.getAverage(b.data.items,c)}},getAverage:function(b,e){var c=0,a=b.length,d=0;if(b.length>0){for(;c+p){return false}else{if(+l==+p){return q}}}return false}})();if(!this.constrain){this.chart.filteredStore=this.chart.store;return}while(+e<=+d){c=j(e);h={};if(c){a.add(c.data)}else{a.model.prototype.fields.each(function(l){h[l.name]=false});h.date=e;a.add(h)}e=Ext.Date.add(e,b[0],b[1])}this.chart.filteredStore=a},aggregate:function(){var t={},p=[],v,n,j=this.aggregateOp,a=this.fields,r,m=this.groupBy.split(","),c,u=[],d=0,k,e=[],s=[],q=m.length,b=this.dateMethods,h=this.aggregateFn,g=this.chart.filteredStore||this.chart.store;g.each(function(i){if(!u.length){i.fields.each(function(l){u.push(l.name)});d=u.length}n=i.get(a);for(r=0;ra.width)&&w.areas){e=w.shrink(n,d,a.width);n=e.x;d=e.y}return{bbox:a,minX:u,minY:s,xValues:n,yValues:d,xScale:A,yScale:b,areasLen:y}},getPaths:function(){var w=this,l=w.chart,c=l.substore||l.store,d=true,e=w.getBounds(),a=e.bbox,m=w.items=[],v=[],b,p=[],s,h,j,g,q,t,k,z,r,u,n;h=e.xValues.length;for(s=0;sa.x+a.width)?(j-(j+n-a.x-a.width)):j;h=h-ma.y+a.height)?(h-(h+m-a.y-a.height)):h;if(v.chart.animate&&!v.chart.resizing){g.show(true);v.onAnimate(g,{to:{x:j,y:h}})}else{g.setAttributes({x:j,y:h},true);if(s){v.animation.on("afteranimate",function(){g.show(true)})}else{g.show(true)}}},onPlaceCallout:function(m,s,K,H,G,d,k){var N=this,t=N.chart,E=t.surface,I=t.resizing,M=N.callouts,u=N.items,w=(H==0)?false:u[H-1].point,A=(H==u.length-1)?false:u[H+1].point,c=K.point,B,g,O,L,q,r,b=m.label.getBBox(),J=30,D=10,C=3,h,e,j,z,v,F=N.clipRect,n,l;if(!w){w=c}if(!A){A=c}L=(A[1]-w[1])/(A[0]-w[0]);q=(c[1]-w[1])/(c[0]-w[0]);r=(A[1]-c[1])/(A[0]-c[0]);g=Math.sqrt(1+L*L);B=[1/g,L/g];O=[-B[1],B[0]];if(q>0&&r<0&&O[1]<0||q<0&&r>0&&O[1]>0){O[0]*=-1;O[1]*=-1}else{if(Math.abs(q)Math.abs(r)&&O[0]>0){O[0]*=-1;O[1]*=-1}}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;if(h(F[0]+F[2])){O[0]*=-1}if(e(F[1]+F[3])){O[1]*=-1}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;m.lines.setAttributes({path:["M",c[0],c[1],"L",n,l,"Z"]},true);m.box.setAttributes({x:h,y:e,width:j,height:z},true);m.label.setAttributes({x:n+(O[0]>0?C:-(b.width+C)),y:l},true);for(v in m){m[v].show(true)}},isItemInPoint:function(j,h,l,c){var g=this,b=l.pointsUp,d=l.pointsDown,n=Math.abs,e=Infinity,a,m,k;for(a=0,m=b.length;an(j-k[0])){e=n(j-k[0])}else{k=b[a-1];if(h>=k[1]&&(!d.length||h<=(d[a-1][1]))){l.storeIndex=a-1;l.storeField=g.yField[c];l.storeItem=g.chart.store.getAt(a-1);l._points=d.length?[k,d[a-1]]:[k];return true}else{break}}}return false},highlightSeries:function(){var a,c,b;if(this._index!==undefined){a=this.areas[this._index];if(a.__highlightAnim){a.__highlightAnim.paused=true}a.__highlighted=true;a.__prevOpacity=a.__prevOpacity||a.attr.opacity||1;a.__prevFill=a.__prevFill||a.attr.fill;a.__prevLineWidth=a.__prevLineWidth||a.attr.lineWidth;b=Ext.draw.Color.fromString(a.__prevFill);c={lineWidth:(a.__prevLineWidth||0)+2};if(b){c.fill=b.getLighter(0.2).toString()}else{c.opacity=Math.max(a.__prevOpacity-0.3,0)}if(this.chart.animate){a.__highlightAnim=Ext.create("Ext.fx.Anim",Ext.apply({target:a,to:c},this.chart.animate))}else{a.setAttributes(c,true)}}},unHighlightSeries:function(){var a;if(this._index!==undefined){a=this.areas[this._index];if(a.__highlightAnim){a.__highlightAnim.paused=true}if(a.__highlighted){a.__highlighted=false;a.__highlightAnim=Ext.create("Ext.fx.Anim",{target:a,to:{fill:a.__prevFill,opacity:a.__prevOpacity,lineWidth:a.__prevLineWidth}})}}},highlightItem:function(c){var b=this,a,d;if(!c){this.highlightSeries();return}a=c._points;d=a.length==2?["M",a[0][0],a[0][1],"L",a[1][0],a[1][1]]:["M",a[0][0],a[0][1],"L",a[0][0],b.bbox.y+b.bbox.height];b.highlightSprite.setAttributes({path:d,hidden:false},true)},unHighlightItem:function(a){if(!a){this.unHighlightSeries()}if(this.highlightSprite){this.highlightSprite.hide(true)}},hideAll:function(){if(!isNaN(this._index)){this.__excludes[this._index]=true;this.areas[this._index].hide(true);this.drawSeries()}},showAll:function(){if(!isNaN(this._index)){this.__excludes[this._index]=false;this.areas[this._index].show(true);this.drawSeries()}},getLegendColor:function(a){var b=this;return b.colorArrayStyle[a%b.colorArrayStyle.length]}});Ext.define("Ext.chart.series.Bar",{extend:"Ext.chart.series.Cartesian",alternateClassName:["Ext.chart.BarSeries","Ext.chart.BarChart","Ext.chart.StackedBarChart"],requires:["Ext.chart.axis.Axis","Ext.fx.Anim"],type:"bar",alias:"series.bar",column:false,style:{},gutter:38.2,groupGutter:38.2,xPadding:0,yPadding:10,constructor:function(c){this.callParent(arguments);var e=this,a=e.chart.surface,g=e.chart.shadow,d,b;Ext.apply(e,c,{highlightCfg:{lineWidth:3,stroke:"#55c",opacity:0.8,color:"#f00"},shadowAttributes:[{"stroke-width":6,"stroke-opacity":0.05,stroke:"rgb(200, 200, 200)",translate:{x:1.2,y:1.2}},{"stroke-width":4,"stroke-opacity":0.1,stroke:"rgb(150, 150, 150)",translate:{x:0.9,y:0.9}},{"stroke-width":2,"stroke-opacity":0.15,stroke:"rgb(100, 100, 100)",translate:{x:0.6,y:0.6}}]});e.group=a.getGroup(e.seriesId+"-bars");if(g){for(d=0,b=e.shadowAttributes.length;d0)][F]+=w(m)}});D[+(x>0)].push(w(x));D[+(z>0)].push(w(z));d=E.apply(h,D[0]);v=E.apply(h,D[1]);C=(g?a.height-b*2:a.width-p*2)/(v+d);n=n+d*C*(g?-1:1)}else{if(z/x<0){n=n-z*C*(g?-1:1)}}return{bars:s,bbox:a,barsLen:c,groupBarsLen:l,barWidth:q,groupBarWidth:A,scale:C,zero:n,xPadding:p,yPadding:b,signed:z/x<0,minY:z,maxY:x}},getPaths:function(){var v=this,Q=v.chart,b=Q.substore||Q.store,E=v.bounds=v.getBounds(),z=v.items=[],k=v.gutter/100,c=v.groupGutter/100,O=Q.animate,J=v.column,x=v.group,l=Q.shadow,M=v.shadowGroups,L=v.shadowAttributes,q=M.length,y=E.bbox,m=v.xPadding,r=v.yPadding,N=v.stacked,w=E.barsLen,K=v.colorArrayStyle,h=K&&K.length||0,B=Math,n=B.max,G=B.min,u=B.abs,P,R,e,H,C,a,i,t,s,p,g,d,D,A,I,F;b.each(function(j,S,T){a=E.zero;i=E.zero;H=0;C=0;t=false;for(P=0,g=0;P1?P:0)%h]};if(J){Ext.apply(s,{height:e,width:n(E.groupBarWidth,0),x:(y.x+m+S*E.barWidth*(1+k)+g*E.groupBarWidth*(1+c)*!N),y:a-e})}else{I=(T-1)-S;Ext.apply(s,{height:n(E.groupBarWidth,0),width:e+(a==E.zero),x:a+(a!=E.zero),y:(y.y+r+I*E.barWidth*(1+k)+g*E.groupBarWidth*(1+c)*!N+1)})}if(e<0){if(J){s.y=i;s.height=u(e)}else{s.x=i+e;s.width=u(e)}}if(N){if(e<0){i+=e*(J?-1:1)}else{a+=e*(J?-1:1)}H+=u(e);if(e<0){C+=u(e)}}s.x=Math.floor(s.x)+1;F=Math.floor(s.y);if(!Ext.isIE9&&s.y>F){F--}s.y=F;s.width=Math.floor(s.width);s.height=Math.floor(s.height);z.push({series:v,storeItem:j,value:[j.get(v.xField),R],attr:s,point:J?[s.x+s.width/2,R>=0?s.y:s.y+s.height]:[R>=0?s.x+s.width:s.x,s.y+s.height/2]});if(O&&Q.resizing){p=J?{x:s.x,y:E.zero,width:s.width,height:0}:{x:E.zero,y:s.y,width:0,height:s.height};if(l&&(N&&!t||!N)){t=true;for(d=0;d(P>=0?b-v.y:v.y+v.height-b)){q=N}}else{if(c+D>l.height){q=k;H.isOutside=true}}E=l.x+d/2;C=q==r?(b+((c/2+3)*(P>=0?-1:1))):(P>=0?(l.y+((c/2+3)*(q==k?-1:1))):(l.y+l.height+((c/2+3)*(q===k?1:-1))))}else{if(q==k){if(a+F+l.width>(P>=0?v.x+v.width-b:b-v.x)){q=N}}else{if(a+F>l.width){q=k;H.isOutside=true}}E=q==r?(b+((a/2+5)*(P>=0?1:-1))):(P>=0?(l.x+l.width+((a/2+5)*(q===k?1:-1))):(l.x+((a/2+5)*(q===k?-1:1))));C=l.y+d/2}z={x:E,y:C};if(L){z.rotate={x:E,y:C,degrees:270}}if(I&&B){if(G){E=l.x+l.width/2;C=b}else{E=b;C=l.y+l.height/2}H.setAttributes({x:E,y:C},true);if(L){H.setAttributes({rotate:{x:E,y:C,degrees:270}},true)}}if(I){m.onAnimate(H,{to:z})}else{H.setAttributes(Ext.apply(z,{hidden:false}),true)}},getLabelSize:function(g){var k=this.testerLabel,a=this.label,d=Ext.apply({},a,this.seriesLabelStyle||{}),b=a.orientation==="vertical",j,i,e,c;if(!k){k=this.testerLabel=this.chart.surface.add(Ext.apply({type:"text",opacity:0},d))}k.setAttributes({text:g},true);j=k.getBBox();i=j.width;e=j.height;return{width:b?e:i,height:b?i:e}},onAnimate:function(b,a){b.show();return this.callParent(arguments)},isItemInPoint:function(a,d,b){var c=b.sprite.getBBox();return c.x<=a&&c.y<=d&&(c.x+c.width)>=a&&(c.y+c.height)>=d},hideAll:function(){var a=this.chart.axes;if(!isNaN(this._index)){if(!this.__excludes){this.__excludes=[]}this.__excludes[this._index]=true;this.drawSeries();a.each(function(b){b.drawAxis()})}},showAll:function(){var a=this.chart.axes;if(!isNaN(this._index)){if(!this.__excludes){this.__excludes=[]}this.__excludes[this._index]=false;this.drawSeries();a.each(function(b){b.drawAxis()})}},getLegendColor:function(a){var c=this,b=c.colorArrayStyle.length;if(c.style&&c.style.fill){return c.style.fill}else{return c.colorArrayStyle[a%b]}},highlightItem:function(a){this.callParent(arguments);this.renderLabels()},unHighlightItem:function(){this.callParent(arguments);this.renderLabels()},cleanHighlights:function(){this.callParent(arguments);this.renderLabels()}});Ext.define("Ext.chart.series.Column",{alternateClassName:["Ext.chart.ColumnSeries","Ext.chart.ColumnChart","Ext.chart.StackedColumnChart"],extend:"Ext.chart.series.Bar",type:"column",alias:"series.column",column:true,xPadding:10,yPadding:0});Ext.define("Ext.chart.series.Gauge",{extend:"Ext.chart.series.Series",type:"gauge",alias:"series.gauge",rad:Math.PI/180,highlightDuration:150,angleField:false,needle:false,donut:false,showInLegend:false,style:{},constructor:function(b){this.callParent(arguments);var h=this,g=h.chart,a=g.surface,j=g.store,k=g.shadow,d,c,e;Ext.apply(h,b,{shadowAttributes:[{"stroke-width":6,"stroke-opacity":1,stroke:"rgb(200, 200, 200)",translate:{x:1.2,y:2}},{"stroke-width":4,"stroke-opacity":1,stroke:"rgb(150, 150, 150)",translate:{x:0.9,y:1.5}},{"stroke-width":2,"stroke-opacity":1,stroke:"rgb(100, 100, 100)",translate:{x:0.6,y:1}}]});h.group=a.getGroup(h.seriesId);if(k){for(d=0,c=h.shadowAttributes.length;d180,E=Math.min(s,q)*C,B=Math.max(s,q)*C,p=false;k+=l*d(j);i+=l*a(j);z=k+b.startRho*d(E);h=i+b.startRho*a(E);w=k+b.endRho*d(E);g=i+b.endRho*a(E);v=k+b.startRho*d(B);e=i+b.startRho*a(B);t=k+b.endRho*d(B);c=i+b.endRho*a(B);if(n(z-v)<=A&&n(h-e)<=A){p=true}if(p){return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["Z"]]}}else{return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["L",v,e],["A",b.startRho,b.startRho,0,+u,0,z,h],["Z"]]}}},calcMiddle:function(q){var k=this,l=k.rad,p=q.slice,n=k.centerX,m=k.centerY,j=p.startAngle,e=p.endAngle,i=Math.max(("rho" in p)?p.rho:k.radius,k.label.minMargin),h=+k.donut,b=Math.min(j,e)*l,a=Math.max(j,e)*l,d=-(b+(a-b)/2),g=n+(q.endRho+q.startRho)/2*Math.cos(d),c=m-(q.endRho+q.startRho)/2*Math.sin(d);q.middle={x:g,y:c}},drawSeries:function(){var x=this,X=x.chart,b=X.substore||X.store,B=x.group,T=x.chart.animate,E=x.chart.axes.get(0),F=E&&E.minimum||x.minimum||0,J=E&&E.maximum||x.maximum||0,n=x.angleField||x.field||x.xField,N=X.surface,I=X.chartBBox,h=x.rad,c=+x.donut,Y={},C=[],m=x.seriesStyle,a=x.seriesLabelStyle,g=x.colorArrayStyle,A=g&&g.length||0,L=X.maxGutter[0],K=X.maxGutter[1],k=Math.cos,t=Math.sin,u,e,d,w,s,D,P,G,H,M,V,U,l,W,y,q,R,S,r,z,v,Q,O;Ext.apply(m,x.style||{});x.setBBox();z=x.bbox;if(x.colorSet){g=x.colorSet;A=g.length}if(!b||!b.getCount()){return}e=x.centerX=I.x+(I.width/2);d=x.centerY=I.y+I.height;x.radius=Math.min(e-I.x,d-I.y);x.slices=s=[];x.items=C=[];if(!x.value){M=b.getAt(0);x.value=M.get(n)}P=x.value;if(x.needle){Q={series:x,value:P,startAngle:-180,endAngle:0,rho:x.radius};v=-180*(1-(P-F)/(J-F));s.push(Q)}else{v=-180*(1-(P-F)/(J-F));Q={series:x,value:P,startAngle:-180,endAngle:v,rho:x.radius};O={series:x,value:x.maximum-P,startAngle:v,endAngle:0,rho:x.radius};s.push(Q,O)}for(V=0,H=s.length;Van.width){a=aj.shrink(ay,ab,an.width);ay=a.x;ab=a.y}aj.items=[];k=0;aw=ay.length;for(N=0;Na.x+a.width)?(j-(j+n-a.x-a.width)):j;h=(h-ma.x+a.width)?(j-(j+n-a.x-a.width)):j;h=h-ma.y+a.height)?(h-(h+m-a.y-a.height)):h}}if(v.chart.animate&&!v.chart.resizing){g.show(true);v.onAnimate(g,{to:{x:j,y:h}})}else{g.setAttributes({x:j,y:h},true);if(s){v.animation.on("afteranimate",function(){g.show(true)})}else{g.show(true)}}},highlightItem:function(){var a=this;a.callParent(arguments);if(this.line&&!this.highlighted){if(!("__strokeWidth" in this.line)){this.line.__strokeWidth=this.line.attr["stroke-width"]||0}if(this.line.__anim){this.line.__anim.paused=true}this.line.__anim=Ext.create("Ext.fx.Anim",{target:this.line,to:{"stroke-width":this.line.__strokeWidth+3}});this.highlighted=true}},unHighlightItem:function(){var a=this;a.callParent(arguments);if(this.line&&this.highlighted){this.line.__anim=Ext.create("Ext.fx.Anim",{target:this.line,to:{"stroke-width":this.line.__strokeWidth}});this.highlighted=false}},onPlaceCallout:function(m,s,K,H,G,d,k){if(!G){return}var N=this,t=N.chart,E=t.surface,I=t.resizing,M=N.callouts,u=N.items,w=H==0?false:u[H-1].point,A=(H==u.length-1)?false:u[H+1].point,c=[+K.point[0],+K.point[1]],B,g,O,L,q,r,J=M.offsetFromViz||30,D=M.offsetToSide||10,C=M.offsetBox||3,h,e,j,z,v,F=N.clipRect,b={width:M.styles.width||10,height:M.styles.height||10},n,l;if(!w){w=c}if(!A){A=c}L=(A[1]-w[1])/(A[0]-w[0]);q=(c[1]-w[1])/(c[0]-w[0]);r=(A[1]-c[1])/(A[0]-c[0]);g=Math.sqrt(1+L*L);B=[1/g,L/g];O=[-B[1],B[0]];if(q>0&&r<0&&O[1]<0||q<0&&r>0&&O[1]>0){O[0]*=-1;O[1]*=-1}else{if(Math.abs(q)Math.abs(r)&&O[0]>0){O[0]*=-1;O[1]*=-1}}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;if(h(F[0]+F[2])){O[0]*=-1}if(e(F[1]+F[3])){O[1]*=-1}n=c[0]+O[0]*J;l=c[1]+O[1]*J;h=n+(O[0]>0?0:-(b.width+2*C));e=l-b.height/2-C;j=b.width+2*C;z=b.height+2*C;if(t.animate){N.onAnimate(m.lines,{to:{path:["M",c[0],c[1],"L",n,l,"Z"]}});if(m.panel){m.panel.setPosition(h,e,true)}}else{m.lines.setAttributes({path:["M",c[0],c[1],"L",n,l,"Z"]},true);if(m.panel){m.panel.setPosition(h,e)}}for(v in m){m[v].show(true)}},isItemInPoint:function(j,g,B,r){var D=this,n=D.items,t=D.selectionTolerance,k=null,A,c,q,w,h,z,b,u,a,l,C,e,d,p,v,s,E=Math.sqrt,m=Math.abs;c=n[r];A=r&&n[r-1];if(r>=h){A=n[h-1]}q=A&&A.point;w=c&&c.point;z=A?q[0]:w[0]-t;b=A?q[1]:w[1];u=c?w[0]:q[0]+t;a=c?w[1]:q[1];e=E((j-z)*(j-z)+(g-b)*(g-b));d=E((j-u)*(j-u)+(g-a)*(g-a));p=Math.min(e,d);if(p<=t){return p==e?A:c}return false},toggleAll:function(a){var e=this,b,d,g,c;if(!a){Ext.chart.series.Line.superclass.hideAll.call(e)}else{Ext.chart.series.Line.superclass.showAll.call(e)}if(e.line){e.line.setAttributes({hidden:!a},true);if(e.line.shadows){for(b=0,c=e.line.shadows,d=c.length;b180,E=Math.min(s,q)*C,B=Math.max(s,q)*C,p=false;k+=l*d(j);i+=l*a(j);z=k+b.startRho*d(E);h=i+b.startRho*a(E);w=k+b.endRho*d(E);g=i+b.endRho*a(E);v=k+b.startRho*d(B);e=i+b.startRho*a(B);t=k+b.endRho*d(B);c=i+b.endRho*a(B);if(n(z-v)<=A&&n(h-e)<=A){p=true}if(p){return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["Z"]]}}else{return{path:[["M",z,h],["L",w,g],["A",b.endRho,b.endRho,0,+u,1,t,c],["L",v,e],["A",b.startRho,b.startRho,0,+u,0,z,h],["Z"]]}}},calcMiddle:function(p){var j=this,k=j.rad,n=p.slice,m=j.centerX,l=j.centerY,i=n.startAngle,e=n.endAngle,h=+j.donut,b=Math.min(i,e)*k,a=Math.max(i,e)*k,d=-(b+(a-b)/2),g=m+(p.endRho+p.startRho)/2*Math.cos(d),c=l-(p.endRho+p.startRho)/2*Math.sin(d);p.middle={x:g,y:c}},drawSeries:function(){var z=this,b=z.chart.substore||z.chart.store,F=z.group,ae=z.chart.animate,r=z.angleField||z.field||z.xField,I=[].concat(z.lengthField),ad=0,W=z.colorSet,aj=z.chart,T=aj.surface,O=aj.chartBBox,m=aj.shadow,ab=z.shadowGroups,aa=z.shadowAttributes,an=ab.length,h=z.rad,U=I.length,J=0,d=+z.donut,al=[],am={},ak,G=[],k=false,C=0,X=0,l=9,ao=true,B=0,q=z.seriesStyle,a=z.seriesLabelStyle,g=z.colorArrayStyle,E=g&&g.length||0,R=aj.maxGutter[0],Q=aj.maxGutter[1],w,ac,ai,K,P,M,e,c,x,t=0,y,v,H,V,L,ap,N,S,ag,af,n,ah,A,s,Y,Z,u,D;Ext.apply(q,z.style||{});z.setBBox();D=z.bbox;if(z.colorSet){g=z.colorSet;E=g.length}if(!b||!b.getCount()){return}z.unHighlightItem();z.cleanHighlights();e=z.centerX=O.x+(O.width/2);c=z.centerY=O.y+(O.height/2);z.radius=Math.min(e-O.x,c-O.y);z.slices=v=[];z.items=G=[];b.each(function(j,p){if(this.__excludes&&this.__excludes[p]){return}C+=+j.get(r);if(I[0]){for(af=0,ad=0;af1?af:ag)%E]}||{}));L=Ext.apply({},w.segment,{slice:y,series:z,storeItem:y.storeItem,index:ag});z.calcMiddle(L);if(m){L.shadows=y.shadowAttrs[af]}G[ag]=L;if(!H){u=Ext.apply({type:"path",group:F,middle:L.middle},Ext.apply(q,g&&{fill:g[(U>1?af:ag)%E]}||{}));H=T.add(Ext.apply(u,w))}y.sprite=y.sprite||[];L.sprite=H;y.sprite.push(H);y.point=[L.middle.x,L.middle.y];if(ae){w=z.renderer(H,b.getAt(ag),w,ag,b);H._to=w;H._animating=true;z.onAnimate(H,{to:w,listeners:{afteranimate:{fn:function(){this._animating=false},scope:H}}})}else{w=z.renderer(H,b.getAt(ag),Ext.apply(w,{hidden:false}),ag,b);H.setAttributes(w,true)}J+=x}}N=F.getCount();for(ag=0;ag>0]&&F.getAt(ag)){F.getAt(ag).hide(true)}}if(m){an=ab.length;for(M=0;M>0]){for(af=0;af90&&w<270)?w+180:w;h=k.attr.rotation.degrees;if(h!=null&&Math.abs(h-w)>180){if(w>h){w-=360}else{w+=360}w=w%360}else{w=a(w)}b.rotate={degrees:w,x:b.x,y:b.y};break;default:break}b.translate={x:0,y:0};if(e&&!z&&(t!="rotate"||h!=null)){C.onAnimate(k,{to:b})}else{k.setAttributes(b,true)}k._from=s},onPlaceCallout:function(l,q,B,w,v,d,e){var D=this,r=D.chart,z=r.resizing,C=D.callouts,j=D.centerX,h=D.centerY,E=B.middle,b={x:E.x,y:E.y},n=E.x-j,k=E.y-h,c=1,m,g=Math.atan2(k,n||1),a=l.label.getBBox(),A=20,u=10,t=10,s;c=B.endRho+A;m=(B.endRho+B.startRho)/2+(B.endRho-B.startRho)/3;b.x=c*Math.cos(g)+j;b.y=c*Math.sin(g)+h;n=m*Math.cos(g);k=m*Math.sin(g);if(r.animate){D.onAnimate(l.lines,{to:{path:["M",n+j,k+h,"L",b.x,b.y,"Z","M",b.x,b.y,"l",n>0?u:-u,0,"z"]}});D.onAnimate(l.box,{to:{x:b.x+(n>0?u:-(u+a.width+2*t)),y:b.y+(k>0?(-a.height-t/2):(-a.height-t/2)),width:a.width+2*t,height:a.height+2*t}});D.onAnimate(l.label,{to:{x:b.x+(n>0?(u+t):-(u+a.width+t)),y:b.y+(k>0?-a.height/4:-a.height/4)}})}else{l.lines.setAttributes({path:["M",n+j,k+h,"L",b.x,b.y,"Z","M",b.x,b.y,"l",n>0?u:-u,0,"z"]},true);l.box.setAttributes({x:b.x+(n>0?u:-(u+a.width+2*t)),y:b.y+(k>0?(-a.height-t/2):(-a.height-t/2)),width:a.width+2*t,height:a.height+2*t},true);l.label.setAttributes({x:b.x+(n>0?(u+t):-(u+a.width+t)),y:b.y+(k>0?-a.height/4:-a.height/4)},true)}for(s in l){l[s].show(true)}},onAnimate:function(b,a){b.show();return this.callParent(arguments)},isItemInPoint:function(l,j,n,e){var h=this,d=h.centerX,c=h.centerY,q=Math.abs,p=q(l-d),m=q(j-c),g=n.startAngle,a=n.endAngle,k=Math.sqrt(p*p+m*m),b=Math.atan2(j-c,l-d)/h.rad+360;if(b>h.firstAngle){b-=360}return(b<=g&&b>a&&k>=n.startRho&&k<=n.endRho)},hideAll:function(){var e,b,h,g,d,a,c;if(!isNaN(this._index)){this.__excludes=this.__excludes||[];this.__excludes[this._index]=true;c=this.slices[this._index].sprite;for(d=0,a=c.length;da.x+a.width)?(j-(j+n-a.x-a.width)):j;h=(h-ma.x+a.width)?(j-(j+n-a.x-a.width)):j;h=h-ma.y+a.height)?(h-(h+m-a.y-a.height)):h}}if(!l.animate){g.setAttributes({x:j,y:h},true);g.show(true)}else{if(t){p=u.sprite.getActiveAnimation();if(p){p.on("afteranimate",function(){g.setAttributes({x:j,y:h},true);g.show(true)})}else{g.show(true)}}else{w.onAnimate(g,{to:{x:j,y:h}})}}},onPlaceCallout:function(k,m,C,A,z,c,h){var F=this,n=F.chart,v=n.surface,B=n.resizing,E=F.callouts,q=F.items,b=C.point,G,a=k.label.getBBox(),D=30,u=10,t=3,e,d,g,s,r,w=F.bbox,l,j;G=[Math.cos(Math.PI/4),-Math.sin(Math.PI/4)];l=b[0]+G[0]*D;j=b[1]+G[1]*D;e=l+(G[0]>0?0:-(a.width+2*t));d=j-a.height/2-t;g=a.width+2*t;s=a.height+2*t;if(e(w[0]+w[2])){G[0]*=-1}if(d(w[1]+w[3])){G[1]*=-1}l=b[0]+G[0]*D;j=b[1]+G[1]*D;e=l+(G[0]>0?0:-(a.width+2*t));d=j-a.height/2-t;g=a.width+2*t;s=a.height+2*t;if(n.animate){F.onAnimate(k.lines,{to:{path:["M",b[0],b[1],"L",l,j,"Z"]}},true);F.onAnimate(k.box,{to:{x:e,y:d,width:g,height:s}},true);F.onAnimate(k.label,{to:{x:l+(G[0]>0?t:-(a.width+t)),y:j}},true)}else{k.lines.setAttributes({path:["M",b[0],b[1],"L",l,j,"Z"]},true);k.box.setAttributes({x:e,y:d,width:g,height:s},true);k.label.setAttributes({x:l+(G[0]>0?t:-(a.width+t)),y:j},true)}for(r in k){k[r].show(true)}},onAnimate:function(b,a){b.show();return this.callParent(arguments)},isItemInPoint:function(c,h,e){var b,d=10,a=Math.abs;function g(i){var k=a(i[0]-c),j=a(i[1]-h);return Math.sqrt(k*k+j*j)}b=e.point;return(b[0]-d<=c&&b[0]+d>=c&&b[1]-d<=h&&b[1]+d>=h)}});Ext.define("Ext.chart.theme.Base",{requires:["Ext.chart.theme.Theme"],constructor:function(a){Ext.chart.theme.call(this,a,{background:false,axis:{stroke:"#444","stroke-width":1},axisLabelTop:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisLabelRight:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisLabelBottom:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisLabelLeft:{fill:"#444",font:"12px Arial, Helvetica, sans-serif",spacing:2,padding:5,renderer:function(b){return b}},axisTitleTop:{font:"bold 18px Arial",fill:"#444"},axisTitleRight:{font:"bold 18px Arial",fill:"#444",rotate:{x:0,y:0,degrees:270}},axisTitleBottom:{font:"bold 18px Arial",fill:"#444"},axisTitleLeft:{font:"bold 18px Arial",fill:"#444",rotate:{x:0,y:0,degrees:270}},series:{"stroke-width":0},seriesLabel:{font:"12px Arial",fill:"#333"},marker:{stroke:"#555",fill:"#000",radius:3,size:3},colors:["#94ae0a","#115fa6","#a61120","#ff8809","#ffd13e","#a61187","#24ad9a","#7c7474","#a66111"],seriesThemes:[{fill:"#115fa6"},{fill:"#94ae0a"},{fill:"#a61120"},{fill:"#ff8809"},{fill:"#ffd13e"},{fill:"#a61187"},{fill:"#24ad9a"},{fill:"#7c7474"},{fill:"#a66111"}],markerThemes:[{fill:"#115fa6",type:"circle"},{fill:"#94ae0a",type:"cross"},{fill:"#a61120",type:"plus"}]})}},function(){var c=["#b1da5a","#4ce0e7","#e84b67","#da5abd","#4d7fe6","#fec935"],k=["Green","Sky","Red","Purple","Blue","Yellow"],h=0,g=0,b=c.length,a=Ext.chart.theme,d=[["#f0a50a","#c20024","#2044ba","#810065","#7eae29"],["#6d9824","#87146e","#2a9196","#d39006","#1e40ac"],["#fbbc29","#ce2e4e","#7e0062","#158b90","#57880e"],["#ef5773","#fcbd2a","#4f770d","#1d3eaa","#9b001f"],["#7eae29","#fdbe2a","#910019","#27b4bc","#d74dbc"],["#44dce1","#0b2592","#996e05","#7fb325","#b821a1"]],e=d.length;for(;h1){for(a=b.length;c0){if(k){for(h=k.length;g0){e.timeout=setTimeout(Ext.bind(i.handleTimeout,i,[e]),l)}i.setupErrorHandling(e);i[k]=Ext.bind(i.handleResponse,i,[e],true);Ext.getHead().appendChild(j);return e},abort:function(b){var c=this.statics().requests,a;if(b){if(!b.id){b=c[b]}this.abort(b)}else{for(a in c){if(c.hasOwnProperty(a)){this.abort(c[a])}}}},setupErrorHandling:function(a){a.script.onerror=Ext.bind(this.handleError,this,[a])},handleAbort:function(a){a.errorType="abort";this.handleResponse(null,a)},handleError:function(a){a.errorType="error";this.handleResponse(null,a)},cleanupErrorHandling:function(a){a.script.onerror=null},handleTimeout:function(a){a.errorType="timeout";this.handleResponse(null,a)},handleResponse:function(a,b){var c=true;if(b.timeout){clearTimeout(b.timeout)}delete this[b.callbackName];delete this.statics()[b.id];this.cleanupErrorHandling(b);Ext.fly(b.script).remove();if(b.errorType){c=false;Ext.callback(b.failure,b.scope,[b.errorType])}else{Ext.callback(b.success,b.scope,[a])}Ext.callback(b.callback,b.scope,[c,a,b.errorType])},createScript:function(b,c){var a=document.createElement("script");a.setAttribute("src",Ext.urlAppend(b,Ext.Object.toQueryString(c)));a.setAttribute("async",true);a.setAttribute("type","text/javascript");return a}});Ext.define("Ext.data.JsonPStore",{extend:"Ext.data.Store",alias:"store.jsonp",constructor:function(a){this.callParent(Ext.apply(a,{reader:Ext.create("Ext.data.reader.Json",a),proxy:Ext.create("Ext.data.proxy.JsonP",a)}))}});Ext.define("Ext.data.NodeInterface",{requires:["Ext.data.Field"],statics:{decorate:function(c){if(!c.isNode){var j=Ext.ModelManager,e=c.modelName,h=j.getModel(e),k=h.prototype.idProperty,g=[],b,a,d;h.override(this.getPrototypeBody());g=this.applyFields(h,[{name:k,type:"string",defaultValue:null},{name:"parentId",type:"string",defaultValue:null},{name:"index",type:"int",defaultValue:null},{name:"depth",type:"int",defaultValue:0},{name:"expanded",type:"bool",defaultValue:false,persist:false},{name:"expandable",type:"bool",defaultValue:true,persist:false},{name:"checked",type:"auto",defaultValue:null},{name:"leaf",type:"bool",defaultValue:false,persist:false},{name:"cls",type:"string",defaultValue:null,persist:false},{name:"iconCls",type:"string",defaultValue:null,persist:false},{name:"root",type:"boolean",defaultValue:false,persist:false},{name:"isLast",type:"boolean",defaultValue:false,persist:false},{name:"isFirst",type:"boolean",defaultValue:false,persist:false},{name:"allowDrop",type:"boolean",defaultValue:true,persist:false},{name:"allowDrag",type:"boolean",defaultValue:true,persist:false},{name:"loaded",type:"boolean",defaultValue:false,persist:false},{name:"loading",type:"boolean",defaultValue:false,persist:false},{name:"href",type:"string",defaultValue:null,persist:false},{name:"hrefTarget",type:"string",defaultValue:null,persist:false},{name:"qtip",type:"string",defaultValue:null,persist:false},{name:"qtitle",type:"string",defaultValue:null,persist:false}]);d=g.length;for(b=0;b0},isExpandable:function(){var a=this;if(a.get("expandable")){return !(a.isLeaf()||(a.isLoaded()&&!a.hasChildNodes()))}return false},appendChild:function(b,k,j){var g=this,c,e,d,h,a;if(Ext.isArray(b)){for(c=0,e=b.length;c0){Ext.Array.sort(d,g);for(c=0;c0){b=Ext.urlAppend(b,Ext.String.format("{0}={1}",g.recordParam,g.encodeRecords(a)))}return b},destroy:function(){this.abort();this.callParent()},abort:function(){var a=this.lastRequest;if(a){Ext.data.JsonP.abort(a.jsonp)}},encodeRecords:function(b){var d="",c=0,a=b.length;for(;c")}for(;c");for(k in l){if(l.hasOwnProperty(k)){d.push("<",k,">",l[k],"")}}d.push("")}if(j){d.push("")}a.xmlData=d.join("");return a}});Ext.define("Ext.direct.Event",{alias:"direct.event",requires:["Ext.direct.Manager"],status:true,constructor:function(a){Ext.apply(this,a)},getData:function(){return this.data}});Ext.define("Ext.direct.RemotingEvent",{extend:"Ext.direct.Event",alias:"direct.rpc",getTransaction:function(){return this.transaction||Ext.direct.Manager.getTransaction(this.tid)}});Ext.define("Ext.direct.ExceptionEvent",{extend:"Ext.direct.RemotingEvent",alias:"direct.exception",status:false});Ext.define("Ext.direct.Provider",{alias:"direct.provider",mixins:{observable:"Ext.util.Observable"},constructor:function(a){var b=this;Ext.apply(b,a);b.addEvents("connect","disconnect","data","exception");b.mixins.observable.constructor.call(b,a)},isConnected:function(){return false},connect:Ext.emptyFn,disconnect:Ext.emptyFn});Ext.define("Ext.direct.JsonProvider",{extend:"Ext.direct.Provider",alias:"direct.jsonprovider",uses:["Ext.direct.ExceptionEvent"],parseResponse:function(a){if(!Ext.isEmpty(a.responseText)){if(Ext.isObject(a.responseText)){return a.responseText}return Ext.decode(a.responseText)}return null},createEvents:function(b){var h=null,d=[],g,c=0,a;try{h=this.parseResponse(b)}catch(j){g=Ext.create("Ext.direct.ExceptionEvent",{data:j,xhr:b,code:Ext.direct.Manager.self.exceptions.PARSE,message:"Error parsing json response: \n\n "+h});return[g]}if(Ext.isArray(h)){for(a=h.length;c0){this.sendRequest(a==1?b[0]:b);this.callBuffer=[]}},configureFormRequest:function(e,a,b,i,j){var h=this,c=Ext.create("Ext.direct.Transaction",{provider:h,action:e,method:a.name,args:[b,i,j],callback:j&&Ext.isFunction(i)?Ext.Function.bind(i,j):i,isForm:true}),g,d;if(h.fireEvent("beforecall",h,c,a)!==false){Ext.direct.Manager.addTransaction(c);g=String(b.getAttribute("enctype")).toLowerCase()=="multipart/form-data";d={extTID:c.id,extAction:e,extMethod:a.name,extType:"rpc",extUpload:String(g)};Ext.apply(c,{form:Ext.getDom(b),isUpload:g,params:i&&Ext.isObject(i.params)?Ext.apply(d,i.params):d});h.fireEvent("call",h,c,a);h.sendFormRequest(c)}},sendFormRequest:function(a){Ext.Ajax.request({url:this.url,params:a.params,callback:this.onData,scope:this,form:a.form,isUpload:a.isUpload,transaction:a})}});Ext.define("Ext.draw.Matrix",{requires:["Ext.draw.Draw"],constructor:function(h,g,l,k,j,i){if(h!=null){this.matrix=[[h,l,j],[g,k,i],[0,0,1]]}else{this.matrix=[[1,0,0],[0,1,0],[0,0,1]]}},add:function(t,q,m,k,i,h){var n=this,g=[[],[],[]],s=[[t,m,i],[q,k,h],[0,0,1]],r,p,l,j;for(r=0;r<3;r++){for(p=0;p<3;p++){j=0;for(l=0;l<3;l++){j+=n.matrix[r][l]*s[l][p]}g[r][p]=j}}n.matrix=g},prepend:function(t,q,m,k,i,h){var n=this,g=[[],[],[]],s=[[t,m,i],[q,k,h],[0,0,1]],r,p,l,j;for(r=0;r<3;r++){for(p=0;p<3;p++){j=0;for(l=0;l<3;l++){j+=s[r][l]*n.matrix[l][p]}g[r][p]=j}}n.matrix=g},invert:function(){var j=this.matrix,i=j[0][0],h=j[1][0],n=j[0][1],m=j[1][1],l=j[0][2],k=j[1][2],g=i*m-h*n;return new Ext.draw.Matrix(m/g,-h/g,-n/g,i/g,(n*k-m*l)/g,(h*l-i*k)/g)},clone:function(){var i=this.matrix,h=i[0][0],g=i[1][0],m=i[0][1],l=i[1][1],k=i[0][2],j=i[1][2];return new Ext.draw.Matrix(h,g,m,l,k,j)},translate:function(a,b){this.prepend(1,0,0,1,a,b)},scale:function(b,e,a,d){var c=this;if(e==null){e=b}c.add(1,0,0,1,a,d);c.add(b,0,0,e,0,0);c.add(1,0,0,1,-a,-d)},rotate:function(c,b,h){c=Ext.draw.Draw.rad(c);var e=this,g=+Math.cos(c).toFixed(9),d=+Math.sin(c).toFixed(9);e.add(g,d,-d,g,b,h);e.add(1,0,0,1,-b,-h)},x:function(a,c){var b=this.matrix;return a*b[0][0]+c*b[0][1]+b[0][2]},y:function(a,c){var b=this.matrix;return a*b[1][0]+c*b[1][1]+b[1][2]},get:function(b,a){return +this.matrix[b][a].toFixed(4)},toString:function(){var a=this;return[a.get(0,0),a.get(0,1),a.get(1,0),a.get(1,1),0,0].join()},toSvg:function(){var a=this;return"matrix("+[a.get(0,0),a.get(1,0),a.get(0,1),a.get(1,1),a.get(0,2),a.get(1,2)].join()+")"},toFilter:function(){var a=this;return"progid:DXImageTransform.Microsoft.Matrix(M11="+a.get(0,0)+", M12="+a.get(0,1)+", M21="+a.get(1,0)+", M22="+a.get(1,1)+", Dx="+a.get(0,2)+", Dy="+a.get(1,2)+")"},offset:function(){var a=this.matrix;return[a[0][2].toFixed(4),a[1][2].toFixed(4)]},split:function(){function d(g){return g[0]*g[0]+g[1]*g[1]}function b(g){var h=Math.sqrt(d(g));g[0]/=h;g[1]/=h}var a=this.matrix,c={translateX:a[0][2],translateY:a[1][2]},e;e=[[a[0][0],a[0][1]],[a[1][1],a[1][1]]];c.scaleX=Math.sqrt(d(e[0]));b(e[0]);c.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1];e[1]=[e[1][0]-e[0][0]*c.shear,e[1][1]-e[0][1]*c.shear];c.scaleY=Math.sqrt(d(e[1]));b(e[1]);c.shear/=c.scaleY;c.rotate=Math.asin(-e[0][1]);c.isSimple=!+c.shear.toFixed(9)&&(c.scaleX.toFixed(9)==c.scaleY.toFixed(9)||!c.rotate);return c}});Ext.define("Ext.draw.SpriteDD",{extend:"Ext.dd.DragSource",constructor:function(b,a){var d=this,c=b.el;d.sprite=b;d.el=c;d.dragData={el:c,sprite:b};d.callParent([c,a]);d.sprite.setStyle("cursor","move")},showFrame:Ext.emptyFn,createFrame:Ext.emptyFn,getDragEl:function(a){return this.el},getRegion:function(){var j=this,g=j.el,m,d,c,p,n,u,a,k,h,s,q;q=j.sprite;s=q.getBBox();try{m=Ext.core.Element.getXY(g)}catch(i){}if(!m){return null}d=m[0];c=d+s.width;p=m[1];n=p+s.height;return Ext.create("Ext.util.Region",p,c,n,d)},startDrag:function(b,e){var d=this,a=d.sprite.attr,c=a.translation;if(d.sprite.vml){d.prevX=b+a.x;d.prevY=e+a.y}else{d.prevX=b-c.x;d.prevY=e-c.y}},onDrag:function(g){var d=g.getXY(),c=this,b=c.sprite,a=b.attr;c.translateX=d[0]-c.prevX;c.translateY=d[1]-c.prevY;b.setAttributes({translate:{x:c.translateX,y:c.translateY}},true);if(b.vml){c.prevX=d[0]+a.x||0;c.prevY=d[1]+a.y||0}}});Ext.define("Ext.draw.Sprite",{mixins:{observable:"Ext.util.Observable",animate:"Ext.util.Animate"},requires:["Ext.draw.SpriteDD"],dirty:false,dirtyHidden:false,dirtyTransform:false,dirtyPath:true,dirtyFont:true,zIndexDirty:true,isSprite:true,zIndex:0,fontProperties:["font","font-size","font-weight","font-style","font-family","text-anchor","text"],pathProperties:["x","y","d","path","height","width","radius","r","rx","ry","cx","cy"],constructor:function(a){var b=this;a=a||{};b.id=Ext.id(null,"ext-sprite-");b.transformations=[];Ext.copyTo(this,a,"surface,group,type,draggable");b.bbox={};b.attr={zIndex:0,translation:{x:null,y:null},rotation:{degrees:null,x:null,y:null},scaling:{x:null,y:null,cx:null,cy:null}};delete a.surface;delete a.group;delete a.type;delete a.draggable;b.setAttributes(a);b.addEvents("beforedestroy","destroy","render","mousedown","mouseup","mouseover","mouseout","mousemove","click");b.mixins.observable.constructor.apply(this,arguments)},initDraggable:function(){var a=this;a.draggable=true;if(!a.el){a.surface.createSpriteElement(a)}a.dd=Ext.create("Ext.draw.SpriteDD",a,Ext.isBoolean(a.draggable)?null:a.draggable);a.on("beforedestroy",a.dd.destroy,a.dd)},setAttributes:function(k,n){var t=this,j=t.fontProperties,r=j.length,g=t.pathProperties,e=g.length,s=!!t.surface,a=s&&t.surface.customAttributes||{},b=t.attr,l,p,h,c,q,m,u,d;k=Ext.apply({},k);for(l in a){if(k.hasOwnProperty(l)&&typeof a[l]=="function"){Ext.apply(k,a[l].apply(t,[].concat(k[l])))}}if(!!k.hidden!==!!b.hidden){t.dirtyHidden=true}for(p=0;p-1)&&(q[p] in g)){q[p]=g[q[p]]}if(p in t){c.dom.setAttribute(p,t[p](q[p],s,m))}else{c.dom.setAttribute(p,q[p])}}}if(s.type=="text"){m.tuneText(s,q)}b=j.style;if(b){c.setStyle(b)}s.dirty=false;if(Ext.isSafari3){m.webkitRect.show();setTimeout(function(){m.webkitRect.hide()})}},setClip:function(b,g){var e=this,d=g["clip-rect"],a,c;if(d){if(b.clip){b.clip.parentNode.parentNode.removeChild(b.clip.parentNode)}a=e.createSvgElement("clipPath");c=e.createSvgElement("rect");a.id=Ext.id(null,"ext-clip-");c.setAttribute("x",d.x);c.setAttribute("y",d.y);c.setAttribute("width",d.width);c.setAttribute("height",d.height);a.appendChild(c);e.getDefs().appendChild(a);b.el.dom.setAttribute("clip-path","url(#"+a.id+")");b.clip=c}},applyZIndex:function(c){var a=this.normalizeSpriteCollection(c),d=c.el,b;if(this.el.dom.childNodes[a+2]!==d.dom){if(a>0){do{b=this.items.getAt(--a).el}while(!b&&a>0)}d.insertAfter(b||this.bgRect)}c.zIndexDirty=false},createItem:function(a){var b=Ext.create("Ext.draw.Sprite",a);b.surface=this;return b},addGradient:function(h){h=Ext.draw.Draw.parseGradient(h);var e=this,d=h.stops.length,a=h.vector,l=Ext.isSafari&&!Ext.isStrict,j,g,k,c,b;b=e.gradientsMap||{};if(!l){if(h.type=="linear"){j=e.createSvgElement("linearGradient");j.setAttribute("x1",a[0]);j.setAttribute("y1",a[1]);j.setAttribute("x2",a[2]);j.setAttribute("y2",a[3])}else{j=e.createSvgElement("radialGradient");j.setAttribute("cx",h.centerX);j.setAttribute("cy",h.centerY);j.setAttribute("r",h.radius);if(Ext.isNumber(h.focalX)&&Ext.isNumber(h.focalY)){j.setAttribute("fx",h.focalX);j.setAttribute("fy",h.focalY)}}j.id=h.id;e.getDefs().appendChild(j);for(c=0;c")}a.W=h.span.offsetWidth;a.H=h.span.offsetHeight+2;if(c["text-anchor"]=="middle"){e["v-text-align"]="center"}else{if(c["text-anchor"]=="end"){e["v-text-align"]="right";a.bbx=-Math.round(a.W/2)}else{e["v-text-align"]="left";a.bbx=Math.round(a.W/2)}}}a.X=c.x;a.Y=c.y;a.path.v=Ext.String.format("m{0},{1}l{2},{1}",Math.round(a.X*j),Math.round(a.Y*j),Math.round(a.X*j)+1);i.bbox.plain=null;i.bbox.transform=null;i.dirtyFont=false},setText:function(a,b){a.vml.textpath.string=Ext.htmlDecode(b)},hide:function(){this.el.hide()},show:function(){this.el.show()},hidePrim:function(a){a.el.addCls(Ext.baseCSSPrefix+"hide-visibility")},showPrim:function(a){a.el.removeCls(Ext.baseCSSPrefix+"hide-visibility")},setSize:function(b,a){var c=this;b=b||c.width;a=a||c.height;c.width=b;c.height=a;if(c.el){if(b!=undefined){c.el.setWidth(b)}if(a!=undefined){c.el.setHeight(a)}c.applyViewBox();c.callParent(arguments)}},setViewBox:function(b,d,c,a){this.callParent(arguments);this.viewBox={x:b,y:d,width:c,height:a};this.applyViewBox()},applyViewBox:function(){var d=this,l=d.viewBox,a=d.width,h=d.height,g,e,j,b,i,c,k;if(l&&(a||h)){g=l.x;e=l.y;j=l.width;b=l.height;i=h/b;c=a/j;if(j*i')}}catch(d){c.createNode=function(e){return g.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}}if(!c.el){var b=g.createElement("div");c.el=Ext.get(b);c.el.addCls(c.baseVmlCls);c.span=g.createElement("span");Ext.get(c.span).addCls(c.measureSpanCls);b.appendChild(c.span);c.el.setSize(c.width||10,c.height||10);a.appendChild(b);c.el.on({scope:c,mouseup:c.onMouseUp,mousedown:c.onMouseDown,mouseover:c.onMouseOver,mouseout:c.onMouseOut,mousemove:c.onMouseMove,mouseenter:c.onMouseEnter,mouseleave:c.onMouseLeave,click:c.onClick})}c.renderAll()},renderAll:function(){this.items.each(this.renderItem,this)},redraw:function(a){a.dirty=true;this.renderItem(a)},renderItem:function(a){if(!this.el){return}if(!a.el){this.createSpriteElement(a)}if(a.dirty){this.applyAttrs(a);if(a.dirtyTransform){this.applyTransformations(a)}}},rotationCompensation:function(d,c,a){var b=Ext.create("Ext.draw.Matrix");b.rotate(-d,0.5,0.5);return{x:b.x(c,a),y:b.y(c,a)}},transform:function(u){var D=this,x=Ext.create("Ext.draw.Matrix"),m=u.transformations,s=m.length,z=0,k=0,c=1,b=1,j="",e=u.el,A=e.dom,v=A.style,a=D.zoom,g=u.skew,C,B,p,h,n,l,w,t,r,q,d;for(;ze?1:(g0){if(!a.owner.isFixedWidth()){b.width=undefined}if(!a.owner.isFixedHeight()){b.height=undefined}a.setItemSize(c,b.width,b.height)}},configureItem:function(a){a.layoutManagedHeight=0;a.layoutManagedWidth=0;this.callParent(arguments)}});Ext.define("Ext.layout.container.AbstractCard",{extend:"Ext.layout.container.Fit",type:"card",sizeAllCards:false,hideInactive:true,deferredRender:false,beforeLayout:function(){var a=this;a.getActiveItem();if(a.activeItem&&a.deferredRender){a.renderItems([a.activeItem],a.getRenderTarget());return true}else{return this.callParent(arguments)}},renderChildren:function(){this.getActiveItem();this.callParent()},onLayout:function(){var g=this,h=g.activeItem,b=g.getVisibleItems(),e=b.length,a=g.getTargetBox(),c,d;for(c=0;c1){b.doSelect(a,c,false)}else{b.doSelect(a,false)}}}}break;case"SIMPLE":if(b.isSelected(a)){b.doDeselect(a)}else{b.doSelect(a,true)}break;case"SINGLE":if(b.allowDeselect&&b.isSelected(a)){b.doDeselect(a)}else{b.doSelect(a,false)}break}},selectRange:function(l,e,m,c){var j=this,k=j.store,d=0,h,g,a,b=[];if(j.isLocked()){return}if(!m){j.deselectAll(true)}if(!Ext.isNumber(l)){l=k.indexOf(l)}if(!Ext.isNumber(e)){e=k.indexOf(e)}if(l>e){g=e;e=l;l=g}for(h=l;h<=e;h++){if(j.isSelected(k.getAt(h))){d++}}if(!c){a=-1}else{a=(c=="up")?l:e}for(h=l;h<=e;h++){if(d==(e-l+1)){if(h!=a){j.doDeselect(h,true)}}else{b.push(k.getAt(h))}}j.doMultiSelect(b,true)},select:function(b,c,a){this.doSelect(b,c,a)},deselect:function(b,a){this.doDeselect(b,a)},doSelect:function(c,e,b){var d=this,a;if(d.locked){return}if(typeof c==="number"){c=[d.store.getAt(c)]}if(d.selectionMode=="SINGLE"&&c){a=c.length?c[0]:c;d.doSingleSelect(a,b)}else{d.doMultiSelect(c,e,b)}},doMultiSelect:function(a,l,k){var h=this,b=h.selected,j=false,d=0,g,e;if(h.locked){return}a=!Ext.isArray(a)?[a]:a;g=a.length;if(!l&&b.getCount()>0){if(h.doDeselect(h.getSelection(),k)===false){return}}function c(){b.add(e);j=true}for(;d0&&!k);return g===l},doSingleSelect:function(a,b){var d=this,g=false,c=d.selected;if(d.locked){return}if(d.isSelected(a)){return}function e(){d.bulkChange=true;if(c.getCount()>0&&d.doDeselect(d.lastSelected,b)===false){delete d.bulkChange;return false}delete d.bulkChange;c.add(a);d.lastSelected=a;g=true}d.onSelectChange(a,true,b,e);if(g){if(!b){d.setLastFocused(a)}d.maybeFireSelectionChange(!b)}},setLastFocused:function(c,b){var d=this,a=d.lastFocused;d.lastFocused=c;d.onLastFocusChanged(a,c,b)},isFocused:function(a){return a===this.getLastFocused()},maybeFireSelectionChange:function(a){var b=this;if(a&&!b.bulkChange){b.fireEvent("selectionchange",b,b.getSelection())}},getLastSelected:function(){return this.lastSelected},getLastFocused:function(){return this.lastFocused},getSelection:function(){return this.selected.getRange()},getSelectionMode:function(){return this.selectionMode},setSelectionMode:function(a){a=a?a.toUpperCase():"SINGLE";this.selectionMode=this.modes[a]?a:"SINGLE"},isLocked:function(){return this.locked},setLocked:function(a){this.locked=!!a},isSelected:function(a){a=Ext.isNumber(a)?this.store.getAt(a):a;return this.selected.indexOf(a)!==-1},hasSelection:function(){return this.selected.getCount()>0},refresh:function(){var h=this,b=[],g=h.getSelection(),a=g.length,e,j,d=0,c=this.getLastFocused();for(;d0){this.clearSelections();this.maybeFireSelectionChange(true)}},onStoreRemove:function(b,a){var d=this,c=d.selected;if(d.locked||!d.pruneRemoved){return}if(c.remove(a)){if(d.lastSelected==a){d.lastSelected=null}if(d.getLastFocused()==a){d.setLastFocused(null)}d.maybeFireSelectionChange(true)}},getCount:function(){return this.selected.getCount()},destroy:function(){},onStoreUpdate:function(){},onSelectChange:function(a,c,b){},onLastFocusChanged:function(b,a){},onEditorKey:function(b,a){},bindComponent:function(a){}});Ext.define("Ext.selection.DataViewModel",{extend:"Ext.selection.Model",requires:["Ext.util.KeyNav"],deselectOnContainerClick:true,enableKeyNav:true,constructor:function(a){this.addEvents("beforedeselect","beforeselect","deselect","select");this.callParent(arguments)},bindComponent:function(a){var b=this,c={refresh:b.refresh,scope:b};b.view=a;b.bind(a.getStore());a.on(a.triggerEvent,b.onItemClick,b);a.on(a.triggerCtEvent,b.onContainerClick,b);a.on(c);if(b.enableKeyNav){b.initKeyNav(a)}},onItemClick:function(b,a,d,c,g){this.selectWithEvent(a,g)},onContainerClick:function(){if(this.deselectOnContainerClick){this.deselectAll()}},initKeyNav:function(a){var b=this;if(!a.rendered){a.on("render",Ext.Function.bind(b.initKeyNav,b,[a],0),b,{single:true});return}a.el.set({tabIndex:-1});b.keyNav=Ext.create("Ext.util.KeyNav",a.el,{down:Ext.pass(b.onNavKey,[1],b),right:Ext.pass(b.onNavKey,[1],b),left:Ext.pass(b.onNavKey,[-1],b),up:Ext.pass(b.onNavKey,[-1],b),scope:b})},onNavKey:function(g){g=g||1;var e=this,b=e.view,d=e.getSelection()[0],c=e.view.store.getCount(),a;if(d){a=b.indexOf(b.getNode(d))+g}else{a=0}if(a<0){a=c-1}else{if(a>=c){a=0}}e.select(a)},onSelectChange:function(b,e,d,h){var g=this,a=g.view,c=e?"select":"deselect";if((d||g.fireEvent("before"+c,g,b))!==false&&h()!==false){if(e){a.onItemSelect(b)}else{a.onItemDeselect(b)}if(!d){g.fireEvent(c,g,b)}}}});Ext.define("Ext.state.CookieProvider",{extend:"Ext.state.Provider",constructor:function(a){var b=this;b.path="/";b.expires=new Date(new Date().getTime()+(1000*60*60*24*7));b.domain=null;b.secure=false;b.callParent(arguments);b.state=b.readCookies()},set:function(a,c){var b=this;if(typeof c=="undefined"||c===null){b.clear(a);return}b.setCookie(a,c);b.callParent(arguments)},clear:function(a){this.clearCookie(a);this.callParent(arguments)},readCookies:function(){var e={},j=document.cookie+";",d=/\s?(.*?)=(.*?);/g,i=this.prefix,a=i.length,h,b,g;while((h=d.exec(j))!=null){b=h[1];g=h[2];if(b&&b.substring(0,a)==i){e[b.substr(a)]=this.decodeValue(g)}}return e},setCookie:function(a,c){var b=this;document.cookie=b.prefix+a+"="+b.encodeValue(c)+((b.expires==null)?"":("; expires="+b.expires.toGMTString()))+((b.path==null)?"":("; path="+b.path))+((b.domain==null)?"":("; domain="+b.domain))+((b.secure==true)?"; secure":"")},clearCookie:function(a){var b=this;document.cookie=b.prefix+a+"=null; expires=Thu, 01-Jan-70 00:00:01 GMT"+((b.path==null)?"":("; path="+b.path))+((b.domain==null)?"":("; domain="+b.domain))+((b.secure==true)?"; secure":"")}});Ext.define("Ext.state.LocalStorageProvider",{extend:"Ext.state.Provider",alias:"state.localstorage",constructor:function(){var a=this;a.callParent(arguments);a.store=a.getStorageObject();a.state=a.readLocalStorage()},readLocalStorage:function(){var c=this.store,e=0,a=c.length,h=this.prefix,b=h.length,g={},d;for(;e0)?a.changedTouches[0]:a;return new this(a.pageX,a.pageY)}},constructor:function(a,b){this.callParent([b,a,b,a])},toString:function(){return"Point["+this.x+","+this.y+"]"},equals:function(a){return(this.x==a.x&&this.y==a.y)},isWithin:function(b,a){if(!Ext.isObject(a)){a={x:a,y:a}}return(this.x<=b.x+a.x&&this.x>=b.x-a.x&&this.y<=b.y+a.y&&this.y>=b.y-a.y)},roundedEquals:function(a){return(Math.round(this.x)==Math.round(a.x)&&Math.round(this.y)==Math.round(a.y))}},function(){this.prototype.translate=Ext.util.Region.prototype.translateBy});Ext.define("Ext.view.AbstractView",{extend:"Ext.Component",alternateClassName:"Ext.view.AbstractView",requires:["Ext.LoadMask","Ext.data.StoreManager","Ext.CompositeElementLite","Ext.DomQuery","Ext.selection.DataViewModel"],inheritableStatics:{getRecord:function(a){return this.getBoundView(a).getRecord(a)},getBoundView:function(a){return Ext.getCmp(a.boundView)}},itemCls:Ext.baseCSSPrefix+"dataview-item",loadingText:"Loading...",loadMask:true,loadingUseMsg:true,selectedItemCls:Ext.baseCSSPrefix+"item-selected",emptyText:"",deferEmptyText:true,trackOver:false,blockRefresh:false,last:false,triggerEvent:"itemclick",triggerCtEvent:"containerclick",addCmpEvents:function(){},initComponent:function(){var c=this,a=Ext.isDefined,d=c.itemTpl,b={};if(d){if(Ext.isArray(d)){d=d.join("")}else{if(Ext.isObject(d)){b=Ext.apply(b,d.initialConfig);d=d.html}}if(!c.itemSelector){c.itemSelector="."+c.itemCls}d=Ext.String.format('
    {1}
    ',c.itemCls,d);c.tpl=Ext.create("Ext.XTemplate",d,b)}c.callParent();if(Ext.isString(c.tpl)||Ext.isArray(c.tpl)){c.tpl=Ext.create("Ext.XTemplate",c.tpl)}c.addEvents("beforerefresh","refresh","itemupdate","itemadd","itemremove");c.addCmpEvents();if(c.store){c.store=Ext.data.StoreManager.lookup(c.store)}c.all=new Ext.CompositeElementLite()},onRender:function(){var c=this,b=c.loadMask,a={msg:c.loadingText,msgCls:c.loadingCls,useMsg:c.loadingUseMsg};c.callParent(arguments);if(b){if(Ext.isObject(b)){a=Ext.apply(a,b)}c.loadMask=Ext.create("Ext.LoadMask",c.floating?c:c.ownerCt||c,a);c.loadMask.on({scope:c,beforeshow:c.onMaskBeforeShow,hide:c.onMaskHide})}},onMaskBeforeShow:function(){var a=this;a.getSelectionModel().deselectAll();a.all.clear();if(a.loadingHeight){a.setCalculatedSize(undefined,a.loadingHeight)}},onMaskHide:function(){if(!this.destroying&&this.loadingHeight){this.setHeight(this.height)}},afterRender:function(){this.callParent(arguments);this.getSelectionModel().bindComponent(this)},getSelectionModel:function(){var a=this,b="SINGLE";if(!a.selModel){a.selModel={}}if(a.simpleSelect){b="SIMPLE"}else{if(a.multiSelect){b="MULTI"}}Ext.applyIf(a.selModel,{allowDeselect:a.allowDeselect,mode:b});if(!a.selModel.events){a.selModel=Ext.create("Ext.selection.DataViewModel",a.selModel)}if(!a.selModel.hasRelaySetup){a.relayEvents(a.selModel,["selectionchange","beforeselect","beforedeselect","select","deselect"]);a.selModel.hasRelaySetup=true}if(a.disableSelection){a.selModel.locked=true}return a.selModel},refresh:function(){var c=this,b,a;if(!c.rendered){return}c.fireEvent("beforerefresh",c);b=c.getTargetEl();a=c.store.getRange();b.update("");if(a.length<1){if(!c.deferEmptyText||c.hasSkippedEmptyText){b.update(c.emptyText)}c.all.clear()}else{c.tpl.overwrite(b,c.collectData(a,0));c.all.fill(Ext.query(c.getItemSelector(),b.dom));c.updateIndexes(0)}c.selModel.refresh();c.hasSkippedEmptyText=true;c.fireEvent("refresh",c)},prepareData:function(c,b,a){if(a){Ext.apply(c,a.getAssociatedData())}return c},collectData:function(c,g){var e=[],d=0,a=c.length,b;for(;d-1){c=d.bufferRender([a],b)[0];d.all.replaceElement(b,c,true);d.updateIndexes(b,b);d.selModel.refresh();d.fireEvent("itemupdate",a,b,c)}},onAdd:function(e,b,c){var d=this,a;if(d.all.getCount()===0){d.refresh();return}a=d.bufferRender(b,c);d.doAdd(a,b,c);d.selModel.refresh();d.updateIndexes(c);d.fireEvent("itemadd",b,c,a)},doAdd:function(b,a,c){var d=this.all;if(c=a&&d[c];c--){b.push(d[c])}}return b},indexOf:function(a){a=this.getNode(a);if(Ext.isNumber(a.viewIndex)){return a.viewIndex}return this.all.indexOf(a)},onDestroy:function(){var a=this;a.all.clear();a.callParent();a.bindStore(null);a.selModel.destroy()},onItemSelect:function(a){var b=this.getNode(a);Ext.fly(b).addCls(this.selectedItemCls)},onItemDeselect:function(a){var b=this.getNode(a);Ext.fly(b).removeCls(this.selectedItemCls)},getItemSelector:function(){return this.itemSelector}},function(){Ext.deprecate("extjs","4.0",function(){Ext.view.AbstractView.override({getSelectionCount:function(){if(Ext.global.console){Ext.global.console.warn("DataView: getSelectionCount will be removed, please interact with the Ext.selection.DataViewModel")}return this.selModel.getSelection().length},getSelectedRecords:function(){if(Ext.global.console){Ext.global.console.warn("DataView: getSelectedRecords will be removed, please interact with the Ext.selection.DataViewModel")}return this.selModel.getSelection()},select:function(a,b,d){if(Ext.global.console){Ext.global.console.warn("DataView: select will be removed, please access select through a DataView's SelectionModel, ie: view.getSelectionModel().select()")}var c=this.getSelectionModel();return c.select.apply(c,arguments)},clearSelections:function(){if(Ext.global.console){Ext.global.console.warn("DataView: clearSelections will be removed, please access deselectAll through DataView's SelectionModel, ie: view.getSelectionModel().deselectAll()")}var a=this.getSelectionModel();return a.deselectAll()}})})});Ext.define("Ext.Action",{constructor:function(a){this.initialConfig=a;this.itemId=a.itemId=(a.itemId||a.id||Ext.id());this.items=[]},isAction:true,setText:function(a){this.initialConfig.text=a;this.callEach("setText",[a])},getText:function(){return this.initialConfig.text},setIconCls:function(a){this.initialConfig.iconCls=a;this.callEach("setIconCls",[a])},getIconCls:function(){return this.initialConfig.iconCls},setDisabled:function(a){this.initialConfig.disabled=a;this.callEach("setDisabled",[a])},enable:function(){this.setDisabled(false)},disable:function(){this.setDisabled(true)},isDisabled:function(){return this.initialConfig.disabled},setHidden:function(a){this.initialConfig.hidden=a;this.callEach("setVisible",[!a])},show:function(){this.setHidden(false)},hide:function(){this.setHidden(true)},isHidden:function(){return this.initialConfig.hidden},setHandler:function(b,a){this.initialConfig.handler=b;this.initialConfig.scope=a;this.callEach("setHandler",[b,a])},each:function(b,a){Ext.each(this.items,b,a)},callEach:function(e,c){var b=this.items,d=0,a=b.length;for(;dj.zindex){j.shim.setStyle("z-index",j.zindex-2)}d.show();if(n.isVisible()){i=n.el.getXY();e=d.dom.style;a=n.el.getSize();e.left=(i[0])+"px";e.top=(i[1])+"px";e.width=(a.width)+"px";e.height=(a.height)+"px"}else{d.setSize(m,g);d.setLeftTop(c,p)}}}else{if(d){k=d.getStyle("z-index");if(k>j.zindex){j.shim.setStyle("z-index",j.zindex-2)}d.show();d.setSize(m,g);d.setLeftTop(c,p)}}}return this},remove:function(){this.hideUnders();this.callParent()},beginUpdate:function(){this.updating=true},endUpdate:function(){this.updating=false;this.sync(true)},hideUnders:function(){if(this.shadow){this.shadow.hide()}this.hideShim()},constrainXY:function(){if(this.constrain){var g=Ext.core.Element.getViewWidth(),b=Ext.core.Element.getViewHeight(),l=Ext.getDoc().getScroll(),k=this.getXY(),i=k[0],e=k[1],a=this.shadowOffset,j=this.dom.offsetWidth+a,c=this.dom.offsetHeight+a,d=false;if((i+j)>g+l.left){i=g-j-a;d=true}if((e+c)>b+l.top){e=b-c-a;d=true}if(i',"
     
    ","",'
    ','
    ',"
     
    ","
    ","
    "],componentLayout:"progressbar",initComponent:function(){this.callParent();this.renderSelectors=Ext.apply(this.renderSelectors||{},{textTopEl:"."+this.baseCls+"-text",textBackEl:"."+this.baseCls+"-text-back",bar:"."+this.baseCls+"-bar"});this.addEvents("update")},afterRender:function(){var a=this;a.textEl=a.textEl?Ext.get(a.textEl):a.el.select("."+a.baseCls+"-text");this.callParent(arguments);if(a.value){a.updateProgress(a.value,a.text)}else{a.updateText(a.text)}},updateProgress:function(c,d,a){var b;this.value=c||0;if(d){this.updateText(d)}if(this.rendered&&!this.isDestroyed){b=Math.floor(this.value*this.el.getWidth(true));if(Ext.isForcedBorderBox){b+=this.bar.getBorderWidth("lr")}if(a===true||(a!==false&&this.animate)){this.bar.stopAnimation();this.bar.animate(Ext.apply({to:{width:b+"px"}},this.animate))}else{this.bar.setWidth(b)}}this.fireEvent("update",this,this.value,d);return this},updateText:function(a){this.text=a;if(this.rendered){this.textEl.update(this.text)}return this},applyText:function(a){this.updateText(a)},wait:function(b){if(!this.waitTimer){var a=this;b=b||{};this.updateText(b.text);this.waitTimer=Ext.TaskManager.start({run:function(c){var d=b.increment||10;c-=1;this.updateProgress(((((c+d)%d)+1)*(100/d))*0.01,null,b.animate)},interval:b.interval||1000,duration:b.duration,onStop:function(){if(b.fn){b.fn.apply(b.scope||this)}this.reset()},scope:a})}return this},isWaiting:function(){return this.waitTimer!==null},reset:function(a){this.updateProgress(0);this.clearTimer();if(a===true){this.hide()}return this},clearTimer:function(){if(this.waitTimer){this.waitTimer.onStop=null;Ext.TaskManager.stop(this.waitTimer);this.waitTimer=null}},onDestroy:function(){this.clearTimer();if(this.rendered){if(this.textEl.isComposite){this.textEl.clear()}Ext.destroyMembers(this,"textEl","progressBar","textTopEl")}this.callParent()}});Ext.define("Ext.ShadowPool",{singleton:true,requires:["Ext.core.DomHelper"],markup:function(){if(Ext.supports.CSS3BoxShadow){return''}else{if(Ext.isIE){return''}else{return''}}}(),shadows:[],pull:function(){var a=this.shadows.shift();if(!a){a=Ext.get(Ext.core.DomHelper.insertHtml("beforeBegin",document.body.firstChild,this.markup));a.autoBoxAdjust=false}return a},push:function(a){this.shadows.push(a)},reset:function(){Ext.Array.each(this.shadows,function(a){a.remove()});this.shadows=[]}});Ext.define("Ext.Shadow",{requires:["Ext.ShadowPool"],constructor:function(b){Ext.apply(this,b);if(typeof this.mode!="string"){this.mode=this.defaultMode}var d=this.offset,c={h:0},a=Math.floor(this.offset/2);switch(this.mode.toLowerCase()){case"drop":if(Ext.supports.CSS3BoxShadow){c.w=c.h=-d;c.l=c.t=d}else{c.w=0;c.l=c.t=d;c.t-=1;if(Ext.isIE){c.l-=d+a;c.t-=d+a;c.w-=a;c.h-=a;c.t+=1}}break;case"sides":if(Ext.supports.CSS3BoxShadow){c.h-=d;c.t=d;c.l=c.w=0}else{c.w=(d*2);c.l=-d;c.t=d-1;if(Ext.isIE){c.l-=(d-a);c.t-=d+a;c.l+=1;c.w-=(d-a)*2;c.w-=a+1;c.h-=1}}break;case"frame":if(Ext.supports.CSS3BoxShadow){c.l=c.w=c.t=0}else{c.w=c.h=(d*2);c.l=c.t=-d;c.t+=1;c.h-=2;if(Ext.isIE){c.l-=(d-a);c.t-=(d-a);c.l+=1;c.w-=(d+a+1);c.h-=(d+a);c.h+=1}break}}this.adjusts=c},offset:4,defaultMode:"drop",show:function(a){a=Ext.get(a);if(!this.el){this.el=Ext.ShadowPool.pull();if(this.el.dom.nextSibling!=a.dom){this.el.insertBefore(a)}}this.el.setStyle("z-index",this.zIndex||parseInt(a.getStyle("z-index"),10)-1);if(Ext.isIE&&!Ext.supports.CSS3BoxShadow){this.el.dom.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity=50) progid:DXImageTransform.Microsoft.Blur(pixelradius="+(this.offset)+")"}this.realign(a.getLeft(true),a.getTop(true),a.getWidth(),a.getHeight());this.el.dom.style.display="block"},isVisible:function(){return this.el?true:false},realign:function(b,q,m,h){if(!this.el){return}var a=this.adjusts,j=this.el.dom,k=j.style,c,g,n,e,i,p;k.left=(b+a.l)+"px";k.top=(q+a.t)+"px";c=Math.max(m+a.w,0);g=Math.max(h+a.h,0);i=c+"px";p=g+"px";if(k.width!=i||k.height!=p){k.width=i;k.height=p;if(Ext.supports.CSS3BoxShadow){k.boxShadow="0 0 "+this.offset+"px 0 #888"}else{if(!Ext.isIE){n=j.childNodes;e=Math.max(0,(c-12))+"px";n[0].childNodes[1].style.width=e;n[1].childNodes[1].style.width=e;n[2].childNodes[1].style.width=e;n[1].style.height=Math.max(0,(g-12))+"px"}}}},hide:function(){if(this.el){this.el.dom.style.display="none";Ext.ShadowPool.push(this.el);delete this.el}},setZIndex:function(a){this.zIndex=a;if(this.el){this.el.setStyle("z-index",a)}}});Ext.define("Ext.button.Split",{alias:"widget.splitbutton",extend:"Ext.button.Button",alternateClassName:"Ext.SplitButton",arrowCls:"split",split:true,initComponent:function(){this.callParent();this.addEvents("arrowclick")},setArrowHandler:function(b,a){this.arrowHandler=b;this.scope=a},onClick:function(c,a){var b=this;c.preventDefault();if(!b.disabled){if(b.overMenuTrigger){if(b.menu&&!b.menu.isVisible()&&!b.ignoreNextClick){b.showMenu()}b.fireEvent("arrowclick",b,c);if(b.arrowHandler){b.arrowHandler.call(b.scope||b,b,c)}}else{if(b.enableToggle){b.toggle()}b.fireEvent("click",b,c);if(b.handler){b.handler.call(b.scope||b,b,c)}b.onBlur()}}}});Ext.define("Ext.button.Cycle",{alias:"widget.cycle",extend:"Ext.button.Split",alternateClassName:"Ext.CycleButton",getButtonText:function(b){var a=this,c="";if(b&&a.showText===true){if(a.prependText){c+=a.prependText}c+=b.text;return c}return a.text},setActiveItem:function(c,a){var b=this;if(!Ext.isObject(c)){c=b.menu.getComponent(c)}if(c){if(!b.rendered){b.text=b.getButtonText(c);b.iconCls=c.iconCls}else{b.setText(b.getButtonText(c));b.setIconCls(c.iconCls)}b.activeItem=c;if(!c.checked){c.setChecked(true,false)}if(b.forceIcon){b.setIconCls(b.forceIcon)}if(!a){b.fireEvent("change",b,c)}}},getActiveItem:function(){return this.activeItem},initComponent:function(){var c=this,b=0,a;c.addEvents("change");if(c.changeHandler){c.on("change",c.changeHandler,c.scope||c);delete c.changeHandler}a=(c.menu.items||[]).concat(c.items||[]);c.menu=Ext.applyIf({cls:Ext.baseCSSPrefix+"cycle-menu",items:[]},c.menu);Ext.each(a,function(e,d){e=Ext.applyIf({group:c.id,itemIndex:d,checkHandler:c.checkHandler,scope:c,checked:e.checked||false},e);c.menu.items.push(e);if(e.checked){b=d}});c.itemCount=c.menu.items.length;c.callParent(arguments);c.on("click",c.toggleSelected,c);c.setActiveItem(b,c);if(c.width&&c.showText){c.addCls(Ext.baseCSSPrefix+"cycle-fixed-width")}},checkHandler:function(a,b){if(b){this.setActiveItem(a)}},toggleSelected:function(){var c=this,a=c.menu,b;b=c.activeItem.next(":not([disabled])")||a.items.getAt(0);b.setChecked(true)}});Ext.define("Ext.container.ButtonGroup",{extend:"Ext.panel.Panel",alias:"widget.buttongroup",alternateClassName:"Ext.ButtonGroup",baseCls:Ext.baseCSSPrefix+"btn-group",layout:{type:"table"},defaultType:"button",frame:true,frameHeader:false,internalDefaults:{removeMode:"container",hideParent:true},initComponent:function(){var a=this,b=a.columns;a.noTitleCls=a.baseCls+"-notitle";if(b){a.layout=Ext.apply({},{columns:b},a.layout)}if(!a.title){a.addCls(a.noTitleCls)}a.callParent(arguments)},afterLayout:function(){var b=this;b.callParent(arguments);if(b.layout.table&&(Ext.isIEQuirks||Ext.isIE6)&&!b.width){var a=b.getTargetEl();a.setWidth(b.layout.table.offsetWidth+a.getPadding("lr"))}},afterRender:function(){var a=this;if(a.header){delete a.header.items.items[0].flex;a.suspendLayout=true;a.header.insert(1,{xtype:"component",ui:a.ui,flex:1});a.header.insert(0,{xtype:"component",ui:a.ui,flex:1});a.suspendLayout=false}a.callParent(arguments)},onBeforeAdd:function(a){if(a.is("button")){a.ui=a.ui+"-toolbar"}this.callParent(arguments)},applyDefaults:function(b){if(!Ext.isString(b)){b=this.callParent(arguments);var a=this.internalDefaults;if(b.events){Ext.applyIf(b.initialConfig,a);Ext.apply(b,a)}else{Ext.applyIf(b,a)}}return b}});Ext.define("Ext.container.Viewport",{extend:"Ext.container.Container",alias:"widget.viewport",requires:["Ext.EventManager"],alternateClassName:"Ext.Viewport",isViewport:true,ariaRole:"application",initComponent:function(){var c=this,a=Ext.fly(document.body.parentNode),b;c.callParent(arguments);a.addCls(Ext.baseCSSPrefix+"viewport");if(c.autoScroll){a.setStyle("overflow","auto")}c.el=b=Ext.getBody();b.setHeight=Ext.emptyFn;b.setWidth=Ext.emptyFn;b.setSize=Ext.emptyFn;b.dom.scroll="no";c.allowDomMove=false;Ext.EventManager.onWindowResize(c.fireResize,c);c.renderTo=c.el;c.width=Ext.core.Element.getViewportWidth();c.height=Ext.core.Element.getViewportHeight()},fireResize:function(a,b){this.setSize(a,b)}});Ext.define("Ext.dd.DDTarget",{extend:"Ext.dd.DragDrop",constructor:function(c,a,b){if(c){this.initTarget(c,a,b)}},getDragEl:Ext.emptyFn,isValidHandleChild:Ext.emptyFn,startDrag:Ext.emptyFn,endDrag:Ext.emptyFn,onDrag:Ext.emptyFn,onDragDrop:Ext.emptyFn,onDragEnter:Ext.emptyFn,onDragOut:Ext.emptyFn,onDragOver:Ext.emptyFn,onInvalidDrop:Ext.emptyFn,onMouseDown:Ext.emptyFn,onMouseUp:Ext.emptyFn,setXConstraint:Ext.emptyFn,setYConstraint:Ext.emptyFn,resetConstraints:Ext.emptyFn,clearConstraints:Ext.emptyFn,clearTicks:Ext.emptyFn,setInitPosition:Ext.emptyFn,setDragElId:Ext.emptyFn,setHandleElId:Ext.emptyFn,setOuterHandleElId:Ext.emptyFn,addInvalidHandleClass:Ext.emptyFn,addInvalidHandleId:Ext.emptyFn,addInvalidHandleType:Ext.emptyFn,removeInvalidHandleClass:Ext.emptyFn,removeInvalidHandleId:Ext.emptyFn,removeInvalidHandleType:Ext.emptyFn,toString:function(){return("DDTarget "+this.id)}});Ext.define("Ext.dd.DragTracker",{uses:["Ext.util.Region"],mixins:{observable:"Ext.util.Observable"},active:false,trackOver:false,tolerance:5,autoStart:false,constructor:function(a){Ext.apply(this,a);this.addEvents("mouseover","mouseout","mousedown","mouseup","mousemove","beforedragstart","dragstart","dragend","drag");this.dragRegion=Ext.create("Ext.util.Region",0,0,0,0);if(this.el){this.initEl(this.el)}this.mixins.observable.constructor.call(this);if(this.disabled){this.disable()}},initEl:function(a){this.el=Ext.get(a);this.handle=Ext.get(this.delegate);this.delegate=this.handle?undefined:this.delegate;if(!this.handle){this.handle=this.el}this.mon(this.handle,{mousedown:this.onMouseDown,delegate:this.delegate,scope:this});if(this.trackOver||this.overCls){this.mon(this.handle,{mouseover:this.onMouseOver,mouseout:this.onMouseOut,delegate:this.delegate,scope:this})}},disable:function(){this.disabled=true},enable:function(){this.disabled=false},destroy:function(){this.clearListeners();delete this.el},onMouseOver:function(c,b){var a=this;if(!a.disabled){if(Ext.EventManager.contains(c)||a.delegate){a.mouseIsOut=false;if(a.overCls){a.el.addCls(a.overCls)}a.fireEvent("mouseover",a,c,a.delegate?c.getTarget(a.delegate,b):a.handle)}}},onMouseOut:function(a){if(this.mouseIsDown){this.mouseIsOut=true}else{if(this.overCls){this.el.removeCls(this.overCls)}this.fireEvent("mouseout",this,a)}},onMouseDown:function(b,a){if(this.disabled||b.dragTracked){return}this.dragTarget=this.delegate?a:this.handle.dom;this.startXY=this.lastXY=b.getXY();this.startRegion=Ext.fly(this.dragTarget).getRegion();if(this.fireEvent("mousedown",this,b)===false||this.fireEvent("beforedragstart",this,b)===false||this.onBeforeStart(b)===false){return}this.mouseIsDown=true;b.dragTracked=true;if(this.preventDefault!==false){b.preventDefault()}Ext.getDoc().on({scope:this,mouseup:this.onMouseUp,mousemove:this.onMouseMove,selectstart:this.stopSelect});if(this.autoStart){this.timer=Ext.defer(this.triggerStart,this.autoStart===true?1000:this.autoStart,this,[b])}},onMouseMove:function(d,c){if(this.active&&Ext.isIE&&!d.browserEvent.button){d.preventDefault();this.onMouseUp(d);return}d.preventDefault();var b=d.getXY(),a=this.startXY;this.lastXY=b;if(!this.active){if(Math.max(Math.abs(a[0]-b[0]),Math.abs(a[1]-b[1]))>this.tolerance){this.triggerStart(d)}else{return}}if(this.fireEvent("mousemove",this,d)===false){this.onMouseUp(d)}else{this.onDrag(d);this.fireEvent("drag",this,d)}},onMouseUp:function(a){this.mouseIsDown=false;if(this.mouseIsOut){this.mouseIsOut=false;this.onMouseOut(a)}a.preventDefault();this.fireEvent("mouseup",this,a);this.endDrag(a)},endDrag:function(c){var b=Ext.getDoc(),a=this.active;b.un("mousemove",this.onMouseMove,this);b.un("mouseup",this.onMouseUp,this);b.un("selectstart",this.stopSelect,this);this.clearStart();this.active=false;if(a){this.onEnd(c);this.fireEvent("dragend",this,c)}delete this._constrainRegion;delete Ext.EventObject.dragTracked},triggerStart:function(a){this.clearStart();this.active=true;this.onStart(a);this.fireEvent("dragstart",this,a)},clearStart:function(){if(this.timer){clearTimeout(this.timer);delete this.timer}},stopSelect:function(a){a.stopEvent();return false},onBeforeStart:function(a){},onStart:function(a){},onDrag:function(a){},onEnd:function(a){},getDragTarget:function(){return this.dragTarget},getDragCt:function(){return this.el},getConstrainRegion:function(){if(this.constrainTo){if(this.constrainTo instanceof Ext.util.Region){return this.constrainTo}if(!this._constrainRegion){this._constrainRegion=Ext.fly(this.constrainTo).getViewRegion()}}else{if(!this._constrainRegion){this._constrainRegion=this.getDragCt().getViewRegion()}}return this._constrainRegion},getXY:function(a){return a?this.constrainModes[a](this,this.lastXY):this.lastXY},getOffset:function(c){var b=this.getXY(c),a=this.startXY;return[b[0]-a[0],b[1]-a[1]]},constrainModes:{point:function(b,d){var c=b.dragRegion,a=b.getConstrainRegion();if(!a){return d}c.x=c.left=c[0]=c.right=d[0];c.y=c.top=c[1]=c.bottom=d[1];c.constrainTo(a);return[c.left,c.top]},dragTarget:function(c,g){var b=c.startXY,e=c.startRegion.copy(),a=c.getConstrainRegion(),d;if(!a){return g}e.translateBy(g[0]-b[0],g[1]-b[1]);if(e.right>a.right){g[0]+=d=(a.right-e.right);e.left+=d}if(e.lefta.bottom){g[1]+=d=(a.bottom-e.bottom);e.top+=d}if(e.top'],initComponent:function(){this.callParent();this.addEvents("success","failure")},onRender:function(){var c=this,e,d,b,a=c.getSwfId();c.renderData.swfId=a;c.callParent(arguments);e=Ext.apply({allowScriptAccess:"always",bgcolor:c.backgroundColor,wmode:c.wmode},c.flashParams);d=Ext.apply({allowedDomain:document.location.hostname},c.flashVars);new swfobject.embedSWF(c.url,a,c.swfWidth,c.swfHeight,c.flashVersion,c.expressInstall?c.statics.EXPRESS_INSTALL_URL:b,d,e,c.flashAttributes,Ext.bind(c.swfCallback,c))},swfCallback:function(b){var a=this;if(b.success){a.swf=Ext.get(b.ref);a.onSuccess();a.fireEvent("success",a)}else{a.onFailure();a.fireEvent("failure",a)}},getSwfId:function(){return this.swfId||(this.swfId="extswf"+this.getAutoId())},onSuccess:function(){this.swf.setStyle("visibility","inherit")},onFailure:Ext.emptyFn,beforeDestroy:function(){var b=this,a=b.swf;if(a){swfobject.removeSWF(b.getSwfId());Ext.destroy(a);delete b.swf}b.callParent()},statics:{EXPRESS_INSTALL_URL:"http://swfobject.googlecode.com/svn/trunk/swfobject/expressInstall.swf"}});Ext.define("Ext.form.action.Action",{alternateClassName:"Ext.form.Action",constructor:function(a){if(a){Ext.apply(this,a)}var b=a.params;if(Ext.isString(b)){this.params=Ext.Object.fromQueryString(b)}},run:Ext.emptyFn,onFailure:function(a){this.response=a;this.failureType=Ext.form.action.Action.CONNECT_FAILURE;this.form.afterAction(this,false)},processResponse:function(a){this.response=a;if(!a.responseText&&!a.responseXML){return true}return(this.result=this.handleResponse(a))},getUrl:function(){return this.url||this.form.url},getMethod:function(){return(this.method||this.form.method||"POST").toUpperCase()},getParams:function(){return Ext.apply({},this.params,this.form.baseParams)},createCallback:function(){var c=this,a,b=c.form;return{success:c.onSuccess,failure:c.onFailure,scope:c,timeout:(this.timeout*1000)||(b.timeout*1000),upload:b.fileUpload?c.onSuccess:a}},statics:{CLIENT_INVALID:"client",SERVER_INVALID:"server",CONNECT_FAILURE:"connect",LOAD_FAILURE:"load"}});Ext.define("Ext.form.action.Submit",{extend:"Ext.form.action.Action",alternateClassName:"Ext.form.Action.Submit",alias:"formaction.submit",type:"submit",run:function(){var a=this.form;if(this.clientValidation===false||a.isValid()){this.doSubmit()}else{this.failureType=Ext.form.action.Action.CLIENT_INVALID;a.afterAction(this,false)}},doSubmit:function(){var b,a=Ext.apply(this.createCallback(),{url:this.getUrl(),method:this.getMethod(),headers:this.headers});if(this.form.hasUpload()){b=a.form=this.buildForm();a.isUpload=true}else{a.params=this.getParams()}Ext.Ajax.request(a);if(b){Ext.removeNode(b)}},getParams:function(){var c=false,b=this.callParent(),a=this.form.getValues(c,c,this.submitEmptyText!==c);return Ext.apply({},a,b)},buildForm:function(){var c=[],d,e,b=this.form,h=this.getParams(),a=[];b.getFields().each(function(i){if(i.isFileUpload()){a.push(i)}});function g(i,j){c.push({tag:"input",type:"hidden",name:i,value:Ext.String.htmlEncode(j)})}Ext.iterate(h,function(i,j){if(Ext.isArray(j)){Ext.each(j,function(k){g(i,k)})}else{g(i,j)}});d={tag:"form",action:this.getUrl(),method:this.getMethod(),target:this.target||"_self",style:"display:none",cn:c};if(a.length){d.encoding=d.enctype="multipart/form-data"}e=Ext.core.DomHelper.append(Ext.getBody(),d);Ext.Array.each(a,function(i){if(i.rendered){e.appendChild(i.extractFileInput())}});return e},onSuccess:function(b){var c=this.form,d=true,a=this.processResponse(b);if(a!==true&&!a.success){if(a.errors){c.markInvalid(a.errors)}this.failureType=Ext.form.action.Action.SERVER_INVALID;d=false}c.afterAction(this,d)},handleResponse:function(d){var h=this.form,e=h.errorReader,c,j,g,a,b;if(e){c=e.read(d);b=c.records;j=[];if(b){for(g=0,a=b.length;g',' for="{inputId}" class="{labelCls}" style="{labelStyle}">','{fieldLabel}{labelSeparator}',"","",'
    id="{baseBodyCls}-{inputId}" role="presentation">{subTplMarkup}
    ','','',{compiled:true,disableFormats:true}],activeErrorsTpl:['','
      class="last">{.}
    ',"
    "],isFieldLabelable:true,formItemCls:Ext.baseCSSPrefix+"form-item",labelCls:Ext.baseCSSPrefix+"form-item-label",errorMsgCls:Ext.baseCSSPrefix+"form-error-msg",baseBodyCls:Ext.baseCSSPrefix+"form-item-body",fieldBodyCls:"",clearCls:Ext.baseCSSPrefix+"clear",invalidCls:Ext.baseCSSPrefix+"form-invalid",fieldLabel:undefined,labelAlign:"left",labelWidth:100,labelPad:5,labelSeparator:":",hideLabel:false,hideEmptyLabel:true,preventMark:false,autoFitErrors:true,msgTarget:"qtip",initLabelable:function(){this.addCls(this.formItemCls);this.addEvents("errorchange")},getFieldLabel:function(){return this.fieldLabel||""},getLabelableRenderData:function(){var d=this,b=d.labelAlign,c=d.labelPad,a;if(b==="top"){a="margin-bottom:"+c+"px;"}else{a="margin-right:"+c+"px;";if(Ext.isBorderBox){a+="width:"+d.labelWidth+"px;"}}return Ext.copyTo({inputId:d.getInputId(),fieldLabel:d.getFieldLabel(),labelStyle:a+(d.labelStyle||""),subTplMarkup:d.getSubTplMarkup()},d,"hideLabel,hideEmptyLabel,labelCls,fieldBodyCls,baseBodyCls,errorMsgCls,clearCls,labelSeparator",true)},getLabelableSelectors:function(){return{labelEl:"label."+this.labelCls,bodyEl:"."+this.baseBodyCls,errorEl:"."+this.errorMsgCls}},getSubTplMarkup:function(){return""},getInputId:function(){return""},getActiveError:function(){return this.activeError||""},hasActiveError:function(){return !!this.getActiveError()},setActiveError:function(a){this.activeError=a;this.activeErrors=[a];this.renderActiveError()},getActiveErrors:function(){return this.activeErrors||[]},setActiveErrors:function(a){this.activeErrors=a;this.activeError=this.getTpl("activeErrorsTpl").apply({errors:a});this.renderActiveError()},unsetActiveError:function(){delete this.activeError;delete this.activeErrors;this.renderActiveError()},renderActiveError:function(){var c=this,b=c.getActiveError(),a=!!b;if(b!==c.lastActiveError){c.fireEvent("errorchange",c,b);c.lastActiveError=b}if(c.rendered&&!c.isDestroyed&&!c.preventMark){c.el[a?"addCls":"removeCls"](c.invalidCls);c.getActionEl().dom.setAttribute("aria-invalid",a);c.errorEl.dom.innerHTML=b}},setFieldDefaults:function(b){var a=this;Ext.iterate(b,function(c,d){if(!a.hasOwnProperty(c)){a[c]=d}})},getBodyNaturalWidth:function(){return this.bodyEl.getWidth()}});Ext.define("Ext.form.field.Field",{isFormField:true,disabled:false,submitValue:true,validateOnChange:true,suspendCheckChange:0,initField:function(){this.addEvents("change","validitychange","dirtychange");this.initValue()},initValue:function(){var a=this;a.originalValue=a.lastValue=a.value;a.suspendCheckChange++;a.setValue(a.value);a.suspendCheckChange--},getName:function(){return this.name},getValue:function(){return this.value},setValue:function(b){var a=this;a.value=b;a.checkChange();return a},isEqual:function(b,a){return String(b)===String(a)},getSubmitData:function(){var a=this,b=null;if(!a.disabled&&a.submitValue&&!a.isFileUpload()){b={};b[a.getName()]=""+a.getValue()}return b},getModelData:function(){var a=this,b=null;if(!a.disabled&&!a.isFileUpload()){b={};b[a.getName()]=a.getValue()}return b},reset:function(){var a=this;a.setValue(a.originalValue);a.clearInvalid();delete a.wasValid},resetOriginalValue:function(){this.originalValue=this.getValue();this.checkDirty()},checkChange:function(){if(!this.suspendCheckChange){var c=this,b=c.getValue(),a=c.lastValue;if(!c.isEqual(b,a)&&!c.isDestroyed){c.lastValue=b;c.fireEvent("change",c,b,a);c.onChange(b,a)}}},onChange:function(b,a){if(this.validateOnChange){this.validate()}this.checkDirty()},isDirty:function(){var a=this;return !a.disabled&&!a.isEqual(a.getValue(),a.originalValue)},checkDirty:function(){var a=this,b=a.isDirty();if(b!==a.wasDirty){a.fireEvent("dirtychange",a,b);a.onDirtyChange(b);a.wasDirty=b}},onDirtyChange:Ext.emptyFn,getErrors:function(a){return[]},isValid:function(){var a=this;return a.disabled||Ext.isEmpty(a.getErrors())},validate:function(){var a=this,b=a.isValid();if(b!==a.wasValid){a.wasValid=b;a.fireEvent("validitychange",a,b)}return b},batchChanges:function(a){this.suspendCheckChange++;a();this.suspendCheckChange--;this.checkChange()},isFileUpload:function(){return false},extractFileInput:function(){return null},markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn});Ext.define("Ext.layout.component.field.Field",{alias:["layout.field"],extend:"Ext.layout.component.Component",uses:["Ext.tip.QuickTip","Ext.util.TextMetrics"],type:"field",beforeLayout:function(b,a){var c=this;return c.callParent(arguments)||(!c.owner.preventMark&&c.activeError!==c.owner.getActiveError())},onLayout:function(a,m){var g=this,b=g.owner,e=g.getLabelStrategy(),l=g.getErrorStrategy(),j=Ext.isDefined,n=Ext.isNumber,i,h,k,c,d;i=g.lastComponentSize||{};if(!j(a)){a=i.width;if(a<0){a=d}}if(!j(m)){m=i.height;if(m<0){m=d}}h=!n(a);k=!n(m);c={autoWidth:h,autoHeight:k,width:h?b.getBodyNaturalWidth():a,height:m,setOuterWidth:false,insets:{top:0,right:0,bottom:0,left:0}};e.prepare(b,c);l.prepare(b,c);e.adjustHorizInsets(b,c);l.adjustHorizInsets(b,c);e.layoutHoriz(b,c);l.layoutHoriz(b,c);e.adjustVertInsets(b,c);l.adjustVertInsets(b,c);e.layoutVert(b,c);l.layoutVert(b,c);if(h&&k){g.setElementSize(b.el,(c.setOuterWidth?c.width:d),c.height)}else{g.setTargetSize((!h||c.setOuterWidth?c.width:d),c.height)}g.sizeBody(c);g.activeError=b.getActiveError()},sizeBody:function(i){var h=this,c=h.owner,d=i.insets,b=i.width,e=i.height,g=Ext.isNumber(b)?b-d.left-d.right:b,a=Ext.isNumber(e)?e-d.top-d.bottom:e;h.setElementSize(c.bodyEl,g,a);h.sizeBodyContents(g,a)},sizeBodyContents:Ext.emptyFn,getLabelStrategy:function(){var b=this,c=b.labelStrategies,a=b.owner.labelAlign;return c[a]||c.base},getErrorStrategy:function(){var c=this,a=c.owner,d=c.errorStrategies,b=a.msgTarget;return !a.preventMark&&Ext.isString(b)?(d[b]||d.elementId):d.none},labelStrategies:(function(){var b=Ext.applyIf,a=Ext.emptyFn,c={prepare:function(e,i){var g=e.labelCls+"-"+e.labelAlign,h=e.labelEl;if(h&&!h.hasCls(g)){h.addCls(g)}},adjustHorizInsets:a,adjustVertInsets:a,layoutHoriz:a,layoutVert:a},d=b({prepare:function(e,g){c.prepare(e,g);if(g.autoWidth){g.width+=(!e.labelEl?0:e.labelWidth+e.labelPad)}g.setOuterWidth=true},adjustHorizInsets:function(e,g){if(e.labelEl){g.insets.left+=e.labelWidth+e.labelPad}},layoutHoriz:function(e,h){var g=e.labelEl;if(g&&!e.isLabelSized&&!Ext.isBorderBox){g.setWidth(e.labelWidth);e.isLabelSized=true}}},c);return{base:c,top:b({adjustVertInsets:function(e,h){var g=e.labelEl;if(g){h.insets.top+=Ext.util.TextMetrics.measure(g,e.fieldLabel,h.width).height+g.getFrameWidth("tb")+e.labelPad}}},c),left:d,right:d}})(),errorStrategies:(function(){function c(h,g){var i=h.getStyle("display")!=="none";if(g!==i){h.setDisplayed(g)}}function e(h,g,i){if(h.getStyle(g)!==i){h.setStyle(g,i)}}var b=Ext.applyIf,a=Ext.emptyFn,d={prepare:function(g){c(g.errorEl,false)},adjustHorizInsets:a,adjustVertInsets:a,layoutHoriz:a,layoutVert:a};return{none:d,side:b({prepare:function(g){var h=g.errorEl;h.addCls(Ext.baseCSSPrefix+"form-invalid-icon");Ext.layout.component.field.Field.initTip();h.dom.setAttribute("data-errorqtip",g.getActiveError()||"");c(h,g.hasActiveError())},adjustHorizInsets:function(g,h){if(g.autoFitErrors&&g.hasActiveError()){h.insets.right+=g.errorEl.getWidth()}},layoutHoriz:function(g,h){if(g.hasActiveError()){e(g.errorEl,"left",h.width-h.insets.right+"px")}},layoutVert:function(g,h){if(g.hasActiveError()){e(g.errorEl,"top",h.insets.top+"px")}}},d),under:b({prepare:function(g){var i=g.errorEl,h=Ext.baseCSSPrefix+"form-invalid-under";if(!i.hasCls(h)){i.addCls(h)}c(i,g.hasActiveError())},adjustVertInsets:function(g,h){if(g.autoFitErrors){h.insets.bottom+=g.errorEl.getHeight()}},layoutHoriz:function(g,i){var j=g.errorEl,h=i.insets;e(j,"width",i.width-h.right-h.left+"px");e(j,"marginLeft",h.left+"px")}},d),qtip:b({prepare:function(g){c(g.errorEl,false);Ext.layout.component.field.Field.initTip();g.getActionEl().dom.setAttribute("data-errorqtip",g.getActiveError()||"")}},d),title:b({prepare:function(g){c(g.errorEl,false);g.el.dom.title=g.getActiveError()||""}},d),elementId:b({prepare:function(g){c(g.errorEl,false);var h=Ext.fly(g.msgTarget);if(h){h.dom.innerHTML=g.getActiveError()||"";h.setDisplayed(g.hasActiveError())}}},d)}})(),statics:{initTip:function(){var a=this.tip;if(!a){a=this.tip=Ext.create("Ext.tip.QuickTip",{baseCls:Ext.baseCSSPrefix+"form-invalid-tip",renderTo:Ext.getBody()});a.tagConfig=Ext.apply({},{attribute:"errorqtip"},a.tagConfig)}},destroyTip:function(){var a=this.tip;if(a){a.destroy();delete this.tip}}}});Ext.define("Ext.form.field.VTypes",(function(){var c=/^[a-zA-Z_]+$/,d=/^[a-zA-Z0-9_]+$/,b=/^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/,a=/(((^https?)|(^ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@&#;`~=%!]*)(\.\w{2,})?)*\/?)/i;return{singleton:true,alternateClassName:"Ext.form.VTypes",email:function(e){return b.test(e)},emailText:'This field should be an e-mail address in the format "user@example.com"',emailMask:/[a-z0-9_\.\-@\+]/i,url:function(e){return a.test(e)},urlText:'This field should be a URL in the format "http://www.example.com"',alpha:function(e){return c.test(e)},alphaText:"This field should only contain letters and _",alphaMask:/[a-z_]/i,alphanum:function(e){return d.test(e)},alphanumText:"This field should only contain letters, numbers and _",alphanumMask:/[a-z0-9_]/i}})());Ext.define("Ext.layout.component.field.Text",{extend:"Ext.layout.component.field.Field",alias:"layout.textfield",requires:["Ext.util.TextMetrics"],type:"textfield",beforeLayout:function(d,b){var e=this,a=e.owner,c=this.lastValue,g=a.getRawValue();this.lastValue=g;return e.callParent(arguments)||(a.grow&&g!==c)},sizeBodyContents:function(c,a){var b=this.adjustForGrow(c,a);this.setElementSize(this.owner.inputEl,b[0],b[1])},adjustForGrow:function(e,c){var g=this,b=g.owner,i,h,d,a=[e,c];if(b.grow){i=b.inputEl;h=(i.dom.value||(b.hasFocus?"":b.emptyText)||"")+b.growAppend;d=i.getTextWidth(h)+i.getBorderWidth("lr")+i.getPadding("lr");a[0]=Ext.Number.constrain(d,b.growMin,Math.max(b.growMin,Math.min(b.growMax,Ext.isNumber(e)?e:Infinity)))}return a}});Ext.define("Ext.layout.component.field.TextArea",{extend:"Ext.layout.component.field.Text",alias:"layout.textareafield",type:"textareafield",adjustForGrow:function(a,k){var e=this,b=e.owner,i,h,g,d,c,j,l=[a,k];if(b.grow){i=b.inputEl;d=i.getWidth(true);c=i.getHeight();h=i.dom.value||" ";h+=b.growAppend;h=h.replace(/\n/g,"
    ");j=Ext.util.TextMetrics.measure(i,h,d).height+i.getBorderWidth("tb")+i.getPadding("tb");g=b.growMax;if(Ext.isNumber(k)){g=Math.min(g,k)}l[1]=Ext.Number.constrain(j,b.growMin,g)}return l}});Ext.define("Ext.layout.container.Anchor",{alias:"layout.anchor",extend:"Ext.layout.container.Container",alternateClassName:"Ext.layout.AnchorLayout",type:"anchor",defaultAnchor:"100%",parseAnchorRE:/^(r|right|b|bottom)$/i,onLayout:function(){this.callParent(arguments);var t=this,m=t.getLayoutTargetSize(),a=t.owner,v=t.getTarget(),u=m.width,k=m.height,n=v.getStyle("overflow"),l=t.getVisibleItems(a),r=l.length,e=[],h,p,j,g,c,d,q,b,s;if(u<20&&k<20){return}if(!t.clearEl){t.clearEl=v.createChild({cls:Ext.baseCSSPrefix+"clear",role:"presentation"})}if(!Ext.supports.RightMargin){s=Ext.core.Element.getRightMarginFixCleaner(v);v.addCls(Ext.baseCSSPrefix+"inline-children")}for(q=0;qname="{name}" ','size="{size}" ','tabIndex="{tabIdx}" ','class="{fieldCls} {typeCls}" autocomplete="off" />',{compiled:true,disableFormats:true}],inputType:"text",invalidText:"The value in this field is invalid",fieldCls:Ext.baseCSSPrefix+"form-field",focusCls:Ext.baseCSSPrefix+"form-focus",dirtyCls:Ext.baseCSSPrefix+"form-dirty",checkChangeEvents:Ext.isIE&&(!document.documentMode||document.documentMode<9)?["change","propertychange"]:["change","input","textInput","keyup","dragdrop"],checkChangeBuffer:50,componentLayout:"field",readOnly:false,readOnlyCls:Ext.baseCSSPrefix+"form-readonly",validateOnBlur:true,hasFocus:false,baseCls:Ext.baseCSSPrefix+"field",maskOnDisable:false,initComponent:function(){var a=this;a.callParent();a.subTplData=a.subTplData||{};a.addEvents("focus","blur","specialkey");a.initLabelable();a.initField();if(!a.name){a.name=a.getInputId()}},getInputId:function(){return this.inputId||(this.inputId=Ext.id())},getSubTplData:function(){var c=this,b=c.inputType,a=c.getInputId();return Ext.applyIf(c.subTplData,{id:a,name:c.name||a,type:b,size:c.size||20,cls:c.cls,fieldCls:c.fieldCls,tabIdx:c.tabIndex,typeCls:Ext.baseCSSPrefix+"form-"+(b==="password"?"text":b)})},getSubTplMarkup:function(){return this.getTpl("fieldSubTpl").apply(this.getSubTplData())},initRenderTpl:function(){var a=this;if(!a.hasOwnProperty("renderTpl")){a.renderTpl=a.getTpl("labelableRenderTpl")}return a.callParent()},initRenderData:function(){return Ext.applyIf(this.callParent(),this.getLabelableRenderData())},setFieldStyle:function(a){var b=this,c=b.inputEl;if(c){c.applyStyles(a)}b.fieldStyle=a},onRender:function(){var c=this,b=c.fieldStyle,a=c.renderSelectors;Ext.applyIf(a,c.getLabelableSelectors());Ext.applyIf(a,{inputEl:"."+c.fieldCls});c.callParent(arguments);c.setRawValue(c.rawValue);if(c.readOnly){c.setReadOnly(true)}if(c.disabled){c.disable()}if(b){c.setFieldStyle(b)}c.renderActiveError()},initAria:function(){var a=this;a.callParent();a.getActionEl().dom.setAttribute("aria-describedby",Ext.id(a.errorEl))},getFocusEl:function(){return this.inputEl},isFileUpload:function(){return this.inputType==="file"},extractFileInput:function(){var b=this,a=b.isFileUpload()?b.inputEl.dom:null,c;if(a){c=a.cloneNode(true);a.parentNode.replaceChild(c,a);b.inputEl=Ext.get(c)}return a},getSubmitData:function(){var a=this,b=null,c;if(!a.disabled&&a.submitValue&&!a.isFileUpload()){c=a.getSubmitValue();if(c!==null){b={};b[a.getName()]=c}}return b},getSubmitValue:function(){return this.processRawValue(this.getRawValue())},getRawValue:function(){var b=this,a=(b.inputEl?b.inputEl.getValue():Ext.value(b.rawValue,""));b.rawValue=a;return a},setRawValue:function(b){var a=this;b=Ext.value(b,"");a.rawValue=b;if(a.inputEl){a.inputEl.dom.value=b}return b},valueToRaw:function(a){return""+Ext.value(a,"")},rawToValue:function(a){return a},processRawValue:function(a){return a},getValue:function(){var a=this,b=a.rawToValue(a.processRawValue(a.getRawValue()));a.value=b;return b},setValue:function(b){var a=this;a.setRawValue(a.valueToRaw(b));return a.mixins.field.setValue.call(a,b)},onDisable:function(){var a=this,b=a.inputEl;a.callParent();if(b){b.dom.disabled=true}},onEnable:function(){var a=this,b=a.inputEl;a.callParent();if(b){b.dom.disabled=false}},setReadOnly:function(c){var a=this,b=a.inputEl;if(b){b.dom.readOnly=c;b.dom.setAttribute("aria-readonly",c)}a[c?"addCls":"removeCls"](a.readOnlyCls);a.readOnly=c},fireKey:function(a){if(a.isSpecialKey()){this.fireEvent("specialkey",this,Ext.create("Ext.EventObjectImpl",a))}},initEvents:function(){var b=this,c=b.inputEl,a,d;if(c){b.mon(c,Ext.EventManager.getKeyEvent(),b.fireKey,b);b.mon(c,"focus",b.onFocus,b);b.mon(c,"blur",b.onBlur,b,b.inEditor?{buffer:10}:null);a=Ext.create("Ext.util.DelayedTask",b.checkChange,b);b.onChangeEvent=d=function(){a.delay(b.checkChangeBuffer)};Ext.each(b.checkChangeEvents,function(e){if(e==="propertychange"){b.usesPropertychange=true}b.mon(c,e,d)},b)}b.callParent()},doComponentLayout:function(){var c=this,d=c.inputEl,a=c.usesPropertychange,b="propertychange",e=c.onChangeEvent;if(a){c.mun(d,b,e)}c.callParent(arguments);if(a){c.mon(d,b,e)}},preFocus:Ext.emptyFn,onFocus:function(){var b=this,a=b.focusCls,c=b.inputEl;b.preFocus();if(a&&c){c.addCls(a)}if(!b.hasFocus){b.hasFocus=true;b.fireEvent("focus",b)}},beforeBlur:Ext.emptyFn,onBlur:function(){var b=this,a=b.focusCls,c=b.inputEl;b.beforeBlur();if(a&&c){c.removeCls(a)}if(b.validateOnBlur){b.validate()}b.hasFocus=false;b.fireEvent("blur",b);b.postBlur()},postBlur:Ext.emptyFn,onDirtyChange:function(a){this[a?"addCls":"removeCls"](this.dirtyCls)},isValid:function(){var a=this;return a.disabled||a.validateValue(a.processRawValue(a.getRawValue()))},validateValue:function(b){var a=this,d=a.getErrors(b),c=Ext.isEmpty(d);if(!a.preventMark){if(c){a.clearInvalid()}else{a.markInvalid(d)}}return c},markInvalid:function(c){var b=this,a=b.getActiveError();b.setActiveErrors(Ext.Array.from(c));if(a!==b.getActiveError()){b.doComponentLayout()}},clearInvalid:function(){var b=this,a=b.hasActiveError();b.unsetActiveError();if(a){b.doComponentLayout()}},renderActiveError:function(){var b=this,a=b.hasActiveError();if(b.inputEl){b.inputEl[a?"addCls":"removeCls"](b.invalidCls+"-field")}b.mixins.labelable.renderActiveError.call(b)},getActionEl:function(){return this.inputEl||this.el}});Ext.define("Ext.form.field.Text",{extend:"Ext.form.field.Base",alias:"widget.textfield",requires:["Ext.form.field.VTypes","Ext.layout.component.field.Text"],alternateClassName:["Ext.form.TextField","Ext.form.Text"],size:20,growMin:30,growMax:800,growAppend:"W",allowBlank:true,minLength:0,maxLength:Number.MAX_VALUE,minLengthText:"The minimum length for this field is {0}",maxLengthText:"The maximum length for this field is {0}",blankText:"This field is required",regexText:"",emptyCls:Ext.baseCSSPrefix+"form-empty-field",ariaRole:"textbox",componentLayout:"textfield",initComponent:function(){this.callParent();this.addEvents("autosize","keydown","keyup","keypress")},initEvents:function(){var b=this,a=b.inputEl;b.callParent();if(b.selectOnFocus||b.emptyText){b.mon(a,"mousedown",b.onMouseDown,b)}if(b.maskRe||(b.vtype&&b.disableKeyFilter!==true&&(b.maskRe=Ext.form.field.VTypes[b.vtype+"Mask"]))){b.mon(a,"keypress",b.filterKeys,b)}if(b.enableKeyEvents){b.mon(a,{scope:b,keyup:b.onKeyUp,keydown:b.onKeyDown,keypress:b.onKeyPress})}},isEqual:function(b,a){return String(Ext.value(b,""))===String(Ext.value(a,""))},onChange:function(){this.callParent();this.autoSize()},afterRender:function(){var a=this;if(a.enforceMaxLength){a.inputEl.dom.maxLength=a.maxLength}a.applyEmptyText();a.autoSize();a.callParent()},onMouseDown:function(b){var a=this;if(!a.hasFocus){a.mon(a.inputEl,"mouseup",Ext.emptyFn,a,{single:true,preventDefault:true})}},processRawValue:function(b){var a=this,d=a.stripCharsRe,c;if(d){c=b.replace(d,"");if(c!==b){a.setRawValue(c);b=c}}return b},onDisable:function(){this.callParent();if(Ext.isIE){this.inputEl.dom.unselectable="on"}},onEnable:function(){this.callParent();if(Ext.isIE){this.inputEl.dom.unselectable=""}},onKeyDown:function(a){this.fireEvent("keydown",this,a)},onKeyUp:function(a){this.fireEvent("keyup",this,a)},onKeyPress:function(a){this.fireEvent("keypress",this,a)},reset:function(){this.callParent();this.applyEmptyText()},applyEmptyText:function(){var b=this,a=b.emptyText,c;if(b.rendered&&a){c=b.getRawValue().length<1&&!b.hasFocus;if(Ext.supports.Placeholder){b.inputEl.dom.placeholder=a}else{if(c){b.setRawValue(a)}}if(c){b.inputEl.addCls(b.emptyCls)}b.autoSize()}},preFocus:function(){var b=this,c=b.inputEl,a=b.emptyText,d;if(a&&!Ext.supports.Placeholder&&c.dom.value===a){b.setRawValue("");d=true;c.removeCls(b.emptyCls)}else{if(Ext.supports.Placeholder){b.inputEl.removeCls(b.emptyCls)}}if(b.selectOnFocus||d){c.dom.select()}},onFocus:function(){var a=this;a.callParent(arguments);if(a.emptyText){a.autoSize()}},postBlur:function(){this.applyEmptyText()},filterKeys:function(c){if(c.ctrlKey){return}var b=c.getKey(),a=String.fromCharCode(c.getCharCode());if(Ext.isGecko&&(c.isNavKeyPress()||b===c.BACKSPACE||(b===c.DELETE&&c.button===-1))){return}if(!Ext.isGecko&&c.isSpecialKey()&&!a){return}if(!this.maskRe.test(a)){c.stopEvent()}},getRawValue:function(){var b=this,a=b.callParent();if(a===b.emptyText){a=""}return a},setValue:function(b){var a=this,c=a.inputEl;if(c&&a.emptyText&&!Ext.isEmpty(b)){c.removeCls(a.emptyCls)}a.callParent(arguments);a.applyEmptyText();return a},getErrors:function(l){var g=this,k=g.callParent(arguments),a=g.validator,d=g.emptyText,c=g.allowBlank,e=g.vtype,h=Ext.form.field.VTypes,i=g.regex,j=Ext.String.format,b;l=l||g.processRawValue(g.getRawValue());if(Ext.isFunction(a)){b=a.call(g,l);if(b!==true){k.push(b)}}if(l.length<1||l===d){if(!c){k.push(g.blankText)}return k}if(l.lengthg.maxLength){k.push(j(g.maxLengthText,g.maxLength))}if(e){if(!h[e](l,g)){k.push(g.vtypeText||h[e+"Text"])}}if(i&&!i.test(l)){k.push(g.regexText||g.invalidText)}return k},selectText:function(i,a){var h=this,c=h.getRawValue(),d=true,g=h.inputEl.dom,e,b;if(c.length>0){i=i===e?0:i;a=a===e?c.length:a;if(g.setSelectionRange){g.setSelectionRange(i,a)}else{if(g.createTextRange){b=g.createTextRange();b.moveStart("character",i);b.moveEnd("character",a-c.length);b.select()}}d=Ext.isGecko||Ext.isOpera}if(d){h.focus()}},autoSize:function(){var b=this,a;if(b.grow&&b.rendered){b.doComponentLayout();a=b.inputEl.getWidth();if(a!==b.lastInputWidth){b.fireEvent("autosize",a);b.lastInputWidth=a}}},initAria:function(){this.callParent();this.getActionEl().dom.setAttribute("aria-required",this.allowBlank===false)},getBodyNaturalWidth:function(){return Math.round(this.size*6.5)+20}});Ext.define("Ext.form.field.TextArea",{extend:"Ext.form.field.Text",alias:["widget.textareafield","widget.textarea"],alternateClassName:"Ext.form.TextArea",requires:["Ext.XTemplate","Ext.layout.component.field.TextArea"],fieldSubTpl:['",{compiled:true,disableFormats:true}],growMin:60,growMax:1000,growAppend:"\n-",cols:20,rows:4,enterIsSpecial:false,preventScrollbars:false,componentLayout:"textareafield",onRender:function(b,a){var c=this;Ext.applyIf(c.subTplData,{cols:c.cols,rows:c.rows});c.callParent(arguments)},afterRender:function(){var a=this;a.callParent(arguments);if(a.grow){if(a.preventScrollbars){a.inputEl.setStyle("overflow","hidden")}a.inputEl.setHeight(a.growMin)}},fireKey:function(a){if(a.isSpecialKey()&&(this.enterIsSpecial||(a.getKey()!==a.ENTER||a.hasModifier()))){this.fireEvent("specialkey",this,a)}},autoSize:function(){var b=this,a;if(b.grow&&b.rendered){b.doComponentLayout();a=b.inputEl.getHeight();if(a!==b.lastInputHeight){b.fireEvent("autosize",a);b.lastInputHeight=a}}},initAria:function(){this.callParent(arguments);this.getActionEl().dom.setAttribute("aria-multiline",true)},getBodyNaturalWidth:function(){return Math.round(this.cols*6.5)+20}});Ext.define("Ext.window.MessageBox",{extend:"Ext.window.Window",requires:["Ext.toolbar.Toolbar","Ext.form.field.Text","Ext.form.field.TextArea","Ext.button.Button","Ext.layout.container.Anchor","Ext.layout.container.HBox","Ext.ProgressBar"],alternateClassName:"Ext.MessageBox",alias:"widget.messagebox",OK:1,YES:2,NO:4,CANCEL:8,OKCANCEL:9,YESNO:6,YESNOCANCEL:14,INFO:"ext-mb-info",WARNING:"ext-mb-warning",QUESTION:"ext-mb-question",ERROR:"ext-mb-error",hideMode:"offsets",closeAction:"hide",resizable:false,title:" ",width:600,height:500,minWidth:250,maxWidth:600,minHeight:110,maxHeight:500,constrain:true,cls:Ext.baseCSSPrefix+"message-box",layout:{type:"anchor"},defaultTextHeight:75,minProgressWidth:250,minPromptWidth:250,buttonText:{ok:"OK",yes:"Yes",no:"No",cancel:"Cancel"},buttonIds:["ok","yes","no","cancel"],titleText:{confirm:"Confirm",prompt:"Prompt",wait:"Loading...",alert:"Attention"},iconHeight:35,makeButton:function(a){var b=this.buttonIds[a];return Ext.create("Ext.button.Button",{handler:this.btnCallback,itemId:b,scope:this,text:this.buttonText[b],minWidth:75})},btnCallback:function(a){var b=this,c,d;if(b.cfg.prompt||b.cfg.multiline){if(b.cfg.multiline){d=b.textArea}else{d=b.textField}c=d.getValue();d.reset()}a.blur();b.hide();b.userCallback(a.itemId,c,b.cfg)},hide:function(){var a=this;a.dd.endDrag();a.progressBar.reset();a.removeCls(a.cfg.cls);a.callParent()},initComponent:function(){var c=this,b,a;c.title=" ";c.topContainer=Ext.create("Ext.container.Container",{anchor:"100%",style:{padding:"10px",overflow:"hidden"},items:[c.iconComponent=Ext.create("Ext.Component",{cls:"ext-mb-icon",width:50,height:c.iconHeight,style:{"float":"left"}}),c.promptContainer=Ext.create("Ext.container.Container",{layout:{type:"anchor"},items:[c.msg=Ext.create("Ext.Component",{autoEl:{tag:"span"},cls:"ext-mb-text"}),c.textField=Ext.create("Ext.form.field.Text",{anchor:"100%",enableKeyEvents:true,listeners:{keydown:c.onPromptKey,scope:c}}),c.textArea=Ext.create("Ext.form.field.TextArea",{anchor:"100%",height:75})]})]});c.progressBar=Ext.create("Ext.ProgressBar",{anchor:"-10",style:"margin-left:10px"});c.items=[c.topContainer,c.progressBar];c.msgButtons=[];for(b=0;b<4;b++){a=c.makeButton(b);c.msgButtons[a.itemId]=a;c.msgButtons.push(a)}c.bottomTb=Ext.create("Ext.toolbar.Toolbar",{ui:"footer",dock:"bottom",layout:{pack:"center"},items:[c.msgButtons[0],c.msgButtons[1],c.msgButtons[2],c.msgButtons[3]]});c.dockedItems=[c.bottomTb];c.callParent()},onPromptKey:function(a,c){var b=this,d;if(c.keyCode===Ext.EventObject.RETURN||c.keyCode===10){if(b.msgButtons.ok.isVisible()){d=true;b.msgButtons.ok.handler.call(b,b.msgButtons.ok)}else{if(b.msgButtons.yes.isVisible()){b.msgButtons.yes.handler.call(b,b.msgButtons.yes);d=true}}if(d){b.textField.blur()}}},reconfigure:function(a){var d=this,c=a.buttons||0,g=true,e=d.maxWidth,b;a=a||{};d.cfg=a;if(a.width){e=a.width}delete d.defaultFocus;d.animateTarget=a.animateTarget||undefined;d.modal=a.modal!==false;if(a.title){d.setTitle(a.title||" ")}if(!d.rendered){d.width=e;d.render(Ext.getBody())}else{d.hidden=false;d.setSize(e,d.maxHeight)}d.setPosition(-10000,-10000);d.closable=a.closable&&!a.wait;if(a.closable===false){d.tools.close.hide()}else{d.tools.close.show()}if(!a.title&&!d.closable){d.header.hide()}else{d.header.show()}d.liveDrag=!a.proxyDrag;d.userCallback=Ext.Function.bind(a.callback||a.fn||Ext.emptyFn,a.scope||Ext.global);d.setIcon(a.icon);if(a.msg){d.msg.update(a.msg);d.msg.show()}else{d.msg.hide()}if(a.prompt||a.multiline){d.multiline=a.multiline;if(a.multiline){d.textArea.setValue(a.value);d.textArea.setHeight(a.defaultTextHeight||d.defaultTextHeight);d.textArea.show();d.textField.hide();d.defaultFocus=d.textArea}else{d.textField.setValue(a.value);d.textArea.hide();d.textField.show();d.defaultFocus=d.textField}}else{d.textArea.hide();d.textField.hide()}if(a.progress||a.wait){d.progressBar.show();d.updateProgress(0,a.progressText);if(a.wait===true){d.progressBar.wait(a.waitConfig)}}else{d.progressBar.hide()}for(b=0;b<4;b++){if(c&Math.pow(2,b)){if(!d.defaultFocus){d.defaultFocus=d.msgButtons[b]}d.msgButtons[b].show();g=false}else{d.msgButtons[b].hide()}}if(g){d.bottomTb.hide()}else{d.bottomTb.show()}d.hidden=true},show:function(a){var b=this;b.reconfigure(a);b.addCls(a.cls);if(a.animateTarget){b.doAutoSize(false);b.callParent()}else{b.callParent();b.doAutoSize(true)}return b},afterShow:function(){if(this.animateTarget){this.center()}this.callParent(arguments)},doAutoSize:function(b){var e=this,d=e.iconComponent,g=e.iconHeight;if(!Ext.isDefined(e.frameWidth)){e.frameWidth=e.el.getWidth()-e.body.getWidth()}d.setHeight(g);e.minWidth=e.cfg.minWidth||Ext.getClass(this).prototype.minWidth;e.topContainer.doLayout();if(Ext.isIE6||Ext.isIEQuirks){e.textField.setCalculatedSize(9);e.textArea.setCalculatedSize(9)}var c=e.cfg.width||e.msg.getWidth()+d.getWidth()+25,a=(e.header.rendered?e.header.getHeight():0)+Math.max(e.promptContainer.getHeight(),d.getHeight())+e.progressBar.getHeight()+(e.bottomTb.rendered?e.bottomTb.getHeight():0)+20;d.setHeight(Math.max(g,e.msg.getHeight()));e.setSize(c+e.frameWidth,a+e.frameWidth);if(b){e.center()}return e},updateText:function(a){this.msg.update(a);return this.doAutoSize(true)},setIcon:function(a){var b=this;b.iconComponent.removeCls(b.iconCls);if(a){b.iconComponent.show();b.iconComponent.addCls(Ext.baseCSSPrefix+"dlg-icon");b.iconComponent.addCls(b.iconCls=a)}else{b.iconComponent.removeCls(Ext.baseCSSPrefix+"dlg-icon");b.iconComponent.hide()}return b},updateProgress:function(b,a,c){this.progressBar.updateProgress(b,a);if(c){this.updateText(c)}return this},onEsc:function(){if(this.closable!==false){this.callParent(arguments)}},confirm:function(a,d,c,b){if(Ext.isString(a)){a={title:a,icon:"ext-mb-question",msg:d,buttons:this.YESNO,callback:c,scope:b}}return this.show(a)},prompt:function(b,g,d,c,a,e){if(Ext.isString(b)){b={prompt:true,title:b,minWidth:this.minPromptWidth,msg:g,buttons:this.OKCANCEL,callback:d,scope:c,multiline:a,value:e}}return this.show(b)},wait:function(a,c,b){if(Ext.isString(a)){a={title:c,msg:a,closable:false,wait:true,modal:true,minWidth:this.minProgressWidth,waitConfig:b}}return this.show(a)},alert:function(a,d,c,b){if(Ext.isString(a)){a={title:a,msg:d,buttons:this.OK,fn:c,scope:b,minWidth:this.minWidth}}return this.show(a)},progress:function(a,c,b){if(Ext.isString(a)){a={title:a,msg:c,progressText:b}}return this.show(a)}},function(){Ext.MessageBox=Ext.Msg=new this()});Ext.define("Ext.form.Basic",{extend:"Ext.util.Observable",alternateClassName:"Ext.form.BasicForm",requires:["Ext.util.MixedCollection","Ext.form.action.Load","Ext.form.action.Submit","Ext.window.MessageBox","Ext.data.Errors","Ext.util.DelayedTask"],constructor:function(a,b){var c=this,d=c.onItemAddOrRemove;c.owner=a;c.mon(a,{add:d,remove:d,scope:c});Ext.apply(c,b);if(Ext.isString(c.paramOrder)){c.paramOrder=c.paramOrder.split(/[\s,|]/)}c.checkValidityTask=Ext.create("Ext.util.DelayedTask",c.checkValidity,c);c.addEvents("beforeaction","actionfailed","actioncomplete","validitychange","dirtychange");c.callParent()},initialize:function(){this.initialized=true;this.onValidityChange(!this.hasInvalidField())},timeout:30,paramsAsHash:false,waitTitle:"Please Wait...",trackResetOnLoad:false,wasDirty:false,destroy:function(){this.clearListeners();this.checkValidityTask.cancel()},onItemAddOrRemove:function(c,g){var d=this,e=!!g.ownerCt,b=g.isContainer;function a(h){d[e?"mon":"mun"](h,{validitychange:d.checkValidity,dirtychange:d.checkDirty,scope:d,buffer:100});delete d._fields}if(g.isFormField){a(g)}else{if(b){Ext.Array.forEach(g.query("[isFormField]"),a)}}delete this._boundItems;if(d.initialized){d.checkValidityTask.delay(10)}},getFields:function(){var a=this._fields;if(!a){a=this._fields=Ext.create("Ext.util.MixedCollection");a.addAll(this.owner.query("[isFormField]"))}return a},getBoundItems:function(){var a=this._boundItems;if(!a){a=this._boundItems=Ext.create("Ext.util.MixedCollection");a.addAll(this.owner.query("[formBind]"))}return a},hasInvalidField:function(){return !!this.getFields().findBy(function(c){var a=c.preventMark,b;c.preventMark=true;b=c.isValid();c.preventMark=a;return !b})},isValid:function(){var a=this,b;a.batchLayouts(function(){b=a.getFields().filterBy(function(c){return !c.validate()})});return b.length<1},checkValidity:function(){var b=this,a=!b.hasInvalidField();if(a!==b.wasValid){b.onValidityChange(a);b.fireEvent("validitychange",b,a);b.wasValid=a}},onValidityChange:function(b){var a=this.getBoundItems();if(a){a.each(function(c){if(c.disabled===b){c.setDisabled(!b)}})}},isDirty:function(){return !!this.getFields().findBy(function(a){return a.isDirty()})},checkDirty:function(){var a=this.isDirty();if(a!==this.wasDirty){this.fireEvent("dirtychange",this,a);this.wasDirty=a}},hasUpload:function(){return !!this.getFields().findBy(function(a){return a.isFileUpload()})},doAction:function(b,a){if(Ext.isString(b)){b=Ext.ClassManager.instantiateByAlias("formaction."+b,Ext.apply({},a,{form:this}))}if(this.fireEvent("beforeaction",this,b)!==false){this.beforeAction(b);Ext.defer(b.run,100,b)}return this},submit:function(a){return this.doAction(this.standardSubmit?"standardsubmit":this.api?"directsubmit":"submit",a)},load:function(a){return this.doAction(this.api?"directload":"load",a)},updateRecord:function(b){var a=b.fields,c=this.getFieldValues(),d,e={};a.each(function(g){d=g.name;if(d in c){e[d]=c[d]}});b.beginEdit();b.set(e);b.endEdit();return this},loadRecord:function(a){this._record=a;return this.setValues(a.data)},getRecord:function(){return this._record},beforeAction:function(c){var a=c.waitMsg,b=Ext.baseCSSPrefix+"mask-loading",d;this.getFields().each(function(e){if(e.isFormField&&e.syncValue){e.syncValue()}});if(a){d=this.waitMsgTarget;if(d===true){this.owner.el.mask(a,b)}else{if(d){d=this.waitMsgTarget=Ext.get(d);d.mask(a,b)}else{Ext.MessageBox.wait(a,c.waitTitle||this.waitTitle)}}}},afterAction:function(b,d){if(b.waitMsg){var a=Ext.MessageBox,c=this.waitMsgTarget;if(c===true){this.owner.el.unmask()}else{if(c){c.unmask()}else{a.updateProgress(1);a.hide()}}}if(d){if(b.reset){this.reset()}Ext.callback(b.success,b.scope||b,[this,b]);this.fireEvent("actioncomplete",this,b)}else{Ext.callback(b.failure,b.scope||b,[this,b]);this.fireEvent("actionfailed",this,b)}},findField:function(a){return this.getFields().findBy(function(b){return b.id===a||b.getName()===a})},markInvalid:function(c){var a=this;function b(d,g){var e=a.findField(d);if(e){e.markInvalid(g)}}if(Ext.isArray(c)){Ext.each(c,function(d){b(d.id,d.msg)})}else{if(c instanceof Ext.data.Errors){c.each(function(d){b(d.field,d.message)})}else{Ext.iterate(c,b)}}return this},setValues:function(a){var b=this;function c(d,g){var e=b.findField(d);if(e){e.setValue(g);if(b.trackResetOnLoad){e.resetOriginalValue()}}}if(Ext.isArray(a)){Ext.each(a,function(d){c(d.id,d.value)})}else{Ext.iterate(a,c)}return this},getValues:function(e,b,d,a){var c={};this.getFields().each(function(h){if(!b||h.isDirty()){var g=h[a?"getModelData":"getSubmitData"](d);if(Ext.isObject(g)){Ext.iterate(g,function(j,k){if(d&&k===""){k=h.emptyText||""}if(j in c){var l=c[j],i=Ext.isArray;if(!i(l)){l=c[j]=[l]}if(i(k)){c[j]=l.concat(k)}else{l.push(k)}}else{c[j]=k}})}}});if(e){c=Ext.Object.toQueryString(c)}return c},getFieldValues:function(a){return this.getValues(false,a,false,true)},clearInvalid:function(){var a=this;a.batchLayouts(function(){a.getFields().each(function(b){b.clearInvalid()})});return a},reset:function(){var a=this;a.batchLayouts(function(){a.getFields().each(function(b){b.reset()})});return a},applyToFields:function(a){this.getFields().each(function(b){Ext.apply(b,a)});return this},applyIfToFields:function(a){this.getFields().each(function(b){Ext.applyIf(b,a)});return this},batchLayouts:function(b){var c=this,a=new Ext.util.HashMap();c.getFields().each(function(e){var d=e.ownerCt;if(!a.contains(d)){a.add(d);d.oldSuspendLayout=d.suspendLayout;d.suspendLayout=true}});b();a.each(function(e,d){d.suspendLayout=d.oldSuspendLayout;delete d.oldSuspendLayout});c.owner.doComponentLayout()}});Ext.define("Ext.form.FieldAncestor",{initFieldAncestor:function(){var a=this,b=a.onFieldAncestorSubtreeChange;a.addEvents("fieldvaliditychange","fielderrorchange");a.on("add",b,a);a.on("remove",b,a);a.initFieldDefaults()},initFieldDefaults:function(){if(!this.fieldDefaults){this.fieldDefaults={}}},onFieldAncestorSubtreeChange:function(b,e){var c=this,d=!!e.ownerCt;function a(g){var h=g.isFieldLabelable,i=g.isFormField;if(h||i){if(h){c["onLabelable"+(d?"Added":"Removed")](g)}if(i){c["onField"+(d?"Added":"Removed")](g)}}else{if(g.isContainer){Ext.Array.forEach(g.getRefItems(),a)}}}a(e)},onLabelableAdded:function(a){var b=this;b.mon(a,"errorchange",b.handleFieldErrorChange,b,{buffer:10});a.setFieldDefaults(b.fieldDefaults)},onFieldAdded:function(b){var a=this;a.mon(b,"validitychange",a.handleFieldValidityChange,a)},onLabelableRemoved:function(a){var b=this;b.mun(a,"errorchange",b.handleFieldErrorChange,b)},onFieldRemoved:function(b){var a=this;a.mun(b,"validitychange",a.handleFieldValidityChange,a)},handleFieldValidityChange:function(c,b){var a=this;a.fireEvent("fieldvaliditychange",a,c,b);a.onFieldValidityChange()},handleFieldErrorChange:function(b,a){var c=this;c.fireEvent("fielderrorchange",c,b,a);c.onFieldErrorChange()},onFieldValidityChange:Ext.emptyFn,onFieldErrorChange:Ext.emptyFn});Ext.define("Ext.layout.container.CheckboxGroup",{extend:"Ext.layout.container.Container",alias:["layout.checkboxgroup"],onLayout:function(){var b=this.getColCount(),c=this.getShadowCt(),a=this.owner,g=a.items,j=c.items,h=g.length,k=0,d,e;j.each(function(i){i.items.clear()});while(j.length>b){c.remove(j.last())}while(j.length0&&d%e===0){k++}j.getAt(k).items.add(g.getAt(d))}}else{for(d=0;d'],maskOnDisable:false,getElConfig:function(){return{tag:"fieldset",id:this.id}},initComponent:function(){var b=this,a=b.baseCls;b.callParent();b.initLegend();Ext.applyIf(b.renderSelectors,{body:"."+a+"-body"});if(b.collapsed){b.addCls(a+"-collapsed");b.collapse()}},onRender:function(b,a){this.callParent(arguments);this.initLegend()},initLegend:function(){var c=this,a,b=c.legend;if(!b&&(c.title||c.checkboxToggle||c.collapsible)){a=[];if(c.checkboxToggle){a.push(c.createCheckboxCmp())}else{if(c.collapsible){a.push(c.createToggleCmp())}}a.push(c.createTitleCmp());b=c.legend=Ext.create("Ext.container.Container",{baseCls:c.baseCls+"-header",ariaRole:"",getElConfig:function(){return{tag:"legend",cls:this.baseCls}},items:a})}if(b&&!b.rendered&&c.rendered){c.legend.render(c.el,c.body)}},createTitleCmp:function(){var a=this;a.titleCmp=Ext.create("Ext.Component",{html:a.title,cls:a.baseCls+"-header-text"});return a.titleCmp},createCheckboxCmp:function(){var a=this,b="-checkbox";a.checkboxCmp=Ext.create("Ext.form.field.Checkbox",{name:a.checkboxName||a.id+b,cls:a.baseCls+"-header"+b,checked:!a.collapsed,listeners:{change:a.onCheckChange,scope:a}});return a.checkboxCmp},createToggleCmp:function(){var a=this;a.toggleCmp=Ext.create("Ext.panel.Tool",{type:"toggle",handler:a.toggle,scope:a});return a.toggleCmp},setTitle:function(b){var a=this;a.title=b;a.initLegend();a.titleCmp.update(b);return a},getTargetEl:function(){return this.body||this.frameBody||this.el},getContentTarget:function(){return this.body},getRefItems:function(a){var c=this.callParent(arguments),b=this.legend;if(b){c.unshift(b);if(a){c.unshift.apply(c,b.getRefItems(true))}}return c},expand:function(){return this.setExpanded(true)},collapse:function(){return this.setExpanded(false)},setExpanded:function(a){var b=this,c=b.checkboxCmp;a=!!a;if(c){c.setValue(a)}if(a){b.removeCls(b.baseCls+"-collapsed")}else{b.addCls(b.baseCls+"-collapsed")}b.collapsed=!a;if(a){b.getComponentLayout().childrenChanged=true}b.doComponentLayout();return b},toggle:function(){this.setExpanded(!!this.collapsed)},onCheckChange:function(b,a){this.setExpanded(a)},beforeDestroy:function(){var a=this.legend;if(a){a.destroy()}this.callParent()}});Ext.define("Ext.form.Label",{extend:"Ext.Component",alias:"widget.label",requires:["Ext.util.Format"],maskOnDisable:false,getElConfig:function(){var a=this;return{tag:"label",id:a.id,htmlFor:a.forId||"",html:a.text?Ext.util.Format.htmlEncode(a.text):(a.html||"")}},setText:function(c,b){var a=this;b=b!==false;if(b){a.text=c;delete a.html}else{a.html=c;delete a.text}if(a.rendered){a.el.dom.innerHTML=b!==false?Ext.util.Format.htmlEncode(c):c}return this}});Ext.define("Ext.form.Panel",{extend:"Ext.panel.Panel",mixins:{fieldAncestor:"Ext.form.FieldAncestor"},alias:"widget.form",alternateClassName:["Ext.FormPanel","Ext.form.FormPanel"],requires:["Ext.form.Basic","Ext.util.TaskRunner"],layout:"anchor",ariaRole:"form",initComponent:function(){var a=this;if(a.frame){a.border=false}a.initFieldAncestor();a.callParent();a.relayEvents(a.form,["beforeaction","actionfailed","actioncomplete","validitychange","dirtychange"]);if(a.pollForChanges){a.startPolling(a.pollInterval||500)}},initItems:function(){var a=this;a.form=a.createForm();a.callParent();a.form.initialize()},createForm:function(){return Ext.create("Ext.form.Basic",this,Ext.applyIf({listeners:{}},this.initialConfig))},getForm:function(){return this.form},loadRecord:function(a){return this.getForm().loadRecord(a)},getRecord:function(){return this.getForm().getRecord()},getValues:function(){return this.getForm().getValues()},beforeDestroy:function(){this.stopPolling();this.form.destroy();this.callParent()},load:function(a){this.form.load(a)},submit:function(a){this.form.submit(a)},disable:function(a){this.callParent(arguments);this.form.getFields().each(function(b){b.disable()})},enable:function(a){this.callParent(arguments);this.form.getFields().each(function(b){b.enable()})},startPolling:function(b){this.stopPolling();var a=Ext.create("Ext.util.TaskRunner",b);a.start({interval:0,run:this.checkChange,scope:this});this.pollTask=a},stopPolling:function(){var a=this.pollTask;if(a){a.stopAll();delete this.pollTask}},checkChange:function(){this.form.getFields().each(function(a){a.checkChange()})}});Ext.define("Ext.form.RadioGroup",{extend:"Ext.form.CheckboxGroup",alias:"widget.radiogroup",allowBlank:true,blankText:"You must select one item in this group",defaultType:"radiofield",groupCls:Ext.baseCSSPrefix+"form-radio-group",getBoxes:function(){return this.query("[isRadio]")}});Ext.define("Ext.form.RadioManager",{extend:"Ext.util.MixedCollection",singleton:true,getByName:function(a){return this.filterBy(function(b){return b.name==a})},getWithValue:function(a,b){return this.filterBy(function(c){return c.name==a&&c.inputValue==b})},getChecked:function(a){return this.findBy(function(b){return b.name==a&&b.checked})}});Ext.define("Ext.form.action.DirectLoad",{extend:"Ext.form.action.Load",requires:["Ext.direct.Manager"],alternateClassName:"Ext.form.Action.DirectLoad",alias:"formaction.directload",type:"directload",run:function(){this.form.api.load.apply(window,this.getArgs())},getArgs:function(){var g=this,c=[],e=g.form,b=e.paramOrder,h=g.getParams(),d,a;if(b){for(d=0,a=b.length;d",'',"",'tabIndex="{tabIdx}" ','class="{fieldCls} {typeCls}" autocomplete="off" hidefocus="true" />',"",'',"",{disableFormats:true,compiled:true}],isCheckbox:true,focusCls:Ext.baseCSSPrefix+"form-cb-focus",fieldBodyCls:Ext.baseCSSPrefix+"form-cb-wrap",checked:false,checkedCls:Ext.baseCSSPrefix+"form-cb-checked",boxLabelCls:Ext.baseCSSPrefix+"form-cb-label",boxLabelAlign:"after",inputValue:"on",checkChangeEvents:[],inputType:"checkbox",ariaRole:"checkbox",onRe:/^on$/i,initComponent:function(){this.callParent(arguments);this.getManager().add(this)},initValue:function(){var b=this,a=!!b.checked;b.originalValue=b.lastValue=a;b.setValue(a)},onRender:function(b,a){var c=this;Ext.applyIf(c.renderSelectors,{boxLabelEl:"label."+c.boxLabelCls});Ext.applyIf(c.subTplData,{boxLabel:c.boxLabel,boxLabelCls:c.boxLabelCls,boxLabelAlign:c.boxLabelAlign});c.callParent(arguments)},initEvents:function(){var a=this;a.callParent();a.mon(a.inputEl,"click",a.onBoxClick,a)},onBoxClick:function(b){var a=this;if(!a.disabled&&!a.readOnly){this.setValue(!this.checked)}},getRawValue:function(){return this.checked},getValue:function(){return this.checked},getSubmitValue:function(){var a=this.uncheckedValue,b=Ext.isDefined(a)?a:null;return this.checked?this.inputValue:b},setRawValue:function(d){var c=this,e=c.inputEl,a=c.inputValue,b=(d===true||d==="true"||d==="1"||((Ext.isString(d)&&a)?d==a:c.onRe.test(d)));if(e){e.dom.setAttribute("aria-checked",b);c[b?"addCls":"removeCls"](c.checkedCls)}c.checked=c.rawValue=b;return b},setValue:function(b){var a=this;if(Ext.isArray(b)){a.getManager().getByName(a.name).each(function(c){c.setValue(Ext.Array.contains(b,c.inputValue))})}else{a.callParent(arguments)}return a},valueToRaw:function(a){return a},onChange:function(b,a){var d=this,c=d.handler;if(c){c.call(d.scope||d,d,b)}d.callParent(arguments)},getManager:function(){return Ext.form.CheckboxManager},onEnable:function(){var a=this,b=a.inputEl;a.callParent();if(b){b.dom.disabled=a.readOnly}},setReadOnly:function(c){var a=this,b=a.inputEl;if(b){b.dom.disabled=c||a.disabled}a.readOnly=c},getBodyNaturalWidth:function(){var d=this,b=d.bodyEl,a="white-space",c;b.setStyle(a,"nowrap");c=b.getWidth();b.setStyle(a,"");return c}});Ext.define("Ext.layout.component.field.Trigger",{alias:["layout.triggerfield"],extend:"Ext.layout.component.field.Field",type:"triggerfield",sizeBodyContents:function(d,b){var e=this,a=e.owner,h=a.inputEl,c=a.triggerWrap,g=a.getTriggerWidth();if(a.hideTrigger||a.readOnly||g>0){e.setElementSize(h,Ext.isNumber(d)?d-g:d);c.setWidth(g)}}});Ext.define("Ext.view.View",{extend:"Ext.view.AbstractView",alternateClassName:"Ext.DataView",alias:"widget.dataview",inheritableStatics:{EventMap:{mousedown:"MouseDown",mouseup:"MouseUp",click:"Click",dblclick:"DblClick",contextmenu:"ContextMenu",mouseover:"MouseOver",mouseout:"MouseOut",mouseenter:"MouseEnter",mouseleave:"MouseLeave",keydown:"KeyDown",focus:"Focus"}},addCmpEvents:function(){this.addEvents("beforeitemmousedown","beforeitemmouseup","beforeitemmouseenter","beforeitemmouseleave","beforeitemclick","beforeitemdblclick","beforeitemcontextmenu","beforeitemkeydown","itemmousedown","itemmouseup","itemmouseenter","itemmouseleave","itemclick","itemdblclick","itemcontextmenu","itemkeydown","beforecontainermousedown","beforecontainermouseup","beforecontainermouseover","beforecontainermouseout","beforecontainerclick","beforecontainerdblclick","beforecontainercontextmenu","beforecontainerkeydown","containermouseup","containermouseover","containermouseout","containerclick","containerdblclick","containercontextmenu","containerkeydown","selectionchange","beforeselect")},afterRender:function(){var b=this,a;b.callParent();a={scope:b,freezeEvent:true,click:b.handleEvent,mousedown:b.handleEvent,mouseup:b.handleEvent,dblclick:b.handleEvent,contextmenu:b.handleEvent,mouseover:b.handleEvent,mouseout:b.handleEvent,keydown:b.handleEvent};b.mon(b.getTargetEl(),a);if(b.store){b.bindStore(b.store,true)}},handleEvent:function(a){if(this.processUIEvent(a)!==false){this.processSpecialEvent(a)}},processItemEvent:Ext.emptyFn,processContainerEvent:Ext.emptyFn,processSpecialEvent:Ext.emptyFn,stillOverItem:function(b,a){var c;if(a&&typeof(a.offsetParent)==="object"){c=(b.type=="mouseout")?b.getRelatedTarget():b.getTarget();return Ext.fly(a).contains(c)}return false},processUIEvent:function(h){var i=this,k=h.getTarget(i.getItemSelector(),i.getTargetEl()),a=this.statics().EventMap,g,c,j=h.type,d=i.mouseOverItem,b;if(!k){if(j=="mouseover"&&i.stillOverItem(h,d)){k=d}if(j=="keydown"){c=i.getSelectionModel().getLastSelected();if(c){k=i.getNode(c)}}}if(k){g=i.indexOf(k);if(!c){c=i.getRecord(k)}if(i.processItemEvent(c,k,g,h)===false){return false}b=i.isNewItemEvent(k,h);if(b===false){return false}if((i["onBeforeItem"+a[b]](c,k,g,h)===false)||(i.fireEvent("beforeitem"+b,i,c,k,g,h)===false)||(i["onItem"+a[b]](c,k,g,h)===false)){return false}i.fireEvent("item"+b,i,c,k,g,h)}else{if((i.processContainerEvent(h)===false)||(i["onBeforeContainer"+a[j]](h)===false)||(i.fireEvent("beforecontainer"+j,i,h)===false)||(i["onContainer"+a[j]](h)===false)){return false}i.fireEvent("container"+j,i,h)}return true},isNewItemEvent:function(d,g){var c=this,a=c.mouseOverItem,b=g.type;switch(b){case"mouseover":if(d===a){return false}c.mouseOverItem=d;return"mouseenter";case"mouseout":if(c.stillOverItem(g,a)){return false}c.mouseOverItem=null;return"mouseleave"}return b},onItemMouseEnter:function(a,c,b,d){if(this.trackOver){this.highlightItem(c)}},onItemMouseLeave:function(a,c,b,d){if(this.trackOver){this.clearHighlight()}},onItemMouseDown:Ext.emptyFn,onItemMouseUp:Ext.emptyFn,onItemFocus:Ext.emptyFn,onItemClick:Ext.emptyFn,onItemDblClick:Ext.emptyFn,onItemContextMenu:Ext.emptyFn,onItemKeyDown:Ext.emptyFn,onBeforeItemMouseDown:Ext.emptyFn,onBeforeItemMouseUp:Ext.emptyFn,onBeforeItemFocus:Ext.emptyFn,onBeforeItemMouseEnter:Ext.emptyFn,onBeforeItemMouseLeave:Ext.emptyFn,onBeforeItemClick:Ext.emptyFn,onBeforeItemDblClick:Ext.emptyFn,onBeforeItemContextMenu:Ext.emptyFn,onBeforeItemKeyDown:Ext.emptyFn,onContainerMouseDown:Ext.emptyFn,onContainerMouseUp:Ext.emptyFn,onContainerMouseOver:Ext.emptyFn,onContainerMouseOut:Ext.emptyFn,onContainerClick:Ext.emptyFn,onContainerDblClick:Ext.emptyFn,onContainerContextMenu:Ext.emptyFn,onContainerKeyDown:Ext.emptyFn,onBeforeContainerMouseDown:Ext.emptyFn,onBeforeContainerMouseUp:Ext.emptyFn,onBeforeContainerMouseOver:Ext.emptyFn,onBeforeContainerMouseOut:Ext.emptyFn,onBeforeContainerClick:Ext.emptyFn,onBeforeContainerDblClick:Ext.emptyFn,onBeforeContainerContextMenu:Ext.emptyFn,onBeforeContainerKeyDown:Ext.emptyFn,highlightItem:function(b){var a=this;a.clearHighlight();a.highlightedItem=b;Ext.fly(b).addCls(a.overItemCls)},clearHighlight:function(){var b=this,a=b.highlightedItem;if(a){Ext.fly(a).removeCls(b.overItemCls);delete b.highlightedItem}},refresh:function(){var a=this;a.clearHighlight();a.callParent(arguments);if(!a.isFixedHeight()){a.doComponentLayout()}}});Ext.define("Ext.layout.component.BoundList",{extend:"Ext.layout.component.Component",alias:"layout.boundlist",type:"component",beforeLayout:function(){return this.callParent(arguments)||this.owner.refreshed>0},onLayout:function(b,q){var k=this,c=k.owner,i=c.floating,d=c.el,s=d.getXY(),r=Ext.isNumber,a,n,p,m,h,l,g,j,e;if(i){d.setXY([-9999,-9999])}k.setTargetSize(b,q);if(!r(b)){a=c.minWidth;n=c.maxWidth;if(r(a)||r(n)){h=d.getWidth();if(hn){g=n}}if(g){k.setTargetSize(g)}}}if(!r(q)){p=c.minHeight;m=c.maxHeight;if(r(p)||r(m)){l=d.getHeight();if(lm){j=m}}if(j){k.setTargetSize(e,j)}}}if(i){d.setXY(s)}},afterLayout:function(){var b=this,a=b.owner.pagingToolbar;b.callParent();if(a){a.doComponentLayout()}},setTargetSize:function(d,b){var g=this,a=g.owner,c=null,e;if(Ext.isNumber(b)){c=b-a.el.getFrameWidth("tb");e=a.pagingToolbar;if(e){c-=e.getHeight()}}g.setElementSize(a.listEl,null,c);g.callParent(arguments)}});Ext.define("Ext.toolbar.TextItem",{extend:"Ext.toolbar.Item",requires:["Ext.XTemplate"],alias:"widget.tbtext",alternateClassName:"Ext.Toolbar.TextItem",text:"",renderTpl:"{text}",baseCls:Ext.baseCSSPrefix+"toolbar-text",onRender:function(){Ext.apply(this.renderData,{text:this.text});this.callParent(arguments)},setText:function(a){if(this.rendered){this.el.update(a);this.ownerCt.doLayout()}else{this.text=a}}});Ext.define("Ext.form.field.Trigger",{extend:"Ext.form.field.Text",alias:["widget.triggerfield","widget.trigger"],requires:["Ext.core.DomHelper","Ext.util.ClickRepeater","Ext.layout.component.field.Trigger"],alternateClassName:["Ext.form.TriggerField","Ext.form.TwinTriggerField","Ext.form.Trigger"],fieldSubTpl:['name="{name}" ','size="{size}" ','tabIndex="{tabIdx}" ','class="{fieldCls} {typeCls}" autocomplete="off" />','",{compiled:true,disableFormats:true}],triggerBaseCls:Ext.baseCSSPrefix+"form-trigger",triggerWrapCls:Ext.baseCSSPrefix+"form-trigger-wrap",hideTrigger:false,editable:true,readOnly:false,repeatTriggerClick:false,autoSize:Ext.emptyFn,monitorTab:true,mimicing:false,triggerIndexRe:/trigger-index-(\d+)/,componentLayout:"triggerfield",initComponent:function(){this.wrapFocusCls=this.triggerWrapCls+"-focus";this.callParent(arguments)},onRender:function(d,a){var e=this,j,g=e.triggerBaseCls,h=e.triggerWrapCls,b=[],c;if(!e.trigger1Cls){e.trigger1Cls=e.triggerCls}for(c=0;(j=e["trigger"+(c+1)+"Cls"])||c<1;c++){b.push({cls:[Ext.baseCSSPrefix+"trigger-index-"+c,g,j].join(" "),role:"button"})}b[c-1].cls+=" "+g+"-last";Ext.applyIf(e.renderSelectors,{triggerWrap:"."+h});Ext.applyIf(e.subTplData,{triggerWrapCls:h,triggerEl:Ext.core.DomHelper.markup(b),clearCls:e.clearCls});e.callParent(arguments);e.triggerEl=Ext.select("."+g,true,e.triggerWrap.dom);e.doc=Ext.isIE?Ext.getBody():Ext.getDoc();e.initTrigger()},onEnable:function(){this.callParent();this.triggerWrap.unmask()},onDisable:function(){this.callParent();this.triggerWrap.mask()},afterRender:function(){this.callParent();this.updateEditState()},updateEditState:function(){var c=this,e=c.inputEl,a=c.triggerWrap,d=Ext.baseCSSPrefix+"trigger-noedit",b,g;if(c.rendered){if(c.readOnly){e.addCls(d);g=true;b=false}else{if(c.editable){e.removeCls(d);g=false}else{e.addCls(d);g=true}b=!c.hideTrigger}a.setDisplayed(b);e.dom.readOnly=g;c.doComponentLayout()}},getTriggerWidth:function(){var c=this,b=c.triggerWrap,a=0;if(b&&!c.hideTrigger&&!c.readOnly){c.triggerEl.each(function(d){a+=d.getWidth()});a+=c.triggerWrap.getFrameWidth("lr")}return a},setHideTrigger:function(a){if(a!=this.hideTrigger){this.hideTrigger=a;this.updateEditState()}},setEditable:function(a){if(a!=this.editable){this.editable=a;this.updateEditState()}},setReadOnly:function(a){if(a!=this.readOnly){this.readOnly=a;this.updateEditState()}},initTrigger:function(){var c=this,a=c.triggerWrap,b=c.triggerEl;if(c.repeatTriggerClick){c.triggerRepeater=Ext.create("Ext.util.ClickRepeater",a,{preventDefault:true,handler:function(d,g){c.onTriggerWrapClick(g)}})}else{c.mon(c.triggerWrap,"click",c.onTriggerWrapClick,c)}b.addClsOnOver(c.triggerBaseCls+"-over");b.each(function(e,g,d){e.addClsOnOver(c["trigger"+(d+1)+"Cls"]+"-over")});b.addClsOnClick(c.triggerBaseCls+"-click");b.each(function(e,g,d){e.addClsOnClick(c["trigger"+(d+1)+"Cls"]+"-click")})},onDestroy:function(){var a=this;Ext.destroyMembers(a,"triggerRepeater","triggerWrap","triggerEl");delete a.doc;a.callParent()},onFocus:function(){var a=this;this.callParent();if(!a.mimicing){a.bodyEl.addCls(a.wrapFocusCls);a.mimicing=true;a.mon(a.doc,"mousedown",a.mimicBlur,a,{delay:10});if(a.monitorTab){a.on("specialkey",a.checkTab,a)}}},checkTab:function(a,b){if(!this.ignoreMonitorTab&&b.getKey()==b.TAB){this.triggerBlur()}},onBlur:Ext.emptyFn,mimicBlur:function(a){if(!this.isDestroyed&&!this.bodyEl.contains(a.target)&&this.validateBlur(a)){this.triggerBlur()}},triggerBlur:function(){var a=this;a.mimicing=false;a.mun(a.doc,"mousedown",a.mimicBlur,a);if(a.monitorTab&&a.inputEl){a.un("specialkey",a.checkTab,a)}Ext.form.field.Trigger.superclass.onBlur.call(a);if(a.bodyEl){a.bodyEl.removeCls(a.wrapFocusCls)}},beforeBlur:Ext.emptyFn,validateBlur:function(a){return true},onTriggerWrapClick:function(h){var g=this,d=h&&h.getTarget("."+Ext.baseCSSPrefix+"form-trigger",null),c=d&&d.className.match(g.triggerIndexRe),a,b;if(c&&!g.readOnly){a=parseInt(c[1],10);b=g["onTrigger"+(a+1)+"Click"]||g.onTriggerClick;if(b){b.call(g,h)}}},onTriggerClick:Ext.emptyFn});Ext.define("Ext.form.field.Picker",{extend:"Ext.form.field.Trigger",alias:"widget.pickerfield",alternateClassName:"Ext.form.Picker",requires:["Ext.util.KeyNav"],matchFieldWidth:true,pickerAlign:"tl-bl?",openCls:Ext.baseCSSPrefix+"pickerfield-open",editable:true,initComponent:function(){this.callParent();this.addEvents("expand","collapse","select")},initEvents:function(){var a=this;a.callParent();a.keyNav=Ext.create("Ext.util.KeyNav",a.inputEl,{down:function(){if(!a.isExpanded){a.onTriggerClick()}},esc:a.collapse,scope:a,forceKeyDown:true});if(!a.editable){a.mon(a.inputEl,"click",a.onTriggerClick,a)}if(Ext.isGecko){a.inputEl.dom.setAttribute("autocomplete","off")}},expand:function(){var c=this,a,b,d;if(c.rendered&&!c.isExpanded&&!c.isDestroyed){a=c.bodyEl;b=c.getPicker();d=c.collapseIf;b.show();c.isExpanded=true;c.alignPicker();a.addCls(c.openCls);c.mon(Ext.getDoc(),{mousewheel:d,mousedown:d,scope:c});Ext.EventManager.onWindowResize(c.alignPicker,c);c.fireEvent("expand",c);c.onExpand()}},onExpand:Ext.emptyFn,alignPicker:function(){var d=this,c,b,a="-above";if(this.isExpanded){c=d.getPicker();if(d.matchFieldWidth){c.setSize(d.bodyEl.getWidth(),c.store&&c.store.getCount()?null:0)}if(c.isFloating()){c.alignTo(d.inputEl,d.pickerAlign,d.pickerOffset);b=c.el.getY()0){a.spinUp()}else{if(c<0){a.spinDown()}}b.stopEvent()}},onDestroy:function(){Ext.destroyMembers(this,"spinnerKeyNav","spinUpEl","spinDownEl");this.callParent()}});Ext.define("Ext.form.field.Number",{extend:"Ext.form.field.Spinner",alias:"widget.numberfield",alternateClassName:["Ext.form.NumberField","Ext.form.Number"],allowDecimals:true,decimalSeparator:".",decimalPrecision:2,minValue:Number.NEGATIVE_INFINITY,maxValue:Number.MAX_VALUE,step:1,minText:"The minimum value for this field is {0}",maxText:"The maximum value for this field is {0}",nanText:"{0} is not a valid number",negativeText:"The value cannot be negative",baseChars:"0123456789",autoStripChars:false,initComponent:function(){var a=this,b;a.callParent();a.setMinValue(a.minValue);a.setMaxValue(a.maxValue);if(a.disableKeyFilter!==true){b=a.baseChars+"";if(a.allowDecimals){b+=a.decimalSeparator}if(a.minValue<0){b+="-"}b=Ext.String.escapeRegex(b);a.maskRe=new RegExp("["+b+"]");if(a.autoStripChars){a.stripCharsRe=new RegExp("[^"+b+"]","gi")}}},getErrors:function(c){var b=this,e=b.callParent(arguments),d=Ext.String.format,a;c=Ext.isDefined(c)?c:this.processRawValue(this.getRawValue());if(c.length<1){return e}c=String(c).replace(b.decimalSeparator,".");if(isNaN(c)){e.push(d(b.nanText,c))}a=b.parseValue(c);if(b.minValue===0&&a<0){e.push(this.negativeText)}else{if(ab.maxValue){e.push(d(b.maxText,b.maxValue))}return e},rawToValue:function(b){var a=this.fixPrecision(this.parseValue(b));if(a===null){a=b||null}return a},valueToRaw:function(c){var b=this,a=b.decimalSeparator;c=b.parseValue(c);c=b.fixPrecision(c);c=Ext.isNumber(c)?c:parseFloat(String(c).replace(a,"."));c=isNaN(c)?"":String(c).replace(".",a);return c},onChange:function(){var b=this,c=b.getValue(),a=c===null;b.callParent(arguments);b.setSpinUpEnabled(a||cb.minValue)},setMinValue:function(a){this.minValue=Ext.Number.from(a,Number.NEGATIVE_INFINITY)},setMaxValue:function(a){this.maxValue=Ext.Number.from(a,Number.MAX_VALUE)},parseValue:function(a){a=parseFloat(String(a).replace(this.decimalSeparator,"."));return isNaN(a)?null:a},fixPrecision:function(d){var c=this,b=isNaN(d),a=c.decimalPrecision;if(b||!d){return b?"":d}else{if(!c.allowDecimals||a<=0){a=0}}return parseFloat(Ext.Number.toFixed(parseFloat(d),a))},beforeBlur:function(){var b=this,a=b.parseValue(b.getRawValue());if(!Ext.isEmpty(a)){b.setValue(a)}},onSpinUp:function(){var a=this;if(!a.readOnly){a.setValue(Ext.Number.constrain(a.getValue()+a.step,a.minValue,a.maxValue))}},onSpinDown:function(){var a=this;if(!a.readOnly){a.setValue(Ext.Number.constrain(a.getValue()-a.step,a.minValue,a.maxValue))}}});Ext.define("Ext.toolbar.Paging",{extend:"Ext.toolbar.Toolbar",alias:"widget.pagingtoolbar",alternateClassName:"Ext.PagingToolbar",requires:["Ext.toolbar.TextItem","Ext.form.field.Number"],displayInfo:false,prependButtons:false,displayMsg:"Displaying {0} - {1} of {2}",emptyMsg:"No data to display",beforePageText:"Page",afterPageText:"of {0}",firstText:"First Page",prevText:"Previous Page",nextText:"Next Page",lastText:"Last Page",refreshText:"Refresh",inputItemWidth:30,getPagingItems:function(){var a=this;return[{itemId:"first",tooltip:a.firstText,overflowText:a.firstText,iconCls:Ext.baseCSSPrefix+"tbar-page-first",disabled:true,handler:a.moveFirst,scope:a},{itemId:"prev",tooltip:a.prevText,overflowText:a.prevText,iconCls:Ext.baseCSSPrefix+"tbar-page-prev",disabled:true,handler:a.movePrevious,scope:a},"-",a.beforePageText,{xtype:"numberfield",itemId:"inputItem",name:"inputItem",cls:Ext.baseCSSPrefix+"tbar-page-number",allowDecimals:false,minValue:1,hideTrigger:true,enableKeyEvents:true,selectOnFocus:true,submitValue:false,width:a.inputItemWidth,margins:"-1 2 3 2",listeners:{scope:a,keydown:a.onPagingKeyDown,blur:a.onPagingBlur}},{xtype:"tbtext",itemId:"afterTextItem",text:Ext.String.format(a.afterPageText,1)},"-",{itemId:"next",tooltip:a.nextText,overflowText:a.nextText,iconCls:Ext.baseCSSPrefix+"tbar-page-next",disabled:true,handler:a.moveNext,scope:a},{itemId:"last",tooltip:a.lastText,overflowText:a.lastText,iconCls:Ext.baseCSSPrefix+"tbar-page-last",disabled:true,handler:a.moveLast,scope:a},"-",{itemId:"refresh",tooltip:a.refreshText,overflowText:a.refreshText,iconCls:Ext.baseCSSPrefix+"tbar-loading",handler:a.doRefresh,scope:a}]},initComponent:function(){var b=this,c=b.getPagingItems(),a=b.items||b.buttons||[];if(b.prependButtons){b.items=a.concat(c)}else{b.items=c.concat(a)}delete b.buttons;if(b.displayInfo){b.items.push("->");b.items.push({xtype:"tbtext",itemId:"displayItem"})}b.callParent();b.addEvents("change","beforechange");b.on("afterlayout",b.onLoad,b,{single:true});b.bindStore(b.store,true)},updateInfo:function(){var e=this,c=e.child("#displayItem"),a=e.store,b=e.getPageData(),d,g;if(c){d=a.getCount();if(d===0){g=e.emptyMsg}else{g=Ext.String.format(e.displayMsg,b.fromRecord,b.toRecord,b.total)}c.setText(g);e.doComponentLayout()}},onLoad:function(){var e=this,d,b,c,a;if(!e.rendered){return}d=e.getPageData();b=d.currentPage;c=d.pageCount;a=Ext.String.format(e.afterPageText,isNaN(c)?1:c);e.child("#afterTextItem").setText(a);e.child("#inputItem").setValue(b);e.child("#first").setDisabled(b===1);e.child("#prev").setDisabled(b===1);e.child("#next").setDisabled(b===c);e.child("#last").setDisabled(b===c);e.child("#refresh").enable();e.updateInfo();e.fireEvent("change",e,d)},getPageData:function(){var b=this.store,a=b.getTotalCount();return{total:a,currentPage:b.currentPage,pageCount:Math.ceil(a/b.pageSize),fromRecord:((b.currentPage-1)*b.pageSize)+1,toRecord:Math.min(b.currentPage*b.pageSize,a)}},onLoadError:function(){if(!this.rendered){return}this.child("#refresh").enable()},readPageFromInput:function(b){var a=this.child("#inputItem").getValue(),c=parseInt(a,10);if(!a||isNaN(c)){this.child("#inputItem").setValue(b.currentPage);return false}return c},onPagingFocus:function(){this.child("#inputItem").select()},onPagingBlur:function(b){var a=this.getPageData().currentPage;this.child("#inputItem").setValue(a)},onPagingKeyDown:function(i,h){var d=this,b=h.getKey(),c=d.getPageData(),a=h.shiftKey?10:1,g;if(b==h.RETURN){h.stopEvent();g=d.readPageFromInput(c);if(g!==false){g=Math.min(Math.max(1,g),c.pageCount);if(d.fireEvent("beforechange",d,g)!==false){d.store.loadPage(g)}}}else{if(b==h.HOME||b==h.END){h.stopEvent();g=b==h.HOME?1:c.pageCount;i.setValue(g)}else{if(b==h.UP||b==h.PAGEUP||b==h.DOWN||b==h.PAGEDOWN){h.stopEvent();g=d.readPageFromInput(c);if(g){if(b==h.DOWN||b==h.PAGEDOWN){a*=-1}g+=a;if(g>=1&&g<=c.pages){i.setValue(g)}}}}}},beforeLoad:function(){if(this.rendered&&this.refresh){this.refresh.disable()}},doLoad:function(a){if(this.fireEvent("beforechange",this,o)!==false){this.store.load()}},moveFirst:function(){if(this.fireEvent("beforechange",this,1)!==false){this.store.loadPage(1)}},movePrevious:function(){var b=this,a=b.store.currentPage-1;if(a>0){if(b.fireEvent("beforechange",b,a)!==false){b.store.previousPage()}}},moveNext:function(){var c=this,b=c.getPageData().pageCount,a=c.store.currentPage+1;if(a<=b){if(c.fireEvent("beforechange",c,a)!==false){c.store.nextPage()}}},moveLast:function(){var b=this,a=b.getPageData().pageCount;if(b.fireEvent("beforechange",b,a)!==false){b.store.loadPage(a)}},doRefresh:function(){var a=this,b=a.store.currentPage;if(a.fireEvent("beforechange",a,b)!==false){a.store.loadPage(b)}},bindStore:function(a,b){var c=this;if(!b&&c.store){if(a!==c.store&&c.store.autoDestroy){c.store.destroy()}else{c.store.un("beforeload",c.beforeLoad,c);c.store.un("load",c.onLoad,c);c.store.un("exception",c.onLoadError,c)}if(!a){c.store=null}}if(a){a=Ext.data.StoreManager.lookup(a);a.on({scope:c,beforeload:c.beforeLoad,load:c.onLoad,exception:c.onLoadError})}c.store=a},unbind:function(a){this.bindStore(null)},bind:function(a){this.bindStore(a)},onDestroy:function(){this.bindStore(null);this.callParent()}});Ext.define("Ext.view.BoundList",{extend:"Ext.view.View",alias:"widget.boundlist",alternateClassName:"Ext.BoundList",requires:["Ext.layout.component.BoundList","Ext.toolbar.Paging"],pageSize:0,autoScroll:true,baseCls:Ext.baseCSSPrefix+"boundlist",listItemCls:"",shadow:false,trackOver:true,refreshed:0,ariaRole:"listbox",componentLayout:"boundlist",renderTpl:['
    '],initComponent:function(){var b=this,a=b.baseCls,c=a+"-item";b.itemCls=c;b.selectedItemCls=a+"-selected";b.overItemCls=a+"-item-over";b.itemSelector="."+c;if(b.floating){b.addCls(a+"-floating")}if(!b.tpl){b.tpl=Ext.create("Ext.XTemplate",'
      ','
    • '+b.getInnerTpl(b.displayField)+"
    • ","
    ")}else{if(Ext.isString(b.tpl)){b.tpl=Ext.create("Ext.XTemplate",b.tpl)}}if(b.pageSize){b.pagingToolbar=b.createPagingToolbar()}b.callParent();Ext.applyIf(b.renderSelectors,{listEl:".list-ct"})},createPagingToolbar:function(){return Ext.widget("pagingtoolbar",{pageSize:this.pageSize,store:this.store,border:false})},onRender:function(){var b=this,a=b.pagingToolbar;b.callParent(arguments);if(a){a.render(b.el)}},bindStore:function(a,b){var d=this,c=d.pagingToolbar;d.callParent(arguments);if(c){c.bindStore(a,b)}},getTargetEl:function(){return this.listEl||this.el},getInnerTpl:function(a){return"{"+a+"}"},refresh:function(){var a=this;a.callParent();if(a.isVisible()){a.refreshed++;a.doComponentLayout();a.refreshed--}},initAria:function(){this.callParent();var a=this.getSelectionModel(),c=a.getSelectionMode(),b=this.getActionEl();if(c!=="SINGLE"){b.dom.setAttribute("aria-multiselectable",true)}},onDestroy:function(){Ext.destroyMembers(this,"pagingToolbar","listEl");this.callParent()}});Ext.define("Ext.view.BoundListKeyNav",{extend:"Ext.util.KeyNav",requires:"Ext.view.BoundList",constructor:function(b,a){var c=this;c.boundList=a.boundList;c.callParent([b,Ext.apply({},a,c.defaultHandlers)])},defaultHandlers:{up:function(){var e=this,b=e.boundList,d=b.all,g=b.highlightedItem,c=g?b.indexOf(g):-1,a=c>0?c-1:d.getCount()-1;e.highlightAt(a)},down:function(){var e=this,b=e.boundList,d=b.all,g=b.highlightedItem,c=g?b.indexOf(g):-1,a=c{[typeof values === "string" ? values : values.'+e.displayField+']}'+e.delimiter+"")}else{if(Ext.isString(e.displayTpl)){e.displayTpl=Ext.create("Ext.XTemplate",e.displayTpl)}}e.callParent();e.doQueryTask=Ext.create("Ext.util.DelayedTask",e.doRawQuery,e);if(e.store.getCount()>0){e.setValue(e.value)}if(a){e.render(a.parentNode,a);Ext.removeNode(a);delete e.renderTo}},beforeBlur:function(){var a=this;a.doQueryTask.cancel();if(a.forceSelection){a.assertValue()}else{a.collapse()}},assertValue:function(){var a=this,b=a.getRawValue(),c;if(a.multiSelect){if(b!==a.getDisplayValue()){a.setValue(a.lastSelection)}}else{c=a.findRecordByDisplay(b);if(c){a.select(c)}else{a.setValue(a.lastSelection)}}a.collapse()},onTypeAhead:function(){var e=this,d=e.displayField,b=e.store.findRecord(d,e.getRawValue()),c=e.getPicker(),g,a,h;if(b){g=b.get(d);a=g.length;h=e.getRawValue().length;c.highlightItem(c.getNode(b));if(h!==0&&h!==a){e.setRawValue(g);e.selectText(h,g.length)}}},resetToDefault:function(){},bindStore:function(a,b){var c=this,d=c.store;if(d&&!b){if(d!==a&&d.autoDestroy){d.destroy()}else{d.un({scope:c,load:c.onLoad,exception:c.collapse})}if(!a){c.store=null;if(c.picker){c.picker.bindStore(null)}}}if(a){if(!b){c.resetToDefault()}c.store=Ext.data.StoreManager.lookup(a);c.store.on({scope:c,load:c.onLoad,exception:c.collapse});if(c.picker){c.picker.bindStore(a)}}},onLoad:function(){var a=this,b=a.value;a.syncSelection();if(a.picker&&!a.picker.getSelectionModel().hasSelection()){a.doAutoSelect()}},doRawQuery:function(){this.doQuery(this.getRawValue())},doQuery:function(g,c){g=g||"";var d=this,b={query:g,forceAll:c,combo:d,cancel:false},a=d.store,e=d.queryMode==="local";if(d.fireEvent("beforequery",b)===false||b.cancel){return false}g=b.query;c=b.forceAll;if(c||(g.length>=d.minChars)){d.expand();if(!d.queryCaching||d.lastQuery!==g){d.lastQuery=g;if(e){if(c){a.clearFilter()}else{a.clearFilter(true);a.filter(d.displayField,g)}}else{a.load({params:d.getParams(g)})}}if(d.getRawValue()!==d.getDisplayValue()){d.ignoreSelection++;d.picker.getSelectionModel().deselectAll();d.ignoreSelection--}if(e){d.doAutoSelect()}if(d.typeAhead){d.doTypeAhead()}}return true},getParams:function(d){var b={},a=this.pageSize,c=this.queryParam;if(c){b[c]=d}if(a){b.start=0;b.limit=a}return b},doAutoSelect:function(){var b=this,a=b.picker,c,d;if(a&&b.autoSelect&&b.store.getCount()>0){c=a.getSelectionModel().lastSelected;d=a.getNode(c||0);if(d){a.highlightItem(d);a.listEl.scrollChildIntoView(d,false)}}},doTypeAhead:function(){if(!this.typeAheadTask){this.typeAheadTask=Ext.create("Ext.util.DelayedTask",this.onTypeAhead,this)}if(this.lastKey!=Ext.EventObject.BACKSPACE&&this.lastKey!=Ext.EventObject.DELETE){this.typeAheadTask.delay(this.typeAheadDelay)}},onTriggerClick:function(){var a=this;if(!a.readOnly&&!a.disabled){if(a.isExpanded){a.collapse()}else{a.onFocus({});if(a.triggerAction==="all"){a.doQuery(a.allQuery,true)}else{a.doQuery(a.getRawValue())}}a.inputEl.focus()}},onKeyUp:function(d,b){var c=this,a=d.getKey();if(!c.readOnly&&!c.disabled&&c.editable){c.lastKey=a;if(!d.isSpecialKey()||a==d.BACKSPACE||a==d.DELETE){c.doQueryTask.delay(c.queryDelay)}}if(c.enableKeyEvents){c.callParent(arguments)}},initEvents:function(){var a=this;a.callParent();if(!a.enableKeyEvents){a.mon(a.inputEl,"keyup",a.onKeyUp,a)}},createPicker:function(){var c=this,a,d=Ext.baseCSSPrefix+"menu",b=Ext.apply({selModel:{mode:c.multiSelect?"SIMPLE":"SINGLE"},floating:true,hidden:true,ownerCt:c.ownerCt,cls:c.el.up("."+d)?d:"",store:c.store,displayField:c.displayField,focusOnToFront:false,pageSize:c.pageSize,tpl:c.tpl},c.listConfig,c.defaultListConfig);a=c.picker=Ext.create("Ext.view.BoundList",b);c.mon(a,{itemclick:c.onItemClick,refresh:c.onListRefresh,scope:c});c.mon(a.getSelectionModel(),"selectionchange",c.onListSelectionChange,c);return a},onListRefresh:function(){this.alignPicker();this.syncSelection()},onItemClick:function(d,a){var g=this,b=g.lastSelection,c=g.valueField,e;if(!g.multiSelect&&b){e=b[0];if(e&&(a.get(c)===e.get(c))){g.collapse()}}},onListSelectionChange:function(b,d){var a=this,e=a.multiSelect,c=d.length>0;if(!a.ignoreSelection&&a.isExpanded){if(!e){Ext.defer(a.collapse,1,a)}if(e||c){a.setValue(d,false)}if(c){a.fireEvent("select",a,d)}a.inputEl.focus()}},onExpand:function(){var d=this,a=d.listKeyNav,c=d.selectOnTab,b=d.getPicker();if(a){a.enable()}else{a=d.listKeyNav=Ext.create("Ext.view.BoundListKeyNav",this.inputEl,{boundList:b,forceKeyDown:true,tab:function(g){if(c){this.selectHighlighted(g);d.triggerBlur()}return true}})}if(c){d.ignoreMonitorTab=true}Ext.defer(a.enable,1,a);d.inputEl.focus()},onCollapse:function(){var b=this,a=b.listKeyNav;if(a){a.disable();b.ignoreMonitorTab=false}},select:function(a){this.setValue(a,true)},findRecord:function(d,c){var b=this.store,a=b.findExact(d,c);return a!==-1?b.getAt(a):false},findRecordByValue:function(a){return this.findRecord(this.valueField,a)},findRecordByDisplay:function(a){return this.findRecord(this.displayField,a)},setValue:function(l,e){var k=this,c=k.valueNotFoundText,m=k.inputEl,g,j,h,b=[],a=[],d=[];if(k.store.loading){k.value=l;return k}l=Ext.Array.from(l);for(g=0,j=l.length;g=0){c.push(g)}});d.ignoreSelection++;a=b.getSelectionModel();a.deselectAll();if(c.length){a.select(c)}d.ignoreSelection--}}});Ext.define("Ext.picker.Month",{extend:"Ext.Component",requires:["Ext.XTemplate","Ext.util.ClickRepeater","Ext.Date","Ext.button.Button"],alias:"widget.monthpicker",alternateClassName:"Ext.MonthPicker",renderTpl:['
    ','
    ','','',"","
    ",'
    ','
    ','','',"
    ",'','',"","
    ","
    ",'
    ','','
    ',"
    "],okText:"OK",cancelText:"Cancel",baseCls:Ext.baseCSSPrefix+"monthpicker",showButtons:true,width:178,smallCls:Ext.baseCSSPrefix+"monthpicker-small",totalYears:10,yearOffset:5,monthOffset:6,initComponent:function(){var a=this;a.selectedCls=a.baseCls+"-selected";a.addEvents("cancelclick","monthclick","monthdblclick","okclick","select","yearclick","yeardblclick");if(a.small){a.addCls(a.smallCls)}a.setValue(a.value);a.activeYear=a.getYear(new Date().getFullYear()-4,-4);this.callParent()},onRender:function(e,c){var h=this,d=0,b=[],a=Ext.Date.getShortMonthName,g=h.monthOffset;for(;de+c.yearOffset)){c.activeYear=b-c.yearOffset+1}}c.updateBody()}return c},getValue:function(){return this.value},hasSelection:function(){var a=this.value;return a[0]!==null&&a[1]!==null},getYears:function(){var d=this,e=d.yearOffset,g=d.activeYear,a=g+e,c=g,b=[];for(;c','",'','','','',"","",'','',"{#:this.isEndOfWeek}",'","","","",'','',"","",{firstInitial:function(a){return a.substr(0,1)},isEndOfWeek:function(b){b--;var a=b%7===0&&b!==0;return a?'':""},longDay:function(a){return Ext.Date.format(a,this.longDayFormat)}}],ariaTitle:"Date Picker",todayText:"Today",todayTip:"{0} (Spacebar)",minText:"This date is before the minimum date",maxText:"This date is after the maximum date",disabledDaysText:"Disabled",disabledDatesText:"Disabled",nextText:"Next Month (Control+Right)",prevText:"Previous Month (Control+Left)",monthYearText:"Choose a month (Control+Up/Down to move years)",startDay:0,showToday:true,disableAnim:true,baseCls:Ext.baseCSSPrefix+"datepicker",longDayFormat:"F d, Y",focusOnShow:false,focusOnSelect:true,width:178,initHour:12,numDays:42,initComponent:function(){var b=this,a=Ext.Date.clearTime;b.selectedCls=b.baseCls+"-selected";b.disabledCellCls=b.baseCls+"-disabled";b.prevCls=b.baseCls+"-prevday";b.activeCls=b.baseCls+"-active";b.nextCls=b.baseCls+"-prevday";b.todayCls=b.baseCls+"-today";b.dayNames=b.dayNames.slice(b.startDay).concat(b.dayNames.slice(0,b.startDay));this.callParent();b.value=b.value?a(b.value,true):a(new Date());b.addEvents("select");b.initDisabledDays()},onRender:function(b,a){var d=this,e=new Array(d.numDays),c=Ext.Date.format(new Date(),d.format);Ext.applyIf(d,{renderData:{},renderSelectors:{}});Ext.apply(d.renderData,{dayNames:d.dayNames,ariaTitle:d.ariaTitle,value:d.value,showToday:d.showToday,prevText:d.prevText,nextText:d.nextText,days:e});d.getTpl("renderTpl").longDayFormat=d.longDayFormat;Ext.apply(d.renderSelectors,{eventEl:"table."+d.baseCls+"-inner",prevEl:"."+d.baseCls+"-prev a",nextEl:"."+d.baseCls+"-next a",middleBtnEl:"."+d.baseCls+"-month",footerEl:"."+d.baseCls+"-footer"});this.callParent(arguments);d.el.unselectable();d.cells=d.eventEl.select("tbody td");d.textNodes=d.eventEl.query("tbody td span");d.monthBtn=Ext.create("Ext.button.Split",{text:"",tooltip:d.monthYearText,renderTo:d.middleBtnEl});d.todayBtn=Ext.create("Ext.button.Button",{renderTo:d.footerEl,text:Ext.String.format(d.todayText,c),tooltip:Ext.String.format(d.todayTip,c),handler:d.selectToday,scope:d})},initEvents:function(){var c=this,a=Ext.Date,b=a.DAY;this.callParent();c.prevRepeater=Ext.create("Ext.util.ClickRepeater",c.prevEl,{handler:c.showPrevMonth,scope:c,preventDefault:true,stopDefault:true});c.nextRepeater=Ext.create("Ext.util.ClickRepeater",c.nextEl,{handler:c.showNextMonth,scope:c,preventDefault:true,stopDefault:true});c.keyNav=Ext.create("Ext.util.KeyNav",c.eventEl,Ext.apply({scope:c,left:function(d){if(d.ctrlKey){c.showPrevMonth()}else{c.update(a.add(c.activeDate,b,-1))}},right:function(d){if(d.ctrlKey){c.showNextMonth()}else{c.update(a.add(c.activeDate,b,1))}},up:function(d){if(d.ctrlKey){c.showNextYear()}else{c.update(a.add(c.activeDate,b,-7))}},down:function(d){if(d.ctrlKey){c.showPrevYear()}else{c.update(a.add(c.activeDate,b,7))}},pageUp:c.showNextMonth,pageDown:c.showPrevMonth,enter:function(d){d.stopPropagation();return true}},c.keyNavConfig));if(c.showToday){c.todayKeyListener=c.eventEl.addKeyListener(Ext.EventObject.SPACE,c.selectToday,c)}c.mon(c.eventEl,"mousewheel",c.handleMouseWheel,c);c.mon(c.eventEl,"click",c.handleDateClick,c,{delegate:"a."+c.baseCls+"-date"});c.mon(c.monthBtn,"click",c.showMonthPicker,c);c.mon(c.monthBtn,"arrowclick",c.showMonthPicker,c);c.update(c.value)},initDisabledDays:function(){var d=this,b=d.disabledDates,c="(?:",a;if(!d.disabledDatesRE&&b){a=b.length-1;Ext.each(b,function(g,e){c+=Ext.isDate(g)?"^"+Ext.String.escapeRegex(Ext.Date.dateFormat(g,d.format))+"$":b[e];if(e!=a){c+="|"}},d);d.disabledDatesRE=new RegExp(c+")")}},setDisabledDates:function(a){var b=this;if(Ext.isArray(a)){b.disabledDates=a;b.disabledDatesRE=null}else{b.disabledDatesRE=a}b.initDisabledDays();b.update(b.value,true);return b},setDisabledDays:function(a){this.disabledDays=a;return this.update(this.value,true)},setMinDate:function(a){this.minDate=a;return this.update(this.value,true)},setMaxDate:function(a){this.maxDate=a;return this.update(this.value,true)},setValue:function(a){this.value=Ext.Date.clearTime(a,true);return this.update(this.value)},getValue:function(){return this.value},focus:function(){this.update(this.activeDate)},onEnable:function(){this.callParent();this.setDisabledStatus(false);this.update(this.activeDate)},onDisable:function(){this.callParent();this.setDisabledStatus(true)},setDisabledStatus:function(a){var b=this;b.keyNav.setDisabled(a);b.prevRepeater.setDisabled(a);b.nextRepeater.setDisabled(a);if(b.showToday){b.todayKeyListener.setDisabled(a);b.todayBtn.setDisabled(a)}},getActive:function(){return this.activeDate||me.value},runAnimation:function(b){var a={target:this.monthPicker,duration:200};Ext.fx.Manager.run();if(b){}else{}Ext.create("Ext.fx.Anim",a)},hideMonthPicker:function(){var b=this,a=b.monthPicker;if(a){if(b.disableAnim){a.hide()}else{this.runAnimation(true)}}return b},showMonthPicker:function(){var c=this,a,b,e,d;if(c.rendered&&!c.disabled){b=c.getSize();a=c.createMonthPicker();a.show();a.setSize(b);a.setValue(c.getActive());if(c.disableAnim){a.setPosition(-1,-1)}else{c.runAnimation(false)}}return c},createMonthPicker:function(){var b=this,a=b.monthPicker;if(!a){b.monthPicker=a=Ext.create("Ext.picker.Month",{renderTo:b.el,floating:true,shadow:false,small:b.showToday===false,listeners:{scope:b,cancelclick:b.onCancelClick,okclick:b.onOkClick,yeardblclick:b.onOkClick,monthdblclick:b.onOkClick}});b.on("beforehide",b.hideMonthPicker,b)}return a},onOkClick:function(b,e){var d=this,g=e[0],c=e[1],a=new Date(c,g,d.getActive().getDate());if(a.getMonth()!==g){a=new Date(c,g,1).getLastDateOfMonth()}d.update(a);d.hideMonthPicker()},onCancelClick:function(){this.hideMonthPicker()},showPrevMonth:function(a){return this.update(Ext.Date.add(this.activeDate,Ext.Date.MONTH,-1))},showNextMonth:function(a){return this.update(Ext.Date.add(this.activeDate,Ext.Date.MONTH,1))},showPrevYear:function(){this.update(Ext.Date.add(this.activeDate,Ext.Date.YEAR,-1))},showNextYear:function(){this.update(Ext.Date.add(this.activeDate,Ext.Date.YEAR,1))},handleMouseWheel:function(a){a.stopEvent();if(!this.disabled){var b=a.getWheelDelta();if(b>0){this.showPrevMonth()}else{if(b<0){this.showNextMonth()}}}},handleDateClick:function(d,a){var c=this,b=c.handler;d.stopEvent();if(!c.disabled&&a.dateValue&&!Ext.fly(a.parentNode).hasCls(c.disabledCellCls)){c.cancelFocus=c.focusOnSelect===false;c.setValue(new Date(a.dateValue));delete c.cancelFocus;c.fireEvent("select",c,c.value);if(b){b.call(c.scope||c,c,c.value)}c.onSelect()}},onSelect:function(){if(this.hideOnSelect){this.hide()}},selectToday:function(){var c=this,a=c.todayBtn,b=c.handler;if(a&&!a.disabled){c.setValue(Ext.Date.clearTime(new Date()));c.fireEvent("select",c,c.value);if(b){b.call(c.scope||c,c,c.value)}c.onSelect()}return c},selectedUpdate:function(c,g){var e=this,d=c.getTime(),b=e.cells,a=e.selectedCls;b.removeCls(a);b.each(function(h){if(h.dom.firstChild.dateValue==d){e.el.dom.setAttribute("aria-activedescendent",h.dom.id);h.addCls(a);if(e.isVisible()&&!e.cancelFocus){Ext.fly(h.dom.firstChild).focus(50)}return false}},this)},fullUpdate:function(D,m){var G=this,g=G.cells.elements,d=G.textNodes,I=G.disabledCellCls,p=Ext.Date,y=0,F=0,e=G.isVisible(),w=+p.clearTime(D,true),B=+p.clearTime(new Date()),v=G.minDate?p.clearTime(G.minDate,true):Number.NEGATIVE_INFINITY,x=G.maxDate?p.clearTime(G.maxDate,true):Number.POSITIVE_INFINITY,E=G.disabledDatesRE,u=G.disabledDatesText,J=G.disabledDays?G.disabledDays.join(""):false,C=G.disabledDaysText,z=G.format,l=p.getDaysInMonth(D),r=p.getFirstDateOfMonth(D),h=r.getDay()-G.startDay,A=p.add(D,p.MONTH,-1),b=G.longDayFormat,k,s,a,H,n,q,c,j,t;if(h<0){h+=7}l+=h;k=p.getDaysInMonth(A)-h;s=new Date(A.getFullYear(),A.getMonth(),k,G.initHour);if(G.showToday){H=p.clearTime(new Date());a=(Hx||(E&&z&&E.test(p.dateFormat(H,z)))||(J&&J.indexOf(H.getDay())!=-1));if(!G.disabled){G.todayBtn.setDisabled(a);G.todayKeyListener.setDisabled(a)}}n=function(i){t=+p.clearTime(s,true);i.title=p.format(s,b);i.firstChild.dateValue=t;if(t==B){i.className+=" "+G.todayCls;i.title=G.todayText}if(t==w){i.className+=" "+G.selectedCls;G.el.dom.setAttribute("aria-activedescendant",i.id);if(e&&G.floating){Ext.fly(i.firstChild).focus(50)}}if(tx){i.className=I;i.title=G.maxText;return}if(J){if(J.indexOf(s.getDay())!=-1){i.title=C;i.className=I}}if(E&&z){j=p.dateFormat(s,z);if(E.test(j)){i.title=u.replace("%0",j);i.className=I}}};for(;y=l){q=(++F);c=G.nextCls}else{q=y-h+1;c=G.activeCls}}d[y].innerHTML=q;g[y].className=c;s.setDate(s.getDate()+1);n(g[y])}G.monthBtn.setText(G.monthNames[D.getMonth()]+" "+D.getFullYear())},update:function(a,d){var b=this,c=b.activeDate;if(b.rendered){b.activeDate=a;if(!d&&c&&b.el&&c.getMonth()==a.getMonth()&&c.getFullYear()==a.getFullYear()){b.selectedUpdate(a,c)}else{b.fullUpdate(a,c)}}return b},beforeDestroy:function(){var a=this;if(a.rendered){Ext.destroy(a.todayKeyListener,a.keyNav,a.monthPicker,a.monthBtn,a.nextRepeater,a.prevRepeater,a.todayBtn);delete a.textNodes;delete a.cells.elements}},onShow:function(){this.callParent(arguments);if(this.focusOnShow){this.focus()}}},function(){var a=this.prototype;a.monthNames=Ext.Date.monthNames;a.dayNames=Ext.Date.dayNames;a.format=Ext.Date.defaultFormat});Ext.define("Ext.form.field.Date",{extend:"Ext.form.field.Picker",alias:"widget.datefield",requires:["Ext.picker.Date"],alternateClassName:["Ext.form.DateField","Ext.form.Date"],format:"m/d/Y",altFormats:"m/d/Y|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d|n-j|n/j",disabledDaysText:"Disabled",disabledDatesText:"Disabled",minText:"The date in this field must be equal to or after {0}",maxText:"The date in this field must be equal to or before {0}",invalidText:"{0} is not a valid date - it must be in the format {1}",triggerCls:Ext.baseCSSPrefix+"form-date-trigger",showToday:true,initTime:"12",initTimeFormat:"H",matchFieldWidth:false,startDay:0,initComponent:function(){var d=this,b=Ext.isString,c,a;c=d.minValue;a=d.maxValue;if(b(c)){d.minValue=d.parseDate(c)}if(b(a)){d.maxValue=d.parseDate(a)}d.disabledDatesRE=null;d.initDisabledDays();d.callParent()},initValue:function(){var a=this,b=a.value;if(Ext.isString(b)){a.value=a.rawToValue(b)}a.callParent()},initDisabledDays:function(){if(this.disabledDates){var b=this.disabledDates,a=b.length-1,c="(?:";Ext.each(b,function(g,e){c+=Ext.isDate(g)?"^"+Ext.String.escapeRegex(g.dateFormat(this.format))+"$":b[e];if(e!==a){c+="|"}},this);this.disabledDatesRE=new RegExp(c+")")}},setDisabledDates:function(a){var c=this,b=c.picker;c.disabledDates=a;c.initDisabledDays();if(b){b.setDisabledDates(c.disabledDatesRE)}},setDisabledDays:function(a){var b=this.picker;this.disabledDays=a;if(b){b.setDisabledDays(a)}},setMinValue:function(c){var b=this,a=b.picker,d=(Ext.isString(c)?b.parseDate(c):c);b.minValue=d;if(a){a.minText=Ext.String.format(b.minText,b.formatDate(b.minValue));a.setMinDate(d)}},setMaxValue:function(c){var b=this,a=b.picker,d=(Ext.isString(c)?b.parseDate(c):c);b.maxValue=d;if(a){a.maxText=Ext.String.format(b.maxText,b.formatDate(b.maxValue));a.setMaxDate(d)}},getErrors:function(r){var j=this,q=Ext.String.format,k=Ext.Date.clearTime,p=j.callParent(arguments),n=j.disabledDays,d=j.disabledDatesRE,m=j.minValue,h=j.maxValue,g=n?n.length:0,e=0,a,b,l,c;r=j.formatDate(r||j.processRawValue(j.getRawValue()));if(r===null||r.length<1){return p}a=r;r=j.parseDate(r);if(!r){p.push(q(j.invalidText,a,j.format));return p}c=r.getTime();if(m&&ck(h).getTime()){p.push(q(j.maxText,j.formatDate(h)))}if(n){l=r.getDay();for(;e',{compiled:true,disableFormats:true}],fieldCls:Ext.baseCSSPrefix+"form-display-field",htmlEncode:false,validateOnChange:false,initEvents:Ext.emptyFn,submitValue:false,isValid:function(){return true},validate:function(){return true},getRawValue:function(){return this.rawValue},setRawValue:function(b){var a=this;b=Ext.value(b,"");a.rawValue=b;if(a.rendered){a.inputEl.dom.innerHTML=a.htmlEncode?Ext.util.Format.htmlEncode(b):b}return b},getContentTarget:function(){return this.inputEl}});Ext.define("Ext.form.field.File",{extend:"Ext.form.field.Text",alias:["widget.filefield","widget.fileuploadfield"],alternateClassName:["Ext.form.FileUploadField","Ext.ux.form.FileUploadField","Ext.form.File"],uses:["Ext.button.Button","Ext.layout.component.field.File"],buttonText:"Browse...",buttonOnly:false,buttonMargin:3,fieldBodyCls:Ext.baseCSSPrefix+"form-file-wrap",readOnly:true,componentLayout:"filefield",onRender:function(){var a=this,b;a.callParent(arguments);a.createButton();a.createFileInput();if(a.disabled){a.disableItems()}b=a.inputEl;b.dom.removeAttribute("name");if(a.buttonOnly){b.setDisplayed(false)}},createButton:function(){var a=this;a.button=Ext.widget("button",Ext.apply({renderTo:a.bodyEl,text:a.buttonText,cls:Ext.baseCSSPrefix+"form-file-btn",preventDefault:false,style:a.buttonOnly?"":"margin-left:"+a.buttonMargin+"px"},a.buttonConfig))},createFileInput:function(){var a=this;a.fileInputEl=a.button.el.createChild({name:a.getName(),cls:Ext.baseCSSPrefix+"form-file-input",tag:"input",type:"file",size:1}).on("change",a.onFileChange,a)},onFileChange:function(){this.lastValue=null;Ext.form.field.File.superclass.setValue.call(this,this.fileInputEl.dom.value)},setValue:Ext.emptyFn,reset:function(){this.fileInputEl.remove();this.createFileInput();this.callParent()},onDisable:function(){this.callParent();this.disableItems()},disableItems:function(){var b=this.fileInputEl,a=this.button;if(b){b.dom.disabled=true}if(a){a.disable()}},onEnable:function(){var a=this;a.callParent();a.fileInputEl.dom.disabled=false;a.button.enable()},isFileUpload:function(){return true},extractFileInput:function(){var a=this.fileInputEl.dom;this.reset();return a},onDestroy:function(){Ext.destroyMembers(this,"fileInputEl","button");this.callParent()}});Ext.define("Ext.form.field.Hidden",{extend:"Ext.form.field.Base",alias:["widget.hiddenfield","widget.hidden"],alternateClassName:"Ext.form.Hidden",inputType:"hidden",hideLabel:true,initComponent:function(){this.formItemCls+="-hidden";this.callParent()},initEvents:Ext.emptyFn,setSize:Ext.emptyFn,setWidth:Ext.emptyFn,setHeight:Ext.emptyFn,setPosition:Ext.emptyFn,setPagePosition:Ext.emptyFn,markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn});Ext.define("Ext.picker.Color",{extend:"Ext.Component",requires:"Ext.XTemplate",alias:"widget.colorpicker",alternateClassName:"Ext.ColorPalette",componentCls:Ext.baseCSSPrefix+"color-picker",selectedCls:Ext.baseCSSPrefix+"color-picker-selected",value:null,clickEvent:"click",allowReselect:false,colors:["000000","993300","333300","003300","003366","000080","333399","333333","800000","FF6600","808000","008000","008080","0000FF","666699","808080","FF0000","FF9900","99CC00","339966","33CCCC","3366FF","800080","969696","FF00FF","FFCC00","FFFF00","00FF00","00FFFF","00CCFF","993366","C0C0C0","FF99CC","FFCC99","FFFF99","CCFFCC","CCFFFF","99CCFF","CC99FF","FFFFFF"],colorRe:/(?:^|\s)color-(.{6})(?:\s|$)/,constructor:function(){this.renderTpl=Ext.create("Ext.XTemplate",' ');this.callParent(arguments)},initComponent:function(){var a=this;this.callParent(arguments);a.addEvents("select");if(a.handler){a.on("select",a.handler,a.scope,true)}},onRender:function(c,b){var d=this,a=d.clickEvent;Ext.apply(d.renderData,{itemCls:d.itemCls,colors:d.colors});this.callParent(arguments);d.mon(d.el,a,d.handleClick,d,{delegate:"a"});if(a!="click"){d.mon(d.el,"click",Ext.emptyFn,d,{delegate:"a",stopEvent:true})}},afterRender:function(){var a=this,b;this.callParent(arguments);if(a.value){b=a.value;a.value=null;a.select(b,true)}},handleClick:function(c,d){var b=this,a;c.stopEvent();if(!b.disabled){a=d.className.match(b.colorRe)[1];b.select(a.toUpperCase())}},select:function(b,a){var d=this,g=d.selectedCls,e=d.value,c;b=b.replace("#","");if(!d.rendered){d.value=b;return}if(b!=e||d.allowReselect){c=d.el;if(d.value){c.down("a.color-"+e).removeCls(g)}c.down("a.color-"+b).addCls(g);d.value=b;if(a!==true){d.fireEvent("select",d,b)}}},getValue:function(){return this.value||null}});Ext.define("Ext.layout.component.field.HtmlEditor",{extend:"Ext.layout.component.field.Field",alias:["layout.htmleditor"],type:"htmleditor",sizeBodyContents:function(a,i){var e=this,b=e.owner,j=b.bodyEl,g=b.getToolbar(),h=b.textareaEl,c=b.iframeEl,d;if(Ext.isNumber(a)){a-=j.getFrameWidth("lr")}g.setWidth(a);h.setWidth(a);c.setWidth(a);if(Ext.isNumber(i)){d=i-g.getHeight()-j.getFrameWidth("tb");h.setHeight(d);c.setHeight(d)}}});Ext.define("Ext.form.field.HtmlEditor",{extend:"Ext.Component",mixins:{labelable:"Ext.form.Labelable",field:"Ext.form.field.Field"},alias:"widget.htmleditor",alternateClassName:"Ext.form.HtmlEditor",requires:["Ext.tip.QuickTipManager","Ext.picker.Color","Ext.toolbar.Item","Ext.toolbar.Toolbar","Ext.util.Format","Ext.layout.component.field.HtmlEditor"],fieldSubTpl:['
    ','','',{compiled:true,disableFormats:true}],enableFormat:true,enableFontSize:true,enableColors:true,enableAlignments:true,enableLists:true,enableSourceEdit:true,enableLinks:true,enableFont:true,createLinkText:"Please enter the URL for the link:",defaultLinkValue:"http://",fontFamilies:["Arial","Courier New","Tahoma","Times New Roman","Verdana"],defaultFont:"tahoma",defaultValue:(Ext.isOpera||Ext.isIE6)?" ":"​",fieldBodyCls:Ext.baseCSSPrefix+"html-editor-wrap",componentLayout:"htmleditor",initialized:false,activated:false,sourceEditMode:false,iframePad:3,hideMode:"offsets",maskOnDisable:true,initComponent:function(){var a=this;a.addEvents("initialize","activate","beforesync","beforepush","sync","push","editmodechange");a.callParent(arguments);a.initLabelable();a.initField()},createToolbar:function(e){var h=this,g=[],j=Ext.tip.QuickTipManager&&Ext.tip.QuickTipManager.isEnabled(),d=Ext.baseCSSPrefix,c,i,b;function a(m,k,l){return{itemId:m,cls:d+"btn-icon",iconCls:d+"edit-"+m,enableToggle:k!==false,scope:e,handler:l||e.relayBtnCmd,clickEvent:"mousedown",tooltip:j?e.buttonTips[m]||b:b,overflowText:e.buttonTips[m].title||b,tabIndex:-1}}if(h.enableFont&&!Ext.isSafari2){c=Ext.widget("component",{renderTpl:['"],renderData:{cls:d+"font-select",fonts:h.fontFamilies,defaultFont:h.defaultFont},renderSelectors:{selectEl:"select"},onDisable:function(){var k=this.selectEl;if(k){k.dom.disabled=true}Ext.Component.superclass.onDisable.apply(this,arguments)},onEnable:function(){var k=this.selectEl;if(k){k.dom.disabled=false}Ext.Component.superclass.onEnable.apply(this,arguments)}});g.push(c,"-")}if(h.enableFormat){g.push(a("bold"),a("italic"),a("underline"))}if(h.enableFontSize){g.push("-",a("increasefontsize",false,h.adjustFont),a("decreasefontsize",false,h.adjustFont))}if(h.enableColors){g.push("-",{itemId:"forecolor",cls:d+"btn-icon",iconCls:d+"edit-forecolor",overflowText:e.buttonTips.forecolor.title,tooltip:j?e.buttonTips.forecolor||b:b,tabIndex:-1,menu:Ext.widget("menu",{plain:true,items:[{xtype:"colorpicker",allowReselect:true,focus:Ext.emptyFn,value:"000000",plain:true,clickEvent:"mousedown",handler:function(l,k){h.execCmd("forecolor",Ext.isWebKit||Ext.isIE?"#"+k:k);h.deferFocus();this.up("menu").hide()}}]})},{itemId:"backcolor",cls:d+"btn-icon",iconCls:d+"edit-backcolor",overflowText:e.buttonTips.backcolor.title,tooltip:j?e.buttonTips.backcolor||b:b,tabIndex:-1,menu:Ext.widget("menu",{plain:true,items:[{xtype:"colorpicker",focus:Ext.emptyFn,value:"FFFFFF",plain:true,allowReselect:true,clickEvent:"mousedown",handler:function(l,k){if(Ext.isGecko){h.execCmd("useCSS",false);h.execCmd("hilitecolor",k);h.execCmd("useCSS",true);h.deferFocus()}else{h.execCmd(Ext.isOpera?"hilitecolor":"backcolor",Ext.isWebKit||Ext.isIE?"#"+k:k);h.deferFocus()}this.up("menu").hide()}}]})})}if(h.enableAlignments){g.push("-",a("justifyleft"),a("justifycenter"),a("justifyright"))}if(!Ext.isSafari2){if(h.enableLinks){g.push("-",a("createlink",false,h.createLink))}if(h.enableLists){g.push("-",a("insertorderedlist"),a("insertunorderedlist"))}if(h.enableSourceEdit){g.push("-",a("sourceedit",true,function(k){h.toggleSourceEdit(!h.sourceEditMode)}))}}i=Ext.widget("toolbar",{renderTo:h.toolbarWrap,enableOverflow:true,items:g});if(c){h.fontSelect=c.selectEl;h.mon(h.fontSelect,"change",function(){h.relayCmd("fontname",h.fontSelect.dom.value);h.deferFocus()})}h.mon(i.el,"click",function(k){k.preventDefault()});h.toolbar=i},onDisable:function(){this.bodyEl.mask();this.callParent(arguments)},onEnable:function(){this.bodyEl.unmask();this.callParent(arguments)},setReadOnly:function(e){var d=this,c=d.textareaEl,b=d.iframeEl,a;d.readOnly=e;if(c){c.dom.readOnly=e}if(d.initialized){a=d.getEditorBody();if(Ext.isIE){b.setDisplayed(false);a.contentEditable=!e;b.setDisplayed(true)}else{d.setDesignMode(!e)}if(a){a.style.cursor=e?"default":"text"}d.disableItems(e)}},getDocMarkup:function(){var b=this,a=b.iframeEl.getHeight()-b.iframePad*2;return Ext.String.format('',b.iframePad,a)},getEditorBody:function(){var a=this.getDoc();return a.body||a.documentElement},getDoc:function(){return(!Ext.isIE&&this.iframeEl.dom.contentDocument)||this.getWin().document},getWin:function(){return Ext.isIE?this.iframeEl.dom.contentWindow:window.frames[this.iframeEl.dom.name]},onRender:function(){var b=this,a=b.renderSelectors;Ext.applyIf(a,b.getLabelableSelectors());Ext.applyIf(a,{toolbarWrap:"div."+Ext.baseCSSPrefix+"html-editor-tb",iframeEl:"iframe",textareaEl:"textarea"});b.callParent(arguments);b.textareaEl.dom.value=b.value||"";b.monitorTask=Ext.TaskManager.start({run:b.checkDesignMode,scope:b,interval:100});b.createToolbar(b);b.disableItems(true)},initRenderTpl:function(){var a=this;if(!a.hasOwnProperty("renderTpl")){a.renderTpl=a.getTpl("labelableRenderTpl")}return a.callParent()},initRenderData:function(){return Ext.applyIf(this.callParent(),this.getLabelableRenderData())},getSubTplData:function(){var a=Ext.baseCSSPrefix;return{toolbarWrapCls:a+"html-editor-tb",textareaCls:a+"hidden",iframeName:Ext.id(),iframeSrc:Ext.SSL_SECURE_URL,size:"height:100px;"}},getSubTplMarkup:function(){return this.getTpl("fieldSubTpl").apply(this.getSubTplData())},getBodyNaturalWidth:function(){return 565},initFrameDoc:function(){var b=this,c,a;Ext.TaskManager.stop(b.monitorTask);c=b.getDoc();b.win=b.getWin();c.open();c.write(b.getDocMarkup());c.close();a={run:function(){var d=b.getDoc();if(d.body||d.readyState==="complete"){Ext.TaskManager.stop(a);b.setDesignMode(true);Ext.defer(b.initEditor,10,b)}},interval:10,duration:10000,scope:b};Ext.TaskManager.start(a)},checkDesignMode:function(){var a=this,b=a.getDoc();if(b&&(!b.editorInitialized||a.getDesignMode()!=="on")){a.initFrameDoc()}},setDesignMode:function(c){var a=this,b=a.getDoc();if(b){if(a.readOnly){c=false}b.designMode=(/on|true/i).test(String(c).toLowerCase())?"on":"off"}},getDesignMode:function(){var a=this.getDoc();return !a?"":String(a.designMode).toLowerCase()},disableItems:function(a){this.getToolbar().items.each(function(b){if(b.getItemId()!=="sourceedit"){b.setDisabled(a)}})},toggleSourceEdit:function(b){var g=this,d=g.iframeEl,a=g.textareaEl,e=Ext.baseCSSPrefix+"hidden",c=g.getToolbar().getComponent("sourceedit");if(!Ext.isBoolean(b)){b=!g.sourceEditMode}g.sourceEditMode=b;if(c.pressed!==b){c.toggle(b)}if(b){g.disableItems(true);g.syncValue();d.addCls(e);a.removeCls(e);a.dom.removeAttribute("tabIndex");a.focus()}else{if(g.initialized){g.disableItems(g.readOnly)}g.pushValue();d.removeCls(e);a.addCls(e);a.dom.setAttribute("tabIndex",-1);g.deferFocus()}g.fireEvent("editmodechange",g,b);g.doComponentLayout()},createLink:function(){var a=prompt(this.createLinkText,this.defaultLinkValue);if(a&&a!=="http://"){this.relayCmd("createlink",a)}},clearInvalid:Ext.emptyFn,setValue:function(c){var b=this,a=b.textareaEl;b.mixins.field.setValue.call(b,c);if(c===null||c===undefined){c=""}if(a){a.dom.value=c}b.pushValue();return this},cleanHtml:function(a){a=String(a);if(Ext.isWebKit){a=a.replace(/\sclass="(?:Apple-style-span|khtml-block-placeholder)"/gi,"")}if(a.charCodeAt(0)===this.defaultValue.replace(/\D/g,"")){a=a.substring(1)}return a},syncValue:function(){var e=this,b,d,a,c;if(e.initialized){b=e.getEditorBody();d=b.innerHTML;if(Ext.isWebKit){a=b.getAttribute("style");c=a.match(/text-align:(.*?);/i);if(c&&c[1]){d='
    '+d+"
    "}}d=e.cleanHtml(d);if(e.fireEvent("beforesync",e,d)!==false){e.textareaEl.dom.value=d;e.fireEvent("sync",e,d)}}},getValue:function(){var a=this,b;if(!a.sourceEditMode){a.syncValue()}b=a.rendered?a.textareaEl.dom.value:a.value;a.value=b;return b},pushValue:function(){var b=this,a;if(b.initialized){a=b.textareaEl.dom.value||"";if(!b.activated&&a.length<1){a=b.defaultValue}if(b.fireEvent("beforepush",b,a)!==false){b.getEditorBody().innerHTML=a;if(Ext.isGecko){b.setDesignMode(false);b.setDesignMode(true)}b.fireEvent("push",b,a)}}},deferFocus:function(){this.focus(false,true)},getFocusEl:function(){var a=this,b=a.win;return b&&!a.sourceEditMode?b:a.textareaEl},initEditor:function(){try{var g=this,d=g.getEditorBody(),b=g.textareaEl.getStyles("font-size","font-family","background-image","background-repeat","background-color","color"),i,c;b["background-attachment"]="fixed";d.bgProperties="fixed";Ext.core.DomHelper.applyStyles(d,b);i=g.getDoc();if(i){try{Ext.EventManager.removeAll(i)}catch(h){}}c=Ext.Function.bind(g.onEditorEvent,g);Ext.EventManager.on(i,{mousedown:c,dblclick:c,click:c,keyup:c,buffer:100});c=g.onRelayedEvent;Ext.EventManager.on(i,{mousedown:c,mousemove:c,mouseup:c,click:c,dblclick:c,scope:g});if(Ext.isGecko){Ext.EventManager.on(i,"keypress",g.applyCommand,g)}if(g.fixKeys){Ext.EventManager.on(i,"keydown",g.fixKeys,g)}Ext.EventManager.on(window,"unload",g.beforeDestroy,g);i.editorInitialized=true;g.initialized=true;g.pushValue();g.setReadOnly(g.readOnly);g.fireEvent("initialize",g)}catch(a){}},beforeDestroy:function(){var a=this,d=a.monitorTask,c,g;if(d){Ext.TaskManager.stop(d)}if(a.rendered){try{c=a.getDoc();if(c){Ext.EventManager.removeAll(c);for(g in c){if(c.hasOwnProperty(g)){delete c[g]}}}}catch(b){}Ext.destroyMembers("tb","toolbarWrap","iframeEl","textareaEl")}a.callParent()},onRelayedEvent:function(c){var b=this.iframeEl,d=b.getXY(),a=c.getXY();c.xy=[d[0]+a[0],d[1]+a[1]];c.injectEvent(b);c.xy=a},onFirstFocus:function(){var c=this,b,a;c.activated=true;c.disableItems(c.readOnly);if(Ext.isGecko){c.win.focus();b=c.win.getSelection();if(!b.focusNode||b.focusNode.nodeType!==3){a=b.getRangeAt(0);a.selectNodeContents(c.getEditorBody());a.collapse(true);c.deferFocus()}try{c.execCmd("useCSS",true);c.execCmd("styleWithCSS",false)}catch(d){}}c.fireEvent("activate",c)},adjustFont:function(d){var e=d.getItemId()==="increasefontsize"?1:-1,c=this.getDoc().queryCommandValue("FontSize")||"2",a=Ext.isString(c)&&c.indexOf("px")!==-1,b;c=parseInt(c,10);if(a){if(c<=10){c=1+e}else{if(c<=13){c=2+e}else{if(c<=16){c=3+e}else{if(c<=18){c=4+e}else{if(c<=24){c=5+e}else{c=6+e}}}}}c=Ext.Number.constrain(c,1,6)}else{b=Ext.isSafari;if(b){e*=2}c=Math.max(1,c+e)+(b?"px":0)}this.execCmd("FontSize",c)},onEditorEvent:function(a){this.updateToolbar()},updateToolbar:function(){var e=this,d,g,a,c;if(e.readOnly){return}if(!e.activated){e.onFirstFocus();return}d=e.getToolbar().items.map;g=e.getDoc();if(e.enableFont&&!Ext.isSafari2){a=(g.queryCommandValue("FontName")||e.defaultFont).toLowerCase();c=e.fontSelect.dom;if(a!==c.value){c.value=a}}function b(){Ext.Array.forEach(Ext.Array.toArray(arguments),function(h){d[h].toggle(g.queryCommandState(h))})}if(e.enableFormat){b("bold","italic","underline")}if(e.enableAlignments){b("justifyleft","justifycenter","justifyright")}if(!Ext.isSafari2&&e.enableLists){b("insertorderedlist","insertunorderedlist")}Ext.menu.Manager.hideAll();e.syncValue()},relayBtnCmd:function(a){this.relayCmd(a.getItemId())},relayCmd:function(b,a){Ext.defer(function(){var c=this;c.focus();c.execCmd(b,a);c.updateToolbar()},10,this)},execCmd:function(d,c){var b=this,e=b.getDoc(),a;e.execCommand(d,false,c===a?null:c);b.syncValue()},applyCommand:function(d){if(d.ctrlKey){var a=this,g=d.getCharCode(),b;if(g>0){g=String.fromCharCode(g);switch(g){case"b":b="bold";break;case"i":b="italic";break;case"u":b="underline";break}if(b){a.win.focus();a.execCmd(b);a.deferFocus();d.preventDefault()}}}},insertAtCursor:function(c){var b=this,a;if(b.activated){b.win.focus();if(Ext.isIE){a=b.getDoc().selection.createRange();if(a){a.pasteHTML(c);b.syncValue();b.deferFocus()}}else{b.execCmd("InsertHTML",c);b.deferFocus()}}},fixKeys:function(){if(Ext.isIE){return function(h){var c=this,b=h.getKey(),g=c.getDoc(),a,d;if(b===h.TAB){h.stopEvent();a=g.selection.createRange();if(a){a.collapse(true);a.pasteHTML("    ");c.deferFocus()}}else{if(b===h.ENTER){a=g.selection.createRange();if(a){d=a.parentElement();if(!d||d.tagName.toLowerCase()!=="li"){h.stopEvent();a.pasteHTML("
    ");a.collapse(false);a.select()}}}}}}if(Ext.isOpera){return function(b){var a=this;if(b.getKey()===b.TAB){b.stopEvent();a.win.focus();a.execCmd("InsertHTML","    ");a.deferFocus()}}}if(Ext.isWebKit){return function(c){var b=this,a=c.getKey();if(a===c.TAB){c.stopEvent();b.execCmd("InsertText","\t");b.deferFocus()}else{if(a===c.ENTER){c.stopEvent();b.execCmd("InsertHtml","

    ");b.deferFocus()}}}}return null}(),getToolbar:function(){return this.toolbar},buttonTips:{bold:{title:"Bold (Ctrl+B)",text:"Make the selected text bold.",cls:Ext.baseCSSPrefix+"html-editor-tip"},italic:{title:"Italic (Ctrl+I)",text:"Make the selected text italic.",cls:Ext.baseCSSPrefix+"html-editor-tip"},underline:{title:"Underline (Ctrl+U)",text:"Underline the selected text.",cls:Ext.baseCSSPrefix+"html-editor-tip"},increasefontsize:{title:"Grow Text",text:"Increase the font size.",cls:Ext.baseCSSPrefix+"html-editor-tip"},decreasefontsize:{title:"Shrink Text",text:"Decrease the font size.",cls:Ext.baseCSSPrefix+"html-editor-tip"},backcolor:{title:"Text Highlight Color",text:"Change the background color of the selected text.",cls:Ext.baseCSSPrefix+"html-editor-tip"},forecolor:{title:"Font Color",text:"Change the color of the selected text.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifyleft:{title:"Align Text Left",text:"Align text to the left.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifycenter:{title:"Center Text",text:"Center text in the editor.",cls:Ext.baseCSSPrefix+"html-editor-tip"},justifyright:{title:"Align Text Right",text:"Align text to the right.",cls:Ext.baseCSSPrefix+"html-editor-tip"},insertunorderedlist:{title:"Bullet List",text:"Start a bulleted list.",cls:Ext.baseCSSPrefix+"html-editor-tip"},insertorderedlist:{title:"Numbered List",text:"Start a numbered list.",cls:Ext.baseCSSPrefix+"html-editor-tip"},createlink:{title:"Hyperlink",text:"Make the selected text a hyperlink.",cls:Ext.baseCSSPrefix+"html-editor-tip"},sourceedit:{title:"Source Edit",text:"Switch to source editing mode.",cls:Ext.baseCSSPrefix+"html-editor-tip"}}});Ext.define("Ext.form.field.Radio",{extend:"Ext.form.field.Checkbox",alias:["widget.radiofield","widget.radio"],alternateClassName:"Ext.form.Radio",requires:["Ext.form.RadioManager"],isRadio:true,inputType:"radio",ariaRole:"radio",getGroupValue:function(){var a=this.getManager().getChecked(this.name);return a?a.inputValue:null},onBoxClick:function(b){var a=this;if(!a.disabled&&!a.readOnly){this.setValue(true)}},setValue:function(a){var b=this,c;if(Ext.isBoolean(a)){b.callParent(arguments)}else{c=b.getManager().getWithValue(b.name,a).getAt(0);if(c){c.setValue(true)}}return b},getSubmitValue:function(){return this.checked?this.inputValue:null},getModelData:function(){return this.getSubmitData()},onChange:function(b,a){var c=this;c.callParent(arguments);if(b){this.getManager().getByName(c.name).each(function(d){if(d!==c){d.setValue(false)}},c)}},beforeDestroy:function(){this.callParent();this.getManager().removeAtKey(this.id)},getManager:function(){return Ext.form.RadioManager}});Ext.define("Ext.picker.Time",{extend:"Ext.view.BoundList",alias:"widget.timepicker",requires:["Ext.data.Store","Ext.Date"],increment:15,format:"g:i A",displayField:"disp",initDate:[2008,1,1],componentCls:Ext.baseCSSPrefix+"timepicker",loadMask:false,initComponent:function(){var c=this,a=Ext.Date,b=a.clearTime,d=c.initDate.join("/");c.absMin=b(new Date(d));c.absMax=a.add(b(new Date(d)),"mi",(24*60)-1);c.store=c.createStore();c.updateList();this.callParent()},setMinValue:function(a){this.minValue=a;this.updateList()},setMaxValue:function(a){this.maxValue=a;this.updateList()},normalizeDate:function(a){var b=this.initDate;a.setFullYear(b[0],b[1]-1,b[2]);return a},updateList:function(){var c=this,b=c.normalizeDate(c.minValue||c.absMin),a=c.normalizeDate(c.maxValue||c.absMax);c.store.filterBy(function(d){var e=d.get("date");return e>=b&&e<=a})},createStore:function(){var d=this,c=Ext.Date,e=[],b=d.absMin,a=d.absMax;while(b<=a){e.push({disp:c.dateFormat(b,d.format),date:b});b=c.add(b,"mi",d.increment)}return Ext.create("Ext.data.Store",{fields:["disp","date"],data:e})}});Ext.define("Ext.form.field.Time",{extend:"Ext.form.field.Picker",alias:"widget.timefield",requires:["Ext.form.field.Date","Ext.picker.Time","Ext.view.BoundListKeyNav","Ext.Date"],alternateClassName:["Ext.form.TimeField","Ext.form.Time"],triggerCls:Ext.baseCSSPrefix+"form-time-trigger",minText:"The time in this field must be equal to or after {0}",maxText:"The time in this field must be equal to or before {0}",invalidText:"{0} is not a valid time",format:"g:i A",altFormats:"g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H|gi a|hi a|giA|hiA|gi A|hi A",increment:15,pickerMaxHeight:300,selectOnTab:true,initDate:"1/1/2008",initDateFormat:"j/n/Y",initComponent:function(){var c=this,b=c.minValue,a=c.maxValue;if(b){c.setMinValue(b)}if(a){c.setMaxValue(a)}this.callParent()},initValue:function(){var a=this,b=a.value;if(Ext.isString(b)){a.value=a.rawToValue(b)}a.callParent()},setMinValue:function(c){var b=this,a=b.picker;b.setLimit(c,true);if(a){a.setMinValue(b.minValue)}},setMaxValue:function(c){var b=this,a=b.picker;b.setLimit(c,false);if(a){a.setMaxValue(b.maxValue)}},setLimit:function(b,g){var a=this,e,c;if(Ext.isString(b)){e=a.parseDate(b)}else{if(Ext.isDate(b)){e=b}}if(e){c=Ext.Date.clearTime(new Date(a.initDate));c.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());a[g?"minValue":"maxValue"]=c}},rawToValue:function(a){return this.parseDate(a)||a||null},valueToRaw:function(a){return this.formatDate(this.parseDate(a))},getErrors:function(d){var b=this,g=Ext.String.format,h=b.callParent(arguments),c=b.minValue,e=b.maxValue,a;d=b.formatDate(d||b.processRawValue(b.getRawValue()));if(d===null||d.length<1){return h}a=b.parseDate(d);if(!a){h.push(g(b.invalidText,d,b.format));return h}if(c&&ae){h.push(g(b.maxText,b.formatDate(e)))}return h},formatDate:function(){return Ext.form.field.Date.prototype.formatDate.apply(this,arguments)},parseDate:function(e){if(!e||Ext.isDate(e)){return e}var d=this,h=d.safeParse(e,d.format),b=d.altFormats,g=d.altFormatsArray,c=0,a;if(!h&&b){g=g||b.split("|");a=g.length;for(;cm[h]){Ext.fly(j[h]).setHeight(b[h])}else{if(b[h]','
    ',""],initComponent:function(){var c=this,b=c.dock,a=Ext.baseCSSPrefix+"scroller-vertical",d="width";c.offsets={bottom:0};c.scrollProp="scrollTop";c.vertical=true;if(b==="top"||b==="bottom"){a=Ext.baseCSSPrefix+"scroller-horizontal";d="height";c.scrollProp="scrollLeft";c.vertical=false;c.weight+=5}c[d]=c.scrollerSize=Ext.getScrollbarSize()[d];c.cls+=(" "+a);Ext.applyIf(c.renderSelectors,{stretchEl:"."+Ext.baseCSSPrefix+"stretcher",scrollEl:"."+Ext.baseCSSPrefix+"scroller-ct"});c.callParent()},initRenderData:function(){var b=this,a=b.callParent(arguments)||{};a.baseId=b.id;return a},afterRender:function(){var a=this;a.callParent();a.mon(a.scrollEl,"scroll",a.onElScroll,a);Ext.cache[a.el.id].skipGarbageCollection=true},onAdded:function(a){this.ownerGrid=a;this.callParent(arguments)},getSizeCalculation:function(){var h=this,c=h.getPanel(),g=1,b=1,d,i;if(!h.vertical){var e=c.query("tableview"),a=e[1]||e[0];if(!a){return false}g=a.headerCt.getFullWidth();if(Ext.isIEQuirks){g--}}else{d=c.down("tableview:not([lockableInjected])");if(!d||!d.el){return false}i=d.el.child("table",true);if(!i){return false}b=i.offsetHeight}if(isNaN(g)){g=1}if(isNaN(b)){b=1}return{width:g,height:b}},invalidate:function(d){var g=this,e=g.stretchEl;if(!e||!g.ownerCt){return}var j=g.getSizeCalculation(),i=g.scrollEl,b=i.dom,c=g.reservedSpace,h,a=5;if(j){e.setSize(j);j=g.el.getSize(true);if(g.vertical){j.width+=a;j.height-=c;h="left"}else{j.width-=c;j.height+=a;h="top"}i.setSize(j);b.style[h]=(-a)+"px";b.scrollTop=b.scrollTop}},afterComponentLayout:function(){this.callParent(arguments);this.invalidate()},restoreScrollPos:function(){var c=this,b=this.scrollEl,a=b&&b.dom;if(c._scrollPos!==null&&a){a[c.scrollProp]=c._scrollPos;c._scrollPos=null}},setReservedSpace:function(b){var a=this;if(a.reservedSpace!==b){a.reservedSpace=b;a.invalidate()}},saveScrollPos:function(){var c=this,b=this.scrollEl,a=b&&b.dom;c._scrollPos=a?a[c.scrollProp]:null},setScrollTop:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return a.scrollTop=Ext.Number.constrain(c,0,a.scrollHeight-a.clientHeight)}},setScrollLeft:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return a.scrollLeft=Ext.Number.constrain(c,0,a.scrollWidth-a.clientWidth)}},scrollByDeltaY:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return this.setScrollTop(a.scrollTop+c)}},scrollByDeltaX:function(c){var b=this.scrollEl,a=b&&b.dom;if(a){return this.setScrollLeft(a.scrollLeft+c)}},scrollToTop:function(){this.setScrollTop(0)},onElScroll:function(a,b){this.fireEvent("bodyscroll",a,b)},getPanel:function(){var a=this;if(!a.panel){a.panel=this.up("[scrollerOwner]")}return a.panel}});Ext.define("Ext.grid.PagingScroller",{extend:"Ext.grid.Scroller",alias:"widget.paginggridscroller",percentageFromEdge:0.35,scrollToLoadBuffer:200,activePrefetch:true,chunkSize:50,snapIncrement:25,syncScroll:true,initComponent:function(){var a=this,b=a.store;b.on("guaranteedrange",this.onGuaranteedRange,this);this.callParent(arguments)},onGuaranteedRange:function(c,g,a){var d=this,e=d.store,b;if(c.length&&d.visibleStart=y){if(p>u-1){this.cancelLoad();if(h.rangeSatisfied(u-y,u-1)){z.syncScroll=true}h.guaranteeRange(u-y,u-1)}else{if(gv){if(h.rangeSatisfied(s,p)){this.cancelLoad();h.guaranteeRange(s,p)}else{h.mask();z.attemptLoad(s,p)}z.syncScroll=false}else{if(q&&g<(c+j)&&d>0){z.syncScroll=true;h.prefetchPage(d)}else{if(q&&a>(v-j)&&rl){return}for(;gg){b=1;if(c&&((j-e)j){b=2;if(h&&((g-l)0&&j)){n.stopEvent();q.scrollByDeltaX(i)}}if(k){if((h<0&&g)||(h>0&&l)){n.stopEvent();k.scrollByDeltaY(h)}}},onViewRefresh:function(){this.determineScrollbars();if(this.invalidateScrollerOnRefresh){this.invalidateScroller()}},setScrollTop:function(d){var c=this,b=c.getScrollerOwner(),a=c.getVerticalScroller();b.virtualScrollTop=d;if(a){a.setScrollTop(d)}},getScrollerOwner:function(){var a=this;if(!this.scrollerOwner){a=this.up("[scrollerOwner]")}return a},scrollByDeltaY:function(a){var b=this.getVerticalScroller();if(b){b.scrollByDeltaY(a)}},scrollByDeltaX:function(a){var b=this.getVerticalScroller();if(b){b.scrollByDeltaX(a)}},getLhsMarker:function(){var a=this;if(!a.lhsMarker){a.lhsMarker=Ext.core.DomHelper.append(a.el,{cls:Ext.baseCSSPrefix+"grid-resize-marker"},true)}return a.lhsMarker},getRhsMarker:function(){var a=this;if(!a.rhsMarker){a.rhsMarker=Ext.core.DomHelper.append(a.el,{cls:Ext.baseCSSPrefix+"grid-resize-marker"},true)}return a.rhsMarker},getSelectionModel:function(){if(!this.selModel){this.selModel={}}var b="SINGLE",a;if(this.simpleSelect){b="SIMPLE"}else{if(this.multiSelect){b="MULTI"}}Ext.applyIf(this.selModel,{allowDeselect:this.allowDeselect,mode:b});if(!this.selModel.events){a=this.selModel.selType||this.selType;this.selModel=Ext.create("selection."+a,this.selModel)}if(!this.selModel.hasRelaySetup){this.relayEvents(this.selModel,["selectionchange","beforeselect","beforedeselect","select","deselect"]);this.selModel.hasRelaySetup=true}if(this.disableSelection){this.selModel.locked=true}return this.selModel},onVerticalScroll:function(e,g){var b=this.getScrollerOwner(),c=b.query("tableview"),d=0,a=c.length;for(;d";a.callParent();a.mon(a.store,{load:a.onStoreLoad,scope:a})},onStoreLoad:function(){var a=this;if(a.invalidateScrollerOnRefresh){if(Ext.isGecko){if(!a.scrollToTopTask){a.scrollToTopTask=Ext.create("Ext.util.DelayedTask",a.scrollToTop,a)}a.scrollToTopTask.delay(1)}else{a.scrollToTop()}}},scrollToTop:Ext.emptyFn,addElListener:function(a,c,b){this.mon(this,a,c,b,{element:"el"})},getGridColumns:function(){return this.headerCt.getGridColumns()},getHeaderAtIndex:function(a){return this.headerCt.getHeaderAtIndex(a)},getCell:function(a,b){var c=this.getNode(a);return Ext.fly(c).down(b.getCellSelector())},getFeature:function(b){var a=this.featuresMC;if(a){return a.get(b)}},initFeatures:function(){var d=this,b=0,c,a;d.features=d.features||[];c=d.features;a=c.length;d.featuresMC=Ext.create("Ext.util.MixedCollection");for(;bd.bottom){h=i.bottom-d.bottom}}e=g.getRecord(j);b=g.store.indexOf(e);if(h){a.scrollByDeltaY(h)}g.fireEvent("rowfocus",e,j,b)}},focusCell:function(h){var j=this,k=j.getCellByPosition(h),b=j.el,d=0,e=0,c=b.getRegion(),a=j.ownerCt,i,g;if(k){i=k.getRegion();if(i.topc.bottom){d=i.bottom-c.bottom}}if(i.leftc.right){e=i.right-c.right}}if(d){a.scrollByDeltaY(d)}if(e){a.scrollByDeltaX(e)}b.focus();j.fireEvent("cellfocus",g,k,h)}},scrollByDelta:function(c,b){b=b||"scrollTop";var a=this.el.dom;a[b]=(a[b]+=c)},onUpdate:function(b,a){this.callParent(arguments)},saveScrollState:function(){var b=this.el.dom,a=this.scrollState;a.left=b.scrollLeft;a.top=b.scrollTop},restoreScrollState:function(){var b=this.el.dom,a=this.scrollState,c=this.headerCt.el.dom;c.scrollLeft=b.scrollLeft=a.left;b.scrollTop=a.top},refresh:function(){this.setNewTemplate();this.callParent(arguments)},processItemEvent:function(b,m,j,d){var h=this,k=d.getTarget(h.cellSelector,m),i=k?k.cellIndex:-1,a=h.statics().EventMap,c=h.getSelectionModel(),g=d.type,l;if(g=="keydown"&&!k&&c.getCurrentPosition){k=h.getCellByPosition(c.getCurrentPosition());if(k){k=k.dom;i=k.cellIndex}}l=h.fireEvent("uievent",g,h,k,j,i,d);if(l===false||h.callParent(arguments)===false){return false}if(g=="mouseover"||g=="mouseout"){return true}return !((h["onBeforeCell"+a[g]](k,i,b,m,j,d)===false)||(h.fireEvent("beforecell"+g,h,k,i,b,m,j,d)===false)||(h["onCell"+a[g]](k,i,b,m,j,d)===false)||(h.fireEvent("cell"+g,h,k,i,b,m,j,d)===false))},processSpecialEvent:function(k){var n=this,b=n.statics().EventMap,d=n.features,m=d.length,p=k.type,g,q,h,j,c,l,a=n.ownerCt;n.callParent(arguments);if(p=="mouseover"||p=="mouseout"){return}for(g=0;ge){e=b}}return e},getPositionByEvent:function(g){var d=this,b=g.getTarget(d.cellSelector),c=g.getTarget(d.itemSelector),a=d.getRecord(c),h=d.getHeaderByCell(b);return d.getPosition(a,h)},getHeaderByCell:function(b){if(b){var a=b.className.match(this.cellRe);if(a&&a[1]){return Ext.getCmp(a[1])}}return false},walkCells:function(l,m,h,n,a,p){var j=this,q=l.row,d=l.column,k=j.store.getCount(),g=j.getFirstVisibleColumnIndex(),b=j.getLastVisibleColumnIndex(),i={row:q,column:d},c=j.headerCt.getHeaderAtIndex(d);if(!c||c.hidden){return false}h=h||{};m=m.toLowerCase();switch(m){case"right":if(d===b){if(n||q===k-1){return false}if(!h.ctrlKey){i.row=q+1;i.column=g}}else{if(!h.ctrlKey){i.column=d+j.getRightGap(c)}else{i.column=b}}break;case"left":if(d===g){if(n||q===0){return false}if(!h.ctrlKey){i.row=q-1;i.column=b}}else{if(!h.ctrlKey){i.column=d+j.getLeftGap(c)}else{i.column=g}}break;case"up":if(q===0){return false}else{if(!h.ctrlKey){i.row=q-1}else{i.row=0}}break;case"down":if(q===k-1){return false}else{if(!h.ctrlKey){i.row=q+1}else{i.row=k-1}}break}if(a&&a.call(p||window,i)!==true){return false}else{return i}},getFirstVisibleColumnIndex:function(){var c=this.getHeaderCt(),a=c.getGridColumns(),d=Ext.ComponentQuery.query(":not([hidden])",a),b=d[0];return c.getHeaderIndex(b)},getLastVisibleColumnIndex:function(){var c=this.getHeaderCt(),a=c.getGridColumns(),d=Ext.ComponentQuery.query(":not([hidden])",a),b=d[d.length-1];return c.getHeaderIndex(b)},getHeaderCt:function(){return this.headerCt},getPosition:function(a,e){var d=this,b=d.store,c=d.headerCt.getGridColumns();return{row:b.indexOf(a),column:Ext.Array.indexOf(c,e)}},getRightGap:function(a){var g=this.getHeaderCt(),e=g.getGridColumns(),b=Ext.Array.indexOf(e,a),c=b+1,d;for(;c<=e.length;c++){if(!e[c].hidden){d=c;break}}return d-b},beforeDestroy:function(){if(this.rendered){this.el.removeAllListeners()}this.callParent(arguments)},getLeftGap:function(a){var g=this.getHeaderCt(),e=g.getGridColumns(),c=Ext.Array.indexOf(e,a),d=c-1,b;for(;d>=0;d--){if(!e[d].hidden){b=d;break}}return b-c}});Ext.define("Ext.grid.View",{extend:"Ext.view.Table",alias:"widget.gridview",stripeRows:true,invalidateScrollerOnRefresh:true,scrollToTop:function(){if(this.rendered){var b=this.ownerCt,a=b.verticalScroller;if(a){a.scrollToTop()}}},onAdd:function(c,a,b){this.callParent(arguments);this.doStripeRows(b)},onRemove:function(c,a,b){this.callParent(arguments);this.doStripeRows(b)},onUpdate:function(d,a,b){var c=d.indexOf(a);this.callParent(arguments);this.doStripeRows(c,c)},doStripeRows:function(b,a){if(this.stripeRows){var d=this.getNodes(b,a),g=d.length,c=0,e;for(;c=0){d.row=c.getNode(a);e.reposition();if(e.tooltip&&e.tooltip.isVisible()){e.tooltip.setTarget(d.row)}}else{e.editingPlugin.cancelEdit()}},onCtScroll:function(d,c){var a=this,b=c.scrollTop,g=c.scrollLeft;if(b!==a.lastScrollTop){a.lastScrollTop=b;if((a.tooltip&&a.tooltip.isVisible())||a.hiddenTip){a.repositionTip()}}if(g!==a.lastScrollLeft){a.lastScrollLeft=g;a.reposition()}},onColumnAdd:function(a){this.setField(a)},onColumnRemove:function(a){this.columns.remove(a)},onColumnResize:function(b,a){b.getEditor().setWidth(a-2);if(this.isVisible()){this.reposition()}},onColumnHide:function(a){a.getEditor().hide();if(this.isVisible()){this.reposition()}},onColumnShow:function(a){var b=a.getEditor();b.setWidth(a.getWidth()-2).show();if(this.isVisible()){this.reposition()}},onColumnMove:function(b,a,c){var d=b.getEditor();if(this.items.indexOf(d)!=c){this.move(a,c)}},onFieldAdd:function(e,a,b){var c=this,g=c.editingPlugin.grid.headerCt.getHeaderIndex(b),d=b.getEditor({xtype:"displayfield"});c.insert(g,d)},onFieldRemove:function(g,a,b){var c=this,e=b.getEditor(),d=e.el;c.remove(e,false);if(d){d.remove()}},onFieldReplace:function(e,a,c,b){var d=this;d.onFieldRemove(e,a,b)},clearFields:function(){var a=this,b=a.columns;b.each(function(c){b.removeAtKey(c)})},getFloatingButtons:function(){var d=this,e=Ext.baseCSSPrefix,c=e+"grid-row-editor-buttons",b=d.editingPlugin,a;if(!d.floatingButtons){a=d.floatingButtons=Ext.create("Ext.Container",{renderTpl:['
    ','
    ','
    ','
    ','
    '],renderTo:d.el,baseCls:c,layout:{type:"hbox",align:"middle"},defaults:{margins:"0 1 0 1"},items:[{itemId:"update",flex:1,xtype:"button",handler:b.completeEdit,scope:b,text:d.saveBtnText,disabled:!d.isValid},{flex:1,xtype:"button",handler:b.cancelEdit,scope:b,text:d.cancelBtnText}]});d.mon(a.el,{mousedown:Ext.emptyFn,click:Ext.emptyFn,stopEvent:true})}return d.floatingButtons},reposition:function(s){var u=this,c=u.context,e=c&&Ext.get(c.row),q=u.getFloatingButtons(),r=q.el,a=u.editingPlugin.grid,g=a.view.el,t=a.verticalScroller,p=a.headerCt.getFullWidth(),v=a.getWidth(),l=Math.min(p,v),n=a.view.el.dom.scrollLeft,i=q.getWidth(),d=(l-i)/2+n,j,h,m,k=function(){if(t){t.invalidate();r.scrollIntoView(g,false)}if(s&&s.callback){s.callback.call(s.scope||u)}};if(e&&Ext.isElement(e.dom)){e.scrollIntoView(g,false);j=e.getXY()[1]-5;h=e.getHeight();m=h+10;if(Ext.isIE){m+=2}if(u.getHeight()!=m){u.setHeight(m);u.el.setLeft(0)}if(s){var b={to:{y:j},duration:s.duration||125,listeners:{afteranimate:function(){k();j=e.getXY()[1]-5;u.el.setY(j)}}};u.animate(b)}else{u.el.setY(j);k()}}if(u.getWidth()!=p){u.setWidth(p)}r.setLeft(d)},getEditor:function(a){var b=this;if(Ext.isNumber(a)){return b.query(">[isFormField]")[a]}else{if(a instanceof Ext.grid.column.Column){return a.getEditor()}}},removeField:function(b){var a=this;b=a.getEditor(b);a.mun(b,"validitychange",a.onValidityChange,a);a.columns.removeKey(b.id)},setField:function(a){var b=this,c;if(Ext.isArray(a)){Ext.Array.forEach(a,b.setField,b);return}c=a.getEditor(null,{xtype:"displayfield",getModelData:function(){return null}});c.margins="0 0 0 2";c.setWidth(a.getDesiredWidth()-2);b.mon(c,"change",b.onFieldChange,b);b.columns.add(c.id,a);if(b.isVisible()&&b.context){b.renderColumnData(c,b.context.record)}},loadRecord:function(a){var c=this,b=c.getForm();b.loadRecord(a);if(b.isValid()){c.hideToolTip()}else{c.showToolTip()}Ext.Array.forEach(c.query(">displayfield"),function(d){c.renderColumnData(d,a)},c)},renderColumnData:function(k,h){var i=this,a=i.editingPlugin.grid,d=a.headerCt,j=a.view,m=j.store,e=i.columns.get(k.id),l=h.get(e.dataIndex);if(e.renderer){var b={tdCls:"",style:""},c=m.indexOf(h),g=d.getHeaderIndex(e);l=e.renderer.call(e.scope||d.ownerCt,l,b,h,c,g,m,j)}k.setRawValue(l);k.resetOriginalValue()},beforeEdit:function(){var a=this;if(a.isVisible()&&!a.autoCancel&&a.isDirty()){a.showToolTip();return false}},startEdit:function(b,h){var g=this,e=g.editingPlugin.grid,a=e.getView(),c=e.store,d=g.context=Ext.apply(g.editingPlugin.context,{view:e.getView(),store:c});d.grid.getSelectionModel().select(b);g.loadRecord(b);if(!g.isVisible()){g.show();g.focusContextCell()}else{g.reposition({callback:this.focusContextCell})}},focusContextCell:function(){var a=this.getEditor(this.context.colIdx);if(a&&a.focus){a.focus()}},cancelEdit:function(){var b=this,a=b.getForm();b.hide();a.clearInvalid();a.reset()},completeEdit:function(){var b=this,a=b.getForm();if(!a.isValid()){return}a.updateRecord(b.context.record);b.hide();return true},onShow:function(){var a=this;a.callParent(arguments);a.reposition()},onHide:function(){var a=this;a.callParent(arguments);a.hideToolTip();a.invalidateScroller();if(a.context){a.context.view.focus();a.context=null}},isDirty:function(){var b=this,a=b.getForm();return a.isDirty()},getToolTip:function(){var a=this,b;if(!a.tooltip){b=a.tooltip=Ext.createWidget("tooltip",{cls:Ext.baseCSSPrefix+"grid-row-editor-errors",title:a.errorsText,autoHide:false,closable:true,closeAction:"disable",anchor:"left"})}return a.tooltip},hideToolTip:function(){var a=this,b=a.getToolTip();if(b.rendered){b.disable()}a.hiddenTip=false},showToolTip:function(){var c=this,d=c.getToolTip(),a=c.context,e=Ext.get(a.row),b=a.grid.view.el;d.setTarget(e);d.showAt([-10000,-10000]);d.body.update(c.getErrors());d.mouseOffset=[b.getWidth()-e.getWidth()+c.lastScrollLeft+15,0];c.repositionTip();d.doLayout();d.enable()},repositionTip:function(){var i=this,j=i.getToolTip(),c=i.context,l=Ext.get(c.row),k=c.grid.view.el,e=k.getHeight(),g=i.lastScrollTop,h=g+e,b=l.getHeight(),a=l.dom.offsetTop,d=a+b;if(d>g&&a":"",c=[];Ext.Array.forEach(a.query(">[isFormField]"),function(d){c=c.concat(Ext.Array.map(d.getErrors(),function(g){return"
  • "+g+"
  • "}))},a);return b+"
      "+c.join("")+"
    "},invalidateScroller:function(){var c=this,b=c.context,a=b.grid.verticalScroller;if(a){a.invalidate()}}});Ext.define("Ext.grid.header.Container",{extend:"Ext.container.Container",uses:["Ext.grid.ColumnLayout","Ext.grid.column.Column","Ext.menu.Menu","Ext.menu.CheckItem","Ext.menu.Separator","Ext.grid.plugin.HeaderResizer","Ext.grid.plugin.HeaderReorderer"],border:true,alias:"widget.headercontainer",baseCls:Ext.baseCSSPrefix+"grid-header-ct",dock:"top",weight:100,defaultType:"gridcolumn",defaultWidth:100,sortAscText:"Sort Ascending",sortDescText:"Sort Descending",sortClearText:"Clear Sort",columnsText:"Columns",lastHeaderCls:Ext.baseCSSPrefix+"column-header-last",firstHeaderCls:Ext.baseCSSPrefix+"column-header-first",headerOpenCls:Ext.baseCSSPrefix+"column-header-open",triStateSort:false,ddLock:false,dragging:false,sortable:true,initComponent:function(){var a=this;a.headerCounter=0;a.plugins=a.plugins||[];if(!a.isHeader){a.resizer=Ext.create("Ext.grid.plugin.HeaderResizer");a.reorderer=Ext.create("Ext.grid.plugin.HeaderReorderer");if(!a.enableColumnResize){a.resizer.disable()}if(!a.enableColumnMove){a.reorderer.disable()}a.plugins.push(a.reorderer,a.resizer)}if(a.isHeader&&!a.items){a.layout="auto"}else{a.layout={type:"gridcolumn",availableSpaceOffset:a.availableSpaceOffset,align:"stretchmax",resetStretch:true}}a.defaults=a.defaults||{};Ext.applyIf(a.defaults,{width:a.defaultWidth,triStateSort:a.triStateSort,sortable:a.sortable});a.callParent();a.addEvents("columnresize","headerclick","headertriggerclick","columnmove","columnhide","columnshow","sortchange","menucreate")},onDestroy:function(){Ext.destroy(this.resizer,this.reorderer);this.callParent()},onAdd:function(b){var a=this;if(!b.headerId){b.headerId="h"+(++a.headerCounter)}a.callParent(arguments);a.purgeCache()},onRemove:function(b){var a=this;a.callParent(arguments);a.purgeCache()},afterRender:function(){this.callParent();var a=this.up("[store]").store,c=a.sorters,d=c.first(),b;if(d){b=this.down("gridcolumn[dataIndex="+d.property+"]");if(b){b.setSortState(d.direction,false,true)}}},afterLayout:function(){if(!this.isHeader){var e=this,d=e.query(">gridcolumn:not([hidden])"),c,b,a;e.callParent(arguments);if(d.length){b=d[0].el;if(b!==e.pastFirstHeaderEl){if(e.pastFirstHeaderEl){e.pastFirstHeaderEl.removeCls(e.firstHeaderCls)}b.addCls(e.firstHeaderCls);e.pastFirstHeaderEl=b}a=d[d.length-1].el;if(a!==e.pastLastHeaderEl){if(e.pastLastHeaderEl){e.pastLastHeaderEl.removeCls(e.lastHeaderCls)}a.addCls(e.lastHeaderCls);e.pastLastHeaderEl=a}}}},onHeaderShow:function(g){var k=this,l=k.ownerCt,c=k.getMenu(),d,b,h,a,j,e;if(c){h=c.down("menucheckitem[headerId="+g.id+"]");if(h){h.setChecked(true,true)}d=c.query("#columnItem>menucheckitem[checked]");b=d.length;if((k.getVisibleGridColumns().length>1)&&k.disabledMenuItems&&k.disabledMenuItems.length){if(b==1){Ext.Array.remove(k.disabledMenuItems,d[0])}for(e=0,j=k.disabledMenuItems.length;emenucheckitem[checked]");if((e.length===1)){if(!d.disabledMenuItems){d.disabledMenuItems=[]}if((d.getVisibleGridColumns().length===1)&&e[0].menu){e=e.concat(e[0].menu.query("menucheckitem[checked]"))}a=e.length;for(b=0;bgridcolumn[hideable]"),h=a.length,d;for(;b{text}
    ',dataIndex:null,text:" ",sortable:true,hideable:true,menuDisabled:false,renderer:false,align:"left",draggable:true,initDraggable:Ext.emptyFn,isHeader:true,initComponent:function(){var c=this,b,a;if(Ext.isDefined(c.header)){c.text=c.header;delete c.header}if(c.flex){c.minWidth=c.minWidth||Ext.grid.plugin.HeaderResizer.prototype.minColWidth}else{c.minWidth=c.width}if(!c.triStateSort){c.possibleSortStates.length=2}if(Ext.isDefined(c.columns)){c.isGroupHeader=true;c.items=c.columns;delete c.columns;delete c.flex;c.width=0;for(b=0,a=c.items.length;b:not([hidden])");if(!c.length){g.ownerCt.hide()}else{for(d=0,a=c.length;d*");for(c=0,a=b.length;c:not([hidden])");for(c=0,a=b.length;c
    ',indicatorCls:"x-grid-drop-indicator",constructor:function(a){var b=this;Ext.apply(b,a);if(!b.ddGroup){b.ddGroup="view-dd-zone-"+b.view.id}b.callParent([b.view.el])},fireViewEvent:function(){var b=this,a;b.lock();a=b.view.fireEvent.apply(b.view,arguments);b.unlock();return a},getTargetFromEvent:function(k){var j=k.getTarget(this.view.getItemSelector()),d,c,b,g,a,h;if(!j){d=k.getPageY();for(g=0,c=this.view.getNodes(),a=c.length;g=(b.bottom-b.top)/2){d="before"}else{d="after"}return d},containsRecordAtOffset:function(d,b,g){if(!b){return false}var a=this.view,c=a.indexOf(b),e=a.getNode(c+g),h=e?a.getRecord(e):null;return h&&Ext.Array.contains(d,h)},positionIndicator:function(b,c,d){var g=this,i=g.view,h=g.getPosition(d,b),l=i.getRecord(b),a=c.records,j,k;if(!Ext.Array.contains(a,l)&&(h=="before"&&!g.containsRecordAtOffset(a,l,-1)||h=="after"&&!g.containsRecordAtOffset(a,l,1))){g.valid=true;if(g.overRecord!=l||g.currentPosition!=h){k=Ext.fly(b).getY()-i.el.getY()-1;if(h=="after"){k+=Ext.fly(b).getHeight()}g.getIndicator().setWidth(Ext.fly(i.el).getWidth()).showAt(0,k);g.overRecord=l;g.currentPosition=h}}else{g.invalidateDrop()}},invalidateDrop:function(){if(this.valid){this.valid=false;this.getIndicator().hide()}},onNodeOver:function(c,a,g,d){var b=this;if(!Ext.Array.contains(d.records,b.view.getRecord(c))){b.positionIndicator(c,d,g)}return b.valid?b.dropAllowed:b.dropNotAllowed},notifyOut:function(c,a,g,d){var b=this;b.callParent(arguments);delete b.overRecord;delete b.currentPosition;if(b.indicator){b.indicator.hide()}},onContainerOver:function(a,h,g){var d=this,b=d.view,c=b.store.getCount();if(c){d.positionIndicator(b.getNode(c-1),g,h)}else{delete d.overRecord;delete d.currentPosition;d.getIndicator().setWidth(Ext.fly(b.el).getWidth()).showAt(0,0);d.valid=true}return d.dropAllowed},onContainerDrop:function(a,c,b){return this.onNodeDrop(a,null,c,b)},onNodeDrop:function(d,a,h,g){var c=this,j=false,b=function(){c.invalidateDrop();c.handleNodeDrop(g,c.overRecord,c.currentPosition);j=true;c.fireViewEvent("drop",d,g,c.overRecord,c.currentPosition)},i=false;if(c.valid){i=c.fireViewEvent("beforedrop",d,g,c.overRecord,c.currentPosition,b);if(i!==false){if(!j){b()}}}return i}});Ext.define("Ext.grid.ViewDropZone",{extend:"Ext.view.DropZone",indicatorHtml:'
    ',indicatorCls:"x-grid-drop-indicator",handleNodeDrop:function(b,d,e){var j=this.view,k=j.getStore(),h,a,c,g;if(b.copy){a=b.records;b.records=[];for(c=0,g=a.length;c"}return i}},destroy:function(){delete this.items;delete this.renderer;return this.callParent(arguments)},processEvent:function(g,j,k,a,h,c){var d=this,b=c.getTarget().className.match(d.actionIdRe),l,i;if(b){l=d.items[parseInt(b[1],10)];if(l){if(g=="click"){i=l.handler||d.handler;if(i){i.call(l.scope||d.scope||d,j,a,h,l,c)}}else{if(g=="mousedown"&&l.stopSelection!==false){return false}}}}return d.callParent(arguments)},cascade:function(b,a){b.call(a||this,this)},getRefItems:function(){return[]}});Ext.define("Ext.grid.column.Boolean",{extend:"Ext.grid.column.Column",alias:["widget.booleancolumn"],alternateClassName:"Ext.grid.BooleanColumn",trueText:"true",falseText:"false",undefinedText:" ",constructor:function(a){this.callParent(arguments);var b=this.trueText,c=this.falseText,d=this.undefinedText;this.renderer=function(e){if(e===undefined){return d}if(!e||e==="false"){return c}return b}}});Ext.define("Ext.grid.column.Date",{extend:"Ext.grid.column.Column",alias:["widget.datecolumn"],requires:["Ext.Date"],alternateClassName:"Ext.grid.DateColumn",format:Ext.Date.defaultFormat,constructor:function(a){this.callParent(arguments);this.renderer=Ext.util.Format.dateRenderer(this.format)}});Ext.define("Ext.grid.column.Number",{extend:"Ext.grid.column.Column",alias:["widget.numbercolumn"],requires:["Ext.util.Format"],alternateClassName:"Ext.grid.NumberColumn",format:"0,000.00",constructor:function(a){this.callParent(arguments);this.renderer=Ext.util.Format.numberRenderer(this.format)}});Ext.define("Ext.grid.column.Template",{extend:"Ext.grid.column.Column",alias:["widget.templatecolumn"],requires:["Ext.XTemplate"],alternateClassName:"Ext.grid.TemplateColumn",constructor:function(a){var c=this,b;c.callParent(arguments);b=c.tpl=(!Ext.isPrimitive(c.tpl)&&c.tpl.compile)?c.tpl:Ext.create("Ext.XTemplate",c.tpl);c.renderer=function(g,h,d){var e=Ext.apply({},d.data,d.getAssociatedData());return b.apply(e)}}});Ext.define("Ext.grid.feature.Feature",{extend:"Ext.util.Observable",alias:"feature.feature",isFeature:true,disabled:false,hasFeatureEvent:true,eventPrefix:null,eventSelector:null,view:null,grid:null,collectData:false,getFeatureTpl:function(){return""},getFireEventArgs:function(b,a,c,d){return[b,a,c,d]},attachEvents:function(){},getFragmentTpl:function(){return},mutateMetaRowTpl:function(a){},getMetaRowTplFragments:function(){return{}},getTableFragments:function(){return{}},getAdditionalData:function(c,a,b,d){return{}},enable:function(){this.disabled=false},disable:function(){this.disabled=true}});Ext.define("Ext.grid.feature.AbstractSummary",{extend:"Ext.grid.feature.Feature",alias:"feature.abstractsummary",showSummaryRow:true,nestedIdRe:/\{\{id\}([\w\-]*)\}/g,toggleSummaryRow:function(a){this.showSummaryRow=!!a},getSummaryFragments:function(){var a={};if(this.showSummaryRow){Ext.apply(a,{printSummaryRow:Ext.bind(this.printSummaryRow,this)})}return a},printSummaryRow:function(b){var a=this.view.getTableChunker().metaRowTpl.join("");a=a.replace("x-grid-row","x-grid-row-summary");a=a.replace("{{id}}","{gridSummaryValue}");a=a.replace(this.nestedIdRe,"{id$1}");a=a.replace("{[this.embedRowCls()]}","{rowCls}");a=a.replace("{[this.embedRowAttr()]}","{rowAttr}");a=Ext.create("Ext.XTemplate",a,{firstOrLastCls:Ext.view.TableChunker.firstOrLastCls});return a.applyTemplate({columns:this.getPrintData(b)})},getColumnValue:function(c,a){var b=Ext.getCmp(c.id),e=a[c.id],d=b.summaryRenderer;if(d){e=d.call(b.scope||this,e,a,c.dataIndex)}return e},getSummary:function(a,b,d,c){if(b){if(Ext.isFunction(b)){return a.aggregate(b,null,c)}switch(b){case"count":return a.count(c);case"min":return a.min(d,c);case"max":return a.max(d,c);case"sum":return a.sum(d,c);case"average":return a.average(d,c);default:return c?{}:""}}}});Ext.define("Ext.grid.feature.Chunking",{extend:"Ext.grid.feature.Feature",alias:"feature.chunking",chunkSize:20,rowHeight:Ext.isIE?27:26,visibleChunk:0,hasFeatureEvent:false,attachEvents:function(){var b=this.view.up("gridpanel"),a=b.down("gridscroller[dock=right]");a.el.on("scroll",this.onBodyScroll,this,{buffer:300})},onBodyScroll:function(g,c){var b=this.view,d=c.scrollTop,a=Math.floor(d/this.rowHeight/this.chunkSize);if(a!==this.visibleChunk){this.visibleChunk=a;b.refresh();b.el.dom.scrollTop=d;b.el.dom.scrollTop=d}},collectData:function(d,m,l,k,j){var c={fullWidth:j.fullWidth,chunks:[]},e=j.rows.length,b=0,g=0,a=this.visibleChunk,h,p,n;for(;be){n=e-b}else{n=this.chunkSize}if(g>=a-1&&g<=a+1){p=j.rows.slice(b,b+this.chunkSize)}else{p=[]}c.chunks.push({rows:p,fullWidth:k,chunkHeight:n*this.rowHeight})}return c},getTableFragments:function(){return{openTableWrap:function(){return'
    '},closeTableWrap:function(){return"
    "}}}});Ext.define("Ext.grid.feature.Grouping",{extend:"Ext.grid.feature.Feature",alias:"feature.grouping",eventPrefix:"group",eventSelector:"."+Ext.baseCSSPrefix+"grid-group-hd",constructor:function(){this.collapsedState={};this.callParent(arguments)},groupHeaderTpl:"Group: {name}",depthToIndent:17,collapsedCls:Ext.baseCSSPrefix+"grid-group-collapsed",hdCollapsedCls:Ext.baseCSSPrefix+"grid-group-hd-collapsed",groupByText:"Group By This Field",showGroupsText:"Show in Groups",hideGroupedHeader:false,startCollapsed:false,enableGroupingMenu:true,enableNoGroups:true,enable:function(){var c=this,a=c.view,b=a.store,d;if(c.lastGroupIndex){b.group(c.lastGroupIndex)}c.callParent();d=c.view.headerCt.getMenu().down("#groupToggleMenuItem");d.setChecked(true,true);a.refresh()},disable:function(){var d=this,a=d.view,b=a.store,e,c;c=b.groupers.first();if(c){d.lastGroupIndex=c.property;b.groupers.clear()}d.callParent();e=d.view.headerCt.getMenu().down("#groupToggleMenuItem");e.setChecked(true,true);e.setChecked(false,true);a.refresh()},getFeatureTpl:function(b,c,a,e){var d=this;return["",'
    {collapsed}'+d.groupHeaderTpl+"
    ",'{[this.recurse(values)]}',"
    "].join("")},getFragmentTpl:function(){return{indentByDepth:this.indentByDepth,depthToIndent:this.depthToIndent}},indentByDepth:function(a){var b=a.depth||0;return'style="padding-left:'+b*this.depthToIndent+'px;"'},destroy:function(){var a=this;delete a.view;delete a.prunedHeader},attachEvents:function(){var d=this,a=d.view,g,b,e,c;a.on({scope:d,groupclick:d.onGroupClick,rowfocus:d.onRowFocus});a.store.on("groupchange",d.onGroupChange,d);d.pruneGroupedHeader();if(d.enableGroupingMenu){d.injectGroupingMenu()}if(d.hideGroupedHeader){g=a.headerCt.down("gridcolumn[dataIndex="+d.getGroupField()+"]");b=g.id;e=a.headerCt.getMenu();c=e.down("menuitem[headerId="+b+"]");if(c){c.setChecked(false)}}},injectGroupingMenu:function(){var b=this,a=b.view,c=a.headerCt;c.showMenuBy=b.showMenuBy;c.getMenuItems=b.getMenuItems()},showMenuBy:function(b,e){var d=this.getMenu(),c=d.down("#groupMenuItem"),a=e.groupable===false?"disable":"enable";c[a]();Ext.grid.header.Container.prototype.showMenuBy.apply(this,arguments)},getMenuItems:function(){var e=this,b=e.groupByText,d=e.disabled,a=e.showGroupsText,c=e.enableNoGroups,h=Ext.Function.bind(e.onGroupMenuItemClick,e),g=Ext.Function.bind(e.onGroupToggleMenuItemClick,e);return function(){var i=Ext.grid.header.Container.prototype.getMenuItems.call(this);i.push("-",{itemId:"groupMenuItem",text:b,handler:h});if(c){i.push({itemId:"groupToggleMenuItem",text:a,checked:!d,checkHandler:g})}return i}},onGroupMenuItemClick:function(b,c){var d=b.parentMenu,g=d.activeHeader,a=this.view;delete this.lastGroupIndex;this.enable();a.store.group(g.dataIndex);this.pruneGroupedHeader()},onGroupToggleMenuItemClick:function(a,b){this[b?"enable":"disable"]()},pruneGroupedHeader:function(){var d=this,b=d.view,c=b.store,a=d.getGroupField(),e=b.headerCt,g=e.down("header[dataIndex="+a+"]");if(g){if(d.prunedHeader){d.prunedHeader.show()}d.prunedHeader=g;g.hide()}},getGroupField:function(){var a=this.view.store.groupers.first();if(a){return a.property}return""},onRowFocus:function(c){var b=this.view.getNode(c),a=Ext.fly(b).up("."+this.collapsedCls);if(a){this.expand(a)}},expand:function(c){var e=this,b=e.view,d=b.up("gridpanel"),a=Ext.getDom(c);e.collapsedState[a.id]=false;c.removeCls(e.collapsedCls);c.prev().removeCls(e.hdCollapsedCls);d.determineScrollbars();d.invalidateScroller();b.fireEvent("groupexpand")},collapse:function(c){var e=this,b=e.view,d=b.up("gridpanel"),a=Ext.getDom(c);e.collapsedState[a.id]=true;c.addCls(e.collapsedCls);c.prev().addCls(e.hdCollapsedCls);d.determineScrollbars();d.invalidateScroller();b.fireEvent("groupcollapse")},onGroupChange:function(){this.view.refresh()},onGroupClick:function(c,i,a,j,h){var g=this,d=g.toggleCls,b=Ext.fly(i.nextSibling,"_grouping");if(b.hasCls(g.collapsedCls)){g.expand(b)}else{g.collapse(b)}},getMetaRowTplFragments:function(){return{isRow:this.isRow,closeRow:this.closeRow}},isRow:function(){return""},closeRow:function(){return""},mutateMetaRowTpl:function(a){a.unshift("{[this.isRow()]}");a.push("{[this.closeRow()]}")},getAdditionalData:function(e,j,g,i){var h=this.view,d=h.headerCt,c=d.items.getAt(0),b={},a=c.id+"-tdAttr";b[a]=this.indentByDepth(e)+" "+(i[a]?i[a]:"");b.collapsed="true";return b},getGroupRows:function(h,c,b,i){var e=this,d=h.children,g=h.rows=[],a=e.view;h.viewId=a.id;Ext.Array.each(c,function(k,j){if(Ext.Array.indexOf(d,k)!=-1){g.push(Ext.apply(b[j],{depth:1}))}});delete h.children;h.fullWidth=i;if(e.collapsedState[a.id+"-gp-"+h.name]){h.collapsedCls=e.collapsedCls;h.hdCollapsedCls=e.hdCollapsedCls}return h},collectData:function(d,c,i,h,g){var e=this,b=e.view.store,a;if(!e.disabled&&b.isGrouped()){a=b.getGroups();Ext.Array.each(a,function(k,j){e.getGroupRows(k,d,c,h)},e);return{rows:a,fullWidth:h}}return g},getFireEventArgs:function(g,h,d,c){var j=[g,h,d],i=Ext.fly(d.nextSibling,"_grouping"),a=Ext.getDom(i).id,b=h.id+"-gp-",k=a.substr(b.length);j.push(k,c);return j}});Ext.define("Ext.grid.feature.GroupingSummary",{extend:"Ext.grid.feature.Grouping",alias:"feature.groupingsummary",mixins:{summary:"Ext.grid.feature.AbstractSummary"},getFeatureTpl:function(){var a=this.callParent(arguments);if(this.showSummaryRow){a=a.replace("","");a+="{[this.printSummaryRow(xindex)]}"}return a},getFragmentTpl:function(){var b=this,a=b.callParent();Ext.apply(a,b.getSummaryFragments());if(b.showSummaryRow){b.summaryGroups=b.view.store.getGroups();b.summaryData=b.generateSummaryData()}return a},getPrintData:function(j){var k=this,e=k.view.headerCt.getColumnsForTpl(),h=0,b=e.length,g=[],a=k.summaryGroups[j-1].name,d=k.summaryData[a],c;for(;h','','
    {rowBody}
    ',"",""].join("")},getMetaRowTplFragments:function(){return{getRowBody:this.getRowBody,rowBodyTrCls:this.rowBodyTrCls,rowBodyTdCls:this.rowBodyTdCls,rowBodyDivCls:this.rowBodyDivCls}},mutateMetaRowTpl:function(a){a.push("{[this.getRowBody(values)]}")},getAdditionalData:function(c,a,b,g){var d=this.view.headerCt,e=d.getColumnCount();return{rowBody:"",rowBodyCls:this.rowBodyCls,rowBodyColspan:e}}});Ext.define("Ext.grid.feature.RowWrap",{extend:"Ext.grid.feature.Feature",alias:"feature.rowwrap",hasFeatureEvent:false,mutateMetaRowTpl:function(a){a[0]=a[0].replace(Ext.baseCSSPrefix+"grid-row","");a[0]=a[0].replace("{[this.embedRowCls()]}","");a.unshift('');a.unshift('
    ');a.push("
    ");a.push("")},embedColSpan:function(){return"{colspan}"},embedFullWidth:function(){return"{fullWidth}"},getAdditionalData:function(h,p,k,m){var d=this.view.headerCt,c=d.getColumnCount(),n=d.getFullWidth(),l=d.query("gridcolumn"),q=l.length,g=0,b={colspan:c,fullWidth:n},a,j,e;for(;g{[this.printSummaryRow()]}"},getPrintData:function(a){var g=this,c=g.view.headerCt.getColumnsForTpl(),b=0,e=c.length,h=[],j=g.summaryData,d;for(;bn.items.indexOf(i))){p--}if(n!==j){n.suspendLayout=true;n.remove(i,false);n.suspendLayout=false}if(n.isGroupHeader){if(!n.items.getCount()){m=n.ownerCt;m.suspendLayout=true;m.remove(n,false);n.el.dom.parentNode.removeChild(n.el.dom);m.suspendLayout=false}else{n.minWidth=n.getWidth()-i.getWidth();n.setWidth(n.minWidth)}}j.suspendLayout=true;if(n===j){j.move(a,p)}else{j.insert(p,i)}j.suspendLayout=false;if(j.isGroupHeader){i.savedFlex=i.flex;delete i.flex;i.width=i.getWidth();j.minWidth=j.getWidth()+i.getWidth()-(i.savedFlex?1:0);j.setWidth(j.minWidth)}else{if(i.savedFlex){i.flex=i.savedFlex;delete i.width}}c.purgeCache();c.doLayout();c.onHeaderMoved(i,a,p);if(!n.items.getCount()){n.destroy()}}}}}});Ext.define("Ext.grid.plugin.Editing",{alias:"editing.editing",requires:["Ext.grid.column.Column","Ext.util.KeyNav"],mixins:{observable:"Ext.util.Observable"},clicksToEdit:2,defaultFieldXType:"textfield",editStyle:"",constructor:function(a){var b=this;Ext.apply(b,a);b.addEvents("beforeedit","edit","validateedit");b.mixins.observable.constructor.call(b);b.relayEvents(b,["afteredit"],"after")},init:function(a){var b=this;b.grid=a;b.view=a.view;b.initEvents();b.mon(a,"reconfigure",b.onReconfigure,b);b.onReconfigure();a.relayEvents(b,["beforeedit","edit","validateedit"]);a.isEditable=true;a.editingPlugin=a.view.editingPlugin=b},onReconfigure:function(){this.initFieldAccessors(this.view.getGridColumns())},destroy:function(){var c=this,b=c.grid,d=b.headerCt,a=b.events;Ext.destroy(c.keyNav);c.removeFieldAccessors(b.getView().getGridColumns());c.clearListeners();delete c.grid.editingPlugin;delete c.grid.view.editingPlugin;delete c.grid;delete c.view;delete c.editor;delete c.keyNav},getEditStyle:function(){return this.editStyle},initFieldAccessors:function(a){var b=this;if(Ext.isArray(a)){Ext.Array.forEach(a,b.initFieldAccessors,b);return}Ext.applyIf(a,{getEditor:function(c,d){return b.getColumnField(this,d)},setEditor:function(c){b.setColumnField(this,c)}})},removeFieldAccessors:function(a){var b=this;if(Ext.isArray(a)){Ext.Array.forEach(a,b.removeFieldAccessors,b);return}delete a.getEditor;delete a.setEditor},getColumnField:function(b,a){var c=b.field;if(!c&&b.editor){c=b.editor;delete b.editor}if(!c&&a){c=a}if(c){if(Ext.isString(c)){c={xtype:c}}if(Ext.isObject(c)&&!c.isFormField){c=Ext.ComponentManager.create(c,this.defaultFieldXType);b.field=c}Ext.apply(c,{name:b.dataIndex});return c}},setColumnField:function(a,b){if(Ext.isObject(b)&&!b.isFormField){b=Ext.ComponentManager.create(b,this.defaultFieldXType)}a.field=b},initEvents:function(){var a=this;a.initEditTriggers();a.initCancelTriggers()},initCancelTriggers:Ext.emptyFn,initEditTriggers:function(){var c=this,b=c.view,a=c.clicksToEdit===1?"click":"dblclick";c.mon(b,"cell"+a,c.startEditByClick,c);b.on("render",function(){c.keyNav=Ext.create("Ext.util.KeyNav",b.el,{enter:c.onEnterKey,esc:c.onEscKey,scope:c})},c,{single:true})},onEnterKey:function(h){var d=this,c=d.grid,b=c.getSelectionModel(),a,g=c.headerCt.getHeaderAtIndex(0);if(b.getCurrentPosition){pos=b.getCurrentPosition();a=c.store.getAt(pos.row);g=c.headerCt.getHeaderAtIndex(pos.column)}else{a=b.getLastSelected()}d.startEdit(a,g)},onEscKey:function(a){this.cancelEdit()},startEditByClick:function(c,a,i,b,h,d,g){this.startEdit(b,c.getHeaderAtIndex(i))},beforeEdit:Ext.emptyFn,startEdit:function(a,d){var c=this,b=c.getEditingContext(a,d);if(c.beforeEdit(b)===false||c.fireEvent("beforeedit",b)===false||b.cancel){return false}c.context=b;c.editing=true},getEditingContext:function(e,c){var g=this,a=g.grid,j=a.store,b,d,h=a.getView(),i;if(Ext.isNumber(e)){b=e;e=j.getAt(b)}else{b=j.indexOf(e)}if(Ext.isNumber(c)){d=c;c=a.headerCt.getHeaderAtIndex(d)}else{d=c.getIndex()}i=e.get(c.dataIndex);return{grid:a,record:e,field:c.dataIndex,value:i,row:h.getNode(b),column:c,rowIdx:b,colIdx:d}},cancelEdit:function(){this.editing=false},completeEdit:function(){var a=this;if(a.editing&&a.validateEdit()){a.fireEvent("edit",a.context)}delete a.context;a.editing=false},validateEdit:function(){var b=this,a=b.context;return b.fireEvent("validateedit",b,a)!==false&&!a.cancel}});Ext.define("Ext.grid.plugin.CellEditing",{alias:"plugin.cellediting",extend:"Ext.grid.plugin.Editing",requires:["Ext.grid.CellEditor","Ext.util.DelayedTask"],constructor:function(){this.callParent(arguments);this.editors=Ext.create("Ext.util.MixedCollection",false,function(a){return a.editorId});this.editTask=Ext.create("Ext.util.DelayedTask")},onReconfigure:function(){this.editors.clear();this.callParent()},destroy:function(){var a=this;a.editTask.cancel();a.editors.each(Ext.destroy,Ext);a.editors.clear();a.callParent(arguments)},onBodyScroll:function(){var a=this.getActiveEditor();if(a&&a.field){if(a.field.triggerBlur){a.field.triggerBlur()}else{a.field.blur()}}},initCancelTriggers:function(){var c=this,b=c.grid,a=b.view;a.addElListener("mousewheel",c.cancelEdit,c);c.mon(a,"bodyscroll",c.onBodyScroll,c);c.mon(b,{columnresize:c.cancelEdit,columnmove:c.cancelEdit,scope:c})},startEdit:function(a,g){var d=this,b=d.getEditor(a,g),e=a.get(g.dataIndex),c=d.getEditingContext(a,g);a=c.record;g=c.column;d.completeEdit();if(g&&!g.getEditor(a)){return false}if(b){c.originalValue=c.value=e;if(d.beforeEdit(c)===false||d.fireEvent("beforeedit",c)===false||c.cancel){return false}d.context=c;d.setActiveEditor(b);d.setActiveRecord(a);d.setActiveColumn(g);d.editTask.delay(15,b.startEdit,b,[d.getCell(a,g),e])}else{d.grid.getView().getEl(g).focus((Ext.isWebKit||Ext.isIE)?10:false)}},completeEdit:function(){var a=this.getActiveEditor();if(a){a.completeEdit()}},setActiveEditor:function(a){this.activeEditor=a},getActiveEditor:function(){return this.activeEditor},setActiveColumn:function(a){this.activeColumn=a},getActiveColumn:function(){return this.activeColumn},setActiveRecord:function(a){this.activeRecord=a},getActiveRecord:function(){return this.activeRecord},getEditor:function(a,d){var g=this,e=g.editors,c=d.getItemId(),b=e.getByKey(c);if(b){return b}else{b=d.getEditor(a);if(!b){return false}if(!(b instanceof Ext.grid.CellEditor)){b=Ext.create("Ext.grid.CellEditor",{editorId:c,field:b})}b.parentEl=g.grid.getEditorParent();b.on({scope:g,specialkey:g.onSpecialKey,complete:g.onEditComplete,canceledit:g.cancelEdit});e.add(b);return b}},getCell:function(a,b){return this.grid.getView().getCell(a,b)},onSpecialKey:function(a,d,c){var b=this.grid,g;if(c.getKey()===c.TAB){c.stopEvent();g=b.getSelectionModel();if(g.onEditorTab){g.onEditorTab(this,c)}}},onEditComplete:function(b,h,a){var g=this,d=g.grid,i=d.getSelectionModel(),e=g.getActiveColumn(),c;if(e){c=e.dataIndex;g.setActiveEditor(null);g.setActiveColumn(null);g.setActiveRecord(null);delete i.wasEditing;if(!g.validateEdit()){return}if(h!==a){g.context.record.set(c,h)}else{d.getView().getEl(e).focus()}g.context.value=h;g.fireEvent("edit",g,g.context)}},cancelEdit:function(){var c=this,b=c.getActiveEditor(),a=c.grid.getView().getEl(c.getActiveColumn());c.setActiveEditor(null);c.setActiveColumn(null);c.setActiveRecord(null);if(b){b.cancelEdit();a.focus()}},startEditByPosition:function(a){var d=this,c=d.grid,g=c.getSelectionModel(),b=c.store.getAt(a.row),e=c.headerCt.getHeaderAtIndex(a.column);if(g.selectByPosition){g.selectByPosition(a)}d.startEdit(b,e)}});Ext.define("Ext.grid.plugin.DragDrop",{extend:"Ext.AbstractPlugin",alias:"plugin.gridviewdragdrop",uses:["Ext.view.DragZone","Ext.grid.ViewDropZone"],dragText:"{0} selected row{1}",ddGroup:"GridDD",enableDrop:true,enableDrag:true,init:function(a){a.on("render",this.onViewRender,this,{single:true})},destroy:function(){Ext.destroy(this.dragZone,this.dropZone)},onViewRender:function(a){var b=this;if(b.enableDrag){b.dragZone=Ext.create("Ext.view.DragZone",{view:a,ddGroup:b.dragGroup||b.ddGroup,dragText:b.dragText})}if(b.enableDrop){b.dropZone=Ext.create("Ext.grid.ViewDropZone",{view:a,ddGroup:b.dropGroup||b.ddGroup})}}});Ext.define("Ext.grid.plugin.HeaderReorderer",{extend:"Ext.util.Observable",requires:["Ext.grid.header.DragZone","Ext.grid.header.DropZone"],alias:"plugin.gridheaderreorderer",init:function(a){this.headerCt=a;a.on("render",this.onHeaderCtRender,this)},destroy:function(){Ext.destroy(this.dragZone,this.dropZone)},onHeaderCtRender:function(){this.dragZone=Ext.create("Ext.grid.header.DragZone",this.headerCt);this.dropZone=Ext.create("Ext.grid.header.DropZone",this.headerCt);if(this.disabled){this.dragZone.disable()}},enable:function(){this.disabled=false;if(this.dragZone){this.dragZone.enable()}},disable:function(){this.disabled=true;if(this.dragZone){this.dragZone.disable()}}});Ext.define("Ext.grid.plugin.HeaderResizer",{extend:"Ext.util.Observable",requires:["Ext.dd.DragTracker","Ext.util.Region"],alias:"plugin.gridheaderresizer",disabled:false,configs:{dynamic:true},colHeaderCls:Ext.baseCSSPrefix+"column-header",minColWidth:40,maxColWidth:1000,wResizeCursor:"col-resize",eResizeCursor:"col-resize",init:function(a){this.headerCt=a;a.on("render",this.afterHeaderRender,this,{single:true})},destroy:function(){if(this.tracker){this.tracker.destroy()}},afterHeaderRender:function(){var b=this.headerCt,a=b.el;b.mon(a,"mousemove",this.onHeaderCtMouseMove,this);this.tracker=Ext.create("Ext.dd.DragTracker",{disabled:this.disabled,onBeforeStart:Ext.Function.bind(this.onBeforeStart,this),onStart:Ext.Function.bind(this.onStart,this),onDrag:Ext.Function.bind(this.onDrag,this),onEnd:Ext.Function.bind(this.onEnd,this),tolerance:3,autoStart:300,el:a})},onHeaderCtMouseMove:function(c,a){if(this.headerCt.dragging){if(this.activeHd){this.activeHd.el.dom.style.cursor="";delete this.activeHd}}else{var g=c.getTarget("."+this.colHeaderCls,3,true),b,d;if(g){b=Ext.getCmp(g.id);if(b.isOnLeftEdge(c)){d=b.previousNode("gridcolumn:not([hidden]):not([isGroupHeader])")}else{if(b.isOnRightEdge(c)){d=b}else{d=null}}if(d){if(d.isGroupHeader){d=d.getVisibleGridColumns();d=d[d.length-1]}if(d&&!(d.fixed||this.disabled)){this.activeHd=d;b.el.dom.style.cursor=this.eResizeCursor}}else{b.el.dom.style.cursor="";delete this.activeHd}}}},onBeforeStart:function(b){var a=b.getTarget();this.dragHd=this.activeHd;if(!!this.dragHd&&!Ext.fly(a).hasCls("x-column-header-trigger")&&!this.headerCt.dragging){this.tracker.constrainTo=this.getConstrainRegion();return true}else{this.headerCt.dragging=false;return false}},getConstrainRegion:function(){var a=this.dragHd.el,b=Ext.util.Region.getRegion(a);return b.adjust(0,this.maxColWidth-a.getWidth(),0,this.minColWidth)},onStart:function(v){var w=this,h=w.dragHd,b=h.el,p=b.getWidth(),j=w.headerCt,l=v.getTarget();if(w.dragHd&&!Ext.fly(l).hasCls("x-column-header-trigger")){j.dragging=true}w.origWidth=p;if(!w.dynamic){var d=b.getXY(),s=j.up("[scrollerOwner]"),g=w.dragHd.up(":not([isGroupHeader])"),k=g.up(),c=s.getLhsMarker(),n=s.getRhsMarker(),a=n.parent(),i=a.getLeft(true),u=a.getTop(true),r=a.translatePoints(d),q=k.body.getHeight()+j.getHeight(),m=r.top-u;c.setTop(m);n.setTop(m);c.setHeight(q);n.setHeight(q);c.setLeft(r.left-i);n.setLeft(r.left+p-i)}},onDrag:function(h){if(!this.dynamic){var g=this.tracker.getXY("point"),a=this.headerCt.up("[scrollerOwner]"),i=a.getRhsMarker(),c=i.parent(),b=c.translatePoints(g),d=c.getLeft(true);i.setLeft(b.left-d)}else{this.doResize()}},onEnd:function(h){this.headerCt.dragging=false;if(this.dragHd){if(!this.dynamic){var g=this.dragHd,c=this.headerCt.up("[scrollerOwner]"),d=c.getLhsMarker(),j=c.getRhsMarker(),a=g.getWidth(),i=this.tracker.getOffset("point"),b=-9999;d.setLeft(b);j.setLeft(b)}this.doResize()}},doResize:function(){if(this.dragHd){var b=this.dragHd,a,c=this.tracker.getOffset("point");if(b.flex){delete b.flex}if(this.headerCt.forceFit){a=b.nextNode("gridcolumn:not([hidden]):not([isGroupHeader])");if(a){this.headerCt.componentLayout.layoutBusy=true}}b.minWidth=this.origWidth+c[0];b.setWidth(b.minWidth);if(a){delete a.flex;a.setWidth(a.getWidth()-c[0]);this.headerCt.componentLayout.layoutBusy=false;this.headerCt.doComponentLayout()}}},disable:function(){this.disabled=true;if(this.tracker){this.tracker.disable()}},enable:function(){this.disabled=false;if(this.tracker){this.tracker.enable()}}});Ext.define("Ext.grid.plugin.RowEditing",{extend:"Ext.grid.plugin.Editing",alias:"plugin.rowediting",requires:["Ext.grid.RowEditor"],editStyle:"row",autoCancel:true,errorSummary:true,constructor:function(){var a=this;a.callParent(arguments);if(!a.clicksToMoveEditor){a.clicksToMoveEditor=a.clicksToEdit}a.autoCancel=!!a.autoCancel},destroy:function(){var a=this;Ext.destroy(a.editor);a.callParent(arguments)},startEdit:function(a,d){var c=this,b=c.getEditor();if(c.callParent(arguments)===false){return false}if(b.beforeEdit()!==false){b.startEdit(c.context.record,c.context.column)}},cancelEdit:function(){var a=this;if(a.editing){a.getEditor().cancelEdit();a.callParent(arguments)}},completeEdit:function(){var a=this;if(a.editing&&a.validateEdit()){a.editing=false;a.fireEvent("edit",a.context)}},validateEdit:function(){var a=this;return a.callParent(arguments)&&a.getEditor().completeEdit()},getEditor:function(){var a=this;if(!a.editor){a.editor=a.initEditor()}return a.editor},initEditor:function(){var c=this,b=c.grid,a=c.view,d=b.headerCt;return Ext.create("Ext.grid.RowEditor",{autoCancel:c.autoCancel,errorSummary:c.errorSummary,fields:d.getGridColumns(),hidden:true,editingPlugin:c,renderTo:a.el})},initEditTriggers:function(){var c=this,b=c.grid,a=c.view,e=b.headerCt,d=c.clicksToMoveEditor===1?"click":"dblclick";c.callParent(arguments);if(c.clicksToMoveEditor!==c.clicksToEdit){c.mon(a,"cell"+d,c.moveEditorByClick,c)}a.on("render",function(){c.mon(e,{add:c.onColumnAdd,remove:c.onColumnRemove,columnresize:c.onColumnResize,columnhide:c.onColumnHide,columnshow:c.onColumnShow,columnmove:c.onColumnMove,scope:c})},c,{single:true})},startEditByClick:function(){var a=this;if(!a.editing||a.clicksToMoveEditor===a.clicksToEdit){a.callParent(arguments)}},moveEditorByClick:function(){var a=this;if(a.editing){a.superclass.startEditByClick.apply(a,arguments)}},onColumnAdd:function(a,c){if(c.isHeader){var d=this,b;d.initFieldAccessors(c);b=d.getEditor();if(b&&b.onColumnAdd){b.onColumnAdd(c)}}},onColumnRemove:function(a,c){if(c.isHeader){var d=this,b=d.getEditor();if(b&&b.onColumnRemove){b.onColumnRemove(c)}d.removeFieldAccessors(c)}},onColumnResize:function(a,d,c){if(d.isHeader){var e=this,b=e.getEditor();if(b&&b.onColumnResize){b.onColumnResize(d,c)}}},onColumnHide:function(a,c){var d=this,b=d.getEditor();if(b&&b.onColumnHide){b.onColumnHide(c)}},onColumnShow:function(a,c){var d=this,b=d.getEditor();if(b&&b.onColumnShow){b.onColumnShow(c)}},onColumnMove:function(a,d,c,g){var e=this,b=e.getEditor();if(b&&b.onColumnMove){b.onColumnMove(d,c,g)}},setColumnField:function(a,c){var b=this;b.callParent(arguments);b.getEditor().setField(a.field,a)}});Ext.define("Ext.grid.property.Grid",{extend:"Ext.grid.Panel",alias:"widget.propertygrid",alternateClassName:"Ext.grid.PropertyGrid",uses:["Ext.grid.plugin.CellEditing","Ext.grid.property.Store","Ext.grid.property.HeaderContainer","Ext.XTemplate","Ext.grid.CellEditor","Ext.form.field.Date","Ext.form.field.Text","Ext.form.field.Number"],valueField:"value",nameField:"name",enableColumnMove:false,columnLines:true,stripeRows:false,trackMouseOver:false,clicksToEdit:1,enableHdMenu:false,initComponent:function(){var a=this;a.addCls(Ext.baseCSSPrefix+"property-grid");a.plugins=a.plugins||[];a.plugins.push(Ext.create("Ext.grid.plugin.CellEditing",{clicksToEdit:a.clicksToEdit,startEdit:function(b,c){return this.self.prototype.startEdit.call(this,b,a.headerCt.child("#"+a.valueField))}}));a.selModel={selType:"cellmodel",onCellSelect:function(b){if(b.column!=1){b.column=1}return this.self.prototype.onCellSelect.call(this,b)}};a.customRenderers=a.customRenderers||{};a.customEditors=a.customEditors||{};if(!a.store){a.propStore=a.store=Ext.create("Ext.grid.property.Store",a,a.source)}a.store.sort("name","ASC");a.columns=Ext.create("Ext.grid.property.HeaderContainer",a,a.store);a.addEvents("beforepropertychange","propertychange");a.callParent();a.getView().walkCells=this.walkCells;a.editors={date:Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.Date",{selectOnFocus:true})}),string:Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.Text",{selectOnFocus:true})}),number:Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.Number",{selectOnFocus:true})}),"boolean":Ext.create("Ext.grid.CellEditor",{field:Ext.create("Ext.form.field.ComboBox",{editable:false,store:[[true,a.headerCt.trueText],[false,a.headerCt.falseText]]})})};a.store.on("update",a.onUpdate,a)},onUpdate:function(d,a,c){var g=this,b,e;if(c==Ext.data.Model.EDIT){b=a.get(g.valueField);e=a.modified.value;if(g.fireEvent("beforepropertychange",g.source,a.getId(),b,e)!==false){if(g.source){g.source[a.getId()]=b}a.commit();g.fireEvent("propertychange",g.source,a.getId(),b,e)}else{a.reject()}}},walkCells:function(h,g,d,c,a,b){if(g=="left"){g="up"}else{if(g=="right"){g="down"}}h=Ext.view.Table.prototype.walkCells.call(this,h,g,d,c,a,b);if(!h.column){h.column=1}return h},getCellEditor:function(a,c){var d=this,e=a.get(d.nameField),g=a.get(d.valueField),b=d.customEditors[e];if(b){if(!(b instanceof Ext.grid.CellEditor)){if(!(b instanceof Ext.form.field.Base)){b=Ext.ComponentManager.create(b,"textfield")}b=d.customEditors[e]=Ext.create("Ext.grid.CellEditor",{field:b})}}else{if(Ext.isDate(g)){b=d.editors.date}else{if(Ext.isNumber(g)){b=d.editors.number}else{if(Ext.isBoolean(g)){b=d.editors["boolean"]}else{b=d.editors.string}}}}b.editorId=e;return b},beforeDestroy:function(){var a=this;a.callParent();a.destroyEditors(a.editors);a.destroyEditors(a.customEditors);delete a.source},destroyEditors:function(b){for(var a in b){if(b.hasOwnProperty(a)){Ext.destroy(b[a])}}},setSource:function(a){this.source=a;this.propStore.setSource(a)},getSource:function(){return this.propStore.getSource()},setProperty:function(c,b,a){this.propStore.setValue(c,b,a)},removeProperty:function(a){this.propStore.remove(a)}});Ext.define("Ext.grid.property.HeaderContainer",{extend:"Ext.grid.header.Container",alternateClassName:"Ext.grid.PropertyColumnModel",nameWidth:115,nameText:"Name",valueText:"Value",dateFormat:"m/j/Y",trueText:"true",falseText:"false",nameColumnCls:Ext.baseCSSPrefix+"grid-property-name",constructor:function(b,a){var c=this;c.grid=b;c.store=a;c.callParent([{items:[{header:c.nameText,width:b.nameColumnWidth||c.nameWidth,sortable:true,dataIndex:b.nameField,renderer:Ext.Function.bind(c.renderProp,c),itemId:b.nameField,menuDisabled:true,tdCls:c.nameColumnCls},{header:c.valueText,renderer:Ext.Function.bind(c.renderCell,c),getEditor:Ext.Function.bind(c.getCellEditor,c),flex:1,fixed:true,dataIndex:b.valueField,itemId:b.valueField,menuDisabled:true}]}])},getCellEditor:function(a){return this.grid.getCellEditor(a,this)},renderProp:function(a){return this.getPropertyName(a)},renderCell:function(g,d,e){var b=this,c=b.grid.customRenderers[e.get(b.grid.nameField)],a=g;if(c){return c.apply(b,arguments)}if(Ext.isDate(g)){a=b.renderDate(g)}else{if(Ext.isBoolean(g)){a=b.renderBool(g)}}return Ext.util.Format.htmlEncode(a)},renderDate:Ext.util.Format.date,renderBool:function(a){return this[a?"trueText":"falseText"]},getPropertyName:function(b){var a=this.grid.propertyNames;return a&&a[b]?a[b]:b}});Ext.define("Ext.grid.property.Property",{extend:"Ext.data.Model",alternateClassName:"Ext.PropGridProperty",fields:[{name:"name",type:"string"},{name:"value"}],idProperty:"name"});Ext.define("Ext.grid.property.Store",{extend:"Ext.data.Store",alternateClassName:"Ext.grid.PropertyStore",uses:["Ext.data.reader.Reader","Ext.data.proxy.Proxy","Ext.data.ResultSet","Ext.grid.property.Property"],constructor:function(a,c){var b=this;b.grid=a;b.source=c;b.callParent([{data:c,model:Ext.grid.property.Property,proxy:b.getProxy()}])},getProxy:function(){if(!this.proxy){Ext.grid.property.Store.prototype.proxy=Ext.create("Ext.data.proxy.Memory",{model:Ext.grid.property.Property,reader:this.getReader()})}return this.proxy},getReader:function(){if(!this.reader){Ext.grid.property.Store.prototype.reader=Ext.create("Ext.data.reader.Reader",{model:Ext.grid.property.Property,buildExtractors:Ext.emptyFn,read:function(a){return this.readRecords(a)},readRecords:function(b){var d,c,a={records:[],success:true};for(c in b){if(b.hasOwnProperty(c)){d=b[c];if(this.isEditableValue(d)){a.records.push(new Ext.grid.property.Property({name:c,value:d},c))}}}a.total=a.count=a.records.length;return Ext.create("Ext.data.ResultSet",a)},isEditableValue:function(a){return Ext.isPrimitive(a)||Ext.isDate(a)}})}return this.reader},setSource:function(a){var b=this;b.source=a;b.suspendEvents();b.removeAll();b.proxy.data=a;b.load();b.resumeEvents();b.fireEvent("datachanged",b)},getProperty:function(a){return Ext.isNumber(a)?this.getAt(a):this.getById(a)},setValue:function(e,c,a){var b=this,d=b.getRec(e);if(d){d.set("value",c);b.source[e]=c}else{if(a){b.source[e]=c;d=new Ext.grid.property.Property({name:e,value:c},e);b.add(d)}}},remove:function(b){var a=this.getRec(b);if(a){this.callParent([a]);delete this.source[b]}},getRec:function(a){return this.getById(a)},getSource:function(){return this.source}});Ext.define("Ext.layout.component.Body",{alias:["layout.body"],extend:"Ext.layout.component.Component",uses:["Ext.layout.container.Container"],type:"body",onLayout:function(c,b){var d=this,a=d.owner;d.setTargetSize(c,b);d.setBodySize.apply(d,arguments);if(a&&a.layout&&a.layout.isLayout){if(!Ext.isNumber(a.height)||!Ext.isNumber(a.width)){a.layout.bindToOwnerCtComponent=true}else{a.layout.bindToOwnerCtComponent=false}}d.callParent(arguments)},setBodySize:function(e,b){var g=this,a=g.owner,c=a.frameSize,d=Ext.isNumber;if(d(e)){e-=a.el.getFrameWidth("lr")-c.left-c.right}if(d(b)){b-=a.el.getFrameWidth("tb")-c.top-c.bottom}g.setElementSize(a.body,e,b)}});Ext.define("Ext.layout.component.FieldSet",{extend:"Ext.layout.component.Body",alias:["layout.fieldset"],type:"fieldset",doContainerLayout:function(){if(!this.owner.collapsed){this.callParent()}}});Ext.define("Ext.layout.component.Tab",{alias:["layout.tab"],extend:"Ext.layout.component.Button",beforeLayout:function(){var b=this,a=b.lastClosable!==b.owner.closable;if(a){delete b.adjWidth}return this.callParent(arguments)||a},onLayout:function(){var a=this;a.callParent(arguments);a.lastClosable=a.owner.closable}});Ext.define("Ext.layout.component.field.File",{alias:["layout.filefield"],extend:"Ext.layout.component.field.Field",type:"filefield",sizeBodyContents:function(c,b){var d=this,a=d.owner;if(!a.buttonOnly){d.setElementSize(a.inputEl,Ext.isNumber(c)?c-a.button.getWidth()-a.buttonMargin:c)}}});Ext.define("Ext.layout.component.field.Slider",{alias:["layout.sliderfield"],extend:"Ext.layout.component.field.Field",type:"sliderfield",sizeBodyContents:function(a,k){var b=this.owner,g=b.thumbs,c=g.length,j=b.inputEl,h=b.innerEl,e=b.endEl,d=0;for(;dpanel:not([collapsed])"):[];if(c.multi){c.setCollapsed(b);if(a.length===1&&a[0]===b){c.setExpanded(d)}c.animate=c.initialAnimate;c.layout();c.animate=false}else{if(d){c.onComponentExpand(d)}}return false},onComponentShow:function(a){this.onComponentExpand(a)},setCollapsed:function(b){var e=b.getDockedItems(),d,a=e.length,c=0;b.hiddenDocked=[];for(;c
     
    '],baseCls:Ext.baseCSSPrefix+"splitter",collapsedClsInternal:Ext.baseCSSPrefix+"splitter-collapsed",collapsible:false,collapseOnDblClick:true,defaultSplitMin:40,defaultSplitMax:1000,width:5,height:5,collapseTarget:"next",onRender:function(){var a=this,b=a.getCollapseTarget(),c=a.getCollapseDirection();Ext.applyIf(a.renderData,{collapseDir:c,collapsible:a.collapsible||b.collapsible});Ext.applyIf(a.renderSelectors,{collapseEl:"."+Ext.baseCSSPrefix+"collapse-el"});this.callParent(arguments);if(a.performCollapse!==false){if(a.renderData.collapsible){a.mon(a.collapseEl,"click",a.toggleTargetCmp,a)}if(a.collapseOnDblClick){a.mon(a.el,"dblclick",a.toggleTargetCmp,a)}}a.mon(b,"collapse",a.onTargetCollapse,a);a.mon(b,"expand",a.onTargetExpand,a);a.el.addCls(a.baseCls+"-"+a.orientation);a.el.unselectable();a.tracker=Ext.create("Ext.resizer.SplitterTracker",{el:a.el});a.relayEvents(a.tracker,["beforedragstart","dragstart","dragend"])},getCollapseDirection:function(){var c=this,a,b=c.ownerCt.layout.type;if(c.collapseTarget.isComponent){a=Number(c.ownerCt.items.indexOf(c.collapseTarget)==c.ownerCt.items.indexOf(c)-1)<<1|Number(b=="hbox")}else{a=Number(c.collapseTarget=="prev")<<1|Number(b=="hbox")}c.orientation=["horizontal","vertical"][a&1];return["bottom","right","top","left"][a]},getCollapseTarget:function(){var a=this;return a.collapseTarget.isComponent?a.collapseTarget:a.collapseTarget=="prev"?a.previousSibling():a.nextSibling()},onTargetCollapse:function(a){this.el.addCls([this.collapsedClsInternal,this.collapsedCls])},onTargetExpand:function(a){this.el.removeCls([this.collapsedClsInternal,this.collapsedCls])},toggleTargetCmp:function(c,a){var b=this.getCollapseTarget();if(b.isVisible()){if(b.collapsed){b.expand(b.animCollapse)}else{b.collapse(this.renderData.collapseDir,b.animCollapse)}}},setSize:function(){var a=this;a.callParent(arguments);if(Ext.isIE){a.el.repaint()}}});Ext.define("Ext.layout.container.Border",{alias:["layout.border"],extend:"Ext.layout.container.Container",requires:["Ext.resizer.Splitter","Ext.container.Container","Ext.fx.Anim"],alternateClassName:"Ext.layout.BorderLayout",targetCls:Ext.baseCSSPrefix+"border-layout-ct",itemCls:Ext.baseCSSPrefix+"border-item",bindToOwnerCtContainer:true,percentageRe:/(\d+)%/,slideDirection:{north:"t",south:"b",west:"l",east:"r"},constructor:function(a){this.initialConfig=a;this.callParent(arguments)},onLayout:function(){var a=this;if(!a.borderLayoutInitialized){a.initializeBorderLayout()}a.fixHeightConstraints();a.shadowLayout.onLayout();if(a.embeddedContainer){a.embeddedContainer.layout.onLayout()}if(!a.initialCollapsedComplete){Ext.iterate(a.regions,function(b,c){if(c.borderCollapse){a.onBeforeRegionCollapse(c,c.collapseDirection,false,0)}});a.initialCollapsedComplete=true}},isValidParent:function(b,c,a){if(!this.borderLayoutInitialized){this.initializeBorderLayout()}return this.shadowLayout.isValidParent(b,c,a)},beforeLayout:function(){if(!this.borderLayoutInitialized){this.initializeBorderLayout()}this.shadowLayout.beforeLayout()},renderItems:function(a,b){},renderItem:function(a){},renderChildren:function(){if(!this.borderLayoutInitialized){this.initializeBorderLayout()}this.shadowLayout.renderChildren()},getVisibleItems:function(){return Ext.ComponentQuery.query(":not([slideOutAnim])",this.callParent(arguments))},initializeBorderLayout:function(){var k=this,c=0,j=k.getLayoutItems(),h=j.length,b=(k.regions={}),e=[],g=[],a=0,m=0,d,l;k.splitters={};for(;cm.height);if(Ext.isIE6||Ext.isIE7||Ext.isIEQuirks){h.adjustedWidth=m.width-Ext.getScrollBarWidth()}else{e.setStyle("overflow","auto")}if(h.adjustmentPass){h.onLayout()}}delete h.adjustmentPass},configureItem:function(a){this.callParent(arguments);if(a.columnWidth){a.layoutManagedWidth=1}}});Ext.define("Ext.layout.container.Table",{alias:["layout.table"],extend:"Ext.layout.container.Auto",alternateClassName:"Ext.layout.TableLayout",monitorResize:false,type:"table",autoSize:true,clearEl:true,targetCls:Ext.baseCSSPrefix+"table-layout-ct",tableCls:Ext.baseCSSPrefix+"table-layout",cellCls:Ext.baseCSSPrefix+"table-layout-cell",tableAttrs:null,renderItems:function(h){var e=this.getTable().tBodies[0],p=e.rows,d=0,g=h.length,n,l,c,a,m,k,j,b;n=this.calculateCells(h);for(;d=h||n[d]>0){if(d>=h){d=0;a=0;b++;for(c=0;c0){n[c]--}}}else{d++}}m.push({rowIdx:b,cellIdx:a});for(c=l.colspan||1;c;--c){n[d]=l.rowspan||1;++d}++a}return m},getTable:function(){var a=this.table;if(!a){a=this.table=this.getTarget().createChild(Ext.apply({tag:"table",role:"presentation",cls:this.tableCls,cellspacing:0,cn:{tag:"tbody"}},this.tableAttrs),null,true)}return a},needsDivWrap:function(){return Ext.isOpera10_5}});Ext.define("Ext.menu.Item",{extend:"Ext.Component",alias:"widget.menuitem",alternateClassName:"Ext.menu.TextItem",activeCls:Ext.baseCSSPrefix+"menu-item-active",ariaRole:"menuitem",canActivate:true,clickHideDelay:1,destroyMenu:true,disabledCls:Ext.baseCSSPrefix+"menu-item-disabled",hideOnClick:true,isMenuItem:true,menuAlign:"tl-tr?",menuExpandDelay:200,menuHideDelay:200,renderTpl:['',"{text}","",'','target="{hrefTarget}" hidefocus="true" unselectable="on">','','style="margin-right: 17px;" >{text}','','',"","",""],maskOnDisable:false,activate:function(){var a=this;if(!a.activated&&a.canActivate&&a.rendered&&!a.isDisabled()&&a.isVisible()){a.el.addCls(a.activeCls);a.focus();a.activated=true;a.fireEvent("activate",a)}},blur:function(){this.$focused=false;this.callParent(arguments)},deactivate:function(){var a=this;if(a.activated){a.el.removeCls(a.activeCls);a.blur();a.hideMenu();a.activated=false;a.fireEvent("deactivate",a)}},deferExpandMenu:function(){var a=this;if(!a.menu.rendered||!a.menu.isVisible()){a.parentMenu.activeChild=a.menu;a.menu.parentItem=a;a.menu.parentMenu=a.menu.ownerCt=a.parentMenu;a.menu.showBy(a,a.menuAlign)}},deferHideMenu:function(){if(this.menu.isVisible()){this.menu.hide()}},deferHideParentMenus:function(){Ext.menu.Manager.hideAll()},expandMenu:function(a){var b=this;if(b.menu){clearTimeout(b.hideMenuTimer);if(a===0){b.deferExpandMenu()}else{b.expandMenuTimer=Ext.defer(b.deferExpandMenu,Ext.isNumber(a)?a:b.menuExpandDelay,b)}}},focus:function(){this.$focused=true;this.callParent(arguments)},getRefItems:function(a){var c=this.menu,b;if(c){b=c.getRefItems(a);b.unshift(c)}return b||[]},hideMenu:function(a){var b=this;if(b.menu){clearTimeout(b.expandMenuTimer);b.hideMenuTimer=Ext.defer(b.deferHideMenu,Ext.isNumber(a)?a:b.menuHideDelay,b)}},initComponent:function(){var b=this,c=Ext.baseCSSPrefix,a=[c+"menu-item"];b.addEvents("activate","click","deactivate");if(b.plain){a.push(c+"menu-item-plain")}if(b.cls){a.push(b.cls)}b.cls=a.join(" ");if(b.menu){b.menu=Ext.menu.Manager.get(b.menu)}b.callParent(arguments)},onClick:function(b){var a=this;if(!a.href){b.stopEvent()}if(a.disabled){return}if(a.hideOnClick){a.deferHideParentMenusTimer=Ext.defer(a.deferHideParentMenus,a.clickHideDelay,a)}Ext.callback(a.handler,a.scope||a,[a,b]);a.fireEvent("click",a,b);if(!a.hideOnClick){a.focus()}},onDestroy:function(){var a=this;clearTimeout(a.expandMenuTimer);clearTimeout(a.hideMenuTimer);clearTimeout(a.deferHideParentMenusTimer);if(a.menu){delete a.menu.parentItem;delete a.menu.parentMenu;delete a.menu.ownerCt;if(a.destroyMenu!==false){a.menu.destroy()}}a.callParent(arguments)},onRender:function(a,d){var b=this,c="."+Ext.baseCSSPrefix;Ext.applyIf(b.renderData,{href:b.href||"#",hrefTarget:b.hrefTarget,icon:b.icon||Ext.BLANK_IMAGE_URL,iconCls:b.iconCls+(b.checkChangeDisabled?" "+b.disabledCls:""),menu:Ext.isDefined(b.menu),plain:b.plain,text:b.text});Ext.applyIf(b.renderSelectors,{itemEl:c+"menu-item-link",iconEl:c+"menu-item-icon",textEl:c+"menu-item-text",arrowEl:c+"menu-item-arrow"});b.callParent(arguments)},setHandler:function(b,a){this.handler=b||null;this.scope=a},setIconCls:function(a){var b=this;if(b.iconEl){if(b.iconCls){b.iconEl.removeCls(b.iconCls)}if(a){b.iconEl.addCls(a)}}b.iconCls=a},setText:function(c){var b=this,a=b.textEl||b.el;b.text=c;if(b.rendered){a.update(c||"");b.ownerCt.redoComponentLayout()}}});Ext.define("Ext.menu.CheckItem",{extend:"Ext.menu.Item",alias:"widget.menucheckitem",checkedCls:Ext.baseCSSPrefix+"menu-item-checked",uncheckedCls:Ext.baseCSSPrefix+"menu-item-unchecked",groupCls:Ext.baseCSSPrefix+"menu-group-icon",hideOnClick:false,afterRender:function(){var a=this;this.callParent();a.checked=!a.checked;a.setChecked(!a.checked,true)},initComponent:function(){var a=this;a.addEvents("beforecheckchange","checkchange");a.callParent(arguments);Ext.menu.Manager.registerCheckable(a);if(a.group){if(!a.iconCls){a.iconCls=a.groupCls}if(a.initialConfig.hideOnClick!==false){a.hideOnClick=true}}},disableCheckChange:function(){var a=this;if(a.iconEl){a.iconEl.addCls(a.disabledCls)}a.checkChangeDisabled=true},enableCheckChange:function(){var a=this;a.iconEl.removeCls(a.disabledCls);a.checkChangeDisabled=false},onClick:function(b){var a=this;if(!a.disabled&&!a.checkChangeDisabled&&!(a.checked&&a.group)){a.setChecked(!a.checked)}this.callParent([b])},onDestroy:function(){Ext.menu.Manager.unregisterCheckable(this);this.callParent(arguments)},setChecked:function(c,a){var b=this;if(b.checked!==c&&(a||b.fireEvent("beforecheckchange",b,c)!==false)){if(b.el){b.el[c?"addCls":"removeCls"](b.checkedCls)[!c?"addCls":"removeCls"](b.uncheckedCls)}b.checked=c;Ext.menu.Manager.onCheckChange(b,c);if(!a){Ext.callback(b.checkHandler,b.scope,[b,c]);b.fireEvent("checkchange",b,c)}}}});Ext.define("Ext.menu.KeyNav",{extend:"Ext.util.KeyNav",requires:["Ext.FocusManager"],constructor:function(b){var a=this;a.menu=b;a.callParent([b.el,{down:a.down,enter:a.enter,esc:a.escape,left:a.left,right:a.right,space:a.enter,tab:a.tab,up:a.up}])},down:function(b){var a=this,c=a.menu.focusedItem;if(c&&b.getKey()==Ext.EventObject.DOWN&&a.isWhitelisted(c)){return true}a.focusNextItem(1)},enter:function(a){var b=this.menu;if(b.activeItem){b.onClick(a)}},escape:function(a){Ext.menu.Manager.hideAll()},focusNextItem:function(g){var h=this.menu,b=h.items,d=h.focusedItem,c=d?b.indexOf(d):-1,a=c+g;while(a!=c){if(a<0){a=b.length-1}else{if(a>=b.length){a=0}}var e=b.getAt(a);if(h.canActivateItem(e)){h.setActiveItem(e);break}a+=g}},isWhitelisted:function(a){return Ext.FocusManager.isWhitelisted(a)},left:function(b){var c=this.menu,d=c.focusedItem,a=c.activeItem;if(d&&this.isWhitelisted(d)){return true}c.hide();if(c.parentMenu){c.parentMenu.focus()}},right:function(c){var d=this.menu,g=d.focusedItem,a=d.activeItem,b;if(g&&this.isWhitelisted(g)){return true}if(a){b=d.activeItem.menu;if(b){a.expandMenu(0);Ext.defer(function(){b.setActiveItem(b.items.getAt(0))},25)}}},tab:function(b){var a=this;if(b.shiftKey){a.up(b)}else{a.down(b)}},up:function(b){var a=this,c=a.menu.focusedItem;if(c&&b.getKey()==Ext.EventObject.UP&&a.isWhitelisted(c)){return true}a.focusNextItem(-1)}});Ext.define("Ext.menu.Separator",{extend:"Ext.menu.Item",alias:"widget.menuseparator",canActivate:false,focusable:false,hideOnClick:false,plain:true,separatorCls:Ext.baseCSSPrefix+"menu-item-separator",text:" ",onRender:function(b,d){var c=this,a=c.separatorCls;c.cls+=" "+a;Ext.applyIf(c.renderSelectors,{itemSepEl:"."+a});c.callParent(arguments)}});Ext.define("Ext.menu.Menu",{extend:"Ext.panel.Panel",alias:"widget.menu",requires:["Ext.layout.container.Fit","Ext.layout.container.VBox","Ext.menu.CheckItem","Ext.menu.Item","Ext.menu.KeyNav","Ext.menu.Manager","Ext.menu.Separator"],allowOtherMenus:false,ariaRole:"menu",defaultAlign:"tl-bl?",floating:true,constrain:true,hidden:true,hideMode:"visibility",ignoreParentClicks:false,isMenu:true,showSeparator:true,minWidth:120,initComponent:function(){var b=this,d=Ext.baseCSSPrefix,a=[d+"menu"],c=b.bodyCls?[b.bodyCls]:[];b.addEvents("click","mouseenter","mouseleave","mouseover");Ext.menu.Manager.register(b);if(b.plain){a.push(d+"menu-plain")}b.cls=a.join(" ");c.unshift(d+"menu-body");b.bodyCls=c.join(" ");b.layout={type:"vbox",align:"stretchmax",autoSize:true,clearInnerCtOnLayout:true,overflowHandler:"Scroller"};if(b.floating===false&&b.initialConfig.hidden!==true){b.hidden=false}b.callParent(arguments);b.on("beforeshow",function(){var e=!!b.items.length;if(e&&b.rendered){b.el.setStyle("visibility",null)}return e})},afterRender:function(a){var b=this,d=Ext.baseCSSPrefix,c=" ";b.callParent(arguments);if(b.showSeparator){b.iconSepEl=b.layout.getRenderTarget().insertFirst({cls:d+"menu-icon-separator",html:c})}b.focusEl=b.el.createChild({cls:d+"menu-focus",tabIndex:"-1",html:c});b.mon(b.el,{click:b.onClick,mouseover:b.onMouseOver,scope:b});b.mouseMonitor=b.el.monitorMouseLeave(100,b.onMouseLeave,b);if(b.showSeparator&&((!Ext.isStrict&&Ext.isIE)||Ext.isIE6)){b.iconSepEl.setHeight(b.el.getHeight())}b.keyNav=Ext.create("Ext.menu.KeyNav",b)},afterLayout:function(){var k=this;k.callParent(arguments);if((!Ext.iStrict&&Ext.isIE)||Ext.isIE6){var a=k.layout.getRenderTarget(),c=0,b=k.dockedItems,d=b.length,g=0,h,j,e;c=a.getWidth();e=c+k.body.getBorderWidth("lr")+k.body.getPadding("lr");k.body.setWidth(e);for(;g=0){if(!a.menu||!b.ignoreParentClicks){a.onClick(c)}else{c.stopEvent()}}}b.fireEvent("click",b,a,c)}},onDestroy:function(){var a=this;Ext.menu.Manager.unregister(a);if(a.rendered){a.el.un(a.mouseMonitor);a.keyNav.destroy();delete a.keyNav}a.callParent(arguments)},onMouseLeave:function(b){var a=this;a.deactivateActiveItem();if(a.disabled){return}a.fireEvent("mouseleave",a,b)},onMouseOver:function(d){var c=this,g=d.getRelatedTarget(),a=!c.el.contains(g),b=c.getItemFromEvent(d);if(a&&c.parentMenu){c.parentMenu.setActiveItem(c.parentItem);c.parentMenu.mouseMonitor.mouseenter()}if(c.disabled){return}if(b){c.setActiveItem(b);if(b.activated&&b.expandMenu){b.expandMenu()}}if(a){c.fireEvent("mouseenter",c,d)}c.fireEvent("mouseover",c,b,d)},setActiveItem:function(b){var a=this;if(b&&(b!=a.activeItem&&b!=a.focusedItem)){a.deactivateActiveItem();if(a.canActivateItem(b)){if(b.activate){b.activate();if(b.activated){a.activeItem=b;a.focusedItem=b;a.focus()}}else{b.focus();a.focusedItem=b}}b.el.scrollIntoView(a.layout.getRenderTarget())}},showBy:function(b,g,e){var a=this,d,c;if(a.floating&&b){a.layout.autoSize=true;a.doAutoRender();b=b.el||b;d=a.el.getAlignToXY(b,g||a.defaultAlign,e);if(a.floatParent){c=a.floatParent.getTargetEl().getViewRegion();d[0]-=c.x;d[1]-=c.y}a.showAt(d)}return a},showAt:function(){this.callParent(arguments);if(this.floating){this.doConstrain()}},doConstrain:function(){var g=this,h=g.el.getY(),i,e,b,j=h,k,d,a,c;delete g.height;g.setSize();e=g.getHeight();if(g.floating){d=Ext.fly(g.el.dom.parentNode);a=d.getScroll().top;c=d.getViewSize().height;k=h-a;i=g.maxHeight?g.maxHeight:c-k;if(e>c){i=c;j=h-k}else{if(ii&&i>0){g.layout.autoSize=false;g.setHeight(i);if(g.showSeparator){g.iconSepEl.setHeight(g.layout.getRenderTarget().dom.scrollHeight)}}b=g.getConstrainVector(g.el.dom.parentNode);if(b){g.setPosition(g.getPosition()[0]+b[0])}g.el.setY(j)}});Ext.define("Ext.menu.ColorPicker",{extend:"Ext.menu.Menu",alias:"widget.colormenu",requires:["Ext.picker.Color"],hideOnClick:true,pickerId:null,initComponent:function(){var a=this;Ext.apply(a,{plain:true,showSeparator:false,items:Ext.applyIf({cls:Ext.baseCSSPrefix+"menu-color-item",id:a.pickerId,xtype:"colorpicker"},a.initialConfig)});a.callParent(arguments);a.picker=a.down("colorpicker");a.relayEvents(a.picker,["select"]);if(a.hideOnClick){a.on("select",a.hidePickerOnSelect,a)}},hidePickerOnSelect:function(){Ext.menu.Manager.hideAll()}});Ext.define("Ext.menu.DatePicker",{extend:"Ext.menu.Menu",alias:"widget.datemenu",requires:["Ext.picker.Date"],hideOnClick:true,pickerId:null,initComponent:function(){var a=this;Ext.apply(a,{showSeparator:false,plain:true,border:false,bodyPadding:0,items:Ext.applyIf({cls:Ext.baseCSSPrefix+"menu-date-item",id:a.pickerId,xtype:"datepicker"},a.initialConfig)});a.callParent(arguments);a.picker=a.down("datepicker");a.relayEvents(a.picker,["select"]);if(a.hideOnClick){a.on("select",a.hidePickerOnSelect,a)}},hidePickerOnSelect:function(){Ext.menu.Manager.hideAll()}});Ext.define("Ext.panel.Tool",{extend:"Ext.Component",requires:["Ext.tip.QuickTipManager"],alias:"widget.tool",baseCls:Ext.baseCSSPrefix+"tool",disabledCls:Ext.baseCSSPrefix+"tool-disabled",toolPressedCls:Ext.baseCSSPrefix+"tool-pressed",toolOverCls:Ext.baseCSSPrefix+"tool-over",ariaRole:"button",renderTpl:[''],stopEvent:true,initComponent:function(){var a=this;a.addEvents("click");a.type=a.type||a.id;Ext.applyIf(a.renderData,{baseCls:a.baseCls,blank:Ext.BLANK_IMAGE_URL,type:a.type});a.renderSelectors.toolEl="."+a.baseCls+"-"+a.type;a.callParent()},afterRender:function(){var a=this;a.callParent(arguments);if(a.qtip){if(Ext.isObject(a.qtip)){Ext.tip.QuickTipManager.register(Ext.apply({target:a.id},a.qtip))}else{a.toolEl.dom.qtip=a.qtip}}a.mon(a.toolEl,{click:a.onClick,mousedown:a.onMouseDown,mouseover:a.onMouseOver,mouseout:a.onMouseOut,scope:a})},setType:function(a){var b=this;b.type=a;if(b.rendered){b.toolEl.dom.className=b.baseCls+"-"+a}return b},bindTo:function(a){this.owner=a},onClick:function(d,c){var b=this,a;if(b.disabled){return false}a=b.owner||b.ownerCt;b.el.removeCls(b.toolPressedCls);b.el.removeCls(b.toolOverCls);if(b.stopEvent!==false){d.stopEvent()}Ext.callback(b.handler,b.scope||b,[d,c,a,b]);b.fireEvent("click",b,d);return true},onDestroy:function(){if(Ext.isObject(this.tooltip)){Ext.tip.QuickTipManager.unregister(this.id)}this.callParent()},onMouseDown:function(){if(this.disabled){return false}this.el.addCls(this.toolPressedCls)},onMouseOver:function(){if(this.disabled){return false}this.el.addCls(this.toolOverCls)},onMouseOut:function(){this.el.removeCls(this.toolOverCls)}});Ext.define("Ext.resizer.Handle",{extend:"Ext.Component",handleCls:"",baseHandleCls:Ext.baseCSSPrefix+"resizable-handle",region:"",onRender:function(){this.addCls(this.baseHandleCls,this.baseHandleCls+"-"+this.region,this.handleCls);this.callParent(arguments);this.el.unselectable()}});Ext.define("Ext.resizer.Resizer",{mixins:{observable:"Ext.util.Observable"},uses:["Ext.resizer.ResizeTracker","Ext.Component"],alternateClassName:"Ext.Resizable",handleCls:Ext.baseCSSPrefix+"resizable-handle",pinnedCls:Ext.baseCSSPrefix+"resizable-pinned",overCls:Ext.baseCSSPrefix+"resizable-over",proxyCls:Ext.baseCSSPrefix+"resizable-proxy",wrapCls:Ext.baseCSSPrefix+"resizable-wrap",dynamic:true,handles:"s e se",height:null,width:null,heightIncrement:0,widthIncrement:0,minHeight:20,minWidth:20,maxHeight:10000,maxWidth:10000,pinned:false,preserveRatio:false,transparent:false,possiblePositions:{n:"north",s:"south",e:"east",w:"west",se:"southeast",sw:"southwest",nw:"northwest",ne:"northeast"},constructor:function(a){var h=this,g,m,l=h.handles,b,k,e,c=0,j;this.addEvents("beforeresize","resizedrag","resize");if(Ext.isString(a)||Ext.isElement(a)||a.dom){g=a;a=arguments[1]||{};a.target=g}h.mixins.observable.constructor.call(h,a);g=h.target;if(g){if(g.isComponent){h.el=g.getEl();if(g.minWidth){h.minWidth=g.minWidth}if(g.minHeight){h.minHeight=g.minHeight}if(g.maxWidth){h.maxWidth=g.maxWidth}if(g.maxHeight){h.maxHeight=g.maxHeight}if(g.floating){if(!this.hasOwnProperty("handles")){this.handles="n ne e se s sw w nw"}}}else{h.el=h.target=Ext.get(g)}}else{h.target=h.el=Ext.get(h.el)}m=h.el.dom.tagName;if(m=="TEXTAREA"||m=="IMG"){h.originalTarget=h.target;h.target=h.el=h.el.wrap({cls:h.wrapCls,id:h.el.id+"-rzwrap"});h.el.setPositioning(h.originalTarget.getPositioning());h.originalTarget.clearPositioning();var d=h.originalTarget.getBox();h.el.setBox(d)}h.el.position();if(h.pinned){h.el.addCls(h.pinnedCls)}h.resizeTracker=Ext.create("Ext.resizer.ResizeTracker",{disabled:h.disabled,target:h.target,constrainTo:h.constrainTo,overCls:h.overCls,throttle:h.throttle,originalTarget:h.originalTarget,delegate:"."+h.handleCls,dynamic:h.dynamic,preserveRatio:h.preserveRatio,heightIncrement:h.heightIncrement,widthIncrement:h.widthIncrement,minHeight:h.minHeight,maxHeight:h.maxHeight,minWidth:h.minWidth,maxWidth:h.maxWidth});h.resizeTracker.on("mousedown",h.onBeforeResize,h);h.resizeTracker.on("drag",h.onResize,h);h.resizeTracker.on("dragend",h.onResizeEnd,h);if(h.handles=="all"){h.handles="n s e w ne nw se sw"}l=h.handles=h.handles.split(/ |\s*?[,;]\s*?/);k=h.possiblePositions;e=l.length;b=h.handleCls+" "+(this.target.isComponent?(h.target.baseCls+"-handle "):"")+h.handleCls+"-";for(;cc){d.minWidth=d.el.getWidth()*a}else{d.minHeight=d.el.getHeight()*c}}if(d.throttle){var e=Ext.Function.createThrottled(function(){Ext.resizer.ResizeTracker.prototype.resize.apply(d,arguments)},d.throttle);d.resize=function(h,i,g){if(g){Ext.resizer.ResizeTracker.prototype.resize.apply(d,arguments)}else{e.apply(null,arguments)}}}},onBeforeStart:function(a){this.startBox=this.el.getBox()},getDynamicTarget:function(){var a=this.target;if(this.dynamic){return a}else{if(!this.proxy){this.proxy=a.isComponent?a.getProxy().addCls(Ext.baseCSSPrefix+"resizable-proxy"):a.createProxy({tag:"div",cls:Ext.baseCSSPrefix+"resizable-proxy",id:a.id+"-rzproxy"},Ext.getBody());this.proxy.removeCls(Ext.baseCSSPrefix+"proxy-el")}}this.proxy.show();return this.proxy},onStart:function(a){this.activeResizeHandle=Ext.getCmp(this.getDragTarget().id);if(!this.dynamic){this.resize(this.startBox,{horizontal:"none",vertical:"none"})}},onDrag:function(a){if(this.dynamic||this.proxy){this.updateDimensions(a)}},updateDimensions:function(t,m){var u=this,c=u.activeResizeHandle.region,g=u.getOffset(u.constrainTo?"dragTarget":null),k=u.startBox,h,q=0,v=0,j,r,a=0,x=0,w,n=g[0]<0?"right":"left",s=g[1]<0?"down":"up",i,b;switch(c){case"south":v=g[1];b=2;break;case"north":v=-g[1];x=-v;b=2;break;case"east":q=g[0];b=1;break;case"west":q=-g[0];a=-q;b=1;break;case"northeast":v=-g[1];x=-v;q=g[0];i=[k.x,k.y+k.height];b=3;break;case"southeast":v=g[1];q=g[0];i=[k.x,k.y];b=3;break;case"southwest":q=-g[0];a=-q;v=g[1];i=[k.x+k.width,k.y];b=3;break;case"northwest":v=-g[1];x=-v;q=-g[0];a=-q;i=[k.x+k.width,k.y+k.height];b=3;break}var d={width:k.width+q,height:k.height+v,x:k.x+a,y:k.y+x};j=Ext.Number.snap(d.width,u.widthIncrement);r=Ext.Number.snap(d.height,u.heightIncrement);if(j!=d.width||r!=d.height){switch(c){case"northeast":d.y-=r-d.height;break;case"north":d.y-=r-d.height;break;case"southwest":d.x-=j-d.width;break;case"west":d.x-=j-d.width;break;case"northwest":d.x-=j-d.width;d.y-=r-d.height}d.width=j;d.height=r}if(d.widthu.maxWidth){d.width=Ext.Number.constrain(d.width,u.minWidth,u.maxWidth);if(a){d.x=k.x+(k.width-d.width)}}else{u.lastX=d.x}if(d.heightu.maxHeight){d.height=Ext.Number.constrain(d.height,u.minHeight,u.maxHeight);if(x){d.y=k.y+(k.height-d.height)}}else{u.lastY=d.y}if(u.preserveRatio||t.shiftKey){var p,l;h=u.startBox.width/u.startBox.height;p=Math.min(Math.max(u.minHeight,d.width/h),u.maxHeight);l=Math.min(Math.max(u.minWidth,d.height*h),u.maxWidth);if(b==1){d.height=p}else{if(b==2){d.width=l}else{w=Math.abs(i[0]-this.lastXY[0])/Math.abs(i[1]-this.lastXY[1]);if(w>h){d.height=p}else{d.width=l}if(c=="northeast"){d.y=k.y-(d.height-k.height)}else{if(c=="northwest"){d.y=k.y-(d.height-k.height);d.x=k.x-(d.width-k.width)}else{if(c=="southwest"){d.x=k.x-(d.width-k.width)}}}}}}if(v===0){s="none"}if(q===0){n="none"}u.resize(d,{horizontal:n,vertical:s},m)},getResizeTarget:function(a){return a?this.target:this.getDynamicTarget()},resize:function(b,d,a){var c=this.getResizeTarget(a);if(c.isComponent){if(c.floating){c.setPagePosition(b.x,b.y)}c.setSize(b.width,b.height)}else{c.setBox(b);if(this.originalTarget){this.originalTarget.setBox(b)}}},onEnd:function(a){this.updateDimensions(a,true);if(this.proxy){this.proxy.hide()}}});Ext.define("Ext.resizer.SplitterTracker",{extend:"Ext.dd.DragTracker",requires:["Ext.util.Region"],enabled:true,overlayCls:Ext.baseCSSPrefix+"resizable-overlay",getPrevCmp:function(){var a=this.getSplitter();return a.previousSibling()},getNextCmp:function(){var a=this.getSplitter();return a.nextSibling()},onBeforeStart:function(h){var d=this,g=d.getPrevCmp(),a=d.getNextCmp(),c=d.getSplitter().collapseEl,b;if(c&&(h.getTarget()===d.getSplitter().collapseEl.dom)){return false}if(a.collapsed||g.collapsed){return false}b=d.overlay=Ext.getBody().createChild({cls:d.overlayCls,html:" "});b.unselectable();b.setSize(Ext.core.Element.getViewWidth(true),Ext.core.Element.getViewHeight(true));b.show();d.prevBox=g.getEl().getBox();d.nextBox=a.getEl().getBox();d.constrainTo=d.calculateConstrainRegion()},onStart:function(b){var a=this.getSplitter();a.addCls(a.baseCls+"-active")},calculateConstrainRegion:function(){var g=this,a=g.getSplitter(),h=a.getWidth(),i=a.defaultSplitMin,b=a.orientation,d=g.prevBox,j=g.getPrevCmp(),c=g.nextBox,e=g.getNextCmp(),l,k;if(b==="vertical"){l=Ext.create("Ext.util.Region",d.y,(j.maxWidth?d.x+j.maxWidth:c.right-(e.minWidth||i))+h,d.bottom,d.x+(j.minWidth||i));k=Ext.create("Ext.util.Region",c.y,c.right-(e.minWidth||i),c.bottom,(e.maxWidth?c.right-e.maxWidth:d.x+(d.minWidth||i))-h)}else{l=Ext.create("Ext.util.Region",d.y+(j.minHeight||i),d.right,(j.maxHeight?d.y+j.maxHeight:c.bottom-(e.minHeight||i))+h,d.x);k=Ext.create("Ext.util.Region",(e.maxHeight?c.bottom-e.maxHeight:d.y+(j.minHeight||i))-h,c.right,c.bottom-(e.minHeight||i),c.x)}return l.intersect(k)},performResize:function(h){var j=this,c=j.getOffset("dragTarget"),a=j.getSplitter(),d=a.orientation,k=j.getPrevCmp(),i=j.getNextCmp(),b=a.ownerCt,g=b.getLayout();b.suspendLayout=true;if(d==="vertical"){if(k){if(!k.maintainFlex){delete k.flex;k.setSize(j.prevBox.width+c[0],k.getHeight())}}if(i){if(!i.maintainFlex){delete i.flex;i.setSize(j.nextBox.width-c[0],i.getHeight())}}}else{if(k){if(!k.maintainFlex){delete k.flex;k.setSize(k.getWidth(),j.prevBox.height+c[1])}}if(i){if(!i.maintainFlex){delete i.flex;i.setSize(k.getWidth(),j.nextBox.height-c[1])}}}delete b.suspendLayout;g.onLayout()},endDrag:function(){var a=this;if(a.overlay){a.overlay.remove();delete a.overlay}a.callParent(arguments)},onEnd:function(c){var a=this,b=a.getSplitter();b.removeCls(b.baseCls+"-active");a.performResize()},onDrag:function(g){var c=this,h=c.getOffset("dragTarget"),d=c.getSplitter(),b=d.getEl(),a=d.orientation;if(a==="vertical"){b.setX(c.startRegion.left+h[0])}else{b.setY(c.startRegion.top+h[1])}},getSplitter:function(){return Ext.getCmp(this.getDragCt().id)}});Ext.define("Ext.selection.CellModel",{extend:"Ext.selection.Model",alias:"selection.cellmodel",requires:["Ext.util.KeyNav"],enableKeyNav:true,preventWrap:false,constructor:function(){this.addEvents("deselect","select");this.callParent(arguments)},bindComponent:function(a){var b=this;b.primaryView=a;b.views=b.views||[];b.views.push(a);b.bind(a.getStore(),true);a.on({cellmousedown:b.onMouseDown,refresh:b.onViewRefresh,scope:b});if(b.enableKeyNav){b.initKeyNav(a)}},initKeyNav:function(a){var b=this;if(!a.rendered){a.on("render",Ext.Function.bind(b.initKeyNav,b,[a],0),b,{single:true});return}a.el.set({tabIndex:-1});b.keyNav=Ext.create("Ext.util.KeyNav",a.el,{up:b.onKeyUp,down:b.onKeyDown,right:b.onKeyRight,left:b.onKeyLeft,tab:b.onKeyTab,scope:b})},getHeaderCt:function(){return this.primaryView.headerCt},onKeyUp:function(b,a){this.move("up",b)},onKeyDown:function(b,a){this.move("down",b)},onKeyLeft:function(b,a){this.move("left",b)},onKeyRight:function(b,a){this.move("right",b)},move:function(a,c){var b=this,d=b.primaryView.walkCells(b.getCurrentPosition(),a,c,b.preventWrap);if(d){b.setCurrentPosition(d)}return d},getCurrentPosition:function(){return this.position},setCurrentPosition:function(b){var a=this;if(a.position){a.onCellDeselect(a.position)}if(b){a.onCellSelect(b)}a.position=b},onMouseDown:function(c,a,d,b,h,i,g){this.setCurrentPosition({row:i,column:d})},onCellSelect:function(a){var d=this,c=d.view.getStore(),b=c.getAt(a.row);d.doSelect(b);d.primaryView.onCellSelect(a);d.primaryView.onCellFocus(a);d.fireEvent("select",d,b,a.row,a.column)},onCellDeselect:function(a){var d=this,c=d.view.getStore(),b=c.getAt(a.row);d.doDeselect(b);d.primaryView.onCellDeselect(a);d.fireEvent("deselect",d,b,a.row,a.column)},onKeyTab:function(h,c){var d=this,g=h.shiftKey?"left":"right",b=d.view.editingPlugin,a=d.move(g,h);if(b&&a&&d.wasEditing){b.startEditByPosition(a)}delete d.wasEditing},onEditorTab:function(b,g){var c=this,d=g.shiftKey?"left":"right",a=c.move(d,g);if(a){b.startEditByPosition(a);c.wasEditing=true}},refresh:function(){var a=this.getCurrentPosition();if(a){this.onCellSelect(a)}},onViewRefresh:function(){var a=this.getCurrentPosition();if(a){this.onCellDeselect(a);this.setCurrentPosition(null)}},selectByPosition:function(a){this.setCurrentPosition(a)}});Ext.define("Ext.selection.RowModel",{extend:"Ext.selection.Model",alias:"selection.rowmodel",requires:["Ext.util.KeyNav"],deltaScroll:5,enableKeyNav:true,constructor:function(){this.addEvents("beforedeselect","beforeselect","deselect","select");this.callParent(arguments)},bindComponent:function(a){var b=this;b.views=b.views||[];b.views.push(a);b.bind(a.getStore(),true);a.on({itemmousedown:b.onRowMouseDown,scope:b});if(b.enableKeyNav){b.initKeyNav(a)}},initKeyNav:function(a){var b=this;if(!a.rendered){a.on("render",Ext.Function.bind(b.initKeyNav,b,[a],0),b,{single:true});return}a.el.set({tabIndex:-1});b.keyNav=new Ext.util.KeyNav(a.el,{up:b.onKeyUp,down:b.onKeyDown,right:b.onKeyRight,left:b.onKeyLeft,pageDown:b.onKeyPageDown,pageUp:b.onKeyPageUp,home:b.onKeyHome,end:b.onKeyEnd,scope:b});a.el.on(Ext.EventManager.getKeyEvent(),b.onKeyPress,b)},getRowsVisible:function(){var e=false,a=this.views[0],d=a.getNode(0),b,c;if(d){b=Ext.fly(d).getHeight();c=a.el.getHeight();e=Math.floor(c/b)}return e},onKeyEnd:function(d,a){var c=this,b=c.store.getAt(c.store.getCount()-1);if(b){if(d.shiftKey){c.selectRange(b,c.lastFocused||0);c.setLastFocused(b)}else{if(d.ctrlKey){c.setLastFocused(b)}else{c.doSelect(b)}}}},onKeyHome:function(c,a){var b=this,d=b.store.getAt(0);if(d){if(c.shiftKey){b.selectRange(d,b.lastFocused||0);b.setLastFocused(d)}else{if(c.ctrlKey){b.setLastFocused(d)}else{b.doSelect(d,false)}}}},onKeyPageUp:function(i,d){var h=this,j=h.getRowsVisible(),b,c,a,g;if(j){b=h.lastFocused?h.store.indexOf(h.lastFocused):0;c=b-j;if(c<0){c=0}a=h.store.getAt(c);if(i.shiftKey){g=h.store.getAt(b);h.selectRange(a,g,i.ctrlKey,"up");h.setLastFocused(a)}else{if(i.ctrlKey){i.preventDefault();h.setLastFocused(a)}else{h.doSelect(a)}}}},onKeyPageDown:function(i,b){var g=this,j=g.getRowsVisible(),a,h,d,c;if(j){a=g.lastFocused?g.store.indexOf(g.lastFocused):0;h=a+j;if(h>=g.store.getCount()){h=g.store.getCount()-1}d=g.store.getAt(h);if(i.shiftKey){c=g.store.getAt(a);g.selectRange(d,c,i.ctrlKey,"down");g.setLastFocused(d)}else{if(i.ctrlKey){i.preventDefault();g.setLastFocused(d)}else{g.doSelect(d)}}}},onKeyPress:function(d,b){if(d.getKey()===d.SPACE){d.stopEvent();var c=this,a=c.lastFocused;if(a){if(c.isSelected(a)){c.doDeselect(a,false)}else{c.doSelect(a,true)}}}},onKeyUp:function(h,d){var g=this,c=g.views[0],a=g.store.indexOf(g.lastFocused),b;if(a>0){b=g.store.getAt(a-1);if(h.shiftKey&&g.lastFocused){if(g.isSelected(g.lastFocused)&&g.isSelected(b)){g.doDeselect(g.lastFocused,true);g.setLastFocused(b)}else{if(!g.isSelected(g.lastFocused)){g.doSelect(g.lastFocused,true);g.doSelect(b,true)}else{g.doSelect(b,true)}}}else{if(h.ctrlKey){g.setLastFocused(b)}else{g.doSelect(b)}}}},onKeyDown:function(h,d){var g=this,c=g.views[0],a=g.store.indexOf(g.lastFocused),b;if(a+1 '},onRowMouseDown:function(b,a,h,d,i){b.el.focus();var g=this,c=i.getTarget("."+Ext.baseCSSPrefix+"grid-row-checker");if(g.checkOnly&&!c){return}if(c){var j=g.getSelectionMode();if(j!=="SINGLE"){g.setSelectionMode("SIMPLE")}g.selectWithEvent(a,i);g.setSelectionMode(j)}else{g.selectWithEvent(a,i)}},onSelectChange:function(){this.callParent(arguments);var a=this.selected.getCount()===this.store.getCount();this.toggleUiHeader(a)}});Ext.define("Ext.selection.TreeModel",{extend:"Ext.selection.RowModel",alias:"selection.treemodel",pruneRemoved:false,onKeyRight:function(d,b){var c=this.getLastFocused(),a=this.view;if(c){if(c.isExpanded()){this.onKeyDown(d,b)}else{if(!c.isLeaf()){a.expand(c)}}}},onKeyLeft:function(i,d){var h=this.getLastFocused(),c=this.view,b=c.getSelectionModel(),a,g;if(h){a=h.parentNode;if(h.isExpanded()){c.collapse(h)}else{if(a&&!a.isRoot()){if(i.shiftKey){b.selectRange(a,h,i.ctrlKey,"up");b.setLastFocused(a)}else{if(i.ctrlKey){b.setLastFocused(a)}else{b.select(a)}}}}}},onKeyPress:function(d,a){var b,c;if(d.getKey()===d.SPACE||d.getKey()===d.ENTER){d.stopEvent();b=this.getLastSelected();if(b&&b.isLeaf()){c=b.get("checked");if(Ext.isBoolean(c)){b.set("checked",!c)}}}else{this.callParent(arguments)}}});Ext.define("Ext.slider.Thumb",{requires:["Ext.dd.DragTracker","Ext.util.Format"],topZIndex:10000,constructor:function(a){var b=this;Ext.apply(b,a||{},{cls:Ext.baseCSSPrefix+"slider-thumb",constrain:false});b.callParent([a]);if(b.slider.vertical){Ext.apply(b,Ext.slider.Thumb.Vertical)}},render:function(){var a=this;a.el=a.slider.innerEl.insertFirst({cls:a.cls});if(a.disabled){a.disable()}a.initEvents()},move:function(b,a){if(!a){this.el.setLeft(b)}else{Ext.create("Ext.fx.Anim",{target:this.el,duration:350,to:{left:b}})}},bringToFront:function(){this.el.setStyle("zIndex",this.topZIndex)},sendToBack:function(){this.el.setStyle("zIndex","")},enable:function(){var a=this;a.disabled=false;if(a.el){a.el.removeCls(a.slider.disabledCls)}},disable:function(){var a=this;a.disabled=true;if(a.el){a.el.addCls(a.slider.disabledCls)}},initEvents:function(){var b=this,a=b.el;b.tracker=Ext.create("Ext.dd.DragTracker",{onBeforeStart:Ext.Function.bind(b.onBeforeDragStart,b),onStart:Ext.Function.bind(b.onDragStart,b),onDrag:Ext.Function.bind(b.onDrag,b),onEnd:Ext.Function.bind(b.onDragEnd,b),tolerance:3,autoStart:300,overCls:Ext.baseCSSPrefix+"slider-thumb-over"});b.tracker.initEl(a)},onBeforeDragStart:function(a){if(this.disabled){return false}else{this.slider.promoteThumb(this);return true}},onDragStart:function(b){var a=this;a.el.addCls(Ext.baseCSSPrefix+"slider-thumb-drag");a.dragging=true;a.dragStartValue=a.value;a.slider.fireEvent("dragstart",a.slider,b,a)},onDrag:function(h){var d=this,c=d.slider,b=d.index,g=d.getNewValue(),a,i;if(d.constrain){a=c.thumbs[b+1];i=c.thumbs[b-1];if(i!==undefined&&g<=i.value){g=i.value}if(a!==undefined&&g>=a.value){g=a.value}}c.setValue(b,g,false);c.fireEvent("drag",c,h,d)},getNewValue:function(){var a=this.slider,b=a.innerEl.translatePoints(this.tracker.getXY());return Ext.util.Format.round(a.reverseValue(b.left),a.decimalPrecision)},onDragEnd:function(d){var b=this,a=b.slider,c=b.value;b.el.removeCls(Ext.baseCSSPrefix+"slider-thumb-drag");b.dragging=false;a.fireEvent("dragend",a,d);if(b.dragStartValue!=c){a.fireEvent("changecomplete",a,c,b)}},destroy:function(){Ext.destroy(this.tracker)},statics:{Vertical:{getNewValue:function(){var b=this.slider,c=b.innerEl,d=c.translatePoints(this.tracker.getXY()),a=c.getHeight()-d.top;return Ext.util.Format.round(b.reverseValue(a),b.decimalPrecision)},move:function(b,a){if(!a){this.el.setBottom(b)}else{Ext.create("Ext.fx.Anim",{target:this.el,duration:350,to:{bottom:b}})}}}}});Ext.define("Ext.slider.Tip",{extend:"Ext.tip.Tip",minWidth:10,alias:"widget.slidertip",offsets:[0,-10],isSliderTip:true,init:function(b){var a=this;b.on({scope:a,dragstart:a.onSlide,drag:a.onSlide,dragend:a.hide,destroy:a.destroy})},onSlide:function(c,d,a){var b=this;b.show();b.update(b.getText(a));b.doComponentLayout();b.el.alignTo(a.el,"b-t?",b.offsets)},getText:function(a){return String(a.value)}});Ext.define("Ext.slider.Multi",{extend:"Ext.form.field.Base",alias:"widget.multislider",alternateClassName:"Ext.slider.MultiSlider",requires:["Ext.slider.Thumb","Ext.slider.Tip","Ext.Number","Ext.util.Format","Ext.Template","Ext.layout.component.field.Slider"],fieldSubTpl:['
    ','","
    ",{disableFormats:true,compiled:true}],vertical:false,minValue:0,maxValue:100,decimalPrecision:0,keyIncrement:1,increment:0,clickRange:[5,15],clickToChange:true,animate:true,dragging:false,constrainThumbs:true,componentLayout:"sliderfield",useTips:true,tipText:null,ariaRole:"slider",initValue:function(){var e=this,c=Ext.value,b=c(e.values,[c(e.value,c(e.minValue,0))]),d=0,a=b.length;e.originalValue=b;for(;dd.clickRange[0]&&c.topg?g:c.value}e.syncThumbs()},setValue:function(c,g,b,e){var d=this,a=d.thumbs[c];g=d.normalizeValue(g);if(g!==a.value&&d.fireEvent("beforechange",d,g,a.value,a)!==false){a.value=g;if(d.rendered){d.inputEl.set({"aria-valuenow":g,"aria-valuetext":g});a.move(d.translateValue(g),Ext.isDefined(b)?b!==false:d.animate);d.fireEvent("change",d,g,a);if(e){d.fireEvent("changecomplete",d,g,a)}}}},translateValue:function(a){var b=this.getRatio();return(a*b)-(this.minValue*b)-this.halfThumb},reverseValue:function(b){var a=this.getRatio();return(b+(this.minValue*a))/a},focus:function(){this.focusEl.focus(10)},onDisable:function(){var g=this,d=0,b=g.thumbs,a=b.length,c,e,h;g.callParent();for(;de.clickRange[0]&&d.left {baseCls}-body-{ui} {parent.baseCls}-body-{parent.ui}-{.}" style="{bodyStyle}">','
    {baseCls}-strip-{ui} {parent.baseCls}-strip-{parent.ui}-{.}">
    '],minTabWidth:30,maxTabWidth:undefined,initComponent:function(){var b=this,a;if(b.plain){b.setUI(b.ui+"-plain")}b.addClsWithUI(b.dock);b.addEvents("change");Ext.applyIf(b.renderSelectors,{body:"."+b.baseCls+"-body",strip:"."+b.baseCls+"-strip"});b.callParent(arguments);b.layout.align=(b.orientation=="vertical")?"left":"top";b.layout.overflowHandler=Ext.create("Ext.layout.container.boxOverflow.Scroller",b.layout);b.items.removeAt(b.items.getCount()-1);b.items.removeAt(b.items.getCount()-1);a=b.orientation=="vertical"?["up","down"]:["left","right"];Ext.FocusManager.subscribe(b,{keys:a})},onAdd:function(a){var b=this,d=b.tabPanel,c=!!d;b.callParent(arguments);a.position=b.dock;if(c){a.minWidth=d.minTabWidth}else{a.minWidth=b.minTabWidth+(a.iconCls?25:0)}a.maxWidth=b.maxTabWidth||(c?d.maxTabWidth:undefined)},afterRender:function(){var a=this;a.mon(a.el,{scope:a,click:a.onClick,delegate:"."+Ext.baseCSSPrefix+"tab"});a.callParent(arguments)},afterComponentLayout:function(){var a=this;a.callParent(arguments);a.strip.setWidth(a.el.getWidth())},onClick:function(d,c){var b=Ext.getCmp(c.id),g=this.tabPanel,a=true;c=d.getTarget();if(b&&b.isDisabled&&!b.isDisabled()){if(b.closable&&c===b.closeEl.dom){b.onCloseClick()}else{if(g){g.setActiveTab(b.card)}else{this.setActiveTab(b)}b.focus()}}},closeTab:function(c){var d=this,b=c.card,e=d.tabPanel,a;if(b&&b.fireEvent("beforeclose",b)===false){return false}if(c.active&&d.items.getCount()>1){a=c.next("tab")||d.items.items[0];d.setActiveTab(a);if(e){e.setActiveTab(a.card)}}c.fireClose();d.remove(c);if(e&&b){b.fireEvent("close",b);e.remove(b)}if(a){a.focus()}},setActiveTab:function(a){if(a.disabled){return}var b=this;if(b.activeTab){b.activeTab.deactivate()}a.activate();if(b.rendered){b.layout.layout();a.el.scrollIntoView(b.layout.getRenderTarget())}b.activeTab=a;b.fireEvent("change",b,a,a.card)}});Ext.define("Ext.tab.Panel",{extend:"Ext.panel.Panel",alias:"widget.tabpanel",alternateClassName:["Ext.TabPanel"],requires:["Ext.layout.container.Card","Ext.tab.Bar"],tabPosition:"top",removePanelHeader:true,plain:false,itemCls:"x-tabpanel-child",deferredRender:true,initComponent:function(){var c=this,b=c.dockedItems||[],a=c.activeTab||0;c.layout=Ext.create("Ext.layout.container.Card",Ext.apply({owner:c,deferredRender:c.deferredRender,itemCls:c.itemCls},c.layout));c.tabBar=Ext.create("Ext.tab.Bar",Ext.apply({},c.tabBar,{dock:c.tabPosition,plain:c.plain,border:c.border,cardLayout:c.layout,tabPanel:c}));if(b&&!Ext.isArray(b)){b=[b]}b.push(c.tabBar);c.dockedItems=b;c.addEvents("beforetabchange","tabchange");c.callParent(arguments);c.setActiveTab(a);c.on("afterlayout",c.afterInitialLayout,c,{single:true})},afterInitialLayout:function(){var b=this,a=b.getComponent(b.activeTab);if(a){b.layout.setActiveItem(a)}},setActiveTab:function(a){var c=this,b;a=c.getComponent(a);if(a){b=c.getActiveTab();if(b&&b!==a&&c.fireEvent("beforetabchange",c,a,b)===false){return false}c.tabBar.setActiveTab(a.tab);c.activeTab=a;if(c.rendered){c.layout.setActiveItem(a)}if(b&&b!==a){c.fireEvent("tabchange",c,a,b)}}},getActiveTab:function(){return this.activeTab},getTabBar:function(){return this.tabBar},onAdd:function(e,c){var d=this,b=e.tabConfig||{},a={xtype:"tab",card:e,disabled:e.disabled,closable:e.closable,hidden:e.hidden,tabBar:d.tabBar};if(e.closeText){a.closeText=e.closeText}b=Ext.applyIf(b,a);e.tab=d.tabBar.insert(c,b);e.on({scope:d,enable:d.onItemEnable,disable:d.onItemDisable,beforeshow:d.onItemBeforeShow,iconchange:d.onItemIconChange,titlechange:d.onItemTitleChange});if(e.isPanel){if(d.removePanelHeader){e.preventHeader=true;if(e.rendered){e.updateHeader()}}if(e.isPanel&&d.border){e.setBorder(false)}}if(this.rendered&&d.items.getCount()===1){d.setActiveTab(0)}},onItemEnable:function(a){a.tab.enable()},onItemDisable:function(a){a.tab.disable()},onItemBeforeShow:function(a){if(a!==this.activeTab){this.setActiveTab(a);return false}},onItemIconChange:function(b,a){b.tab.setIconCls(a);this.getTabBar().doLayout()},onItemTitleChange:function(a,b){a.tab.setText(b);this.getTabBar().doLayout()},doRemove:function(d,b){var c=this,a=c.items,e=a.getCount()>1;if(c.destroying||!e){c.activeTab=null}else{if(d===c.activeTab){c.setActiveTab(d.next()||a.getAt(0))}}c.callParent(arguments);delete d.tab.card;delete d.tab},onRemove:function(c,a){var b=this;c.un({scope:b,enable:b.onItemEnable,disable:b.onItemDisable,beforeshow:b.onItemBeforeShow});if(!b.destroying&&c.tab.ownerCt==b.tabBar){b.tabBar.remove(c.tab)}}});Ext.define("Ext.toolbar.Spacer",{extend:"Ext.Component",alias:"widget.tbspacer",alternateClassName:"Ext.Toolbar.Spacer",baseCls:Ext.baseCSSPrefix+"toolbar-spacer",focusable:false});Ext.define("Ext.tree.Column",{extend:"Ext.grid.column.Column",alias:"widget.treecolumn",initComponent:function(){var a=this.renderer||this.defaultRenderer,b=this.scope||window;this.renderer=function(m,p,e,d,l,h,k){var t=[],r=Ext.String.format,v=e.getDepth(),s=Ext.baseCSSPrefix+"tree-",g=s+"elbow-",n=s+"expander",j='',w='',i=a.apply(b,arguments),q=e.get("href"),u=e.get("hrefTarget"),c=e.get("cls");while(e){if(!e.isRoot()||(e.isRoot()&&k.rootVisible)){if(e.getDepth()===v){t.unshift(r(j,s+"icon "+s+"icon"+(e.get("icon")?"-inline ":(e.isLeaf()?"-leaf ":"-parent "))+(e.get("iconCls")||""),e.get("icon")||Ext.BLANK_IMAGE_URL));if(e.get("checked")!==null){t.unshift(r(w,(s+"checkbox")+(e.get("checked")?" "+s+"checkbox-checked":""),e.get("checked")?'aria-checked="true"':""));if(e.get("checked")){p.tdCls+=(" "+Ext.baseCSSPrefix+"tree-checked")}}if(e.isLast()){if(e.isExpandable()){t.unshift(r(j,(g+"end-plus "+n),Ext.BLANK_IMAGE_URL))}else{t.unshift(r(j,(g+"end"),Ext.BLANK_IMAGE_URL))}}else{if(e.isExpandable()){t.unshift(r(j,(g+"plus "+n),Ext.BLANK_IMAGE_URL))}else{t.unshift(r(j,(s+"elbow"),Ext.BLANK_IMAGE_URL))}}}else{if(e.isLast()||e.getDepth()===0){t.unshift(r(j,(g+"empty"),Ext.BLANK_IMAGE_URL))}else{if(e.getDepth()!==0){t.unshift(r(j,(g+"line"),Ext.BLANK_IMAGE_URL))}}}}e=e.parentNode}if(q){i=r('{2}',q,u,i)}if(c){p.tdCls+=" "+c}return t.join("")+i};this.callParent(arguments)},defaultRenderer:function(a){return a}});Ext.define("Ext.tree.View",{extend:"Ext.view.Table",alias:"widget.treeview",loadingCls:Ext.baseCSSPrefix+"grid-tree-loading",expandedCls:Ext.baseCSSPrefix+"grid-tree-node-expanded",expanderSelector:"."+Ext.baseCSSPrefix+"tree-expander",checkboxSelector:"."+Ext.baseCSSPrefix+"tree-checkbox",expanderIconOverCls:Ext.baseCSSPrefix+"tree-expander-over",blockRefresh:true,rootVisible:true,expandDuration:250,collapseDuration:250,toggleOnDblClick:true,initComponent:function(){var a=this;if(a.initialConfig.animate===undefined){a.animate=Ext.enableFx}a.store=Ext.create("Ext.data.NodeStore",{recursive:true,rootVisible:a.rootVisible,listeners:{beforeexpand:a.onBeforeExpand,expand:a.onExpand,beforecollapse:a.onBeforeCollapse,collapse:a.onCollapse,scope:a}});if(a.node){a.setRootNode(a.node)}a.animQueue={};a.callParent(arguments)},onClear:function(){this.store.removeAll()},setRootNode:function(b){var a=this;a.store.setNode(b);a.node=b;if(!a.rootVisible){b.expand()}},onRender:function(){var c=this,b={delegate:c.expanderSelector},a;c.callParent(arguments);a=c.el;a.on({scope:c,delegate:c.expanderSelector,mouseover:c.onExpanderMouseOver,mouseout:c.onExpanderMouseOut});a.on({scope:c,delegate:c.checkboxSelector,click:c.onCheckboxChange})},onCheckboxChange:function(g,b){var c=g.getTarget(this.getItemSelector(),this.getTargetEl()),a,d;if(c){a=this.getRecord(c);d=!a.get("checked");a.set("checked",d);this.fireEvent("checkchange",a,d)}},getChecked:function(){var a=[];this.node.cascadeBy(function(b){if(b.get("checked")){a.push(b)}});return a},isItemChecked:function(a){return a.get("checked")},createAnimWrap:function(j,k){var g="",e=this.panel.headerCt,b=e.getGridColumns(),h=0,l=b.length,m,d=this.getNode(j),a,c;for(;h'}c=Ext.get(d);a=c.insertSibling({tag:"tr",html:['','
    ','',g,"
    ","
    ",""].join("")},"after");return{record:j,node:d,el:a,expanding:false,collapsing:false,animating:false,animateEl:a.down("div"),targetEl:a.down("tbody")}},getAnimWrap:function(a){if(!this.animate){return null}while(a){if(a.animWrap){return a.animWrap}a=a.parentNode}return null},doAdd:function(b,d,i){var j=this,g=d[0],l=g.parentNode,k=j.all.elements,n=0,e=j.getAnimWrap(l),m,c,h;if(!e||!e.expanding){j.resetScrollers();return j.callParent(arguments)}l=e.record;m=e.targetEl;c=m.dom.childNodes;h=c.length-1;n=i-j.indexOf(l)-1;if(!h||n>=h){m.appendChild(b)}else{Ext.fly(c[n+1]).insertSibling(b,"before",true)}Ext.Array.insert(k,i,b);if(e.isAnimating){j.onExpand(l)}},doRemove:function(a,c){var h=this,e=a.parentNode,d=h.all,b=h.getAnimWrap(a),g=d.item(c).dom;if(!b||!b.collapsing){h.resetScrollers();return h.callParent(arguments)}b.targetEl.appendChild(g);d.removeElement(c)},onBeforeExpand:function(d,b,c){var e=this,a;if(!e.rendered||!e.animate){return}if(e.getNode(d)){a=e.getAnimWrap(d);if(!a){a=d.animWrap=e.createAnimWrap(d);a.animateEl.setHeight(0)}else{if(a.collapsing){a.targetEl.select(e.itemSelector).remove()}}a.expanding=true;a.collapsing=false}},onExpand:function(c){var d=this,a=d.animQueue,i=c.getId(),b,e,g,h;if(d.singleExpand){d.ensureSingleExpand(c)}b=d.getAnimWrap(c);if(!b){d.resetScrollers();return}e=b.animateEl;g=b.targetEl;e.stopAnimation();a[i]=true;e.slideIn("t",{duration:d.expandDuration,listeners:{scope:d,lastframe:function(){b.el.insertSibling(g.query(d.itemSelector),"before");b.el.remove();d.resetScrollers();delete b.record.animWrap;delete a[i]}}});b.isAnimating=true},resetScrollers:function(){var a=this.panel;a.determineScrollbars();a.invalidateScroller()},onBeforeCollapse:function(d,b,c){var e=this,a;if(!e.rendered||!e.animate){return}if(e.getNode(d)){a=e.getAnimWrap(d);if(!a){a=d.animWrap=e.createAnimWrap(d,c)}else{if(a.expanding){a.targetEl.select(this.itemSelector).remove()}}a.expanding=false;a.collapsing=true}},onCollapse:function(c){var d=this,a=d.animQueue,h=c.getId(),b=d.getAnimWrap(c),e,g;if(!b){d.resetScrollers();return}e=b.animateEl;g=b.targetEl;a[h]=true;e.stopAnimation();e.slideOut("t",{duration:d.collapseDuration,listeners:{scope:d,lastframe:function(){b.el.remove();delete b.record.animWrap;d.resetScrollers();delete a[h]}}});b.isAnimating=true},isAnimating:function(a){return !!this.animQueue[a.getId()]},collectData:function(c){var g=this.callParent(arguments),e=g.rows,a=e.length,d=0,h,b;for(;d=i.top&&h<(i.top+d)){return"before"}else{if(!a&&(k||(h>=(i.bottom-d)&&h<=i.bottom))){return"after"}else{return"append"}}},isValidDropPoint:function(b,j,n,k,g){if(!b||!g.item){return false}var p=this.view,l=p.getRecord(b),d=g.records,a=d.length,m=d.length,c,h;if(!(l&&j&&a)){return false}for(c=0;c2)?a[2]:null,h=(i>3)?a[3]:"/",d=(i>4)?a[4]:null,g=(i>5)?a[5]:false;document.cookie=c+"="+escape(e)+((b===null)?"":("; expires="+b.toGMTString()))+((h===null)?"":("; path="+h))+((d===null)?"":("; domain="+d))+((g===true)?"; secure":"")},get:function(d){var b=d+"=",g=b.length,a=document.cookie.length,e=0,c=0;while(e=0;--k){m=p[k].selectorText;if(m){m=m.split(",");h=m.length;for(g=0;g=0?a.substr(b+1):null},doSave:function(){this.hiddenField.value=this.currentToken},handleStateChange:function(a){this.currentToken=a;this.fireEvent("change",a)},updateIFrame:function(b){var a='
    '+Ext.util.Format.htmlEncode(b)+"
    ";try{var d=this.iframe.contentWindow.document;d.open();d.write(a);d.close();return true}catch(c){return false}},checkIFrame:function(){var d=this,b=d.iframe.contentWindow;if(!b||!b.document){Ext.Function.defer(this.checkIFrame,10,this);return}var e=b.document,c=e.getElementById("state"),a=c?c.innerText:null,g=d.getHash();Ext.TaskManager.start({run:function(){var k=b.document,j=k.getElementById("state"),h=j?j.innerText:null,i=d.getHash();if(h!==a){a=h;d.handleStateChange(h);window.top.location.hash=h;g=h;d.doSave()}else{if(i!==g){g=i;d.updateIFrame(i)}}},interval:50,scope:d});d.ready=true;d.fireEvent("ready",d)},startUp:function(){var a=this;a.currentToken=a.hiddenField.value||this.getHash();if(a.oldIEMode){a.checkIFrame()}else{var b=a.getHash();Ext.TaskManager.start({run:function(){var c=a.getHash();if(c!==b){b=c;a.handleStateChange(b);a.doSave()}},interval:50,scope:a});a.ready=true;a.fireEvent("ready",a)}},fieldId:Ext.baseCSSPrefix+"history-field",iframeId:Ext.baseCSSPrefix+"history-frame",init:function(c,a){var b=this;if(b.ready){Ext.callback(c,a,[b]);return}if(!Ext.isReady){Ext.onReady(function(){b.init(c,a)});return}b.hiddenField=Ext.getDom(b.fieldId);if(b.oldIEMode){b.iframe=Ext.getDom(b.iframeId)}b.addEvents("ready","change");if(c){b.on("ready",c,a,{single:true})}b.startUp()},add:function(a,c){var b=this;if(c!==false){if(b.getToken()===a){return true}}if(b.oldIEMode){return b.updateIFrame(a)}else{window.top.location.hash=a;return true}},back:function(){window.history.go(-1)},forward:function(){window.history.go(1)},getToken:function(){return this.ready?this.currentToken:this.getHash()}});Ext.define("Ext.view.TableChunker",{singleton:true,requires:["Ext.XTemplate"],metaTableTpl:["{[this.openTableWrap()]}",'',"",'','','',"","","{[this.openRows()]}","{row}",'',"{[this.embedFeature(values, parent, xindex, xcount)]}","","{[this.closeRows()]}","","
    ","{[this.closeTableWrap()]}"],constructor:function(){Ext.XTemplate.prototype.recurse=function(b,a){return this.apply(a?b[a]:b)}},embedFeature:function(b,d,a,e){var c="";if(!b.disabled){c=b.getFeatureTpl(b,d,a,e)}return c},embedFullWidth:function(){return'style="width: {fullWidth}px;"'},openRows:function(){return''},closeRows:function(){return""},metaRowTpl:['','','
    {{id}}
    ',"
    ",""],firstOrLastCls:function(b,c){var a="";if(b===1){a=Ext.baseCSSPrefix+"grid-cell-first"}else{if(b===c){a=Ext.baseCSSPrefix+"grid-cell-last"}}return a},embedRowCls:function(){return"{rowCls}"},embedRowAttr:function(){return"{rowAttr}"},openTableWrap:function(){return""},closeTableWrap:function(){return""},getTableTpl:function(k,b){var j,h={openRows:this.openRows,closeRows:this.closeRows,embedFeature:this.embedFeature,embedFullWidth:this.embedFullWidth,openTableWrap:this.openTableWrap,closeTableWrap:this.closeTableWrap},g={},c=k.features||[],m=c.length,e=0,l={embedRowCls:this.embedRowCls,embedRowAttr:this.embedRowAttr,firstOrLastCls:this.firstOrLastCls},d=Array.prototype.slice.call(this.metaRowTpl,0),a;for(;e0){h[h.length-1]="var Ext=window."+this.getUniqueGlobalNamespace()+";"+h[h.length-1]}return Function.prototype.constructor.apply(Function.prototype,h)}});Ext.type=Ext.typeOf})();(function(){var a="4.0.2",b;Ext.Version=b=Ext.extend(Object,{constructor:function(c){var e,d;if(c instanceof b){return c}this.version=this.shortVersion=String(c).toLowerCase().replace(/_/g,".").replace(/[\-+]/g,"");d=this.version.search(/([^\d\.])/);if(d!==-1){this.release=this.version.substr(d,c.length);this.shortVersion=this.version.substr(0,d)}this.shortVersion=this.shortVersion.replace(/[^\d]/g,"");e=this.version.split(".");this.major=parseInt(e.shift()||0,10);this.minor=parseInt(e.shift()||0,10);this.patch=parseInt(e.shift()||0,10);this.build=parseInt(e.shift()||0,10);return this},toString:function(){return this.version},valueOf:function(){return this.version},getMajor:function(){return this.major||0},getMinor:function(){return this.minor||0},getPatch:function(){return this.patch||0},getBuild:function(){return this.build||0},getRelease:function(){return this.release||""},isGreaterThan:function(c){return b.compare(this.version,c)===1},isLessThan:function(c){return b.compare(this.version,c)===-1},equals:function(c){return b.compare(this.version,c)===0},match:function(c){c=String(c);return this.version.substr(0,c.length)===c},toArray:function(){return[this.getMajor(),this.getMinor(),this.getPatch(),this.getBuild(),this.getRelease()]},getShortVersion:function(){return this.shortVersion}});Ext.apply(b,{releaseValueMap:{dev:-6,alpha:-5,a:-5,beta:-4,b:-4,rc:-3,"#":-2,p:-1,pl:-1},getComponentValue:function(c){return !c?0:(isNaN(c)?this.releaseValueMap[c]||c:parseInt(c,10))},compare:function(h,g){var d,e,c;h=new b(h).toArray();g=new b(g).toArray();for(c=0;ce){return 1}}}return 0}});Ext.apply(Ext,{versions:{},lastRegisteredVersion:null,setVersion:function(d,c){Ext.versions[d]=new b(c);Ext.lastRegisteredVersion=Ext.versions[d];return this},getVersion:function(c){if(c===undefined){return Ext.lastRegisteredVersion}return Ext.versions[c]},deprecate:function(c,e,g,d){if(b.compare(Ext.getVersion(c),e)<1){g.call(d)}}});Ext.setVersion("core",a)})();Ext.String={trimRegex:/^[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+|[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+$/g,escapeRe:/('|\\)/g,formatRe:/\{(\d+)\}/g,escapeRegexRe:/([-.*+?^${}()|[\]\/\\])/g,htmlEncode:(function(){var d={"&":"&",">":">","<":"<",'"':"""},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+")","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){return d[g]})}})(),htmlDecode:(function(){var d={"&":"&",">":">","<":"<",""":'"'},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+"|&#[0-9]{1,5};)","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){if(g in d){return d[g]}else{return String.fromCharCode(parseInt(g.substr(2),10))}})}})(),urlAppend:function(b,a){if(!Ext.isEmpty(a)){return b+(b.indexOf("?")===-1?"?":"&")+a}return b},trim:function(a){return a.replace(Ext.String.trimRegex,"")},capitalize:function(a){return a.charAt(0).toUpperCase()+a.substr(1)},ellipsis:function(c,a,d){if(c&&c.length>a){if(d){var e=c.substr(0,a-2),b=Math.max(e.lastIndexOf(" "),e.lastIndexOf("."),e.lastIndexOf("!"),e.lastIndexOf("?"));if(b!==-1&&b>=(a-15)){return e.substr(0,b)+"..."}}return c.substr(0,a-3)+"..."}return c},escapeRegex:function(a){return a.replace(Ext.String.escapeRegexRe,"\\$1")},escape:function(a){return a.replace(Ext.String.escapeRe,"\\$1")},toggle:function(b,c,a){return b===c?a:c},leftPad:function(b,c,d){var a=String(b);d=d||" ";while(a.length=c){g+=c}else{if(b*2<-c){g-=c}}}return Ext.Number.constrain(g,d,h)},toFixed:function(d,b){if(a){b=b||0;var c=Math.pow(10,b);return(Math.round(d*c)/c).toFixed(b)}return d.toFixed(b)},from:function(c,b){if(isFinite(c)){c=parseFloat(c)}return !isNaN(c)?c:b}}})();Ext.num=function(){return Ext.Number.from.apply(this,arguments)};(function(){var g=Array.prototype,p=g.slice,r=function(){var B=[],e,A=20;if(!B.splice){return false}while(A--){B.push("A")}B.splice(15,0,"F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F");e=B.length;B.splice(13,0,"XXX");if(e+1!=B.length){return false}return true}(),j="forEach" in g,v="map" in g,q="indexOf" in g,z="every" in g,c="some" in g,d="filter" in g,n=function(){var e=[1,2,3,4,5].sort(function(){return 0});return e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4&&e[4]===5}(),k=true,a;try{if(typeof document!=="undefined"){p.call(document.getElementsByTagName("body"))}}catch(t){k=false}function m(A,e){return(e<0)?Math.max(0,A.length+e):Math.min(A.length,e)}function y(H,G,A,K){var L=K?K.length:0,C=H.length,I=m(H,G);if(I===C){if(L){H.push.apply(H,K)}}else{var F=Math.min(A,C-I),J=I+F,B=J+L-F,e=C-J,D=C-F,E;if(BJ){for(E=e;E--;){H[B+E]=H[J+E]}}}if(L&&I===D){H.length=D;H.push.apply(H,K)}else{H.length=D+L;for(E=0;E-1;A--){if(C.call(B||E[A],E[A],A,E)===false){return A}}}return true},forEach:function(D,B,A){if(j){return D.forEach(B,A)}var e=0,C=D.length;for(;ee){e=B}}}return e},mean:function(e){return e.length>0?a.sum(e)/e.length:undefined},sum:function(D){var A=0,e,C,B;for(e=0,C=D.length;e0){return setTimeout(d,c)}d();return 0},createSequence:function(c,b,a){if(!Ext.isFunction(b)){return c}else{return function(){var d=c.apply(this||window,arguments);b.apply(a||this||window,arguments);return d}}},createBuffered:function(d,a,c,b){return function(){var e;return function(){var g=this;if(e){clearInterval(e);e=null}e=setTimeout(function(){d.apply(c||g,b||arguments)},a)}}()},createThrottled:function(e,b,d){var g,a,c,i,h=function(){e.apply(d||this,c);g=new Date().getTime()};return function(){a=new Date().getTime()-g;c=arguments;clearTimeout(i);if(!g||(a>=b)){h()}else{i=setTimeout(h,b-a)}}}};Ext.defer=Ext.Function.alias(Ext.Function,"defer");Ext.pass=Ext.Function.alias(Ext.Function,"pass");Ext.bind=Ext.Function.alias(Ext.Function,"bind");(function(){var a=Ext.Object={toQueryObjects:function(d,j,c){var b=a.toQueryObjects,h=[],e,g;if(Ext.isArray(j)){for(e=0,g=j.length;e0){h=n.split("=");w=decodeURIComponent(h[0]);m=(h[1]!==undefined)?decodeURIComponent(h[1]):"";if(!r){if(u.hasOwnProperty(w)){if(!Ext.isArray(u[w])){u[w]=[u[w]]}u[w].push(m)}else{u[w]=m}}else{g=w.match(/(\[):?([^\]]*)\]/g);t=w.match(/^([^\[]+)/);w=t[0];k=[];if(g===null){u[w]=m;continue}for(p=0,b=g.length;p 0 ? +1 : (Ext.Date.getWeekOfYear(this) >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"Ext.String.leftPad(this.getFullYear(), 4, '0')",y:"('' + this.getFullYear()).substring(2, 4)",a:"(this.getHours() < 12 ? 'am' : 'pm')",A:"(this.getHours() < 12 ? 'AM' : 'PM')",g:"((this.getHours() % 12) ? this.getHours() % 12 : 12)",G:"this.getHours()",h:"Ext.String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"Ext.String.leftPad(this.getHours(), 2, '0')",i:"Ext.String.leftPad(this.getMinutes(), 2, '0')",s:"Ext.String.leftPad(this.getSeconds(), 2, '0')",u:"Ext.String.leftPad(this.getMilliseconds(), 3, '0')",O:"Ext.Date.getGMTOffset(this)",P:"Ext.Date.getGMTOffset(this, true)",T:"Ext.Date.getTimezone(this)",Z:"(this.getTimezoneOffset() * -60)",c:function(){for(var k="Y-m-dTH:i:sP",h=[],g=0,d=k.length;g= 0 && y >= 0){","v = Ext.Date.add(new Date(y < 100 ? 100 : y, 0, 1, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","v = !strict? v : (strict === true && (z <= 364 || (Ext.Date.isLeapYear(v) && z <= 365))? Ext.Date.add(v, Ext.Date.DAY, z) : null);","}else if(strict === true && !Ext.Date.isValid(y, m + 1, d, h, i, s, ms)){","v = null;","}else{","v = Ext.Date.add(new Date(y < 100 ? 100 : y, m, d, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","}","}","}","if(v){","if(zz != null){","v = Ext.Date.add(v, Ext.Date.SECOND, -v.getTimezoneOffset() * 60 - zz);","}else if(o){","v = Ext.Date.add(v, Ext.Date.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn));","}","}","return v;"].join("\n");return function(m){var e=a.parseRegexes.length,n=1,g=[],l=[],k=false,d="";for(var j=0;j Ext.Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(am|pm|AM|PM)"},A:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(AM|PM|am|pm)"},g:function(){return a.formatCodeToRegex("G")},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},h:function(){return a.formatCodeToRegex("H")},H:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},i:{g:1,c:"i = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},s:{g:1,c:"s = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},u:{g:1,c:"ms = results[{0}]; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n",s:"(\\d+)"},O:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60),","mn = o.substring(3,5) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{4})"},P:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60),","mn = o.substring(4,6) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{2}:\\d{2})"},T:{g:0,c:null,s:"[A-Z]{1,4}"},Z:{g:1,c:"zz = results[{0}] * 1;\nzz = (-43200 <= zz && zz <= 50400)? zz : null;\n",s:"([+-]?\\d{1,5})"},c:function(){var e=[],c=[a.formatCodeToRegex("Y",1),a.formatCodeToRegex("m",2),a.formatCodeToRegex("d",3),a.formatCodeToRegex("h",4),a.formatCodeToRegex("i",5),a.formatCodeToRegex("s",6),{c:"ms = results[7] || '0'; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n"},{c:["if(results[8]) {","if(results[8] == 'Z'){","zz = 0;","}else if (results[8].indexOf(':') > -1){",a.formatCodeToRegex("P",8).c,"}else{",a.formatCodeToRegex("O",8).c,"}","}"].join("\n")}];for(var g=0,d=c.length;g0?"-":"+")+Ext.String.leftPad(Math.floor(Math.abs(e)/60),2,"0")+(d?":":"")+Ext.String.leftPad(Math.abs(e%60),2,"0")},getDayOfYear:function(g){var e=0,j=Ext.Date.clone(g),c=g.getMonth(),h;for(h=0,j.setDate(1),j.setMonth(0);h28){e=Math.min(e,Ext.Date.getLastDateOfMonth(Ext.Date.add(Ext.Date.getFirstDateOfMonth(h),"mo",i)).getDate())}j.setDate(e);j.setMonth(h.getMonth()+i);break;case Ext.Date.YEAR:j.setFullYear(h.getFullYear()+i);break}return j},between:function(d,g,c){var e=d.getTime();return g.getTime()<=e&&e<=c.getTime()},compat:function(){var g=window.Date,e,c,h=["useStrict","formatCodeToRegex","parseFunctions","parseRegexes","formatFunctions","y2kYear","MILLI","SECOND","MINUTE","HOUR","DAY","MONTH","YEAR","defaults","dayNames","monthNames","monthNumbers","getShortMonthName","getShortDayName","getMonthNumber","formatCodes","isValid","parseDate","getFormatCode","createFormat","createParser","parseCodes"],d=["dateFormat","format","getTimezone","getGMTOffset","getDayOfYear","getWeekOfYear","isLeapYear","getFirstDayOfMonth","getLastDayOfMonth","getDaysInMonth","getSuffix","clone","isDST","clearTime","add","between"];Ext.Array.forEach(h,function(i){g[i]=a[i]});Ext.Array.forEach(d,function(i){g.prototype[i]=function(){var j=Array.prototype.slice.call(arguments);j.unshift(this);return a[i].apply(a,j)}})}};var a=Ext.Date})();(function(a){var b=Ext.Base=function(){};b.prototype={$className:"Ext.Base",$class:b,self:b,constructor:function(){return this},initConfig:function(c){if(!this.$configInited){this.config=Ext.Object.merge({},this.config||{},c||{});this.applyConfig(this.config);this.$configInited=true}return this},setConfig:function(c){this.applyConfig(c||{});return this},applyConfig:a(function(c,d){var e="set"+Ext.String.capitalize(c);if(typeof this[e]==="function"){this[e].call(this,d)}return this}),callParent:function(d){var g=this.callParent.caller,e,c;if(!g.$owner){g=g.caller}e=g.$owner.superclass;c=g.$name;return e[c].apply(this,d||[])},statics:function(){var d=this.statics.caller,c=this.self;if(!d){return c}return d.$owner},callOverridden:function(c){var d=this.callOverridden.caller;return d.$previous.apply(this,c||[])},destroy:function(){}};Ext.apply(Ext.Base,{create:function(){return Ext.create.apply(Ext,[this].concat(Array.prototype.slice.call(arguments,0)))},own:a(function(c,d){if(typeof d==="function"){this.ownMethod(c,d)}else{this.prototype[c]=d}}),ownMethod:function(c,d){var e;if(d.$owner!==undefined&&d!==Ext.emptyFn){e=d;d=function(){return e.apply(this,arguments)}}d.$owner=this;d.$name=c;this.prototype[c]=d},addStatics:function(c){for(var d in c){if(c.hasOwnProperty(d)){this[d]=c[d]}}return this},implement:function(d){var g=this.prototype,e,h,k,j;for(e in d){if(d.hasOwnProperty(e)){k=d[e];if(typeof k==="function"){k.$owner=this;k.$name=e}g[e]=k}}if(Ext.enumerables){var c=Ext.enumerables;for(h=c.length;h--;){e=c[h];if(d.hasOwnProperty(e)){k=d[e];k.$owner=this;k.$name=e;g[e]=k}}}},borrow:function(h,d){var c=h.prototype,e,g,j;d=Ext.Array.from(d);for(e=0,g=d.length;e0){if(i===h){return k[i]}j=k[i];h=h.substring(i.length+1)}if(j.length>0){j+="/"}return j.replace(/\/\.\//g,"/")+h.replace(/\./g,"/")+".js"},getPrefix:function(i){var k=this.config.paths,j,h="";if(k.hasOwnProperty(i)){return i}for(j in k){if(k.hasOwnProperty(j)&&j+"."===i.substring(0,j.length+1)){if(j.length>h.length){h=j}}}return h},refreshQueue:function(){var n=this.queue.length,k,m,h,l;if(n===0){this.triggerReady();return}for(k=0;kthis.numLoadedFiles){continue}h=0;do{if(c.isCreated(l[h])){Ext.Array.erase(l,h,1)}else{h++}}while(h=200&&k<300){new Function(s.responseText+"\n//@ sourceURL="+l)();q.call(t)}else{m.call(this,"Failed loading synchronously via XHR: '"+i+"'; please verify that the file exists. XHR status code: "+k,h)}}s=null}},exclude:function(i){var h=this;return{require:function(l,k,j){return h.require(l,k,j,i)},syncRequire:function(l,k,j){return h.syncRequire(l,k,j,i)}}},syncRequire:function(){this.syncModeEnabled=true;this.require.apply(this,arguments);this.refreshQueue();this.syncModeEnabled=false},require:function(s,y,A,z){var n,w,k,x,u={},l=[],m=[],r,h=[],q,p,v,t;s=Ext.Array.from(s);z=Ext.Array.from(z);y=y||Ext.emptyFn;A=A||Ext.global;for(q=0,v=z.length;q0){l=c.getNamesByExpression(k);for(p=0,t=l.length;p0){m=c.getNamesByExpression(w);for(p=0,t=m.length;p0){Ext.Error.raise({sourceClass:"Ext.Loader",sourceMethod:"require",msg:"Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class"+((h.length>1)?"es":"")+": "+h.join(", ")})}}if(h.length===0){y.call(A);return this}this.queue.push({requires:h,callback:y,scope:A});h=h.slice();for(q=0,v=h.length;qwindow.innerWidth?"portrait":"landscape"},destroy:function(){var c=arguments.length,b,a;for(b=0;b
    '),I=J.child("div",true),E=I.offsetWidth;J.setStyle("overflow",(Ext.isWebKit||Ext.isGecko)?"auto":"scroll");var e=I.offsetWidth,G=E-e;J.remove();t={width:G,height:G}}return t},getScrollBarWidth:function(E){var e=Ext.getScrollbarSize(E);return e.width+2},copyTo:function(e,E,G,F){if(typeof G=="string"){G=G.split(/[,;\s]/)}Ext.each(G,function(H){if(F||E.hasOwnProperty(H)){e[H]=E[H]}},this);return e},destroyMembers:function(G){for(var F=1,E=arguments,e=E.length;F]+>/gi,c=/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,b=/\r?\n/g,d=/[^\d\.]/g,a;Ext.apply(g,{thousandSeparator:",",decimalSeparator:".",currencyPrecision:2,currencySign:"$",currencyAtEnd:false,undef:function(h){return h!==undefined?h:""},defaultValue:function(i,h){return i!==undefined&&i!==""?i:h},substr:function(i,j,h){return String(i).substr(j,h)},lowercase:function(h){return String(h).toLowerCase()},uppercase:function(h){return String(h).toUpperCase()},usMoney:function(h){return g.currency(h,"$",2)},currency:function(k,m,j,h){var p="",n=",0",l=0;k=k-0;if(k<0){k=-k;p="-"}j=j||g.currencyPrecision;n+=n+(j>0?".":"");for(;l")},capitalize:Ext.String.capitalize,ellipsis:Ext.String.ellipsis,format:Ext.String.format,htmlDecode:Ext.String.htmlDecode,htmlEncode:Ext.String.htmlEncode,leftPad:Ext.String.leftPad,trim:Ext.String.trim,parseBox:function(i){if(Ext.isNumber(i)){i=i.toString()}var j=i.split(" "),h=j.length;if(h==1){j[1]=j[2]=j[3]=j[0]}else{if(h==2){j[2]=j[0];j[3]=j[1]}else{if(h==3){j[3]=j[1]}}}return{top:parseInt(j[0],10)||0,right:parseInt(j[1],10)||0,bottom:parseInt(j[2],10)||0,left:parseInt(j[3],10)||0}},escapeRegex:function(h){return h.replace(/([\-.*+?\^${}()|\[\]\/\\])/g,"\\$1")}})})();Ext.ns("Ext.util");Ext.util.TaskRunner=function(e){e=e||10;var g=[],a=[],b=0,h=false,d=function(){h=false;clearInterval(b);b=0},i=function(){if(!h){h=true;b=setInterval(j,e)}},c=function(k){a.push(k);if(k.onStop){k.onStop.apply(k.scope||k)}},j=function(){var m=a.length,p=new Date().getTime(),r;if(m>0){for(r=0;r','
    ',"",'
    ','
    ',"
    ",'
    '].join("");d.body.appendChild(g);for(a=0;a

    ";return(b.childNodes.length==2)}},{identity:"Float",fn:function(a,b){return !!b.lastChild.style.cssFloat}},{identity:"AudioTag",fn:function(a){return !!a.createElement("audio").canPlayType}},{identity:"History",fn:function(){return !!(window.history&&history.pushState)}},{identity:"CSS3DTransform",fn:function(){return(typeof WebKitCSSMatrix!="undefined"&&new WebKitCSSMatrix().hasOwnProperty("m41"))}},{identity:"CSS3LinearGradient",fn:function(e,h){var d="background-image:",b="-webkit-gradient(linear, left top, right bottom, from(black), to(white))",g="linear-gradient(left top, black, white)",c="-moz-"+g,a=[d+b,d+g,d+c];h.style.cssText=a.join(";");return(""+h.style.backgroundImage).indexOf("gradient")!==-1}},{identity:"CSS3BorderRadius",fn:function(d,e){var b=["borderRadius","BorderRadius","MozBorderRadius","WebkitBorderRadius","OBorderRadius","KhtmlBorderRadius"],c=false,a;for(a=0;a=534.16}}]};Ext.ns("Ext.core");Ext.core.DomHelper=function(){var y=null,k=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,m=/^table|tbody|tr|td$/i,d=/tag|children|cn|html$/i,u=/td|tr|tbody/i,w=/end/i,s,p="afterbegin",q="afterend",c="beforebegin",r="beforeend",a="",i="
    ",b=a+"",j=""+i,l=b+"",x=""+j;function h(C,E,D,F,B,z){C=Ext.getDom(C);var A;if(s.useDom){A=n(E,null);if(z){C.appendChild(A)}else{(B=="firstChild"?C:C.parentNode).insertBefore(A,C[B]||C)}}else{A=Ext.core.DomHelper.insertHtml(F,C,Ext.core.DomHelper.createHtml(E))}return D?Ext.get(A,true):A}function n(z,F){var A,I=document,D,G,B,H;if(Ext.isArray(z)){A=I.createDocumentFragment();for(var E=0,C=z.length;E"}}}return A}function g(G,D,C,E){y.innerHTML=[D,C,E].join("");var z=-1,B=y,A;while(++z+~]\s?|\s|$)/,tagTokenRe=/^(#)?([\w-\*]+)/,nthRe=/(\d*)n\+?(\d*)/,nthRe2=/\D/,isIE=window.ActiveXObject?true:false,key=30803;eval("var batch = 30803;");function child(parent,index){var i=0,n=parent.firstChild;while(n){if(n.nodeType==1){if(++i==index){return n}}n=n.nextSibling}return null}function next(n){while((n=n.nextSibling)&&n.nodeType!=1){}return n}function prev(n){while((n=n.previousSibling)&&n.nodeType!=1){}return n}function children(parent){var n=parent.firstChild,nodeIndex=-1,nextNode;while(n){nextNode=n.nextSibling;if(n.nodeType==3&&!nonSpace.test(n.nodeValue)){parent.removeChild(n)}else{n.nodeIndex=++nodeIndex}n=nextNode}return this}function byClassName(nodeSet,cls){if(!cls){return nodeSet}var result=[],ri=-1;for(var i=0,ci;ci=nodeSet[i];i++){if((" "+ci.className+" ").indexOf(cls)!=-1){result[++ri]=ci}}return result}function attrValue(n,attr){if(!n.tagName&&typeof n.length!="undefined"){n=n[0]}if(!n){return null}if(attr=="for"){return n.htmlFor}if(attr=="class"||attr=="className"){return n.className}return n.getAttribute(attr)||n[attr]}function getNodes(ns,mode,tagName){var result=[],ri=-1,cs;if(!ns){return result}tagName=tagName||"*";if(typeof ns.getElementsByTagName!="undefined"){ns=[ns]}if(!mode){for(var i=0,ni;ni=ns[i];i++){cs=ni.getElementsByTagName(tagName);for(var j=0,ci;ci=cs[j];j++){result[++ri]=ci}}}else{if(mode=="/"||mode==">"){var utag=tagName.toUpperCase();for(var i=0,ni,cn;ni=ns[i];i++){cn=ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if(cj.nodeName==utag||cj.nodeName==tagName||tagName=="*"){result[++ri]=cj}}}}else{if(mode=="+"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(n&&(n.nodeName==utag||n.nodeName==tagName||tagName=="*")){result[++ri]=n}}}else{if(mode=="~"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)){if(n.nodeName==utag||n.nodeName==tagName||tagName=="*"){result[++ri]=n}}}}}}}return result}function concat(a,b){if(b.slice){return a.concat(b)}for(var i=0,l=b.length;i1){return nodup(results)}return results},isXml:function(el){var docEl=(el?el.ownerDocument||el:0).documentElement;return docEl?docEl.nodeName!=="HTML":false},select:document.querySelectorAll?function(path,root,type){root=root||document;if(!Ext.DomQuery.isXml(root)){try{var cs=root.querySelectorAll(path);return Ext.Array.toArray(cs)}catch(ex){}}return Ext.DomQuery.jsSelect.call(this,path,root,type)}:function(path,root,type){return Ext.DomQuery.jsSelect.call(this,path,root,type)},selectNode:function(path,root){return Ext.DomQuery.select(path,root)[0]},selectValue:function(path,root,defaultValue){path=path.replace(trimRe,"");if(!valueCache[path]){valueCache[path]=Ext.DomQuery.compile(path,"select")}var n=valueCache[path](root),v;n=n[0]?n[0]:n;if(typeof n.normalize=="function"){n.normalize()}v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==="")?defaultValue:v)},selectNumber:function(path,root,defaultValue){var v=Ext.DomQuery.selectValue(path,root,defaultValue||0);return parseFloat(v)},is:function(el,ss){if(typeof el=="string"){el=document.getElementById(el)}var isArray=Ext.isArray(el),result=Ext.DomQuery.filter(isArray?el:[el],ss);return isArray?(result.length==el.length):(result.length>0)},filter:function(els,ss,nonMatches){ss=ss.replace(trimRe,"");if(!simpleCache[ss]){simpleCache[ss]=Ext.DomQuery.compile(ss,"simple")}var result=simpleCache[ss](els);return nonMatches?quickDiff(result,els):result},matchers:[{re:/^\.([\w-]+)/,select:'n = byClassName(n, " {1} ");'},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:'n = byPseudo(n, "{1}", "{2}");'},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{4}", "{3}", "{1}");'},{re:/^#([\w-]+)/,select:'n = byId(n, "{1}");'},{re:/^@([\w-]+)/,select:'return {firstChild:{nodeValue:attrValue(n, "{1}")}};'}],operators:{"=":function(a,v){return a==v},"!=":function(a,v){return a!=v},"^=":function(a,v){return a&&a.substr(0,v.length)==v},"$=":function(a,v){return a&&a.substr(a.length-v.length)==v},"*=":function(a,v){return a&&a.indexOf(v)!==-1},"%=":function(a,v){return(a%v)==0},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+"-")},"~=":function(a,v){return a&&(" "+a+" ").indexOf(" "+v+" ")!=-1}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"nth-child":function(c,a){var r=[],ri=-1,m=nthRe.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!nthRe2.test(a)&&"n+"+a||a),f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var pn=n.parentNode;if(batch!=pn._batch){var j=0;for(var cn=pn.firstChild;cn;cn=cn.nextSibling){if(cn.nodeType==1){cn.nodeIndex=++j}}pn._batch=batch}if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n}}else{if((n.nodeIndex+l)%f==0){r[++ri]=n}}}return r},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci}}return r},empty:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var cns=ci.childNodes,j=0,cn,empty=true;while(cn=cns[j]){++j;if(cn.nodeType==1||cn.nodeType==3){empty=false;break}}if(empty){r[++ri]=ci}}return r},contains:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText||"").indexOf(v)!=-1){r[++ri]=ci}}return r},nodeValue:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v){r[++ri]=ci}}return r},checked:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci}}return r},not:function(c,ss){return Ext.DomQuery.filter(c,ss,true)},any:function(c,selectors){var ss=selectors.split("|"),r=[],ri=-1,s;for(var i=0,ci;ci=c[i];i++){for(var j=0;s=ss[j];j++){if(Ext.DomQuery.is(ci,s)){r[++ri]=ci;break}}}return r},odd:function(c){return this["nth-child"](c,"odd")},even:function(c){return this["nth-child"](c,"even")},nth:function(c,a){return c[a-1]||[]},first:function(c){return c[0]||[]},last:function(c){return c[c.length-1]||[]},has:function(c,ss){var s=Ext.DomQuery.select,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(ss,ci).length>0){r[++ri]=ci}}return r},next:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r},prev:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r}}}}();Ext.query=Ext.DomQuery.select;(function(){var h=document,a=Ext.cache;Ext.Element=Ext.core.Element=function(l,m){var n=typeof l=="string"?h.getElementById(l):l,p;if(!n){return null}p=n.id;if(!m&&p&&a[p]){return a[p].el}this.dom=n;this.id=p||Ext.id(n)};var d=Ext.core.DomHelper,e=Ext.core.Element;e.prototype={set:function(q,m){var n=this.dom,l,p;m=(m!==false)&&!!n.setAttribute;for(l in q){if(q.hasOwnProperty(l)){p=q[l];if(l=="style"){d.applyStyles(n,p)}else{if(l=="cls"){n.className=p}else{if(m){n.setAttribute(l,p)}else{n[l]=p}}}}}return this},defaultUnit:"px",is:function(l){return Ext.DomQuery.is(this.dom,l)},focus:function(p,n){var l=this;n=n||l.dom;try{if(Number(p)){Ext.defer(l.focus,p,null,[null,n])}else{n.focus()}}catch(m){}return l},blur:function(){try{this.dom.blur()}catch(l){}return this},getValue:function(l){var m=this.dom.value;return l?parseInt(m,10):m},addListener:function(l,p,n,m){Ext.EventManager.on(this.dom,l,p,n||this,m);return this},removeListener:function(l,n,m){Ext.EventManager.un(this.dom,l,n,m||this);return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);return this},purgeAllListeners:function(){Ext.EventManager.purgeElement(this);return this},addUnits:function(m,l){if(Ext.isNumber(m)){return m+(l||this.defaultUnit||"px")}if(m===""||m=="auto"||m===undefined||m===null){return m||""}if(!i.test(m)){return m||""}return m},isBorderBox:function(){return Ext.isBorderBox||g[(this.dom.tagName||"").toLowerCase()]},remove:function(){var l=this,m=l.dom;if(m){delete l.dom;Ext.removeNode(m)}},hover:function(m,l,p,n){var q=this;q.on("mouseenter",m,p||q.dom,n);q.on("mouseleave",l,p||q.dom,n);return q},contains:function(l){return !l?false:Ext.core.Element.isAncestor(this.dom,l.dom?l.dom:l)},getAttributeNS:function(m,l){return this.getAttribute(l,m)},getAttribute:(Ext.isIE&&!(Ext.isIE9&&document.documentMode===9))?function(l,n){var p=this.dom,m;if(n){m=typeof p[n+":"+l];if(m!="undefined"&&m!="unknown"){return p[n+":"+l]||null}return null}if(l==="for"){l="htmlFor"}return p[l]||null}:function(l,m){var n=this.dom;if(m){return n.getAttributeNS(m,l)||n.getAttribute(m+":"+l)}return n.getAttribute(l)||n[l]||null},update:function(l){if(this.dom){this.dom.innerHTML=l}return this}};var k=e.prototype;e.addMethods=function(l){Ext.apply(k,l)};k.on=k.addListener;k.un=k.removeListener;k.clearListeners=k.removeAllListeners;k.destroy=k.remove;k.autoBoxAdjust=true;var i=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,c;e.get=function(m){var l,q,p;if(!m){return null}if(typeof m=="string"){if(!(q=h.getElementById(m))){return null}if(a[m]&&a[m].el){l=a[m].el;l.dom=q}else{l=e.addToCache(new e(q))}return l}else{if(m.tagName){if(!(p=m.id)){p=Ext.id(m)}if(a[p]&&a[p].el){l=a[p].el;l.dom=m}else{l=e.addToCache(new e(m))}return l}else{if(m instanceof e){if(m!=c){if(Ext.isIE&&(m.id==undefined||m.id=="")){m.dom=m.dom}else{m.dom=h.getElementById(m.id)||m.dom}}return m}else{if(m.isComposite){return m}else{if(Ext.isArray(m)){return e.select(m)}else{if(m==h){if(!c){var n=function(){};n.prototype=e.prototype;c=new n();c.dom=h}return c}}}}}}return null};e.addToCache=function(l,m){if(l){m=m||l.id;a[m]={el:l,data:{},events:{}}}return l};e.data=function(m,l,n){m=e.get(m);if(!m){return null}var p=a[m.id].data;if(arguments.length==2){return p[l]}else{return(p[l]=n)}};function j(){if(!Ext.enableGarbageCollector){clearInterval(e.collectorThreadId)}else{var l,n,q,p;for(l in a){if(!a.hasOwnProperty(l)){continue}p=a[l];if(p.skipGarbageCollection){continue}n=p.el;q=n.dom;if(!q||!q.parentNode||(!q.offsetParent&&!h.getElementById(l))){if(q&&Ext.enableListenerCollection){Ext.EventManager.removeAll(q)}delete a[l]}}if(Ext.isIE){var m={};for(l in a){if(!a.hasOwnProperty(l)){continue}m[l]=a[l]}a=Ext.cache=m}}}e.collectorThreadId=setInterval(j,30000);var b=function(){};b.prototype=e.prototype;e.Flyweight=function(l){this.dom=l};e.Flyweight.prototype=new b();e.Flyweight.prototype.isFlyweight=true;e._flyweights={};e.fly=function(n,l){var m=null;l=l||"_global";n=Ext.getDom(n);if(n){(e._flyweights[l]=e._flyweights[l]||new e.Flyweight()).dom=n;m=e._flyweights[l]}return m};Ext.get=e.get;Ext.fly=e.fly;var g=Ext.isStrict?{select:1}:{input:1,select:1,textarea:1};if(Ext.isIE||Ext.isGecko){g.button=1}})();Ext.core.Element.addMethods({findParent:function(i,h,c){var e=this.dom,a=document.body,g=0,d;h=h||50;if(isNaN(h)){d=Ext.getDom(h);h=Number.MAX_VALUE}while(e&&e.nodeType==1&&g "+a,c.dom);return b?d:Ext.get(d)},parent:function(a,b){return this.matchNode("parentNode","parentNode",a,b)},next:function(a,b){return this.matchNode("nextSibling","nextSibling",a,b)},prev:function(a,b){return this.matchNode("previousSibling","previousSibling",a,b)},first:function(a,b){return this.matchNode("nextSibling","firstChild",a,b)},last:function(a,b){return this.matchNode("previousSibling","lastChild",a,b)},matchNode:function(b,e,a,c){if(!this.dom){return null}var d=this.dom[e];while(d){if(d.nodeType==1&&(!a||Ext.DomQuery.is(d,a))){return !c?Ext.get(d):d}d=d[b]}return null}});Ext.core.Element.addMethods({appendChild:function(a){return Ext.get(a).appendTo(this)},appendTo:function(a){Ext.getDom(a).appendChild(this.dom);return this},insertBefore:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a);return this},insertAfter:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a.nextSibling);return this},insertFirst:function(b,a){b=b||{};if(b.nodeType||b.dom||typeof b=="string"){b=Ext.getDom(b);this.dom.insertBefore(b,this.dom.firstChild);return !a?Ext.get(b):b}else{return this.createChild(b,this.dom.firstChild,a)}},insertSibling:function(e,c,d){var g=this,b,a=(c||"before").toLowerCase()=="after",h;if(Ext.isArray(e)){h=g;Ext.each(e,function(i){b=Ext.fly(h,"_internal").insertSibling(i,c,d);if(a){h=b}});return b}e=e||{};if(e.nodeType||e.dom){b=g.dom.parentNode.insertBefore(Ext.getDom(e),a?g.dom.nextSibling:g.dom);if(!d){b=Ext.get(b)}}else{if(a&&!g.dom.nextSibling){b=Ext.core.DomHelper.append(g.dom.parentNode,e,!d)}else{b=Ext.core.DomHelper[a?"insertAfter":"insertBefore"](g.dom,e,!d)}}return b},replace:function(a){a=Ext.get(a);this.insertBefore(a);a.remove();return this},replaceWith:function(a){var b=this;if(a.nodeType||a.dom||typeof a=="string"){a=Ext.get(a);b.dom.parentNode.insertBefore(a,b.dom)}else{a=Ext.core.DomHelper.insertBefore(b.dom,a)}delete Ext.cache[b.id];Ext.removeNode(b.dom);b.id=Ext.id(b.dom=a);Ext.core.Element.addToCache(b.isFlyweight?new Ext.core.Element(b.dom):b);return b},createChild:function(b,a,c){b=b||{tag:"div"};if(a){return Ext.core.DomHelper.insertBefore(a,b,c!==true)}else{return Ext.core.DomHelper[!this.dom.firstChild?"insertFirst":"append"](this.dom,b,c!==true)}},wrap:function(a,b){var e=Ext.core.DomHelper.insertBefore(this.dom,a||{tag:"div"},!b),c=e.dom||e;c.appendChild(this.dom);return e},insertHtml:function(b,c,a){var d=Ext.core.DomHelper.insertHtml(b,this.dom,c);return a?Ext.get(d):d}});(function(){Ext.core.Element.boxMarkup='
    ';var z=Ext.supports,s=document.defaultView,B=/alpha\(opacity=(.*)\)/i,l=/^\s+|\s+$/g,u=/\s+/,b=/\w/g,v=/table-row|table-.*-group/,c="_internal",e="padding",d="margin",x="border",t="-left",q="-right",w="-top",p="-bottom",j="-width",r=Math,y="hidden",g="isClipped",k="overflow",n="overflow-x",m="overflow-y",A="originalClip",i={l:x+t+j,r:x+q+j,t:x+w+j,b:x+p+j},h={l:e+t,r:e+q,t:e+w,b:e+p},a={l:d+t,r:d+q,t:d+w,b:d+p},C=Ext.core.Element.data;Ext.override(Ext.core.Element,{adjustWidth:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("lr")+E.getPadding("lr"))}return(F&&D<0)?0:D},adjustHeight:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("tb")+E.getPadding("tb"))}return(F&&D<0)?0:D},addCls:function(H){var I=this,E=[],J=((I.dom.className.replace(l,"")=="")?"":" "),G,D,F;if(H===undefined){return I}if(Object.prototype.toString.call(H)!=="[object Array]"){if(typeof H==="string"){H=H.replace(l,"").split(u);if(H.length===1){H=H[0];if(!I.hasCls(H)){I.dom.className+=J+H}}else{this.addCls(H)}}}else{for(G=0,D=H.length;G5?F.toLowerCase():E)},setStyle:function(H,G){var F=this,D,E;if(!F.dom){return F}if(typeof H==="string"){D={};D[H]=G;H=D}for(E in H){if(H.hasOwnProperty(E)){G=Ext.value(H[E],"");if(E=="opacity"){F.setOpacity(G)}else{F.dom.style[Ext.core.Element.normalize(E)]=G}}}return F},setOpacity:function(E,D){var G=this,I=G.dom,H,F;if(!G.dom){return G}F=G.dom.style;if(!D||!G.anim){if(!Ext.supports.Opacity){E=E<1?"alpha(opacity="+E*100+")":"";H=F.filter.replace(B,"").replace(l,"");F.zoom=1;F.filter=H+(H.length>0?" ":"")+E}else{F.opacity=E}}else{if(!Ext.isObject(D)){D={duration:350,easing:"ease-in"}}G.animate(Ext.applyIf({to:{opacity:E}},D))}return G},clearOpacity:function(){var D=this.dom.style;if(!Ext.supports.Opacity){if(!Ext.isEmpty(D.filter)){D.filter=D.filter.replace(B,"").replace(l,"")}}else{D.opacity=D["-moz-opacity"]=D["-khtml-opacity"]=""}return this},adjustDirect2DDimension:function(H){var F=this,I=F.dom,G=F.getStyle("display"),E=I.style.display,D=I.style.position,K=H==="width"?0:1,J;if(G==="inline"){I.style.display="inline-block"}I.style.position=G.match(v)?"absolute":"static";J=(parseFloat(F.getStyle(H))||parseFloat(I.currentStyle.msTransformOrigin.split(" ")[K])*2)%1;I.style.position=D;if(G==="inline"){I.style.display=E}return J},getHeight:function(K,F){var J=this,G=J.dom,H=Ext.isIE&&J.isStyle("display","none"),L,E,D,I;if(Ext.isIEQuirks){D=G.style;E=D.overflow;J.setStyle({overflow:"hidden"})}L=G.offsetHeight;L=r.max(L,H?0:G.clientHeight)||0;if(!H&&Ext.supports.Direct2DBug){I=J.adjustDirect2DDimension("height");if(F){L+=I}else{if(I>0&&I<0.5){L++}}}if(K){L-=(J.getBorderWidth("tb")+J.getPadding("tb"))}if(Ext.isIEQuirks){J.setStyle({overflow:E})}if(L<0){L=0}return L},getWidth:function(D,N){var K=this,H=K.dom,I=Ext.isIE&&K.isStyle("display","none"),L,F,G,E,J,M;if(Ext.isIEQuirks){E=H.style;G=E.overflow;K.setStyle({overflow:"hidden"})}if(Ext.isOpera10_5){if(H.parentNode.currentStyle.position==="relative"){M=H.parentNode.style.position;H.parentNode.style.position="static";F=H.offsetWidth;H.parentNode.style.position=M}F=Math.max(F||0,H.offsetWidth)}else{if(Ext.supports.BoundingClientRect){L=H.getBoundingClientRect();F=L.right-L.left;F=N?F:Math.ceil(F)}else{F=H.offsetWidth}}F=r.max(F,I?0:H.clientWidth)||0;if(!I&&Ext.supports.Direct2DBug){J=K.adjustDirect2DDimension("width");if(N){F+=J}else{if(J>0&&J<0.5){F++}}}if(D){F-=(K.getBorderWidth("lr")+K.getPadding("lr"))}if(Ext.isIEQuirks){K.setStyle({overflow:G})}if(F<0){F=0}return F},setWidth:function(E,D){var F=this;E=F.adjustWidth(E);if(!D||!F.anim){F.dom.style.width=F.addUnits(E)}else{if(!Ext.isObject(D)){D={}}F.animate(Ext.applyIf({to:{width:E}},D))}return F},setHeight:function(D,E){var F=this;D=F.adjustHeight(D);if(!E||!F.anim){F.dom.style.height=F.addUnits(D)}else{if(!Ext.isObject(E)){E={}}F.animate(Ext.applyIf({to:{height:D}},E))}return F},getBorderWidth:function(D){return this.addStyles(D,i)},getPadding:function(D){return this.addStyles(D,h)},clip:function(){var D=this,E=D.dom;if(!C(E,g)){C(E,g,true);C(E,A,{o:D.getStyle(k),x:D.getStyle(n),y:D.getStyle(m)});D.setStyle(k,y);D.setStyle(n,y);D.setStyle(m,y)}return D},unclip:function(){var E=this,F=E.dom,D;if(C(F,g)){C(F,g,false);D=C(F,A);if(o.o){E.setStyle(k,o.o)}if(o.x){E.setStyle(n,o.x)}if(o.y){E.setStyle(m,o.y)}}return E},addStyles:function(K,J){var E=0,I=K.match(b),H=0,D=I.length,G,F;for(;H"+Ext.String.format(Ext.core.Element.boxMarkup,D)+""));Ext.DomQuery.selectNode("."+D+"-mc",E.dom).appendChild(this.dom);return E},setSize:function(F,D,E){var G=this;if(Ext.isObject(F)){E=D;D=F.height;F=F.width}F=G.adjustWidth(F);D=G.adjustHeight(D);if(!E||!G.anim){G.dom.style.width=G.addUnits(F);G.dom.style.height=G.addUnits(D)}else{if(E===true){E={}}G.animate(Ext.applyIf({to:{width:F,height:D}},E))}return G},getComputedHeight:function(){var E=this,D=Math.max(E.dom.offsetHeight,E.dom.clientHeight);if(!D){D=parseFloat(E.getStyle("height"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("tb")}}return D},getComputedWidth:function(){var E=this,D=Math.max(E.dom.offsetWidth,E.dom.clientWidth);if(!D){D=parseFloat(E.getStyle("width"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("lr")}}return D},getFrameWidth:function(E,D){return D&&this.isBorderBox()?0:(this.getPadding(E)+this.getBorderWidth(E))},addClsOnOver:function(D){var E=this.dom;this.hover(function(){Ext.fly(E,c).addCls(D)},function(){Ext.fly(E,c).removeCls(D)});return this},addClsOnFocus:function(D){var E=this,F=E.dom;E.on("focus",function(){Ext.fly(F,c).addCls(D)});E.on("blur",function(){Ext.fly(F,c).removeCls(D)});return E},addClsOnClick:function(D){var E=this.dom;this.on("mousedown",function(){Ext.fly(E,c).addCls(D);var G=Ext.getDoc(),F=function(){Ext.fly(E,c).removeCls(D);G.removeListener("mouseup",F)};G.on("mouseup",F)});return this},getViewSize:function(){var G=this,H=G.dom,E=(H==Ext.getDoc().dom||H==Ext.getBody().dom),F,I,D;if(E){D={width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}else{if(Ext.isIE6||Ext.isIEQuirks){F=H.style;I=F.overflow;G.setStyle({overflow:"hidden"})}D={width:H.clientWidth,height:H.clientHeight};if(Ext.isIE6||Ext.isIEQuirks){G.setStyle({overflow:I})}}return D},getStyleSize:function(){var H=this,I=document,J=this.dom,E=(J==I||J==I.body),G=J.style,D,F;if(E){return{width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}if(G.width&&G.width!="auto"){D=parseFloat(G.width);if(H.isBorderBox()){D-=H.getFrameWidth("lr")}}if(G.height&&G.height!="auto"){F=parseFloat(G.height);if(H.isBorderBox()){F-=H.getFrameWidth("tb")}}return{width:D||H.getWidth(true),height:F||H.getHeight(true)}},getSize:function(D){return{width:this.getWidth(D),height:this.getHeight(D)}},repaint:function(){var D=this.dom;this.addCls(Ext.baseCSSPrefix+"repaint");setTimeout(function(){Ext.fly(D).removeCls(Ext.baseCSSPrefix+"repaint")},1);return this},unselectable:function(){var D=this;D.dom.unselectable="on";D.swallowEvent("selectstart",true);D.applyStyles("-moz-user-select:none;-khtml-user-select:none;");D.addCls(Ext.baseCSSPrefix+"unselectable");return D},getMargin:function(E){var F=this,G={t:"top",l:"left",r:"right",b:"bottom"},H={},D;if(!E){for(D in F.margins){H[G[D]]=parseFloat(F.getStyle(F.margins[D]))||0}return H}else{return F.addStyles.call(F,E,F.margins)}}})})();Ext.core.Element.VISIBILITY=1;Ext.core.Element.DISPLAY=2;Ext.core.Element.OFFSETS=3;Ext.core.Element.ASCLASS=4;Ext.core.Element.visibilityCls=Ext.baseCSSPrefix+"hide-nosize";Ext.core.Element.addMethods(function(){var e=Ext.core.Element,q="opacity",j="visibility",g="display",d="hidden",n="offsets",k="asclass",m="none",a="nosize",b="originalDisplay",c="visibilityMode",h="isVisible",i=e.data,l=function(s){var r=i(s,b);if(r===undefined){i(s,b,r="")}return r},p=function(s){var r=i(s,c);if(r===undefined){i(s,c,r=1)}return r};return{originalDisplay:"",visibilityMode:1,setVisibilityMode:function(r){i(this.dom,c,r);return this},isVisible:function(){var r=this,t=r.dom,s=i(t,h);if(typeof s=="boolean"){return s}s=!r.isStyle(j,d)&&!r.isStyle(g,m)&&!((p(t)==e.ASCLASS)&&r.hasCls(r.visibilityCls||e.visibilityCls));i(t,h,s);return s},setVisible:function(u,r){var x=this,s,z,y,w,v=x.dom,t=p(v);if(typeof r=="string"){switch(r){case g:t=e.DISPLAY;break;case j:t=e.VISIBILITY;break;case n:t=e.OFFSETS;break;case a:case k:t=e.ASCLASS;break}x.setVisibilityMode(t);r=false}if(!r||!x.anim){if(t==e.ASCLASS){x[u?"removeCls":"addCls"](x.visibilityCls||e.visibilityCls)}else{if(t==e.DISPLAY){return x.setDisplayed(u)}else{if(t==e.OFFSETS){if(!u){if(!x.hideModeStyles){x.hideModeStyles={position:x.getStyle("position"),top:x.getStyle("top"),left:x.getStyle("left")}}x.applyStyles({position:"absolute",top:"-10000px",left:"-10000px"})}else{if(x.hideModeStyles){x.applyStyles(x.hideModeStyles||{position:"",top:"",left:""});delete x.hideModeStyles}}}else{x.fixDisplay();v.style.visibility=u?"":d}}}}else{if(u){x.setOpacity(0.01);x.setVisible(true)}if(!Ext.isObject(r)){r={duration:350,easing:"ease-in"}}x.animate(Ext.applyIf({callback:function(){u||x.setVisible(false).setOpacity(1)},to:{opacity:(u)?1:0}},r))}i(v,h,u);return x},hasMetrics:function(){var r=this.dom;return this.isVisible()||(p(r)==e.OFFSETS)||(p(r)==e.VISIBILITY)},toggle:function(r){var s=this;s.setVisible(!s.isVisible(),s.anim(r));return s},setDisplayed:function(r){if(typeof r=="boolean"){r=r?l(this.dom):m}this.setStyle(g,r);return this},fixDisplay:function(){var r=this;if(r.isStyle(g,m)){r.setStyle(j,d);r.setStyle(g,l(this.dom));if(r.isStyle(g,m)){r.setStyle(g,"block")}}},hide:function(r){if(typeof r=="string"){this.setVisible(false,r);return this}this.setVisible(false,this.anim(r));return this},show:function(r){if(typeof r=="string"){this.setVisible(true,r);return this}this.setVisible(true,this.anim(r));return this}}}());Ext.applyIf(Ext.core.Element.prototype,{animate:function(a){var b=this;if(!b.id){b=Ext.get(b.dom)}if(Ext.fx.Manager.hasFxBlock(b.id)){return b}Ext.fx.Manager.queueFx(Ext.create("Ext.fx.Anim",b.anim(a)));return this},anim:function(a){if(!Ext.isObject(a)){return(a)?{}:false}var b=this,c=a.duration||Ext.fx.Anim.prototype.duration,e=a.easing||"ease",d;if(a.stopAnimation){b.stopAnimation()}Ext.applyIf(a,Ext.fx.Manager.getFxDefaults(b.id));Ext.fx.Manager.setFxDefaults(b.id,{delay:0});d={target:b,remove:a.remove,alternate:a.alternate||false,duration:c,easing:e,callback:a.callback,listeners:a.listeners,iterations:a.iterations||1,scope:a.scope,block:a.block,concurrent:a.concurrent,delay:a.delay||0,paused:true,keyframes:a.keyframes,from:a.from||{},to:Ext.apply({},a)};Ext.apply(d.to,a.to);delete d.to.to;delete d.to.from;delete d.to.remove;delete d.to.alternate;delete d.to.keyframes;delete d.to.iterations;delete d.to.listeners;delete d.to.target;delete d.to.paused;delete d.to.callback;delete d.to.scope;delete d.to.duration;delete d.to.easing;delete d.to.concurrent;delete d.to.block;delete d.to.stopAnimation;delete d.to.delay;return d},slideIn:function(b,h,e){var g=this,d=g.dom.style,c,a;b=b||"t";h=h||{};c=function(){var m=this,l=h.listeners,n,i,k,j,p;if(!e){g.fixDisplay()}n=g.getBox();if((b=="t"||b=="b")&&n.height==0){n.height=g.dom.scrollHeight}else{if((b=="l"||b=="r")&&n.width==0){n.width=g.dom.scrollWidth}}i=g.getPositioning();g.setSize(n.width,n.height);j=g.wrap({style:{visibility:e?"visible":"hidden"}});j.setPositioning(i);if(j.isStyle("position","static")){j.position("relative")}g.clearPositioning("auto");j.clip();g.setStyle({visibility:"",position:"absolute"});if(e){j.setSize(n.width,n.height)}switch(b){case"t":p={from:{width:n.width+"px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break;case"l":p={from:{width:"0px",height:n.height+"px"},to:{width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"r":p={from:{x:n.x+n.width,width:"0px",height:n.height+"px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};break;case"b":p={from:{y:n.y+n.height,width:n.width+"px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tl":p={from:{x:n.x,y:n.y,width:"0px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";d.right="0px";break;case"bl":p={from:{x:n.x+n.width,width:"0px",height:"0px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"br":p={from:{x:n.x+n.width,y:n.y+n.height,width:"0px",height:"0px"},to:{x:n.x,y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tr":p={from:{y:n.y+n.height,width:"0px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break}j.show();a=Ext.apply({},h);delete a.listeners;a=Ext.create("Ext.fx.Anim",Ext.applyIf(a,{target:j,duration:500,easing:"ease-out",from:e?p.to:p.from,to:e?p.from:p.to}));a.on("afteranimate",function(){if(e){g.setPositioning(i);if(h.useDisplay){g.setDisplayed(false)}else{g.hide()}}else{g.clearPositioning();g.setPositioning(i)}if(j.dom){j.dom.parentNode.insertBefore(g.dom,j.dom);j.remove()}g.setSize(n.width,n.height);m.end()});if(l){a.on(l)}};g.animate({duration:h.duration?h.duration*2:1000,listeners:{beforeanimate:{fn:c},afteranimate:{fn:function(){if(a&&a.running){a.end()}}}}});return g},slideOut:function(a,b){return this.slideIn(a,b,true)},puff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-out",duration:500,useDisplay:false});a=function(){b.clearOpacity();b.show();var e=b.getBox(),g=b.getStyle("fontSize"),d=b.getPositioning();this.to={width:e.width*2,height:e.height*2,x:e.x-(e.width/2),y:e.y-(e.height/2),opacity:0,fontSize:"200%"};this.on("afteranimate",function(){if(b.dom){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setStyle({fontSize:g})}})};b.animate({duration:c.duration,easing:c.easing,listeners:{beforeanimate:{fn:a}}});return b},switchOff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-in",duration:500,remove:false,useDisplay:false});a=function(){var h=this,g=b.getSize(),i=b.getXY(),e,d;b.clearOpacity();b.clip();d=b.getPositioning();e=Ext.create("Ext.fx.Animator",{target:b,duration:c.duration,easing:c.easing,keyframes:{33:{opacity:0.3},66:{height:1,y:i[1]+g.height/2},100:{width:1,x:i[0]+g.width/2}}});e.on("afteranimate",function(){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setSize(g);h.end()})};b.animate({duration:(c.duration*2),listeners:{beforeanimate:{fn:a}}});return b},frame:function(a,d,e){var c=this,b;a=a||"#C3DAF9";d=d||1;e=e||{};b=function(){c.show();var i=this,j=c.getBox(),h=Ext.getBody().createChild({style:{position:"absolute","pointer-events":"none","z-index":35000,border:"0px solid "+a}}),g;g=Ext.create("Ext.fx.Anim",{target:h,duration:e.duration||1000,iterations:d,from:{top:j.y,left:j.x,borderWidth:0,opacity:1,height:j.height,width:j.width},to:{top:j.y-20,left:j.x-20,borderWidth:10,opacity:0,height:j.height+40,width:j.width+40}});g.on("afteranimate",function(){h.remove();i.end()})};c.animate({duration:(e.duration*2)||2000,listeners:{beforeanimate:{fn:b}}});return c},ghost:function(a,d){var c=this,b;a=a||"b";b=function(){var h=c.getWidth(),g=c.getHeight(),i=c.getXY(),e=c.getPositioning(),j={opacity:0};switch(a){case"t":j.y=i[1]-g;break;case"l":j.x=i[0]-h;break;case"r":j.x=i[0]+h;break;case"b":j.y=i[1]+g;break;case"tl":j.x=i[0]-h;j.y=i[1]-g;break;case"bl":j.x=i[0]-h;j.y=i[1]+g;break;case"br":j.x=i[0]+h;j.y=i[1]+g;break;case"tr":j.x=i[0]+h;j.y=i[1]-g;break}this.to=j;this.on("afteranimate",function(){if(c.dom){c.hide();c.clearOpacity();c.setPositioning(e)}})};c.animate(Ext.applyIf(d||{},{duration:500,easing:"ease-out",listeners:{beforeanimate:{fn:b}}}));return c},highlight:function(d,b){var i=this,e=i.dom,k={},h,l,g,c,a,j;b=b||{};c=b.listeners||{};g=b.attr||"backgroundColor";k[g]=d||"ffff9c";if(!b.to){l={};l[g]=b.endColor||i.getColor(g,"ffffff","")}else{l=b.to}b.listeners=Ext.apply(Ext.apply({},c),{beforeanimate:function(){h=e.style[g];i.clearOpacity();i.show();a=c.beforeanimate;if(a){j=a.fn||a;return j.apply(a.scope||c.scope||window,arguments)}},afteranimate:function(){if(e){e.style[g]=h}a=c.afteranimate;if(a){j=a.fn||a;j.apply(a.scope||c.scope||window,arguments)}}});i.animate(Ext.apply({},b,{duration:1000,easing:"ease-in",from:k,to:l}));return i},pause:function(a){var b=this;Ext.fx.Manager.setFxDefaults(b.id,{delay:a});return b},fadeIn:function(a){this.animate(Ext.apply({},a,{opacity:1}));return this},fadeOut:function(a){this.animate(Ext.apply({},a,{opacity:0}));return this},scale:function(a,b,c){this.animate(Ext.apply({},c,{width:a,height:b}));return this},shift:function(a){this.animate(a);return this}});Ext.applyIf(Ext.core.Element,{unitRe:/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,camelRe:/(-[a-z])/gi,opacityRe:/alpha\(opacity=(.*)\)/i,cssRe:/([a-z0-9-]+)\s*:\s*([^;\s]+(?:\s*[^;\s]+)*);?/gi,propertyCache:{},defaultUnit:"px",borders:{l:"border-left-width",r:"border-right-width",t:"border-top-width",b:"border-bottom-width"},paddings:{l:"padding-left",r:"padding-right",t:"padding-top",b:"padding-bottom"},margins:{l:"margin-left",r:"margin-right",t:"margin-top",b:"margin-bottom"},addUnits:Ext.core.Element.prototype.addUnits,parseBox:function(b){if(Ext.isObject(b)){return{top:b.top||0,right:b.right||0,bottom:b.bottom||0,left:b.left||0}}else{if(typeof b!="string"){b=b.toString()}var c=b.split(" "),a=c.length;if(a==1){c[1]=c[2]=c[3]=c[0]}else{if(a==2){c[2]=c[0];c[3]=c[1]}else{if(a==3){c[3]=c[1]}}}return{top:parseFloat(c[0])||0,right:parseFloat(c[1])||0,bottom:parseFloat(c[2])||0,left:parseFloat(c[3])||0}}},unitizeBox:function(c,b){var a=this.addUnits,d=this.parseBox(c);return a(d.top,b)+" "+a(d.right,b)+" "+a(d.bottom,b)+" "+a(d.left,b)},camelReplaceFn:function(b,c){return c.charAt(1).toUpperCase()},normalize:function(a){if(a=="float"){a=Ext.supports.Float?"cssFloat":"styleFloat"}return this.propertyCache[a]||(this.propertyCache[a]=a.replace(this.camelRe,this.camelReplaceFn))},getDocumentHeight:function(){return Math.max(!Ext.isStrict?document.body.scrollHeight:document.documentElement.scrollHeight,this.getViewportHeight())},getDocumentWidth:function(){return Math.max(!Ext.isStrict?document.body.scrollWidth:document.documentElement.scrollWidth,this.getViewportWidth())},getViewportHeight:function(){return window.innerHeight},getViewportWidth:function(){return window.innerWidth},getViewSize:function(){return{width:window.innerWidth,height:window.innerHeight}},getOrientation:function(){if(Ext.supports.OrientationChange){return(window.orientation==0)?"portrait":"landscape"}return(window.innerHeight>window.innerWidth)?"portrait":"landscape"},fromPoint:function(a,b){return Ext.get(document.elementFromPoint(a,b))},parseStyles:function(c){var a={},b=this.cssRe,d;if(c){b.lastIndex=0;while((d=b.exec(c))){a[d[1]]=d[2]}}return a}});Ext.CompositeElementLite=function(b,a){this.elements=[];this.add(b,a);this.el=new Ext.core.Element.Flyweight()};Ext.CompositeElementLite.prototype={isComposite:true,getElement:function(a){var b=this.el;b.dom=a;b.id=a.id;return b},transformElement:function(a){return Ext.getDom(a)},getCount:function(){return this.elements.length},add:function(d,b){var e=this,g=e.elements;if(!d){return this}if(typeof d=="string"){d=Ext.core.Element.selectorFunction(d,b)}else{if(d.isComposite){d=d.elements}else{if(!Ext.isIterable(d)){d=[d]}}}for(var c=0,a=d.length;c-1){c=Ext.getDom(c);if(a){g=this.elements[b];g.parentNode.insertBefore(c,g);Ext.removeNode(g)}Ext.Array.splice(this.elements,b,1,c)}return this},clear:function(){this.elements=[]}};Ext.CompositeElementLite.prototype.on=Ext.CompositeElementLite.prototype.addListener;Ext.CompositeElementLite.importElementMethods=function(){var c,b=Ext.core.Element.prototype,a=Ext.CompositeElementLite.prototype;for(c in b){if(typeof b[c]=="function"){(function(d){a[d]=a[d]||function(){return this.invoke(d,arguments)}}).call(a,c)}}};Ext.CompositeElementLite.importElementMethods();if(Ext.DomQuery){Ext.core.Element.selectorFunction=Ext.DomQuery.select}Ext.core.Element.select=function(a,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;Ext.util.DelayedTask=function(d,c,a){var e=this,g,b=function(){clearInterval(g);g=null;d.apply(c,a||[])};this.delay=function(i,k,j,h){e.cancel();d=k||d;c=j||c;a=h||a;g=setInterval(b,i)};this.cancel=function(){if(g){clearInterval(g);g=null}}};Ext.require("Ext.util.DelayedTask",function(){Ext.util.Event=Ext.extend(Object,(function(){function b(e,g,h,d){g.task=new Ext.util.DelayedTask();return function(){g.task.delay(h.buffer,e,d,Ext.Array.toArray(arguments))}}function a(e,g,h,d){return function(){var i=new Ext.util.DelayedTask();if(!g.tasks){g.tasks=[]}g.tasks.push(i);i.delay(h.delay||10,e,d,Ext.Array.toArray(arguments))}}function c(e,g,h,d){return function(){g.ev.removeListener(g.fn,d);return e.apply(d,arguments)}}return{isEvent:true,constructor:function(e,d){this.name=d;this.observable=e;this.listeners=[]},addListener:function(g,e,d){var h=this,i;e=e||h.observable;if(!h.isListening(g,e)){i=h.createListener(g,e,d);if(h.firing){h.listeners=h.listeners.slice(0)}h.listeners.push(i)}},createListener:function(g,e,i){i=i||{};e=e||this.observable;var h={fn:g,scope:e,o:i,ev:this},d=g;if(i.single){d=c(d,h,i,e)}if(i.delay){d=a(d,h,i,e)}if(i.buffer){d=b(d,h,i,e)}h.fireFn=d;return h},findListener:function(j,h){var g=this.listeners,d=g.length,k,e;while(d--){k=g[d];if(k){e=k.scope;if(k.fn==j&&(e==h||e==this.observable)){return d}}}return -1},isListening:function(e,d){return this.findListener(e,d)!==-1},removeListener:function(h,g){var i=this,e,j,d;e=i.findListener(h,g);if(e!=-1){j=i.listeners[e];if(i.firing){i.listeners=i.listeners.slice(0)}if(j.task){j.task.cancel();delete j.task}d=j.tasks&&j.tasks.length;if(d){while(d--){j.tasks[d].cancel()}delete j.tasks}Ext.Array.erase(i.listeners,e,1);return true}return false},clearListeners:function(){var e=this.listeners,d=e.length;while(d--){this.removeListener(e[d].fn,e[d].scope)}},fire:function(){var j=this,g=j.listeners,h=g.length,e,d,k;if(h>0){j.firing=true;for(e=0;e111&&a.keyCode<124){a.keyCode=-1}}catch(b){}}},getRelatedTarget:function(a){a=a.browserEvent||a;var b=a.relatedTarget;if(!b){if(this.mouseLeaveRe.test(a.type)){b=a.toElement}else{if(this.mouseEnterRe.test(a.type)){b=a.fromElement}}}return this.resolveTextNode(b)},getPageX:function(a){return this.getXY(a)[0]},getPageY:function(a){return this.getXY(a)[1]},getPageXY:function(c){c=c.browserEvent||c;var b=c.pageX,e=c.pageY,d=document.documentElement,a=document.body;if(!b&&b!==0){b=c.clientX+(d&&d.scrollLeft||a&&a.scrollLeft||0)-(d&&d.clientLeft||a&&a.clientLeft||0);e=c.clientY+(d&&d.scrollTop||a&&a.scrollTop||0)-(d&&d.clientTop||a&&a.clientTop||0)}return[b,e]},getTarget:function(a){a=a.browserEvent||a;return this.resolveTextNode(a.target||a.srcElement)},resolveTextNode:Ext.isGecko?function(b){if(!b){return}var a=HTMLElement.prototype.toString.call(b);if(a=="[xpconnect wrapped native prototype]"||a=="[object XULElement]"){return}return b.nodeType==3?b.parentNode:b}:function(a){return a&&a.nodeType==3?a.parentNode:a},curWidth:0,curHeight:0,onWindowResize:function(d,c,b){var a=this.resizeEvent;if(!a){this.resizeEvent=a=new Ext.util.Event();this.on(window,"resize",this.fireResize,this,{buffer:100})}a.addListener(d,c,b)},fireResize:function(){var c=this,a=Ext.core.Element.getViewWidth(),b=Ext.core.Element.getViewHeight();if(c.curHeight!=b||c.curWidth!=a){c.curHeight=b;c.curWidth=a;c.resizeEvent.fire(a,b)}},removeResizeListener:function(b,a){if(this.resizeEvent){this.resizeEvent.removeListener(b,a)}},onWindowUnload:function(){var a=this.unloadEvent;if(!a){this.unloadEvent=a=new Ext.util.Event();this.addListener(window,"unload",this.fireUnload,this)}},fireUnload:function(){try{this.removeUnloadListener();if(Ext.isGecko3){var h=Ext.ComponentQuery.query("gridview"),b=0,d=h.length;for(;b=525:!((Ext.isGecko&&!Ext.isWindows)||Ext.isOpera),getKeyEvent:function(){return this.useKeyDown?"keydown":"keypress"}};Ext.onReady=function(c,b,a){Ext.Loader.onReady(c,b,true,a)};Ext.onDocumentReady=Ext.EventManager.onDocumentReady;Ext.EventManager.on=Ext.EventManager.addListener;Ext.EventManager.un=Ext.EventManager.removeListener;(function(){var a=function(){var g=document.body||document.getElementsByTagName("body")[0],e=Ext.baseCSSPrefix,c=[e+"body"],b=[],d;if(!g){return false}d=g.parentNode;if(Ext.isIE){c.push(e+"ie")}if(Ext.isIE6){c.push(e+"ie6")}if(Ext.isIE7){c.push(e+"ie7")}if(Ext.isIE8){c.push(e+"ie8")}if(Ext.isIE9){c.push(e+"ie9")}if(Ext.isGecko){c.push(e+"gecko")}if(Ext.isGecko3){c.push(e+"gecko3")}if(Ext.isGecko4){c.push(e+"gecko4")}if(Ext.isOpera){c.push(e+"opera")}if(Ext.isWebKit){c.push(e+"webkit")}if(Ext.isSafari){c.push(e+"safari")}if(Ext.isSafari2){c.push(e+"safari2")}if(Ext.isSafari3){c.push(e+"safari3")}if(Ext.isSafari4){c.push(e+"safari4")}if(Ext.isChrome){c.push(e+"chrome")}if(Ext.isMac){c.push(e+"mac")}if(Ext.isLinux){c.push(e+"linux")}if(!Ext.supports.CSS3BorderRadius){c.push(e+"nbr")}if(!Ext.supports.CSS3LinearGradient){c.push(e+"nlg")}if(!Ext.scopeResetCSS){c.push(e+"reset")}if(d){if(Ext.isStrict&&(Ext.isIE6||Ext.isIE7)){Ext.isBorderBox=false}else{Ext.isBorderBox=true}b.push(e+(Ext.isBorderBox?"border-box":"strict"));if(!Ext.isStrict){b.push(e+"quirks");if(Ext.isIE&&!Ext.isStrict){Ext.isIEQuirks=true}}Ext.fly(d,"_internal").addCls(b)}Ext.fly(g,"_internal").addCls(c);return true};Ext.onReady(a)})();Ext.define("Ext.EventObjectImpl",{uses:["Ext.util.Point"],BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,WHEEL_SCALE:(function(){var a;if(Ext.isGecko){a=3}else{if(Ext.isMac){if(Ext.isSafari&&Ext.webKitVersion>=532){a=120}else{a=12}a*=3}else{a=120}}return a})(),clickRe:/(dbl)?click/,safariKeys:{3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35},btnMap:Ext.isIE?{1:0,4:1,2:2}:{0:0,1:1,2:2},constructor:function(a,b){if(a){this.setEvent(a.browserEvent||a,b)}},setEvent:function(d,e){var c=this,b,a;if(d==c||(d&&d.browserEvent)){return d}c.browserEvent=d;if(d){b=d.button?c.btnMap[d.button]:(d.which?d.which-1:-1);if(c.clickRe.test(d.type)&&b==-1){b=0}a={type:d.type,button:b,shiftKey:d.shiftKey,ctrlKey:d.ctrlKey||d.metaKey||false,altKey:d.altKey,keyCode:d.keyCode,charCode:d.charCode,target:Ext.EventManager.getTarget(d),relatedTarget:Ext.EventManager.getRelatedTarget(d),currentTarget:d.currentTarget,xy:(e?c.getXY():null)}}else{a={button:-1,shiftKey:false,ctrlKey:false,altKey:false,keyCode:0,charCode:0,target:null,xy:[0,0]}}Ext.apply(c,a);return c},stopEvent:function(){this.stopPropagation();this.preventDefault()},preventDefault:function(){if(this.browserEvent){Ext.EventManager.preventDefault(this.browserEvent)}},stopPropagation:function(){var a=this.browserEvent;if(a){if(a.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(this)}Ext.EventManager.stopPropagation(a)}},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){return this.normalizeKey(this.keyCode||this.charCode)},normalizeKey:function(a){return Ext.isWebKit?(this.safariKeys[a]||a):a},getPageX:function(){return this.getX()},getPageY:function(){return this.getY()},getX:function(){return this.getXY()[0]},getY:function(){return this.getXY()[1]},getXY:function(){if(!this.xy){this.xy=Ext.EventManager.getPageXY(this.browserEvent)}return this.xy},getTarget:function(b,c,a){if(b){return Ext.fly(this.target).findParent(b,c,a)}return a?Ext.get(this.target):this.target},getRelatedTarget:function(b,c,a){if(b){return Ext.fly(this.relatedTarget).findParent(b,c,a)}return a?Ext.get(this.relatedTarget):this.relatedTarget},correctWheelDelta:function(c){var b=this.WHEEL_SCALE,a=Math.round(c/b+0.5);if(!a&&c){a=(c<0)?-1:1}return a},getWheelDeltas:function(){var d=this,c=d.browserEvent,b=0,a=0;if(Ext.isDefined(c.wheelDeltaX)){b=c.wheelDeltaX;a=c.wheelDeltaY}else{if(c.wheelDelta){a=c.wheelDelta}else{if(c.detail){a=-c.detail;if(a>100){a=3}else{if(a<-100){a=-3}}if(Ext.isDefined(c.axis)&&c.axis===c.HORIZONTAL_AXIS){b=a;a=0}}}}return{x:d.correctWheelDelta(b),y:d.correctWheelDelta(a)}},getWheelDelta:function(){var a=this.getWheelDeltas();return a.y},within:function(d,e,b){if(d){var c=e?this.getRelatedTarget():this.getTarget(),a;if(c){a=Ext.fly(d).contains(c);if(!a&&b){a=c==Ext.getDom(d)}return a}}return false},isNavKeyPress:function(){var b=this,a=this.normalizeKey(b.keyCode);return(a>=33&&a<=40)||a==b.RETURN||a==b.TAB||a==b.ESC},isSpecialKey:function(){var a=this.normalizeKey(this.keyCode);return(this.type=="keypress"&&this.ctrlKey)||this.isNavKeyPress()||(a==this.BACKSPACE)||(a>=16&&a<=20)||(a>=44&&a<=46)},getPoint:function(){var a=this.getXY();return Ext.create("Ext.util.Point",a[0],a[1])},hasModifier:function(){return this.ctrlKey||this.altKey||this.shiftKey||this.metaKey},injectEvent:function(){var d,e={};if(!Ext.isIE&&document.createEvent){d={createHtmlEvent:function(k,i,h,g){var j=k.createEvent("HTMLEvents");j.initEvent(i,h,g);return j},createMouseEvent:function(v,t,m,l,p,k,i,j,g,s,r,n,q){var h=v.createEvent("MouseEvents"),u=v.defaultView||window;if(h.initMouseEvent){h.initMouseEvent(t,m,l,u,p,k,i,k,i,j,g,s,r,n,q)}else{h=v.createEvent("UIEvents");h.initEvent(t,m,l);h.view=u;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.metaKey=r;h.shiftKey=s;h.button=n;h.relatedTarget=q}return h},createUIEvent:function(m,k,i,h,j){var l=m.createEvent("UIEvents"),g=m.defaultView||window;l.initUIEvent(k,i,h,g,j);return l},fireEvent:function(i,g,h){i.dispatchEvent(h)},fixTarget:function(g){if(g==window&&!g.dispatchEvent){return document}return g}}}else{if(document.createEventObject){var c={0:1,1:4,2:2};d={createHtmlEvent:function(k,i,h,g){var j=k.createEventObject();j.bubbles=h;j.cancelable=g;return j},createMouseEvent:function(u,t,m,l,p,k,i,j,g,s,r,n,q){var h=u.createEventObject();h.bubbles=m;h.cancelable=l;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.shiftKey=s;h.metaKey=r;h.button=c[n]||n;h.relatedTarget=q;return h},createUIEvent:function(l,j,h,g,i){var k=l.createEventObject();k.bubbles=h;k.cancelable=g;return k},fireEvent:function(i,g,h){i.fireEvent("on"+g,h)},fixTarget:function(g){if(g==document){return document.documentElement}return g}}}}Ext.Object.each({load:[false,false],unload:[false,false],select:[true,false],change:[true,false],submit:[true,true],reset:[true,false],resize:[true,false],scroll:[true,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createHtmlEvent(i,h,g);d.fireEvent(m,i,l)}});function b(i,h){var g=(i!="mousemove");return function(m,j){var l=j.getXY(),k=d.createMouseEvent(m.ownerDocument,i,true,g,h,l[0],l[1],j.ctrlKey,j.altKey,j.shiftKey,j.metaKey,j.button,j.relatedTarget);d.fireEvent(m,i,k)}}Ext.each(["click","dblclick","mousedown","mouseup","mouseover","mousemove","mouseout"],function(g){e[g]=b(g,1)});Ext.Object.each({focusin:[true,false],focusout:[true,false],activate:[true,true],focus:[false,false],blur:[false,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createUIEvent(m.ownerDocument,i,h,g,1);d.fireEvent(m,i,l)}});if(!d){e={};d={fixTarget:function(g){return g}}}function a(h,g){}return function(j){var i=this,h=e[i.type]||a,g=j?(j.dom||j):i.getTarget();g=d.fixTarget(g);h(g,i)}}()},function(){Ext.EventObject=new Ext.EventObjectImpl()});(function(){var e=document,d=null,b=e.compatMode=="CSS1Compat",h=Ext.core.Element,a=function(i){if(!c){c=new Ext.core.Element.Flyweight()}c.dom=i;return c},c;if(!("activeElement" in e)&&e.addEventListener){e.addEventListener("focus",function(i){if(i&&i.target){d=(i.target==e)?null:i.target}},true)}function g(j,k,i){return function(){j.selectionStart=k;j.selectionEnd=i}}Ext.apply(h,{isAncestor:function(j,k){var i=false;j=Ext.getDom(j);k=Ext.getDom(k);if(j&&k){if(j.contains){return j.contains(k)}else{if(j.compareDocumentPosition){return !!(j.compareDocumentPosition(k)&16)}else{while((k=k.parentNode)){i=k==j||i}}}}return i},getActiveElement:function(){return e.activeElement||d},getRightMarginFixCleaner:function(n){var k=Ext.supports,l=k.DisplayChangeInputSelectionBug,m=k.DisplayChangeTextAreaSelectionBug;if(l||m){var p=e.activeElement||d,i=p&&p.tagName,q,j;if((m&&i=="TEXTAREA")||(l&&i=="INPUT"&&p.type=="text")){if(h.isAncestor(n,p)){q=p.selectionStart;j=p.selectionEnd;if(Ext.isNumber(q)&&Ext.isNumber(j)){return g(p,q,j)}}}}return Ext.emptyFn},getViewWidth:function(i){return i?h.getDocumentWidth():h.getViewportWidth()},getViewHeight:function(i){return i?h.getDocumentHeight():h.getViewportHeight()},getDocumentHeight:function(){return Math.max(!b?e.body.scrollHeight:e.documentElement.scrollHeight,h.getViewportHeight())},getDocumentWidth:function(){return Math.max(!b?e.body.scrollWidth:e.documentElement.scrollWidth,h.getViewportWidth())},getViewportHeight:function(){return Ext.isIE?(Ext.isStrict?e.documentElement.clientHeight:e.body.clientHeight):self.innerHeight},getViewportWidth:function(){return(!Ext.isStrict&&!Ext.isOpera)?e.body.clientWidth:Ext.isIE?e.documentElement.clientWidth:self.innerWidth},getY:function(i){return h.getXY(i)[1]},getX:function(i){return h.getXY(i)[0]},getXY:function(k){var j,r,t,w,l,m,v=0,s=0,u,i,n=(e.body||e.documentElement),q=[0,0];k=Ext.getDom(k);if(k!=n){i=a(k).isStyle("position","absolute");if(k.getBoundingClientRect){t=k.getBoundingClientRect();u=a(document).getScroll();q=[Math.round(t.left+u.left),Math.round(t.top+u.top)]}else{j=k;while(j){r=a(j);v+=j.offsetLeft;s+=j.offsetTop;i=i||r.isStyle("position","absolute");if(Ext.isGecko){s+=w=parseInt(r.getStyle("borderTopWidth"),10)||0;v+=l=parseInt(r.getStyle("borderLeftWidth"),10)||0;if(j!=k&&!r.isStyle("overflow","visible")){v+=l;s+=w}}j=j.offsetParent}if(Ext.isSafari&&i){v-=n.offsetLeft;s-=n.offsetTop}if(Ext.isGecko&&!i){m=a(n);v+=parseInt(m.getStyle("borderLeftWidth"),10)||0;s+=parseInt(m.getStyle("borderTopWidth"),10)||0}j=k.parentNode;while(j&&j!=n){if(!Ext.isOpera||(j.tagName!="TR"&&!a(j).isStyle("display","inline"))){v-=j.scrollLeft;s-=j.scrollTop}j=j.parentNode}q=[v,s]}}return q},setXY:function(j,k){(j=Ext.fly(j,"_setXY")).position();var l=j.translatePoints(k),i=j.dom.style,m;for(m in l){if(!isNaN(l[m])){i[m]=l[m]+"px"}}},setX:function(j,i){h.setXY(j,[i,false])},setY:function(i,j){h.setXY(i,[false,j])},serializeForm:function(p){var n=p.elements||(document.forms[p]||Ext.getDom(p)).elements,i=false,m=encodeURIComponent,j,q="",l,k;Ext.each(n,function(r){j=r.name;l=r.type;if(!r.disabled&&j){if(/select-(one|multiple)/i.test(l)){Ext.each(r.options,function(s){if(s.selected){k=s.hasAttribute?s.hasAttribute("value"):s.getAttributeNode("value").specified;q+=Ext.String.format("{0}={1}&",m(j),m(k?s.value:s.text))}})}else{if(!(/file|undefined|reset|button/i.test(l))){if(!(/radio|checkbox/i.test(l)&&!r.checked)&&!(l=="submit"&&i)){q+=m(j)+"="+m(r.value)+"&";i=/submit/i.test(l)}}}}});return q.substr(0,q.length-1)}})})();Ext.core.Element.addMethods({monitorMouseLeave:function(a,d,c){var e=this,g,b={mouseleave:function(h){g=setTimeout(Ext.Function.bind(d,c||e,[h]),a)},mouseenter:function(){clearTimeout(g)},freezeEvent:true};e.on(b);return b},swallowEvent:function(a,b){var d=this;function c(g){g.stopPropagation();if(b){g.preventDefault()}}if(Ext.isArray(a)){Ext.each(a,function(g){d.on(g,c)});return d}d.on(a,c);return d},relayEvent:function(a,b){this.on(a,function(c){b.fireEvent(a,c)})},clean:function(b){var d=this,e=d.dom,g=e.firstChild,a,c=-1;if(Ext.core.Element.data(e,"isCleaned")&&b!==true){return d}while(g){a=g.nextSibling;if(g.nodeType==3){if(!(/\S/.test(g.nodeValue))){e.removeChild(g)}else{if(a&&a.nodeType==3){g.appendData(Ext.String.trim(a.data));e.removeChild(a);a=g.nextSibling;g.nodeIndex=++c}}}else{Ext.fly(g).clean();g.nodeIndex=++c}g=a}Ext.core.Element.data(e,"isCleaned",true);return d},load:function(a){this.getLoader().load(a);return this},getLoader:function(){var c=this.dom,b=Ext.core.Element.data,a=b(c,"loader");if(!a){a=Ext.create("Ext.ElementLoader",{target:this});b(c,"loader",a)}return a},update:function(html,loadScripts,callback){var me=this,id,dom,interval;if(!me.dom){return me}html=html||"";dom=me.dom;if(loadScripts!==true){dom.innerHTML=html;Ext.callback(callback,me);return me}id=Ext.id();html+='';interval=setInterval(function(){if(!document.getElementById(id)){return false}clearInterval(interval);var DOC=document,hd=DOC.getElementsByTagName("head")[0],re=/(?:]*)?>)((\n|\r|.)*?)(?:<\/script>)/ig,srcRe=/\ssrc=([\'\"])(.*?)\1/i,typeRe=/\stype=([\'\"])(.*?)\1/i,match,attrs,srcMatch,typeMatch,el,s;while((match=re.exec(html))){attrs=match[1];srcMatch=attrs?attrs.match(srcRe):false;if(srcMatch&&srcMatch[2]){s=DOC.createElement("script");s.src=srcMatch[2];typeMatch=attrs.match(typeRe);if(typeMatch&&typeMatch[2]){s.type=typeMatch[2]}hd.appendChild(s)}else{if(match[2]&&match[2].length>0){if(window.execScript){window.execScript(match[2])}else{window.eval(match[2])}}}}el=DOC.getElementById(id);if(el){Ext.removeNode(el)}Ext.callback(callback,me)},20);dom.innerHTML=html.replace(/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,"");return me},removeAllListeners:function(){this.removeAnchor();Ext.EventManager.removeAll(this.dom);return this},createProxy:function(a,e,d){a=(typeof a=="object")?a:{tag:"div",cls:a};var c=this,b=e?Ext.core.DomHelper.append(e,a,true):Ext.core.DomHelper.insertBefore(c.dom,a,true);b.setVisibilityMode(Ext.core.Element.DISPLAY);b.hide();if(d&&c.setBox&&c.getBox){b.setBox(c.getBox())}return b}});Ext.core.Element.prototype.clearListeners=Ext.core.Element.prototype.removeAllListeners;Ext.core.Element.addMethods({getAnchorXY:function(e,l,q){e=(e||"tl").toLowerCase();q=q||{};var k=this,b=k.dom==document.body||k.dom==document,n=q.width||b?Ext.core.Element.getViewWidth():k.getWidth(),i=q.height||b?Ext.core.Element.getViewHeight():k.getHeight(),p,a=Math.round,c=k.getXY(),m=k.getScroll(),j=b?m.left:!l?c[0]:0,g=b?m.top:!l?c[1]:0,d={c:[a(n*0.5),a(i*0.5)],t:[a(n*0.5),0],l:[0,a(i*0.5)],r:[n,a(i*0.5)],b:[a(n*0.5),i],tl:[0,0],bl:[0,i],br:[n,i],tr:[n,0]};p=d[e];return[p[0]+j,p[1]+g]},anchorTo:function(b,h,c,a,k,l){var i=this,e=i.dom,j=!Ext.isEmpty(k),d=function(){Ext.fly(e).alignTo(b,h,c,a);Ext.callback(l,Ext.fly(e))},g=this.getAnchor();this.removeAnchor();Ext.apply(g,{fn:d,scroll:j});Ext.EventManager.onWindowResize(d,null);if(j){Ext.EventManager.on(window,"scroll",d,null,{buffer:!isNaN(k)?k:50})}d.call(i);return i},removeAnchor:function(){var b=this,a=this.getAnchor();if(a&&a.fn){Ext.EventManager.removeResizeListener(a.fn);if(a.scroll){Ext.EventManager.un(window,"scroll",a.fn)}delete a.fn}return b},getAnchor:function(){var b=Ext.core.Element.data,c=this.dom;if(!c){return}var a=b(c,"_anchor");if(!a){a=b(c,"_anchor",{})}return a},getAlignVector:function(c,a,h){var d=this,b={t:"top",l:"left",r:"right",b:"bottom"},e=d.getRegion(),g;c=Ext.get(c);if(!c||!c.dom){}g=c.getRegion()},getAlignToXY:function(g,A,B){g=Ext.get(g);if(!g||!g.dom){}B=B||[0,0];A=(!A||A=="?"?"tl-bl?":(!(/-/).test(A)&&A!==""?"tl-"+A:A||"tl-bl")).toLowerCase();var K=this,H=K.dom,M,L,n,l,s,F,v,t=Ext.core.Element.getViewWidth()-10,G=Ext.core.Element.getViewHeight()-10,b,i,j,k,u,z,N=document,J=N.documentElement,q=N.body,E=(J.scrollLeft||q.scrollLeft||0)+5,D=(J.scrollTop||q.scrollTop||0)+5,I=false,e="",a="",C=A.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!C){}e=C[1];a=C[2];I=!!C[3];M=K.getAnchorXY(e,true);L=g.getAnchorXY(a,false);n=L[0]-M[0]+B[0];l=L[1]-M[1]+B[1];if(I){s=K.getWidth();F=K.getHeight();v=g.getRegion();b=e.charAt(0);i=e.charAt(e.length-1);j=a.charAt(0);k=a.charAt(a.length-1);u=((b=="t"&&j=="b")||(b=="b"&&j=="t"));z=((i=="r"&&k=="l")||(i=="l"&&k=="r"));if(n+s>t+E){n=z?v.left-s:t+E-s}if(nG+D){l=u?v.top-F:G+D-F}if(ld.right){c=true;a[0]=(d.right-g.right)}if(g.left+a[0]d.bottom){c=true;a[1]=(d.bottom-g.bottom)}if(g.top+a[1]a.clientHeight||a.scrollWidth>a.clientWidth},getScroll:function(){var i=this.dom,h=document,a=h.body,c=h.documentElement,b,g,e;if(i==h||i==a){if(Ext.isIE&&Ext.isStrict){b=c.scrollLeft;g=c.scrollTop}else{b=window.pageXOffset;g=window.pageYOffset}e={left:b||(a?a.scrollLeft:0),top:g||(a?a.scrollTop:0)}}else{e={left:i.scrollLeft,top:i.scrollTop}}return e},scrollTo:function(b,d,a){var g=/top/i.test(b),c=this,h=c.dom,e={},i;if(!a||!c.anim){i="scroll"+(g?"Top":"Left");h[i]=d}else{if(!Ext.isObject(a)){a={}}e["scroll"+(g?"Top":"Left")]=d;c.animate(Ext.applyIf({to:e},a))}return c},scrollIntoView:function(b,e){b=Ext.getDom(b)||Ext.getBody().dom;var c=this.dom,h=this.getOffsetsTo(b),g=h[0]+b.scrollLeft,j=h[1]+b.scrollTop,a=j+c.offsetHeight,k=g+c.offsetWidth,n=b.clientHeight,m=parseInt(b.scrollTop,10),d=parseInt(b.scrollLeft,10),i=m+n,l=d+b.clientWidth;if(c.offsetHeight>n||ji){b.scrollTop=a-n}}b.scrollTop=b.scrollTop;if(e!==false){if(c.offsetWidth>b.clientWidth||gl){b.scrollLeft=k-b.clientWidth}}b.scrollLeft=b.scrollLeft}return this},scrollChildIntoView:function(b,a){Ext.fly(b,"_scrollChildIntoView").scrollIntoView(this,a)},scroll:function(m,b,d){if(!this.isScrollable()){return false}var e=this.dom,g=e.scrollLeft,q=e.scrollTop,n=e.scrollWidth,k=e.scrollHeight,i=e.clientWidth,a=e.clientHeight,c=false,p,j={l:Math.min(g+b,n-i),r:p=Math.max(g-b,0),t:Math.max(q-b,0),b:Math.min(q+b,k-a)};j.d=j.b;j.u=j.t;m=m.substr(0,1);if((p=j[m])>-1){c=true;this.scrollTo(m=="l"||m=="r"?"left":"top",p,this.anim(d))}return c}});Ext.core.Element.addMethods(function(){var d="visibility",b="display",a="hidden",h="none",c=Ext.baseCSSPrefix+"masked",g=Ext.baseCSSPrefix+"masked-relative",e=Ext.core.Element.data;return{isVisible:function(i){var j=!this.isStyle(d,a)&&!this.isStyle(b,h),k=this.dom.parentNode;if(i!==true||!j){return j}while(k&&!(/^body/i.test(k.tagName))){if(!Ext.fly(k,"_isVisible").isVisible()){return false}k=k.parentNode}return true},isDisplayed:function(){return !this.isStyle(b,h)},enableDisplayMode:function(i){this.setVisibilityMode(Ext.core.Element.DISPLAY);if(!Ext.isEmpty(i)){e(this.dom,"originalDisplay",i)}return this},mask:function(j,p){var r=this,l=r.dom,m=l.style.setExpression,q=Ext.core.DomHelper,n=Ext.baseCSSPrefix+"mask-msg",i,s;if(!(/^body/i.test(l.tagName)&&r.getStyle("position")=="static")){r.addCls(g)}i=e(l,"maskMsg");if(i){i.remove()}i=e(l,"mask");if(i){i.remove()}s=q.append(l,{cls:Ext.baseCSSPrefix+"mask"},true);e(l,"mask",s);r.addCls(c);s.setDisplayed(true);if(typeof j=="string"){var k=q.append(l,{cls:n,cn:{tag:"div"}},true);e(l,"maskMsg",k);k.dom.className=p?n+" "+p:n;k.dom.firstChild.innerHTML=j;k.setDisplayed(true);k.center(r)}if(!Ext.supports.IncludePaddingInWidthCalculation&&m){s.dom.style.setExpression("width",'this.parentNode.offsetWidth + "px"')}if(!Ext.supports.IncludePaddingInHeightCalculation&&m){s.dom.style.setExpression("height",'this.parentNode.offsetHeight + "px"')}else{if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&r.getStyle("height")=="auto"){s.setSize(undefined,r.getHeight())}}return s},unmask:function(){var k=this,l=k.dom,i=e(l,"mask"),j=e(l,"maskMsg");if(i){if(i.dom.style.clearExpression){i.dom.style.clearExpression("width");i.dom.style.clearExpression("height")}if(j){j.remove();e(l,"maskMsg",undefined)}i.remove();e(l,"mask",undefined);k.removeCls([c,g])}},isMasked:function(){var k=this,i=e(k.dom,"mask"),j=e(k.dom,"maskMsg");if(i&&i.isVisible()){if(j){j.center(k)}return true}return false},createShim:function(){var i=document.createElement("iframe"),j;i.frameBorder="0";i.className=Ext.baseCSSPrefix+"shim";i.src=Ext.SSL_SECURE_URL;j=Ext.get(this.dom.parentNode.insertBefore(i,this.dom));j.autoBoxAdjust=false;return j}}}());Ext.core.Element.addMethods({addKeyListener:function(b,d,c){var a;if(typeof b!="object"||Ext.isArray(b)){a={key:b,fn:d,scope:c}}else{a={key:b.key,shift:b.shift,ctrl:b.ctrl,alt:b.alt,fn:d,scope:c}}return Ext.create("Ext.util.KeyMap",this,a)},addKeyMap:function(a){return Ext.create("Ext.util.KeyMap",this,a)}});Ext.CompositeElementLite.importElementMethods();Ext.apply(Ext.CompositeElementLite.prototype,{addElements:function(c,a){if(!c){return this}if(typeof c=="string"){c=Ext.core.Element.selectorFunction(c,a)}var b=this.elements;Ext.each(c,function(d){b.push(Ext.get(d))});return this},first:function(){return this.item(0)},last:function(){return this.item(this.getCount()-1)},contains:function(a){return this.indexOf(a)!=-1},removeElement:function(d,e){var c=this,a=this.elements,b;Ext.each(d,function(g){if((b=(a[g]||a[g=c.indexOf(g)]))){if(e){if(b.dom){b.remove()}else{Ext.removeNode(b)}}Ext.Array.erase(a,g,1)}});return this}});Ext.CompositeElement=Ext.extend(Ext.CompositeElementLite,{constructor:function(b,a){this.elements=[];this.add(b,a)},getElement:function(a){return a},transformElement:function(a){return Ext.get(a)}});Ext.core.Element.select=function(a,d,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return(d===true)?new Ext.CompositeElement(c):new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;(function(){var h={nameToAliasesMap:{"Ext.AbstractComponent":[""],"Ext.AbstractManager":[""],"Ext.AbstractPlugin":[""],"Ext.Ajax":[""],"Ext.ComponentLoader":[""],"Ext.ComponentManager":[""],"Ext.ComponentQuery":[""],"Ext.ElementLoader":[""],"Ext.LoadMask":[""],"Ext.ModelManager":[""],"Ext.PluginManager":[""],"Ext.Template":[""],"Ext.XTemplate":[""],"Ext.app.Application":[""],"Ext.app.Controller":[""],"Ext.app.EventBus":[""],"Ext.chart.Callout":[""],"Ext.chart.Chart":["widget.chart"],"Ext.chart.Highlight":[""],"Ext.chart.Label":[""],"Ext.chart.Legend":[""],"Ext.chart.LegendItem":[""],"Ext.chart.Mask":[""],"Ext.chart.MaskLayer":[""],"Ext.chart.Navigation":[""],"Ext.chart.Shape":[""],"Ext.chart.Tip":[""],"Ext.chart.TipSurface":[""],"Ext.chart.axis.Abstract":[""],"Ext.chart.axis.Axis":[""],"Ext.chart.axis.Category":["axis.category"],"Ext.chart.axis.Gauge":["axis.gauge"],"Ext.chart.axis.Numeric":["axis.numeric"],"Ext.chart.axis.Radial":["axis.radial"],"Ext.chart.axis.Time":["axis.time"],"Ext.chart.series.Area":["series.area"],"Ext.chart.series.Bar":["series.bar"],"Ext.chart.series.Cartesian":[""],"Ext.chart.series.Column":["series.column"],"Ext.chart.series.Gauge":["series.gauge"],"Ext.chart.series.Line":["series.line"],"Ext.chart.series.Pie":["series.pie"],"Ext.chart.series.Radar":["series.radar"],"Ext.chart.series.Scatter":["series.scatter"],"Ext.chart.series.Series":[""],"Ext.chart.theme.Base":[""],"Ext.chart.theme.Theme":[""],"Ext.container.AbstractContainer":[""],"Ext.data.AbstractStore":[""],"Ext.data.ArrayStore":["store.array"],"Ext.data.Association":[""],"Ext.data.Batch":[""],"Ext.data.BelongsToAssociation":["association.belongsto"],"Ext.data.BufferStore":["store.buffer"],"Ext.data.Connection":[""],"Ext.data.DirectStore":["store.direct"],"Ext.data.Errors":[""],"Ext.data.Field":["data.field"],"Ext.data.HasManyAssociation":["association.hasmany"],"Ext.data.JsonP":[""],"Ext.data.JsonPStore":["store.jsonp"],"Ext.data.JsonStore":["store.json"],"Ext.data.Model":[""],"Ext.data.NodeInterface":[""],"Ext.data.NodeStore":["store.node"],"Ext.data.Operation":[""],"Ext.data.Request":[""],"Ext.data.ResultSet":[""],"Ext.data.SortTypes":[""],"Ext.data.Store":["store.store"],"Ext.data.StoreManager":[""],"Ext.data.Tree":["data.tree"],"Ext.data.TreeStore":["store.tree"],"Ext.data.Types":[""],"Ext.data.validations":[""],"Ext.data.XmlStore":["store.xml"],"Ext.data.proxy.Ajax":["proxy.ajax"],"Ext.data.proxy.Client":[""],"Ext.data.proxy.Direct":["proxy.direct"],"Ext.data.proxy.JsonP":["proxy.jsonp","proxy.scripttag"],"Ext.data.proxy.LocalStorage":["proxy.localstorage"],"Ext.data.proxy.Memory":["proxy.memory"],"Ext.data.proxy.Proxy":["proxy.proxy"],"Ext.data.proxy.Rest":["proxy.rest"],"Ext.data.proxy.Server":["proxy.server"],"Ext.data.proxy.SessionStorage":["proxy.sessionstorage"],"Ext.data.proxy.WebStorage":[""],"Ext.data.reader.Array":["reader.array"],"Ext.data.reader.Json":["reader.json"],"Ext.data.reader.Reader":[""],"Ext.data.reader.Xml":["reader.xml"],"Ext.data.writer.Json":["writer.json"],"Ext.data.writer.Writer":["writer.base"],"Ext.data.writer.Xml":["writer.xml"],"Ext.direct.Event":["direct.event"],"Ext.direct.ExceptionEvent":["direct.exception"],"Ext.direct.JsonProvider":["direct.jsonprovider"],"Ext.direct.Manager":[""],"Ext.direct.PollingProvider":["direct.pollingprovider"],"Ext.direct.Provider":["direct.provider"],"Ext.direct.RemotingEvent":["direct.rpc"],"Ext.direct.RemotingMethod":[""],"Ext.direct.RemotingProvider":["direct.remotingprovider"],"Ext.direct.Transaction":["direct.transaction"],"Ext.draw.Color":[""],"Ext.draw.Component":["widget.draw"],"Ext.draw.CompositeSprite":[""],"Ext.draw.Draw":[""],"Ext.draw.Matrix":[""],"Ext.draw.Sprite":[""],"Ext.draw.SpriteDD":[""],"Ext.draw.Surface":[""],"Ext.draw.engine.Svg":[""],"Ext.draw.engine.Vml":[""],"Ext.fx.Anim":[""],"Ext.fx.Animator":[""],"Ext.fx.CubicBezier":[""],"Ext.fx.Easing":[],"Ext.fx.Manager":[""],"Ext.fx.PropertyHandler":[""],"Ext.fx.Queue":[""],"Ext.fx.target.Component":[""],"Ext.fx.target.CompositeElement":[""],"Ext.fx.target.CompositeElementCSS":[""],"Ext.fx.target.CompositeSprite":[""],"Ext.fx.target.Element":[""],"Ext.fx.target.ElementCSS":[""],"Ext.fx.target.Sprite":[""],"Ext.fx.target.Target":[""],"Ext.layout.Layout":[""],"Ext.layout.component.AbstractDock":[""],"Ext.layout.component.Auto":["layout.autocomponent"],"Ext.layout.component.Component":[""],"Ext.layout.component.Draw":["layout.draw"],"Ext.layout.container.AbstractCard":[""],"Ext.layout.container.AbstractContainer":[""],"Ext.layout.container.AbstractFit":[""],"Ext.layout.container.Auto":["layout.auto","layout.autocontainer"],"Ext.panel.AbstractPanel":[""],"Ext.selection.DataViewModel":[""],"Ext.selection.Model":[""],"Ext.state.CookieProvider":[""],"Ext.state.LocalStorageProvider":["state.localstorage"],"Ext.state.Manager":[""],"Ext.state.Provider":[""],"Ext.state.Stateful":[""],"Ext.util.AbstractMixedCollection":[""],"Ext.util.Filter":[""],"Ext.util.Grouper":[""],"Ext.util.HashMap":[""],"Ext.util.Inflector":[""],"Ext.util.Memento":[""],"Ext.util.MixedCollection":[""],"Ext.util.Observable":[""],"Ext.util.Offset":[""],"Ext.util.Point":[""],"Ext.util.Region":[""],"Ext.util.Sortable":[""],"Ext.util.Sorter":[""],"Ext.view.AbstractView":[""],"Ext.Action":[""],"Ext.Component":["widget.component","widget.box"],"Ext.Editor":["widget.editor"],"Ext.FocusManager":[""],"Ext.Img":["widget.image","widget.imagecomponent"],"Ext.Layer":[""],"Ext.ProgressBar":["widget.progressbar"],"Ext.Shadow":[""],"Ext.ShadowPool":[""],"Ext.ZIndexManager":[""],"Ext.button.Button":["widget.button"],"Ext.button.Cycle":["widget.cycle"],"Ext.button.Split":["widget.splitbutton"],"Ext.container.ButtonGroup":["widget.buttongroup"],"Ext.container.Container":["widget.container"],"Ext.container.Viewport":["widget.viewport"],"Ext.dd.DD":[""],"Ext.dd.DDProxy":[""],"Ext.dd.DDTarget":[""],"Ext.dd.DragDrop":[""],"Ext.dd.DragDropManager":[""],"Ext.dd.DragSource":[""],"Ext.dd.DragTracker":[""],"Ext.dd.DragZone":[""],"Ext.dd.DropTarget":[""],"Ext.dd.DropZone":[""],"Ext.dd.Registry":[""],"Ext.dd.ScrollManager":[""],"Ext.dd.StatusProxy":[""],"Ext.flash.Component":["widget.flash"],"Ext.form.Basic":[""],"Ext.form.CheckboxGroup":["widget.checkboxgroup"],"Ext.form.CheckboxManager":[""],"Ext.form.FieldAncestor":[""],"Ext.form.FieldContainer":["widget.fieldcontainer"],"Ext.form.FieldSet":["widget.fieldset"],"Ext.form.Label":["widget.label"],"Ext.form.Labelable":[""],"Ext.form.Panel":["widget.form"],"Ext.form.RadioGroup":["widget.radiogroup"],"Ext.form.RadioManager":[""],"Ext.form.action.Action":[""],"Ext.form.action.DirectLoad":["formaction.directload"],"Ext.form.action.DirectSubmit":["formaction.directsubmit"],"Ext.form.action.Load":["formaction.load"],"Ext.form.action.StandardSubmit":["formaction.standardsubmit"],"Ext.form.action.Submit":["formaction.submit"],"Ext.form.field.Base":["widget.field"],"Ext.form.field.Checkbox":["widget.checkboxfield","widget.checkbox"],"Ext.form.field.ComboBox":["widget.combobox","widget.combo"],"Ext.form.field.Date":["widget.datefield"],"Ext.form.field.Display":["widget.displayfield"],"Ext.form.field.Field":[""],"Ext.form.field.File":["widget.filefield","widget.fileuploadfield"],"Ext.form.field.Hidden":["widget.hiddenfield","widget.hidden"],"Ext.form.field.HtmlEditor":["widget.htmleditor"],"Ext.form.field.Number":["widget.numberfield"],"Ext.form.field.Picker":["widget.pickerfield"],"Ext.form.field.Radio":["widget.radiofield","widget.radio"],"Ext.form.field.Spinner":["widget.spinnerfield"],"Ext.form.field.Text":["widget.textfield"],"Ext.form.field.TextArea":["widget.textareafield","widget.textarea"],"Ext.form.field.Time":["widget.timefield"],"Ext.form.field.Trigger":["widget.triggerfield","widget.trigger"],"Ext.form.field.VTypes":[""],"Ext.grid.CellEditor":[""],"Ext.grid.ColumnLayout":["layout.gridcolumn"],"Ext.grid.Lockable":[""],"Ext.grid.LockingView":[""],"Ext.grid.PagingScroller":["widget.paginggridscroller"],"Ext.grid.Panel":["widget.gridpanel","widget.grid"],"Ext.grid.RowEditor":[""],"Ext.grid.RowNumberer":["widget.rownumberer"],"Ext.grid.Scroller":["widget.gridscroller"],"Ext.grid.View":["widget.gridview"],"Ext.grid.ViewDropZone":[""],"Ext.grid.column.Action":["widget.actioncolumn"],"Ext.grid.column.Boolean":["widget.booleancolumn"],"Ext.grid.column.Column":["widget.gridcolumn"],"Ext.grid.column.Date":["widget.datecolumn"],"Ext.grid.column.Number":["widget.numbercolumn"],"Ext.grid.column.Template":["widget.templatecolumn"],"Ext.grid.feature.AbstractSummary":["feature.abstractsummary"],"Ext.grid.feature.Chunking":["feature.chunking"],"Ext.grid.feature.Feature":["feature.feature"],"Ext.grid.feature.Grouping":["feature.grouping"],"Ext.grid.feature.GroupingSummary":["feature.groupingsummary"],"Ext.grid.feature.RowBody":["feature.rowbody"],"Ext.grid.feature.RowWrap":["feature.rowwrap"],"Ext.grid.feature.Summary":["feature.summary"],"Ext.grid.header.Container":["widget.headercontainer"],"Ext.grid.header.DragZone":[""],"Ext.grid.header.DropZone":[""],"Ext.grid.plugin.CellEditing":["plugin.cellediting"],"Ext.grid.plugin.DragDrop":["plugin.gridviewdragdrop"],"Ext.grid.plugin.Editing":["editing.editing"],"Ext.grid.plugin.HeaderReorderer":["plugin.gridheaderreorderer"],"Ext.grid.plugin.HeaderResizer":["plugin.gridheaderresizer"],"Ext.grid.plugin.RowEditing":["plugin.rowediting"],"Ext.grid.property.Grid":["widget.propertygrid"],"Ext.grid.property.HeaderContainer":[""],"Ext.grid.property.Property":[""],"Ext.grid.property.Store":[""],"Ext.layout.component.Body":["layout.body"],"Ext.layout.component.BoundList":["layout.boundlist"],"Ext.layout.component.Button":["layout.button"],"Ext.layout.component.Dock":["layout.dock"],"Ext.layout.component.Editor":["layout.editor"],"Ext.layout.component.FieldSet":["layout.fieldset"],"Ext.layout.component.ProgressBar":["layout.progressbar"],"Ext.layout.component.Tab":["layout.tab"],"Ext.layout.component.Tip":["layout.tip"],"Ext.layout.component.field.Field":["layout.field"],"Ext.layout.component.field.File":["layout.filefield"],"Ext.layout.component.field.HtmlEditor":["layout.htmleditor"],"Ext.layout.component.field.Slider":["layout.sliderfield"],"Ext.layout.component.field.Text":["layout.textfield"],"Ext.layout.component.field.TextArea":["layout.textareafield"],"Ext.layout.component.field.Trigger":["layout.triggerfield"],"Ext.layout.container.Absolute":["layout.absolute"],"Ext.layout.container.Accordion":["layout.accordion"],"Ext.layout.container.Anchor":["layout.anchor"],"Ext.layout.container.Border":["layout.border"],"Ext.layout.container.Box":["layout.box"],"Ext.layout.container.Card":["layout.card"],"Ext.layout.container.CheckboxGroup":["layout.checkboxgroup"],"Ext.layout.container.Column":["layout.column"],"Ext.layout.container.Container":[""],"Ext.layout.container.Fit":["layout.fit"],"Ext.layout.container.HBox":["layout.hbox"],"Ext.layout.container.Table":["layout.table"],"Ext.layout.container.VBox":["layout.vbox"],"Ext.layout.container.boxOverflow.Menu":[""],"Ext.layout.container.boxOverflow.None":[""],"Ext.layout.container.boxOverflow.Scroller":[""],"Ext.menu.CheckItem":["widget.menucheckitem"],"Ext.menu.ColorPicker":["widget.colormenu"],"Ext.menu.DatePicker":["widget.datemenu"],"Ext.menu.Item":["widget.menuitem"],"Ext.menu.KeyNav":[""],"Ext.menu.Manager":[""],"Ext.menu.Menu":["widget.menu"],"Ext.menu.Separator":["widget.menuseparator"],"Ext.panel.DD":[""],"Ext.panel.Header":["widget.header"],"Ext.panel.Panel":["widget.panel"],"Ext.panel.Proxy":[""],"Ext.panel.Table":["widget.tablepanel"],"Ext.panel.Tool":["widget.tool"],"Ext.picker.Color":["widget.colorpicker"],"Ext.picker.Date":["widget.datepicker"],"Ext.picker.Month":["widget.monthpicker"],"Ext.picker.Time":["widget.timepicker"],"Ext.resizer.Handle":[""],"Ext.resizer.Resizer":[""],"Ext.resizer.ResizeTracker":[""],"Ext.resizer.Splitter":["widget.splitter"],"Ext.resizer.SplitterTracker":[""],"Ext.selection.CellModel":["selection.cellmodel"],"Ext.selection.CheckboxModel":["selection.checkboxmodel"],"Ext.selection.RowModel":["selection.rowmodel"],"Ext.selection.TreeModel":["selection.treemodel"],"Ext.slider.Multi":["widget.multislider"],"Ext.slider.Single":["widget.slider","widget.sliderfield"],"Ext.slider.Thumb":[""],"Ext.slider.Tip":["widget.slidertip"],"Ext.tab.Bar":["widget.tabbar"],"Ext.tab.Panel":["widget.tabpanel"],"Ext.tab.Tab":["widget.tab"],"Ext.tip.QuickTip":[""],"Ext.tip.QuickTipManager":[""],"Ext.tip.Tip":[""],"Ext.tip.ToolTip":["widget.tooltip"],"Ext.toolbar.Fill":["widget.tbfill"],"Ext.toolbar.Item":["widget.tbitem"],"Ext.toolbar.Paging":["widget.pagingtoolbar"],"Ext.toolbar.Separator":["widget.tbseparator"],"Ext.toolbar.Spacer":["widget.tbspacer"],"Ext.toolbar.TextItem":["widget.tbtext"],"Ext.toolbar.Toolbar":["widget.toolbar"],"Ext.tree.Column":["widget.treecolumn"],"Ext.tree.Panel":["widget.treepanel"],"Ext.tree.View":["widget.treeview"],"Ext.tree.ViewDragZone":[""],"Ext.tree.ViewDropZone":[""],"Ext.tree.plugin.TreeViewDragDrop":["plugin.treeviewdragdrop"],"Ext.util.Animate":[""],"Ext.util.ClickRepeater":[""],"Ext.util.ComponentDragger":[""],"Ext.util.Cookies":[""],"Ext.util.CSS":[""],"Ext.util.Floating":[""],"Ext.util.History":[""],"Ext.util.KeyMap":[""],"Ext.util.KeyNav":[""],"Ext.util.TextMetrics":[""],"Ext.view.BoundList":["widget.boundlist"],"Ext.view.BoundListKeyNav":[""],"Ext.view.DragZone":[""],"Ext.view.DropZone":[""],"Ext.view.Table":["widget.tableview"],"Ext.view.TableChunker":[""],"Ext.view.View":["widget.dataview"],"Ext.window.MessageBox":["widget.messagebox"],"Ext.window.Window":["widget.window"]},alternateToNameMap:{"Ext.ComponentMgr":"Ext.ComponentManager","Ext.ModelMgr":"Ext.ModelManager","Ext.PluginMgr":"Ext.PluginManager","Ext.chart.Axis":"Ext.chart.axis.Axis","Ext.chart.CategoryAxis":"Ext.chart.axis.Category","Ext.chart.NumericAxis":"Ext.chart.axis.Numeric","Ext.chart.TimeAxis":"Ext.chart.axis.Time","Ext.chart.BarSeries":"Ext.chart.series.Bar","Ext.chart.BarChart":"Ext.chart.series.Bar","Ext.chart.StackedBarChart":"Ext.chart.series.Bar","Ext.chart.CartesianSeries":"Ext.chart.series.Cartesian","Ext.chart.CartesianChart":"Ext.chart.series.Cartesian","Ext.chart.ColumnSeries":"Ext.chart.series.Column","Ext.chart.ColumnChart":"Ext.chart.series.Column","Ext.chart.StackedColumnChart":"Ext.chart.series.Column","Ext.chart.LineSeries":"Ext.chart.series.Line","Ext.chart.LineChart":"Ext.chart.series.Line","Ext.chart.PieSeries":"Ext.chart.series.Pie","Ext.chart.PieChart":"Ext.chart.series.Pie","Ext.data.Record":"Ext.data.Model","Ext.StoreMgr":"Ext.data.StoreManager","Ext.data.StoreMgr":"Ext.data.StoreManager","Ext.StoreManager":"Ext.data.StoreManager","Ext.data.XmlStore":"Ext.data.XmlStore","Ext.data.HttpProxy":"Ext.data.proxy.Ajax","Ext.data.AjaxProxy":"Ext.data.proxy.Ajax","Ext.data.ClientProxy":"Ext.data.proxy.Client","Ext.data.DirectProxy":"Ext.data.proxy.Direct","Ext.data.ScriptTagProxy":"Ext.data.proxy.JsonP","Ext.data.LocalStorageProxy":"Ext.data.proxy.LocalStorage","Ext.data.MemoryProxy":"Ext.data.proxy.Memory","Ext.data.DataProxy":"Ext.data.proxy.Proxy","Ext.data.Proxy":"Ext.data.proxy.Proxy","Ext.data.RestProxy":"Ext.data.proxy.Rest","Ext.data.ServerProxy":"Ext.data.proxy.Server","Ext.data.SessionStorageProxy":"Ext.data.proxy.SessionStorage","Ext.data.WebStorageProxy":"Ext.data.proxy.WebStorage","Ext.data.ArrayReader":"Ext.data.reader.Array","Ext.data.JsonReader":"Ext.data.reader.Json","Ext.data.Reader":"Ext.data.reader.Reader","Ext.data.DataReader":"Ext.data.reader.Reader","Ext.data.XmlReader":"Ext.data.reader.Xml","Ext.data.JsonWriter":"Ext.data.writer.Json","Ext.data.DataWriter":"Ext.data.writer.Writer","Ext.data.Writer":"Ext.data.writer.Writer","Ext.data.XmlWriter":"Ext.data.writer.Xml","Ext.Direct.Transaction":"Ext.direct.Transaction","Ext.AbstractSelectionModel":"Ext.selection.Model","Ext.view.AbstractView":"Ext.view.AbstractView","Ext.FocusMgr":"Ext.FocusManager","Ext.WindowGroup":"Ext.ZIndexManager","Ext.Button":"Ext.button.Button","Ext.CycleButton":"Ext.button.Cycle","Ext.SplitButton":"Ext.button.Split","Ext.ButtonGroup":"Ext.container.ButtonGroup","Ext.Container":"Ext.container.Container","Ext.Viewport":"Ext.container.Viewport","Ext.dd.DragDropMgr":"Ext.dd.DragDropManager","Ext.dd.DDM":"Ext.dd.DragDropManager","Ext.FlashComponent":"Ext.flash.Component","Ext.form.BasicForm":"Ext.form.Basic","Ext.FormPanel":"Ext.form.Panel","Ext.form.FormPanel":"Ext.form.Panel","Ext.form.Action":"Ext.form.action.Action","Ext.form.Action.DirectLoad":"Ext.form.action.DirectLoad","Ext.form.Action.DirectSubmit":"Ext.form.action.DirectSubmit","Ext.form.Action.Load":"Ext.form.action.Load","Ext.form.Action.Submit":"Ext.form.action.Submit","Ext.form.Field":"Ext.form.field.Base","Ext.form.BaseField":"Ext.form.field.Base","Ext.form.Checkbox":"Ext.form.field.Checkbox","Ext.form.ComboBox":"Ext.form.field.ComboBox","Ext.form.DateField":"Ext.form.field.Date","Ext.form.Date":"Ext.form.field.Date","Ext.form.DisplayField":"Ext.form.field.Display","Ext.form.Display":"Ext.form.field.Display","Ext.form.FileUploadField":"Ext.form.field.File","Ext.ux.form.FileUploadField":"Ext.form.field.File","Ext.form.File":"Ext.form.field.File","Ext.form.Hidden":"Ext.form.field.Hidden","Ext.form.HtmlEditor":"Ext.form.field.HtmlEditor","Ext.form.NumberField":"Ext.form.field.Number","Ext.form.Number":"Ext.form.field.Number","Ext.form.Picker":"Ext.form.field.Picker","Ext.form.Radio":"Ext.form.field.Radio","Ext.form.Spinner":"Ext.form.field.Spinner","Ext.form.TextField":"Ext.form.field.Text","Ext.form.Text":"Ext.form.field.Text","Ext.form.TextArea":"Ext.form.field.TextArea","Ext.form.TimeField":"Ext.form.field.Time","Ext.form.Time":"Ext.form.field.Time","Ext.form.TriggerField":"Ext.form.field.Trigger","Ext.form.TwinTriggerField":"Ext.form.field.Trigger","Ext.form.Trigger":"Ext.form.field.Trigger","Ext.list.ListView":"Ext.grid.Panel","Ext.ListView":"Ext.grid.Panel","Ext.grid.GridPanel":"Ext.grid.Panel","Ext.grid.ActionColumn":"Ext.grid.column.Action","Ext.grid.BooleanColumn":"Ext.grid.column.Boolean","Ext.grid.Column":"Ext.grid.column.Column","Ext.grid.DateColumn":"Ext.grid.column.Date","Ext.grid.NumberColumn":"Ext.grid.column.Number","Ext.grid.TemplateColumn":"Ext.grid.column.Template","Ext.grid.PropertyGrid":"Ext.grid.property.Grid","Ext.grid.PropertyColumnModel":"Ext.grid.property.HeaderContainer","Ext.PropGridProperty":"Ext.grid.property.Property","Ext.grid.PropertyStore":"Ext.grid.property.Store","Ext.layout.AbsoluteLayout":"Ext.layout.container.Absolute","Ext.layout.AccordionLayout":"Ext.layout.container.Accordion","Ext.layout.AnchorLayout":"Ext.layout.container.Anchor","Ext.layout.BorderLayout":"Ext.layout.container.Border","Ext.layout.BoxLayout":"Ext.layout.container.Box","Ext.layout.CardLayout":"Ext.layout.container.Card","Ext.layout.ColumnLayout":"Ext.layout.container.Column","Ext.layout.ContainerLayout":"Ext.layout.container.Container","Ext.layout.FitLayout":"Ext.layout.container.Fit","Ext.layout.HBoxLayout":"Ext.layout.container.HBox","Ext.layout.TableLayout":"Ext.layout.container.Table","Ext.layout.VBoxLayout":"Ext.layout.container.VBox","Ext.layout.boxOverflow.Menu":"Ext.layout.container.boxOverflow.Menu","Ext.layout.boxOverflow.None":"Ext.layout.container.boxOverflow.None","Ext.layout.boxOverflow.Scroller":"Ext.layout.container.boxOverflow.Scroller","Ext.menu.TextItem":"Ext.menu.Item","Ext.menu.MenuMgr":"Ext.menu.Manager","Ext.Panel":"Ext.panel.Panel","Ext.dd.PanelProxy":"Ext.panel.Proxy","Ext.ColorPalette":"Ext.picker.Color","Ext.DatePicker":"Ext.picker.Date","Ext.MonthPicker":"Ext.picker.Month","Ext.Resizable":"Ext.resizer.Resizer","Ext.slider.MultiSlider":"Ext.slider.Multi","Ext.Slider":"Ext.slider.Single","Ext.form.SliderField":"Ext.slider.Single","Ext.slider.SingleSlider":"Ext.slider.Single","Ext.slider.Slider":"Ext.slider.Single","Ext.TabPanel":"Ext.tab.Panel","Ext.QuickTip":"Ext.tip.QuickTip","Ext.Tip":"Ext.tip.Tip","Ext.ToolTip":"Ext.tip.ToolTip","Ext.Toolbar.Fill":"Ext.toolbar.Fill","Ext.Toolbar.Item":"Ext.toolbar.Item","Ext.PagingToolbar":"Ext.toolbar.Paging","Ext.Toolbar.Separator":"Ext.toolbar.Separator","Ext.Toolbar.Spacer":"Ext.toolbar.Spacer","Ext.Toolbar.TextItem":"Ext.toolbar.TextItem","Ext.Toolbar":"Ext.toolbar.Toolbar","Ext.tree.TreePanel":"Ext.tree.Panel","Ext.TreePanel":"Ext.tree.Panel","Ext.History":"Ext.util.History","Ext.KeyMap":"Ext.util.KeyMap","Ext.KeyNav":"Ext.util.KeyNav","Ext.BoundList":"Ext.view.BoundList","Ext.DataView":"Ext.view.View","Ext.MessageBox":"Ext.window.MessageBox","Ext.Window":"Ext.window.Window"}};var g=document.getElementsByTagName("script"),n="",j,m,a,k;for(j=0,m=g.length;j0){for(j=0,m=c.length;j0){h[h.length-1]="var Ext=window."+this.getUniqueGlobalNamespace()+";"+h[h.length-1]}return Function.prototype.constructor.apply(Function.prototype,h)}});Ext.type=Ext.typeOf})();(function(){var a="4.0.2a",b;Ext.Version=b=Ext.extend(Object,{constructor:function(c){var e,d;if(c instanceof b){return c}this.version=this.shortVersion=String(c).toLowerCase().replace(/_/g,".").replace(/[\-+]/g,"");d=this.version.search(/([^\d\.])/);if(d!==-1){this.release=this.version.substr(d,c.length);this.shortVersion=this.version.substr(0,d)}this.shortVersion=this.shortVersion.replace(/[^\d]/g,"");e=this.version.split(".");this.major=parseInt(e.shift()||0,10);this.minor=parseInt(e.shift()||0,10);this.patch=parseInt(e.shift()||0,10);this.build=parseInt(e.shift()||0,10);return this},toString:function(){return this.version},valueOf:function(){return this.version},getMajor:function(){return this.major||0},getMinor:function(){return this.minor||0},getPatch:function(){return this.patch||0},getBuild:function(){return this.build||0},getRelease:function(){return this.release||""},isGreaterThan:function(c){return b.compare(this.version,c)===1},isLessThan:function(c){return b.compare(this.version,c)===-1},equals:function(c){return b.compare(this.version,c)===0},match:function(c){c=String(c);return this.version.substr(0,c.length)===c},toArray:function(){return[this.getMajor(),this.getMinor(),this.getPatch(),this.getBuild(),this.getRelease()]},getShortVersion:function(){return this.shortVersion}});Ext.apply(b,{releaseValueMap:{dev:-6,alpha:-5,a:-5,beta:-4,b:-4,rc:-3,"#":-2,p:-1,pl:-1},getComponentValue:function(c){return !c?0:(isNaN(c)?this.releaseValueMap[c]||c:parseInt(c,10))},compare:function(h,g){var d,e,c;h=new b(h).toArray();g=new b(g).toArray();for(c=0;ce){return 1}}}return 0}});Ext.apply(Ext,{versions:{},lastRegisteredVersion:null,setVersion:function(d,c){Ext.versions[d]=new b(c);Ext.lastRegisteredVersion=Ext.versions[d];return this},getVersion:function(c){if(c===undefined){return Ext.lastRegisteredVersion}return Ext.versions[c]},deprecate:function(c,e,g,d){if(b.compare(Ext.getVersion(c),e)<1){g.call(d)}}});Ext.setVersion("core",a)})();Ext.String={trimRegex:/^[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+|[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+$/g,escapeRe:/('|\\)/g,formatRe:/\{(\d+)\}/g,escapeRegexRe:/([-.*+?^${}()|[\]\/\\])/g,htmlEncode:(function(){var d={"&":"&",">":">","<":"<",'"':"""},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+")","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){return d[g]})}})(),htmlDecode:(function(){var d={"&":"&",">":">","<":"<",""":'"'},b=[],c,a;for(c in d){b.push(c)}a=new RegExp("("+b.join("|")+"|&#[0-9]{1,5};)","g");return function(e){return(!e)?e:String(e).replace(a,function(h,g){if(g in d){return d[g]}else{return String.fromCharCode(parseInt(g.substr(2),10))}})}})(),urlAppend:function(b,a){if(!Ext.isEmpty(a)){return b+(b.indexOf("?")===-1?"?":"&")+a}return b},trim:function(a){return a.replace(Ext.String.trimRegex,"")},capitalize:function(a){return a.charAt(0).toUpperCase()+a.substr(1)},ellipsis:function(c,a,d){if(c&&c.length>a){if(d){var e=c.substr(0,a-2),b=Math.max(e.lastIndexOf(" "),e.lastIndexOf("."),e.lastIndexOf("!"),e.lastIndexOf("?"));if(b!==-1&&b>=(a-15)){return e.substr(0,b)+"..."}}return c.substr(0,a-3)+"..."}return c},escapeRegex:function(a){return a.replace(Ext.String.escapeRegexRe,"\\$1")},escape:function(a){return a.replace(Ext.String.escapeRe,"\\$1")},toggle:function(b,c,a){return b===c?a:c},leftPad:function(b,c,d){var a=String(b);d=d||" ";while(a.length=c){g+=c}else{if(b*2<-c){g-=c}}}return Ext.Number.constrain(g,d,h)},toFixed:function(d,b){if(a){b=b||0;var c=Math.pow(10,b);return(Math.round(d*c)/c).toFixed(b)}return d.toFixed(b)},from:function(c,b){if(isFinite(c)){c=parseFloat(c)}return !isNaN(c)?c:b}}})();Ext.num=function(){return Ext.Number.from.apply(this,arguments)};(function(){var g=Array.prototype,p=g.slice,r=function(){var B=[],e,A=20;if(!B.splice){return false}while(A--){B.push("A")}B.splice(15,0,"F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F","F");e=B.length;B.splice(13,0,"XXX");if(e+1!=B.length){return false}return true}(),j="forEach" in g,v="map" in g,q="indexOf" in g,z="every" in g,c="some" in g,d="filter" in g,n=function(){var e=[1,2,3,4,5].sort(function(){return 0});return e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4&&e[4]===5}(),k=true,a;try{if(typeof document!=="undefined"){p.call(document.getElementsByTagName("body"))}}catch(t){k=false}function m(A,e){return(e<0)?Math.max(0,A.length+e):Math.min(A.length,e)}function y(H,G,A,K){var L=K?K.length:0,C=H.length,I=m(H,G);if(I===C){if(L){H.push.apply(H,K)}}else{var F=Math.min(A,C-I),J=I+F,B=J+L-F,e=C-J,D=C-F,E;if(BJ){for(E=e;E--;){H[B+E]=H[J+E]}}}if(L&&I===D){H.length=D;H.push.apply(H,K)}else{H.length=D+L;for(E=0;E-1;A--){if(C.call(B||E[A],E[A],A,E)===false){return A}}}return true},forEach:function(D,B,A){if(j){return D.forEach(B,A)}var e=0,C=D.length;for(;ee){e=B}}}return e},mean:function(e){return e.length>0?a.sum(e)/e.length:undefined},sum:function(D){var A=0,e,C,B;for(e=0,C=D.length;e0){return setTimeout(d,c)}d();return 0},createSequence:function(c,b,a){if(!Ext.isFunction(b)){return c}else{return function(){var d=c.apply(this||window,arguments);b.apply(a||this||window,arguments);return d}}},createBuffered:function(d,a,c,b){return function(){var e;return function(){var g=this;if(e){clearInterval(e);e=null}e=setTimeout(function(){d.apply(c||g,b||arguments)},a)}}()},createThrottled:function(e,b,d){var g,a,c,i,h=function(){e.apply(d||this,c);g=new Date().getTime()};return function(){a=new Date().getTime()-g;c=arguments;clearTimeout(i);if(!g||(a>=b)){h()}else{i=setTimeout(h,b-a)}}}};Ext.defer=Ext.Function.alias(Ext.Function,"defer");Ext.pass=Ext.Function.alias(Ext.Function,"pass");Ext.bind=Ext.Function.alias(Ext.Function,"bind");(function(){var a=Ext.Object={toQueryObjects:function(d,j,c){var b=a.toQueryObjects,h=[],e,g;if(Ext.isArray(j)){for(e=0,g=j.length;e0){h=n.split("=");w=decodeURIComponent(h[0]);m=(h[1]!==undefined)?decodeURIComponent(h[1]):"";if(!r){if(u.hasOwnProperty(w)){if(!Ext.isArray(u[w])){u[w]=[u[w]]}u[w].push(m)}else{u[w]=m}}else{g=w.match(/(\[):?([^\]]*)\]/g);t=w.match(/^([^\[]+)/);w=t[0];k=[];if(g===null){u[w]=m;continue}for(p=0,b=g.length;p 0 ? +1 : (Ext.Date.getWeekOfYear(this) >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"Ext.String.leftPad(this.getFullYear(), 4, '0')",y:"('' + this.getFullYear()).substring(2, 4)",a:"(this.getHours() < 12 ? 'am' : 'pm')",A:"(this.getHours() < 12 ? 'AM' : 'PM')",g:"((this.getHours() % 12) ? this.getHours() % 12 : 12)",G:"this.getHours()",h:"Ext.String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"Ext.String.leftPad(this.getHours(), 2, '0')",i:"Ext.String.leftPad(this.getMinutes(), 2, '0')",s:"Ext.String.leftPad(this.getSeconds(), 2, '0')",u:"Ext.String.leftPad(this.getMilliseconds(), 3, '0')",O:"Ext.Date.getGMTOffset(this)",P:"Ext.Date.getGMTOffset(this, true)",T:"Ext.Date.getTimezone(this)",Z:"(this.getTimezoneOffset() * -60)",c:function(){for(var k="Y-m-dTH:i:sP",h=[],g=0,d=k.length;g= 0 && y >= 0){","v = Ext.Date.add(new Date(y < 100 ? 100 : y, 0, 1, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","v = !strict? v : (strict === true && (z <= 364 || (Ext.Date.isLeapYear(v) && z <= 365))? Ext.Date.add(v, Ext.Date.DAY, z) : null);","}else if(strict === true && !Ext.Date.isValid(y, m + 1, d, h, i, s, ms)){","v = null;","}else{","v = Ext.Date.add(new Date(y < 100 ? 100 : y, m, d, h, i, s, ms), Ext.Date.YEAR, y < 100 ? y - 100 : 0);","}","}","}","if(v){","if(zz != null){","v = Ext.Date.add(v, Ext.Date.SECOND, -v.getTimezoneOffset() * 60 - zz);","}else if(o){","v = Ext.Date.add(v, Ext.Date.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn));","}","}","return v;"].join("\n");return function(m){var e=a.parseRegexes.length,n=1,g=[],l=[],k=false,d="";for(var j=0;j Ext.Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(am|pm|AM|PM)"},A:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(AM|PM|am|pm)"},g:function(){return a.formatCodeToRegex("G")},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},h:function(){return a.formatCodeToRegex("H")},H:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},i:{g:1,c:"i = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},s:{g:1,c:"s = parseInt(results[{0}], 10);\n",s:"(\\d{2})"},u:{g:1,c:"ms = results[{0}]; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n",s:"(\\d+)"},O:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60),","mn = o.substring(3,5) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{4})"},P:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60),","mn = o.substring(4,6) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{2}:\\d{2})"},T:{g:0,c:null,s:"[A-Z]{1,4}"},Z:{g:1,c:"zz = results[{0}] * 1;\nzz = (-43200 <= zz && zz <= 50400)? zz : null;\n",s:"([+-]?\\d{1,5})"},c:function(){var e=[],c=[a.formatCodeToRegex("Y",1),a.formatCodeToRegex("m",2),a.formatCodeToRegex("d",3),a.formatCodeToRegex("h",4),a.formatCodeToRegex("i",5),a.formatCodeToRegex("s",6),{c:"ms = results[7] || '0'; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n"},{c:["if(results[8]) {","if(results[8] == 'Z'){","zz = 0;","}else if (results[8].indexOf(':') > -1){",a.formatCodeToRegex("P",8).c,"}else{",a.formatCodeToRegex("O",8).c,"}","}"].join("\n")}];for(var g=0,d=c.length;g0?"-":"+")+Ext.String.leftPad(Math.floor(Math.abs(e)/60),2,"0")+(d?":":"")+Ext.String.leftPad(Math.abs(e%60),2,"0")},getDayOfYear:function(g){var e=0,j=Ext.Date.clone(g),c=g.getMonth(),h;for(h=0,j.setDate(1),j.setMonth(0);h28){e=Math.min(e,Ext.Date.getLastDateOfMonth(Ext.Date.add(Ext.Date.getFirstDateOfMonth(h),"mo",i)).getDate())}j.setDate(e);j.setMonth(h.getMonth()+i);break;case Ext.Date.YEAR:j.setFullYear(h.getFullYear()+i);break}return j},between:function(d,g,c){var e=d.getTime();return g.getTime()<=e&&e<=c.getTime()},compat:function(){var g=window.Date,e,c,h=["useStrict","formatCodeToRegex","parseFunctions","parseRegexes","formatFunctions","y2kYear","MILLI","SECOND","MINUTE","HOUR","DAY","MONTH","YEAR","defaults","dayNames","monthNames","monthNumbers","getShortMonthName","getShortDayName","getMonthNumber","formatCodes","isValid","parseDate","getFormatCode","createFormat","createParser","parseCodes"],d=["dateFormat","format","getTimezone","getGMTOffset","getDayOfYear","getWeekOfYear","isLeapYear","getFirstDayOfMonth","getLastDayOfMonth","getDaysInMonth","getSuffix","clone","isDST","clearTime","add","between"];Ext.Array.forEach(h,function(i){g[i]=a[i]});Ext.Array.forEach(d,function(i){g.prototype[i]=function(){var j=Array.prototype.slice.call(arguments);j.unshift(this);return a[i].apply(a,j)}})}};var a=Ext.Date})();(function(a){var b=Ext.Base=function(){};b.prototype={$className:"Ext.Base",$class:b,self:b,constructor:function(){return this},initConfig:function(c){if(!this.$configInited){this.config=Ext.Object.merge({},this.config||{},c||{});this.applyConfig(this.config);this.$configInited=true}return this},setConfig:function(c){this.applyConfig(c||{});return this},applyConfig:a(function(c,d){var e="set"+Ext.String.capitalize(c);if(typeof this[e]==="function"){this[e].call(this,d)}return this}),callParent:function(d){var g=this.callParent.caller,e,c;if(!g.$owner){g=g.caller}e=g.$owner.superclass;c=g.$name;return e[c].apply(this,d||[])},statics:function(){var d=this.statics.caller,c=this.self;if(!d){return c}return d.$owner},callOverridden:function(c){var d=this.callOverridden.caller;return d.$previous.apply(this,c||[])},destroy:function(){}};Ext.apply(Ext.Base,{create:function(){return Ext.create.apply(Ext,[this].concat(Array.prototype.slice.call(arguments,0)))},own:a(function(c,d){if(typeof d==="function"){this.ownMethod(c,d)}else{this.prototype[c]=d}}),ownMethod:function(c,d){var e;if(d.$owner!==undefined&&d!==Ext.emptyFn){e=d;d=function(){return e.apply(this,arguments)}}d.$owner=this;d.$name=c;this.prototype[c]=d},addStatics:function(c){for(var d in c){if(c.hasOwnProperty(d)){this[d]=c[d]}}return this},implement:function(d){var g=this.prototype,e,h,k,j;for(e in d){if(d.hasOwnProperty(e)){k=d[e];if(typeof k==="function"){k.$owner=this;k.$name=e}g[e]=k}}if(Ext.enumerables){var c=Ext.enumerables;for(h=c.length;h--;){e=c[h];if(d.hasOwnProperty(e)){k=d[e];k.$owner=this;k.$name=e;g[e]=k}}}},borrow:function(h,d){var c=h.prototype,e,g,j;d=Ext.Array.from(d);for(e=0,g=d.length;e0){if(i===h){return k[i]}j=k[i];h=h.substring(i.length+1)}if(j.length>0){j+="/"}return j.replace(/\/\.\//g,"/")+h.replace(/\./g,"/")+".js"},getPrefix:function(i){var k=this.config.paths,j,h="";if(k.hasOwnProperty(i)){return i}for(j in k){if(k.hasOwnProperty(j)&&j+"."===i.substring(0,j.length+1)){if(j.length>h.length){h=j}}}return h},refreshQueue:function(){var n=this.queue.length,k,m,h,l;if(n===0){this.triggerReady();return}for(k=0;kthis.numLoadedFiles){continue}h=0;do{if(c.isCreated(l[h])){Ext.Array.erase(l,h,1)}else{h++}}while(h=200&&k<300){new Function(s.responseText+"\n//@ sourceURL="+l)();q.call(t)}else{m.call(this,"Failed loading synchronously via XHR: '"+i+"'; please verify that the file exists. XHR status code: "+k,h)}}s=null}},exclude:function(i){var h=this;return{require:function(l,k,j){return h.require(l,k,j,i)},syncRequire:function(l,k,j){return h.syncRequire(l,k,j,i)}}},syncRequire:function(){this.syncModeEnabled=true;this.require.apply(this,arguments);this.refreshQueue();this.syncModeEnabled=false},require:function(s,y,A,z){var n,w,k,x,u={},l=[],m=[],r,h=[],q,p,v,t;s=Ext.Array.from(s);z=Ext.Array.from(z);y=y||Ext.emptyFn;A=A||Ext.global;for(q=0,v=z.length;q0){l=c.getNamesByExpression(k);for(p=0,t=l.length;p0){m=c.getNamesByExpression(w);for(p=0,t=m.length;p0){Ext.Error.raise({sourceClass:"Ext.Loader",sourceMethod:"require",msg:"Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class"+((h.length>1)?"es":"")+": "+h.join(", ")})}}if(h.length===0){y.call(A);return this}this.queue.push({requires:h,callback:y,scope:A});h=h.slice();for(q=0,v=h.length;qwindow.innerWidth?"portrait":"landscape"},destroy:function(){var c=arguments.length,b,a;for(b=0;b
    '),I=J.child("div",true),E=I.offsetWidth;J.setStyle("overflow",(Ext.isWebKit||Ext.isGecko)?"auto":"scroll");var e=I.offsetWidth,G=E-e;J.remove();t={width:G,height:G}}return t},getScrollBarWidth:function(E){var e=Ext.getScrollbarSize(E);return e.width+2},copyTo:function(e,E,G,F){if(typeof G=="string"){G=G.split(/[,;\s]/)}Ext.each(G,function(H){if(F||E.hasOwnProperty(H)){e[H]=E[H]}},this);return e},destroyMembers:function(G){for(var F=1,E=arguments,e=E.length;F]+>/gi,c=/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,b=/\r?\n/g,d=/[^\d\.]/g,a;Ext.apply(g,{thousandSeparator:",",decimalSeparator:".",currencyPrecision:2,currencySign:"$",currencyAtEnd:false,undef:function(h){return h!==undefined?h:""},defaultValue:function(i,h){return i!==undefined&&i!==""?i:h},substr:function(i,j,h){return String(i).substr(j,h)},lowercase:function(h){return String(h).toLowerCase()},uppercase:function(h){return String(h).toUpperCase()},usMoney:function(h){return g.currency(h,"$",2)},currency:function(k,m,j,h){var p="",n=",0",l=0;k=k-0;if(k<0){k=-k;p="-"}j=j||g.currencyPrecision;n+=n+(j>0?".":"");for(;l")},capitalize:Ext.String.capitalize,ellipsis:Ext.String.ellipsis,format:Ext.String.format,htmlDecode:Ext.String.htmlDecode,htmlEncode:Ext.String.htmlEncode,leftPad:Ext.String.leftPad,trim:Ext.String.trim,parseBox:function(i){if(Ext.isNumber(i)){i=i.toString()}var j=i.split(" "),h=j.length;if(h==1){j[1]=j[2]=j[3]=j[0]}else{if(h==2){j[2]=j[0];j[3]=j[1]}else{if(h==3){j[3]=j[1]}}}return{top:parseInt(j[0],10)||0,right:parseInt(j[1],10)||0,bottom:parseInt(j[2],10)||0,left:parseInt(j[3],10)||0}},escapeRegex:function(h){return h.replace(/([\-.*+?\^${}()|\[\]\/\\])/g,"\\$1")}})})();Ext.ns("Ext.util");Ext.util.TaskRunner=function(e){e=e||10;var g=[],a=[],b=0,h=false,d=function(){h=false;clearInterval(b);b=0},i=function(){if(!h){h=true;b=setInterval(j,e)}},c=function(k){a.push(k);if(k.onStop){k.onStop.apply(k.scope||k)}},j=function(){var m=a.length,p=new Date().getTime(),r;if(m>0){for(r=0;r','
    ',"",'
    ','
    ',"
    ",'
    '].join("");d.body.appendChild(g);for(a=0;a

    ";return(b.childNodes.length==2)}},{identity:"Float",fn:function(a,b){return !!b.lastChild.style.cssFloat}},{identity:"AudioTag",fn:function(a){return !!a.createElement("audio").canPlayType}},{identity:"History",fn:function(){return !!(window.history&&history.pushState)}},{identity:"CSS3DTransform",fn:function(){return(typeof WebKitCSSMatrix!="undefined"&&new WebKitCSSMatrix().hasOwnProperty("m41"))}},{identity:"CSS3LinearGradient",fn:function(e,h){var d="background-image:",b="-webkit-gradient(linear, left top, right bottom, from(black), to(white))",g="linear-gradient(left top, black, white)",c="-moz-"+g,a=[d+b,d+g,d+c];h.style.cssText=a.join(";");return(""+h.style.backgroundImage).indexOf("gradient")!==-1}},{identity:"CSS3BorderRadius",fn:function(d,e){var b=["borderRadius","BorderRadius","MozBorderRadius","WebkitBorderRadius","OBorderRadius","KhtmlBorderRadius"],c=false,a;for(a=0;a=534.16}}]};Ext.ns("Ext.core");Ext.core.DomHelper=function(){var y=null,k=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,m=/^table|tbody|tr|td$/i,d=/tag|children|cn|html$/i,u=/td|tr|tbody/i,w=/end/i,s,p="afterbegin",q="afterend",c="beforebegin",r="beforeend",a="",i="
    ",b=a+"",j=""+i,l=b+"",x=""+j;function h(C,E,D,F,B,z){C=Ext.getDom(C);var A;if(s.useDom){A=n(E,null);if(z){C.appendChild(A)}else{(B=="firstChild"?C:C.parentNode).insertBefore(A,C[B]||C)}}else{A=Ext.core.DomHelper.insertHtml(F,C,Ext.core.DomHelper.createHtml(E))}return D?Ext.get(A,true):A}function n(z,F){var A,I=document,D,G,B,H;if(Ext.isArray(z)){A=I.createDocumentFragment();for(var E=0,C=z.length;E"}}}return A}function g(G,D,C,E){y.innerHTML=[D,C,E].join("");var z=-1,B=y,A;while(++z+~]\s?|\s|$)/,tagTokenRe=/^(#)?([\w-\*]+)/,nthRe=/(\d*)n\+?(\d*)/,nthRe2=/\D/,isIE=window.ActiveXObject?true:false,key=30803;eval("var batch = 30803;");function child(parent,index){var i=0,n=parent.firstChild;while(n){if(n.nodeType==1){if(++i==index){return n}}n=n.nextSibling}return null}function next(n){while((n=n.nextSibling)&&n.nodeType!=1){}return n}function prev(n){while((n=n.previousSibling)&&n.nodeType!=1){}return n}function children(parent){var n=parent.firstChild,nodeIndex=-1,nextNode;while(n){nextNode=n.nextSibling;if(n.nodeType==3&&!nonSpace.test(n.nodeValue)){parent.removeChild(n)}else{n.nodeIndex=++nodeIndex}n=nextNode}return this}function byClassName(nodeSet,cls){if(!cls){return nodeSet}var result=[],ri=-1;for(var i=0,ci;ci=nodeSet[i];i++){if((" "+ci.className+" ").indexOf(cls)!=-1){result[++ri]=ci}}return result}function attrValue(n,attr){if(!n.tagName&&typeof n.length!="undefined"){n=n[0]}if(!n){return null}if(attr=="for"){return n.htmlFor}if(attr=="class"||attr=="className"){return n.className}return n.getAttribute(attr)||n[attr]}function getNodes(ns,mode,tagName){var result=[],ri=-1,cs;if(!ns){return result}tagName=tagName||"*";if(typeof ns.getElementsByTagName!="undefined"){ns=[ns]}if(!mode){for(var i=0,ni;ni=ns[i];i++){cs=ni.getElementsByTagName(tagName);for(var j=0,ci;ci=cs[j];j++){result[++ri]=ci}}}else{if(mode=="/"||mode==">"){var utag=tagName.toUpperCase();for(var i=0,ni,cn;ni=ns[i];i++){cn=ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if(cj.nodeName==utag||cj.nodeName==tagName||tagName=="*"){result[++ri]=cj}}}}else{if(mode=="+"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(n&&(n.nodeName==utag||n.nodeName==tagName||tagName=="*")){result[++ri]=n}}}else{if(mode=="~"){var utag=tagName.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)){if(n.nodeName==utag||n.nodeName==tagName||tagName=="*"){result[++ri]=n}}}}}}}return result}function concat(a,b){if(b.slice){return a.concat(b)}for(var i=0,l=b.length;i1){return nodup(results)}return results},isXml:function(el){var docEl=(el?el.ownerDocument||el:0).documentElement;return docEl?docEl.nodeName!=="HTML":false},select:document.querySelectorAll?function(path,root,type){root=root||document;if(!Ext.DomQuery.isXml(root)){try{var cs=root.querySelectorAll(path);return Ext.Array.toArray(cs)}catch(ex){}}return Ext.DomQuery.jsSelect.call(this,path,root,type)}:function(path,root,type){return Ext.DomQuery.jsSelect.call(this,path,root,type)},selectNode:function(path,root){return Ext.DomQuery.select(path,root)[0]},selectValue:function(path,root,defaultValue){path=path.replace(trimRe,"");if(!valueCache[path]){valueCache[path]=Ext.DomQuery.compile(path,"select")}var n=valueCache[path](root),v;n=n[0]?n[0]:n;if(typeof n.normalize=="function"){n.normalize()}v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==="")?defaultValue:v)},selectNumber:function(path,root,defaultValue){var v=Ext.DomQuery.selectValue(path,root,defaultValue||0);return parseFloat(v)},is:function(el,ss){if(typeof el=="string"){el=document.getElementById(el)}var isArray=Ext.isArray(el),result=Ext.DomQuery.filter(isArray?el:[el],ss);return isArray?(result.length==el.length):(result.length>0)},filter:function(els,ss,nonMatches){ss=ss.replace(trimRe,"");if(!simpleCache[ss]){simpleCache[ss]=Ext.DomQuery.compile(ss,"simple")}var result=simpleCache[ss](els);return nonMatches?quickDiff(result,els):result},matchers:[{re:/^\.([\w-]+)/,select:'n = byClassName(n, " {1} ");'},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:'n = byPseudo(n, "{1}", "{2}");'},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{4}", "{3}", "{1}");'},{re:/^#([\w-]+)/,select:'n = byId(n, "{1}");'},{re:/^@([\w-]+)/,select:'return {firstChild:{nodeValue:attrValue(n, "{1}")}};'}],operators:{"=":function(a,v){return a==v},"!=":function(a,v){return a!=v},"^=":function(a,v){return a&&a.substr(0,v.length)==v},"$=":function(a,v){return a&&a.substr(a.length-v.length)==v},"*=":function(a,v){return a&&a.indexOf(v)!==-1},"%=":function(a,v){return(a%v)==0},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+"-")},"~=":function(a,v){return a&&(" "+a+" ").indexOf(" "+v+" ")!=-1}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){}if(!n){r[++ri]=ci}}return r},"nth-child":function(c,a){var r=[],ri=-1,m=nthRe.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!nthRe2.test(a)&&"n+"+a||a),f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var pn=n.parentNode;if(batch!=pn._batch){var j=0;for(var cn=pn.firstChild;cn;cn=cn.nextSibling){if(cn.nodeType==1){cn.nodeIndex=++j}}pn._batch=batch}if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n}}else{if((n.nodeIndex+l)%f==0){r[++ri]=n}}}return r},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci}}return r},empty:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var cns=ci.childNodes,j=0,cn,empty=true;while(cn=cns[j]){++j;if(cn.nodeType==1||cn.nodeType==3){empty=false;break}}if(empty){r[++ri]=ci}}return r},contains:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText||"").indexOf(v)!=-1){r[++ri]=ci}}return r},nodeValue:function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v){r[++ri]=ci}}return r},checked:function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci}}return r},not:function(c,ss){return Ext.DomQuery.filter(c,ss,true)},any:function(c,selectors){var ss=selectors.split("|"),r=[],ri=-1,s;for(var i=0,ci;ci=c[i];i++){for(var j=0;s=ss[j];j++){if(Ext.DomQuery.is(ci,s)){r[++ri]=ci;break}}}return r},odd:function(c){return this["nth-child"](c,"odd")},even:function(c){return this["nth-child"](c,"even")},nth:function(c,a){return c[a-1]||[]},first:function(c){return c[0]||[]},last:function(c){return c[c.length-1]||[]},has:function(c,ss){var s=Ext.DomQuery.select,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(ss,ci).length>0){r[++ri]=ci}}return r},next:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r},prev:function(c,ss){var is=Ext.DomQuery.is,r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci}}return r}}}}();Ext.query=Ext.DomQuery.select;(function(){var h=document,a=Ext.cache;Ext.Element=Ext.core.Element=function(l,m){var n=typeof l=="string"?h.getElementById(l):l,p;if(!n){return null}p=n.id;if(!m&&p&&a[p]){return a[p].el}this.dom=n;this.id=p||Ext.id(n)};var d=Ext.core.DomHelper,e=Ext.core.Element;e.prototype={set:function(q,m){var n=this.dom,l,p;m=(m!==false)&&!!n.setAttribute;for(l in q){if(q.hasOwnProperty(l)){p=q[l];if(l=="style"){d.applyStyles(n,p)}else{if(l=="cls"){n.className=p}else{if(m){n.setAttribute(l,p)}else{n[l]=p}}}}}return this},defaultUnit:"px",is:function(l){return Ext.DomQuery.is(this.dom,l)},focus:function(p,n){var l=this;n=n||l.dom;try{if(Number(p)){Ext.defer(l.focus,p,null,[null,n])}else{n.focus()}}catch(m){}return l},blur:function(){try{this.dom.blur()}catch(l){}return this},getValue:function(l){var m=this.dom.value;return l?parseInt(m,10):m},addListener:function(l,p,n,m){Ext.EventManager.on(this.dom,l,p,n||this,m);return this},removeListener:function(l,n,m){Ext.EventManager.un(this.dom,l,n,m||this);return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);return this},purgeAllListeners:function(){Ext.EventManager.purgeElement(this);return this},addUnits:function(m,l){if(Ext.isNumber(m)){return m+(l||this.defaultUnit||"px")}if(m===""||m=="auto"||m===undefined||m===null){return m||""}if(!i.test(m)){return m||""}return m},isBorderBox:function(){return Ext.isBorderBox||g[(this.dom.tagName||"").toLowerCase()]},remove:function(){var l=this,m=l.dom;if(m){delete l.dom;Ext.removeNode(m)}},hover:function(m,l,p,n){var q=this;q.on("mouseenter",m,p||q.dom,n);q.on("mouseleave",l,p||q.dom,n);return q},contains:function(l){return !l?false:Ext.core.Element.isAncestor(this.dom,l.dom?l.dom:l)},getAttributeNS:function(m,l){return this.getAttribute(l,m)},getAttribute:(Ext.isIE&&!(Ext.isIE9&&document.documentMode===9))?function(l,n){var p=this.dom,m;if(n){m=typeof p[n+":"+l];if(m!="undefined"&&m!="unknown"){return p[n+":"+l]||null}return null}if(l==="for"){l="htmlFor"}return p[l]||null}:function(l,m){var n=this.dom;if(m){return n.getAttributeNS(m,l)||n.getAttribute(m+":"+l)}return n.getAttribute(l)||n[l]||null},update:function(l){if(this.dom){this.dom.innerHTML=l}return this}};var k=e.prototype;e.addMethods=function(l){Ext.apply(k,l)};k.on=k.addListener;k.un=k.removeListener;k.clearListeners=k.removeAllListeners;k.destroy=k.remove;k.autoBoxAdjust=true;var i=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,c;e.get=function(m){var l,q,p;if(!m){return null}if(typeof m=="string"){if(!(q=h.getElementById(m))){return null}if(a[m]&&a[m].el){l=a[m].el;l.dom=q}else{l=e.addToCache(new e(q))}return l}else{if(m.tagName){if(!(p=m.id)){p=Ext.id(m)}if(a[p]&&a[p].el){l=a[p].el;l.dom=m}else{l=e.addToCache(new e(m))}return l}else{if(m instanceof e){if(m!=c){if(Ext.isIE&&(m.id==undefined||m.id=="")){m.dom=m.dom}else{m.dom=h.getElementById(m.id)||m.dom}}return m}else{if(m.isComposite){return m}else{if(Ext.isArray(m)){return e.select(m)}else{if(m==h){if(!c){var n=function(){};n.prototype=e.prototype;c=new n();c.dom=h}return c}}}}}}return null};e.addToCache=function(l,m){if(l){m=m||l.id;a[m]={el:l,data:{},events:{}}}return l};e.data=function(m,l,n){m=e.get(m);if(!m){return null}var p=a[m.id].data;if(arguments.length==2){return p[l]}else{return(p[l]=n)}};function j(){if(!Ext.enableGarbageCollector){clearInterval(e.collectorThreadId)}else{var l,n,q,p;for(l in a){if(!a.hasOwnProperty(l)){continue}p=a[l];if(p.skipGarbageCollection){continue}n=p.el;q=n.dom;if(!q||!q.parentNode||(!q.offsetParent&&!h.getElementById(l))){if(q&&Ext.enableListenerCollection){Ext.EventManager.removeAll(q)}delete a[l]}}if(Ext.isIE){var m={};for(l in a){if(!a.hasOwnProperty(l)){continue}m[l]=a[l]}a=Ext.cache=m}}}e.collectorThreadId=setInterval(j,30000);var b=function(){};b.prototype=e.prototype;e.Flyweight=function(l){this.dom=l};e.Flyweight.prototype=new b();e.Flyweight.prototype.isFlyweight=true;e._flyweights={};e.fly=function(n,l){var m=null;l=l||"_global";n=Ext.getDom(n);if(n){(e._flyweights[l]=e._flyweights[l]||new e.Flyweight()).dom=n;m=e._flyweights[l]}return m};Ext.get=e.get;Ext.fly=e.fly;var g=Ext.isStrict?{select:1}:{input:1,select:1,textarea:1};if(Ext.isIE||Ext.isGecko){g.button=1}})();Ext.core.Element.addMethods({findParent:function(i,h,c){var e=this.dom,a=document.body,g=0,d;h=h||50;if(isNaN(h)){d=Ext.getDom(h);h=Number.MAX_VALUE}while(e&&e.nodeType==1&&g "+a,c.dom);return b?d:Ext.get(d)},parent:function(a,b){return this.matchNode("parentNode","parentNode",a,b)},next:function(a,b){return this.matchNode("nextSibling","nextSibling",a,b)},prev:function(a,b){return this.matchNode("previousSibling","previousSibling",a,b)},first:function(a,b){return this.matchNode("nextSibling","firstChild",a,b)},last:function(a,b){return this.matchNode("previousSibling","lastChild",a,b)},matchNode:function(b,e,a,c){if(!this.dom){return null}var d=this.dom[e];while(d){if(d.nodeType==1&&(!a||Ext.DomQuery.is(d,a))){return !c?Ext.get(d):d}d=d[b]}return null}});Ext.core.Element.addMethods({appendChild:function(a){return Ext.get(a).appendTo(this)},appendTo:function(a){Ext.getDom(a).appendChild(this.dom);return this},insertBefore:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a);return this},insertAfter:function(a){a=Ext.getDom(a);a.parentNode.insertBefore(this.dom,a.nextSibling);return this},insertFirst:function(b,a){b=b||{};if(b.nodeType||b.dom||typeof b=="string"){b=Ext.getDom(b);this.dom.insertBefore(b,this.dom.firstChild);return !a?Ext.get(b):b}else{return this.createChild(b,this.dom.firstChild,a)}},insertSibling:function(e,c,d){var g=this,b,a=(c||"before").toLowerCase()=="after",h;if(Ext.isArray(e)){h=g;Ext.each(e,function(i){b=Ext.fly(h,"_internal").insertSibling(i,c,d);if(a){h=b}});return b}e=e||{};if(e.nodeType||e.dom){b=g.dom.parentNode.insertBefore(Ext.getDom(e),a?g.dom.nextSibling:g.dom);if(!d){b=Ext.get(b)}}else{if(a&&!g.dom.nextSibling){b=Ext.core.DomHelper.append(g.dom.parentNode,e,!d)}else{b=Ext.core.DomHelper[a?"insertAfter":"insertBefore"](g.dom,e,!d)}}return b},replace:function(a){a=Ext.get(a);this.insertBefore(a);a.remove();return this},replaceWith:function(a){var b=this;if(a.nodeType||a.dom||typeof a=="string"){a=Ext.get(a);b.dom.parentNode.insertBefore(a,b.dom)}else{a=Ext.core.DomHelper.insertBefore(b.dom,a)}delete Ext.cache[b.id];Ext.removeNode(b.dom);b.id=Ext.id(b.dom=a);Ext.core.Element.addToCache(b.isFlyweight?new Ext.core.Element(b.dom):b);return b},createChild:function(b,a,c){b=b||{tag:"div"};if(a){return Ext.core.DomHelper.insertBefore(a,b,c!==true)}else{return Ext.core.DomHelper[!this.dom.firstChild?"insertFirst":"append"](this.dom,b,c!==true)}},wrap:function(a,b){var e=Ext.core.DomHelper.insertBefore(this.dom,a||{tag:"div"},!b),c=e.dom||e;c.appendChild(this.dom);return e},insertHtml:function(b,c,a){var d=Ext.core.DomHelper.insertHtml(b,this.dom,c);return a?Ext.get(d):d}});(function(){Ext.core.Element.boxMarkup='
    ';var z=Ext.supports,s=document.defaultView,B=/alpha\(opacity=(.*)\)/i,l=/^\s+|\s+$/g,u=/\s+/,b=/\w/g,v=/table-row|table-.*-group/,c="_internal",e="padding",d="margin",x="border",t="-left",q="-right",w="-top",p="-bottom",j="-width",r=Math,y="hidden",g="isClipped",k="overflow",n="overflow-x",m="overflow-y",A="originalClip",i={l:x+t+j,r:x+q+j,t:x+w+j,b:x+p+j},h={l:e+t,r:e+q,t:e+w,b:e+p},a={l:d+t,r:d+q,t:d+w,b:d+p},C=Ext.core.Element.data;Ext.override(Ext.core.Element,{adjustWidth:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("lr")+E.getPadding("lr"))}return(F&&D<0)?0:D},adjustHeight:function(D){var E=this,F=(typeof D=="number");if(F&&E.autoBoxAdjust&&!E.isBorderBox()){D-=(E.getBorderWidth("tb")+E.getPadding("tb"))}return(F&&D<0)?0:D},addCls:function(H){var I=this,E=[],J=((I.dom.className.replace(l,"")=="")?"":" "),G,D,F;if(H===undefined){return I}if(Object.prototype.toString.call(H)!=="[object Array]"){if(typeof H==="string"){H=H.replace(l,"").split(u);if(H.length===1){H=H[0];if(!I.hasCls(H)){I.dom.className+=J+H}}else{this.addCls(H)}}}else{for(G=0,D=H.length;G5?F.toLowerCase():E)},setStyle:function(H,G){var F=this,D,E;if(!F.dom){return F}if(typeof H==="string"){D={};D[H]=G;H=D}for(E in H){if(H.hasOwnProperty(E)){G=Ext.value(H[E],"");if(E=="opacity"){F.setOpacity(G)}else{F.dom.style[Ext.core.Element.normalize(E)]=G}}}return F},setOpacity:function(E,D){var G=this,I=G.dom,H,F;if(!G.dom){return G}F=G.dom.style;if(!D||!G.anim){if(!Ext.supports.Opacity){E=E<1?"alpha(opacity="+E*100+")":"";H=F.filter.replace(B,"").replace(l,"");F.zoom=1;F.filter=H+(H.length>0?" ":"")+E}else{F.opacity=E}}else{if(!Ext.isObject(D)){D={duration:350,easing:"ease-in"}}G.animate(Ext.applyIf({to:{opacity:E}},D))}return G},clearOpacity:function(){var D=this.dom.style;if(!Ext.supports.Opacity){if(!Ext.isEmpty(D.filter)){D.filter=D.filter.replace(B,"").replace(l,"")}}else{D.opacity=D["-moz-opacity"]=D["-khtml-opacity"]=""}return this},adjustDirect2DDimension:function(H){var F=this,I=F.dom,G=F.getStyle("display"),E=I.style.display,D=I.style.position,K=H==="width"?0:1,J;if(G==="inline"){I.style.display="inline-block"}I.style.position=G.match(v)?"absolute":"static";J=(parseFloat(F.getStyle(H))||parseFloat(I.currentStyle.msTransformOrigin.split(" ")[K])*2)%1;I.style.position=D;if(G==="inline"){I.style.display=E}return J},getHeight:function(K,F){var J=this,G=J.dom,H=Ext.isIE&&J.isStyle("display","none"),L,E,D,I;if(Ext.isIEQuirks){D=G.style;E=D.overflow;J.setStyle({overflow:"hidden"})}L=G.offsetHeight;L=r.max(L,H?0:G.clientHeight)||0;if(!H&&Ext.supports.Direct2DBug){I=J.adjustDirect2DDimension("height");if(F){L+=I}else{if(I>0&&I<0.5){L++}}}if(K){L-=(J.getBorderWidth("tb")+J.getPadding("tb"))}if(Ext.isIEQuirks){J.setStyle({overflow:E})}if(L<0){L=0}return L},getWidth:function(D,N){var K=this,H=K.dom,I=Ext.isIE&&K.isStyle("display","none"),L,F,G,E,J,M;if(Ext.isIEQuirks){E=H.style;G=E.overflow;K.setStyle({overflow:"hidden"})}if(Ext.isOpera10_5){if(H.parentNode.currentStyle.position==="relative"){M=H.parentNode.style.position;H.parentNode.style.position="static";F=H.offsetWidth;H.parentNode.style.position=M}F=Math.max(F||0,H.offsetWidth)}else{if(Ext.supports.BoundingClientRect){L=H.getBoundingClientRect();F=L.right-L.left;F=N?F:Math.ceil(F)}else{F=H.offsetWidth}}F=r.max(F,I?0:H.clientWidth)||0;if(!I&&Ext.supports.Direct2DBug){J=K.adjustDirect2DDimension("width");if(N){F+=J}else{if(J>0&&J<0.5){F++}}}if(D){F-=(K.getBorderWidth("lr")+K.getPadding("lr"))}if(Ext.isIEQuirks){K.setStyle({overflow:G})}if(F<0){F=0}return F},setWidth:function(E,D){var F=this;E=F.adjustWidth(E);if(!D||!F.anim){F.dom.style.width=F.addUnits(E)}else{if(!Ext.isObject(D)){D={}}F.animate(Ext.applyIf({to:{width:E}},D))}return F},setHeight:function(D,E){var F=this;D=F.adjustHeight(D);if(!E||!F.anim){F.dom.style.height=F.addUnits(D)}else{if(!Ext.isObject(E)){E={}}F.animate(Ext.applyIf({to:{height:D}},E))}return F},getBorderWidth:function(D){return this.addStyles(D,i)},getPadding:function(D){return this.addStyles(D,h)},clip:function(){var D=this,E=D.dom;if(!C(E,g)){C(E,g,true);C(E,A,{o:D.getStyle(k),x:D.getStyle(n),y:D.getStyle(m)});D.setStyle(k,y);D.setStyle(n,y);D.setStyle(m,y)}return D},unclip:function(){var E=this,F=E.dom,D;if(C(F,g)){C(F,g,false);D=C(F,A);if(o.o){E.setStyle(k,o.o)}if(o.x){E.setStyle(n,o.x)}if(o.y){E.setStyle(m,o.y)}}return E},addStyles:function(K,J){var E=0,I=K.match(b),H=0,D=I.length,G,F;for(;H"+Ext.String.format(Ext.core.Element.boxMarkup,D)+""));Ext.DomQuery.selectNode("."+D+"-mc",E.dom).appendChild(this.dom);return E},setSize:function(F,D,E){var G=this;if(Ext.isObject(F)){E=D;D=F.height;F=F.width}F=G.adjustWidth(F);D=G.adjustHeight(D);if(!E||!G.anim){G.dom.style.width=G.addUnits(F);G.dom.style.height=G.addUnits(D)}else{if(E===true){E={}}G.animate(Ext.applyIf({to:{width:F,height:D}},E))}return G},getComputedHeight:function(){var E=this,D=Math.max(E.dom.offsetHeight,E.dom.clientHeight);if(!D){D=parseFloat(E.getStyle("height"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("tb")}}return D},getComputedWidth:function(){var E=this,D=Math.max(E.dom.offsetWidth,E.dom.clientWidth);if(!D){D=parseFloat(E.getStyle("width"))||0;if(!E.isBorderBox()){D+=E.getFrameWidth("lr")}}return D},getFrameWidth:function(E,D){return D&&this.isBorderBox()?0:(this.getPadding(E)+this.getBorderWidth(E))},addClsOnOver:function(D){var E=this.dom;this.hover(function(){Ext.fly(E,c).addCls(D)},function(){Ext.fly(E,c).removeCls(D)});return this},addClsOnFocus:function(D){var E=this,F=E.dom;E.on("focus",function(){Ext.fly(F,c).addCls(D)});E.on("blur",function(){Ext.fly(F,c).removeCls(D)});return E},addClsOnClick:function(D){var E=this.dom;this.on("mousedown",function(){Ext.fly(E,c).addCls(D);var G=Ext.getDoc(),F=function(){Ext.fly(E,c).removeCls(D);G.removeListener("mouseup",F)};G.on("mouseup",F)});return this},getViewSize:function(){var G=this,H=G.dom,E=(H==Ext.getDoc().dom||H==Ext.getBody().dom),F,I,D;if(E){D={width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}else{if(Ext.isIE6||Ext.isIEQuirks){F=H.style;I=F.overflow;G.setStyle({overflow:"hidden"})}D={width:H.clientWidth,height:H.clientHeight};if(Ext.isIE6||Ext.isIEQuirks){G.setStyle({overflow:I})}}return D},getStyleSize:function(){var H=this,I=document,J=this.dom,E=(J==I||J==I.body),G=J.style,D,F;if(E){return{width:Ext.core.Element.getViewWidth(),height:Ext.core.Element.getViewHeight()}}if(G.width&&G.width!="auto"){D=parseFloat(G.width);if(H.isBorderBox()){D-=H.getFrameWidth("lr")}}if(G.height&&G.height!="auto"){F=parseFloat(G.height);if(H.isBorderBox()){F-=H.getFrameWidth("tb")}}return{width:D||H.getWidth(true),height:F||H.getHeight(true)}},getSize:function(D){return{width:this.getWidth(D),height:this.getHeight(D)}},repaint:function(){var D=this.dom;this.addCls(Ext.baseCSSPrefix+"repaint");setTimeout(function(){Ext.fly(D).removeCls(Ext.baseCSSPrefix+"repaint")},1);return this},unselectable:function(){var D=this;D.dom.unselectable="on";D.swallowEvent("selectstart",true);D.applyStyles("-moz-user-select:none;-khtml-user-select:none;");D.addCls(Ext.baseCSSPrefix+"unselectable");return D},getMargin:function(E){var F=this,G={t:"top",l:"left",r:"right",b:"bottom"},H={},D;if(!E){for(D in F.margins){H[G[D]]=parseFloat(F.getStyle(F.margins[D]))||0}return H}else{return F.addStyles.call(F,E,F.margins)}}})})();Ext.core.Element.VISIBILITY=1;Ext.core.Element.DISPLAY=2;Ext.core.Element.OFFSETS=3;Ext.core.Element.ASCLASS=4;Ext.core.Element.visibilityCls=Ext.baseCSSPrefix+"hide-nosize";Ext.core.Element.addMethods(function(){var e=Ext.core.Element,q="opacity",j="visibility",g="display",d="hidden",n="offsets",k="asclass",m="none",a="nosize",b="originalDisplay",c="visibilityMode",h="isVisible",i=e.data,l=function(s){var r=i(s,b);if(r===undefined){i(s,b,r="")}return r},p=function(s){var r=i(s,c);if(r===undefined){i(s,c,r=1)}return r};return{originalDisplay:"",visibilityMode:1,setVisibilityMode:function(r){i(this.dom,c,r);return this},isVisible:function(){var r=this,t=r.dom,s=i(t,h);if(typeof s=="boolean"){return s}s=!r.isStyle(j,d)&&!r.isStyle(g,m)&&!((p(t)==e.ASCLASS)&&r.hasCls(r.visibilityCls||e.visibilityCls));i(t,h,s);return s},setVisible:function(u,r){var x=this,s,z,y,w,v=x.dom,t=p(v);if(typeof r=="string"){switch(r){case g:t=e.DISPLAY;break;case j:t=e.VISIBILITY;break;case n:t=e.OFFSETS;break;case a:case k:t=e.ASCLASS;break}x.setVisibilityMode(t);r=false}if(!r||!x.anim){if(t==e.ASCLASS){x[u?"removeCls":"addCls"](x.visibilityCls||e.visibilityCls)}else{if(t==e.DISPLAY){return x.setDisplayed(u)}else{if(t==e.OFFSETS){if(!u){if(!x.hideModeStyles){x.hideModeStyles={position:x.getStyle("position"),top:x.getStyle("top"),left:x.getStyle("left")}}x.applyStyles({position:"absolute",top:"-10000px",left:"-10000px"})}else{if(x.hideModeStyles){x.applyStyles(x.hideModeStyles||{position:"",top:"",left:""});delete x.hideModeStyles}}}else{x.fixDisplay();v.style.visibility=u?"":d}}}}else{if(u){x.setOpacity(0.01);x.setVisible(true)}if(!Ext.isObject(r)){r={duration:350,easing:"ease-in"}}x.animate(Ext.applyIf({callback:function(){u||x.setVisible(false).setOpacity(1)},to:{opacity:(u)?1:0}},r))}i(v,h,u);return x},hasMetrics:function(){var r=this.dom;return this.isVisible()||(p(r)==e.OFFSETS)||(p(r)==e.VISIBILITY)},toggle:function(r){var s=this;s.setVisible(!s.isVisible(),s.anim(r));return s},setDisplayed:function(r){if(typeof r=="boolean"){r=r?l(this.dom):m}this.setStyle(g,r);return this},fixDisplay:function(){var r=this;if(r.isStyle(g,m)){r.setStyle(j,d);r.setStyle(g,l(this.dom));if(r.isStyle(g,m)){r.setStyle(g,"block")}}},hide:function(r){if(typeof r=="string"){this.setVisible(false,r);return this}this.setVisible(false,this.anim(r));return this},show:function(r){if(typeof r=="string"){this.setVisible(true,r);return this}this.setVisible(true,this.anim(r));return this}}}());Ext.applyIf(Ext.core.Element.prototype,{animate:function(a){var b=this;if(!b.id){b=Ext.get(b.dom)}if(Ext.fx.Manager.hasFxBlock(b.id)){return b}Ext.fx.Manager.queueFx(Ext.create("Ext.fx.Anim",b.anim(a)));return this},anim:function(a){if(!Ext.isObject(a)){return(a)?{}:false}var b=this,c=a.duration||Ext.fx.Anim.prototype.duration,e=a.easing||"ease",d;if(a.stopAnimation){b.stopAnimation()}Ext.applyIf(a,Ext.fx.Manager.getFxDefaults(b.id));Ext.fx.Manager.setFxDefaults(b.id,{delay:0});d={target:b,remove:a.remove,alternate:a.alternate||false,duration:c,easing:e,callback:a.callback,listeners:a.listeners,iterations:a.iterations||1,scope:a.scope,block:a.block,concurrent:a.concurrent,delay:a.delay||0,paused:true,keyframes:a.keyframes,from:a.from||{},to:Ext.apply({},a)};Ext.apply(d.to,a.to);delete d.to.to;delete d.to.from;delete d.to.remove;delete d.to.alternate;delete d.to.keyframes;delete d.to.iterations;delete d.to.listeners;delete d.to.target;delete d.to.paused;delete d.to.callback;delete d.to.scope;delete d.to.duration;delete d.to.easing;delete d.to.concurrent;delete d.to.block;delete d.to.stopAnimation;delete d.to.delay;return d},slideIn:function(b,h,e){var g=this,d=g.dom.style,c,a;b=b||"t";h=h||{};c=function(){var m=this,l=h.listeners,n,i,k,j,p;if(!e){g.fixDisplay()}n=g.getBox();if((b=="t"||b=="b")&&n.height==0){n.height=g.dom.scrollHeight}else{if((b=="l"||b=="r")&&n.width==0){n.width=g.dom.scrollWidth}}i=g.getPositioning();g.setSize(n.width,n.height);j=g.wrap({style:{visibility:e?"visible":"hidden"}});j.setPositioning(i);if(j.isStyle("position","static")){j.position("relative")}g.clearPositioning("auto");j.clip();g.setStyle({visibility:"",position:"absolute"});if(e){j.setSize(n.width,n.height)}switch(b){case"t":p={from:{width:n.width+"px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break;case"l":p={from:{width:"0px",height:n.height+"px"},to:{width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"r":p={from:{x:n.x+n.width,width:"0px",height:n.height+"px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};break;case"b":p={from:{y:n.y+n.height,width:n.width+"px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tl":p={from:{x:n.x,y:n.y,width:"0px",height:"0px"},to:{width:n.width+"px",height:n.height+"px"}};d.bottom="0px";d.right="0px";break;case"bl":p={from:{x:n.x+n.width,width:"0px",height:"0px"},to:{x:n.x,width:n.width+"px",height:n.height+"px"}};d.right="0px";break;case"br":p={from:{x:n.x+n.width,y:n.y+n.height,width:"0px",height:"0px"},to:{x:n.x,y:n.y,width:n.width+"px",height:n.height+"px"}};break;case"tr":p={from:{y:n.y+n.height,width:"0px",height:"0px"},to:{y:n.y,width:n.width+"px",height:n.height+"px"}};d.bottom="0px";break}j.show();a=Ext.apply({},h);delete a.listeners;a=Ext.create("Ext.fx.Anim",Ext.applyIf(a,{target:j,duration:500,easing:"ease-out",from:e?p.to:p.from,to:e?p.from:p.to}));a.on("afteranimate",function(){if(e){g.setPositioning(i);if(h.useDisplay){g.setDisplayed(false)}else{g.hide()}}else{g.clearPositioning();g.setPositioning(i)}if(j.dom){j.dom.parentNode.insertBefore(g.dom,j.dom);j.remove()}g.setSize(n.width,n.height);m.end()});if(l){a.on(l)}};g.animate({duration:h.duration?h.duration*2:1000,listeners:{beforeanimate:{fn:c},afteranimate:{fn:function(){if(a&&a.running){a.end()}}}}});return g},slideOut:function(a,b){return this.slideIn(a,b,true)},puff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-out",duration:500,useDisplay:false});a=function(){b.clearOpacity();b.show();var e=b.getBox(),g=b.getStyle("fontSize"),d=b.getPositioning();this.to={width:e.width*2,height:e.height*2,x:e.x-(e.width/2),y:e.y-(e.height/2),opacity:0,fontSize:"200%"};this.on("afteranimate",function(){if(b.dom){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setStyle({fontSize:g})}})};b.animate({duration:c.duration,easing:c.easing,listeners:{beforeanimate:{fn:a}}});return b},switchOff:function(c){var b=this,a;c=Ext.applyIf(c||{},{easing:"ease-in",duration:500,remove:false,useDisplay:false});a=function(){var h=this,g=b.getSize(),i=b.getXY(),e,d;b.clearOpacity();b.clip();d=b.getPositioning();e=Ext.create("Ext.fx.Animator",{target:b,duration:c.duration,easing:c.easing,keyframes:{33:{opacity:0.3},66:{height:1,y:i[1]+g.height/2},100:{width:1,x:i[0]+g.width/2}}});e.on("afteranimate",function(){if(c.useDisplay){b.setDisplayed(false)}else{b.hide()}b.clearOpacity();b.setPositioning(d);b.setSize(g);h.end()})};b.animate({duration:(c.duration*2),listeners:{beforeanimate:{fn:a}}});return b},frame:function(a,d,e){var c=this,b;a=a||"#C3DAF9";d=d||1;e=e||{};b=function(){c.show();var i=this,j=c.getBox(),h=Ext.getBody().createChild({style:{position:"absolute","pointer-events":"none","z-index":35000,border:"0px solid "+a}}),g;g=Ext.create("Ext.fx.Anim",{target:h,duration:e.duration||1000,iterations:d,from:{top:j.y,left:j.x,borderWidth:0,opacity:1,height:j.height,width:j.width},to:{top:j.y-20,left:j.x-20,borderWidth:10,opacity:0,height:j.height+40,width:j.width+40}});g.on("afteranimate",function(){h.remove();i.end()})};c.animate({duration:(e.duration*2)||2000,listeners:{beforeanimate:{fn:b}}});return c},ghost:function(a,d){var c=this,b;a=a||"b";b=function(){var h=c.getWidth(),g=c.getHeight(),i=c.getXY(),e=c.getPositioning(),j={opacity:0};switch(a){case"t":j.y=i[1]-g;break;case"l":j.x=i[0]-h;break;case"r":j.x=i[0]+h;break;case"b":j.y=i[1]+g;break;case"tl":j.x=i[0]-h;j.y=i[1]-g;break;case"bl":j.x=i[0]-h;j.y=i[1]+g;break;case"br":j.x=i[0]+h;j.y=i[1]+g;break;case"tr":j.x=i[0]+h;j.y=i[1]-g;break}this.to=j;this.on("afteranimate",function(){if(c.dom){c.hide();c.clearOpacity();c.setPositioning(e)}})};c.animate(Ext.applyIf(d||{},{duration:500,easing:"ease-out",listeners:{beforeanimate:{fn:b}}}));return c},highlight:function(d,b){var i=this,e=i.dom,k={},h,l,g,c,a,j;b=b||{};c=b.listeners||{};g=b.attr||"backgroundColor";k[g]=d||"ffff9c";if(!b.to){l={};l[g]=b.endColor||i.getColor(g,"ffffff","")}else{l=b.to}b.listeners=Ext.apply(Ext.apply({},c),{beforeanimate:function(){h=e.style[g];i.clearOpacity();i.show();a=c.beforeanimate;if(a){j=a.fn||a;return j.apply(a.scope||c.scope||window,arguments)}},afteranimate:function(){if(e){e.style[g]=h}a=c.afteranimate;if(a){j=a.fn||a;j.apply(a.scope||c.scope||window,arguments)}}});i.animate(Ext.apply({},b,{duration:1000,easing:"ease-in",from:k,to:l}));return i},pause:function(a){var b=this;Ext.fx.Manager.setFxDefaults(b.id,{delay:a});return b},fadeIn:function(a){this.animate(Ext.apply({},a,{opacity:1}));return this},fadeOut:function(a){this.animate(Ext.apply({},a,{opacity:0}));return this},scale:function(a,b,c){this.animate(Ext.apply({},c,{width:a,height:b}));return this},shift:function(a){this.animate(a);return this}});Ext.applyIf(Ext.core.Element,{unitRe:/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,camelRe:/(-[a-z])/gi,opacityRe:/alpha\(opacity=(.*)\)/i,cssRe:/([a-z0-9-]+)\s*:\s*([^;\s]+(?:\s*[^;\s]+)*);?/gi,propertyCache:{},defaultUnit:"px",borders:{l:"border-left-width",r:"border-right-width",t:"border-top-width",b:"border-bottom-width"},paddings:{l:"padding-left",r:"padding-right",t:"padding-top",b:"padding-bottom"},margins:{l:"margin-left",r:"margin-right",t:"margin-top",b:"margin-bottom"},addUnits:Ext.core.Element.prototype.addUnits,parseBox:function(b){if(Ext.isObject(b)){return{top:b.top||0,right:b.right||0,bottom:b.bottom||0,left:b.left||0}}else{if(typeof b!="string"){b=b.toString()}var c=b.split(" "),a=c.length;if(a==1){c[1]=c[2]=c[3]=c[0]}else{if(a==2){c[2]=c[0];c[3]=c[1]}else{if(a==3){c[3]=c[1]}}}return{top:parseFloat(c[0])||0,right:parseFloat(c[1])||0,bottom:parseFloat(c[2])||0,left:parseFloat(c[3])||0}}},unitizeBox:function(c,b){var a=this.addUnits,d=this.parseBox(c);return a(d.top,b)+" "+a(d.right,b)+" "+a(d.bottom,b)+" "+a(d.left,b)},camelReplaceFn:function(b,c){return c.charAt(1).toUpperCase()},normalize:function(a){if(a=="float"){a=Ext.supports.Float?"cssFloat":"styleFloat"}return this.propertyCache[a]||(this.propertyCache[a]=a.replace(this.camelRe,this.camelReplaceFn))},getDocumentHeight:function(){return Math.max(!Ext.isStrict?document.body.scrollHeight:document.documentElement.scrollHeight,this.getViewportHeight())},getDocumentWidth:function(){return Math.max(!Ext.isStrict?document.body.scrollWidth:document.documentElement.scrollWidth,this.getViewportWidth())},getViewportHeight:function(){return window.innerHeight},getViewportWidth:function(){return window.innerWidth},getViewSize:function(){return{width:window.innerWidth,height:window.innerHeight}},getOrientation:function(){if(Ext.supports.OrientationChange){return(window.orientation==0)?"portrait":"landscape"}return(window.innerHeight>window.innerWidth)?"portrait":"landscape"},fromPoint:function(a,b){return Ext.get(document.elementFromPoint(a,b))},parseStyles:function(c){var a={},b=this.cssRe,d;if(c){b.lastIndex=0;while((d=b.exec(c))){a[d[1]]=d[2]}}return a}});Ext.CompositeElementLite=function(b,a){this.elements=[];this.add(b,a);this.el=new Ext.core.Element.Flyweight()};Ext.CompositeElementLite.prototype={isComposite:true,getElement:function(a){var b=this.el;b.dom=a;b.id=a.id;return b},transformElement:function(a){return Ext.getDom(a)},getCount:function(){return this.elements.length},add:function(d,b){var e=this,g=e.elements;if(!d){return this}if(typeof d=="string"){d=Ext.core.Element.selectorFunction(d,b)}else{if(d.isComposite){d=d.elements}else{if(!Ext.isIterable(d)){d=[d]}}}for(var c=0,a=d.length;c-1){c=Ext.getDom(c);if(a){g=this.elements[b];g.parentNode.insertBefore(c,g);Ext.removeNode(g)}Ext.Array.splice(this.elements,b,1,c)}return this},clear:function(){this.elements=[]}};Ext.CompositeElementLite.prototype.on=Ext.CompositeElementLite.prototype.addListener;Ext.CompositeElementLite.importElementMethods=function(){var c,b=Ext.core.Element.prototype,a=Ext.CompositeElementLite.prototype;for(c in b){if(typeof b[c]=="function"){(function(d){a[d]=a[d]||function(){return this.invoke(d,arguments)}}).call(a,c)}}};Ext.CompositeElementLite.importElementMethods();if(Ext.DomQuery){Ext.core.Element.selectorFunction=Ext.DomQuery.select}Ext.core.Element.select=function(a,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;Ext.util.DelayedTask=function(d,c,a){var e=this,g,b=function(){clearInterval(g);g=null;d.apply(c,a||[])};this.delay=function(i,k,j,h){e.cancel();d=k||d;c=j||c;a=h||a;g=setInterval(b,i)};this.cancel=function(){if(g){clearInterval(g);g=null}}};Ext.require("Ext.util.DelayedTask",function(){Ext.util.Event=Ext.extend(Object,(function(){function b(e,g,h,d){g.task=new Ext.util.DelayedTask();return function(){g.task.delay(h.buffer,e,d,Ext.Array.toArray(arguments))}}function a(e,g,h,d){return function(){var i=new Ext.util.DelayedTask();if(!g.tasks){g.tasks=[]}g.tasks.push(i);i.delay(h.delay||10,e,d,Ext.Array.toArray(arguments))}}function c(e,g,h,d){return function(){g.ev.removeListener(g.fn,d);return e.apply(d,arguments)}}return{isEvent:true,constructor:function(e,d){this.name=d;this.observable=e;this.listeners=[]},addListener:function(g,e,d){var h=this,i;e=e||h.observable;if(!h.isListening(g,e)){i=h.createListener(g,e,d);if(h.firing){h.listeners=h.listeners.slice(0)}h.listeners.push(i)}},createListener:function(g,e,i){i=i||{};e=e||this.observable;var h={fn:g,scope:e,o:i,ev:this},d=g;if(i.single){d=c(d,h,i,e)}if(i.delay){d=a(d,h,i,e)}if(i.buffer){d=b(d,h,i,e)}h.fireFn=d;return h},findListener:function(j,h){var g=this.listeners,d=g.length,k,e;while(d--){k=g[d];if(k){e=k.scope;if(k.fn==j&&(e==h||e==this.observable)){return d}}}return -1},isListening:function(e,d){return this.findListener(e,d)!==-1},removeListener:function(h,g){var i=this,e,j,d;e=i.findListener(h,g);if(e!=-1){j=i.listeners[e];if(i.firing){i.listeners=i.listeners.slice(0)}if(j.task){j.task.cancel();delete j.task}d=j.tasks&&j.tasks.length;if(d){while(d--){j.tasks[d].cancel()}delete j.tasks}Ext.Array.erase(i.listeners,e,1);return true}return false},clearListeners:function(){var e=this.listeners,d=e.length;while(d--){this.removeListener(e[d].fn,e[d].scope)}},fire:function(){var j=this,g=j.listeners,h=g.length,e,d,k;if(h>0){j.firing=true;for(e=0;e111&&a.keyCode<124){a.keyCode=-1}}catch(b){}}},getRelatedTarget:function(a){a=a.browserEvent||a;var b=a.relatedTarget;if(!b){if(this.mouseLeaveRe.test(a.type)){b=a.toElement}else{if(this.mouseEnterRe.test(a.type)){b=a.fromElement}}}return this.resolveTextNode(b)},getPageX:function(a){return this.getXY(a)[0]},getPageY:function(a){return this.getXY(a)[1]},getPageXY:function(c){c=c.browserEvent||c;var b=c.pageX,e=c.pageY,d=document.documentElement,a=document.body;if(!b&&b!==0){b=c.clientX+(d&&d.scrollLeft||a&&a.scrollLeft||0)-(d&&d.clientLeft||a&&a.clientLeft||0);e=c.clientY+(d&&d.scrollTop||a&&a.scrollTop||0)-(d&&d.clientTop||a&&a.clientTop||0)}return[b,e]},getTarget:function(a){a=a.browserEvent||a;return this.resolveTextNode(a.target||a.srcElement)},resolveTextNode:Ext.isGecko?function(b){if(!b){return}var a=HTMLElement.prototype.toString.call(b);if(a=="[xpconnect wrapped native prototype]"||a=="[object XULElement]"){return}return b.nodeType==3?b.parentNode:b}:function(a){return a&&a.nodeType==3?a.parentNode:a},curWidth:0,curHeight:0,onWindowResize:function(d,c,b){var a=this.resizeEvent;if(!a){this.resizeEvent=a=new Ext.util.Event();this.on(window,"resize",this.fireResize,this,{buffer:100})}a.addListener(d,c,b)},fireResize:function(){var c=this,a=Ext.core.Element.getViewWidth(),b=Ext.core.Element.getViewHeight();if(c.curHeight!=b||c.curWidth!=a){c.curHeight=b;c.curWidth=a;c.resizeEvent.fire(a,b)}},removeResizeListener:function(b,a){if(this.resizeEvent){this.resizeEvent.removeListener(b,a)}},onWindowUnload:function(){var a=this.unloadEvent;if(!a){this.unloadEvent=a=new Ext.util.Event();this.addListener(window,"unload",this.fireUnload,this)}},fireUnload:function(){try{this.removeUnloadListener();if(Ext.isGecko3){var h=Ext.ComponentQuery.query("gridview"),b=0,d=h.length;for(;b=525:!((Ext.isGecko&&!Ext.isWindows)||Ext.isOpera),getKeyEvent:function(){return this.useKeyDown?"keydown":"keypress"}};Ext.onReady=function(c,b,a){Ext.Loader.onReady(c,b,true,a)};Ext.onDocumentReady=Ext.EventManager.onDocumentReady;Ext.EventManager.on=Ext.EventManager.addListener;Ext.EventManager.un=Ext.EventManager.removeListener;(function(){var a=function(){var g=document.body||document.getElementsByTagName("body")[0],e=Ext.baseCSSPrefix,c=[e+"body"],b=[],d;if(!g){return false}d=g.parentNode;if(Ext.isIE){c.push(e+"ie")}if(Ext.isIE6){c.push(e+"ie6")}if(Ext.isIE7){c.push(e+"ie7")}if(Ext.isIE8){c.push(e+"ie8")}if(Ext.isIE9){c.push(e+"ie9")}if(Ext.isGecko){c.push(e+"gecko")}if(Ext.isGecko3){c.push(e+"gecko3")}if(Ext.isGecko4){c.push(e+"gecko4")}if(Ext.isOpera){c.push(e+"opera")}if(Ext.isWebKit){c.push(e+"webkit")}if(Ext.isSafari){c.push(e+"safari")}if(Ext.isSafari2){c.push(e+"safari2")}if(Ext.isSafari3){c.push(e+"safari3")}if(Ext.isSafari4){c.push(e+"safari4")}if(Ext.isChrome){c.push(e+"chrome")}if(Ext.isMac){c.push(e+"mac")}if(Ext.isLinux){c.push(e+"linux")}if(!Ext.supports.CSS3BorderRadius){c.push(e+"nbr")}if(!Ext.supports.CSS3LinearGradient){c.push(e+"nlg")}if(!Ext.scopeResetCSS){c.push(e+"reset")}if(d){if(Ext.isStrict&&(Ext.isIE6||Ext.isIE7)){Ext.isBorderBox=false}else{Ext.isBorderBox=true}b.push(e+(Ext.isBorderBox?"border-box":"strict"));if(!Ext.isStrict){b.push(e+"quirks");if(Ext.isIE&&!Ext.isStrict){Ext.isIEQuirks=true}}Ext.fly(d,"_internal").addCls(b)}Ext.fly(g,"_internal").addCls(c);return true};Ext.onReady(a)})();Ext.define("Ext.EventObjectImpl",{uses:["Ext.util.Point"],BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,WHEEL_SCALE:(function(){var a;if(Ext.isGecko){a=3}else{if(Ext.isMac){if(Ext.isSafari&&Ext.webKitVersion>=532){a=120}else{a=12}a*=3}else{a=120}}return a})(),clickRe:/(dbl)?click/,safariKeys:{3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35},btnMap:Ext.isIE?{1:0,4:1,2:2}:{0:0,1:1,2:2},constructor:function(a,b){if(a){this.setEvent(a.browserEvent||a,b)}},setEvent:function(d,e){var c=this,b,a;if(d==c||(d&&d.browserEvent)){return d}c.browserEvent=d;if(d){b=d.button?c.btnMap[d.button]:(d.which?d.which-1:-1);if(c.clickRe.test(d.type)&&b==-1){b=0}a={type:d.type,button:b,shiftKey:d.shiftKey,ctrlKey:d.ctrlKey||d.metaKey||false,altKey:d.altKey,keyCode:d.keyCode,charCode:d.charCode,target:Ext.EventManager.getTarget(d),relatedTarget:Ext.EventManager.getRelatedTarget(d),currentTarget:d.currentTarget,xy:(e?c.getXY():null)}}else{a={button:-1,shiftKey:false,ctrlKey:false,altKey:false,keyCode:0,charCode:0,target:null,xy:[0,0]}}Ext.apply(c,a);return c},stopEvent:function(){this.stopPropagation();this.preventDefault()},preventDefault:function(){if(this.browserEvent){Ext.EventManager.preventDefault(this.browserEvent)}},stopPropagation:function(){var a=this.browserEvent;if(a){if(a.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(this)}Ext.EventManager.stopPropagation(a)}},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){return this.normalizeKey(this.keyCode||this.charCode)},normalizeKey:function(a){return Ext.isWebKit?(this.safariKeys[a]||a):a},getPageX:function(){return this.getX()},getPageY:function(){return this.getY()},getX:function(){return this.getXY()[0]},getY:function(){return this.getXY()[1]},getXY:function(){if(!this.xy){this.xy=Ext.EventManager.getPageXY(this.browserEvent)}return this.xy},getTarget:function(b,c,a){if(b){return Ext.fly(this.target).findParent(b,c,a)}return a?Ext.get(this.target):this.target},getRelatedTarget:function(b,c,a){if(b){return Ext.fly(this.relatedTarget).findParent(b,c,a)}return a?Ext.get(this.relatedTarget):this.relatedTarget},correctWheelDelta:function(c){var b=this.WHEEL_SCALE,a=Math.round(c/b+0.5);if(!a&&c){a=(c<0)?-1:1}return a},getWheelDeltas:function(){var d=this,c=d.browserEvent,b=0,a=0;if(Ext.isDefined(c.wheelDeltaX)){b=c.wheelDeltaX;a=c.wheelDeltaY}else{if(c.wheelDelta){a=c.wheelDelta}else{if(c.detail){a=-c.detail;if(a>100){a=3}else{if(a<-100){a=-3}}if(Ext.isDefined(c.axis)&&c.axis===c.HORIZONTAL_AXIS){b=a;a=0}}}}return{x:d.correctWheelDelta(b),y:d.correctWheelDelta(a)}},getWheelDelta:function(){var a=this.getWheelDeltas();return a.y},within:function(d,e,b){if(d){var c=e?this.getRelatedTarget():this.getTarget(),a;if(c){a=Ext.fly(d).contains(c);if(!a&&b){a=c==Ext.getDom(d)}return a}}return false},isNavKeyPress:function(){var b=this,a=this.normalizeKey(b.keyCode);return(a>=33&&a<=40)||a==b.RETURN||a==b.TAB||a==b.ESC},isSpecialKey:function(){var a=this.normalizeKey(this.keyCode);return(this.type=="keypress"&&this.ctrlKey)||this.isNavKeyPress()||(a==this.BACKSPACE)||(a>=16&&a<=20)||(a>=44&&a<=46)},getPoint:function(){var a=this.getXY();return Ext.create("Ext.util.Point",a[0],a[1])},hasModifier:function(){return this.ctrlKey||this.altKey||this.shiftKey||this.metaKey},injectEvent:function(){var d,e={};if(!Ext.isIE&&document.createEvent){d={createHtmlEvent:function(k,i,h,g){var j=k.createEvent("HTMLEvents");j.initEvent(i,h,g);return j},createMouseEvent:function(v,t,m,l,p,k,i,j,g,s,r,n,q){var h=v.createEvent("MouseEvents"),u=v.defaultView||window;if(h.initMouseEvent){h.initMouseEvent(t,m,l,u,p,k,i,k,i,j,g,s,r,n,q)}else{h=v.createEvent("UIEvents");h.initEvent(t,m,l);h.view=u;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.metaKey=r;h.shiftKey=s;h.button=n;h.relatedTarget=q}return h},createUIEvent:function(m,k,i,h,j){var l=m.createEvent("UIEvents"),g=m.defaultView||window;l.initUIEvent(k,i,h,g,j);return l},fireEvent:function(i,g,h){i.dispatchEvent(h)},fixTarget:function(g){if(g==window&&!g.dispatchEvent){return document}return g}}}else{if(document.createEventObject){var c={0:1,1:4,2:2};d={createHtmlEvent:function(k,i,h,g){var j=k.createEventObject();j.bubbles=h;j.cancelable=g;return j},createMouseEvent:function(u,t,m,l,p,k,i,j,g,s,r,n,q){var h=u.createEventObject();h.bubbles=m;h.cancelable=l;h.detail=p;h.screenX=k;h.screenY=i;h.clientX=k;h.clientY=i;h.ctrlKey=j;h.altKey=g;h.shiftKey=s;h.metaKey=r;h.button=c[n]||n;h.relatedTarget=q;return h},createUIEvent:function(l,j,h,g,i){var k=l.createEventObject();k.bubbles=h;k.cancelable=g;return k},fireEvent:function(i,g,h){i.fireEvent("on"+g,h)},fixTarget:function(g){if(g==document){return document.documentElement}return g}}}}Ext.Object.each({load:[false,false],unload:[false,false],select:[true,false],change:[true,false],submit:[true,true],reset:[true,false],resize:[true,false],scroll:[true,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createHtmlEvent(i,h,g);d.fireEvent(m,i,l)}});function b(i,h){var g=(i!="mousemove");return function(m,j){var l=j.getXY(),k=d.createMouseEvent(m.ownerDocument,i,true,g,h,l[0],l[1],j.ctrlKey,j.altKey,j.shiftKey,j.metaKey,j.button,j.relatedTarget);d.fireEvent(m,i,k)}}Ext.each(["click","dblclick","mousedown","mouseup","mouseover","mousemove","mouseout"],function(g){e[g]=b(g,1)});Ext.Object.each({focusin:[true,false],focusout:[true,false],activate:[true,true],focus:[false,false],blur:[false,false]},function(i,j){var h=j[0],g=j[1];e[i]=function(m,k){var l=d.createUIEvent(m.ownerDocument,i,h,g,1);d.fireEvent(m,i,l)}});if(!d){e={};d={fixTarget:function(g){return g}}}function a(h,g){}return function(j){var i=this,h=e[i.type]||a,g=j?(j.dom||j):i.getTarget();g=d.fixTarget(g);h(g,i)}}()},function(){Ext.EventObject=new Ext.EventObjectImpl()});(function(){var e=document,d=null,b=e.compatMode=="CSS1Compat",h=Ext.core.Element,a=function(i){if(!c){c=new Ext.core.Element.Flyweight()}c.dom=i;return c},c;if(!("activeElement" in e)&&e.addEventListener){e.addEventListener("focus",function(i){if(i&&i.target){d=(i.target==e)?null:i.target}},true)}function g(j,k,i){return function(){j.selectionStart=k;j.selectionEnd=i}}Ext.apply(h,{isAncestor:function(j,k){var i=false;j=Ext.getDom(j);k=Ext.getDom(k);if(j&&k){if(j.contains){return j.contains(k)}else{if(j.compareDocumentPosition){return !!(j.compareDocumentPosition(k)&16)}else{while((k=k.parentNode)){i=k==j||i}}}}return i},getActiveElement:function(){return e.activeElement||d},getRightMarginFixCleaner:function(n){var k=Ext.supports,l=k.DisplayChangeInputSelectionBug,m=k.DisplayChangeTextAreaSelectionBug;if(l||m){var p=e.activeElement||d,i=p&&p.tagName,q,j;if((m&&i=="TEXTAREA")||(l&&i=="INPUT"&&p.type=="text")){if(h.isAncestor(n,p)){q=p.selectionStart;j=p.selectionEnd;if(Ext.isNumber(q)&&Ext.isNumber(j)){return g(p,q,j)}}}}return Ext.emptyFn},getViewWidth:function(i){return i?h.getDocumentWidth():h.getViewportWidth()},getViewHeight:function(i){return i?h.getDocumentHeight():h.getViewportHeight()},getDocumentHeight:function(){return Math.max(!b?e.body.scrollHeight:e.documentElement.scrollHeight,h.getViewportHeight())},getDocumentWidth:function(){return Math.max(!b?e.body.scrollWidth:e.documentElement.scrollWidth,h.getViewportWidth())},getViewportHeight:function(){return Ext.isIE?(Ext.isStrict?e.documentElement.clientHeight:e.body.clientHeight):self.innerHeight},getViewportWidth:function(){return(!Ext.isStrict&&!Ext.isOpera)?e.body.clientWidth:Ext.isIE?e.documentElement.clientWidth:self.innerWidth},getY:function(i){return h.getXY(i)[1]},getX:function(i){return h.getXY(i)[0]},getXY:function(k){var j,r,t,w,l,m,v=0,s=0,u,i,n=(e.body||e.documentElement),q=[0,0];k=Ext.getDom(k);if(k!=n){i=a(k).isStyle("position","absolute");if(k.getBoundingClientRect){t=k.getBoundingClientRect();u=a(document).getScroll();q=[Math.round(t.left+u.left),Math.round(t.top+u.top)]}else{j=k;while(j){r=a(j);v+=j.offsetLeft;s+=j.offsetTop;i=i||r.isStyle("position","absolute");if(Ext.isGecko){s+=w=parseInt(r.getStyle("borderTopWidth"),10)||0;v+=l=parseInt(r.getStyle("borderLeftWidth"),10)||0;if(j!=k&&!r.isStyle("overflow","visible")){v+=l;s+=w}}j=j.offsetParent}if(Ext.isSafari&&i){v-=n.offsetLeft;s-=n.offsetTop}if(Ext.isGecko&&!i){m=a(n);v+=parseInt(m.getStyle("borderLeftWidth"),10)||0;s+=parseInt(m.getStyle("borderTopWidth"),10)||0}j=k.parentNode;while(j&&j!=n){if(!Ext.isOpera||(j.tagName!="TR"&&!a(j).isStyle("display","inline"))){v-=j.scrollLeft;s-=j.scrollTop}j=j.parentNode}q=[v,s]}}return q},setXY:function(j,k){(j=Ext.fly(j,"_setXY")).position();var l=j.translatePoints(k),i=j.dom.style,m;for(m in l){if(!isNaN(l[m])){i[m]=l[m]+"px"}}},setX:function(j,i){h.setXY(j,[i,false])},setY:function(i,j){h.setXY(i,[false,j])},serializeForm:function(p){var n=p.elements||(document.forms[p]||Ext.getDom(p)).elements,i=false,m=encodeURIComponent,j,q="",l,k;Ext.each(n,function(r){j=r.name;l=r.type;if(!r.disabled&&j){if(/select-(one|multiple)/i.test(l)){Ext.each(r.options,function(s){if(s.selected){k=s.hasAttribute?s.hasAttribute("value"):s.getAttributeNode("value").specified;q+=Ext.String.format("{0}={1}&",m(j),m(k?s.value:s.text))}})}else{if(!(/file|undefined|reset|button/i.test(l))){if(!(/radio|checkbox/i.test(l)&&!r.checked)&&!(l=="submit"&&i)){q+=m(j)+"="+m(r.value)+"&";i=/submit/i.test(l)}}}}});return q.substr(0,q.length-1)}})})();Ext.core.Element.addMethods({monitorMouseLeave:function(a,d,c){var e=this,g,b={mouseleave:function(h){g=setTimeout(Ext.Function.bind(d,c||e,[h]),a)},mouseenter:function(){clearTimeout(g)},freezeEvent:true};e.on(b);return b},swallowEvent:function(a,b){var d=this;function c(g){g.stopPropagation();if(b){g.preventDefault()}}if(Ext.isArray(a)){Ext.each(a,function(g){d.on(g,c)});return d}d.on(a,c);return d},relayEvent:function(a,b){this.on(a,function(c){b.fireEvent(a,c)})},clean:function(b){var d=this,e=d.dom,g=e.firstChild,a,c=-1;if(Ext.core.Element.data(e,"isCleaned")&&b!==true){return d}while(g){a=g.nextSibling;if(g.nodeType==3){if(!(/\S/.test(g.nodeValue))){e.removeChild(g)}else{if(a&&a.nodeType==3){g.appendData(Ext.String.trim(a.data));e.removeChild(a);a=g.nextSibling;g.nodeIndex=++c}}}else{Ext.fly(g).clean();g.nodeIndex=++c}g=a}Ext.core.Element.data(e,"isCleaned",true);return d},load:function(a){this.getLoader().load(a);return this},getLoader:function(){var c=this.dom,b=Ext.core.Element.data,a=b(c,"loader");if(!a){a=Ext.create("Ext.ElementLoader",{target:this});b(c,"loader",a)}return a},update:function(html,loadScripts,callback){var me=this,id,dom,interval;if(!me.dom){return me}html=html||"";dom=me.dom;if(loadScripts!==true){dom.innerHTML=html;Ext.callback(callback,me);return me}id=Ext.id();html+='';interval=setInterval(function(){if(!document.getElementById(id)){return false}clearInterval(interval);var DOC=document,hd=DOC.getElementsByTagName("head")[0],re=/(?:]*)?>)((\n|\r|.)*?)(?:<\/script>)/ig,srcRe=/\ssrc=([\'\"])(.*?)\1/i,typeRe=/\stype=([\'\"])(.*?)\1/i,match,attrs,srcMatch,typeMatch,el,s;while((match=re.exec(html))){attrs=match[1];srcMatch=attrs?attrs.match(srcRe):false;if(srcMatch&&srcMatch[2]){s=DOC.createElement("script");s.src=srcMatch[2];typeMatch=attrs.match(typeRe);if(typeMatch&&typeMatch[2]){s.type=typeMatch[2]}hd.appendChild(s)}else{if(match[2]&&match[2].length>0){if(window.execScript){window.execScript(match[2])}else{window.eval(match[2])}}}}el=DOC.getElementById(id);if(el){Ext.removeNode(el)}Ext.callback(callback,me)},20);dom.innerHTML=html.replace(/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,"");return me},removeAllListeners:function(){this.removeAnchor();Ext.EventManager.removeAll(this.dom);return this},createProxy:function(a,e,d){a=(typeof a=="object")?a:{tag:"div",cls:a};var c=this,b=e?Ext.core.DomHelper.append(e,a,true):Ext.core.DomHelper.insertBefore(c.dom,a,true);b.setVisibilityMode(Ext.core.Element.DISPLAY);b.hide();if(d&&c.setBox&&c.getBox){b.setBox(c.getBox())}return b}});Ext.core.Element.prototype.clearListeners=Ext.core.Element.prototype.removeAllListeners;Ext.core.Element.addMethods({getAnchorXY:function(e,l,q){e=(e||"tl").toLowerCase();q=q||{};var k=this,b=k.dom==document.body||k.dom==document,n=q.width||b?Ext.core.Element.getViewWidth():k.getWidth(),i=q.height||b?Ext.core.Element.getViewHeight():k.getHeight(),p,a=Math.round,c=k.getXY(),m=k.getScroll(),j=b?m.left:!l?c[0]:0,g=b?m.top:!l?c[1]:0,d={c:[a(n*0.5),a(i*0.5)],t:[a(n*0.5),0],l:[0,a(i*0.5)],r:[n,a(i*0.5)],b:[a(n*0.5),i],tl:[0,0],bl:[0,i],br:[n,i],tr:[n,0]};p=d[e];return[p[0]+j,p[1]+g]},anchorTo:function(b,h,c,a,k,l){var i=this,e=i.dom,j=!Ext.isEmpty(k),d=function(){Ext.fly(e).alignTo(b,h,c,a);Ext.callback(l,Ext.fly(e))},g=this.getAnchor();this.removeAnchor();Ext.apply(g,{fn:d,scroll:j});Ext.EventManager.onWindowResize(d,null);if(j){Ext.EventManager.on(window,"scroll",d,null,{buffer:!isNaN(k)?k:50})}d.call(i);return i},removeAnchor:function(){var b=this,a=this.getAnchor();if(a&&a.fn){Ext.EventManager.removeResizeListener(a.fn);if(a.scroll){Ext.EventManager.un(window,"scroll",a.fn)}delete a.fn}return b},getAnchor:function(){var b=Ext.core.Element.data,c=this.dom;if(!c){return}var a=b(c,"_anchor");if(!a){a=b(c,"_anchor",{})}return a},getAlignVector:function(c,a,h){var d=this,b={t:"top",l:"left",r:"right",b:"bottom"},e=d.getRegion(),g;c=Ext.get(c);if(!c||!c.dom){}g=c.getRegion()},getAlignToXY:function(g,A,B){g=Ext.get(g);if(!g||!g.dom){}B=B||[0,0];A=(!A||A=="?"?"tl-bl?":(!(/-/).test(A)&&A!==""?"tl-"+A:A||"tl-bl")).toLowerCase();var K=this,H=K.dom,M,L,n,l,s,F,v,t=Ext.core.Element.getViewWidth()-10,G=Ext.core.Element.getViewHeight()-10,b,i,j,k,u,z,N=document,J=N.documentElement,q=N.body,E=(J.scrollLeft||q.scrollLeft||0)+5,D=(J.scrollTop||q.scrollTop||0)+5,I=false,e="",a="",C=A.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!C){}e=C[1];a=C[2];I=!!C[3];M=K.getAnchorXY(e,true);L=g.getAnchorXY(a,false);n=L[0]-M[0]+B[0];l=L[1]-M[1]+B[1];if(I){s=K.getWidth();F=K.getHeight();v=g.getRegion();b=e.charAt(0);i=e.charAt(e.length-1);j=a.charAt(0);k=a.charAt(a.length-1);u=((b=="t"&&j=="b")||(b=="b"&&j=="t"));z=((i=="r"&&k=="l")||(i=="l"&&k=="r"));if(n+s>t+E){n=z?v.left-s:t+E-s}if(nG+D){l=u?v.top-F:G+D-F}if(ld.right){c=true;a[0]=(d.right-g.right)}if(g.left+a[0]d.bottom){c=true;a[1]=(d.bottom-g.bottom)}if(g.top+a[1]a.clientHeight||a.scrollWidth>a.clientWidth},getScroll:function(){var i=this.dom,h=document,a=h.body,c=h.documentElement,b,g,e;if(i==h||i==a){if(Ext.isIE&&Ext.isStrict){b=c.scrollLeft;g=c.scrollTop}else{b=window.pageXOffset;g=window.pageYOffset}e={left:b||(a?a.scrollLeft:0),top:g||(a?a.scrollTop:0)}}else{e={left:i.scrollLeft,top:i.scrollTop}}return e},scrollTo:function(b,d,a){var g=/top/i.test(b),c=this,h=c.dom,e={},i;if(!a||!c.anim){i="scroll"+(g?"Top":"Left");h[i]=d}else{if(!Ext.isObject(a)){a={}}e["scroll"+(g?"Top":"Left")]=d;c.animate(Ext.applyIf({to:e},a))}return c},scrollIntoView:function(b,e){b=Ext.getDom(b)||Ext.getBody().dom;var c=this.dom,h=this.getOffsetsTo(b),g=h[0]+b.scrollLeft,j=h[1]+b.scrollTop,a=j+c.offsetHeight,k=g+c.offsetWidth,n=b.clientHeight,m=parseInt(b.scrollTop,10),d=parseInt(b.scrollLeft,10),i=m+n,l=d+b.clientWidth;if(c.offsetHeight>n||ji){b.scrollTop=a-n}}b.scrollTop=b.scrollTop;if(e!==false){if(c.offsetWidth>b.clientWidth||gl){b.scrollLeft=k-b.clientWidth}}b.scrollLeft=b.scrollLeft}return this},scrollChildIntoView:function(b,a){Ext.fly(b,"_scrollChildIntoView").scrollIntoView(this,a)},scroll:function(m,b,d){if(!this.isScrollable()){return false}var e=this.dom,g=e.scrollLeft,q=e.scrollTop,n=e.scrollWidth,k=e.scrollHeight,i=e.clientWidth,a=e.clientHeight,c=false,p,j={l:Math.min(g+b,n-i),r:p=Math.max(g-b,0),t:Math.max(q-b,0),b:Math.min(q+b,k-a)};j.d=j.b;j.u=j.t;m=m.substr(0,1);if((p=j[m])>-1){c=true;this.scrollTo(m=="l"||m=="r"?"left":"top",p,this.anim(d))}return c}});Ext.core.Element.addMethods(function(){var d="visibility",b="display",a="hidden",h="none",c=Ext.baseCSSPrefix+"masked",g=Ext.baseCSSPrefix+"masked-relative",e=Ext.core.Element.data;return{isVisible:function(i){var j=!this.isStyle(d,a)&&!this.isStyle(b,h),k=this.dom.parentNode;if(i!==true||!j){return j}while(k&&!(/^body/i.test(k.tagName))){if(!Ext.fly(k,"_isVisible").isVisible()){return false}k=k.parentNode}return true},isDisplayed:function(){return !this.isStyle(b,h)},enableDisplayMode:function(i){this.setVisibilityMode(Ext.core.Element.DISPLAY);if(!Ext.isEmpty(i)){e(this.dom,"originalDisplay",i)}return this},mask:function(j,p){var r=this,l=r.dom,m=l.style.setExpression,q=Ext.core.DomHelper,n=Ext.baseCSSPrefix+"mask-msg",i,s;if(!(/^body/i.test(l.tagName)&&r.getStyle("position")=="static")){r.addCls(g)}i=e(l,"maskMsg");if(i){i.remove()}i=e(l,"mask");if(i){i.remove()}s=q.append(l,{cls:Ext.baseCSSPrefix+"mask"},true);e(l,"mask",s);r.addCls(c);s.setDisplayed(true);if(typeof j=="string"){var k=q.append(l,{cls:n,cn:{tag:"div"}},true);e(l,"maskMsg",k);k.dom.className=p?n+" "+p:n;k.dom.firstChild.innerHTML=j;k.setDisplayed(true);k.center(r)}if(!Ext.supports.IncludePaddingInWidthCalculation&&m){s.dom.style.setExpression("width",'this.parentNode.offsetWidth + "px"')}if(!Ext.supports.IncludePaddingInHeightCalculation&&m){s.dom.style.setExpression("height",'this.parentNode.offsetHeight + "px"')}else{if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&r.getStyle("height")=="auto"){s.setSize(undefined,r.getHeight())}}return s},unmask:function(){var k=this,l=k.dom,i=e(l,"mask"),j=e(l,"maskMsg");if(i){if(i.dom.style.clearExpression){i.dom.style.clearExpression("width");i.dom.style.clearExpression("height")}if(j){j.remove();e(l,"maskMsg",undefined)}i.remove();e(l,"mask",undefined);k.removeCls([c,g])}},isMasked:function(){var k=this,i=e(k.dom,"mask"),j=e(k.dom,"maskMsg");if(i&&i.isVisible()){if(j){j.center(k)}return true}return false},createShim:function(){var i=document.createElement("iframe"),j;i.frameBorder="0";i.className=Ext.baseCSSPrefix+"shim";i.src=Ext.SSL_SECURE_URL;j=Ext.get(this.dom.parentNode.insertBefore(i,this.dom));j.autoBoxAdjust=false;return j}}}());Ext.core.Element.addMethods({addKeyListener:function(b,d,c){var a;if(typeof b!="object"||Ext.isArray(b)){a={key:b,fn:d,scope:c}}else{a={key:b.key,shift:b.shift,ctrl:b.ctrl,alt:b.alt,fn:d,scope:c}}return Ext.create("Ext.util.KeyMap",this,a)},addKeyMap:function(a){return Ext.create("Ext.util.KeyMap",this,a)}});Ext.CompositeElementLite.importElementMethods();Ext.apply(Ext.CompositeElementLite.prototype,{addElements:function(c,a){if(!c){return this}if(typeof c=="string"){c=Ext.core.Element.selectorFunction(c,a)}var b=this.elements;Ext.each(c,function(d){b.push(Ext.get(d))});return this},first:function(){return this.item(0)},last:function(){return this.item(this.getCount()-1)},contains:function(a){return this.indexOf(a)!=-1},removeElement:function(d,e){var c=this,a=this.elements,b;Ext.each(d,function(g){if((b=(a[g]||a[g=c.indexOf(g)]))){if(e){if(b.dom){b.remove()}else{Ext.removeNode(b)}}Ext.Array.erase(a,g,1)}});return this}});Ext.CompositeElement=Ext.extend(Ext.CompositeElementLite,{constructor:function(b,a){this.elements=[];this.add(b,a)},getElement:function(a){return a},transformElement:function(a){return Ext.get(a)}});Ext.core.Element.select=function(a,d,b){var c;if(typeof a=="string"){c=Ext.core.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{}}return(d===true)?new Ext.CompositeElement(c):new Ext.CompositeElementLite(c)};Ext.select=Ext.core.Element.select;(function(){var h={nameToAliasesMap:{"Ext.AbstractComponent":[""],"Ext.AbstractManager":[""],"Ext.AbstractPlugin":[""],"Ext.Ajax":[""],"Ext.ComponentLoader":[""],"Ext.ComponentManager":[""],"Ext.ComponentQuery":[""],"Ext.ElementLoader":[""],"Ext.LoadMask":[""],"Ext.ModelManager":[""],"Ext.PluginManager":[""],"Ext.Template":[""],"Ext.XTemplate":[""],"Ext.app.Application":[""],"Ext.app.Controller":[""],"Ext.app.EventBus":[""],"Ext.chart.Callout":[""],"Ext.chart.Chart":["widget.chart"],"Ext.chart.Highlight":[""],"Ext.chart.Label":[""],"Ext.chart.Legend":[""],"Ext.chart.LegendItem":[""],"Ext.chart.Mask":[""],"Ext.chart.MaskLayer":[""],"Ext.chart.Navigation":[""],"Ext.chart.Shape":[""],"Ext.chart.Tip":[""],"Ext.chart.TipSurface":[""],"Ext.chart.axis.Abstract":[""],"Ext.chart.axis.Axis":[""],"Ext.chart.axis.Category":["axis.category"],"Ext.chart.axis.Gauge":["axis.gauge"],"Ext.chart.axis.Numeric":["axis.numeric"],"Ext.chart.axis.Radial":["axis.radial"],"Ext.chart.axis.Time":["axis.time"],"Ext.chart.series.Area":["series.area"],"Ext.chart.series.Bar":["series.bar"],"Ext.chart.series.Cartesian":[""],"Ext.chart.series.Column":["series.column"],"Ext.chart.series.Gauge":["series.gauge"],"Ext.chart.series.Line":["series.line"],"Ext.chart.series.Pie":["series.pie"],"Ext.chart.series.Radar":["series.radar"],"Ext.chart.series.Scatter":["series.scatter"],"Ext.chart.series.Series":[""],"Ext.chart.theme.Base":[""],"Ext.chart.theme.Theme":[""],"Ext.container.AbstractContainer":[""],"Ext.data.AbstractStore":[""],"Ext.data.ArrayStore":["store.array"],"Ext.data.Association":[""],"Ext.data.Batch":[""],"Ext.data.BelongsToAssociation":["association.belongsto"],"Ext.data.BufferStore":["store.buffer"],"Ext.data.Connection":[""],"Ext.data.DirectStore":["store.direct"],"Ext.data.Errors":[""],"Ext.data.Field":["data.field"],"Ext.data.HasManyAssociation":["association.hasmany"],"Ext.data.JsonP":[""],"Ext.data.JsonPStore":["store.jsonp"],"Ext.data.JsonStore":["store.json"],"Ext.data.Model":[""],"Ext.data.NodeInterface":[""],"Ext.data.NodeStore":["store.node"],"Ext.data.Operation":[""],"Ext.data.Request":[""],"Ext.data.ResultSet":[""],"Ext.data.SortTypes":[""],"Ext.data.Store":["store.store"],"Ext.data.StoreManager":[""],"Ext.data.Tree":["data.tree"],"Ext.data.TreeStore":["store.tree"],"Ext.data.Types":[""],"Ext.data.validations":[""],"Ext.data.XmlStore":["store.xml"],"Ext.data.proxy.Ajax":["proxy.ajax"],"Ext.data.proxy.Client":[""],"Ext.data.proxy.Direct":["proxy.direct"],"Ext.data.proxy.JsonP":["proxy.jsonp","proxy.scripttag"],"Ext.data.proxy.LocalStorage":["proxy.localstorage"],"Ext.data.proxy.Memory":["proxy.memory"],"Ext.data.proxy.Proxy":["proxy.proxy"],"Ext.data.proxy.Rest":["proxy.rest"],"Ext.data.proxy.Server":["proxy.server"],"Ext.data.proxy.SessionStorage":["proxy.sessionstorage"],"Ext.data.proxy.WebStorage":[""],"Ext.data.reader.Array":["reader.array"],"Ext.data.reader.Json":["reader.json"],"Ext.data.reader.Reader":[""],"Ext.data.reader.Xml":["reader.xml"],"Ext.data.writer.Json":["writer.json"],"Ext.data.writer.Writer":["writer.base"],"Ext.data.writer.Xml":["writer.xml"],"Ext.direct.Event":["direct.event"],"Ext.direct.ExceptionEvent":["direct.exception"],"Ext.direct.JsonProvider":["direct.jsonprovider"],"Ext.direct.Manager":[""],"Ext.direct.PollingProvider":["direct.pollingprovider"],"Ext.direct.Provider":["direct.provider"],"Ext.direct.RemotingEvent":["direct.rpc"],"Ext.direct.RemotingMethod":[""],"Ext.direct.RemotingProvider":["direct.remotingprovider"],"Ext.direct.Transaction":["direct.transaction"],"Ext.draw.Color":[""],"Ext.draw.Component":["widget.draw"],"Ext.draw.CompositeSprite":[""],"Ext.draw.Draw":[""],"Ext.draw.Matrix":[""],"Ext.draw.Sprite":[""],"Ext.draw.SpriteDD":[""],"Ext.draw.Surface":[""],"Ext.draw.engine.Svg":[""],"Ext.draw.engine.Vml":[""],"Ext.fx.Anim":[""],"Ext.fx.Animator":[""],"Ext.fx.CubicBezier":[""],"Ext.fx.Easing":[],"Ext.fx.Manager":[""],"Ext.fx.PropertyHandler":[""],"Ext.fx.Queue":[""],"Ext.fx.target.Component":[""],"Ext.fx.target.CompositeElement":[""],"Ext.fx.target.CompositeElementCSS":[""],"Ext.fx.target.CompositeSprite":[""],"Ext.fx.target.Element":[""],"Ext.fx.target.ElementCSS":[""],"Ext.fx.target.Sprite":[""],"Ext.fx.target.Target":[""],"Ext.layout.Layout":[""],"Ext.layout.component.AbstractDock":[""],"Ext.layout.component.Auto":["layout.autocomponent"],"Ext.layout.component.Component":[""],"Ext.layout.component.Draw":["layout.draw"],"Ext.layout.container.AbstractCard":[""],"Ext.layout.container.AbstractContainer":[""],"Ext.layout.container.AbstractFit":[""],"Ext.layout.container.Auto":["layout.auto","layout.autocontainer"],"Ext.panel.AbstractPanel":[""],"Ext.selection.DataViewModel":[""],"Ext.selection.Model":[""],"Ext.state.CookieProvider":[""],"Ext.state.LocalStorageProvider":["state.localstorage"],"Ext.state.Manager":[""],"Ext.state.Provider":[""],"Ext.state.Stateful":[""],"Ext.util.AbstractMixedCollection":[""],"Ext.util.Filter":[""],"Ext.util.Grouper":[""],"Ext.util.HashMap":[""],"Ext.util.Inflector":[""],"Ext.util.Memento":[""],"Ext.util.MixedCollection":[""],"Ext.util.Observable":[""],"Ext.util.Offset":[""],"Ext.util.Point":[""],"Ext.util.Region":[""],"Ext.util.Sortable":[""],"Ext.util.Sorter":[""],"Ext.view.AbstractView":[""],"Ext.Action":[""],"Ext.Component":["widget.component","widget.box"],"Ext.Editor":["widget.editor"],"Ext.FocusManager":[""],"Ext.Img":["widget.image","widget.imagecomponent"],"Ext.Layer":[""],"Ext.ProgressBar":["widget.progressbar"],"Ext.Shadow":[""],"Ext.ShadowPool":[""],"Ext.ZIndexManager":[""],"Ext.button.Button":["widget.button"],"Ext.button.Cycle":["widget.cycle"],"Ext.button.Split":["widget.splitbutton"],"Ext.container.ButtonGroup":["widget.buttongroup"],"Ext.container.Container":["widget.container"],"Ext.container.Viewport":["widget.viewport"],"Ext.dd.DD":[""],"Ext.dd.DDProxy":[""],"Ext.dd.DDTarget":[""],"Ext.dd.DragDrop":[""],"Ext.dd.DragDropManager":[""],"Ext.dd.DragSource":[""],"Ext.dd.DragTracker":[""],"Ext.dd.DragZone":[""],"Ext.dd.DropTarget":[""],"Ext.dd.DropZone":[""],"Ext.dd.Registry":[""],"Ext.dd.ScrollManager":[""],"Ext.dd.StatusProxy":[""],"Ext.flash.Component":["widget.flash"],"Ext.form.Basic":[""],"Ext.form.CheckboxGroup":["widget.checkboxgroup"],"Ext.form.CheckboxManager":[""],"Ext.form.FieldAncestor":[""],"Ext.form.FieldContainer":["widget.fieldcontainer"],"Ext.form.FieldSet":["widget.fieldset"],"Ext.form.Label":["widget.label"],"Ext.form.Labelable":[""],"Ext.form.Panel":["widget.form"],"Ext.form.RadioGroup":["widget.radiogroup"],"Ext.form.RadioManager":[""],"Ext.form.action.Action":[""],"Ext.form.action.DirectLoad":["formaction.directload"],"Ext.form.action.DirectSubmit":["formaction.directsubmit"],"Ext.form.action.Load":["formaction.load"],"Ext.form.action.StandardSubmit":["formaction.standardsubmit"],"Ext.form.action.Submit":["formaction.submit"],"Ext.form.field.Base":["widget.field"],"Ext.form.field.Checkbox":["widget.checkboxfield","widget.checkbox"],"Ext.form.field.ComboBox":["widget.combobox","widget.combo"],"Ext.form.field.Date":["widget.datefield"],"Ext.form.field.Display":["widget.displayfield"],"Ext.form.field.Field":[""],"Ext.form.field.File":["widget.filefield","widget.fileuploadfield"],"Ext.form.field.Hidden":["widget.hiddenfield","widget.hidden"],"Ext.form.field.HtmlEditor":["widget.htmleditor"],"Ext.form.field.Number":["widget.numberfield"],"Ext.form.field.Picker":["widget.pickerfield"],"Ext.form.field.Radio":["widget.radiofield","widget.radio"],"Ext.form.field.Spinner":["widget.spinnerfield"],"Ext.form.field.Text":["widget.textfield"],"Ext.form.field.TextArea":["widget.textareafield","widget.textarea"],"Ext.form.field.Time":["widget.timefield"],"Ext.form.field.Trigger":["widget.triggerfield","widget.trigger"],"Ext.form.field.VTypes":[""],"Ext.grid.CellEditor":[""],"Ext.grid.ColumnLayout":["layout.gridcolumn"],"Ext.grid.Lockable":[""],"Ext.grid.LockingView":[""],"Ext.grid.PagingScroller":["widget.paginggridscroller"],"Ext.grid.Panel":["widget.gridpanel","widget.grid"],"Ext.grid.RowEditor":[""],"Ext.grid.RowNumberer":["widget.rownumberer"],"Ext.grid.Scroller":["widget.gridscroller"],"Ext.grid.View":["widget.gridview"],"Ext.grid.ViewDropZone":[""],"Ext.grid.column.Action":["widget.actioncolumn"],"Ext.grid.column.Boolean":["widget.booleancolumn"],"Ext.grid.column.Column":["widget.gridcolumn"],"Ext.grid.column.Date":["widget.datecolumn"],"Ext.grid.column.Number":["widget.numbercolumn"],"Ext.grid.column.Template":["widget.templatecolumn"],"Ext.grid.feature.AbstractSummary":["feature.abstractsummary"],"Ext.grid.feature.Chunking":["feature.chunking"],"Ext.grid.feature.Feature":["feature.feature"],"Ext.grid.feature.Grouping":["feature.grouping"],"Ext.grid.feature.GroupingSummary":["feature.groupingsummary"],"Ext.grid.feature.RowBody":["feature.rowbody"],"Ext.grid.feature.RowWrap":["feature.rowwrap"],"Ext.grid.feature.Summary":["feature.summary"],"Ext.grid.header.Container":["widget.headercontainer"],"Ext.grid.header.DragZone":[""],"Ext.grid.header.DropZone":[""],"Ext.grid.plugin.CellEditing":["plugin.cellediting"],"Ext.grid.plugin.DragDrop":["plugin.gridviewdragdrop"],"Ext.grid.plugin.Editing":["editing.editing"],"Ext.grid.plugin.HeaderReorderer":["plugin.gridheaderreorderer"],"Ext.grid.plugin.HeaderResizer":["plugin.gridheaderresizer"],"Ext.grid.plugin.RowEditing":["plugin.rowediting"],"Ext.grid.property.Grid":["widget.propertygrid"],"Ext.grid.property.HeaderContainer":[""],"Ext.grid.property.Property":[""],"Ext.grid.property.Store":[""],"Ext.layout.component.Body":["layout.body"],"Ext.layout.component.BoundList":["layout.boundlist"],"Ext.layout.component.Button":["layout.button"],"Ext.layout.component.Dock":["layout.dock"],"Ext.layout.component.Editor":["layout.editor"],"Ext.layout.component.FieldSet":["layout.fieldset"],"Ext.layout.component.ProgressBar":["layout.progressbar"],"Ext.layout.component.Tab":["layout.tab"],"Ext.layout.component.Tip":["layout.tip"],"Ext.layout.component.field.Field":["layout.field"],"Ext.layout.component.field.File":["layout.filefield"],"Ext.layout.component.field.HtmlEditor":["layout.htmleditor"],"Ext.layout.component.field.Slider":["layout.sliderfield"],"Ext.layout.component.field.Text":["layout.textfield"],"Ext.layout.component.field.TextArea":["layout.textareafield"],"Ext.layout.component.field.Trigger":["layout.triggerfield"],"Ext.layout.container.Absolute":["layout.absolute"],"Ext.layout.container.Accordion":["layout.accordion"],"Ext.layout.container.Anchor":["layout.anchor"],"Ext.layout.container.Border":["layout.border"],"Ext.layout.container.Box":["layout.box"],"Ext.layout.container.Card":["layout.card"],"Ext.layout.container.CheckboxGroup":["layout.checkboxgroup"],"Ext.layout.container.Column":["layout.column"],"Ext.layout.container.Container":[""],"Ext.layout.container.Fit":["layout.fit"],"Ext.layout.container.HBox":["layout.hbox"],"Ext.layout.container.Table":["layout.table"],"Ext.layout.container.VBox":["layout.vbox"],"Ext.layout.container.boxOverflow.Menu":[""],"Ext.layout.container.boxOverflow.None":[""],"Ext.layout.container.boxOverflow.Scroller":[""],"Ext.menu.CheckItem":["widget.menucheckitem"],"Ext.menu.ColorPicker":["widget.colormenu"],"Ext.menu.DatePicker":["widget.datemenu"],"Ext.menu.Item":["widget.menuitem"],"Ext.menu.KeyNav":[""],"Ext.menu.Manager":[""],"Ext.menu.Menu":["widget.menu"],"Ext.menu.Separator":["widget.menuseparator"],"Ext.panel.DD":[""],"Ext.panel.Header":["widget.header"],"Ext.panel.Panel":["widget.panel"],"Ext.panel.Proxy":[""],"Ext.panel.Table":["widget.tablepanel"],"Ext.panel.Tool":["widget.tool"],"Ext.picker.Color":["widget.colorpicker"],"Ext.picker.Date":["widget.datepicker"],"Ext.picker.Month":["widget.monthpicker"],"Ext.picker.Time":["widget.timepicker"],"Ext.resizer.Handle":[""],"Ext.resizer.Resizer":[""],"Ext.resizer.ResizeTracker":[""],"Ext.resizer.Splitter":["widget.splitter"],"Ext.resizer.SplitterTracker":[""],"Ext.selection.CellModel":["selection.cellmodel"],"Ext.selection.CheckboxModel":["selection.checkboxmodel"],"Ext.selection.RowModel":["selection.rowmodel"],"Ext.selection.TreeModel":["selection.treemodel"],"Ext.slider.Multi":["widget.multislider"],"Ext.slider.Single":["widget.slider","widget.sliderfield"],"Ext.slider.Thumb":[""],"Ext.slider.Tip":["widget.slidertip"],"Ext.tab.Bar":["widget.tabbar"],"Ext.tab.Panel":["widget.tabpanel"],"Ext.tab.Tab":["widget.tab"],"Ext.tip.QuickTip":[""],"Ext.tip.QuickTipManager":[""],"Ext.tip.Tip":[""],"Ext.tip.ToolTip":["widget.tooltip"],"Ext.toolbar.Fill":["widget.tbfill"],"Ext.toolbar.Item":["widget.tbitem"],"Ext.toolbar.Paging":["widget.pagingtoolbar"],"Ext.toolbar.Separator":["widget.tbseparator"],"Ext.toolbar.Spacer":["widget.tbspacer"],"Ext.toolbar.TextItem":["widget.tbtext"],"Ext.toolbar.Toolbar":["widget.toolbar"],"Ext.tree.Column":["widget.treecolumn"],"Ext.tree.Panel":["widget.treepanel"],"Ext.tree.View":["widget.treeview"],"Ext.tree.ViewDragZone":[""],"Ext.tree.ViewDropZone":[""],"Ext.tree.plugin.TreeViewDragDrop":["plugin.treeviewdragdrop"],"Ext.util.Animate":[""],"Ext.util.ClickRepeater":[""],"Ext.util.ComponentDragger":[""],"Ext.util.Cookies":[""],"Ext.util.CSS":[""],"Ext.util.Floating":[""],"Ext.util.History":[""],"Ext.util.KeyMap":[""],"Ext.util.KeyNav":[""],"Ext.util.TextMetrics":[""],"Ext.view.BoundList":["widget.boundlist"],"Ext.view.BoundListKeyNav":[""],"Ext.view.DragZone":[""],"Ext.view.DropZone":[""],"Ext.view.Table":["widget.tableview"],"Ext.view.TableChunker":[""],"Ext.view.View":["widget.dataview"],"Ext.window.MessageBox":["widget.messagebox"],"Ext.window.Window":["widget.window"]},alternateToNameMap:{"Ext.ComponentMgr":"Ext.ComponentManager","Ext.ModelMgr":"Ext.ModelManager","Ext.PluginMgr":"Ext.PluginManager","Ext.chart.Axis":"Ext.chart.axis.Axis","Ext.chart.CategoryAxis":"Ext.chart.axis.Category","Ext.chart.NumericAxis":"Ext.chart.axis.Numeric","Ext.chart.TimeAxis":"Ext.chart.axis.Time","Ext.chart.BarSeries":"Ext.chart.series.Bar","Ext.chart.BarChart":"Ext.chart.series.Bar","Ext.chart.StackedBarChart":"Ext.chart.series.Bar","Ext.chart.CartesianSeries":"Ext.chart.series.Cartesian","Ext.chart.CartesianChart":"Ext.chart.series.Cartesian","Ext.chart.ColumnSeries":"Ext.chart.series.Column","Ext.chart.ColumnChart":"Ext.chart.series.Column","Ext.chart.StackedColumnChart":"Ext.chart.series.Column","Ext.chart.LineSeries":"Ext.chart.series.Line","Ext.chart.LineChart":"Ext.chart.series.Line","Ext.chart.PieSeries":"Ext.chart.series.Pie","Ext.chart.PieChart":"Ext.chart.series.Pie","Ext.data.Record":"Ext.data.Model","Ext.StoreMgr":"Ext.data.StoreManager","Ext.data.StoreMgr":"Ext.data.StoreManager","Ext.StoreManager":"Ext.data.StoreManager","Ext.data.XmlStore":"Ext.data.XmlStore","Ext.data.HttpProxy":"Ext.data.proxy.Ajax","Ext.data.AjaxProxy":"Ext.data.proxy.Ajax","Ext.data.ClientProxy":"Ext.data.proxy.Client","Ext.data.DirectProxy":"Ext.data.proxy.Direct","Ext.data.ScriptTagProxy":"Ext.data.proxy.JsonP","Ext.data.LocalStorageProxy":"Ext.data.proxy.LocalStorage","Ext.data.MemoryProxy":"Ext.data.proxy.Memory","Ext.data.DataProxy":"Ext.data.proxy.Proxy","Ext.data.Proxy":"Ext.data.proxy.Proxy","Ext.data.RestProxy":"Ext.data.proxy.Rest","Ext.data.ServerProxy":"Ext.data.proxy.Server","Ext.data.SessionStorageProxy":"Ext.data.proxy.SessionStorage","Ext.data.WebStorageProxy":"Ext.data.proxy.WebStorage","Ext.data.ArrayReader":"Ext.data.reader.Array","Ext.data.JsonReader":"Ext.data.reader.Json","Ext.data.Reader":"Ext.data.reader.Reader","Ext.data.DataReader":"Ext.data.reader.Reader","Ext.data.XmlReader":"Ext.data.reader.Xml","Ext.data.JsonWriter":"Ext.data.writer.Json","Ext.data.DataWriter":"Ext.data.writer.Writer","Ext.data.Writer":"Ext.data.writer.Writer","Ext.data.XmlWriter":"Ext.data.writer.Xml","Ext.Direct.Transaction":"Ext.direct.Transaction","Ext.AbstractSelectionModel":"Ext.selection.Model","Ext.view.AbstractView":"Ext.view.AbstractView","Ext.FocusMgr":"Ext.FocusManager","Ext.WindowGroup":"Ext.ZIndexManager","Ext.Button":"Ext.button.Button","Ext.CycleButton":"Ext.button.Cycle","Ext.SplitButton":"Ext.button.Split","Ext.ButtonGroup":"Ext.container.ButtonGroup","Ext.Container":"Ext.container.Container","Ext.Viewport":"Ext.container.Viewport","Ext.dd.DragDropMgr":"Ext.dd.DragDropManager","Ext.dd.DDM":"Ext.dd.DragDropManager","Ext.FlashComponent":"Ext.flash.Component","Ext.form.BasicForm":"Ext.form.Basic","Ext.FormPanel":"Ext.form.Panel","Ext.form.FormPanel":"Ext.form.Panel","Ext.form.Action":"Ext.form.action.Action","Ext.form.Action.DirectLoad":"Ext.form.action.DirectLoad","Ext.form.Action.DirectSubmit":"Ext.form.action.DirectSubmit","Ext.form.Action.Load":"Ext.form.action.Load","Ext.form.Action.Submit":"Ext.form.action.Submit","Ext.form.Field":"Ext.form.field.Base","Ext.form.BaseField":"Ext.form.field.Base","Ext.form.Checkbox":"Ext.form.field.Checkbox","Ext.form.ComboBox":"Ext.form.field.ComboBox","Ext.form.DateField":"Ext.form.field.Date","Ext.form.Date":"Ext.form.field.Date","Ext.form.DisplayField":"Ext.form.field.Display","Ext.form.Display":"Ext.form.field.Display","Ext.form.FileUploadField":"Ext.form.field.File","Ext.ux.form.FileUploadField":"Ext.form.field.File","Ext.form.File":"Ext.form.field.File","Ext.form.Hidden":"Ext.form.field.Hidden","Ext.form.HtmlEditor":"Ext.form.field.HtmlEditor","Ext.form.NumberField":"Ext.form.field.Number","Ext.form.Number":"Ext.form.field.Number","Ext.form.Picker":"Ext.form.field.Picker","Ext.form.Radio":"Ext.form.field.Radio","Ext.form.Spinner":"Ext.form.field.Spinner","Ext.form.TextField":"Ext.form.field.Text","Ext.form.Text":"Ext.form.field.Text","Ext.form.TextArea":"Ext.form.field.TextArea","Ext.form.TimeField":"Ext.form.field.Time","Ext.form.Time":"Ext.form.field.Time","Ext.form.TriggerField":"Ext.form.field.Trigger","Ext.form.TwinTriggerField":"Ext.form.field.Trigger","Ext.form.Trigger":"Ext.form.field.Trigger","Ext.list.ListView":"Ext.grid.Panel","Ext.ListView":"Ext.grid.Panel","Ext.grid.GridPanel":"Ext.grid.Panel","Ext.grid.ActionColumn":"Ext.grid.column.Action","Ext.grid.BooleanColumn":"Ext.grid.column.Boolean","Ext.grid.Column":"Ext.grid.column.Column","Ext.grid.DateColumn":"Ext.grid.column.Date","Ext.grid.NumberColumn":"Ext.grid.column.Number","Ext.grid.TemplateColumn":"Ext.grid.column.Template","Ext.grid.PropertyGrid":"Ext.grid.property.Grid","Ext.grid.PropertyColumnModel":"Ext.grid.property.HeaderContainer","Ext.PropGridProperty":"Ext.grid.property.Property","Ext.grid.PropertyStore":"Ext.grid.property.Store","Ext.layout.AbsoluteLayout":"Ext.layout.container.Absolute","Ext.layout.AccordionLayout":"Ext.layout.container.Accordion","Ext.layout.AnchorLayout":"Ext.layout.container.Anchor","Ext.layout.BorderLayout":"Ext.layout.container.Border","Ext.layout.BoxLayout":"Ext.layout.container.Box","Ext.layout.CardLayout":"Ext.layout.container.Card","Ext.layout.ColumnLayout":"Ext.layout.container.Column","Ext.layout.ContainerLayout":"Ext.layout.container.Container","Ext.layout.FitLayout":"Ext.layout.container.Fit","Ext.layout.HBoxLayout":"Ext.layout.container.HBox","Ext.layout.TableLayout":"Ext.layout.container.Table","Ext.layout.VBoxLayout":"Ext.layout.container.VBox","Ext.layout.boxOverflow.Menu":"Ext.layout.container.boxOverflow.Menu","Ext.layout.boxOverflow.None":"Ext.layout.container.boxOverflow.None","Ext.layout.boxOverflow.Scroller":"Ext.layout.container.boxOverflow.Scroller","Ext.menu.TextItem":"Ext.menu.Item","Ext.menu.MenuMgr":"Ext.menu.Manager","Ext.Panel":"Ext.panel.Panel","Ext.dd.PanelProxy":"Ext.panel.Proxy","Ext.ColorPalette":"Ext.picker.Color","Ext.DatePicker":"Ext.picker.Date","Ext.MonthPicker":"Ext.picker.Month","Ext.Resizable":"Ext.resizer.Resizer","Ext.slider.MultiSlider":"Ext.slider.Multi","Ext.Slider":"Ext.slider.Single","Ext.form.SliderField":"Ext.slider.Single","Ext.slider.SingleSlider":"Ext.slider.Single","Ext.slider.Slider":"Ext.slider.Single","Ext.TabPanel":"Ext.tab.Panel","Ext.QuickTip":"Ext.tip.QuickTip","Ext.Tip":"Ext.tip.Tip","Ext.ToolTip":"Ext.tip.ToolTip","Ext.Toolbar.Fill":"Ext.toolbar.Fill","Ext.Toolbar.Item":"Ext.toolbar.Item","Ext.PagingToolbar":"Ext.toolbar.Paging","Ext.Toolbar.Separator":"Ext.toolbar.Separator","Ext.Toolbar.Spacer":"Ext.toolbar.Spacer","Ext.Toolbar.TextItem":"Ext.toolbar.TextItem","Ext.Toolbar":"Ext.toolbar.Toolbar","Ext.tree.TreePanel":"Ext.tree.Panel","Ext.TreePanel":"Ext.tree.Panel","Ext.History":"Ext.util.History","Ext.KeyMap":"Ext.util.KeyMap","Ext.KeyNav":"Ext.util.KeyNav","Ext.BoundList":"Ext.view.BoundList","Ext.DataView":"Ext.view.View","Ext.MessageBox":"Ext.window.MessageBox","Ext.Window":"Ext.window.Window"}};var g=document.getElementsByTagName("script"),n="",j,m,a,k;for(j=0,m=g.length;j0){for(j=0,m=c.length;j *{display:inline-block !important}.x-reset .x-abs-layout-item{position:absolute}.x-reset .x-border-layout-ct{background-color:#dfe8f6}.x-reset .x-border-region-slide-in{z-index:5}.x-reset .x-region-collapsed-placeholder{z-index:4}.x-reset .x-accordion-hd .x-panel-header-text{color:black;font-weight:normal}.x-reset .x-accordion-hd{background:#d9e7f8 !important;-moz-box-shadow:inset 0 0 0 0 #d9e7f8;-webkit-box-shadow:inset 0 0 0 0 #d9e7f8;-o-box-shadow:inset 0 0 0 0 #d9e7f8;box-shadow:inset 0 0 0 0 #d9e7f8}.x-reset .x-accordion-hd .x-tool-collapse-top,.x-reset .x-accordion-hd .x-tool-collapse-right,.x-reset .x-accordion-hd .x-tool-collapse-bottom,.x-reset .x-accordion-hd .x-tool-collapse-left{background-position:0 -255px}.x-reset .x-accordion-hd .x-tool-expand-top,.x-reset .x-accordion-hd .x-tool-expand-right,.x-reset .x-accordion-hd .x-tool-expand-bottom,.x-reset .x-accordion-hd .x-tool-expand-left{background-position:0 -240px}.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-top,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-right,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-bottom,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-left{background-position:-15px -255px}.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-top,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-right,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-bottom,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-left{background-position:-15px -240px}.x-reset .x-accordion-hd{border-width:1px 0 1px 0 !important;padding:4px 5px 5px 5px;border-top-color:#f3f7fb !important}.x-reset .x-accordion-body{border-width:0 !important}.x-reset .x-accordion-hd-sibling-expanded{border-top-color:#99bce8 !important;-moz-box-shadow:inset 0 1px 0 0 #f3f7fb;-webkit-box-shadow:inset 0 1px 0 0 #f3f7fb;-o-box-shadow:inset 0 1px 0 0 #f3f7fb;box-shadow:inset 0 1px 0 0 #f3f7fb}.x-reset .x-accordion-hd-last-collapsed{border-bottom-color:#d9e7f8 !important}.x-reset .x-frame-tl,.x-reset .x-frame-tr,.x-reset .x-frame-tc,.x-reset .x-frame-bl,.x-reset .x-frame-br,.x-reset .x-frame-bc{overflow:hidden;background-repeat:no-repeat}.x-reset .x-frame-tc,.x-reset .x-frame-bc{background-repeat:repeat-x}.x-reset .x-frame-mc{position:relative;background-repeat:repeat-x;overflow:hidden}.x-reset .x-box-scroller-left{float:left;height:100%;z-index:5}.x-reset .x-box-scroller-left .x-toolbar-scroll-left,.x-reset .x-box-scroller-left .x-tabbar-scroll-left{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat -18px 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-left.gif')}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-disabled,.x-reset .x-box-scroller-left .x-tabbar-scroll-left-disabled{background-position:-18px 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-reset .x-box-scroller-left .x-toolbar-scroll-left{background-image:url('../../resources/themes/images/default/toolbar/scroll-left.gif');background-position:-14px 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-disabled{background-position:-14px 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-reset .x-horizontal-box-overflow-body{float:left}.x-reset .x-box-scroller-right{float:right;height:100%;z-index:5}.x-reset .x-box-scroller-right .x-toolbar-scroll-right,.x-reset .x-box-scroller-right .x-tabbar-scroll-right{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat 0 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-right.gif')}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-18px 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-disabled,.x-reset .x-box-scroller-right .x-tabbar-scroll-right-disabled{background-position:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-reset .x-box-scroller-right .x-toolbar-scroll-right{background-image:url('../../resources/themes/images/default/toolbar/scroll-right.gif')}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-14px 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-disabled{background-position:0 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-reset .x-box-scroller-top .x-box-scroller{line-height:0;font-size:0}.x-reset .x-box-scroller-top .x-menu-scroll-top{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-top.gif');height:8px;cursor:pointer}.x-reset .x-box-scroller-bottom .x-box-scroller{line-height:0;font-size:0}.x-reset .x-box-scroller-bottom .x-menu-scroll-bottom{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-bottom.gif');height:8px;cursor:pointer}.x-reset .x-box-menu-right{float:right;padding-right:2px}.x-reset .x-column{float:left}.x-reset .x-ie6 .x-column{display:inline}.x-reset .x-tool{height:15px}.x-reset .x-tool img{overflow:hidden;width:15px;height:15px;cursor:pointer;background-color:transparent;background-repeat:no-repeat;background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');margin:0}.x-reset .x-panel-header-horizontal .x-tool,.x-reset .x-window-header-horizontal .x-tool{margin-left:2px}.x-reset .x-panel-header-vertical .x-tool,.x-reset .x-window-header-vertical .x-tool{margin-bottom:2px}.x-reset .x-tool-placeholder{visibility:hidden}.x-reset .x-tool-toggle{background-position:0 -60px}.x-reset .x-tool-over .x-tool-toggle{background-position:-15px -60px}.x-reset .x-panel-collapsed .x-tool-toggle,.x-reset .x-fieldset-collapsed .x-tool-toggle{background-position:0 -75px}.x-reset .x-panel-collapsed .x-tool-over .x-tool-toggle,.x-reset .x-fieldset-collapsed .x-tool-over .x-tool-toggle{background-position:-15px -75px}.x-reset .x-tool-close{background-position:0 0}.x-reset .x-tool-minimize{background-position:0 -15px}.x-reset .x-tool-maximize{background-position:0 -30px}.x-reset .x-tool-restore{background-position:0 -45px}.x-reset .x-tool-gear{background-position:0 -90px}.x-reset .x-tool-prev{background-position:0 -105px}.x-reset .x-tool-next{background-position:0 -120px}.x-reset .x-tool-pin{background-position:0 -135px}.x-reset .x-tool-unpin{background-position:0 -150px}.x-reset .x-tool-right{background-position:0 -165px}.x-reset .x-tool-left{background-position:0 -180px}.x-reset .x-tool-help{background-position:0 -300px}.x-reset .x-tool-save{background-position:0 -285px}.x-reset .x-tool-search{background-position:0 -270px}.x-reset .x-tool-minus{background-position:0 -255px}.x-reset .x-tool-plus{background-position:0 -240px}.x-reset .x-tool-refresh{background-position:0 -225px}.x-reset .x-tool-up{background-position:0 -210px}.x-reset .x-tool-down{background-position:0 -195px}.x-reset .x-tool-move{background-position:0 -375px}.x-reset .x-tool-resize{background-position:0 -360px}.x-reset .x-tool-collapse{background-position:0 -345px}.x-reset .x-tool-expand{background-position:0 -330px}.x-reset .x-tool-print{background-position:0 -315px}.x-reset .x-tool-expand-bottom,.x-reset .x-tool-collapse-bottom{background-position:0 -195px}.x-reset .x-tool-expand-top,.x-reset .x-tool-collapse-top{background-position:0 -210px}.x-reset .x-tool-expand-left,.x-reset .x-tool-collapse-left{background-position:0 -180px}.x-reset .x-tool-expand-right,.x-reset .x-tool-collapse-right{background-position:0 -165px}.x-reset .x-tool-over .x-tool-close{background-position:-15px 0}.x-reset .x-tool-over .x-tool-minimize{background-position:-15px -15px}.x-reset .x-tool-over .x-tool-maximize{background-position:-15px -30px}.x-reset .x-tool-over .x-tool-restore{background-position:-15px -45px}.x-reset .x-tool-over .x-tool-gear{background-position:-15px -90px}.x-reset .x-tool-over .x-tool-prev{background-position:-15px -105px}.x-reset .x-tool-over .x-tool-next{background-position:-15px -120px}.x-reset .x-tool-over .x-tool-pin{background-position:-15px -135px}.x-reset .x-tool-over .x-tool-unpin{background-position:-15px -150px}.x-reset .x-tool-over .x-tool-right{background-position:-15px -165px}.x-reset .x-tool-over .x-tool-left{background-position:-15px -180px}.x-reset .x-tool-over .x-tool-down{background-position:-15px -195px}.x-reset .x-tool-over .x-tool-up{background-position:-15px -210px}.x-reset .x-tool-over .x-tool-refresh{background-position:-15px -225px}.x-reset .x-tool-over .x-tool-plus{background-position:-15px -240px}.x-reset .x-tool-over .x-tool-minus{background-position:-15px -255px}.x-reset .x-tool-over .x-tool-search{background-position:-15px -270px}.x-reset .x-tool-over .x-tool-save{background-position:-15px -285px}.x-reset .x-tool-over .x-tool-help{background-position:-15px -300px}.x-reset .x-tool-over .x-tool-print{background-position:-15px -315px}.x-reset .x-tool-over .x-tool-expand{background-position:-15px -330px}.x-reset .x-tool-over .x-tool-collapse{background-position:-15px -345px}.x-reset .x-tool-over .x-tool-resize{background-position:-15px -360px}.x-reset .x-tool-over .x-tool-move{background-position:-15px -375px}.x-reset .x-tool-over .x-tool-expand-bottom,.x-reset .x-tool-over .x-tool-collapse-bottom{background-position:-15px -195px}.x-reset .x-tool-over .x-tool-expand-top,.x-reset .x-tool-over .x-tool-collapse-top{background-position:-15px -210px}.x-reset .x-tool-over .x-tool-expand-left,.x-reset .x-tool-over .x-tool-collapse-left{background-position:-15px -180px}.x-reset .x-tool-over .x-tool-expand-right,.x-reset .x-tool-over .x-tool-collapse-right{background-position:-15px -165px}.x-reset .x-horizontal-scroller-present .x-grid-body{border-bottom-width:0px}.x-reset .x-vertical-scroller-present .x-grid-body{border-right-width:0px}.x-reset .x-scroller{overflow:hidden}.x-reset .x-scroller-vertical{border:1px solid #99bce8;border-top-color:#c5c5c5}.x-reset .x-scroller-horizontal{border:1px solid #99bce8}.x-reset .x-vertical-scroller-present .x-scroller-horizontal{border-right-width:0px}.x-reset .x-scroller-ct{overflow:hidden;position:absolute;margin:0;padding:0;border:none;left:0px;top:0px;box-sizing:content-box !important;-ms-box-sizing:content-box !important;-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important}.x-reset .x-scroller-vertical .x-scroller-ct{overflow-y:scroll}.x-reset .x-scroller-horizontal .x-scroller-ct{overflow-x:scroll}.x-reset .x-html html,.x-reset .x-html address,.x-reset .x-html blockquote,.x-reset .x-html body,.x-reset .x-html dd,.x-reset .x-html div,.x-reset .x-html dl,.x-reset .x-html dt,.x-reset .x-html fieldset,.x-reset .x-html form,.x-reset .x-html frame,.x-reset .x-html frameset,.x-reset .x-html h1,.x-reset .x-html h2,.x-reset .x-html h3,.x-reset .x-html h4,.x-reset .x-html h5,.x-reset .x-html h6,.x-reset .x-html noframes,.x-reset .x-html ol,.x-reset .x-html p,.x-reset .x-html ul,.x-reset .x-html center,.x-reset .x-html dir,.x-reset .x-html hr,.x-reset .x-html menu,.x-reset .x-html pre{display:block}.x-reset .x-html li{display:list-item;list-style:disc}.x-reset .x-html head{display:none}.x-reset .x-html table{display:table}.x-reset .x-html tr{display:table-row}.x-reset .x-html thead{display:table-header-group}.x-reset .x-html tbody{display:table-row-group}.x-reset .x-html tfoot{display:table-footer-group}.x-reset .x-html col{display:table-column}.x-reset .x-html colgroup{display:table-column-group}.x-reset .x-html td,.x-reset .x-html th{display:table-cell}.x-reset .x-html caption{display:table-caption}.x-reset .x-html th{font-weight:bolder;text-align:center}.x-reset .x-html caption{text-align:center}.x-reset .x-html body{margin:8px}.x-reset .x-html h1{font-size:2em;margin:.67em 0}.x-reset .x-html h2{font-size:1.5em;margin:.75em 0}.x-reset .x-html h3{font-size:1.17em;margin:.83em 0}.x-reset .x-html h4,.x-reset .x-html p,.x-reset .x-html blockquote,.x-reset .x-html ul,.x-reset .x-html fieldset,.x-reset .x-html form,.x-reset .x-html ol,.x-reset .x-html dl,.x-reset .x-html dir,.x-reset .x-html menu{margin:1.12em 0}.x-reset .x-html h5{font-size:.83em;margin:1.5em 0}.x-reset .x-html h6{font-size:.75em;margin:1.67em 0}.x-reset .x-html h1,.x-reset .x-html h2,.x-reset .x-html h3,.x-reset .x-html h4,.x-reset .x-html h5,.x-reset .x-html h6,.x-reset .x-html b,.x-reset .x-html strong{font-weight:bolder}.x-reset .x-html blockquote{margin-left:40px;margin-right:40px}.x-reset .x-html i,.x-reset .x-html cite,.x-reset .x-html em,.x-reset .x-html var,.x-reset .x-html address{font-style:italic}.x-reset .x-html pre,.x-reset .x-html tt,.x-reset .x-html code,.x-reset .x-html kbd,.x-reset .x-html samp{font-family:monospace}.x-reset .x-html pre{white-space:pre}.x-reset .x-html button,.x-reset .x-html textarea,.x-reset .x-html input,.x-reset .x-html select{display:inline-block}.x-reset .x-html big{font-size:1.17em}.x-reset .x-html small,.x-reset .x-html sub,.x-reset .x-html sup{font-size:.83em}.x-reset .x-html sub{vertical-align:sub}.x-reset .x-html sup{vertical-align:super}.x-reset .x-html table{border-spacing:2px}.x-reset .x-html thead,.x-reset .x-html tbody,.x-reset .x-html tfoot{vertical-align:middle}.x-reset .x-html td,.x-reset .x-html th{vertical-align:inherit}.x-reset .x-html s,.x-reset .x-html strike,.x-reset .x-html del{text-decoration:line-through}.x-reset .x-html hr{border:1px inset}.x-reset .x-html ol,.x-reset .x-html ul,.x-reset .x-html dir,.x-reset .x-html menu,.x-reset .x-html dd{margin-left:40px}.x-reset .x-html ul,.x-reset .x-html menu,.x-reset .x-html dir{list-style-type:disc}.x-reset .x-html ol{list-style-type:decimal}.x-reset .x-html ol ul,.x-reset .x-html ul ol,.x-reset .x-html ul ul,.x-reset .x-html ol ol{margin-top:0;margin-bottom:0}.x-reset .x-html u,.x-reset .x-html ins{text-decoration:underline}.x-reset .x-html br:before{content:"\A"}.x-reset .x-html :before,.x-reset .x-html :after{white-space:pre-line}.x-reset .x-html center{text-align:center}.x-reset .x-html :link,.x-reset .x-html :visited{text-decoration:underline}.x-reset .x-html :focus{outline:invert dotted thin}.x-reset .x-html BDO[DIR="ltr"]{direction:ltr;unicode-bidi:bidi-override}.x-reset .x-html BDO[DIR="rtl"]{direction:rtl;unicode-bidi:bidi-override} diff --git a/deluge/ui/web/resources/css/ext-ie-scoped.css b/deluge/ui/web/resources/css/ext-ie-scoped.css new file mode 100644 index 000000000..2a36fdbb5 --- /dev/null +++ b/deluge/ui/web/resources/css/ext-ie-scoped.css @@ -0,0 +1 @@ +.x-reset html,.x-reset body,.x-reset div,.x-reset dl,.x-reset dt,.x-reset dd,.x-reset ul,.x-reset ol,.x-reset li,.x-reset h1,.x-reset h2,.x-reset h3,.x-reset h4,.x-reset h5,.x-reset h6,.x-reset pre,.x-reset code,.x-reset form,.x-reset fieldset,.x-reset legend,.x-reset input,.x-reset textarea,.x-reset p,.x-reset blockquote,.x-reset th,.x-reset td{margin:0;padding:0}.x-reset table{border-collapse:collapse;border-spacing:0}.x-reset fieldset,.x-reset img{border:0}.x-reset address,.x-reset caption,.x-reset cite,.x-reset code,.x-reset dfn,.x-reset em,.x-reset strong,.x-reset th,.x-reset var{font-style:normal;font-weight:normal}.x-reset li{list-style:none}.x-reset caption,.x-reset th{text-align:left}.x-reset h1,.x-reset h2,.x-reset h3,.x-reset h4,.x-reset h5,.x-reset h6{font-size:100%}.x-reset q:before,.x-reset q:after{content:""}.x-reset abbr,.x-reset acronym{border:0;font-variant:normal}.x-reset sup{vertical-align:text-top}.x-reset sub{vertical-align:text-bottom}.x-reset input,.x-reset textarea,.x-reset select{font-family:inherit;font-size:inherit;font-weight:inherit}.x-reset *:focus{outline:none}.x-border-box .x-reset,.x-border-box .x-reset *{box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box}.x-body{color:black;font-size:12px;font-family:tahoma, arial, verdana, sans-serif}.x-clear{overflow:hidden;clear:both;height:0;width:0;font-size:0;line-height:0}.x-layer{position:absolute;overflow:hidden;zoom:1}.x-shim{position:absolute;left:0;top:0;overflow:hidden;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-hide-display{display:none !important}.x-hide-visibility{visibility:hidden !important}.x-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.x-ie6 .x-item-disabled{filter:none}.x-hidden,.x-hide-offsets{display:block !important;position:absolute !important;left:-10000px !important;top:-10000px !important}.x-hide-nosize{height:0 !important;width:0 !important}.x-masked-relative{position:relative}.x-ie6 .x-masked select,.x-ie6.x-body-masked select{visibility:hidden !important}.x-css-shadow{position:absolute;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px}.x-ie-shadow{background-color:#777;display:none;position:absolute;overflow:hidden;zoom:1}.x-frame-shadow{display:none;position:absolute;overflow:hidden}.x-frame-shadow *{overflow:hidden}.x-frame-shadow *{padding:0;border:0;margin:0;clear:none;zoom:1}.x-frame-shadow .xstc,.x-frame-shadow .xsbc{height:6px;float:left}.x-frame-shadow .xsc{width:100%}.x-frame-shadow .xsml{background:transparent repeat-y 0 0}.x-frame-shadow .xsmr{background:transparent repeat-y -6px 0}.x-frame-shadow .xstl{background:transparent no-repeat 0 0}.x-frame-shadow .xstc{background:transparent repeat-x 0 -30px}.x-frame-shadow .xstr{background:transparent repeat-x 0 -18px}.x-frame-shadow .xsbl{background:transparent no-repeat 0 -12px}.x-frame-shadow .xsbc{background:transparent repeat-x 0 -36px}.x-frame-shadow .xsbr{background:transparent repeat-x 0 -6px}.x-frame-shadow .xstl,.x-frame-shadow .xstc,.x-frame-shadow .xstr,.x-frame-shadow .xsbl,.x-frame-shadow .xsbc,.x-frame-shadow .xsbr{width:6px;height:6px;float:left;background-image:url('../../resources/themes/images/default/shared/shadow.png')}.x-frame-shadow .xsml,.x-frame-shadow .xsmr{width:6px;float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-lr.png')}.x-frame-shadow .xsmc{float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-c.png')}.x-frame-shadow .xst,.x-frame-shadow .xsb{height:6px;overflow:hidden;width:100%}.x-box-tl{background:transparent no-repeat 0 0;zoom:1}.x-box-tc{height:8px;background:transparent repeat-x 0 0;overflow:hidden}.x-box-tr{background:transparent no-repeat right -8px}.x-box-ml{background:transparent repeat-y 0;padding-left:4px;overflow:hidden;zoom:1}.x-box-mc{background:repeat-x 0 -16px;padding:4px 10px}.x-box-mc h3{margin:0 0 4px 0;zoom:1}.x-box-mr{background:transparent repeat-y right;padding-right:4px;overflow:hidden}.x-box-bl{background:transparent no-repeat 0 -16px;zoom:1}.x-box-bc{background:transparent repeat-x 0 -8px;height:8px;overflow:hidden}.x-box-br{background:transparent no-repeat right -24px}.x-box-tl,.x-box-bl{padding-left:8px;overflow:hidden}.x-box-tr,.x-box-br{padding-right:8px;overflow:hidden}.x-box-tl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-tc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-tr{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-ml{background-image:url('../../resources/themes/images/default/box/l.gif')}.x-box-mc{background-color:#eee;background-image:url('../../resources/themes/images/default/box/tb.gif');font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;color:#393939;font-size:15px}.x-box-mc h3{font-size:18px;font-weight:bold}.x-box-mr{background-image:url('../../resources/themes/images/default/box/r.gif')}.x-box-bl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-bc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-br{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-blue .x-box-bl,.x-box-blue .x-box-br,.x-box-blue .x-box-tl,.x-box-blue .x-box-tr{background-image:url('../../resources/themes/images/default/box/corners-blue.gif')}.x-box-blue .x-box-bc,.x-box-blue .x-box-mc,.x-box-blue .x-box-tc{background-image:url('../../resources/themes/images/default/box/tb-blue.gif')}.x-box-blue .x-box-mc{background-color:#c3daf9}.x-box-blue .x-box-mc h3{color:#17385b}.x-box-blue .x-box-ml{background-image:url('../../resources/themes/images/default/box/l-blue.gif')}.x-box-blue .x-box-mr{background-image:url('../../resources/themes/images/default/box/r-blue.gif')}.x-focus-element{position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x-focus-frame{position:absolute;left:0px;top:0px;z-index:100000000;width:0px;height:0px}.x-focus-frame-top,.x-focus-frame-bottom,.x-focus-frame-left,.x-focus-frame-right{position:absolute;top:0px;left:0px}.x-focus-frame-top,.x-focus-frame-bottom{border-top:solid 2px #15428b;height:2px}.x-focus-frame-left,.x-focus-frame-right{border-left:solid 2px #15428b;width:2px}.x-mask{z-index:100;position:absolute;top:0;left:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;width:100%;height:100%;zoom:1;background:#cccccc}.x-mask-msg{z-index:20001;position:absolute;top:0;left:0;padding:2px;border:1px solid;border-color:#99bce8}.x-mask-msg div{padding:5px 10px 5px 25px;background-image:url('../../resources/themes/images/default/grid/loading.gif');background-repeat:no-repeat;background-position:5px center;cursor:wait;border:1px solid #a3bad9;background-color:#eeeeee;color:#222222;font:normal 11px tahoma, arial, verdana, sans-serif}.x-reset .x-boundlist{border-width:1px;border-style:solid;border-color:#98c0f4;background:white}.x-reset .x-boundlist .x-toolbar{border-width:1px 0 0 0}.x-reset .x-boundlist-item{padding:2px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;cursor:pointer;cursor:hand;position:relative;border-width:1px;border-style:dotted;border-color:white}.x-reset .x-boundlist-selected{background:#cbdaf0;border-color:#8eabe4}.x-reset .x-boundlist-item-over{background:#dfe8f6;border-color:#a3bae9}.x-reset .x-boundlist-floating{border-top-width:0}.x-reset .x-boundlist-above{border-top-width:1px;border-bottom-width:1px}.x-reset .x-btn{display:inline-block;zoom:1;*display:inline;position:relative;cursor:pointer;cursor:hand;white-space:nowrap;vertical-align:middle;background-repeat:no-repeat}.x-reset .x-btn *{cursor:pointer;cursor:hand}.x-reset .x-btn em{background-repeat:no-repeat}.x-reset .x-btn em a{text-decoration:none;display:inline-block;color:inherit}.x-reset .x-btn button{margin:0;padding:0;border:0;width:auto;background:none;outline:0 none;overflow:hidden;vertical-align:bottom;-webkit-appearance:none}.x-reset .x-btn button::-moz-focus-inner{border:0;padding:0}.x-reset .x-btn .x-btn-inner{display:block;white-space:nowrap;text-align:center;background-color:transparent;background-repeat:no-repeat;background-position:left center}.x-reset .x-btn-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-btn-disabled span{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-ie6 .x-reset .x-btn-disabled span,.x-ie7 .x-reset .x-btn-disabled span{filter:none}.x-reset .x-ie7 .x-btn-disabled,.x-reset .x-ie8 .x-btn-disabled{filter:none}.x-reset .x-ie6 .x-btn-disabled .x-btn-icon,.x-reset .x-ie7 .x-btn-disabled .x-btn-icon,.x-reset .x-ie8 .x-btn-disabled .x-btn-icon{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset * html .x-ie .x-btn button{width:1px}.x-reset .x-ie .x-btn button{overflow-x:visible;vertical-align:baseline}.x-reset .x-strict .x-ie6 .x-btn .x-frame-mc,.x-reset .x-strict .x-ie7 .x-btn .x-frame-mc{height:100%}.x-reset .x-nbr .x-btn .x-frame-mc{vertical-align:middle;white-space:nowrap;text-align:center;cursor:pointer}.x-reset .x-btn-icon-text-left .x-btn-icon{background-position:left center}.x-reset .x-btn-icon-text-right .x-btn-icon{background-position:right center}.x-reset .x-btn-icon-text-top .x-btn-icon{background-position:center top}.x-reset .x-btn-icon-text-bottom .x-btn-icon{background-position:center bottom}.x-reset .x-btn button,.x-reset .x-btn a{position:relative}.x-reset .x-btn button .x-btn-icon,.x-reset .x-btn a .x-btn-icon{position:absolute;background-repeat:no-repeat}.x-reset .x-btn-arrow-right{background:transparent no-repeat right center;padding-right:12px}.x-reset .x-btn-arrow-right .x-btn-inner{padding-right:0 !important}.x-reset .x-toolbar .x-btn-arrow-right{padding-right:12px}.x-reset .x-btn-arrow-bottom{background:transparent no-repeat center bottom;padding-bottom:12px}.x-reset .x-btn-arrow{background-image:url('../../resources/themes/images/default/button/arrow.gif');display:block}.x-reset .x-btn-split-right,.x-reset .x-btn-over .x-btn-split-right{background:transparent no-repeat right center;background-image:url('../../resources/themes/images/default/button/s-arrow.gif');padding-right:14px !important}.x-reset .x-btn-split-bottom,.x-reset .x-btn-over .x-btn-split-bottom{background:transparent no-repeat center bottom;background-image:url('../../resources/themes/images/default/button/s-arrow-b.gif');padding-bottom:14px}.x-reset .x-toolbar .x-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-noline.gif');padding-right:12px !important}.x-reset .x-toolbar .x-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-b-noline.gif')}.x-reset .x-btn-split{display:block}.x-reset .x-item-disabled,.x-reset .x-item-disabled *{cursor:default}.x-reset .x-cycle-fixed-width .x-btn-inner{text-align:inherit}.x-reset .x-btn-over .x-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-o.gif')}.x-reset .x-btn-over .x-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-bo.gif')}.x-reset .x-btn-default-small{border-color:#d1d1d1}.x-reset .x-btn-default-small{padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-btn-default-small-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif');background-color:white}.x-reset .x-nbr .x-btn-default-small{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-btn-default-small-tl,.x-reset .x-nbr .x-btn-default-small-bl,.x-reset .x-nbr .x-btn-default-small-tr,.x-reset .x-nbr .x-btn-default-small-br,.x-reset .x-nbr .x-btn-default-small-tc,.x-reset .x-nbr .x-btn-default-small-bc,.x-reset .x-nbr .x-btn-default-small-ml,.x-reset .x-nbr .x-btn-default-small-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-small-corners.gif')}.x-reset .x-nbr .x-btn-default-small-ml,.x-reset .x-nbr .x-btn-default-small-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-small-sides.gif');background-position:0 0}.x-reset .x-nbr .x-btn-default-small-mc{padding:0 0 0 0}.x-reset .x-btn-default-small .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x-reset .x-btn-default-small-icon button,.x-reset .x-btn-default-small-icon .x-btn-inner,.x-reset .x-btn-default-small-noicon button,.x-reset .x-btn-default-small-noicon .x-btn-inner{height:16px;line-height:16px}.x-reset .x-btn-default-small-icon button{padding:0;width:16px !important;height:16px}.x-reset .x-btn-default-small-icon .x-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-small-icon-text-left button{height:16px}.x-reset .x-btn-default-small-icon-text-left .x-btn-inner{height:16px;line-height:16px;padding-left:20px}.x-reset .x-btn-default-small-icon-text-left .x-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-small-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-left .x-btn-icon{height:16px}.x-reset .x-btn-default-small-icon-text-right button{height:16px}.x-reset .x-btn-default-small-icon-text-right .x-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x-reset .x-btn-default-small-icon-text-right .x-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-small-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-right .x-btn-icon{height:16px}.x-reset .x-btn-default-small-icon-text-top .x-btn-inner{padding-top:20px}.x-reset .x-btn-default-small-icon-text-top .x-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-small-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-top .x-btn-icon{width:16px}.x-reset .x-btn-default-small-icon-text-bottom .x-btn-inner{padding-bottom:20px}.x-reset .x-btn-default-small-icon-text-bottom .x-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-small-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-bottom .x-btn-icon{width:16px}.x-reset .x-btn-default-small-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-small-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-small-menu-active,.x-reset .x-btn-default-small-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-reset .x-btn-default-small-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-reset .x-btn-default-small-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-small-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-small-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nbr .x-btn-default-small-over .x-frame-tl,.x-reset .x-nbr .x-btn-default-small-over .x-frame-bl,.x-reset .x-nbr .x-btn-default-small-over .x-frame-tr,.x-reset .x-nbr .x-btn-default-small-over .x-frame-br,.x-reset .x-nbr .x-btn-default-small-over .x-frame-tc,.x-reset .x-nbr .x-btn-default-small-over .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-corners.gif')}.x-reset .x-nbr .x-btn-default-small-over .x-frame-ml,.x-reset .x-nbr .x-btn-default-small-over .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-sides.gif')}.x-reset .x-nbr .x-btn-default-small-over .x-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-bg.gif')}.x-reset .x-nbr .x-btn-default-small-focus .x-frame-tl,.x-reset .x-nbr .x-btn-default-small-focus .x-frame-bl,.x-reset .x-nbr .x-btn-default-small-focus .x-frame-tr,.x-reset .x-nbr .x-btn-default-small-focus .x-frame-br,.x-reset .x-nbr .x-btn-default-small-focus .x-frame-tc,.x-reset .x-nbr .x-btn-default-small-focus .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-corners.gif')}.x-reset .x-nbr .x-btn-default-small-focus .x-frame-ml,.x-reset .x-nbr .x-btn-default-small-focus .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-sides.gif')}.x-reset .x-nbr .x-btn-default-small-focus .x-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-bg.gif')}.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-tl,.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-bl,.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-tr,.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-br,.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-tc,.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-bc,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-tl,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-bl,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-tr,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-br,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-tc,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-corners.gif')}.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-ml,.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-mr,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-ml,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-sides.gif')}.x-reset .x-nbr .x-btn-default-small-menu-active .x-frame-mc,.x-reset .x-nbr .x-btn-default-small-pressed .x-frame-mc{background-color:#b6cbe4;background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-bg.gif')}.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-tl,.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-bl,.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-tr,.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-br,.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-tc,.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-corners.gif')}.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-ml,.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-sides.gif')}.x-reset .x-nbr .x-btn-default-small-disabled .x-frame-mc{background-color:#f7f7f7;background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-bg.gif')}.x-reset .x-nlg .x-btn-default-small{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif')}.x-reset .x-nlg .x-btn-default-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-bg.gif')}.x-reset .x-nlg .x-btn-default-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-small-menu-active,.x-reset .x-nlg .x-btn-default-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-bg.gif')}.x-reset .x-nlg .x-btn-default-small-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-bg.gif')}.x-reset .x-btn-default-medium{border-color:#d1d1d1}.x-reset .x-btn-default-medium{padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-btn-default-medium-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif');background-color:white}.x-reset .x-nbr .x-btn-default-medium{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-btn-default-medium-tl,.x-reset .x-nbr .x-btn-default-medium-bl,.x-reset .x-nbr .x-btn-default-medium-tr,.x-reset .x-nbr .x-btn-default-medium-br,.x-reset .x-nbr .x-btn-default-medium-tc,.x-reset .x-nbr .x-btn-default-medium-bc,.x-reset .x-nbr .x-btn-default-medium-ml,.x-reset .x-nbr .x-btn-default-medium-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-corners.gif')}.x-reset .x-nbr .x-btn-default-medium-ml,.x-reset .x-nbr .x-btn-default-medium-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-sides.gif');background-position:0 0}.x-reset .x-nbr .x-btn-default-medium-mc{padding:0px 0px 0px 0px}.x-reset .x-btn-default-medium .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-medium-icon button,.x-reset .x-btn-default-medium-icon .x-btn-inner,.x-reset .x-btn-default-medium-noicon button,.x-reset .x-btn-default-medium-noicon .x-btn-inner{height:24px;line-height:24px}.x-reset .x-btn-default-medium-icon button{padding:0;width:24px !important;height:24px}.x-reset .x-btn-default-medium-icon .x-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-medium-icon-text-left button{height:24px}.x-reset .x-btn-default-medium-icon-text-left .x-btn-inner{height:24px;line-height:24px;padding-left:28px}.x-reset .x-btn-default-medium-icon-text-left .x-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-medium-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-left .x-btn-icon{height:24px}.x-reset .x-btn-default-medium-icon-text-right button{height:24px}.x-reset .x-btn-default-medium-icon-text-right .x-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x-reset .x-btn-default-medium-icon-text-right .x-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-medium-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-right .x-btn-icon{height:24px}.x-reset .x-btn-default-medium-icon-text-top .x-btn-inner{padding-top:28px}.x-reset .x-btn-default-medium-icon-text-top .x-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-medium-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-top .x-btn-icon{width:24px}.x-reset .x-btn-default-medium-icon-text-bottom .x-btn-inner{padding-bottom:28px}.x-reset .x-btn-default-medium-icon-text-bottom .x-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-medium-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-bottom .x-btn-icon{width:24px}.x-reset .x-btn-default-medium-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-medium-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-medium-menu-active,.x-reset .x-btn-default-medium-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-reset .x-btn-default-medium-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-reset .x-btn-default-medium-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-medium-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-medium-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nbr .x-btn-default-medium-over .x-frame-tl,.x-reset .x-nbr .x-btn-default-medium-over .x-frame-bl,.x-reset .x-nbr .x-btn-default-medium-over .x-frame-tr,.x-reset .x-nbr .x-btn-default-medium-over .x-frame-br,.x-reset .x-nbr .x-btn-default-medium-over .x-frame-tc,.x-reset .x-nbr .x-btn-default-medium-over .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-corners.gif')}.x-reset .x-nbr .x-btn-default-medium-over .x-frame-ml,.x-reset .x-nbr .x-btn-default-medium-over .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-sides.gif')}.x-reset .x-nbr .x-btn-default-medium-over .x-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-bg.gif')}.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-tl,.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-bl,.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-tr,.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-br,.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-tc,.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-corners.gif')}.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-ml,.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-sides.gif')}.x-reset .x-nbr .x-btn-default-medium-focus .x-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-bg.gif')}.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-tl,.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-bl,.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-tr,.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-br,.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-tc,.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-bc,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-tl,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-bl,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-tr,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-br,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-tc,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif')}.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-ml,.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-mr,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-ml,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-sides.gif')}.x-reset .x-nbr .x-btn-default-medium-menu-active .x-frame-mc,.x-reset .x-nbr .x-btn-default-medium-pressed .x-frame-mc{background-color:#b6cbe4;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif')}.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-tl,.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-bl,.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-tr,.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-br,.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-tc,.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-corners.gif')}.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-ml,.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-sides.gif')}.x-reset .x-nbr .x-btn-default-medium-disabled .x-frame-mc{background-color:#f7f7f7;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif')}.x-reset .x-nlg .x-btn-default-medium{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-menu-active,.x-reset .x-nlg .x-btn-default-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif')}.x-reset .x-btn-default-large{border-color:#d1d1d1}.x-reset .x-btn-default-large{padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-btn-default-large-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif');background-color:white}.x-reset .x-nbr .x-btn-default-large{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-btn-default-large-tl,.x-reset .x-nbr .x-btn-default-large-bl,.x-reset .x-nbr .x-btn-default-large-tr,.x-reset .x-nbr .x-btn-default-large-br,.x-reset .x-nbr .x-btn-default-large-tc,.x-reset .x-nbr .x-btn-default-large-bc,.x-reset .x-nbr .x-btn-default-large-ml,.x-reset .x-nbr .x-btn-default-large-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-large-corners.gif')}.x-reset .x-nbr .x-btn-default-large-ml,.x-reset .x-nbr .x-btn-default-large-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-large-sides.gif');background-position:0 0}.x-reset .x-nbr .x-btn-default-large-mc{padding:0px 0px 0px 0px}.x-reset .x-btn-default-large .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-large-icon button,.x-reset .x-btn-default-large-icon .x-btn-inner,.x-reset .x-btn-default-large-noicon button,.x-reset .x-btn-default-large-noicon .x-btn-inner{height:32px;line-height:32px}.x-reset .x-btn-default-large-icon button{padding:0;width:32px !important;height:32px}.x-reset .x-btn-default-large-icon .x-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-large-icon-text-left button{height:32px}.x-reset .x-btn-default-large-icon-text-left .x-btn-inner{height:32px;line-height:32px;padding-left:36px}.x-reset .x-btn-default-large-icon-text-left .x-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-large-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-left .x-btn-icon{height:32px}.x-reset .x-btn-default-large-icon-text-right button{height:32px}.x-reset .x-btn-default-large-icon-text-right .x-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x-reset .x-btn-default-large-icon-text-right .x-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-large-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-right .x-btn-icon{height:32px}.x-reset .x-btn-default-large-icon-text-top .x-btn-inner{padding-top:36px}.x-reset .x-btn-default-large-icon-text-top .x-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-large-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-top .x-btn-icon{width:32px}.x-reset .x-btn-default-large-icon-text-bottom .x-btn-inner{padding-bottom:36px}.x-reset .x-btn-default-large-icon-text-bottom .x-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-large-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-bottom .x-btn-icon{width:32px}.x-reset .x-btn-default-large-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-large-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-large-menu-active,.x-reset .x-btn-default-large-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-reset .x-btn-default-large-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-reset .x-btn-default-large-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-large-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-large-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nbr .x-btn-default-large-over .x-frame-tl,.x-reset .x-nbr .x-btn-default-large-over .x-frame-bl,.x-reset .x-nbr .x-btn-default-large-over .x-frame-tr,.x-reset .x-nbr .x-btn-default-large-over .x-frame-br,.x-reset .x-nbr .x-btn-default-large-over .x-frame-tc,.x-reset .x-nbr .x-btn-default-large-over .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-corners.gif')}.x-reset .x-nbr .x-btn-default-large-over .x-frame-ml,.x-reset .x-nbr .x-btn-default-large-over .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-sides.gif')}.x-reset .x-nbr .x-btn-default-large-over .x-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-bg.gif')}.x-reset .x-nbr .x-btn-default-large-focus .x-frame-tl,.x-reset .x-nbr .x-btn-default-large-focus .x-frame-bl,.x-reset .x-nbr .x-btn-default-large-focus .x-frame-tr,.x-reset .x-nbr .x-btn-default-large-focus .x-frame-br,.x-reset .x-nbr .x-btn-default-large-focus .x-frame-tc,.x-reset .x-nbr .x-btn-default-large-focus .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-corners.gif')}.x-reset .x-nbr .x-btn-default-large-focus .x-frame-ml,.x-reset .x-nbr .x-btn-default-large-focus .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-sides.gif')}.x-reset .x-nbr .x-btn-default-large-focus .x-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-bg.gif')}.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-tl,.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-bl,.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-tr,.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-br,.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-tc,.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-bc,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-tl,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-bl,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-tr,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-br,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-tc,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-corners.gif')}.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-ml,.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-mr,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-ml,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-sides.gif')}.x-reset .x-nbr .x-btn-default-large-menu-active .x-frame-mc,.x-reset .x-nbr .x-btn-default-large-pressed .x-frame-mc{background-color:#b6cbe4;background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-bg.gif')}.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-tl,.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-bl,.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-tr,.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-br,.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-tc,.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-corners.gif')}.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-ml,.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-sides.gif')}.x-reset .x-nbr .x-btn-default-large-disabled .x-frame-mc{background-color:#f7f7f7;background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-bg.gif')}.x-reset .x-nlg .x-btn-default-large{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif')}.x-reset .x-nlg .x-btn-default-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-bg.gif')}.x-reset .x-nlg .x-btn-default-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-large-menu-active,.x-reset .x-nlg .x-btn-default-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-bg.gif')}.x-reset .x-nlg .x-btn-default-large-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-bg.gif')}.x-reset .x-btn-default-toolbar-small{border-color:transparent}.x-reset .x-btn-default-toolbar-small{padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-small-mc{background-color:transparent}.x-reset .x-nbr .x-btn-default-toolbar-small{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-btn-default-toolbar-small-tl,.x-reset .x-nbr .x-btn-default-toolbar-small-bl,.x-reset .x-nbr .x-btn-default-toolbar-small-tr,.x-reset .x-nbr .x-btn-default-toolbar-small-br,.x-reset .x-nbr .x-btn-default-toolbar-small-tc,.x-reset .x-nbr .x-btn-default-toolbar-small-bc,.x-reset .x-nbr .x-btn-default-toolbar-small-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-mr{zoom:1}.x-reset .x-nbr .x-btn-default-toolbar-small-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-mr{zoom:1}.x-reset .x-nbr .x-btn-default-toolbar-small-mc{padding:0 0 0 0}.x-reset .x-btn-default-toolbar-small .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x-reset .x-btn-default-toolbar-small-icon button,.x-reset .x-btn-default-toolbar-small-icon .x-btn-inner,.x-reset .x-btn-default-toolbar-small-noicon button,.x-reset .x-btn-default-toolbar-small-noicon .x-btn-inner{height:16px;line-height:16px}.x-reset .x-btn-default-toolbar-small-icon button{padding:0;width:16px !important;height:16px}.x-reset .x-btn-default-toolbar-small-icon .x-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-toolbar-small-icon-text-left button{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-inner{height:16px;line-height:16px;padding-left:20px}.x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-icon{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-right button{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-icon{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-inner{padding-top:20px}.x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-icon{width:16px}.x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-inner{padding-bottom:20px}.x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon{width:16px}.x-reset .x-btn-default-toolbar-small-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-small-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-small-menu-active,.x-reset .x-btn-default-toolbar-small-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-reset .x-btn-default-toolbar-small-disabled{background-image:none;background-color:transparent}.x-reset .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-over .x-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-focus .x-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-bc,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-mr,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-menu-active .x-frame-mc,.x-reset .x-nbr .x-btn-default-toolbar-small-pressed .x-frame-mc{background-color:#bccfe5;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-disabled-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-disabled-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-small-disabled .x-frame-mc{background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-small-menu-active,.x-reset .x-nlg .x-btn-default-toolbar-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif')}.x-reset .x-btn-default-toolbar-medium{border-color:transparent}.x-reset .x-btn-default-toolbar-medium{padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-medium-mc{background-color:transparent}.x-reset .x-nbr .x-btn-default-toolbar-medium{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-btn-default-toolbar-medium-tl,.x-reset .x-nbr .x-btn-default-toolbar-medium-bl,.x-reset .x-nbr .x-btn-default-toolbar-medium-tr,.x-reset .x-nbr .x-btn-default-toolbar-medium-br,.x-reset .x-nbr .x-btn-default-toolbar-medium-tc,.x-reset .x-nbr .x-btn-default-toolbar-medium-bc,.x-reset .x-nbr .x-btn-default-toolbar-medium-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-mr{zoom:1}.x-reset .x-nbr .x-btn-default-toolbar-medium-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-mr{zoom:1}.x-reset .x-nbr .x-btn-default-toolbar-medium-mc{padding:0px 0px 0px 0px}.x-reset .x-btn-default-toolbar-medium .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-toolbar-medium-icon button,.x-reset .x-btn-default-toolbar-medium-icon .x-btn-inner,.x-reset .x-btn-default-toolbar-medium-noicon button,.x-reset .x-btn-default-toolbar-medium-noicon .x-btn-inner{height:24px;line-height:24px}.x-reset .x-btn-default-toolbar-medium-icon button{padding:0;width:24px !important;height:24px}.x-reset .x-btn-default-toolbar-medium-icon .x-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-toolbar-medium-icon-text-left button{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-inner{height:24px;line-height:24px;padding-left:28px}.x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-right button{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-inner{padding-top:28px}.x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon{width:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-inner{padding-bottom:28px}.x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon{width:24px}.x-reset .x-btn-default-toolbar-medium-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-medium-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-medium-menu-active,.x-reset .x-btn-default-toolbar-medium-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-reset .x-btn-default-toolbar-medium-disabled{background-image:none;background-color:transparent}.x-reset .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-over .x-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-focus .x-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-bc,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-mr,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-menu-active .x-frame-mc,.x-reset .x-nbr .x-btn-default-toolbar-medium-pressed .x-frame-mc{background-color:#bccfe5;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-disabled-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-disabled-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-medium-disabled .x-frame-mc{background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-medium-menu-active,.x-reset .x-nlg .x-btn-default-toolbar-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif')}.x-reset .x-btn-default-toolbar-large{border-color:transparent}.x-reset .x-btn-default-toolbar-large{padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-large-mc{background-color:transparent}.x-reset .x-nbr .x-btn-default-toolbar-large{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-btn-default-toolbar-large-tl,.x-reset .x-nbr .x-btn-default-toolbar-large-bl,.x-reset .x-nbr .x-btn-default-toolbar-large-tr,.x-reset .x-nbr .x-btn-default-toolbar-large-br,.x-reset .x-nbr .x-btn-default-toolbar-large-tc,.x-reset .x-nbr .x-btn-default-toolbar-large-bc,.x-reset .x-nbr .x-btn-default-toolbar-large-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-mr{zoom:1}.x-reset .x-nbr .x-btn-default-toolbar-large-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-mr{zoom:1}.x-reset .x-nbr .x-btn-default-toolbar-large-mc{padding:0px 0px 0px 0px}.x-reset .x-btn-default-toolbar-large .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-toolbar-large-icon button,.x-reset .x-btn-default-toolbar-large-icon .x-btn-inner,.x-reset .x-btn-default-toolbar-large-noicon button,.x-reset .x-btn-default-toolbar-large-noicon .x-btn-inner{height:32px;line-height:32px}.x-reset .x-btn-default-toolbar-large-icon button{padding:0;width:32px !important;height:32px}.x-reset .x-btn-default-toolbar-large-icon .x-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-toolbar-large-icon-text-left button{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-inner{height:32px;line-height:32px;padding-left:36px}.x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-icon{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-right button{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-icon{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-inner{padding-top:36px}.x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-icon{width:32px}.x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-inner{padding-bottom:36px}.x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon{width:32px}.x-reset .x-btn-default-toolbar-large-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-large-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-large-menu-active,.x-reset .x-btn-default-toolbar-large-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-reset .x-btn-default-toolbar-large-disabled{background-image:none;background-color:transparent}.x-reset .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-over .x-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-focus .x-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-bc,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-mr,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-menu-active .x-frame-mc,.x-reset .x-nbr .x-btn-default-toolbar-large-pressed .x-frame-mc{background-color:#bccfe5;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-tl,.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-bl,.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-tr,.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-br,.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-tc,.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-disabled-corners.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-ml,.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-disabled-sides.gif')}.x-reset .x-nbr .x-btn-default-toolbar-large-disabled .x-frame-mc{background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-large-menu-active,.x-reset .x-nlg .x-btn-default-toolbar-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif')}.x-reset .x-btn-default-toolbar-small-disabled,.x-reset .x-btn-default-toolbar-medium-disabled,.x-reset .x-btn-default-toolbar-large-disabled{border-color:transparent;background-image:none;background:transparent}.x-reset .x-btn-group{position:relative;overflow:hidden}.x-reset .x-btn-group-body{position:relative;zoom:1;padding:0 1px}.x-reset .x-btn-group-body .x-table-layout-cell{vertical-align:top}.x-reset .x-btn-group-header-text{white-space:nowrap}.x-reset .x-btn-group-default-framed{padding:1px 1px 1px 1px;border-width:1px;border-style:solid;background-color:#d0def0}.x-reset .x-nlg .x-btn-group-default-framed-mc{background-color:#d0def0}.x-reset .x-nbr .x-btn-group-default-framed{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000202px 1000202px}.x-reset .x-nbr .x-btn-group-default-framed-tl,.x-reset .x-nbr .x-btn-group-default-framed-bl,.x-reset .x-nbr .x-btn-group-default-framed-tr,.x-reset .x-nbr .x-btn-group-default-framed-br,.x-reset .x-nbr .x-btn-group-default-framed-tc,.x-reset .x-nbr .x-btn-group-default-framed-bc,.x-reset .x-nbr .x-btn-group-default-framed-ml,.x-reset .x-nbr .x-btn-group-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn-group/btn-group-default-framed-corners.gif')}.x-reset .x-nbr .x-btn-group-default-framed-ml,.x-reset .x-nbr .x-btn-group-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn-group/btn-group-default-framed-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-btn-group-default-framed-mc{padding:0 0 0 0}.x-reset .x-btn-group-default-framed{border-color:#b7c8d7;-moz-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-webkit-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-o-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset}.x-reset .x-btn-group-header-default-framed{margin:2px 2px 0 2px}.x-reset .x-btn-group-header-body-default-framed{padding:1px 0;background:#c2d8f0;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;-o-border-top-left-radius:2px;-ms-border-top-left-radius:2px;-khtml-border-top-left-radius:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;-o-border-top-right-radius:2px;-ms-border-top-right-radius:2px;-khtml-border-top-right-radius:2px;border-top-right-radius:2px}.x-reset .x-btn-group-header-text-default-framed{font:normal 11px tahoma, arial, verdana, sans-serif;color:#3e6aaa}.x-reset .x-datepicker{border:1px solid #1b376c;background-color:white;position:relative}.x-reset .x-datepicker a{-moz-outline:0 none;outline:0 none;color:#15428b;text-decoration:none;border-width:0}.x-reset .x-datepicker-inner,.x-reset .x-datepicker-inner td,.x-reset .x-datepicker-inner th{border-collapse:separate}.x-reset .x-datepicker-header{position:relative;height:26px;background-image:none;background-color:#23427c;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #264888), color-stop(100%, #1f3a6c));background-image:-moz-linear-gradient(top, #264888,#1f3a6c);background-image:linear-gradient(top, #264888,#1f3a6c)}.x-reset .x-datepicker-prev,.x-reset .x-datepicker-next{position:absolute;top:5px;width:18px}.x-reset .x-datepicker-prev a,.x-reset .x-datepicker-next a{display:block;width:16px;height:16px;background-position:top;background-repeat:no-repeat;cursor:pointer;text-decoration:none !important;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);opacity:0.7}.x-reset .x-datepicker-prev a:hover,.x-reset .x-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-datepicker-next{right:5px}.x-reset .x-datepicker-next a{background-image:url('../../resources/themes/images/default/shared/right-btn.gif')}.x-reset .x-datepicker-prev{left:5px}.x-reset .x-datepicker-prev a{background-image:url('../../resources/themes/images/default/shared/left-btn.gif')}.x-reset .x-item-disabled .x-datepicker-prev a:hover,.x-reset .x-item-disabled .x-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-datepicker-month{padding-top:3px}.x-reset .x-datepicker-month .x-btn,.x-reset .x-datepicker-month button,.x-reset .x-datepicker-month .x-btn-tc,.x-reset .x-datepicker-month .x-btn-tl,.x-reset .x-datepicker-month .x-btn-tr,.x-reset .x-datepicker-month .x-btn-mc,.x-reset .x-datepicker-month .x-btn-ml,.x-reset .x-datepicker-month .x-btn-mr,.x-reset .x-datepicker-month .x-btn-bc,.x-reset .x-datepicker-month .x-btn-bl,.x-reset .x-datepicker-month .x-btn-br{background:transparent !important;border-width:0 !important}.x-reset .x-datepicker-month span{color:white !important}.x-reset .x-datepicker-month .x-btn-split-right{background:no-repeat right center !important;background-image:url('../../resources/themes/images/default/button/s-arrow-light.gif');padding-right:12px}.x-reset .x-datepicker-next{text-align:right}.x-reset .x-datepicker-month{text-align:center}.x-reset .x-datepicker-month button{color:white !important}.x-reset table.x-datepicker-inner{width:100%;table-layout:fixed}.x-reset table.x-datepicker-inner th{width:25px;height:19px;padding:0;color:#233d6d;font:normal 10px tahoma, arial, verdana, sans-serif;text-align:right;border-bottom:1px solid #b2d1f5;border-collapse:separate;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #edf4fd), color-stop(100%, #cde1f9));background-image:-moz-linear-gradient(top, #edf4fd,#cde1f9);background-image:linear-gradient(top, #edf4fd,#cde1f9);cursor:default}.x-reset table.x-datepicker-inner th span{display:block;padding-right:7px}.x-reset table.x-datepicker-inner tr{height:20px}.x-reset table.x-datepicker-inner td{border:1px solid;height:17px;border-color:white;text-align:right;padding:0}.x-reset table.x-datepicker-inner a{padding-right:4px;display:block;zoom:1;font:normal 11px tahoma, arial, verdana, sans-serif;color:black;text-decoration:none;text-align:right}.x-reset table.x-datepicker-inner .x-datepicker-active{cursor:pointer;color:black}.x-reset table.x-datepicker-inner .x-datepicker-selected a{background:repeat-x left top;background-color:#dae5f3;border:1px solid #8db2e3}.x-reset table.x-datepicker-inner .x-datepicker-selected span{font-weight:bold}.x-reset table.x-datepicker-inner .x-datepicker-today a{border:1px solid;border-color:darkred}.x-reset table.x-datepicker-inner .x-datepicker-prevday a,.x-reset table.x-datepicker-inner .x-datepicker-nextday a{text-decoration:none !important;color:#aaa}.x-reset table.x-datepicker-inner a:hover,.x-reset table.x-datepicker-inner .x-datepicker-disabled a:hover{text-decoration:none !important;color:#000;background-color:#ddecfe}.x-reset table.x-datepicker-inner .x-datepicker-disabled a{cursor:default;background-color:#eee;color:#bbb}.x-reset .x-datepicker-footer,.x-reset .x-monthpicker-buttons{position:relative;border-top:1px solid #b2d1f5;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dee8f5), color-stop(49%, #d1dff0), color-stop(51%, #c7d8ed), color-stop(100%, #cbdaee));background-image:-moz-linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);background-image:linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);text-align:center}.x-reset .x-datepicker-footer .x-btn,.x-reset .x-monthpicker-buttons .x-btn{position:relative;margin:4px}.x-reset .x-item-disabled .x-datepicker-inner a:hover{background:none}.x-reset .x-datepicker .x-monthpicker{position:absolute;left:0;top:0}.x-reset .x-monthpicker{border:1px solid #1b376c;background-color:white}.x-reset .x-monthpicker-months,.x-reset .x-monthpicker-years{float:left;height:167px;width:88px}.x-reset .x-monthpicker-item{float:left;margin:4px 0 5px 0;font:normal 11px tahoma, arial, verdana, sans-serif;text-align:center;vertical-align:middle;height:18px;width:43px;border:0 none}.x-reset .x-monthpicker-item a{display:block;margin:0 5px 0 5px;text-decoration:none;color:#15428b;border:1px solid white;line-height:17px}.x-reset .x-monthpicker-item a:hover{background-color:#ddecfe}.x-reset .x-monthpicker-item a.x-monthpicker-selected{background-color:#dfecfb;border:1px solid #8db2e3}.x-reset .x-monthpicker-months{border-right:1px solid #1b376c;width:87px}.x-reset .x-monthpicker-years .x-monthpicker-item{width:44px}.x-reset .x-monthpicker-yearnav{height:28px}.x-reset .x-monthpicker-yearnav button{background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');height:15px;width:15px;padding:0;margin:6px 12px 5px 15px;border:none;outline:0 none}.x-reset .x-monthpicker-yearnav button::-moz-focus-inner{border:0;padding:0}.x-reset .x-monthpicker-yearnav-next{background-position:0 -120px}.x-reset .x-monthpicker-yearnav-next-over{cursor:pointer;cursor:hand;background-position:-15px -120px}.x-reset .x-monthpicker-yearnav-prev{background-position:0 -105px}.x-reset .x-monthpicker-yearnav-prev-over{cursor:pointer;cursor:hand;background-position:-15px -105px}.x-reset .x-monthpicker-small .x-monthpicker-item{margin:2px 0 2px 0}.x-reset .x-monthpicker-small .x-monthpicker-yearnav{height:23px}.x-reset .x-monthpicker-small .x-monthpicker-months,.x-reset .x-monthpicker-small .x-monthpicker-years{height:136px}.x-reset .x-quirks .x-ie7 .x-monthpicker-buttons .x-btn,.x-reset .x-quirks .x-ie8 .x-monthpicker-buttons .x-btn{margin-top:2px}.x-reset .x-quirks .x-monthpicker-small .x-monthpicker-yearnav button{margin-top:3px;margin-bottom:3px}.x-reset .x-ie6 .x-monthpicker-small .x-monthpicker-yearnav button{margin-top:3px;margin-bottom:3px}.x-reset .x-nlg .x-datepicker-header{background-image:url('../../resources/themes/images/default/datepicker/datepicker-header-bg.gif');background-repeat:repeat-x;background-position:top left}.x-reset .x-nlg .x-datepicker-footer,.x-reset .x-nlg .x-monthpicker-buttons{background-image:url('../../resources/themes/images/default/datepicker/datepicker-footer-bg.gif');background-repeat:repeat-x;background-position:top left}.x-reset .x-color-picker{width:144px;height:90px;cursor:pointer}.x-reset .x-color-picker a{border:1px solid #fff;float:left;padding:2px;text-decoration:none;-moz-outline:0 none;outline:0 none;cursor:pointer}.x-reset .x-color-picker a:hover,.x-reset .x-color-picker a.x-color-picker-selected{border-color:#8bb8f3;background-color:#deecfd}.x-reset .x-color-picker em{display:block;border:1px solid #aca899}.x-reset .x-color-picker em span{cursor:pointer;display:block;height:10px;width:10px;line-height:10px}.x-reset .x-menu-body{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;background:#f0f0f0 !important;padding:2px}.x-reset .x-menu-icon-separator{position:absolute;top:0px;left:27px;z-index:0;border-left:solid 1px #e0e0e0;background-color:white;width:2px;height:100%;overflow:hidden}.x-reset .x-menu-plain .x-menu-icon-separator{display:none}.x-reset .x-menu-focus{display:block;position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x-reset .x-menu-item{white-space:nowrap;overflow:hidden;z-index:1}.x-reset .x-menu-item-cmp{margin-bottom:1px}.x-reset .x-menu-item-link{display:block;padding:0px 2px;margin:1px;text-decoration:none !important;line-height:16px;cursor:default}.x-reset .x-menu-item-icon{width:16px;height:16px;margin:4px 11px 0px 2px;background:no-repeat center center}.x-reset .x-menu-item-text{position:relative;font-size:11px;color:#222222;top:-4px}.x-reset .x-menu-item-checked .x-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/checked.gif')}.x-reset .x-menu-item-checked .x-menu-group-icon{background-image:url('../../resources/themes/images/default/menu/group-checked.gif')}.x-reset .x-menu-item-unchecked .x-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/unchecked.gif')}.x-reset .x-menu-item-unchecked .x-menu-group-icon{background-image:none}.x-reset .x-menu-item-separator{height:2px;border-top:solid 1px #e0e0e0;background-color:white;margin:2px 0px;overflow:hidden}.x-reset .x-menu-item-arrow{position:absolute;width:12px;height:9px;top:9px;right:0px;background:url('../../resources/themes/images/default/menu/menu-parent.gif') no-repeat center center}.x-reset .x-menu-item-indent{margin-left:31px}.x-reset .x-menu-item-active{cursor:pointer}.x-reset .x-menu-item-active .x-menu-item-link{background-image:none;background-color:#d9e8fb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7f0fc), color-stop(100%, #c7ddf9));background-image:-moz-linear-gradient(top, #e7f0fc,#c7ddf9);background-image:linear-gradient(top, #e7f0fc,#c7ddf9);margin:0px;border:1px solid #a9cbf5;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}.x-reset .x-menu-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-reset .x-ie .x-menu-item-link{line-height:17px;padding-bottom:1px}.x-reset .x-ie .x-menu-item-disabled .x-menu-item-icon{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-reset .x-ie .x-menu-item-disabled .x-menu-item-text{background-color:#f0f0f0}.x-strict .x-reset .x-ie .x-menu-icon-separator{width:1px}.x-strict .x-reset .x-ie .x-menu-item-separator{height:1px}.x-reset .x-ie6 .x-menu-item-link,.x-reset .x-ie7 .x-menu-item-link,.x-reset .x-quirks .x-ie8 .x-menu-item-link{padding-bottom:2px}.x-reset .x-nlg .x-menu-item-active .x-menu-item-link{background:#d9e8fb url('../../resources/themes/images/default/menu/menu-item-active-bg.gif') repeat-x left top}.x-reset .x-menu-date-item{border-color:#99BBE8}.x-reset .x-panel .x-grid-body{background:white;border-color:#99bce8;border-style:solid;border-width:1px;border-top-color:#c5c5c5}.x-reset .x-panel .x-grid-header-ct-hidden{border-top-width:0 !important}.x-reset .x-grid-header-hidden .x-grid-body{border-top-color:#99bce8 !important}.x-reset .x-grid-view{overflow:hidden;position:relative}.x-reset .x-grid-table{table-layout:fixed;border-collapse:separate}.x-reset .x-grid-row .x-grid-table{border-collapse:collapse}.x-reset .x-grid-locked .x-grid-inner-locked{border-width:0 1px 0 0 !important;border-style:solid}.x-reset .x-grid-header-ct{cursor:default;zoom:1;padding:0;border:1px solid #99bce8}.x-reset .x-border-box .x-ie9 .x-grid-header-ct{padding-left:1px}.x-reset .x-ie6 .x-grid-header-ct,.x-reset .x-ie7 .x-grid-header-ct{padding-left:1px}.x-reset .x-column-header{padding:0;position:absolute;overflow:hidden;border-right:1px solid #c5c5c5;border-left:0 none;border-top:0 none;border-bottom:0 none;text-shadow:0 1px 0 rgba(255, 255, 255, 0.3);font:normal 11px/15px tahoma, arial, verdana, sans-serif;color:null;font:normal 11px tahoma, arial, verdana, sans-serif}.x-reset .x-group-header{padding:0;border-left-width:0}.x-reset .x-group-sub-header{background:transparent;border-top:1px solid #c5c5c5;border-left-width:0}.x-reset .x-column-header-inner{zoom:1;position:relative;white-space:nowrap;line-height:22px;padding:0px 6px}.x-reset .x-column-header-inner .x-column-header-text{white-space:nowrap}.x-reset .x-column-header-over,.x-reset .x-column-header-sort-ASC,.x-reset .x-column-header-sort-DESC{border-left-color:#aaccf6;border-right-color:#aaccf6}.x-reset .x-nlg .x-grid-header-ct,.x-reset .x-nlg .x-column-header{background:repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-bg.gif')}.x-reset .x-nlg .x-column-header-over,.x-reset .x-nlg .x-column-header-sort-ASC,.x-reset .x-nlg .x-column-header-sort-DESC{background:#ebf3fd repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-over-bg.gif')}.x-reset .x-column-header-trigger{display:none;height:100%;width:14px;background:no-repeat left center;background-color:#c3daf9;background-image:url('../../resources/themes/images/default/grid/grid3-hd-btn.gif');position:absolute;right:0;top:0;z-index:2;cursor:pointer}.x-reset .x-column-header-over .x-column-header-trigger,.x-reset .x-column-header-open .x-column-header-trigger{display:block}.x-reset .x-column-header-align-right{text-align:right}.x-reset .x-column-header-align-right .x-column-header-text{padding-right:0.5ex;margin-right:6px}.x-reset .x-column-header-align-center{text-align:center}.x-reset .x-column-header-align-left{text-align:left}.x-reset .x-column-header-sort-ASC .x-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_asc.gif')}.x-reset .x-column-header-sort-DESC .x-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_desc.gif')}.x-reset .x-grid-row{line-height:13px;vertical-align:top;padding:0 1px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-reset .x-grid-row .x-grid-cell{color:null;font:normal 11px tahoma, arial, verdana, sans-serif;border-color:#ededed;border-style:solid;border-width:1px 0;border-top-color:#fafafa}.x-reset .x-grid-rowwrap-div{border-width:1px 0;border-color:#ededed;border-style:solid;border-top-color:#fafafa;overflow:hidden}.x-reset .x-grid-row-alt .x-grid-cell,.x-reset .x-grid-row-alt .x-grid-rowwrap-div{background-color:#fafafa}.x-reset .x-grid-row-over .x-grid-cell,.x-reset .x-grid-row-over .x-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x-reset .x-grid-row-focused .x-grid-cell,.x-reset .x-grid-row-focused .x-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x-reset .x-grid-row-selected .x-grid-cell,.x-reset .x-grid-row-selected .x-grid-rowwrap-div{border-style:dotted;border-color:#a3bae9;background-color:#dfe8f6 !important}.x-reset .x-grid-rowwrap-div .x-grid-cell,.x-reset .x-grid-rowwrap-div .x-grid-cell-inner{border-width:0;background:transparent}.x-reset .x-grid-row-body-hidden{display:none}.x-reset .x-grid-rowbody{font:normal 11px/13px tahoma, arial, verdana, sans-serif;padding:4px}.x-reset .x-grid-rowbody p{margin:5px 5px 10px 5px}.x-reset .x-grid-cell{overflow:hidden;font:normal 13px tahoma, arial, verdana, sans-serif;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-reset .x-grid-cell-inner{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:3px 6px;white-space:nowrap}.x-reset .x-action-col-cell .x-grid-cell-inner{padding:1px 2px 0 2px}.x-reset .x-ie6 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-ie7 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-quirks .x-ie9 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-quirks .x-ie8 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-strict .x-ie8 .x-action-col-cell .x-grid-cell-inner{padding:2px 2px 1px 2px}.x-reset .x-grid-row .x-grid-cell-special{padding:0;border-right:1px solid #d0d0d0;background-image:none;background-color:#f6f6f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #f6f6f6), color-stop(100%, #e9e9e9));background-image:-moz-linear-gradient(left, #f6f6f6,#e9e9e9);background-image:linear-gradient(left, #f6f6f6,#e9e9e9)}.x-reset .x-ie6 .x-grid-header-row,.x-reset .x-ie7 .x-grid-header-row,.x-reset .x-quirks .x-ie8 .x-grid-header-row,.x-reset .x-strict .x-ie8 .x-grid-header-row{position:absolute}.x-reset .x-grid-row-selected .x-grid-cell-special{border-right:1px solid #aaccf6;background-image:none;background-color:#dfe8f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #dfe8f6), color-stop(100%, #cbdaf0));background-image:-moz-linear-gradient(left, #dfe8f6,#cbdaf0);background-image:linear-gradient(left, #dfe8f6,#cbdaf0)}.x-reset .x-grid-dirty-cell{background-image:url('../../resources/themes/images/default/grid/dirty.gif');background-position:0 0;background-repeat:no-repeat}.x-reset .x-grid-cell-selected{background-color:#b8cfee !important}.x-reset .x-nlg .x-grid-cell-special{background-repeat:repeat-y;background-position:top right}.x-reset .x-nlg .x-grid-row .x-grid-cell-special,.x-reset .x-nlg .x-grid-row-over .x-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-bg.gif')}.x-reset .x-nlg .x-grid-row-focused .x-grid-cell-special,.x-reset .x-nlg .x-grid-row-selected .x-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-selected-bg.gif')}.x-reset .x-panel-with-col-lines .x-grid-row .x-grid-cell{padding-right:0;border-right:1px solid #d0d0d0}.x-reset .x-ie .x-grid-cell-special{border-right-width:0 !important}.x-reset .x-property-grid .x-grid-row .x-grid-cell-inner{padding:3px 6px 5px}.x-reset .x-property-grid .x-grid-row .x-grid-property-name .x-grid-cell-inner,.x-reset .x-property-grid .x-grid-row-over .x-grid-property-name .x-grid-cell-inner{padding-left:12px;background-image:url('../../resources/themes/images/default/grid/property-cell-bg.gif');background-repeat:no-repeat;background-position:-16px 1px}.x-reset .x-quirks .x-ie .x-grid-row .x-grid-property-name .x-grid-cell-inner{background-position:-16px 2px}.x-reset .x-unselectable{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-reset .x-grid-row-body-hidden{display:none}.x-reset .x-grid-group-collapsed{display:none}.x-reset .x-grid-view .x-grid-td-expander{vertical-align:top}.x-reset .x-grid-td-expander{background:repeat-y right transparent}.x-reset .x-grid-view .x-grid-td-expander .x-grid-cell-inner{padding:0 !important}.x-reset .x-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');background-color:transparent;width:9px;height:13px;margin-left:3px;background-repeat:no-repeat;background-position:0 -2px}.x-reset .x-grid-row-collapsed .x-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-reset .x-grid-resize-marker{position:absolute;z-index:5;top:0;width:1px;background-color:#0f0f0f}.x-reset .col-move-top,.x-reset .col-move-bottom{width:9px;height:9px;position:absolute;top:0;line-height:0;font-size:0;overflow:hidden;z-index:20000;background:no-repeat left top transparent}.x-reset .col-move-top{background-image:url('../../resources/themes/images/default/grid/col-move-top.gif')}.x-reset .col-move-bottom{background-image:url('../../resources/themes/images/default/grid/col-move-bottom.gif')}.x-reset .x-tbar-page-number{width:30px}.x-reset .x-grid-group,.x-reset .x-grid-group-body,.x-reset .x-grid-group-hd{zoom:1}.x-reset .x-grid-group-hd{padding-top:6px}.x-reset .x-grid-group-hd .x-grid-cell-inner{padding:10px 4px 4px 4px;background:white;border-width:0 0 2px 0;border-style:solid;border-color:#99bbe8;cursor:pointer}.x-reset .x-grid-group-title{background:transparent no-repeat 0 -1px;background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');color:#3764a0;font:bold 11px tahoma, arial, verdana, sans-serif;padding:0 0 0 14px}.x-reset .x-grid-group-hd-collapsed .x-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-reset .x-grid-group-collapsed .x-grid-group-body{display:none}.x-reset .x-grid-group-collapsed .x-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-reset .x-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-column-header-checkbox .x-column-header-inner{padding:1px}.x-reset .x-grid-cell-special .x-grid-cell-inner{padding:4px}.x-reset .x-grid-row-checker,.x-reset .x-column-header-checkbox .x-column-header-text{height:14px;width:14px;background-image:url('../../resources/themes/images/default/grid/unchecked.gif');background-position:-1px -1px;background-repeat:no-repeat;background-color:transparent}.x-reset .x-column-header-checkbox .x-column-header-text{display:block;margin-top:4px;margin-left:4px}.x-reset .x-quirks .x-ie .x-column-header-checkbox .x-column-header-inner,.x-reset .x-ie6 .x-column-header-checkbox .x-column-header-inner{line-height:18px}.x-reset .x-ie6 .x-column-header-checkbox .x-column-header-text,.x-reset .x-ie7 .x-column-header-checkbox .x-column-header-text,.x-reset .x-ie9 .x-column-header-checkbox .x-column-header-text{margin-left:3px}.x-reset .x-grid-hd-checker-on .x-column-header-text{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x-reset .x-grid-row-checker{margin-left:1px;background-position:50% -2px}.x-reset .x-grid-row-selected .x-grid-row-checker,.x-reset .x-grid-row-checked .x-grid-row-checker{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x-reset .x-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first.gif') !important}.x-reset .x-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh.gif') !important}.x-reset .x-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last.gif') !important}.x-reset .x-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next.gif') !important}.x-reset .x-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev.gif') !important}.x-reset .x-item-disabled .x-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev-disabled.gif') !important}.x-reset .xg-hmenu-sort-asc .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-asc.gif')}.x-reset .xg-hmenu-sort-desc .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-desc.gif')}.x-reset .xg-hmenu-lock .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-lock.gif')}.x-reset .xg-hmenu-unlock .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-unlock.gif')}.x-reset .x-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-cols-icon .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/columns.gif')}.x-reset .x-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-grid-drop-indicator{position:absolute;height:1px;line-height:0px;background-color:#77BC71;overflow:visible}.x-reset .x-grid-drop-indicator .x-grid-drop-indicator-left{position:absolute;top:-8px;left:-12px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.png');height:16px;width:16px}.x-reset .x-grid-drop-indicator .x-grid-drop-indicator-right{position:absolute;top:-8px;right:-11px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.png');height:16px;width:16px}.x-reset .x-ie6 .x-grid-drop-indicator-left{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.gif')}.x-reset .x-ie6 .x-grid-drop-indicator-right{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.gif')}.x-reset .x-grid-row-editor{position:absolute !important;z-index:1;zoom:1;overflow:visible !important}.x-reset .x-grid-row-editor .x-form-field{font:normal 11px tahoma, arial, verdana, sans-serif !important}.x-reset .x-grid-row-editor .x-form-display-field{font:normal 11px tahoma, arial, verdana, sans-serif !important;padding-top:0}.x-reset .x-grid-row-editor .x-panel-body{background-color:#eaf1fb;border-top:1px solid #99bce8 !important;border-bottom:1px solid #99bce8 !important}.x-reset .x-grid-row-editor .x-form-text{padding-left:2px}.x-reset .x-grid-editor .x-form-cb-wrap{text-align:center}.x-reset .x-grid-row-editor-buttons{background-color:#eaf1fb;position:absolute;bottom:-31px;padding:4px;width:200px;height:32px}.x-strict .x-reset .x-grid-row-editor-buttons{width:192px;height:24px}.x-reset .x-grid-row-editor-buttons-ml,.x-reset .x-grid-row-editor-buttons-mr,.x-reset .x-grid-row-editor-buttons-bl,.x-reset .x-grid-row-editor-buttons-br,.x-reset .x-grid-row-editor-buttons-bc{position:absolute;overflow:hidden}.x-reset .x-grid-row-editor-buttons-bl,.x-reset .x-grid-row-editor-buttons-br{width:4px;height:4px;bottom:0px;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-corners.gif')}.x-reset .x-grid-row-editor-buttons-bl{left:0px;background-position:0px -16px}.x-reset .x-grid-row-editor-buttons-br{right:0px;background-position:0px -20px}.x-reset .x-grid-row-editor-buttons-bc{position:absolute;left:4px;bottom:0px;width:192px;height:1px;background-color:#99bce8}.x-reset .x-grid-row-editor-buttons-ml,.x-reset .x-grid-row-editor-buttons-mr{height:27px;width:1px;top:1px;background-color:#99bce8}.x-reset .x-grid-row-editor-buttons-ml{left:0px}.x-reset .x-grid-row-editor-buttons-mr{background-position:0px -20px;right:0px}.x-reset .x-grid-row-editor-errors ul{margin-left:5px}.x-reset .x-grid-row-editor-errors li{list-style:disc;margin-left:15px}.x-reset .x-webkit *:focus{outline:none !important}.x-reset .x-form-item{display:block;zoom:1;position:relative;margin-bottom:5px}.x-reset .x-form-item-label{float:left;padding:3px 0 0;z-index:2;position:relative;font-size:12px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default}.x-reset .x-form-item-label-top{float:none;clear:none;padding:0;display:block}.x-reset .x-form-item-label-right{float:left;text-align:right}.x-reset .x-form-item-body{position:relative;float:left}.x-reset .x-form-invalid-under{padding:2px 2px 2px 18px;clear:left;color:#c0272b;font:normal 11px tahoma, arial, verdana, sans-serif;line-height:16px;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 0 2px}.x-reset .x-form-invalid-icon{width:18px;height:18px;overflow:hidden;text-indent:-9999px;position:absolute;left:0;top:0;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 2px 3px}.x-reset .x-form-invalid-icon ul{display:none}.x-reset .x-form-field,.x-reset .x-form-display-field{float:left;margin:0 0 0 0;font:normal 12px tahoma, arial, verdana, sans-serif;color:black}.x-reset .x-form-text,.x-reset textarea.x-form-field{padding:1px 3px;background:repeat-x 0 0;border:1px solid;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');border-color:#b5b8c8}.x-reset .x-form-text{height:18px;line-height:18px;vertical-align:middle}.x-reset .x-ie6 .x-form-text,.x-reset .x-ie7 .x-form-text,.x-reset .x-ie8 .x-form-text{line-height:15px}.x-reset .x-border-box .x-form-text{height:22px}.x-reset textarea.x-form-field{color:black;overflow:auto;height:auto;line-height:normal;background:repeat-x 0 0;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');resize:none}.x-reset .x-border-box textarea.x-form-field{height:auto}.x-reset .x-form-focus,.x-reset textarea.x-form-focus{border-color:#7eadd9}.x-reset .x-form-invalid-field,.x-reset textarea.x-form-invalid-field{background-color:white;background-image:url('../../resources/themes/images/default/grid/invalid_line.gif');background-repeat:repeat-x;background-position:bottom;border-color:#cc3300}.x-reset .x-form-item{font:normal 12px tahoma, arial, verdana, sans-serif}.x-reset .x-form-empty-field,.x-reset textarea.x-form-empty-field{color:gray}.x-reset .x-webkit .x-form-empty-field{line-height:15px}.x-reset .x-form-display-field{padding-top:3px}.x-reset .x-ie .x-form-file{height:23px;line-height:18px;vertical-align:middle}.x-reset .x-field-default-toolbar .x-form-text{height:16px}.x-reset .x-border-box .x-field-default-toolbar .x-form-text{height:20px}.x-reset .x-field-default-toolbar .x-form-item-label-left{padding-left:4px}.x-reset .x-fieldset{border:1px solid #b5b8c8;padding:10px;margin-bottom:10px;display:block}.x-reset .x-ie .x-fieldset{padding-top:0;padding-bottom:10px}.x-reset .x-fieldset-header{font:11px bold tahoma, arial, verdana, sans-serif;color:#15428b;padding:0 3px;line-height:16px}.x-reset .x-fieldset-header .x-fieldset-header-text{float:left}.x-reset .x-fieldset-header .x-form-item,.x-reset .x-fieldset-header .x-tool{float:left;margin:0 3px 0 0}.x-reset .x-fieldset-header .x-form-cb-wrap{padding:0}.x-reset .x-webkit .x-fieldset-header{padding-top:1px}.x-reset .x-quirks .x-ie .x-fieldset-header,.x-reset .x-ie6 .x-fieldset-header,.x-reset .x-ie7 .x-fieldset-header,.x-reset .x-ie8 .x-fieldset-header{padding:0}.x-reset .x-ie .x-fieldset-header{margin-bottom:10px}.x-reset .x-ie9 .x-fieldset-header{padding-top:1px}.x-reset .x-fieldset-collapsed .x-fieldset-body{display:none}.x-reset .x-fieldset-collapsed{padding-bottom:0 !important;border-width:1px 1px 0 1px !important;border-left-color:transparent !important;border-right-color:transparent !important}.x-reset .x-ie6 .x-fieldset-collapsed{border-width:1px 0 0 0 !important;padding-bottom:0 !important;margin-left:1px;margin-right:1px}.x-reset .x-ie .x-fieldset-bwrap{zoom:1}.x-reset .x-ie .x-fieldset-noborder legend{position:relative;margin-bottom:23px}.x-reset .x-ie .x-fieldset-noborder legend span{position:absolute;left:16px}.x-reset .x-fieldset{overflow:hidden}.x-reset .x-fieldset-bwrap{overflow:hidden;zoom:1}.x-reset .x-fieldset-body{overflow:hidden}.x-reset .x-form-cb-wrap{padding-top:3px}.x-reset .x-form-checkbox,.x-reset .x-form-radio{float:none;vertical-align:-1px;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x-reset .x-form-checkbox::-moz-focus-inner,.x-reset .x-form-radio::-moz-focus-inner{padding:0;border:0}.x-reset .x-nbr.x-ie .x-form-checkbox,.x-reset .x-nbr.x-ie .x-form-radio{font-size:0}.x-reset .x-form-cb-checked .x-form-checkbox,.x-reset .x-form-cb-checked .x-form-radio{background-position:0 -13px}.x-reset .x-form-cb-focus{background-position:-13px 0}.x-reset .x-form-cb-checked .x-form-cb-focus{background-position:-13px -13px}.x-reset .x-form-radio{background-image:url('../../resources/themes/images/default/form/radio.gif')}.x-reset .x-form-cb-label-before{margin-right:4px}.x-reset .x-form-cb-label-after{margin-left:4px}.x-reset .x-form-checkboxgroup-body{padding:3px 4px}.x-reset .x-form-invalid .x-form-checkboxgroup-body{border:1px solid #c30;background:white url('../../resources/themes/images/default/grid/invalid_line.gif') repeat-x bottom;padding:2px 3px}.x-reset .x-check-group-alt{background:#d1ddef;border-top:1px dotted #b5b8c8;border-bottom:1px dotted #b5b8c8}.x-reset .x-form-check-group-label{color:#333;border-bottom:1px solid #333;margin:0 30px 5px 0;padding:2px}.x-reset .x-form-trigger-wrap{float:left}.x-reset .x-form-trigger{background-image:url('../../resources/themes/images/default/form/trigger.gif');background-position:0 0;width:17px;height:21px;float:left;border-bottom:1px solid #b5b8c8;cursor:pointer;cursor:hand}.x-reset .x-border-box .x-form-trigger{height:22px}.x-reset .x-field-default-toolbar .x-form-trigger{height:19px}.x-reset .x-border-box .x-field-default-toolbar .x-form-trigger{height:20px}.x-reset .x-form-trigger-over{background-position:-17px 0;border-bottom-color:#7eadd9}.x-reset .x-form-trigger-wrap-focus .x-form-trigger{background-position:-51px 0;border-bottom-color:#7eadd9}.x-reset .x-form-trigger-wrap-focus .x-form-trigger-over{background-position:-68px 0;border-bottom-color:null}.x-reset .x-form-trigger-click,.x-reset .x-form-trigger-wrap-focus .x-form-trigger-click{background-position:-34px 0;border-bottom-color:null}.x-reset .x-form-trigger-icon{height:16px;background-repeat:no-repeat;background-position:7px 6px}.x-reset .x-pickerfield-open .x-form-field{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0}.x-reset .x-pickerfield-open-above .x-form-field{-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0}.x-reset .x-form-arrow-trigger .x-form-trigger-icon{background-image:url('../../resources/themes/images/default/boundlist/trigger-arrow.png')}.x-reset .x-form-date-trigger{background-image:url('../../resources/themes/images/default/form/date-trigger.gif')}.x-reset .x-form-trigger-wrap .x-form-spinner-up,.x-reset .x-form-trigger-wrap .x-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner.gif');width:17px;height:11px;font-size:0;border-bottom:0}.x-reset .x-form-trigger-wrap .x-form-spinner-down{background-position:0 -11px}.x-reset .x-form-trigger-wrap-focus .x-form-spinner-down{background-position:-51px -11px}.x-reset .x-form-trigger-wrap .x-form-spinner-down-over{background-position:-17px -11px}.x-reset .x-form-trigger-wrap-focus .x-form-spinner-down-over{background-position:-68px -11px}.x-reset .x-form-trigger-wrap .x-form-spinner-down-click{background-position:-34px -11px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-up,.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner-small.gif');height:10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down{background-position:0 -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap-focus .x-form-spinner-down{background-position:-51px -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down-over{background-position:-17px -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap-focus .x-form-spinner-down-over{background-position:-68px -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down-click{background-position:-34px -10px}.x-reset .x-trigger-noedit{cursor:pointer;cursor:hand}.x-reset .x-form-clear-trigger{background-image:url('../../resources/themes/images/default/form/clear-trigger.gif')}.x-reset .x-form-search-trigger{background-image:url('../../resources/themes/images/default/form/search-trigger.gif')}.x-reset .x-html-editor-wrap{border:1px solid #b5b8c8}.x-reset .x-html-editor-wrap .x-toolbar{border-top-width:0;border-left-width:0;border-right-width:0}.x-reset .x-html-editor-wrap textarea{background-color:white}.x-reset .x-html-editor-tb .x-btn-text{background:transparent url('../../resources/themes/images/default/editor/tb-sprite.gif') no-repeat}.x-reset .x-html-editor-tb .x-edit-bold,.x-reset .x-menu-item img.x-edit-bold{background-position:0 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-italic,.x-reset .x-menu-item img.x-edit-italic{background-position:-16px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-underline,.x-reset .x-menu-item img.x-edit-underline{background-position:-32px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-forecolor,.x-reset .x-menu-item img.x-edit-forecolor{background-position:-160px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-backcolor,.x-reset .x-menu-item img.x-edit-backcolor{background-position:-176px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-justifyleft,.x-reset .x-menu-item img.x-edit-justifyleft{background-position:-112px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-justifycenter,.x-reset .x-menu-item img.x-edit-justifycenter{background-position:-128px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-justifyright,.x-reset .x-menu-item img.x-edit-justifyright{background-position:-144px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-insertorderedlist,.x-reset .x-menu-item img.x-edit-insertorderedlist{background-position:-80px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-insertunorderedlist,.x-reset .x-menu-item img.x-edit-insertunorderedlist{background-position:-96px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-increasefontsize,.x-reset .x-menu-item img.x-edit-increasefontsize{background-position:-48px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-decreasefontsize,.x-reset .x-menu-item img.x-edit-decreasefontsize{background-position:-64px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-sourceedit,.x-reset .x-menu-item img.x-edit-sourceedit{background-position:-192px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-createlink,.x-reset .x-menu-item img.x-edit-createlink{background-position:-208px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tip .x-tip-bd .x-tip-bd-inner{padding:5px;padding-bottom:1px}.x-reset .x-html-editor-tb .x-toolbar{position:static !important}.x-reset .x-html-editor-tb .x-font-select{font-size:11px}.x-reset .x-html-editor-wrap textarea{border:0;padding:3px 2px;overflow:auto}.x-reset .x-panel,.x-reset .x-plain{overflow:hidden;position:relative}.x-reset .x-ie .x-panel-header,.x-reset .x-ie .x-panel-header-tl,.x-reset .x-ie .x-panel-header-tc,.x-reset .x-ie .x-panel-header-tr,.x-reset .x-ie .x-panel-header-ml,.x-reset .x-ie .x-panel-header-mc,.x-reset .x-ie .x-panel-header-mr,.x-reset .x-ie .x-panel-header-bl,.x-reset .x-ie .x-panel-header-bc,.x-reset .x-ie .x-panel-header-br{zoom:1}.x-reset .x-ie8 td.x-frame-mc{vertical-align:top}.x-reset .x-panel-header{padding:5px 4px 4px 5px}.x-reset .x-panel-header-icon,.x-reset .x-window-header-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:0 0;vertical-align:middle;margin-right:4px;margin-top:-1px;margin-bottom:-1px}.x-reset .x-panel-header-draggable,.x-reset .x-panel-header-draggable .x-panel-header-text,.x-reset .x-window-header-draggable,.x-reset .x-window-header-draggable .x-window-header-text{cursor:move}.x-reset .x-panel-ghost,.x-reset .x-window-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;cursor:move}.x-reset .x-panel-header-horizontal .x-panel-header-body,.x-reset .x-panel-header-horizontal .x-window-header-body,.x-reset .x-panel-header-horizontal .x-btn-group-header-body,.x-reset .x-window-header-horizontal .x-panel-header-body,.x-reset .x-window-header-horizontal .x-window-header-body,.x-reset .x-window-header-horizontal .x-btn-group-header-body,.x-reset .x-btn-group-header-horizontal .x-panel-header-body,.x-reset .x-btn-group-header-horizontal .x-window-header-body,.x-reset .x-btn-group-header-horizontal .x-btn-group-header-body{width:100%}.x-reset .x-panel-header-vertical .x-panel-header-body,.x-reset .x-panel-header-vertical .x-window-header-body,.x-reset .x-panel-header-vertical .x-btn-group-header-body,.x-reset .x-window-header-vertical .x-panel-header-body,.x-reset .x-window-header-vertical .x-window-header-body,.x-reset .x-window-header-vertical .x-btn-group-header-body,.x-reset .x-btn-group-header-vertical .x-panel-header-body,.x-reset .x-btn-group-header-vertical .x-window-header-body,.x-reset .x-btn-group-header-vertical .x-btn-group-header-body{height:100%}.x-reset .x-panel-header-vertical,.x-reset .x-panel-header-vertical .x-panel-header-body,.x-reset .x-btn-group-header-vertical,.x-reset .x-btn-group-header-vertical .x-btn-group-header-body,.x-reset .x-window-header-vertical,.x-reset .x-window-header-vertical .x-window-header-body{display:-moz-inline-stack;display:inline-block}.x-reset .x-panel-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap}.x-reset .x-panel-header-left .x-vml-base,.x-reset .x-panel-header-right .x-vml-base{left:-3px !important}.x-reset .x-panel-body{overflow:hidden;position:relative;font-size:12px}.x-reset .x-panel-header-vertical .x-surface{margin-top:2px}.x-reset .x-panel-header-plain-vertical .x-surface{margin-top:0}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-top{border-bottom-width:1px !important}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-right{border-left-width:1px !important}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-bottom{border-top-width:1px !important}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-left{border-right-width:1px !important}.x-reset .x-nlg .x-panel-header-vertical .x-frame-mc{background-repeat:repeat-y}.x-reset .x-panel-default{border-color:#99bce8}.x-reset .x-panel-header-default{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid}.x-reset .x-nlg .x-panel-header-default-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-top-bg.gif')}.x-reset .x-nlg .x-panel-header-default-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-bottom-bg.gif')}.x-reset .x-nlg .x-panel-header-default-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-left-bg.gif')}.x-reset .x-nlg .x-panel-header-default-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-right-bg.gif')}.x-reset .x-panel-header-text-default{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x-reset .x-panel-body-default{background:white;border-color:#99bce8;color:black;border-width:1px;border-style:solid}.x-reset .x-panel-collapsed .x-window-header-default,.x-reset .x-panel-collapsed .x-panel-header-default{border-color:#99bce8}.x-reset .x-panel-header-default-vertical{border-color:#99bce8}.x-reset .x-panel-collapsed .x-panel-header-default-top{-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x-reset .x-panel-collapsed .x-panel-header-default-right{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null}.x-reset .x-panel-collapsed .x-panel-header-default-bottom{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null}.x-reset .x-panel-collapsed .x-panel-header-default-left{-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x-reset .x-nlg .x-panel-header-default-right{background-position:top right}.x-reset .x-panel-header-default-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset}.x-reset .x-panel-header-default-right{-moz-box-shadow:#f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd -1px 0 0px 0 inset}.x-reset .x-panel-header-default-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset}.x-reset .x-panel-header-default-left{-moz-box-shadow:#f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 1px 0 0px 0 inset}.x-reset .x-nlg .x-panel-header-default-bottom{background-position:bottom left}.x-reset .x-panel-header-default-right-tc,.x-reset .x-panel-header-default-right-mc,.x-reset .x-panel-header-default-right-bc{background-position:right 0}.x-reset .x-panel-header-default-bottom-tc,.x-reset .x-panel-header-default-bottom-mc,.x-reset .x-panel-header-default-bottom-bc{background-position:0 bottom}.x-reset .x-panel-default-framed{border-color:#99bce8}.x-reset .x-panel-header-default-framed{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid}.x-reset .x-nlg .x-panel-header-default-framed-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif')}.x-reset .x-nlg .x-panel-header-default-framed-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif')}.x-reset .x-nlg .x-panel-header-default-framed-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif')}.x-reset .x-nlg .x-panel-header-default-framed-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif')}.x-reset .x-panel-header-text-default-framed{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x-reset .x-panel-body-default-framed{background:#dfe9f6;border-color:#99bce8;color:black;border-width:0;border-style:solid}.x-reset .x-panel-collapsed .x-window-header-default-framed,.x-reset .x-panel-collapsed .x-panel-header-default-framed{border-color:#99bce8}.x-reset .x-panel-header-default-framed-vertical{border-color:#99bce8}.x-reset .x-panel-default-framed{padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#dfe9f6}.x-reset .x-nlg .x-panel-default-framed-mc{background-color:#dfe9f6}.x-reset .x-nbr .x-panel-default-framed{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000404px}.x-reset .x-nbr .x-panel-default-framed-tl,.x-reset .x-nbr .x-panel-default-framed-bl,.x-reset .x-nbr .x-panel-default-framed-tr,.x-reset .x-nbr .x-panel-default-framed-br,.x-reset .x-nbr .x-panel-default-framed-tc,.x-reset .x-nbr .x-panel-default-framed-bc,.x-reset .x-nbr .x-panel-default-framed-ml,.x-reset .x-nbr .x-panel-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-corners.gif')}.x-reset .x-nbr .x-panel-default-framed-ml,.x-reset .x-nbr .x-panel-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-panel-default-framed-mc{padding:0px 0px 0px 0px}.x-reset .x-panel-header-default-framed-top{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000000px}.x-reset .x-nbr .x-panel-header-default-framed-top-tl,.x-reset .x-nbr .x-panel-header-default-framed-top-bl,.x-reset .x-nbr .x-panel-header-default-framed-top-tr,.x-reset .x-nbr .x-panel-header-default-framed-top-br,.x-reset .x-nbr .x-panel-header-default-framed-top-tc,.x-reset .x-nbr .x-panel-header-default-framed-top-bc,.x-reset .x-nbr .x-panel-header-default-framed-top-ml,.x-reset .x-nbr .x-panel-header-default-framed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-top-ml,.x-reset .x-nbr .x-panel-header-default-framed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-sides.gif');background-position:0 0}.x-reset .x-nbr .x-panel-header-default-framed-top-mc{padding:0px 1px 4px 1px}.x-reset .x-panel-header-default-framed-right{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-right{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000004px 1100400px}.x-reset .x-nbr .x-panel-header-default-framed-right-tl,.x-reset .x-nbr .x-panel-header-default-framed-right-bl,.x-reset .x-nbr .x-panel-header-default-framed-right-tr,.x-reset .x-nbr .x-panel-header-default-framed-right-br,.x-reset .x-nbr .x-panel-header-default-framed-right-tc,.x-reset .x-nbr .x-panel-header-default-framed-right-bc,.x-reset .x-nbr .x-panel-header-default-framed-right-ml,.x-reset .x-nbr .x-panel-header-default-framed-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-right-tc,.x-reset .x-nbr .x-panel-header-default-framed-right-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-sides.gif');background-position:0 0;background-repeat:repeat-x}.x-reset .x-nbr .x-panel-header-default-framed-right-mc{padding:0px 1px 0px 5px}.x-reset .x-panel-header-default-framed-bottom{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000000px 1000404px}.x-reset .x-nbr .x-panel-header-default-framed-bottom-tl,.x-reset .x-nbr .x-panel-header-default-framed-bottom-bl,.x-reset .x-nbr .x-panel-header-default-framed-bottom-tr,.x-reset .x-nbr .x-panel-header-default-framed-bottom-br,.x-reset .x-nbr .x-panel-header-default-framed-bottom-tc,.x-reset .x-nbr .x-panel-header-default-framed-bottom-bc,.x-reset .x-nbr .x-panel-header-default-framed-bottom-ml,.x-reset .x-nbr .x-panel-header-default-framed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-bottom-ml,.x-reset .x-nbr .x-panel-header-default-framed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-sides.gif');background-position:0 0}.x-reset .x-nbr .x-panel-header-default-framed-bottom-mc{padding:4px 1px 0px 1px}.x-reset .x-panel-header-default-framed-left{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-left{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000400px 1100004px}.x-reset .x-nbr .x-panel-header-default-framed-left-tl,.x-reset .x-nbr .x-panel-header-default-framed-left-bl,.x-reset .x-nbr .x-panel-header-default-framed-left-tr,.x-reset .x-nbr .x-panel-header-default-framed-left-br,.x-reset .x-nbr .x-panel-header-default-framed-left-tc,.x-reset .x-nbr .x-panel-header-default-framed-left-bc,.x-reset .x-nbr .x-panel-header-default-framed-left-ml,.x-reset .x-nbr .x-panel-header-default-framed-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-left-tc,.x-reset .x-nbr .x-panel-header-default-framed-left-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-sides.gif');background-position:0 0;background-repeat:repeat-x}.x-reset .x-nbr .x-panel-header-default-framed-left-mc{padding:0px 5px 0px 1px}.x-reset .x-panel-header-default-framed-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-reset .x-panel-header-default-framed-right{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset}.x-reset .x-panel-header-default-framed-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-reset .x-panel-header-default-framed-left{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-reset .x-nlg .x-panel-header-default-framed-bottom{background-position:bottom left}.x-reset .x-panel .x-panel-header-default-framed-top{border-bottom-width:1px !important}.x-reset .x-panel .x-panel-header-default-framed-right{border-left-width:1px !important}.x-reset .x-panel .x-panel-header-default-framed-bottom{border-top-width:1px !important}.x-reset .x-panel .x-panel-header-default-framed-left{border-right-width:1px !important}.x-reset .x-panel-header-default-framed-collapsed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.x-reset .x-panel-header-default-framed-collapsed-top{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000404px}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-tl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-bl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-tr,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-br,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-tc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-bc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-ml,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-ml,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-sides.gif');background-position:0 0}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-top-mc{padding:0px 1px 0px 1px}.x-reset .x-panel-header-default-framed-collapsed-right{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1100404px}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-tl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-bl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-tr,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-br,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-tc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-bc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-ml,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-tc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-sides.gif');background-position:0 0;background-repeat:repeat-x}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-right-mc{padding:0px 1px 0px 1px}.x-reset .x-panel-header-default-framed-collapsed-bottom{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000404px}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-tl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-bl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-tr,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-br,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-tc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-bc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-ml,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-ml,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-sides.gif');background-position:0 0}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-bottom-mc{padding:0px 1px 0px 1px}.x-reset .x-panel-header-default-framed-collapsed-left{padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-bg.gif');background-color:#cbddf3}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1100404px}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-tl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-bl,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-tr,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-br,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-tc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-bc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-ml,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-corners.gif')}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-tc,.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-sides.gif');background-position:0 0;background-repeat:repeat-x}.x-reset .x-nbr .x-panel-header-default-framed-collapsed-left-mc{padding:0px 1px 0px 1px}.x-reset .x-panel-header-default-framed-right-tc,.x-reset .x-panel-header-default-framed-right-mc,.x-reset .x-panel-header-default-framed-right-bc{background-position:right 0}.x-reset .x-panel-header-default-framed-bottom-tc,.x-reset .x-panel-header-default-framed-bottom-mc,.x-reset .x-panel-header-default-framed-bottom-bc{background-position:0 bottom}.x-reset .x-panel-header-plain,.x-reset .x-panel-body-plain{border:0;padding:0}.x-reset .x-tip{position:absolute;overflow:visible;border-color:#8eaace}.x-reset .x-tip .x-tip-header .x-box-item{padding:3px 3px 0}.x-reset .x-tip .x-tip-header .x-tool{padding:0px 1px 0 0 !important}.x-reset .x-tip{padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:#e9f2ff}.x-reset .x-nlg .x-tip-mc{background-color:#e9f2ff}.x-reset .x-nbr .x-tip{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x-reset .x-nbr .x-tip-tl,.x-reset .x-nbr .x-tip-bl,.x-reset .x-nbr .x-tip-tr,.x-reset .x-nbr .x-tip-br,.x-reset .x-nbr .x-tip-tc,.x-reset .x-nbr .x-tip-bc,.x-reset .x-nbr .x-tip-ml,.x-reset .x-nbr .x-tip-mr{zoom:1;background-image:url('../../resources/themes/images/default/tip/tip-corners.gif')}.x-reset .x-nbr .x-tip-ml,.x-reset .x-nbr .x-tip-mr{zoom:1;background-image:url('../../resources/themes/images/default/tip/tip-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-tip-mc{padding:0 0 0 0}.x-reset .x-tip-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;color:#444444;font-size:11px;font-weight:bold}.x-reset .x-tip-header-draggable .x-tip-header-text{cursor:move}.x-reset .x-tip-body,.x-reset .x-form-invalid-tip-body{overflow:hidden;position:relative;padding:3px}.x-reset .x-tip-header,.x-reset .x-tip-body,.x-reset .x-form-invalid-tip-body{color:#444444;font-size:11px;font-weight:normal}.x-reset .x-tip-header a,.x-reset .x-tip-body a,.x-reset .x-form-invalid-tip-body a{color:#2a2a2a}.x-reset .x-tip-anchor{position:absolute;overflow:hidden;height:0;width:0;border-style:solid;border-width:5px;border-color:#8eaace;zoom:1}.x-reset .x-border-box .x-tip-anchor{width:10px;height:10px}.x-reset .x-tip-anchor-top{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;_border-top-color:pink;_border-left-color:pink;_border-right-color:pink;_filter:chroma(color=pink)}.x-reset .x-tip-anchor-bottom{border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;_border-bottom-color:pink;_border-left-color:pink;_border-right-color:pink;_filter:chroma(color=pink)}.x-reset .x-tip-anchor-left{border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;_border-top-color:pink;_border-bottom-color:pink;_border-left-color:pink;_filter:chroma(color=pink)}.x-reset .x-tip-anchor-right{border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;_border-top-color:pink;_border-bottom-color:pink;_border-right-color:pink;_filter:chroma(color=pink)}.x-reset .x-form-invalid-tip{border-color:#a1311f;-moz-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-webkit-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-o-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset}.x-reset .x-form-invalid-tip-body{background:1px 1px no-repeat;background-image:url('../../resources/themes/images/default/form/exclamation.gif');padding-left:22px}.x-reset .x-form-invalid-tip-body li{margin-bottom:4px}.x-reset .x-form-invalid-tip-body li.last{margin-bottom:0}.x-reset .x-form-invalid-tip-default{padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-form-invalid-tip-default-mc{background-color:white}.x-reset .x-nbr .x-form-invalid-tip-default{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100505px 1000505px}.x-reset .x-nbr .x-form-invalid-tip-default-tl,.x-reset .x-nbr .x-form-invalid-tip-default-bl,.x-reset .x-nbr .x-form-invalid-tip-default-tr,.x-reset .x-nbr .x-form-invalid-tip-default-br,.x-reset .x-nbr .x-form-invalid-tip-default-tc,.x-reset .x-nbr .x-form-invalid-tip-default-bc,.x-reset .x-nbr .x-form-invalid-tip-default-ml,.x-reset .x-nbr .x-form-invalid-tip-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/form-invalid-tip/form-invalid-tip-default-corners.gif')}.x-reset .x-nbr .x-form-invalid-tip-default-ml,.x-reset .x-nbr .x-form-invalid-tip-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/form-invalid-tip/form-invalid-tip-default-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-form-invalid-tip-default-mc{padding:0 0 0 0}.x-reset .x-slider{zoom:1}.x-reset .x-slider-inner{position:relative;left:0;top:0;overflow:visible;zoom:1}.x-reset .x-slider-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;display:block;overflow:hidden}.x-reset .x-slider-horz{padding-left:7px;background:transparent no-repeat 0 -24px}.x-reset .x-slider-horz .x-slider-end{padding-right:7px;zoom:1;background:transparent no-repeat right -46px}.x-reset .x-slider-horz .x-slider-inner{background:transparent repeat-x 0 -2px;height:18px}.x-reset .x-slider-horz .x-slider-thumb{width:14px;height:15px;position:absolute;left:0;top:1px;background:transparent no-repeat 0 0}.x-reset .x-slider-horz .x-slider-thumb-over{background-position:-14px -15px}.x-reset .x-slider-horz .x-slider-thumb-drag{background-position:-28px -30px}.x-reset .x-slider-vert{padding-top:7px;background:transparent no-repeat -44px 0}.x-reset .x-slider-vert .x-slider-end{padding-bottom:7px;zoom:1;background:transparent no-repeat -22px bottom;width:22px}.x-reset .x-slider-vert .x-slider-inner{background:transparent repeat-y 0 0;width:22px}.x-reset .x-slider-vert .x-slider-thumb{width:15px;height:14px;position:absolute;left:3px;bottom:0;background:transparent no-repeat 0 0}.x-reset .x-slider-vert .x-slider-thumb-over{background-position:-15px -14px}.x-reset .x-slider-vert .x-slider-thumb-drag{background-position:-30px -28px}.x-reset .x-slider-horz,.x-reset .x-slider-horz .x-slider-end,.x-reset .x-slider-horz .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-bg.png')}.x-reset .x-slider-horz .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-thumb.png')}.x-reset .x-slider-vert,.x-reset .x-slider-vert .x-slider-end,.x-reset .x-slider-vert .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-v-bg.png')}.x-reset .x-slider-vert .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-v-thumb.png')}.x-reset .x-ie6 .x-slider-horz,.x-reset .x-ie6 .x-slider-horz .x-slider-end,.x-reset .x-ie6 .x-slider-horz .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-bg.gif')}.x-reset .x-ie6 .x-slider-horz .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-thumb.gif')}.x-reset .x-ie6 .x-slider-vert,.x-reset .x-ie6 .x-slider-vert .x-slider-end,.x-reset .x-ie6 .x-slider-vert .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-v-bg.gif')}.x-reset .x-ie6 .x-slider-vert .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-v-thumb.gif')}.x-reset .x-progress{border-width:1px;border-style:solid;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;overflow:hidden;height:20px}.x-reset .x-progress-bar{height:18px;overflow:hidden;position:absolute;width:0;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;border-right:1px solid;border-top:1px solid}.x-reset .x-progress-text{overflow:hidden;position:absolute;padding:0 5px;height:18px;font-weight:bold;font-size:11px;line-height:16px;text-align:center}.x-reset .x-progress-text-back{padding-top:1px}.x-reset .x-strict .x-progress{height:18px}.x-reset .x-progress-default{border-color:#6594cf}.x-reset .x-progress-default .x-progress-bar{border-right-color:#6594cf;border-top-color:#c6d8ed;background-image:none;background-color:#73a3e0;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b2ccee), color-stop(50%, #88b1e5), color-stop(51%, #73a3e0), color-stop(100%, #5e96db));background-image:-moz-linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db);background-image:linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db)}.x-reset .x-progress-default .x-progress-text{color:white}.x-reset .x-progress-default .x-progress-text-back{color:#396295}.x-reset .x-nlg .x-progress-default .x-progress-bar{background:url('../../resources/themes/images/default/progress/progress-default-bg.gif') repeat-x}.x-reset .x-toolbar{font-size:11px;border:1px solid;padding:2px 0 2px 2px}.x-reset .x-toolbar .x-form-item-label{font-size:11px;line-height:15px}.x-reset .x-toolbar .x-toolbar-item{margin:0 2px 0 0}.x-reset .x-toolbar .x-toolbar-text{margin-left:4px;margin-right:6px;white-space:nowrap;color:#4c4c4c !important;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px;font-weight:normal}.x-reset .x-toolbar .x-toolbar-separator{display:block;font-size:1px;overflow:hidden;cursor:default;border:0}.x-reset .x-toolbar .x-toolbar-separator-horizontal{margin:0 3px 0 2px;height:14px;width:0px;border-left:1px solid #98c8ff;border-right:1px solid white}.x-reset .x-quirks .x-ie .x-toolbar .x-toolbar-separator-horizontal{width:2px}.x-reset .x-toolbar-footer{background:transparent;border:0px none;margin-top:3px;padding:2px 0 2px 6px}.x-reset .x-toolbar-footer .x-box-inner{border-width:0}.x-reset .x-toolbar-footer .x-toolbar-item{margin:0 6px 0 0}.x-reset .x-toolbar-vertical{padding:2px 2px 0 2px}.x-reset .x-toolbar-vertical .x-toolbar-item{margin:0 0 2px 0}.x-reset .x-toolbar-vertical .x-toolbar-text{margin-top:4px;margin-bottom:6px}.x-reset .x-toolbar-vertical .x-toolbar-separator-vertical{margin:2px 5px 3px 5px;height:0px;width:10px;line-height:0px;border-top:1px solid #98c8ff;border-bottom:1px solid white}.x-reset .x-toolbar-scroller{padding-left:0}.x-reset .x-toolbar-spacer{width:2px}.x-reset .x-toolbar-more-icon{background-image:url('../../resources/themes/images/default/toolbar/more.gif') !important;background-position:2px center !important;background-repeat:no-repeat}.x-reset .x-toolbar-default{border-color:#99bce8;background-image:none;background-color:#d3e1f1;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dfe9f5), color-stop(100%, #d3e1f1));background-image:-moz-linear-gradient(top, #dfe9f5,#d3e1f1);background-image:linear-gradient(top, #dfe9f5,#d3e1f1)}.x-reset .x-nlg .x-toolbar-default{background-image:url('../../resources/themes/images/default/toolbar/toolbar-default-bg.gif') !important;background-repeat:repeat-x}.x-reset .x-toolbar-plain{border:0}.x-reset .x-window{outline:none}.x-reset .x-window .x-window-wrap{position:relative}.x-reset .x-window .x-window-wrap .x-window-body{overflow:hidden}.x-reset .x-window-body{position:relative;border-style:solid}.x-reset .x-window-maximized .x-window-wrap .x-window-header{-moz-border-radius:0 !important;-webkit-border-radius:0 !important;-o-border-radius:0 !important;-ms-border-radius:0 !important;-khtml-border-radius:0 !important;border-radius:0 !important}.x-reset .x-window-collapsed .x-window-header-vertical{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x-reset .x-window-collapsed .x-window-header-horizontal{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x-reset .x-window-collapsed .x-window-header-left{padding-right:5px !important}.x-reset .x-window-collapsed .x-window-header-right{padding-left:5px !important}.x-reset .x-window-collapsed .x-window-header-top{padding-bottom:5px !important}.x-reset .x-window-collapsed .x-window-header-bottom{padding-top:5px !important}.x-reset .x-window-header-left .x-vml-base,.x-reset .x-window-header-right .x-vml-base{left:-3px !important}.x-reset .x-window-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap;display:block}.x-reset .x-window-default{border-color:#a2b1c5;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px;-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-default{padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-default-mc{background-color:#ced9e7}.x-reset .x-nbr .x-window-default{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000505px 1000505px}.x-reset .x-nbr .x-window-default-tl,.x-reset .x-nbr .x-window-default-bl,.x-reset .x-nbr .x-window-default-tr,.x-reset .x-nbr .x-window-default-br,.x-reset .x-nbr .x-window-default-tc,.x-reset .x-nbr .x-window-default-bc,.x-reset .x-nbr .x-window-default-ml,.x-reset .x-nbr .x-window-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/window/window-default-corners.gif')}.x-reset .x-nbr .x-window-default-ml,.x-reset .x-nbr .x-window-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/window/window-default-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-window-default-mc{padding:0 0 0 0}.x-reset .x-window-body-default{border-color:#99bbe8;border-width:1px;background:#dfe8f6;color:black}.x-reset .x-window-header-default{border-color:#a2b1c5;zoom:1}.x-reset .x-window-header-text-default{color:#04468c;font-weight:bold;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px}.x-reset .x-window-header-default-top{padding:5px 5px 0 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-top-mc{background-color:#ced9e7}.x-reset .x-nbr .x-window-header-default-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000505px 1000000px}.x-reset .x-nbr .x-window-header-default-top-tl,.x-reset .x-nbr .x-window-header-default-top-bl,.x-reset .x-nbr .x-window-header-default-top-tr,.x-reset .x-nbr .x-window-header-default-top-br,.x-reset .x-nbr .x-window-header-default-top-tc,.x-reset .x-nbr .x-window-header-default-top-bc,.x-reset .x-nbr .x-window-header-default-top-ml,.x-reset .x-nbr .x-window-header-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-top-corners.gif')}.x-reset .x-nbr .x-window-header-default-top-ml,.x-reset .x-nbr .x-window-header-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-top-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-window-header-default-top-mc{padding:0px 0px 0 0px}.x-reset .x-window-header-default-right{padding:5px 5px 5px 0;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-right-mc{background-color:#ced9e7}.x-reset .x-nbr .x-window-header-default-right{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000005px 1000500px}.x-reset .x-nbr .x-window-header-default-right-tl,.x-reset .x-nbr .x-window-header-default-right-bl,.x-reset .x-nbr .x-window-header-default-right-tr,.x-reset .x-nbr .x-window-header-default-right-br,.x-reset .x-nbr .x-window-header-default-right-tc,.x-reset .x-nbr .x-window-header-default-right-bc,.x-reset .x-nbr .x-window-header-default-right-ml,.x-reset .x-nbr .x-window-header-default-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-right-corners.gif')}.x-reset .x-nbr .x-window-header-default-right-ml,.x-reset .x-nbr .x-window-header-default-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-right-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-window-header-default-right-mc{padding:0px 0px 0px 0}.x-reset .x-window-header-default-bottom{padding:0 5px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-bottom-mc{background-color:#ced9e7}.x-reset .x-nbr .x-window-header-default-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000000px 1000505px}.x-reset .x-nbr .x-window-header-default-bottom-tl,.x-reset .x-nbr .x-window-header-default-bottom-bl,.x-reset .x-nbr .x-window-header-default-bottom-tr,.x-reset .x-nbr .x-window-header-default-bottom-br,.x-reset .x-nbr .x-window-header-default-bottom-tc,.x-reset .x-nbr .x-window-header-default-bottom-bc,.x-reset .x-nbr .x-window-header-default-bottom-ml,.x-reset .x-nbr .x-window-header-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-bottom-corners.gif')}.x-reset .x-nbr .x-window-header-default-bottom-ml,.x-reset .x-nbr .x-window-header-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-bottom-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-window-header-default-bottom-mc{padding:0 0px 0px 0px}.x-reset .x-window-header-default-left{padding:5px 0px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-left-mc{background-color:#ced9e7}.x-reset .x-nbr .x-window-header-default-left{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000500px 1000005px}.x-reset .x-nbr .x-window-header-default-left-tl,.x-reset .x-nbr .x-window-header-default-left-bl,.x-reset .x-nbr .x-window-header-default-left-tr,.x-reset .x-nbr .x-window-header-default-left-br,.x-reset .x-nbr .x-window-header-default-left-tc,.x-reset .x-nbr .x-window-header-default-left-bc,.x-reset .x-nbr .x-window-header-default-left-ml,.x-reset .x-nbr .x-window-header-default-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-left-corners.gif')}.x-reset .x-nbr .x-window-header-default-left-ml,.x-reset .x-nbr .x-window-header-default-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-left-sides.gif');background-position:0 0;background-repeat:repeat-y}.x-reset .x-nbr .x-window-header-default-left-mc{padding:0px 0px 0px 0px}.x-reset .x-window-header-default-top{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-header-default-right{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset}.x-reset .x-window-header-default-bottom{-moz-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-header-default-left{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-body-plain{background:transparent}.x-reset .x-message-box .x-window-body{background-color:#ced9e7;border:none}.x-reset .x-message-box .ext-mb-textarea{margin-top:4px}.x-reset .x-message-box .x-progress-wrap{margin-top:4px}.x-reset .x-message-box .ext-mb-icon{width:47px;height:32px}.x-reset .x-message-box .ext-mb-info,.x-reset .x-message-box .ext-mb-warning,.x-reset .x-message-box .ext-mb-question,.x-reset .x-message-box .ext-mb-error{background:transparent no-repeat top left}.x-reset .ext-gecko2 .ext-mb-fix-cursor{overflow:auto}.x-reset .x-message-box .x-msg-box-wait{background-image:url('../../resources/themes/images/default/shared/blue-loading.gif')}.x-reset .x-message-box .ext-mb-info{background-image:url('../../resources/themes/images/default/shared/icon-info.gif')}.x-reset .x-message-box .ext-mb-warning{background-image:url('../../resources/themes/images/default/shared/icon-warning.gif')}.x-reset .x-message-box .ext-mb-question{background-image:url('../../resources/themes/images/default/shared/icon-question.gif')}.x-reset .x-message-box .ext-mb-error{background-image:url('../../resources/themes/images/default/shared/icon-error.gif')}.x-reset .x-tab-bar{position:relative;background-color:transparent;background-image:none;background-color:#cbdbef;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dde8f5), color-stop(100%, #cbdbef));background-image:-moz-linear-gradient(top, #dde8f5,#cbdbef);background-image:linear-gradient(top, #dde8f5,#cbdbef);font-size:11px}.x-reset .x-nlg .x-tab-bar{background-image:url('../../resources/themes/images/default/tab-bar/tab-bar-bg.gif')}.x-reset .x-tab-bar-default-plain,.x-reset .x-nlg .x-tab-bar-default-plain{background:transparent none}.x-reset .x-tab-bar-body{border-style:solid;border-color:#99bce8;position:relative;z-index:2;zoom:1}.x-reset .x-tab-bar-top .x-tab-bar-body{height:20px;border-width:1px 1px 0;padding:1px 0 3px}.x-reset .x-tab-bar-top .x-tab-bar-strip{top:22px;border-width:1px 1px 0;height:2px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-body{height:25px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-strip{height:3px}.x-reset .x-tab-bar-top .x-tab-bar-body-default-plain{height:20px;border-width:0;padding:0 0 3px}.x-reset .x-tab-bar-top .x-tab-bar-strip-default-plain{top:20px;border-width:1px 1px 0 1px;height:2px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-body-default-plain{height:23px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-strip-default-plain{height:3px}.x-reset .x-tab-bar-bottom .x-tab-bar-body{height:20px;border-width:0 1px 1px;padding:3px 0 1px}.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-inner{position:relative;top:-1px}.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-scroller,.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-scroller-left,.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-scroller-right{height:22px}.x-reset .x-tab-bar-bottom .x-tab-bar-strip{top:0;border-width:0 1px 1px 1px;height:2px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-body{height:25px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-strip{height:3px}.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain{height:20px;border-width:0;padding:3px 0 0}.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-inner{position:relative;top:-1px}.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller,.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller-left,.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller-right{height:21px}.x-reset .x-tab-bar-bottom .x-tab-bar-strip-default-plain{top:0;border-width:0 1px 1px 1px;height:2px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-body-default-plain{height:23px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-strip-default-plain{height:3px}.x-reset .x-tab-bar-strip-default,.x-reset .x-tab-bar-strip-default-plain{font-size:0;line-height:0;position:absolute;z-index:1;border-style:solid;overflow:hidden;border-color:#99bce8;background-color:#deecfd;zoom:1}.x-reset .x-tab-default-top{padding:3px 3px 0 3px;border-width:1px 1px 0 1px;border-style:solid;background-color:#deecfd}.x-reset .x-nlg .x-tab-default-top-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif');background-color:#deecfd}.x-reset .x-nbr .x-tab-default-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100404px 1000000px}.x-reset .x-nbr .x-tab-default-top-tl,.x-reset .x-nbr .x-tab-default-top-bl,.x-reset .x-nbr .x-tab-default-top-tr,.x-reset .x-nbr .x-tab-default-top-br,.x-reset .x-nbr .x-tab-default-top-tc,.x-reset .x-nbr .x-tab-default-top-bc,.x-reset .x-nbr .x-tab-default-top-ml,.x-reset .x-nbr .x-tab-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-top-corners.gif')}.x-reset .x-nbr .x-tab-default-top-ml,.x-reset .x-nbr .x-tab-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-top-sides.gif');background-position:0 0}.x-reset .x-nbr .x-tab-default-top-mc{padding:0 0 0 0}.x-reset .x-tab-default-bottom{padding:0 3px 3px 3px;border-width:0 1px 1px 1px;border-style:solid;background-color:#deecfd}.x-reset .x-nlg .x-tab-default-bottom-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif');background-color:#deecfd}.x-reset .x-nbr .x-tab-default-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100000px 1000404px}.x-reset .x-nbr .x-tab-default-bottom-tl,.x-reset .x-nbr .x-tab-default-bottom-bl,.x-reset .x-nbr .x-tab-default-bottom-tr,.x-reset .x-nbr .x-tab-default-bottom-br,.x-reset .x-nbr .x-tab-default-bottom-tc,.x-reset .x-nbr .x-tab-default-bottom-bc,.x-reset .x-nbr .x-tab-default-bottom-ml,.x-reset .x-nbr .x-tab-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-corners.gif')}.x-reset .x-nbr .x-tab-default-bottom-ml,.x-reset .x-nbr .x-tab-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-sides.gif');background-position:0 0}.x-reset .x-nbr .x-tab-default-bottom-mc{padding:0 0 0 0}.x-reset .x-tab{z-index:1;margin:0 0 0 2px;display:inline-block;zoom:1;*display:inline;white-space:nowrap;height:20px;border-color:#8db3e3;cursor:pointer;cursor:hand}.x-reset .x-tab *{cursor:pointer;cursor:hand}.x-reset .x-tab em{display:block;padding:0 6px;line-height:1px}.x-reset .x-tab button{background:none;border:0;padding:0;margin:0;-webkit-appearance:none;font-size:11px;font-weight:bold;color:#416da3;outline:0 none;overflow:hidden;overflow-x:visible;-o-text-overflow:ellipsis;text-overflow:ellipsis}.x-reset .x-tab button::-moz-focus-inner{border:0;padding:0}.x-reset .x-tab button .x-tab-inner{background-color:transparent;background-repeat:no-repeat;background-position:0 -2px;display:block;text-align:center;white-space:nowrap}.x-reset .x-tab img{display:none}.x-reset .x-border-box .x-tab-default-top{height:21px}.x-reset .x-border-box .x-tab-default-bottom{height:21px}.x-reset * html .x-ie .x-tab button{width:1px}.x-reset .x-strict .x-ie6 .x-tab .x-frame-mc,.x-reset .x-strict .x-ie7 .x-tab .x-frame-mc{height:100%}.x-reset .x-ie .x-tab-active button:active{position:relative;top:-1px;left:-1px}.x-reset .x-tab-default-top{-moz-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-bottom:1px solid #99bce8 !important}.x-reset .x-tab-default-top em{padding-bottom:3px}.x-reset .x-tab-default-top button,.x-reset .x-tab-default-top .x-tab-inner{height:13px;line-height:13px}.x-reset .x-nbr .x-tab-default-top{border-bottom-width:1px !important}.x-reset .x-tab-default-top-active{border-bottom-color:#deecfd !important}.x-reset .x-tab-default-bottom{-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-top:1px solid #99bce8 !important;-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset}.x-reset .x-tab-default-bottom em{padding-top:3px}.x-reset .x-tab-default-bottom button,.x-reset .x-tab-default-bottom .x-tab-inner{height:13px;line-height:13px}.x-reset .x-nbr .x-tab-default-bottom{border-top-width:1px !important}.x-reset .x-tab-default-bottom-active{border-top-color:#deecfd !important}.x-reset .x-tab-default-disabled{cursor:default;border-color:#bbd2ef;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x-reset .x-tab-default-disabled *{cursor:default}.x-reset .x-tab-default-disabled button{color:#c3b3b3 !important}.x-reset .x-tab-icon-text-left .x-tab-inner{padding-left:20px}.x-reset .x-tab button,.x-reset .x-tab a{position:relative}.x-reset .x-tab button .x-tab-icon,.x-reset .x-tab a .x-tab-icon{position:absolute;background-repeat:no-repeat;top:0;left:0;right:auto;bottom:0;width:18px;height:18px}.x-reset .x-tab-top-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x-reset .x-tab-bottom-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x-reset .x-tab-active{z-index:3}.x-reset .x-tab-active button{color:#15498b}.x-reset .x-tab-top-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x-reset .x-tab-bottom-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x-reset .x-tab-disabled{border-color:#bbd2ef}.x-reset .x-tab-disabled button{color:#c3b3b3}.x-reset .x-tab-top-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x-reset .x-tab-bottom-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(bottom, #e1ecfa,#ecf4fe);background-image:linear-gradient(bottom, #e1ecfa,#ecf4fe)}.x-reset .x-nlg .x-tab-top{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif')}.x-reset .x-nlg .x-tab-bottom{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif')}.x-reset .x-nlg .x-tab-top-over{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-bg.gif')}.x-reset .x-nlg .x-tab-bottom-over{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-bg.gif')}.x-reset .x-nlg .x-tab-top-active{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-bg.gif')}.x-reset .x-nlg .x-tab-bottom-active{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-bg.gif')}.x-reset .x-nlg .x-tab-top-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-bg.gif') !important}.x-reset .x-nlg .x-tab-bottom-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif') !important}.x-reset .x-tab-closable em{padding-right:14px}.x-reset .x-tab-close-btn{position:absolute !important;top:3px;right:3px;width:11px;height:11px;font-size:0;line-height:0;text-indent:-999px;background:url('../../resources/themes/images/default/tab/tab-default-close.gif') no-repeat;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-tab-close-btn:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-nbr .x-tab-top-over .x-frame-tl,.x-reset .x-nbr .x-tab-top-over .x-frame-bl,.x-reset .x-nbr .x-tab-top-over .x-frame-tr,.x-reset .x-nbr .x-tab-top-over .x-frame-br,.x-reset .x-nbr .x-tab-top-over .x-frame-tc,.x-reset .x-nbr .x-tab-top-over .x-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-corners.gif')}.x-reset .x-nbr .x-tab-top-over .x-frame-ml,.x-reset .x-nbr .x-tab-top-over .x-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-sides.gif')}.x-reset .x-nbr .x-tab-top-over .x-frame-mc{background-color:#e8f2ff;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-bg.gif')}.x-reset .x-nbr .x-tab-bottom-over .x-frame-tl,.x-reset .x-nbr .x-tab-bottom-over .x-frame-bl,.x-reset .x-nbr .x-tab-bottom-over .x-frame-tr,.x-reset .x-nbr .x-tab-bottom-over .x-frame-br,.x-reset .x-nbr .x-tab-bottom-over .x-frame-tc,.x-reset .x-nbr .x-tab-bottom-over .x-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-corners.gif')}.x-reset .x-nbr .x-tab-bottom-over .x-frame-ml,.x-reset .x-nbr .x-tab-bottom-over .x-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-sides.gif')}.x-reset .x-nbr .x-tab-bottom-over .x-frame-mc{background-color:#e8f2ff;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-bg.gif')}.x-reset .x-nbr .x-tab-top-active .x-frame-tl,.x-reset .x-nbr .x-tab-top-active .x-frame-bl,.x-reset .x-nbr .x-tab-top-active .x-frame-tr,.x-reset .x-nbr .x-tab-top-active .x-frame-br,.x-reset .x-nbr .x-tab-top-active .x-frame-tc,.x-reset .x-nbr .x-tab-top-active .x-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-corners.gif')}.x-reset .x-nbr .x-tab-top-active .x-frame-ml,.x-reset .x-nbr .x-tab-top-active .x-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-sides.gif')}.x-reset .x-nbr .x-tab-top-active .x-frame-mc{background-color:#deecfd;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-bg.gif')}.x-reset .x-nbr .x-tab-bottom-active .x-frame-tl,.x-reset .x-nbr .x-tab-bottom-active .x-frame-bl,.x-reset .x-nbr .x-tab-bottom-active .x-frame-tr,.x-reset .x-nbr .x-tab-bottom-active .x-frame-br,.x-reset .x-nbr .x-tab-bottom-active .x-frame-tc,.x-reset .x-nbr .x-tab-bottom-active .x-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-corners.gif')}.x-reset .x-nbr .x-tab-bottom-active .x-frame-ml,.x-reset .x-nbr .x-tab-bottom-active .x-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-sides.gif')}.x-reset .x-nbr .x-tab-bottom-active .x-frame-mc{background-color:#deecfd;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-bg.gif')}.x-reset .x-nbr .x-tab-top-disabled .x-frame-tl,.x-reset .x-nbr .x-tab-top-disabled .x-frame-bl,.x-reset .x-nbr .x-tab-top-disabled .x-frame-tr,.x-reset .x-nbr .x-tab-top-disabled .x-frame-br,.x-reset .x-nbr .x-tab-top-disabled .x-frame-tc,.x-reset .x-nbr .x-tab-top-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-corners.gif')}.x-reset .x-nbr .x-tab-top-disabled .x-frame-ml,.x-reset .x-nbr .x-tab-top-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-sides.gif')}.x-reset .x-nbr .x-tab-top-disabled .x-frame-mc{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-bg.gif')}.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-tl,.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-bl,.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-tr,.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-br,.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-tc,.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif')}.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-ml,.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif')}.x-reset .x-nbr .x-tab-bottom-disabled .x-frame-mc{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif')}.x-reset .x-tree-no-lines .x-tree-elbow{background-color:transparent}.x-reset .x-tree-no-lines .x-tree-elbow-end{background-color:transparent}.x-reset .x-tree-no-lines .x-tree-elbow-line{background-color:transparent}.x-reset .x-tree-arrows .x-tree-elbow-plus{background:transparent no-repeat 0 0}.x-reset .x-tree-arrows .x-tree-elbow-end-plus{background:transparent no-repeat 0 0}.x-reset .x-tree-arrows .x-tree-elbow-end-minus{background:transparent no-repeat -16px 0}.x-reset .x-tree-arrows .x-tree-elbow-minus{background:transparent no-repeat -16px 0}.x-reset .x-tree-arrows .x-tree-elbow{background-color:transparent !important}.x-reset .x-tree-arrows .x-tree-elbow-end{background-color:transparent !important}.x-reset .x-tree-arrows .x-tree-elbow-line{background-color:transparent !important}.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-end-plus{background-position:-32px 0}.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-minus,.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-end-minus{background-position:-48px 0}.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-position:-16px 0}.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-expander-over .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-expander-over .x-tree-elbow-end-plus{background-position:-48px 0}.x-reset .x-tree-elbow-plus,.x-reset .x-tree-elbow-minus,.x-reset .x-tree-elbow-end-plus,.x-reset .x-tree-elbow-end-minus{cursor:pointer}.x-reset .x-tree-lines .x-tree-elbow{background-image:url('../../resources/themes/images/default/tree/elbow.gif')}.x-reset .x-tree-lines .x-tree-elbow-end{background-image:url('../../resources/themes/images/default/tree/elbow-end.gif')}.x-reset .x-tree-lines .x-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus.gif')}.x-reset .x-tree-lines .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-plus.gif')}.x-reset .x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-minus.gif')}.x-reset .x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus.gif')}.x-reset .x-tree-lines .x-tree-elbow-line{background-image:url('../../resources/themes/images/default/tree/elbow-line.gif')}.x-reset .x-tree-no-lines .x-tree-elbow-plus,.x-reset .x-tree-no-lines .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus-nl.gif')}.x-reset .x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-reset .x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus-nl.gif')}.x-reset .x-tree-arrows .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-tree-elbow-minus,.x-reset .x-tree-arrows .x-tree-elbow-end-plus,.x-reset .x-tree-arrows .x-tree-elbow-end-minus{background-image:url('../../resources/themes/images/default/tree/arrows.gif')}.x-reset .x-tree-icon{margin-right:3px}.x-reset .x-tree-elbow,.x-reset .x-tree-elbow-end,.x-reset .x-tree-elbow-plus,.x-reset .x-tree-elbow-end-plus,.x-reset .x-tree-elbow-empty,.x-reset .x-tree-elbow-line{height:18px;width:16px}.x-reset .x-tree-icon-leaf{width:16px;background-image:url('../../resources/themes/images/default/tree/leaf.gif')}.x-reset .x-tree-icon-parent{width:16px;background-image:url('../../resources/themes/images/default/tree/folder.gif')}.x-reset .x-grid-tree-node-expanded .x-tree-icon-parent{background-image:url('../../resources/themes/images/default/tree/folder-open.gif')}.x-reset .x-grid-rowbody{padding:0}.x-reset .x-tree-panel .x-grid-cell-inner{padding:0px}.x-reset .x-tree-panel .x-grid-row .x-grid-cell{border:none}.x-reset .x-tree-panel .x-grid-row .x-grid-cell-inner{height:18px;line-height:18px;vertical-align:middle;cursor:pointer}.x-reset .x-tree-panel .x-grid-row .x-grid-cell-inner img{float:left}.x-reset .x-ie .x-tree-panel .x-grid-row .x-grid-cell-inner{white-space:normal}.x-reset .x-tree-checkbox{float:left;margin:2px 3px 0 0;display:block;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x-reset .x-tree-checkbox::-moz-focus-inner{padding:0;border:0}.x-reset .x-nbr.x-ie .x-tree-checkbox{font-size:0}.x-reset .x-tree-checkbox-checked{background-position:0 -13px}.x-reset .x-tree-panel .x-grid-cell-inner{border-width:0 !important}.x-reset .x-tree-drop-ok-append .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-append.gif')}.x-reset .x-tree-drop-ok-above .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-above.gif')}.x-reset .x-tree-drop-ok-below .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-below.gif')}.x-reset .x-tree-drop-ok-between .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-between.gif')}.x-reset .x-grid-tree-loading .x-tree-icon{background-image:url('../../resources/themes/images/default/tree/loading.gif')}.x-reset .x-tree-ddindicator{height:1px;border-width:1px 0px 0px;border-style:dotted;border-color:green}.x-reset .x-grid-tree-loading span{font-style:italic;color:#444444}.x-reset .x-tree-animator-wrap{overflow:hidden}.x-reset .x-surface{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto}.x-reset .x-surface{*display:inline}.x-reset .rvml{behavior:url(#default#VML)}.x-reset .x-surface tspan{user-select:none;-o-user-select:none;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none}.x-reset .x-vml-sprite{position:absolute;left:0;top:0;width:1px;height:1px}.x-reset .x-vml-group{position:absolute;left:0;top:0;width:1000px;height:1000px}.x-reset .x-vml-measure-span{position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;display:inline}.x-reset .x-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x-reset .x-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x-reset .x-viewport,.x-reset .x-viewport body{margin:0;padding:0;border:0 none;overflow:hidden;height:100%}.x-reset .x-dd-drag-repair .x-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-dd-drag-repair .x-dd-drop-icon{display:none}.x-reset .x-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85);opacity:0.85;padding:5px;padding-left:20px;white-space:nowrap;color:#000;font:normal 11px tahoma, arial, verdana, sans-serif;border:1px solid;border-color:#ddd #bbb #bbb #ddd;background-color:#fff}.x-reset .x-dd-drop-icon{position:absolute;top:3px;left:3px;display:block;width:16px;height:16px;background-color:transparent;background-position:center;background-repeat:no-repeat;z-index:1}.x-reset .x-view-selector{position:absolute;left:0;top:0;width:0;background-color:#c3daf9;border:1px dotted #3399bb;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;zoom:1}.x-reset .x-dd-drop-nodrop .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-no.gif')}.x-reset .x-dd-drop-ok .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-yes.gif')}.x-reset .x-dd-drop-ok-add .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-add.gif')}.x-reset .x-resizable-handle{position:absolute;z-index:100;font-size:1px;line-height:6px;overflow:hidden;zoom:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;background-color:#fff}.x-reset .x-resizable-handle-east{width:6px;height:100%;right:0;top:0}.x-reset .x-resizable-over .x-resizable-handle-east{cursor:e-resize}.x-reset .x-resizable-handle-south{width:100%;height:6px;left:0;bottom:0}.x-reset .x-resizable-over .x-resizable-handle-south{cursor:s-resize}.x-reset .x-resizable-handle-west{width:6px;height:100%;left:0;top:0}.x-reset .x-resizable-over .x-resizable-handle-west{cursor:w-resize}.x-reset .x-resizable-handle-north{width:100%;height:6px;left:0;top:0}.x-reset .x-resizable-over .x-resizable-handle-north{cursor:n-resize}.x-reset .x-resizable-handle-southeast{width:6px;height:6px;right:0;bottom:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-southeast{cursor:se-resize}.x-reset .x-resizable-handle-northwest{width:6px;height:6px;left:0;top:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-northwest{cursor:nw-resize}.x-reset .x-resizable-handle-northeast{width:6px;height:6px;right:0;top:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-northeast{cursor:ne-resize}.x-reset .x-resizable-handle-southwest{width:6px;height:6px;left:0;bottom:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-southwest{cursor:sw-resize}.x-reset .x-ie .x-resizable-handle-east{margin-right:-1px}.x-reset .x-ie .x-resizable-handle-south{margin-bottom:-1px}.x-reset .x-resizable-over .x-resizable-handle,.x-reset .x-resizable-pinned .x-resizable-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-window .x-window-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-reset .x-window-collapsed .x-window-handle{display:none}.x-reset .x-resizable-proxy{border:1px dashed #3b5a82;position:absolute;left:0;top:0;overflow:hidden;z-index:50000}.x-reset .x-resizable-overlay{position:absolute;left:0;top:0;width:100%;height:100%;display:none;z-index:200000;background-color:#fff;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-reset .x-resizable-over .x-resizable-handle-east,.x-reset .x-resizable-over .x-resizable-handle-west,.x-reset .x-resizable-pinned .x-resizable-handle-east,.x-reset .x-resizable-pinned .x-resizable-handle-west{background-position:left;background-image:url('../../resources/themes/images/default/sizer/e-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-south,.x-reset .x-resizable-over .x-resizable-handle-north,.x-reset .x-resizable-pinned .x-resizable-handle-south,.x-reset .x-resizable-pinned .x-resizable-handle-north{background-position:top;background-image:url('../../resources/themes/images/default/sizer/s-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-southeast,.x-reset .x-resizable-pinned .x-resizable-handle-southeast{background-position:top left;background-image:url('../../resources/themes/images/default/sizer/se-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-northwest,.x-reset .x-resizable-pinned .x-resizable-handle-northwest{background-position:bottom right;background-image:url('../../resources/themes/images/default/sizer/nw-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-northeast,.x-reset .x-resizable-pinned .x-resizable-handle-northeast{background-position:bottom left;background-image:url('../../resources/themes/images/default/sizer/ne-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-southwest,.x-reset .x-resizable-pinned .x-resizable-handle-southwest{background-position:top right;background-image:url('../../resources/themes/images/default/sizer/sw-handle.gif')}.x-reset .x-splitter .x-collapse-el{position:absolute;cursor:pointer;background-color:transparent;background-repeat:no-repeat !important}.x-reset .x-layout-split-left,.x-reset .x-layout-split-right{top:50%;margin-top:-17px;width:5px;height:35px}.x-reset .x-layout-split-top,.x-reset .x-layout-split-bottom{left:50%;width:35px;height:5px;margin-left:-17px}.x-reset .x-layout-split-left{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x-reset .x-layout-split-right{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x-reset .x-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x-reset .x-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x-reset .x-splitter-collapsed .x-layout-split-left{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x-reset .x-splitter-collapsed .x-layout-split-right{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x-reset .x-splitter-collapsed .x-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x-reset .x-splitter-collapsed .x-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x-reset .x-splitter-horizontal{cursor:e-resize;cursor:row-resize;font-size:1px}.x-reset .x-splitter-vertical{cursor:e-resize;cursor:col-resize;font-size:1px}.x-reset .x-splitter-collapsed{cursor:default}.x-reset .x-splitter-active{z-index:4;font-size:1px;background-color:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x-reset .x-splitter-active .x-collapse-el{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3}.x-reset .x-proxy-el{position:absolute;background:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x-reset .x-docked{position:absolute;z-index:1}.x-reset .x-docked-top{border-bottom-width:0 !important}.x-reset .x-docked-bottom{border-top-width:0 !important}.x-reset .x-docked-left{border-right-width:0 !important}.x-reset .x-docked-right{border-left-width:0 !important}.x-reset .x-docked-noborder-top{border-top-width:0 !important}.x-reset .x-docked-noborder-right{border-right-width:0 !important}.x-reset .x-docked-noborder-bottom{border-bottom-width:0 !important}.x-reset .x-docked-noborder-left{border-left-width:0 !important}.x-reset .x-box-inner{overflow:hidden;zoom:1;position:relative;left:0;top:0}.x-reset .x-box-item{position:absolute !important;left:0;top:0}.x-reset .x-box-layout-ct,.x-reset .x-border-layout-ct{overflow:hidden;zoom:1}.x-reset .x-overflow-hidden{overflow:hidden !important}.x-reset .x-inline-children > *{display:inline-block !important}.x-reset .x-abs-layout-item{position:absolute}.x-reset .x-border-layout-ct{background-color:#dfe8f6}.x-reset .x-border-region-slide-in{z-index:5}.x-reset .x-region-collapsed-placeholder{z-index:4}.x-reset .x-accordion-hd .x-panel-header-text{color:black;font-weight:normal}.x-reset .x-accordion-hd{background:#d9e7f8 !important;-moz-box-shadow:inset 0 0 0 0 #d9e7f8;-webkit-box-shadow:inset 0 0 0 0 #d9e7f8;-o-box-shadow:inset 0 0 0 0 #d9e7f8;box-shadow:inset 0 0 0 0 #d9e7f8}.x-reset .x-accordion-hd .x-tool-collapse-top,.x-reset .x-accordion-hd .x-tool-collapse-right,.x-reset .x-accordion-hd .x-tool-collapse-bottom,.x-reset .x-accordion-hd .x-tool-collapse-left{background-position:0 -255px}.x-reset .x-accordion-hd .x-tool-expand-top,.x-reset .x-accordion-hd .x-tool-expand-right,.x-reset .x-accordion-hd .x-tool-expand-bottom,.x-reset .x-accordion-hd .x-tool-expand-left{background-position:0 -240px}.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-top,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-right,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-bottom,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-left{background-position:-15px -255px}.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-top,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-right,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-bottom,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-left{background-position:-15px -240px}.x-reset .x-accordion-hd{border-width:1px 0 1px 0 !important;padding:4px 5px 5px 5px;border-top-color:#f3f7fb !important}.x-reset .x-accordion-body{border-width:0 !important}.x-reset .x-accordion-hd-sibling-expanded{border-top-color:#99bce8 !important;-moz-box-shadow:inset 0 1px 0 0 #f3f7fb;-webkit-box-shadow:inset 0 1px 0 0 #f3f7fb;-o-box-shadow:inset 0 1px 0 0 #f3f7fb;box-shadow:inset 0 1px 0 0 #f3f7fb}.x-reset .x-accordion-hd-last-collapsed{border-bottom-color:#d9e7f8 !important}.x-reset .x-frame-tl,.x-reset .x-frame-tr,.x-reset .x-frame-tc,.x-reset .x-frame-bl,.x-reset .x-frame-br,.x-reset .x-frame-bc{overflow:hidden;background-repeat:no-repeat}.x-reset .x-frame-tc,.x-reset .x-frame-bc{background-repeat:repeat-x}.x-reset .x-frame-mc{position:relative;background-repeat:repeat-x;overflow:hidden}.x-reset .x-box-scroller-left{float:left;height:100%;z-index:5}.x-reset .x-box-scroller-left .x-toolbar-scroll-left,.x-reset .x-box-scroller-left .x-tabbar-scroll-left{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat -18px 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-left.gif')}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-disabled,.x-reset .x-box-scroller-left .x-tabbar-scroll-left-disabled{background-position:-18px 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-reset .x-box-scroller-left .x-toolbar-scroll-left{background-image:url('../../resources/themes/images/default/toolbar/scroll-left.gif');background-position:-14px 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-disabled{background-position:-14px 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-reset .x-horizontal-box-overflow-body{float:left}.x-reset .x-box-scroller-right{float:right;height:100%;z-index:5}.x-reset .x-box-scroller-right .x-toolbar-scroll-right,.x-reset .x-box-scroller-right .x-tabbar-scroll-right{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat 0 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-right.gif')}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-18px 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-disabled,.x-reset .x-box-scroller-right .x-tabbar-scroll-right-disabled{background-position:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-reset .x-box-scroller-right .x-toolbar-scroll-right{background-image:url('../../resources/themes/images/default/toolbar/scroll-right.gif')}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-14px 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-disabled{background-position:0 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-reset .x-box-scroller-top .x-box-scroller{line-height:0;font-size:0}.x-reset .x-box-scroller-top .x-menu-scroll-top{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-top.gif');height:8px;cursor:pointer}.x-reset .x-box-scroller-bottom .x-box-scroller{line-height:0;font-size:0}.x-reset .x-box-scroller-bottom .x-menu-scroll-bottom{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-bottom.gif');height:8px;cursor:pointer}.x-reset .x-box-menu-right{float:right;padding-right:2px}.x-reset .x-column{float:left}.x-reset .x-ie6 .x-column{display:inline}.x-reset .x-tool{height:15px}.x-reset .x-tool img{overflow:hidden;width:15px;height:15px;cursor:pointer;background-color:transparent;background-repeat:no-repeat;background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');margin:0}.x-reset .x-panel-header-horizontal .x-tool,.x-reset .x-window-header-horizontal .x-tool{margin-left:2px}.x-reset .x-panel-header-vertical .x-tool,.x-reset .x-window-header-vertical .x-tool{margin-bottom:2px}.x-reset .x-tool-placeholder{visibility:hidden}.x-reset .x-tool-toggle{background-position:0 -60px}.x-reset .x-tool-over .x-tool-toggle{background-position:-15px -60px}.x-reset .x-panel-collapsed .x-tool-toggle,.x-reset .x-fieldset-collapsed .x-tool-toggle{background-position:0 -75px}.x-reset .x-panel-collapsed .x-tool-over .x-tool-toggle,.x-reset .x-fieldset-collapsed .x-tool-over .x-tool-toggle{background-position:-15px -75px}.x-reset .x-tool-close{background-position:0 0}.x-reset .x-tool-minimize{background-position:0 -15px}.x-reset .x-tool-maximize{background-position:0 -30px}.x-reset .x-tool-restore{background-position:0 -45px}.x-reset .x-tool-gear{background-position:0 -90px}.x-reset .x-tool-prev{background-position:0 -105px}.x-reset .x-tool-next{background-position:0 -120px}.x-reset .x-tool-pin{background-position:0 -135px}.x-reset .x-tool-unpin{background-position:0 -150px}.x-reset .x-tool-right{background-position:0 -165px}.x-reset .x-tool-left{background-position:0 -180px}.x-reset .x-tool-help{background-position:0 -300px}.x-reset .x-tool-save{background-position:0 -285px}.x-reset .x-tool-search{background-position:0 -270px}.x-reset .x-tool-minus{background-position:0 -255px}.x-reset .x-tool-plus{background-position:0 -240px}.x-reset .x-tool-refresh{background-position:0 -225px}.x-reset .x-tool-up{background-position:0 -210px}.x-reset .x-tool-down{background-position:0 -195px}.x-reset .x-tool-move{background-position:0 -375px}.x-reset .x-tool-resize{background-position:0 -360px}.x-reset .x-tool-collapse{background-position:0 -345px}.x-reset .x-tool-expand{background-position:0 -330px}.x-reset .x-tool-print{background-position:0 -315px}.x-reset .x-tool-expand-bottom,.x-reset .x-tool-collapse-bottom{background-position:0 -195px}.x-reset .x-tool-expand-top,.x-reset .x-tool-collapse-top{background-position:0 -210px}.x-reset .x-tool-expand-left,.x-reset .x-tool-collapse-left{background-position:0 -180px}.x-reset .x-tool-expand-right,.x-reset .x-tool-collapse-right{background-position:0 -165px}.x-reset .x-tool-over .x-tool-close{background-position:-15px 0}.x-reset .x-tool-over .x-tool-minimize{background-position:-15px -15px}.x-reset .x-tool-over .x-tool-maximize{background-position:-15px -30px}.x-reset .x-tool-over .x-tool-restore{background-position:-15px -45px}.x-reset .x-tool-over .x-tool-gear{background-position:-15px -90px}.x-reset .x-tool-over .x-tool-prev{background-position:-15px -105px}.x-reset .x-tool-over .x-tool-next{background-position:-15px -120px}.x-reset .x-tool-over .x-tool-pin{background-position:-15px -135px}.x-reset .x-tool-over .x-tool-unpin{background-position:-15px -150px}.x-reset .x-tool-over .x-tool-right{background-position:-15px -165px}.x-reset .x-tool-over .x-tool-left{background-position:-15px -180px}.x-reset .x-tool-over .x-tool-down{background-position:-15px -195px}.x-reset .x-tool-over .x-tool-up{background-position:-15px -210px}.x-reset .x-tool-over .x-tool-refresh{background-position:-15px -225px}.x-reset .x-tool-over .x-tool-plus{background-position:-15px -240px}.x-reset .x-tool-over .x-tool-minus{background-position:-15px -255px}.x-reset .x-tool-over .x-tool-search{background-position:-15px -270px}.x-reset .x-tool-over .x-tool-save{background-position:-15px -285px}.x-reset .x-tool-over .x-tool-help{background-position:-15px -300px}.x-reset .x-tool-over .x-tool-print{background-position:-15px -315px}.x-reset .x-tool-over .x-tool-expand{background-position:-15px -330px}.x-reset .x-tool-over .x-tool-collapse{background-position:-15px -345px}.x-reset .x-tool-over .x-tool-resize{background-position:-15px -360px}.x-reset .x-tool-over .x-tool-move{background-position:-15px -375px}.x-reset .x-tool-over .x-tool-expand-bottom,.x-reset .x-tool-over .x-tool-collapse-bottom{background-position:-15px -195px}.x-reset .x-tool-over .x-tool-expand-top,.x-reset .x-tool-over .x-tool-collapse-top{background-position:-15px -210px}.x-reset .x-tool-over .x-tool-expand-left,.x-reset .x-tool-over .x-tool-collapse-left{background-position:-15px -180px}.x-reset .x-tool-over .x-tool-expand-right,.x-reset .x-tool-over .x-tool-collapse-right{background-position:-15px -165px}.x-reset .x-horizontal-scroller-present .x-grid-body{border-bottom-width:0px}.x-reset .x-vertical-scroller-present .x-grid-body{border-right-width:0px}.x-reset .x-scroller{overflow:hidden}.x-reset .x-scroller-vertical{border:1px solid #99bce8;border-top-color:#c5c5c5}.x-reset .x-scroller-horizontal{border:1px solid #99bce8}.x-reset .x-vertical-scroller-present .x-scroller-horizontal{border-right-width:0px}.x-reset .x-scroller-ct{overflow:hidden;position:absolute;margin:0;padding:0;border:none;left:0px;top:0px;box-sizing:content-box !important;-ms-box-sizing:content-box !important;-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important}.x-reset .x-scroller-vertical .x-scroller-ct{overflow-y:scroll}.x-reset .x-scroller-horizontal .x-scroller-ct{overflow-x:scroll}.x-reset .x-html html,.x-reset .x-html address,.x-reset .x-html blockquote,.x-reset .x-html body,.x-reset .x-html dd,.x-reset .x-html div,.x-reset .x-html dl,.x-reset .x-html dt,.x-reset .x-html fieldset,.x-reset .x-html form,.x-reset .x-html frame,.x-reset .x-html frameset,.x-reset .x-html h1,.x-reset .x-html h2,.x-reset .x-html h3,.x-reset .x-html h4,.x-reset .x-html h5,.x-reset .x-html h6,.x-reset .x-html noframes,.x-reset .x-html ol,.x-reset .x-html p,.x-reset .x-html ul,.x-reset .x-html center,.x-reset .x-html dir,.x-reset .x-html hr,.x-reset .x-html menu,.x-reset .x-html pre{display:block}.x-reset .x-html li{display:list-item;list-style:disc}.x-reset .x-html head{display:none}.x-reset .x-html table{display:table}.x-reset .x-html tr{display:table-row}.x-reset .x-html thead{display:table-header-group}.x-reset .x-html tbody{display:table-row-group}.x-reset .x-html tfoot{display:table-footer-group}.x-reset .x-html col{display:table-column}.x-reset .x-html colgroup{display:table-column-group}.x-reset .x-html td,.x-reset .x-html th{display:table-cell}.x-reset .x-html caption{display:table-caption}.x-reset .x-html th{font-weight:bolder;text-align:center}.x-reset .x-html caption{text-align:center}.x-reset .x-html body{margin:8px}.x-reset .x-html h1{font-size:2em;margin:.67em 0}.x-reset .x-html h2{font-size:1.5em;margin:.75em 0}.x-reset .x-html h3{font-size:1.17em;margin:.83em 0}.x-reset .x-html h4,.x-reset .x-html p,.x-reset .x-html blockquote,.x-reset .x-html ul,.x-reset .x-html fieldset,.x-reset .x-html form,.x-reset .x-html ol,.x-reset .x-html dl,.x-reset .x-html dir,.x-reset .x-html menu{margin:1.12em 0}.x-reset .x-html h5{font-size:.83em;margin:1.5em 0}.x-reset .x-html h6{font-size:.75em;margin:1.67em 0}.x-reset .x-html h1,.x-reset .x-html h2,.x-reset .x-html h3,.x-reset .x-html h4,.x-reset .x-html h5,.x-reset .x-html h6,.x-reset .x-html b,.x-reset .x-html strong{font-weight:bolder}.x-reset .x-html blockquote{margin-left:40px;margin-right:40px}.x-reset .x-html i,.x-reset .x-html cite,.x-reset .x-html em,.x-reset .x-html var,.x-reset .x-html address{font-style:italic}.x-reset .x-html pre,.x-reset .x-html tt,.x-reset .x-html code,.x-reset .x-html kbd,.x-reset .x-html samp{font-family:monospace}.x-reset .x-html pre{white-space:pre}.x-reset .x-html button,.x-reset .x-html textarea,.x-reset .x-html input,.x-reset .x-html select{display:inline-block}.x-reset .x-html big{font-size:1.17em}.x-reset .x-html small,.x-reset .x-html sub,.x-reset .x-html sup{font-size:.83em}.x-reset .x-html sub{vertical-align:sub}.x-reset .x-html sup{vertical-align:super}.x-reset .x-html table{border-spacing:2px}.x-reset .x-html thead,.x-reset .x-html tbody,.x-reset .x-html tfoot{vertical-align:middle}.x-reset .x-html td,.x-reset .x-html th{vertical-align:inherit}.x-reset .x-html s,.x-reset .x-html strike,.x-reset .x-html del{text-decoration:line-through}.x-reset .x-html hr{border:1px inset}.x-reset .x-html ol,.x-reset .x-html ul,.x-reset .x-html dir,.x-reset .x-html menu,.x-reset .x-html dd{margin-left:40px}.x-reset .x-html ul,.x-reset .x-html menu,.x-reset .x-html dir{list-style-type:disc}.x-reset .x-html ol{list-style-type:decimal}.x-reset .x-html ol ul,.x-reset .x-html ul ol,.x-reset .x-html ul ul,.x-reset .x-html ol ol{margin-top:0;margin-bottom:0}.x-reset .x-html u,.x-reset .x-html ins{text-decoration:underline}.x-reset .x-html br:before{content:"\A"}.x-reset .x-html :before,.x-reset .x-html :after{white-space:pre-line}.x-reset .x-html center{text-align:center}.x-reset .x-html :link,.x-reset .x-html :visited{text-decoration:underline}.x-reset .x-html :focus{outline:invert dotted thin}.x-reset .x-html BDO[DIR="ltr"]{direction:ltr;unicode-bidi:bidi-override}.x-reset .x-html BDO[DIR="rtl"]{direction:rtl;unicode-bidi:bidi-override} diff --git a/deluge/ui/web/resources/css/ext-sandbox.css b/deluge/ui/web/resources/css/ext-sandbox.css new file mode 100644 index 000000000..a924e716e --- /dev/null +++ b/deluge/ui/web/resources/css/ext-sandbox.css @@ -0,0 +1 @@ +.x4-reset html,.x4-reset body,.x4-reset div,.x4-reset dl,.x4-reset dt,.x4-reset dd,.x4-reset ul,.x4-reset ol,.x4-reset li,.x4-reset h1,.x4-reset h2,.x4-reset h3,.x4-reset h4,.x4-reset h5,.x4-reset h6,.x4-reset pre,.x4-reset code,.x4-reset form,.x4-reset fieldset,.x4-reset legend,.x4-reset input,.x4-reset textarea,.x4-reset p,.x4-reset blockquote,.x4-reset th,.x4-reset td{margin:0;padding:0}.x4-reset table{border-collapse:collapse;border-spacing:0}.x4-reset fieldset,.x4-reset img{border:0}.x4-reset address,.x4-reset caption,.x4-reset cite,.x4-reset code,.x4-reset dfn,.x4-reset em,.x4-reset strong,.x4-reset th,.x4-reset var{font-style:normal;font-weight:normal}.x4-reset li{list-style:none}.x4-reset caption,.x4-reset th{text-align:left}.x4-reset h1,.x4-reset h2,.x4-reset h3,.x4-reset h4,.x4-reset h5,.x4-reset h6{font-size:100%}.x4-reset q:before,.x4-reset q:after{content:""}.x4-reset abbr,.x4-reset acronym{border:0;font-variant:normal}.x4-reset sup{vertical-align:text-top}.x4-reset sub{vertical-align:text-bottom}.x4-reset input,.x4-reset textarea,.x4-reset select{font-family:inherit;font-size:inherit;font-weight:inherit}.x4-reset *:focus{outline:none}.x4-border-box .x4-reset,.x4-border-box .x4-reset *{box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box}.x4-body{color:black;font-size:12px;font-family:tahoma, arial, verdana, sans-serif}.x4-clear{overflow:hidden;clear:both;height:0;width:0;font-size:0;line-height:0}.x4-layer{position:absolute;overflow:hidden;zoom:1}.x4-shim{position:absolute;left:0;top:0;overflow:hidden;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x4-hide-display{display:none !important}.x4-hide-visibility{visibility:hidden !important}.x4-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.x4-ie6 .x4-item-disabled{filter:none}.x4-hidden,.x4-hide-offsets{display:block !important;position:absolute !important;left:-10000px !important;top:-10000px !important}.x4-hide-nosize{height:0 !important;width:0 !important}.x4-masked-relative{position:relative}.x4-ie6 .x4-masked select,.x4-ie6.x4-body-masked select{visibility:hidden !important}.x4-css-shadow{position:absolute;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px}.x4-ie-shadow{background-color:#777;display:none;position:absolute;overflow:hidden;zoom:1}.x4-frame-shadow{display:none;position:absolute;overflow:hidden}.x4-frame-shadow *{overflow:hidden}.x4-frame-shadow *{padding:0;border:0;margin:0;clear:none;zoom:1}.x4-frame-shadow .xstc,.x4-frame-shadow .xsbc{height:6px;float:left}.x4-frame-shadow .xsc{width:100%}.x4-frame-shadow .xsml{background:transparent repeat-y 0 0}.x4-frame-shadow .xsmr{background:transparent repeat-y -6px 0}.x4-frame-shadow .xstl{background:transparent no-repeat 0 0}.x4-frame-shadow .xstc{background:transparent repeat-x 0 -30px}.x4-frame-shadow .xstr{background:transparent repeat-x 0 -18px}.x4-frame-shadow .xsbl{background:transparent no-repeat 0 -12px}.x4-frame-shadow .xsbc{background:transparent repeat-x 0 -36px}.x4-frame-shadow .xsbr{background:transparent repeat-x 0 -6px}.x4-frame-shadow .xstl,.x4-frame-shadow .xstc,.x4-frame-shadow .xstr,.x4-frame-shadow .xsbl,.x4-frame-shadow .xsbc,.x4-frame-shadow .xsbr{width:6px;height:6px;float:left;background-image:url('../../resources/themes/images/default/shared/shadow.png')}.x4-frame-shadow .xsml,.x4-frame-shadow .xsmr{width:6px;float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-lr.png')}.x4-frame-shadow .xsmc{float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-c.png')}.x4-frame-shadow .xst,.x4-frame-shadow .xsb{height:6px;overflow:hidden;width:100%}.x-box-tl{background:transparent no-repeat 0 0;zoom:1}.x-box-tc{height:8px;background:transparent repeat-x 0 0;overflow:hidden}.x-box-tr{background:transparent no-repeat right -8px}.x-box-ml{background:transparent repeat-y 0;padding-left:4px;overflow:hidden;zoom:1}.x-box-mc{background:repeat-x 0 -16px;padding:4px 10px}.x-box-mc h3{margin:0 0 4px 0;zoom:1}.x-box-mr{background:transparent repeat-y right;padding-right:4px;overflow:hidden}.x-box-bl{background:transparent no-repeat 0 -16px;zoom:1}.x-box-bc{background:transparent repeat-x 0 -8px;height:8px;overflow:hidden}.x-box-br{background:transparent no-repeat right -24px}.x-box-tl,.x-box-bl{padding-left:8px;overflow:hidden}.x-box-tr,.x-box-br{padding-right:8px;overflow:hidden}.x-box-tl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-tc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-tr{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-ml{background-image:url('../../resources/themes/images/default/box/l.gif')}.x-box-mc{background-color:#eee;background-image:url('../../resources/themes/images/default/box/tb.gif');font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;color:#393939;font-size:15px}.x-box-mc h3{font-size:18px;font-weight:bold}.x-box-mr{background-image:url('../../resources/themes/images/default/box/r.gif')}.x-box-bl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-bc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-br{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-blue .x-box-bl,.x-box-blue .x-box-br,.x-box-blue .x-box-tl,.x-box-blue .x-box-tr{background-image:url('../../resources/themes/images/default/box/corners-blue.gif')}.x-box-blue .x-box-bc,.x-box-blue .x-box-mc,.x-box-blue .x-box-tc{background-image:url('../../resources/themes/images/default/box/tb-blue.gif')}.x-box-blue .x-box-mc{background-color:#c3daf9}.x-box-blue .x-box-mc h3{color:#17385b}.x-box-blue .x-box-ml{background-image:url('../../resources/themes/images/default/box/l-blue.gif')}.x-box-blue .x-box-mr{background-image:url('../../resources/themes/images/default/box/r-blue.gif')}.x4-focus-element{position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x4-focus-frame{position:absolute;left:0px;top:0px;z-index:100000000;width:0px;height:0px}.x4-focus-frame-top,.x4-focus-frame-bottom,.x4-focus-frame-left,.x4-focus-frame-right{position:absolute;top:0px;left:0px}.x4-focus-frame-top,.x4-focus-frame-bottom{border-top:solid 2px #15428b;height:2px}.x4-focus-frame-left,.x4-focus-frame-right{border-left:solid 2px #15428b;width:2px}.x4-mask{z-index:100;position:absolute;top:0;left:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;width:100%;height:100%;zoom:1;background:#cccccc}.x4-mask-msg{z-index:20001;position:absolute;top:0;left:0;padding:2px;border:1px solid;border-color:#99bce8;background-image:none;background-color:#dfe9f6}.x4-mask-msg div{padding:5px 10px 5px 25px;background-image:url('../../resources/themes/images/default/grid/loading.gif');background-repeat:no-repeat;background-position:5px center;cursor:wait;border:1px solid #a3bad9;background-color:#eeeeee;color:#222222;font:normal 11px tahoma, arial, verdana, sans-serif}.x4-reset .x4-boundlist{border-width:1px;border-style:solid;border-color:#98c0f4;background:white}.x4-reset .x4-boundlist .x4-toolbar{border-width:1px 0 0 0}.x4-reset .x4-boundlist-item{padding:2px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;cursor:pointer;cursor:hand;position:relative;border-width:1px;border-style:dotted;border-color:white}.x4-reset .x4-boundlist-selected{background:#cbdaf0;border-color:#8eabe4}.x4-reset .x4-boundlist-item-over{background:#dfe8f6;border-color:#a3bae9}.x4-reset .x4-boundlist-floating{border-top-width:0}.x4-reset .x4-boundlist-above{border-top-width:1px;border-bottom-width:1px}.x4-reset .x4-btn{display:inline-block;zoom:1;*display:inline;position:relative;cursor:pointer;cursor:hand;white-space:nowrap;vertical-align:middle;background-repeat:no-repeat}.x4-reset .x4-btn *{cursor:pointer;cursor:hand}.x4-reset .x4-btn em{background-repeat:no-repeat}.x4-reset .x4-btn em a{text-decoration:none;display:inline-block;color:inherit}.x4-reset .x4-btn button{margin:0;padding:0;border:0;width:auto;background:none;outline:0 none;overflow:hidden;vertical-align:bottom;-webkit-appearance:none}.x4-reset .x4-btn button::-moz-focus-inner{border:0;padding:0}.x4-reset .x4-btn .x4-btn-inner{display:block;white-space:nowrap;text-align:center;background-color:transparent;background-repeat:no-repeat;background-position:left center}.x4-reset .x4-btn-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x4-reset .x4-btn-disabled span{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x4-ie6 .x4-reset .x4-btn-disabled span,.x4-ie7 .x4-reset .x4-btn-disabled span{filter:none}.x4-reset .x4-ie7 .x4-btn-disabled,.x4-reset .x4-ie8 .x4-btn-disabled{filter:none}.x4-reset .x4-ie6 .x4-btn-disabled .x4-btn-icon,.x4-reset .x4-ie7 .x4-btn-disabled .x4-btn-icon,.x4-reset .x4-ie8 .x4-btn-disabled .x4-btn-icon{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x4-reset * html .x4-ie .x4-btn button{width:1px}.x4-reset .x4-ie .x4-btn button{overflow-x:visible;vertical-align:baseline}.x4-reset .x4-strict .x4-ie6 .x4-btn .x4-frame-mc,.x4-reset .x4-strict .x4-ie7 .x4-btn .x4-frame-mc{height:100%}.x4-reset .x4-nbr .x4-btn .x4-frame-mc{vertical-align:middle;white-space:nowrap;text-align:center;cursor:pointer}.x4-reset .x4-btn-icon-text-left .x4-btn-icon{background-position:left center}.x4-reset .x4-btn-icon-text-right .x4-btn-icon{background-position:right center}.x4-reset .x4-btn-icon-text-top .x4-btn-icon{background-position:center top}.x4-reset .x4-btn-icon-text-bottom .x4-btn-icon{background-position:center bottom}.x4-reset .x4-btn button,.x4-reset .x4-btn a{position:relative}.x4-reset .x4-btn button .x4-btn-icon,.x4-reset .x4-btn a .x4-btn-icon{position:absolute;background-repeat:no-repeat}.x4-reset .x4-btn-arrow-right{background:transparent no-repeat right center;padding-right:12px}.x4-reset .x4-btn-arrow-right .x4-btn-inner{padding-right:0 !important}.x4-reset .x4-toolbar .x4-btn-arrow-right{padding-right:12px}.x4-reset .x4-btn-arrow-bottom{background:transparent no-repeat center bottom;padding-bottom:12px}.x4-reset .x4-btn-arrow{background-image:url('../../resources/themes/images/default/button/arrow.gif');display:block}.x4-reset .x4-btn-split-right,.x4-reset .x4-btn-over .x4-btn-split-right{background:transparent no-repeat right center;background-image:url('../../resources/themes/images/default/button/s-arrow.gif');padding-right:14px !important}.x4-reset .x4-btn-split-bottom,.x4-reset .x4-btn-over .x4-btn-split-bottom{background:transparent no-repeat center bottom;background-image:url('../../resources/themes/images/default/button/s-arrow-b.gif');padding-bottom:14px}.x4-reset .x4-toolbar .x4-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-noline.gif');padding-right:12px !important}.x4-reset .x4-toolbar .x4-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-b-noline.gif')}.x4-reset .x4-btn-split{display:block}.x4-reset .x4-item-disabled,.x4-reset .x4-item-disabled *{cursor:default}.x4-reset .x4-cycle-fixed-width .x4-btn-inner{text-align:inherit}.x4-reset .x4-btn-over .x4-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-o.gif')}.x4-reset .x4-btn-over .x4-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-bo.gif')}.x4-reset .x4-btn-default-small{border-color:#d1d1d1}.x4-reset .x4-btn-default-small{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-image:none;background-color:white;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(48%, #f9f9f9), color-stop(52%, #e2e2e2), color-stop(100%, #e7e7e7));background-image:-moz-linear-gradient(top, #ffffff,#f9f9f9 48%,#e2e2e2 52%,#e7e7e7);background-image:linear-gradient(top, #ffffff,#f9f9f9 48%,#e2e2e2 52%,#e7e7e7)}.x4-reset .x4-nlg .x4-btn-default-small-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif');background-color:#fff}.x4-reset .x4-nbr .x4-btn-default-small{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-btn-default-small-tl,.x4-reset .x4-nbr .x4-btn-default-small-bl,.x4-reset .x4-nbr .x4-btn-default-small-tr,.x4-reset .x4-nbr .x4-btn-default-small-br,.x4-reset .x4-nbr .x4-btn-default-small-tc,.x4-reset .x4-nbr .x4-btn-default-small-bc,.x4-reset .x4-nbr .x4-btn-default-small-ml,.x4-reset .x4-nbr .x4-btn-default-small-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-small-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-small-ml,.x4-reset .x4-nbr .x4-btn-default-small-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-small-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-btn-default-small-mc{padding:0 0 0 0}.x4-reset .x4-btn-default-small .x4-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x4-reset .x4-btn-default-small-icon button,.x4-reset .x4-btn-default-small-icon .x4-btn-inner,.x4-reset .x4-btn-default-small-noicon button,.x4-reset .x4-btn-default-small-noicon .x4-btn-inner{height:16px;line-height:16px}.x4-reset .x4-btn-default-small-icon button{padding:0;width:16px !important;height:16px}.x4-reset .x4-btn-default-small-icon .x4-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x4-reset .x4-btn-default-small-icon-text-left button{height:16px}.x4-reset .x4-btn-default-small-icon-text-left .x4-btn-inner{height:16px;line-height:16px;padding-left:20px}.x4-reset .x4-btn-default-small-icon-text-left .x4-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x4-ie6 .x4-reset .x4-btn-default-small-icon-text-left .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-small-icon-text-left .x4-btn-icon{height:16px}.x4-reset .x4-btn-default-small-icon-text-right button{height:16px}.x4-reset .x4-btn-default-small-icon-text-right .x4-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x4-reset .x4-btn-default-small-icon-text-right .x4-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-small-icon-text-right .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-small-icon-text-right .x4-btn-icon{height:16px}.x4-reset .x4-btn-default-small-icon-text-top .x4-btn-inner{padding-top:20px}.x4-reset .x4-btn-default-small-icon-text-top .x4-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x4-ie6 .x4-reset .x4-btn-default-small-icon-text-top .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-small-icon-text-top .x4-btn-icon{width:16px}.x4-reset .x4-btn-default-small-icon-text-bottom .x4-btn-inner{padding-bottom:20px}.x4-reset .x4-btn-default-small-icon-text-bottom .x4-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-small-icon-text-bottom .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-small-icon-text-bottom .x4-btn-icon{width:16px}.x4-reset .x4-btn-default-small-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x4-reset .x4-btn-default-small-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x4-reset .x4-btn-default-small-menu-active,.x4-reset .x4-btn-default-small-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x4-reset .x4-btn-default-small-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x4-reset .x4-btn-default-small-disabled .x4-btn-inner{color:#333333 !important}.x4-reset .x4-ie .x4-btn-default-small-disabled .x4-btn-inner{color:#595959 !important}.x4-reset .x4-ie6 .x4-btn-default-small-disabled .x4-btn-inner{color:#8c8c8c !important}.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-small-over .x4-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-small-focus .x4-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-bc,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-mr,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-small-menu-active .x4-frame-mc,.x4-reset .x4-nbr .x4-btn-default-small-pressed .x4-frame-mc{background-color:#b6cbe4;background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-small-disabled .x4-frame-mc{background-color:#f7f7f7;background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-small{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-small-menu-active,.x4-reset .x4-nlg .x4-btn-default-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-small-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-bg.gif')}.x4-reset .x4-btn-default-medium{border-color:#d1d1d1}.x4-reset .x4-btn-default-medium{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-image:none;background-color:#fff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(48%, #f9f9f9), color-stop(52%, #e2e2e2), color-stop(100%, #e7e7e7));background-image:-moz-linear-gradient(top, #ffffff,#f9f9f9 48%,#e2e2e2 52%,#e7e7e7);background-image:linear-gradient(top, #ffffff,#f9f9f9 48%,#e2e2e2 52%,#e7e7e7)}.x4-reset .x4-nlg .x4-btn-default-medium-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif');background-color:#fff}.x4-reset .x4-nbr .x4-btn-default-medium{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-btn-default-medium-tl,.x4-reset .x4-nbr .x4-btn-default-medium-bl,.x4-reset .x4-nbr .x4-btn-default-medium-tr,.x4-reset .x4-nbr .x4-btn-default-medium-br,.x4-reset .x4-nbr .x4-btn-default-medium-tc,.x4-reset .x4-nbr .x4-btn-default-medium-bc,.x4-reset .x4-nbr .x4-btn-default-medium-ml,.x4-reset .x4-nbr .x4-btn-default-medium-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-ml,.x4-reset .x4-nbr .x4-btn-default-medium-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-btn-default-medium-mc{padding:0px 0px 0px 0px}.x4-reset .x4-btn-default-medium .x4-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x4-reset .x4-btn-default-medium-icon button,.x4-reset .x4-btn-default-medium-icon .x4-btn-inner,.x4-reset .x4-btn-default-medium-noicon button,.x4-reset .x4-btn-default-medium-noicon .x4-btn-inner{height:24px;line-height:24px}.x4-reset .x4-btn-default-medium-icon button{padding:0;width:24px !important;height:24px}.x4-reset .x4-btn-default-medium-icon .x4-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x4-reset .x4-btn-default-medium-icon-text-left button{height:24px}.x4-reset .x4-btn-default-medium-icon-text-left .x4-btn-inner{height:24px;line-height:24px;padding-left:28px}.x4-reset .x4-btn-default-medium-icon-text-left .x4-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x4-ie6 .x4-reset .x4-btn-default-medium-icon-text-left .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-medium-icon-text-left .x4-btn-icon{height:24px}.x4-reset .x4-btn-default-medium-icon-text-right button{height:24px}.x4-reset .x4-btn-default-medium-icon-text-right .x4-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x4-reset .x4-btn-default-medium-icon-text-right .x4-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-medium-icon-text-right .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-medium-icon-text-right .x4-btn-icon{height:24px}.x4-reset .x4-btn-default-medium-icon-text-top .x4-btn-inner{padding-top:28px}.x4-reset .x4-btn-default-medium-icon-text-top .x4-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x4-ie6 .x4-reset .x4-btn-default-medium-icon-text-top .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-medium-icon-text-top .x4-btn-icon{width:24px}.x4-reset .x4-btn-default-medium-icon-text-bottom .x4-btn-inner{padding-bottom:28px}.x4-reset .x4-btn-default-medium-icon-text-bottom .x4-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-medium-icon-text-bottom .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-medium-icon-text-bottom .x4-btn-icon{width:24px}.x4-reset .x4-btn-default-medium-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x4-reset .x4-btn-default-medium-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x4-reset .x4-btn-default-medium-menu-active,.x4-reset .x4-btn-default-medium-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x4-reset .x4-btn-default-medium-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x4-reset .x4-btn-default-medium-disabled .x4-btn-inner{color:#333333 !important}.x4-reset .x4-ie .x4-btn-default-medium-disabled .x4-btn-inner{color:#595959 !important}.x4-reset .x4-ie6 .x4-btn-default-medium-disabled .x4-btn-inner{color:#8c8c8c !important}.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-over .x4-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-focus .x4-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-bc,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-mr,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-menu-active .x4-frame-mc,.x4-reset .x4-nbr .x4-btn-default-medium-pressed .x4-frame-mc{background-color:#b6cbe4;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-medium-disabled .x4-frame-mc{background-color:#f7f7f7;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-medium{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-medium-menu-active,.x4-reset .x4-nlg .x4-btn-default-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-medium-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif')}.x4-reset .x4-btn-default-large{border-color:#d1d1d1}.x4-reset .x4-btn-default-large{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-image:none;background-color:#fff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(48%, #f9f9f9), color-stop(52%, #e2e2e2), color-stop(100%, #e7e7e7));background-image:-moz-linear-gradient(top, #ffffff,#f9f9f9 48%,#e2e2e2 52%,#e7e7e7);background-image:linear-gradient(top, #ffffff,#f9f9f9 48%,#e2e2e2 52%,#e7e7e7)}.x4-reset .x4-nlg .x4-btn-default-large-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif');background-color:#fff}.x4-reset .x4-nbr .x4-btn-default-large{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-btn-default-large-tl,.x4-reset .x4-nbr .x4-btn-default-large-bl,.x4-reset .x4-nbr .x4-btn-default-large-tr,.x4-reset .x4-nbr .x4-btn-default-large-br,.x4-reset .x4-nbr .x4-btn-default-large-tc,.x4-reset .x4-nbr .x4-btn-default-large-bc,.x4-reset .x4-nbr .x4-btn-default-large-ml,.x4-reset .x4-nbr .x4-btn-default-large-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-large-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-large-ml,.x4-reset .x4-nbr .x4-btn-default-large-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn/btn-default-large-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-btn-default-large-mc{padding:0px 0px 0px 0px}.x4-reset .x4-btn-default-large .x4-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x4-reset .x4-btn-default-large-icon button,.x4-reset .x4-btn-default-large-icon .x4-btn-inner,.x4-reset .x4-btn-default-large-noicon button,.x4-reset .x4-btn-default-large-noicon .x4-btn-inner{height:32px;line-height:32px}.x4-reset .x4-btn-default-large-icon button{padding:0;width:32px !important;height:32px}.x4-reset .x4-btn-default-large-icon .x4-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x4-reset .x4-btn-default-large-icon-text-left button{height:32px}.x4-reset .x4-btn-default-large-icon-text-left .x4-btn-inner{height:32px;line-height:32px;padding-left:36px}.x4-reset .x4-btn-default-large-icon-text-left .x4-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x4-ie6 .x4-reset .x4-btn-default-large-icon-text-left .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-large-icon-text-left .x4-btn-icon{height:32px}.x4-reset .x4-btn-default-large-icon-text-right button{height:32px}.x4-reset .x4-btn-default-large-icon-text-right .x4-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x4-reset .x4-btn-default-large-icon-text-right .x4-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-large-icon-text-right .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-large-icon-text-right .x4-btn-icon{height:32px}.x4-reset .x4-btn-default-large-icon-text-top .x4-btn-inner{padding-top:36px}.x4-reset .x4-btn-default-large-icon-text-top .x4-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x4-ie6 .x4-reset .x4-btn-default-large-icon-text-top .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-large-icon-text-top .x4-btn-icon{width:32px}.x4-reset .x4-btn-default-large-icon-text-bottom .x4-btn-inner{padding-bottom:36px}.x4-reset .x4-btn-default-large-icon-text-bottom .x4-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-large-icon-text-bottom .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-large-icon-text-bottom .x4-btn-icon{width:32px}.x4-reset .x4-btn-default-large-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x4-reset .x4-btn-default-large-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x4-reset .x4-btn-default-large-menu-active,.x4-reset .x4-btn-default-large-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x4-reset .x4-btn-default-large-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x4-reset .x4-btn-default-large-disabled .x4-btn-inner{color:#333333 !important}.x4-reset .x4-ie .x4-btn-default-large-disabled .x4-btn-inner{color:#595959 !important}.x4-reset .x4-ie6 .x4-btn-default-large-disabled .x4-btn-inner{color:#8c8c8c !important}.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-large-over .x4-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-large-focus .x4-frame-mc{background-color:#e4f3ff;background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-bc,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-mr,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-large-menu-active .x4-frame-mc,.x4-reset .x4-nbr .x4-btn-default-large-pressed .x4-frame-mc{background-color:#b6cbe4;background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-large-disabled .x4-frame-mc{background-color:#f7f7f7;background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-large{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-large-menu-active,.x4-reset .x4-nlg .x4-btn-default-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-large-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-bg.gif')}.x4-reset .x4-btn-default-toolbar-small{border-color:transparent}.x4-reset .x4-btn-default-toolbar-small{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:transparent}.x4-reset .x4-nlg .x4-btn-default-toolbar-small-mc{background-color:transparent}.x4-reset .x4-nbr .x4-btn-default-toolbar-small{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-bc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-mr{zoom:1}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-mr{zoom:1}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-mc{padding:0 0 0 0}.x4-reset .x4-btn-default-toolbar-small .x4-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x4-reset .x4-btn-default-toolbar-small-icon button,.x4-reset .x4-btn-default-toolbar-small-icon .x4-btn-inner,.x4-reset .x4-btn-default-toolbar-small-noicon button,.x4-reset .x4-btn-default-toolbar-small-noicon .x4-btn-inner{height:16px;line-height:16px}.x4-reset .x4-btn-default-toolbar-small-icon button{padding:0;width:16px !important;height:16px}.x4-reset .x4-btn-default-toolbar-small-icon .x4-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x4-reset .x4-btn-default-toolbar-small-icon-text-left button{height:16px}.x4-reset .x4-btn-default-toolbar-small-icon-text-left .x4-btn-inner{height:16px;line-height:16px;padding-left:20px}.x4-reset .x4-btn-default-toolbar-small-icon-text-left .x4-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x4-ie6 .x4-reset .x4-btn-default-toolbar-small-icon-text-left .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-small-icon-text-left .x4-btn-icon{height:16px}.x4-reset .x4-btn-default-toolbar-small-icon-text-right button{height:16px}.x4-reset .x4-btn-default-toolbar-small-icon-text-right .x4-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x4-reset .x4-btn-default-toolbar-small-icon-text-right .x4-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-small-icon-text-right .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-small-icon-text-right .x4-btn-icon{height:16px}.x4-reset .x4-btn-default-toolbar-small-icon-text-top .x4-btn-inner{padding-top:20px}.x4-reset .x4-btn-default-toolbar-small-icon-text-top .x4-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-small-icon-text-top .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-small-icon-text-top .x4-btn-icon{width:16px}.x4-reset .x4-btn-default-toolbar-small-icon-text-bottom .x4-btn-inner{padding-bottom:20px}.x4-reset .x4-btn-default-toolbar-small-icon-text-bottom .x4-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-small-icon-text-bottom .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-small-icon-text-bottom .x4-btn-icon{width:16px}.x4-reset .x4-btn-default-toolbar-small-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x4-reset .x4-btn-default-toolbar-small-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x4-reset .x4-btn-default-toolbar-small-menu-active,.x4-reset .x4-btn-default-toolbar-small-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x4-reset .x4-btn-default-toolbar-small-disabled{background-image:none;background-color:transparent}.x4-reset .x4-btn-default-toolbar-small-disabled .x4-btn-inner{color:#333333 !important}.x4-reset .x4-ie .x4-btn-default-toolbar-small-disabled .x4-btn-inner{color:#595959 !important}.x4-reset .x4-ie6 .x4-btn-default-toolbar-small-disabled .x4-btn-inner{color:#8c8c8c !important}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-over .x4-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-focus .x4-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-bc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-mr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-menu-active .x4-frame-mc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-pressed .x4-frame-mc{background-color:#bccfe5;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-disabled-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-disabled-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-small-disabled .x4-frame-mc{background-color:transparent}.x4-reset .x4-nlg .x4-btn-default-toolbar-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-toolbar-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-toolbar-small-menu-active,.x4-reset .x4-nlg .x4-btn-default-toolbar-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif')}.x4-reset .x4-btn-default-toolbar-medium{border-color:transparent}.x4-reset .x4-btn-default-toolbar-medium{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x4-reset .x4-nlg .x4-btn-default-toolbar-medium-mc{background-color:transparent}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-bc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-mr{zoom:1}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-mr{zoom:1}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-mc{padding:0px 0px 0px 0px}.x4-reset .x4-btn-default-toolbar-medium .x4-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x4-reset .x4-btn-default-toolbar-medium-icon button,.x4-reset .x4-btn-default-toolbar-medium-icon .x4-btn-inner,.x4-reset .x4-btn-default-toolbar-medium-noicon button,.x4-reset .x4-btn-default-toolbar-medium-noicon .x4-btn-inner{height:24px;line-height:24px}.x4-reset .x4-btn-default-toolbar-medium-icon button{padding:0;width:24px !important;height:24px}.x4-reset .x4-btn-default-toolbar-medium-icon .x4-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x4-reset .x4-btn-default-toolbar-medium-icon-text-left button{height:24px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-left .x4-btn-inner{height:24px;line-height:24px;padding-left:28px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-left .x4-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x4-ie6 .x4-reset .x4-btn-default-toolbar-medium-icon-text-left .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-medium-icon-text-left .x4-btn-icon{height:24px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-right button{height:24px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-right .x4-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x4-reset .x4-btn-default-toolbar-medium-icon-text-right .x4-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-medium-icon-text-right .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-medium-icon-text-right .x4-btn-icon{height:24px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-top .x4-btn-inner{padding-top:28px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-top .x4-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-medium-icon-text-top .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-medium-icon-text-top .x4-btn-icon{width:24px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-bottom .x4-btn-inner{padding-bottom:28px}.x4-reset .x4-btn-default-toolbar-medium-icon-text-bottom .x4-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-medium-icon-text-bottom .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-medium-icon-text-bottom .x4-btn-icon{width:24px}.x4-reset .x4-btn-default-toolbar-medium-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x4-reset .x4-btn-default-toolbar-medium-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x4-reset .x4-btn-default-toolbar-medium-menu-active,.x4-reset .x4-btn-default-toolbar-medium-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x4-reset .x4-btn-default-toolbar-medium-disabled{background-image:none;background-color:transparent}.x4-reset .x4-btn-default-toolbar-medium-disabled .x4-btn-inner{color:#333333 !important}.x4-reset .x4-ie .x4-btn-default-toolbar-medium-disabled .x4-btn-inner{color:#595959 !important}.x4-reset .x4-ie6 .x4-btn-default-toolbar-medium-disabled .x4-btn-inner{color:#8c8c8c !important}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-over .x4-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-focus .x4-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-bc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-mr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-menu-active .x4-frame-mc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-pressed .x4-frame-mc{background-color:#bccfe5;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-disabled-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-disabled-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-medium-disabled .x4-frame-mc{background-color:transparent}.x4-reset .x4-nlg .x4-btn-default-toolbar-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-toolbar-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-toolbar-medium-menu-active,.x4-reset .x4-nlg .x4-btn-default-toolbar-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif')}.x4-reset .x4-btn-default-toolbar-large{border-color:transparent}.x4-reset .x4-btn-default-toolbar-large{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x4-reset .x4-nlg .x4-btn-default-toolbar-large-mc{background-color:transparent}.x4-reset .x4-nbr .x4-btn-default-toolbar-large{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-bc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-mr{zoom:1}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-mr{zoom:1}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-mc{padding:0px 0px 0px 0px}.x4-reset .x4-btn-default-toolbar-large .x4-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x4-reset .x4-btn-default-toolbar-large-icon button,.x4-reset .x4-btn-default-toolbar-large-icon .x4-btn-inner,.x4-reset .x4-btn-default-toolbar-large-noicon button,.x4-reset .x4-btn-default-toolbar-large-noicon .x4-btn-inner{height:32px;line-height:32px}.x4-reset .x4-btn-default-toolbar-large-icon button{padding:0;width:32px !important;height:32px}.x4-reset .x4-btn-default-toolbar-large-icon .x4-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x4-reset .x4-btn-default-toolbar-large-icon-text-left button{height:32px}.x4-reset .x4-btn-default-toolbar-large-icon-text-left .x4-btn-inner{height:32px;line-height:32px;padding-left:36px}.x4-reset .x4-btn-default-toolbar-large-icon-text-left .x4-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x4-ie6 .x4-reset .x4-btn-default-toolbar-large-icon-text-left .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-large-icon-text-left .x4-btn-icon{height:32px}.x4-reset .x4-btn-default-toolbar-large-icon-text-right button{height:32px}.x4-reset .x4-btn-default-toolbar-large-icon-text-right .x4-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x4-reset .x4-btn-default-toolbar-large-icon-text-right .x4-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-large-icon-text-right .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-large-icon-text-right .x4-btn-icon{height:32px}.x4-reset .x4-btn-default-toolbar-large-icon-text-top .x4-btn-inner{padding-top:36px}.x4-reset .x4-btn-default-toolbar-large-icon-text-top .x4-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-large-icon-text-top .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-large-icon-text-top .x4-btn-icon{width:32px}.x4-reset .x4-btn-default-toolbar-large-icon-text-bottom .x4-btn-inner{padding-bottom:36px}.x4-reset .x4-btn-default-toolbar-large-icon-text-bottom .x4-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x4-ie6 .x4-reset .x4-btn-default-toolbar-large-icon-text-bottom .x4-btn-icon,.x4-quirks .x4-reset .x4-btn-default-toolbar-large-icon-text-bottom .x4-btn-icon{width:32px}.x4-reset .x4-btn-default-toolbar-large-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x4-reset .x4-btn-default-toolbar-large-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x4-reset .x4-btn-default-toolbar-large-menu-active,.x4-reset .x4-btn-default-toolbar-large-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x4-reset .x4-btn-default-toolbar-large-disabled{background-image:none;background-color:transparent}.x4-reset .x4-btn-default-toolbar-large-disabled .x4-btn-inner{color:#333333 !important}.x4-reset .x4-ie .x4-btn-default-toolbar-large-disabled .x4-btn-inner{color:#595959 !important}.x4-reset .x4-ie6 .x4-btn-default-toolbar-large-disabled .x4-btn-inner{color:#8c8c8c !important}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-over .x4-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-focus .x4-frame-mc{background-color:#dbeeff;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-bc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-mr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-menu-active .x4-frame-mc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-pressed .x4-frame-mc{background-color:#bccfe5;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-disabled-corners.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-disabled-sides.gif')}.x4-reset .x4-nbr .x4-btn-default-toolbar-large-disabled .x4-frame-mc{background-color:transparent}.x4-reset .x4-nlg .x4-btn-default-toolbar-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-toolbar-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif')}.x4-reset .x4-nlg .x4-btn-default-toolbar-large-menu-active,.x4-reset .x4-nlg .x4-btn-default-toolbar-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif')}.x4-reset .x4-btn-default-toolbar-small-disabled,.x4-reset .x4-btn-default-toolbar-medium-disabled,.x4-reset .x4-btn-default-toolbar-large-disabled{border-color:transparent;background-image:none;background:transparent}.x4-reset .x4-btn-group{position:relative;overflow:hidden}.x4-reset .x4-btn-group-body{position:relative;zoom:1;padding:0 1px}.x4-reset .x4-btn-group-body .x4-table-layout-cell{vertical-align:top}.x4-reset .x4-btn-group-header-text{white-space:nowrap}.x4-reset .x4-btn-group-default-framed{-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px;-ms-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;padding:1px 1px 1px 1px;border-width:1px;border-style:solid;background-color:#d0def0}.x4-reset .x4-nlg .x4-btn-group-default-framed-mc{background-color:#d0def0}.x4-reset .x4-nbr .x4-btn-group-default-framed{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000202px 1000202px}.x4-reset .x4-nbr .x4-btn-group-default-framed-tl,.x4-reset .x4-nbr .x4-btn-group-default-framed-bl,.x4-reset .x4-nbr .x4-btn-group-default-framed-tr,.x4-reset .x4-nbr .x4-btn-group-default-framed-br,.x4-reset .x4-nbr .x4-btn-group-default-framed-tc,.x4-reset .x4-nbr .x4-btn-group-default-framed-bc,.x4-reset .x4-nbr .x4-btn-group-default-framed-ml,.x4-reset .x4-nbr .x4-btn-group-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn-group/btn-group-default-framed-corners.gif')}.x4-reset .x4-nbr .x4-btn-group-default-framed-ml,.x4-reset .x4-nbr .x4-btn-group-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/btn-group/btn-group-default-framed-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-btn-group-default-framed-mc{padding:0 0 0 0}.x4-reset .x4-btn-group-default-framed{border-color:#b7c8d7;-moz-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-webkit-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-o-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset}.x4-reset .x4-btn-group-header-default-framed{margin:2px 2px 0 2px}.x4-reset .x4-btn-group-header-body-default-framed{padding:1px 0;background:#c2d8f0;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;-o-border-top-left-radius:2px;-ms-border-top-left-radius:2px;-khtml-border-top-left-radius:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;-o-border-top-right-radius:2px;-ms-border-top-right-radius:2px;-khtml-border-top-right-radius:2px;border-top-right-radius:2px}.x4-reset .x4-btn-group-header-text-default-framed{font:normal 11px tahoma, arial, verdana, sans-serif;color:#3e6aaa}.x4-reset .x4-datepicker{border:1px solid #1b376c;background-color:white;position:relative}.x4-reset .x4-datepicker a{-moz-outline:0 none;outline:0 none;color:#15428b;text-decoration:none;border-width:0}.x4-reset .x4-datepicker-inner,.x4-reset .x4-datepicker-inner td,.x4-reset .x4-datepicker-inner th{border-collapse:separate}.x4-reset .x4-datepicker-header{position:relative;height:26px;background-image:none;background-color:#23427c;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #264888), color-stop(100%, #1f3a6c));background-image:-moz-linear-gradient(top, #264888,#1f3a6c);background-image:linear-gradient(top, #264888,#1f3a6c)}.x4-reset .x4-datepicker-prev,.x4-reset .x4-datepicker-next{position:absolute;top:5px;width:18px}.x4-reset .x4-datepicker-prev a,.x4-reset .x4-datepicker-next a{display:block;width:16px;height:16px;background-position:top;background-repeat:no-repeat;cursor:pointer;text-decoration:none !important;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);opacity:0.7}.x4-reset .x4-datepicker-prev a:hover,.x4-reset .x4-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x4-reset .x4-datepicker-next{right:5px}.x4-reset .x4-datepicker-next a{background-image:url('../../resources/themes/images/default/shared/right-btn.gif')}.x4-reset .x4-datepicker-prev{left:5px}.x4-reset .x4-datepicker-prev a{background-image:url('../../resources/themes/images/default/shared/left-btn.gif')}.x4-reset .x4-item-disabled .x4-datepicker-prev a:hover,.x4-reset .x4-item-disabled .x4-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x4-reset .x4-datepicker-month{padding-top:3px}.x4-reset .x4-datepicker-month .x4-btn,.x4-reset .x4-datepicker-month button,.x4-reset .x4-datepicker-month .x4-btn-tc,.x4-reset .x4-datepicker-month .x4-btn-tl,.x4-reset .x4-datepicker-month .x4-btn-tr,.x4-reset .x4-datepicker-month .x4-btn-mc,.x4-reset .x4-datepicker-month .x4-btn-ml,.x4-reset .x4-datepicker-month .x4-btn-mr,.x4-reset .x4-datepicker-month .x4-btn-bc,.x4-reset .x4-datepicker-month .x4-btn-bl,.x4-reset .x4-datepicker-month .x4-btn-br{background:transparent !important;border-width:0 !important}.x4-reset .x4-datepicker-month span{color:white !important}.x4-reset .x4-datepicker-month .x4-btn-split-right{background:no-repeat right center !important;background-image:url('../../resources/themes/images/default/button/s-arrow-light.gif');padding-right:12px}.x4-reset .x4-datepicker-next{text-align:right}.x4-reset .x4-datepicker-month{text-align:center}.x4-reset .x4-datepicker-month button{color:white !important}.x4-reset table.x4-datepicker-inner{width:100%;table-layout:fixed}.x4-reset table.x4-datepicker-inner th{width:25px;height:19px;padding:0;color:#233d6d;font:normal 10px tahoma, arial, verdana, sans-serif;text-align:right;border-bottom:1px solid #b2d1f5;border-collapse:separate;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #edf4fd), color-stop(100%, #cde1f9));background-image:-moz-linear-gradient(top, #edf4fd,#cde1f9);background-image:linear-gradient(top, #edf4fd,#cde1f9);cursor:default}.x4-reset table.x4-datepicker-inner th span{display:block;padding-right:7px}.x4-reset table.x4-datepicker-inner tr{height:20px}.x4-reset table.x4-datepicker-inner td{border:1px solid;height:17px;border-color:white;text-align:right;padding:0}.x4-reset table.x4-datepicker-inner a{padding-right:4px;display:block;zoom:1;font:normal 11px tahoma, arial, verdana, sans-serif;color:black;text-decoration:none;text-align:right}.x4-reset table.x4-datepicker-inner .x4-datepicker-active{cursor:pointer;color:black}.x4-reset table.x4-datepicker-inner .x4-datepicker-selected a{background:repeat-x left top;background-color:#dae5f3;border:1px solid #8db2e3}.x4-reset table.x4-datepicker-inner .x4-datepicker-selected span{font-weight:bold}.x4-reset table.x4-datepicker-inner .x4-datepicker-today a{border:1px solid;border-color:darkred}.x4-reset table.x4-datepicker-inner .x4-datepicker-prevday a,.x4-reset table.x4-datepicker-inner .x4-datepicker-nextday a{text-decoration:none !important;color:#aaa}.x4-reset table.x4-datepicker-inner a:hover,.x4-reset table.x4-datepicker-inner .x4-datepicker-disabled a:hover{text-decoration:none !important;color:#000;background-color:#ddecfe}.x4-reset table.x4-datepicker-inner .x4-datepicker-disabled a{cursor:default;background-color:#eee;color:#bbb}.x4-reset .x4-datepicker-footer,.x4-reset .x4-monthpicker-buttons{position:relative;border-top:1px solid #b2d1f5;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dee8f5), color-stop(49%, #d1dff0), color-stop(51%, #c7d8ed), color-stop(100%, #cbdaee));background-image:-moz-linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);background-image:linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);text-align:center}.x4-reset .x4-datepicker-footer .x4-btn,.x4-reset .x4-monthpicker-buttons .x4-btn{position:relative;margin:4px}.x4-reset .x4-item-disabled .x4-datepicker-inner a:hover{background:none}.x4-reset .x4-datepicker .x4-monthpicker{position:absolute;left:0;top:0}.x4-reset .x4-monthpicker{border:1px solid #1b376c;background-color:white}.x4-reset .x4-monthpicker-months,.x4-reset .x4-monthpicker-years{float:left;height:167px;width:88px}.x4-reset .x4-monthpicker-item{float:left;margin:4px 0 5px 0;font:normal 11px tahoma, arial, verdana, sans-serif;text-align:center;vertical-align:middle;height:18px;width:43px;border:0 none}.x4-reset .x4-monthpicker-item a{display:block;margin:0 5px 0 5px;text-decoration:none;color:#15428b;border:1px solid white;line-height:17px}.x4-reset .x4-monthpicker-item a:hover{background-color:#ddecfe}.x4-reset .x4-monthpicker-item a.x4-monthpicker-selected{background-color:#dfecfb;border:1px solid #8db2e3}.x4-reset .x4-monthpicker-months{border-right:1px solid #1b376c;width:87px}.x4-reset .x4-monthpicker-years .x4-monthpicker-item{width:44px}.x4-reset .x4-monthpicker-yearnav{height:28px}.x4-reset .x4-monthpicker-yearnav button{background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');height:15px;width:15px;padding:0;margin:6px 12px 5px 15px;border:none;outline:0 none}.x4-reset .x4-monthpicker-yearnav button::-moz-focus-inner{border:0;padding:0}.x4-reset .x4-monthpicker-yearnav-next{background-position:0 -120px}.x4-reset .x4-monthpicker-yearnav-next-over{cursor:pointer;cursor:hand;background-position:-15px -120px}.x4-reset .x4-monthpicker-yearnav-prev{background-position:0 -105px}.x4-reset .x4-monthpicker-yearnav-prev-over{cursor:pointer;cursor:hand;background-position:-15px -105px}.x4-reset .x4-monthpicker-small .x4-monthpicker-item{margin:2px 0 2px 0}.x4-reset .x4-monthpicker-small .x4-monthpicker-yearnav{height:23px}.x4-reset .x4-monthpicker-small .x4-monthpicker-months,.x4-reset .x4-monthpicker-small .x4-monthpicker-years{height:136px}.x4-reset .x4-quirks .x4-ie7 .x4-monthpicker-buttons .x4-btn,.x4-reset .x4-quirks .x4-ie8 .x4-monthpicker-buttons .x4-btn{margin-top:2px}.x4-reset .x4-quirks .x4-monthpicker-small .x4-monthpicker-yearnav button{margin-top:3px;margin-bottom:3px}.x4-reset .x4-ie6 .x4-monthpicker-small .x4-monthpicker-yearnav button{margin-top:3px;margin-bottom:3px}.x4-reset .x4-nlg .x4-datepicker-header{background-image:url('../../resources/themes/images/default/datepicker/datepicker-header-bg.gif');background-repeat:repeat-x;background-position:top left}.x4-reset .x4-nlg .x4-datepicker-footer,.x4-reset .x4-nlg .x4-monthpicker-buttons{background-image:url('../../resources/themes/images/default/datepicker/datepicker-footer-bg.gif');background-repeat:repeat-x;background-position:top left}.x4-reset .x4-color-picker{width:144px;height:90px;cursor:pointer}.x4-reset .x4-color-picker a{border:1px solid #fff;float:left;padding:2px;text-decoration:none;-moz-outline:0 none;outline:0 none;cursor:pointer}.x4-reset .x4-color-picker a:hover,.x4-reset .x4-color-picker a.x4-color-picker-selected{border-color:#8bb8f3;background-color:#deecfd}.x4-reset .x4-color-picker em{display:block;border:1px solid #aca899}.x4-reset .x4-color-picker em span{cursor:pointer;display:block;height:10px;width:10px;line-height:10px}.x4-reset .x4-menu-body{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;background:#f0f0f0 !important;padding:2px}.x4-reset .x4-menu-icon-separator{position:absolute;top:0px;left:27px;z-index:0;border-left:solid 1px #e0e0e0;background-color:white;width:2px;height:100%;overflow:hidden}.x4-reset .x4-menu-plain .x4-menu-icon-separator{display:none}.x4-reset .x4-menu-focus{display:block;position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x4-reset .x4-menu-item{white-space:nowrap;overflow:hidden;z-index:1}.x4-reset .x4-menu-item-cmp{margin-bottom:1px}.x4-reset .x4-menu-item-link{display:block;padding:0px 2px;margin:1px;text-decoration:none !important;line-height:16px;cursor:default}.x4-reset .x4-opera .x4-menu-item-link{position:relative}.x4-reset .x4-menu-item-icon{width:16px;height:16px;margin:4px 11px 0px 2px;background:no-repeat center center}.x4-reset .x4-menu-item-text{position:relative;font-size:11px;color:#222222;top:-4px}.x4-reset .x4-menu-item-checked .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/checked.gif')}.x4-reset .x4-menu-item-checked .x4-menu-group-icon{background-image:url('../../resources/themes/images/default/menu/group-checked.gif')}.x4-reset .x4-menu-item-unchecked .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/unchecked.gif')}.x4-reset .x4-menu-item-unchecked .x4-menu-group-icon{background-image:none}.x4-reset .x4-menu-item-separator{height:2px;border-top:solid 1px #e0e0e0;background-color:white;margin:2px 0px;overflow:hidden}.x4-reset .x4-menu-item-arrow{position:absolute;width:12px;height:9px;top:9px;right:0px;background:url('../../resources/themes/images/default/menu/menu-parent.gif') no-repeat center center}.x4-reset .x4-menu-item-indent{margin-left:31px}.x4-reset .x4-menu-item-active{cursor:pointer}.x4-reset .x4-menu-item-active .x4-menu-item-link{background-image:none;background-color:#d9e8fb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7f0fc), color-stop(100%, #c7ddf9));background-image:-moz-linear-gradient(top, #e7f0fc,#c7ddf9);background-image:linear-gradient(top, #e7f0fc,#c7ddf9);margin:0px;border:1px solid #a9cbf5;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}.x4-reset .x4-menu-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x4-reset .x4-ie .x4-menu-item-link{line-height:17px;padding-bottom:1px}.x4-reset .x4-ie .x4-menu-item-disabled .x4-menu-item-icon{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x4-reset .x4-ie .x4-menu-item-disabled .x4-menu-item-text{background-color:#f0f0f0}.x4-strict .x4-reset .x4-ie .x4-menu-icon-separator{width:1px}.x4-strict .x4-reset .x4-ie .x4-menu-item-separator{height:1px}.x4-reset .x4-ie6 .x4-menu-item-link,.x4-reset .x4-ie7 .x4-menu-item-link,.x4-reset .x4-quirks .x4-ie8 .x4-menu-item-link{padding-bottom:2px}.x4-reset .x4-nlg .x4-menu-item-active .x4-menu-item-link{background:#d9e8fb url('../../resources/themes/images/default/menu/menu-item-active-bg.gif') repeat-x left top}.x4-reset .x4-menu-date-item{border-color:#99BBE8}.x4-reset .x4-panel .x4-grid-body{background:white;border-color:#99bce8;border-style:solid;border-width:1px;border-top-color:#c5c5c5}.x4-reset .x4-panel .x4-grid-header-ct-hidden{border-top-width:0 !important}.x4-reset .x4-grid-header-hidden .x4-grid-body{border-top-color:#99bce8 !important}.x4-reset .x4-grid-view{overflow:hidden;position:relative}.x4-reset .x4-grid-table{table-layout:fixed;border-collapse:separate}.x4-reset .x4-grid-row .x4-grid-table{border-collapse:collapse}.x4-reset .x4-grid-locked .x4-grid-inner-locked{border-width:0 1px 0 0 !important;border-style:solid}.x4-reset .x4-grid-header-ct{cursor:default;zoom:1;padding:0;border:1px solid #99bce8;background-image:none;background-color:#c5c5c5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f9f9f9), color-stop(100%, #e3e4e6));background-image:-moz-linear-gradient(top, #f9f9f9,#e3e4e6);background-image:linear-gradient(top, #f9f9f9,#e3e4e6)}.x4-reset .x4-border-box .x4-ie9 .x4-grid-header-ct{padding-left:1px}.x4-reset .x4-ie6 .x4-grid-header-ct,.x4-reset .x4-ie7 .x4-grid-header-ct{padding-left:1px}.x4-reset .x4-column-header{padding:0;position:absolute;overflow:hidden;border-right:1px solid #c5c5c5;border-left:0 none;border-top:0 none;border-bottom:0 none;text-shadow:0 1px 0 rgba(255, 255, 255, 0.3);font:normal 11px/15px tahoma, arial, verdana, sans-serif;color:null;font:normal 11px tahoma, arial, verdana, sans-serif;background-image:none;background-color:#c5c5c5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f9f9f9), color-stop(100%, #e3e4e6));background-image:-moz-linear-gradient(top, #f9f9f9,#e3e4e6);background-image:linear-gradient(top, #f9f9f9,#e3e4e6)}.x4-reset .x4-group-header{padding:0;border-left-width:0}.x4-reset .x4-group-sub-header{background:transparent;border-top:1px solid #c5c5c5;border-left-width:0}.x4-reset .x4-column-header-inner{zoom:1;position:relative;white-space:nowrap;line-height:22px;padding:0px 6px}.x4-reset .x4-column-header-inner .x4-column-header-text{white-space:nowrap}.x4-reset .x4-column-header-over,.x4-reset .x4-column-header-sort-ASC,.x4-reset .x4-column-header-sort-DESC{border-left-color:#aaccf6;border-right-color:#aaccf6;background-image:none;background-color:#aaccf6;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ebf3fd), color-stop(39%, #ebf3fd), color-stop(40%, #d9e8fb), color-stop(100%, #d9e8fb));background-image:-moz-linear-gradient(top, #ebf3fd,#ebf3fd 39%,#d9e8fb 40%,#d9e8fb);background-image:linear-gradient(top, #ebf3fd,#ebf3fd 39%,#d9e8fb 40%,#d9e8fb)}.x4-reset .x4-nlg .x4-grid-header-ct,.x4-reset .x4-nlg .x4-column-header{background:repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-bg.gif')}.x4-reset .x4-nlg .x4-column-header-over,.x4-reset .x4-nlg .x4-column-header-sort-ASC,.x4-reset .x4-nlg .x4-column-header-sort-DESC{background:#ebf3fd repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-over-bg.gif')}.x4-reset .x4-column-header-trigger{display:none;height:100%;width:14px;background:no-repeat left center;background-color:#c3daf9;background-image:url('../../resources/themes/images/default/grid/grid3-hd-btn.gif');position:absolute;right:0;top:0;z-index:2;cursor:pointer}.x4-reset .x4-column-header-over .x4-column-header-trigger,.x4-reset .x4-column-header-open .x4-column-header-trigger{display:block}.x4-reset .x4-column-header-align-right{text-align:right}.x4-reset .x4-column-header-align-right .x4-column-header-text{padding-right:0.5ex;margin-right:6px}.x4-reset .x4-column-header-align-center{text-align:center}.x4-reset .x4-column-header-align-left{text-align:left}.x4-reset .x4-column-header-sort-ASC .x4-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_asc.gif')}.x4-reset .x4-column-header-sort-DESC .x4-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_desc.gif')}.x4-reset .x4-grid-row{line-height:13px;vertical-align:top;padding:0 1px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x4-reset .x4-grid-row .x4-grid-cell{color:null;font:normal 11px tahoma, arial, verdana, sans-serif;border-color:#ededed;border-style:solid;border-width:1px 0;border-top-color:#fafafa}.x4-reset .x4-grid-rowwrap-div{border-width:1px 0;border-color:#ededed;border-style:solid;border-top-color:#fafafa;overflow:hidden}.x4-reset .x4-grid-row-alt .x4-grid-cell,.x4-reset .x4-grid-row-alt .x4-grid-rowwrap-div{background-color:#fafafa}.x4-reset .x4-grid-row-over .x4-grid-cell,.x4-reset .x4-grid-row-over .x4-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x4-reset .x4-grid-row-focused .x4-grid-cell,.x4-reset .x4-grid-row-focused .x4-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x4-reset .x4-grid-row-selected .x4-grid-cell,.x4-reset .x4-grid-row-selected .x4-grid-rowwrap-div{border-style:dotted;border-color:#a3bae9;background-color:#dfe8f6 !important}.x4-reset .x4-grid-rowwrap-div .x4-grid-cell,.x4-reset .x4-grid-rowwrap-div .x4-grid-cell-inner{border-width:0;background:transparent}.x4-reset .x4-grid-row-body-hidden{display:none}.x4-reset .x4-grid-rowbody{font:normal 11px/13px tahoma, arial, verdana, sans-serif;padding:4px}.x4-reset .x4-grid-rowbody p{margin:5px 5px 10px 5px}.x4-reset .x4-grid-cell{overflow:hidden;font:normal 13px tahoma, arial, verdana, sans-serif;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x4-reset .x4-grid-cell-inner{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:3px 6px;white-space:nowrap}.x4-reset .x4-action-col-cell .x4-grid-cell-inner{padding:1px 2px 0 2px}.x4-reset .x4-ie6 .x4-action-col-cell .x4-grid-cell-inner,.x4-reset .x4-ie7 .x4-action-col-cell .x4-grid-cell-inner,.x4-reset .x4-quirks .x4-ie9 .x4-action-col-cell .x4-grid-cell-inner,.x4-reset .x4-quirks .x4-ie8 .x4-action-col-cell .x4-grid-cell-inner,.x4-reset .x4-strict .x4-ie8 .x4-action-col-cell .x4-grid-cell-inner{padding:2px 2px 1px 2px}.x4-reset .x4-grid-row .x4-grid-cell-special{padding:0;border-right:1px solid #d0d0d0;background-image:none;background-color:#f6f6f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #f6f6f6), color-stop(100%, #e9e9e9));background-image:-moz-linear-gradient(left, #f6f6f6,#e9e9e9);background-image:linear-gradient(left, #f6f6f6,#e9e9e9)}.x4-reset .x4-ie6 .x4-grid-header-row,.x4-reset .x4-ie7 .x4-grid-header-row,.x4-reset .x4-quirks .x4-ie8 .x4-grid-header-row,.x4-reset .x4-strict .x4-ie8 .x4-grid-header-row{position:absolute}.x4-reset .x4-grid-row-selected .x4-grid-cell-special{border-right:1px solid #aaccf6;background-image:none;background-color:#dfe8f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #dfe8f6), color-stop(100%, #cbdaf0));background-image:-moz-linear-gradient(left, #dfe8f6,#cbdaf0);background-image:linear-gradient(left, #dfe8f6,#cbdaf0)}.x4-reset .x4-grid-dirty-cell{background-image:url('../../resources/themes/images/default/grid/dirty.gif');background-position:0 0;background-repeat:no-repeat}.x4-reset .x4-grid-cell-selected{background-color:#b8cfee !important}.x4-reset .x4-nlg .x4-grid-cell-special{background-repeat:repeat-y;background-position:top right}.x4-reset .x4-nlg .x4-grid-row .x4-grid-cell-special,.x4-reset .x4-nlg .x4-grid-row-over .x4-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-bg.gif')}.x4-reset .x4-nlg .x4-grid-row-focused .x4-grid-cell-special,.x4-reset .x4-nlg .x4-grid-row-selected .x4-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-selected-bg.gif')}.x4-reset .x4-panel-with-col-lines .x4-grid-row .x4-grid-cell{padding-right:0;border-right:1px solid #d0d0d0}.x4-reset .x4-ie .x4-grid-cell-special{border-right-width:0 !important}.x4-reset .x4-property-grid .x4-grid-row .x4-grid-cell-inner{padding:3px 6px 5px}.x4-reset .x4-property-grid .x4-grid-row .x4-grid-property-name .x4-grid-cell-inner,.x4-reset .x4-property-grid .x4-grid-row-over .x4-grid-property-name .x4-grid-cell-inner{padding-left:12px;background-image:url('../../resources/themes/images/default/grid/property-cell-bg.gif');background-repeat:no-repeat;background-position:-16px 1px}.x4-reset .x4-quirks .x4-ie .x4-grid-row .x4-grid-property-name .x4-grid-cell-inner{background-position:-16px 2px}.x4-reset .x4-unselectable{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x4-reset .x4-grid-row-body-hidden{display:none}.x4-reset .x4-grid-group-collapsed{display:none}.x4-reset .x4-grid-view .x4-grid-td-expander{vertical-align:top}.x4-reset .x4-grid-td-expander{background:repeat-y right transparent}.x4-reset .x4-grid-view .x4-grid-td-expander .x4-grid-cell-inner{padding:0 !important}.x4-reset .x4-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');background-color:transparent;width:9px;height:13px;margin-left:3px;background-repeat:no-repeat;background-position:0 -2px}.x4-reset .x4-grid-row-collapsed .x4-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x4-reset .x4-grid-resize-marker{position:absolute;z-index:5;top:0;width:1px;background-color:#0f0f0f}.x4-reset .col-move-top,.x4-reset .col-move-bottom{width:9px;height:9px;position:absolute;top:0;line-height:0;font-size:0;overflow:hidden;z-index:20000;background:no-repeat left top transparent}.x4-reset .col-move-top{background-image:url('../../resources/themes/images/default/grid/col-move-top.gif')}.x4-reset .col-move-bottom{background-image:url('../../resources/themes/images/default/grid/col-move-bottom.gif')}.x4-reset .x4-tbar-page-number{width:30px}.x4-reset .x4-grid-group,.x4-reset .x4-grid-group-body,.x4-reset .x4-grid-group-hd{zoom:1}.x4-reset .x4-grid-group-hd{padding-top:6px}.x4-reset .x4-grid-group-hd .x4-grid-cell-inner{padding:10px 4px 4px 4px;background:white;border-width:0 0 2px 0;border-style:solid;border-color:#99bbe8;cursor:pointer}.x4-reset .x4-grid-group-title{background:transparent no-repeat 0 -1px;background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');color:#3764a0;font:bold 11px tahoma, arial, verdana, sans-serif;padding:0 0 0 14px}.x4-reset .x4-grid-group-hd-collapsed .x4-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x4-reset .x4-grid-group-collapsed .x4-grid-group-body{display:none}.x4-reset .x4-grid-group-collapsed .x4-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x4-reset .x4-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x4-reset .x4-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x4-reset .x4-column-header-checkbox .x4-column-header-inner{padding:1px}.x4-reset .x4-grid-cell-special .x4-grid-cell-inner{padding:4px}.x4-reset .x4-grid-row-checker,.x4-reset .x4-column-header-checkbox .x4-column-header-text{height:14px;width:14px;background-image:url('../../resources/themes/images/default/grid/unchecked.gif');background-position:-1px -1px;background-repeat:no-repeat;background-color:transparent}.x4-reset .x4-column-header-checkbox .x4-column-header-text{display:block;margin-top:4px;margin-left:4px}.x4-reset .x4-quirks .x4-ie .x4-column-header-checkbox .x4-column-header-inner,.x4-reset .x4-ie6 .x4-column-header-checkbox .x4-column-header-inner{line-height:18px}.x4-reset .x4-ie6 .x4-column-header-checkbox .x4-column-header-text,.x4-reset .x4-ie7 .x4-column-header-checkbox .x4-column-header-text,.x4-reset .x4-ie9 .x4-column-header-checkbox .x4-column-header-text{margin-left:3px}.x4-reset .x4-grid-hd-checker-on .x4-column-header-text{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x4-reset .x4-grid-row-checker{margin-left:1px;background-position:50% -2px}.x4-reset .x4-grid-row-selected .x4-grid-row-checker,.x4-reset .x4-grid-row-checked .x4-grid-row-checker{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x4-reset .x4-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first.gif') !important}.x4-reset .x4-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh.gif') !important}.x4-reset .x4-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last.gif') !important}.x4-reset .x4-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next.gif') !important}.x4-reset .x4-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev.gif') !important}.x4-reset .x4-item-disabled .x4-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh-disabled.gif') !important}.x4-reset .x4-item-disabled .x4-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first-disabled.gif') !important}.x4-reset .x4-item-disabled .x4-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last-disabled.gif') !important}.x4-reset .x4-item-disabled .x4-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next-disabled.gif') !important}.x4-reset .x4-item-disabled .x4-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev-disabled.gif') !important}.x4-reset .xg-hmenu-sort-asc .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-asc.gif')}.x4-reset .xg-hmenu-sort-desc .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-desc.gif')}.x4-reset .xg-hmenu-lock .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-lock.gif')}.x4-reset .xg-hmenu-unlock .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-unlock.gif')}.x4-reset .x4-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x4-reset .x4-cols-icon .x4-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/columns.gif')}.x4-reset .x4-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x4-reset .x4-grid-drop-indicator{position:absolute;height:1px;line-height:0px;background-color:#77BC71;overflow:visible}.x4-reset .x4-grid-drop-indicator .x4-grid-drop-indicator-left{position:absolute;top:-8px;left:-12px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.png');height:16px;width:16px}.x4-reset .x4-grid-drop-indicator .x4-grid-drop-indicator-right{position:absolute;top:-8px;right:-11px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.png');height:16px;width:16px}.x4-reset .x4-ie6 .x4-grid-drop-indicator-left{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.gif')}.x4-reset .x4-ie6 .x4-grid-drop-indicator-right{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.gif')}.x4-reset .x4-grid-row-editor{position:absolute !important;z-index:1;zoom:1;overflow:visible !important}.x4-reset .x4-grid-row-editor .x4-form-field{font:normal 11px tahoma, arial, verdana, sans-serif !important}.x4-reset .x4-grid-row-editor .x4-form-display-field{font:normal 11px tahoma, arial, verdana, sans-serif !important;padding-top:0}.x4-reset .x4-grid-row-editor .x4-panel-body{background-color:#eaf1fb;border-top:1px solid #99bce8 !important;border-bottom:1px solid #99bce8 !important}.x4-reset .x4-grid-row-editor .x4-form-text{padding-left:2px}.x4-reset .x4-grid-editor .x4-form-cb-wrap{text-align:center}.x4-reset .x4-grid-row-editor-buttons{background-color:#eaf1fb;position:absolute;bottom:-31px;padding:4px;width:200px;height:32px}.x4-strict .x4-reset .x4-grid-row-editor-buttons{width:192px;height:24px}.x4-reset .x4-grid-row-editor-buttons-ml,.x4-reset .x4-grid-row-editor-buttons-mr,.x4-reset .x4-grid-row-editor-buttons-bl,.x4-reset .x4-grid-row-editor-buttons-br,.x4-reset .x4-grid-row-editor-buttons-bc{position:absolute;overflow:hidden}.x4-reset .x4-grid-row-editor-buttons-bl,.x4-reset .x4-grid-row-editor-buttons-br{width:4px;height:4px;bottom:0px;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-corners.gif')}.x4-reset .x4-grid-row-editor-buttons-bl{left:0px;background-position:0px -16px}.x4-reset .x4-grid-row-editor-buttons-br{right:0px;background-position:0px -20px}.x4-reset .x4-grid-row-editor-buttons-bc{position:absolute;left:4px;bottom:0px;width:192px;height:1px;background-color:#99bce8}.x4-reset .x4-grid-row-editor-buttons-ml,.x4-reset .x4-grid-row-editor-buttons-mr{height:27px;width:1px;top:1px;background-color:#99bce8}.x4-reset .x4-grid-row-editor-buttons-ml{left:0px}.x4-reset .x4-grid-row-editor-buttons-mr{background-position:0px -20px;right:0px}.x4-reset .x4-grid-row-editor-errors ul{margin-left:5px}.x4-reset .x4-grid-row-editor-errors li{list-style:disc;margin-left:15px}.x4-reset .x4-webkit *:focus{outline:none !important}.x4-reset .x4-form-item{display:block;zoom:1;position:relative;margin-bottom:5px}.x4-reset .x4-form-item-label{float:left;padding:3px 0 0;z-index:2;position:relative;font-size:12px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default}.x4-reset .x4-form-item-label-top{float:none;clear:none;padding:0;display:block}.x4-reset .x4-form-item-label-right{float:left;text-align:right}.x4-reset .x4-form-item-body{position:relative;float:left}.x4-reset .x4-form-invalid-under{padding:2px 2px 2px 18px;clear:left;color:#c0272b;font:normal 11px tahoma, arial, verdana, sans-serif;line-height:16px;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 0 2px}.x4-reset .x4-form-invalid-icon{width:18px;height:18px;overflow:hidden;text-indent:-9999px;position:absolute;left:0;top:0;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 2px 3px}.x4-reset .x4-form-invalid-icon ul{display:none}.x4-reset .x4-form-field,.x4-reset .x4-form-display-field{float:left;margin:0 0 0 0;font:normal 12px tahoma, arial, verdana, sans-serif;color:black}.x4-reset .x4-form-text,.x4-reset textarea.x4-form-field{padding:1px 3px;background:repeat-x 0 0;border:1px solid;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');border-color:#b5b8c8}.x4-reset .x4-form-text{height:18px;line-height:18px;vertical-align:middle}.x4-reset .x4-ie6 .x4-form-text,.x4-reset .x4-ie7 .x4-form-text,.x4-reset .x4-ie8 .x4-form-text{line-height:15px}.x4-reset .x4-border-box .x4-form-text{height:22px}.x4-reset textarea.x4-form-field{color:black;overflow:auto;height:auto;line-height:normal;background:repeat-x 0 0;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');resize:none}.x4-reset .x4-border-box textarea.x4-form-field{height:auto}.x4-reset .x4-safari.x4-mac textarea.x4-form-field{margin-bottom:-2px}.x4-reset .x4-form-focus,.x4-reset textarea.x4-form-focus{border-color:#7eadd9}.x4-reset .x4-form-invalid-field,.x4-reset textarea.x4-form-invalid-field{background-color:white;background-image:url('../../resources/themes/images/default/grid/invalid_line.gif');background-repeat:repeat-x;background-position:bottom;border-color:#cc3300}.x4-reset .x4-form-item{font:normal 12px tahoma, arial, verdana, sans-serif}.x4-reset .x4-form-empty-field,.x4-reset textarea.x4-form-empty-field{color:gray}.x4-reset .x4-webkit .x4-form-empty-field{line-height:15px}.x4-reset .x4-form-display-field{padding-top:3px}.x4-reset .x4-ie .x4-form-file{height:23px;line-height:18px;vertical-align:middle}.x4-reset .x4-field-default-toolbar .x4-form-text{height:16px}.x4-reset .x4-border-box .x4-field-default-toolbar .x4-form-text{height:20px}.x4-reset .x4-field-default-toolbar .x4-form-item-label-left{padding-left:4px}.x4-reset .x4-fieldset{border:1px solid #b5b8c8;padding:10px;margin-bottom:10px;display:block}.x4-reset .x4-ie .x4-fieldset{padding-top:0;padding-bottom:10px}.x4-reset .x4-fieldset-header{font:11px bold tahoma, arial, verdana, sans-serif;color:#15428b;padding:0 3px;line-height:16px}.x4-reset .x4-fieldset-header .x4-fieldset-header-text{float:left}.x4-reset .x4-fieldset-header .x4-form-item,.x4-reset .x4-fieldset-header .x4-tool{float:left;margin:0 3px 0 0}.x4-reset .x4-fieldset-header .x4-form-cb-wrap{padding:0}.x4-reset .x4-webkit .x4-fieldset-header{padding-top:1px}.x4-reset .x4-quirks .x4-ie .x4-fieldset-header,.x4-reset .x4-ie6 .x4-fieldset-header,.x4-reset .x4-ie7 .x4-fieldset-header,.x4-reset .x4-ie8 .x4-fieldset-header{padding:0}.x4-reset .x4-ie .x4-fieldset-header{margin-bottom:10px}.x4-reset .x4-ie9 .x4-fieldset-header{padding-top:1px}.x4-reset .x4-fieldset-collapsed .x4-fieldset-body{display:none}.x4-reset .x4-fieldset-collapsed{padding-bottom:0 !important;border-width:1px 1px 0 1px !important;border-left-color:transparent !important;border-right-color:transparent !important}.x4-reset .x4-ie6 .x4-fieldset-collapsed{border-width:1px 0 0 0 !important;padding-bottom:0 !important;margin-left:1px;margin-right:1px}.x4-reset .x4-ie .x4-fieldset-bwrap{zoom:1}.x4-reset .x4-ie .x4-fieldset-noborder legend{position:relative;margin-bottom:23px}.x4-reset .x4-ie .x4-fieldset-noborder legend span{position:absolute;left:16px}.x4-reset .x4-fieldset{overflow:hidden}.x4-reset .x4-fieldset-bwrap{overflow:hidden;zoom:1}.x4-reset .x4-fieldset-body{overflow:hidden}.x4-reset .x4-form-cb-wrap{padding-top:3px}.x4-reset .x4-form-checkbox,.x4-reset .x4-form-radio{float:none;vertical-align:-1px;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x4-reset .x4-form-checkbox::-moz-focus-inner,.x4-reset .x4-form-radio::-moz-focus-inner{padding:0;border:0}.x4-reset .x4-nbr.x4-ie .x4-form-checkbox,.x4-reset .x4-nbr.x4-ie .x4-form-radio{font-size:0}.x4-reset .x4-form-cb-checked .x4-form-checkbox,.x4-reset .x4-form-cb-checked .x4-form-radio{background-position:0 -13px}.x4-reset .x4-form-cb-focus{background-position:-13px 0}.x4-reset .x4-form-cb-checked .x4-form-cb-focus{background-position:-13px -13px}.x4-reset .x4-form-radio{background-image:url('../../resources/themes/images/default/form/radio.gif')}.x4-reset .x4-form-cb-label-before{margin-right:4px}.x4-reset .x4-form-cb-label-after{margin-left:4px}.x4-reset .x4-form-checkboxgroup-body{padding:3px 4px}.x4-reset .x4-form-invalid .x4-form-checkboxgroup-body{border:1px solid #c30;background:white url('../../resources/themes/images/default/grid/invalid_line.gif') repeat-x bottom;padding:2px 3px}.x4-reset .x4-check-group-alt{background:#d1ddef;border-top:1px dotted #b5b8c8;border-bottom:1px dotted #b5b8c8}.x4-reset .x4-form-check-group-label{color:#333;border-bottom:1px solid #333;margin:0 30px 5px 0;padding:2px}.x4-reset .x4-form-trigger-wrap{float:left}.x4-reset .x4-form-trigger{background-image:url('../../resources/themes/images/default/form/trigger.gif');background-position:0 0;width:17px;height:21px;float:left;border-bottom:1px solid #b5b8c8;cursor:pointer;cursor:hand}.x4-reset .x4-border-box .x4-form-trigger{height:22px}.x4-reset .x4-field-default-toolbar .x4-form-trigger{height:19px}.x4-reset .x4-border-box .x4-field-default-toolbar .x4-form-trigger{height:20px}.x4-reset .x4-form-trigger-over{background-position:-17px 0;border-bottom-color:#7eadd9}.x4-reset .x4-form-trigger-wrap-focus .x4-form-trigger{background-position:-51px 0;border-bottom-color:#7eadd9}.x4-reset .x4-form-trigger-wrap-focus .x4-form-trigger-over{background-position:-68px 0;border-bottom-color:null}.x4-reset .x4-form-trigger-click,.x4-reset .x4-form-trigger-wrap-focus .x4-form-trigger-click{background-position:-34px 0;border-bottom-color:null}.x4-reset .x4-form-trigger-icon{height:16px;background-repeat:no-repeat;background-position:7px 6px}.x4-reset .x4-pickerfield-open .x4-form-field{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0}.x4-reset .x4-pickerfield-open-above .x4-form-field{-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0}.x4-reset .x4-form-arrow-trigger .x4-form-trigger-icon{background-image:url('../../resources/themes/images/default/boundlist/trigger-arrow.png')}.x4-reset .x4-form-date-trigger{background-image:url('../../resources/themes/images/default/form/date-trigger.gif')}.x4-reset .x4-form-trigger-wrap .x4-form-spinner-up,.x4-reset .x4-form-trigger-wrap .x4-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner.gif');width:17px;height:11px;font-size:0;border-bottom:0}.x4-reset .x4-form-trigger-wrap .x4-form-spinner-down{background-position:0 -11px}.x4-reset .x4-form-trigger-wrap-focus .x4-form-spinner-down{background-position:-51px -11px}.x4-reset .x4-form-trigger-wrap .x4-form-spinner-down-over{background-position:-17px -11px}.x4-reset .x4-form-trigger-wrap-focus .x4-form-spinner-down-over{background-position:-68px -11px}.x4-reset .x4-form-trigger-wrap .x4-form-spinner-down-click{background-position:-34px -11px}.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap .x4-form-spinner-up,.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap .x4-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner-small.gif');height:10px}.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap .x4-form-spinner-down{background-position:0 -10px}.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap-focus .x4-form-spinner-down{background-position:-51px -10px}.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap .x4-form-spinner-down-over{background-position:-17px -10px}.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap-focus .x4-form-spinner-down-over{background-position:-68px -10px}.x4-reset .x4-field-default-toolbar .x4-form-trigger-wrap .x4-form-spinner-down-click{background-position:-34px -10px}.x4-reset .x4-trigger-noedit{cursor:pointer;cursor:hand}.x4-reset .x4-form-clear-trigger{background-image:url('../../resources/themes/images/default/form/clear-trigger.gif')}.x4-reset .x4-form-search-trigger{background-image:url('../../resources/themes/images/default/form/search-trigger.gif')}.x4-reset .x4-html-editor-wrap{border:1px solid #b5b8c8}.x4-reset .x4-html-editor-wrap .x4-toolbar{border-top-width:0;border-left-width:0;border-right-width:0}.x4-reset .x4-html-editor-wrap textarea{background-color:white}.x4-reset .x4-html-editor-tb .x4-btn-text{background:transparent url('../../resources/themes/images/default/editor/tb-sprite.gif') no-repeat}.x4-reset .x4-html-editor-tb .x4-edit-bold,.x4-reset .x4-menu-item img.x4-edit-bold{background-position:0 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-italic,.x4-reset .x4-menu-item img.x4-edit-italic{background-position:-16px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-underline,.x4-reset .x4-menu-item img.x4-edit-underline{background-position:-32px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-forecolor,.x4-reset .x4-menu-item img.x4-edit-forecolor{background-position:-160px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-backcolor,.x4-reset .x4-menu-item img.x4-edit-backcolor{background-position:-176px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-justifyleft,.x4-reset .x4-menu-item img.x4-edit-justifyleft{background-position:-112px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-justifycenter,.x4-reset .x4-menu-item img.x4-edit-justifycenter{background-position:-128px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-justifyright,.x4-reset .x4-menu-item img.x4-edit-justifyright{background-position:-144px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-insertorderedlist,.x4-reset .x4-menu-item img.x4-edit-insertorderedlist{background-position:-80px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-insertunorderedlist,.x4-reset .x4-menu-item img.x4-edit-insertunorderedlist{background-position:-96px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-increasefontsize,.x4-reset .x4-menu-item img.x4-edit-increasefontsize{background-position:-48px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-decreasefontsize,.x4-reset .x4-menu-item img.x4-edit-decreasefontsize{background-position:-64px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-sourceedit,.x4-reset .x4-menu-item img.x4-edit-sourceedit{background-position:-192px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tb .x4-edit-createlink,.x4-reset .x4-menu-item img.x4-edit-createlink{background-position:-208px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x4-reset .x4-html-editor-tip .x4-tip-bd .x4-tip-bd-inner{padding:5px;padding-bottom:1px}.x4-reset .x4-html-editor-tb .x4-toolbar{position:static !important}.x4-reset .x4-html-editor-tb .x4-font-select{font-size:11px}.x4-reset .x-html-editor-wrap textarea{border:0;padding:3px 2px;overflow:auto}.x4-reset .x4-panel,.x4-reset .x4-plain{overflow:hidden;position:relative}.x4-reset .x4-ie .x4-panel-header,.x4-reset .x4-ie .x4-panel-header-tl,.x4-reset .x4-ie .x4-panel-header-tc,.x4-reset .x4-ie .x4-panel-header-tr,.x4-reset .x4-ie .x4-panel-header-ml,.x4-reset .x4-ie .x4-panel-header-mc,.x4-reset .x4-ie .x4-panel-header-mr,.x4-reset .x4-ie .x4-panel-header-bl,.x4-reset .x4-ie .x4-panel-header-bc,.x4-reset .x4-ie .x4-panel-header-br{zoom:1}.x4-reset .x4-ie8 td.x4-frame-mc{vertical-align:top}.x4-reset .x4-panel-header{padding:5px 4px 4px 5px}.x4-reset .x4-panel-header-icon,.x4-reset .x4-window-header-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:0 0;vertical-align:middle;margin-right:4px;margin-top:-1px;margin-bottom:-1px}.x4-reset .x4-panel-header-draggable,.x4-reset .x4-panel-header-draggable .x4-panel-header-text,.x4-reset .x4-window-header-draggable,.x4-reset .x4-window-header-draggable .x4-window-header-text{cursor:move}.x4-reset .x4-panel-ghost,.x4-reset .x4-window-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;cursor:move}.x4-reset .x4-panel-header-horizontal .x4-panel-header-body,.x4-reset .x4-panel-header-horizontal .x4-window-header-body,.x4-reset .x4-panel-header-horizontal .x4-btn-group-header-body,.x4-reset .x4-window-header-horizontal .x4-panel-header-body,.x4-reset .x4-window-header-horizontal .x4-window-header-body,.x4-reset .x4-window-header-horizontal .x4-btn-group-header-body,.x4-reset .x4-btn-group-header-horizontal .x4-panel-header-body,.x4-reset .x4-btn-group-header-horizontal .x4-window-header-body,.x4-reset .x4-btn-group-header-horizontal .x4-btn-group-header-body{width:100%}.x4-reset .x4-panel-header-vertical .x4-panel-header-body,.x4-reset .x4-panel-header-vertical .x4-window-header-body,.x4-reset .x4-panel-header-vertical .x4-btn-group-header-body,.x4-reset .x4-window-header-vertical .x4-panel-header-body,.x4-reset .x4-window-header-vertical .x4-window-header-body,.x4-reset .x4-window-header-vertical .x4-btn-group-header-body,.x4-reset .x4-btn-group-header-vertical .x4-panel-header-body,.x4-reset .x4-btn-group-header-vertical .x4-window-header-body,.x4-reset .x4-btn-group-header-vertical .x4-btn-group-header-body{height:100%}.x4-reset .x4-panel-header-vertical,.x4-reset .x4-panel-header-vertical .x4-panel-header-body,.x4-reset .x4-btn-group-header-vertical,.x4-reset .x4-btn-group-header-vertical .x4-btn-group-header-body,.x4-reset .x4-window-header-vertical,.x4-reset .x4-window-header-vertical .x4-window-header-body{display:-moz-inline-stack;display:inline-block}.x4-reset .x4-panel-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap}.x4-reset .x4-panel-header-left .x4-vml-base,.x4-reset .x4-panel-header-right .x4-vml-base{left:-3px !important}.x4-reset .x4-panel-body{overflow:hidden;position:relative;font-size:12px}.x4-reset .x4-panel-header-vertical .x4-surface{margin-top:2px}.x4-reset .x4-panel-header-plain-vertical .x4-surface{margin-top:0}.x4-reset .x4-panel-collapsed .x4-panel-header-collapsed-border-top{border-bottom-width:1px !important}.x4-reset .x4-panel-collapsed .x4-panel-header-collapsed-border-right{border-left-width:1px !important}.x4-reset .x4-panel-collapsed .x4-panel-header-collapsed-border-bottom{border-top-width:1px !important}.x4-reset .x4-panel-collapsed .x4-panel-header-collapsed-border-left{border-right-width:1px !important}.x4-reset .x4-nlg .x4-panel-header-vertical .x4-frame-mc{background-repeat:repeat-y}.x4-reset .x4-panel-default{border-color:#99bce8}.x4-reset .x4-panel-header-default{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset}.x4-reset .x4-nlg .x4-panel-header-default-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-top-bg.gif')}.x4-reset .x4-nlg .x4-panel-header-default-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-bottom-bg.gif')}.x4-reset .x4-nlg .x4-panel-header-default-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-left-bg.gif')}.x4-reset .x4-nlg .x4-panel-header-default-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-right-bg.gif')}.x4-reset .x4-panel-header-text-default{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x4-reset .x4-panel-body-default{background:white;border-color:#99bce8;color:black;border-width:1px;border-style:solid}.x4-reset .x4-panel-collapsed .x4-window-header-default,.x4-reset .x4-panel-collapsed .x4-panel-header-default{border-color:#99bce8}.x4-reset .x4-panel-header-default-vertical{border-color:#99bce8}.x4-reset .x4-panel-header-default-left,.x4-reset .x4-panel-header-default-right{background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-panel-collapsed .x4-panel-header-default-top{-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x4-reset .x4-panel-collapsed .x4-panel-header-default-right{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null}.x4-reset .x4-panel-collapsed .x4-panel-header-default-bottom{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null}.x4-reset .x4-panel-collapsed .x4-panel-header-default-left{-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x4-reset .x4-nlg .x4-panel-header-default-right{background-position:top right}.x4-reset .x4-panel-header-default-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset}.x4-reset .x4-panel-header-default-right{-moz-box-shadow:#f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd -1px 0 0px 0 inset}.x4-reset .x4-panel-header-default-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset}.x4-reset .x4-panel-header-default-left{-moz-box-shadow:#f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 1px 0 0px 0 inset}.x4-reset .x4-nlg .x4-panel-header-default-bottom{background-position:bottom left}.x4-reset .x4-panel-header-default-right-tc,.x4-reset .x4-panel-header-default-right-mc,.x4-reset .x4-panel-header-default-right-bc{background-position:right 0}.x4-reset .x4-panel-header-default-bottom-tc,.x4-reset .x4-panel-header-default-bottom-mc,.x4-reset .x4-panel-header-default-bottom-bc{background-position:0 bottom}.x4-reset .x4-panel-default-framed{border-color:#99bce8}.x4-reset .x4-panel-header-default-framed{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset}.x4-reset .x4-nlg .x4-panel-header-default-framed-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif')}.x4-reset .x4-nlg .x4-panel-header-default-framed-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif')}.x4-reset .x4-nlg .x4-panel-header-default-framed-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif')}.x4-reset .x4-nlg .x4-panel-header-default-framed-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif')}.x4-reset .x4-panel-header-text-default-framed{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x4-reset .x4-panel-body-default-framed{background:#dfe9f6;border-color:#99bce8;color:black;border-width:0;border-style:solid}.x4-reset .x4-panel-collapsed .x4-window-header-default-framed,.x4-reset .x4-panel-collapsed .x4-panel-header-default-framed{border-color:#99bce8}.x4-reset .x4-panel-header-default-framed-vertical{border-color:#99bce8}.x4-reset .x4-panel-header-default-framed-left,.x4-reset .x4-panel-header-default-framed-right{background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-panel-default-framed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#dfe9f6}.x4-reset .x4-nlg .x4-panel-default-framed-mc{background-color:#dfe9f6}.x4-reset .x4-nbr .x4-panel-default-framed{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000404px}.x4-reset .x4-nbr .x4-panel-default-framed-tl,.x4-reset .x4-nbr .x4-panel-default-framed-bl,.x4-reset .x4-nbr .x4-panel-default-framed-tr,.x4-reset .x4-nbr .x4-panel-default-framed-br,.x4-reset .x4-nbr .x4-panel-default-framed-tc,.x4-reset .x4-nbr .x4-panel-default-framed-bc,.x4-reset .x4-nbr .x4-panel-default-framed-ml,.x4-reset .x4-nbr .x4-panel-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-corners.gif')}.x4-reset .x4-nbr .x4-panel-default-framed-ml,.x4-reset .x4-nbr .x4-panel-default-framed-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-panel-default-framed-mc{padding:0px 0px 0px 0px}.x4-reset .x4-panel-header-default-framed-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000000px}.x4-reset .x4-nbr .x4-panel-header-default-framed-top-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-top-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-panel-header-default-framed-top-mc{padding:0px 1px 4px 1px}.x4-reset .x4-panel-header-default-framed-right{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-right{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000004px 1100400px}.x4-reset .x4-nbr .x4-panel-header-default-framed-right-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-right-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-right-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-sides.gif');background-position:0 0;background-repeat:repeat-x}.x4-reset .x4-nbr .x4-panel-header-default-framed-right-mc{padding:0px 1px 0px 5px}.x4-reset .x4-panel-header-default-framed-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000000px 1000404px}.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-panel-header-default-framed-bottom-mc{padding:4px 1px 0px 1px}.x4-reset .x4-panel-header-default-framed-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-left{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000400px 1100004px}.x4-reset .x4-nbr .x4-panel-header-default-framed-left-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-left-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-left-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-sides.gif');background-position:0 0;background-repeat:repeat-x}.x4-reset .x4-nbr .x4-panel-header-default-framed-left-mc{padding:0px 5px 0px 1px}.x4-reset .x4-panel-header-default-framed-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x4-reset .x4-panel-header-default-framed-right{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset}.x4-reset .x4-panel-header-default-framed-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x4-reset .x4-panel-header-default-framed-left{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x4-reset .x4-nlg .x4-panel-header-default-framed-bottom{background-position:bottom left}.x4-reset .x4-panel .x4-panel-header-default-framed-top{border-bottom-width:1px !important}.x4-reset .x4-panel .x4-panel-header-default-framed-right{border-left-width:1px !important}.x4-reset .x4-panel .x4-panel-header-default-framed-bottom{border-top-width:1px !important}.x4-reset .x4-panel .x4-panel-header-default-framed-left{border-right-width:1px !important}.x4-reset .x4-panel-header-default-framed-collapsed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.x4-reset .x4-panel-header-default-framed-collapsed-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-collapsed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000404px}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-top-mc{padding:0px 1px 0px 1px}.x4-reset .x4-panel-header-default-framed-collapsed-right{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-collapsed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1100404px}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-sides.gif');background-position:0 0;background-repeat:repeat-x}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-right-mc{padding:0px 1px 0px 1px}.x4-reset .x4-panel-header-default-framed-collapsed-bottom{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(top, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-collapsed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1000404px}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-bottom-mc{padding:0px 1px 0px 1px}.x4-reset .x4-panel-header-default-framed-collapsed-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-image:none;background-color:#cbddf3;background-image:-webkit-gradient(linear, 100% 50%, 0% 50%, color-stop(0%, #dae7f6), color-stop(45%, #cddef3), color-stop(46%, #abc7ec), color-stop(50%, #abc7ec), color-stop(51%, #b8cfee), color-stop(100%, #cbddf3));background-image:-moz-linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3);background-image:linear-gradient(right, #dae7f6,#cddef3 45%,#abc7ec 46%,#abc7ec 50%,#b8cfee 51%,#cbddf3)}.x4-reset .x4-nlg .x4-panel-header-default-framed-collapsed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-bg.gif');background-color:#cbddf3}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000404px 1100404px}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-tl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-bl,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-tr,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-br,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-bc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-ml,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-corners.gif')}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-tc,.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-bc{zoom:1;background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-sides.gif');background-position:0 0;background-repeat:repeat-x}.x4-reset .x4-nbr .x4-panel-header-default-framed-collapsed-left-mc{padding:0px 1px 0px 1px}.x4-reset .x4-panel-header-default-framed-right-tc,.x4-reset .x4-panel-header-default-framed-right-mc,.x4-reset .x4-panel-header-default-framed-right-bc{background-position:right 0}.x4-reset .x4-panel-header-default-framed-bottom-tc,.x4-reset .x4-panel-header-default-framed-bottom-mc,.x4-reset .x4-panel-header-default-framed-bottom-bc{background-position:0 bottom}.x4-reset .x-panel-header-plain,.x4-reset .x-panel-body-plain{border:0;padding:0}.x4-reset .x4-tip{position:absolute;overflow:visible;border-color:#8eaace}.x4-reset .x4-tip .x4-tip-header .x4-box-item{padding:3px 3px 0}.x4-reset .x4-tip .x4-tip-header .x4-tool{padding:0px 1px 0 0 !important}.x4-reset .x4-tip{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:#e9f2ff}.x4-reset .x4-nlg .x4-tip-mc{background-color:#e9f2ff}.x4-reset .x4-nbr .x4-tip{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100303px 1000303px}.x4-reset .x4-nbr .x4-tip-tl,.x4-reset .x4-nbr .x4-tip-bl,.x4-reset .x4-nbr .x4-tip-tr,.x4-reset .x4-nbr .x4-tip-br,.x4-reset .x4-nbr .x4-tip-tc,.x4-reset .x4-nbr .x4-tip-bc,.x4-reset .x4-nbr .x4-tip-ml,.x4-reset .x4-nbr .x4-tip-mr{zoom:1;background-image:url('../../resources/themes/images/default/tip/tip-corners.gif')}.x4-reset .x4-nbr .x4-tip-ml,.x4-reset .x4-nbr .x4-tip-mr{zoom:1;background-image:url('../../resources/themes/images/default/tip/tip-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-tip-mc{padding:0 0 0 0}.x4-reset .x4-tip-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;color:#444444;font-size:11px;font-weight:bold}.x4-reset .x4-tip-header-draggable .x4-tip-header-text{cursor:move}.x4-reset .x4-tip-body,.x4-reset .x4-form-invalid-tip-body{overflow:hidden;position:relative;padding:3px}.x4-reset .x4-tip-header,.x4-reset .x4-tip-body,.x4-reset .x4-form-invalid-tip-body{color:#444444;font-size:11px;font-weight:normal}.x4-reset .x4-tip-header a,.x4-reset .x4-tip-body a,.x4-reset .x4-form-invalid-tip-body a{color:#2a2a2a}.x4-reset .x4-tip-anchor{position:absolute;overflow:hidden;height:0;width:0;border-style:solid;border-width:5px;border-color:#8eaace;zoom:1}.x4-reset .x4-border-box .x4-tip-anchor{width:10px;height:10px}.x4-reset .x4-tip-anchor-top{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;_border-top-color:pink;_border-left-color:pink;_border-right-color:pink;_filter:chroma(color=pink)}.x4-reset .x4-tip-anchor-bottom{border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;_border-bottom-color:pink;_border-left-color:pink;_border-right-color:pink;_filter:chroma(color=pink)}.x4-reset .x4-tip-anchor-left{border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;_border-top-color:pink;_border-bottom-color:pink;_border-left-color:pink;_filter:chroma(color=pink)}.x4-reset .x4-tip-anchor-right{border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;_border-top-color:pink;_border-bottom-color:pink;_border-right-color:pink;_filter:chroma(color=pink)}.x4-reset .x4-form-invalid-tip{border-color:#a1311f;-moz-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-webkit-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-o-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset}.x4-reset .x4-form-invalid-tip-body{background:1px 1px no-repeat;background-image:url('../../resources/themes/images/default/form/exclamation.gif');padding-left:22px}.x4-reset .x4-form-invalid-tip-body li{margin-bottom:4px}.x4-reset .x4-form-invalid-tip-body li.last{margin-bottom:0}.x4-reset .x4-form-invalid-tip-default{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:white}.x4-reset .x4-nlg .x4-form-invalid-tip-default-mc{background-color:white}.x4-reset .x4-nbr .x4-form-invalid-tip-default{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100505px 1000505px}.x4-reset .x4-nbr .x4-form-invalid-tip-default-tl,.x4-reset .x4-nbr .x4-form-invalid-tip-default-bl,.x4-reset .x4-nbr .x4-form-invalid-tip-default-tr,.x4-reset .x4-nbr .x4-form-invalid-tip-default-br,.x4-reset .x4-nbr .x4-form-invalid-tip-default-tc,.x4-reset .x4-nbr .x4-form-invalid-tip-default-bc,.x4-reset .x4-nbr .x4-form-invalid-tip-default-ml,.x4-reset .x4-nbr .x4-form-invalid-tip-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/form-invalid-tip/form-invalid-tip-default-corners.gif')}.x4-reset .x4-nbr .x4-form-invalid-tip-default-ml,.x4-reset .x4-nbr .x4-form-invalid-tip-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/form-invalid-tip/form-invalid-tip-default-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-form-invalid-tip-default-mc{padding:0 0 0 0}.x4-reset .x4-slider{zoom:1}.x4-reset .x4-slider-inner{position:relative;left:0;top:0;overflow:visible;zoom:1}.x4-reset .x4-slider-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;display:block;overflow:hidden}.x4-reset .x4-slider-horz{padding-left:7px;background:transparent no-repeat 0 -24px}.x4-reset .x4-slider-horz .x4-slider-end{padding-right:7px;zoom:1;background:transparent no-repeat right -46px}.x4-reset .x4-slider-horz .x4-slider-inner{background:transparent repeat-x 0 -2px;height:18px}.x4-reset .x4-slider-horz .x4-slider-thumb{width:14px;height:15px;position:absolute;left:0;top:1px;background:transparent no-repeat 0 0}.x4-reset .x4-slider-horz .x4-slider-thumb-over{background-position:-14px -15px}.x4-reset .x4-slider-horz .x4-slider-thumb-drag{background-position:-28px -30px}.x4-reset .x4-slider-vert{padding-top:7px;background:transparent no-repeat -44px 0}.x4-reset .x4-slider-vert .x4-slider-end{padding-bottom:7px;zoom:1;background:transparent no-repeat -22px bottom;width:22px}.x4-reset .x4-slider-vert .x4-slider-inner{background:transparent repeat-y 0 0;width:22px}.x4-reset .x4-slider-vert .x4-slider-thumb{width:15px;height:14px;position:absolute;left:3px;bottom:0;background:transparent no-repeat 0 0}.x4-reset .x4-slider-vert .x4-slider-thumb-over{background-position:-15px -14px}.x4-reset .x4-slider-vert .x4-slider-thumb-drag{background-position:-30px -28px}.x4-reset .x4-slider-horz,.x4-reset .x4-slider-horz .x4-slider-end,.x4-reset .x4-slider-horz .x4-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-bg.png')}.x4-reset .x4-slider-horz .x4-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-thumb.png')}.x4-reset .x4-slider-vert,.x4-reset .x4-slider-vert .x4-slider-end,.x4-reset .x4-slider-vert .x4-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-v-bg.png')}.x4-reset .x4-slider-vert .x4-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-v-thumb.png')}.x4-reset .x4-ie6 .x4-slider-horz,.x4-reset .x4-ie6 .x4-slider-horz .x4-slider-end,.x4-reset .x4-ie6 .x4-slider-horz .x4-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-bg.gif')}.x4-reset .x4-ie6 .x4-slider-horz .x4-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-thumb.gif')}.x4-reset .x4-ie6 .x4-slider-vert,.x4-reset .x4-ie6 .x4-slider-vert .x4-slider-end,.x4-reset .x4-ie6 .x4-slider-vert .x4-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-v-bg.gif')}.x4-reset .x4-ie6 .x4-slider-vert .x4-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-v-thumb.gif')}.x4-reset .x4-progress{border-width:1px;border-style:solid;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;overflow:hidden;height:20px}.x4-reset .x4-progress-bar{height:18px;overflow:hidden;position:absolute;width:0;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;border-right:1px solid;border-top:1px solid}.x4-reset .x4-progress-text{overflow:hidden;position:absolute;padding:0 5px;height:18px;font-weight:bold;font-size:11px;line-height:16px;text-align:center}.x4-reset .x4-progress-text-back{padding-top:1px}.x4-reset .x4-strict .x4-progress{height:18px}.x4-reset .x4-progress-default{border-color:#6594cf}.x4-reset .x4-progress-default .x4-progress-bar{border-right-color:#6594cf;border-top-color:#c6d8ed;background-image:none;background-color:#73a3e0;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b2ccee), color-stop(50%, #88b1e5), color-stop(51%, #73a3e0), color-stop(100%, #5e96db));background-image:-moz-linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db);background-image:linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db)}.x4-reset .x4-progress-default .x4-progress-text{color:white}.x4-reset .x4-progress-default .x4-progress-text-back{color:#396295}.x4-reset .x4-nlg .x4-progress-default .x4-progress-bar{background:url('../../resources/themes/images/default/progress/progress-default-bg.gif') repeat-x}.x4-reset .x4-toolbar{font-size:11px;border:1px solid;padding:2px 0 2px 2px}.x4-reset .x4-toolbar .x4-form-item-label{font-size:11px;line-height:15px}.x4-reset .x4-toolbar .x4-toolbar-item{margin:0 2px 0 0}.x4-reset .x4-toolbar .x4-toolbar-text{margin-left:4px;margin-right:6px;white-space:nowrap;color:#4c4c4c !important;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px;font-weight:normal}.x4-reset .x4-toolbar .x4-toolbar-separator{display:block;font-size:1px;overflow:hidden;cursor:default;border:0}.x4-reset .x4-toolbar .x4-toolbar-separator-horizontal{margin:0 3px 0 2px;height:14px;width:0px;border-left:1px solid #98c8ff;border-right:1px solid white}.x4-reset .x4-quirks .x4-ie .x4-toolbar .x4-toolbar-separator-horizontal{width:2px}.x4-reset .x4-toolbar-footer{background:transparent;border:0px none;margin-top:3px;padding:2px 0 2px 6px}.x4-reset .x4-toolbar-footer .x4-box-inner{border-width:0}.x4-reset .x4-toolbar-footer .x4-toolbar-item{margin:0 6px 0 0}.x4-reset .x4-toolbar-vertical{padding:2px 2px 0 2px}.x4-reset .x4-toolbar-vertical .x4-toolbar-item{margin:0 0 2px 0}.x4-reset .x4-toolbar-vertical .x4-toolbar-text{margin-top:4px;margin-bottom:6px}.x4-reset .x4-toolbar-vertical .x4-toolbar-separator-vertical{margin:2px 5px 3px 5px;height:0px;width:10px;line-height:0px;border-top:1px solid #98c8ff;border-bottom:1px solid white}.x4-reset .x4-toolbar-scroller{padding-left:0}.x4-reset .x4-toolbar-spacer{width:2px}.x4-reset .x4-toolbar-more-icon{background-image:url('../../resources/themes/images/default/toolbar/more.gif') !important;background-position:2px center !important;background-repeat:no-repeat}.x4-reset .x4-toolbar-default{border-color:#99bce8;background-image:none;background-color:#d3e1f1;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dfe9f5), color-stop(100%, #d3e1f1));background-image:-moz-linear-gradient(top, #dfe9f5,#d3e1f1);background-image:linear-gradient(top, #dfe9f5,#d3e1f1)}.x4-reset .x4-nlg .x4-toolbar-default{background-image:url('../../resources/themes/images/default/toolbar/toolbar-default-bg.gif') !important;background-repeat:repeat-x}.x4-reset .x4-toolbar-plain{border:0}.x4-reset .x4-window{outline:none}.x4-reset .x4-window .x4-window-wrap{position:relative}.x4-reset .x4-window .x4-window-wrap .x4-window-body{overflow:hidden}.x4-reset .x4-window-body{position:relative;border-style:solid}.x4-reset .x4-window-maximized .x4-window-wrap .x4-window-header{-moz-border-radius:0 !important;-webkit-border-radius:0 !important;-o-border-radius:0 !important;-ms-border-radius:0 !important;-khtml-border-radius:0 !important;border-radius:0 !important}.x4-reset .x4-window-collapsed .x4-window-header-vertical{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x4-reset .x4-window-collapsed .x4-window-header-horizontal{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x4-reset .x4-window-collapsed .x4-window-header-left{padding-right:5px !important}.x4-reset .x4-window-collapsed .x4-window-header-right{padding-left:5px !important}.x4-reset .x4-window-collapsed .x4-window-header-top{padding-bottom:5px !important}.x4-reset .x4-window-collapsed .x4-window-header-bottom{padding-top:5px !important}.x4-reset .x4-window-header-left .x4-vml-base,.x4-reset .x4-window-header-right .x4-vml-base{left:-3px !important}.x4-reset .x4-window-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap;display:block}.x4-reset .x4-window-default{border-color:#a2b1c5;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px;-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x4-reset .x4-window-default{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#ced9e7}.x4-reset .x4-nlg .x4-window-default-mc{background-color:#ced9e7}.x4-reset .x4-nbr .x4-window-default{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000505px 1000505px}.x4-reset .x4-nbr .x4-window-default-tl,.x4-reset .x4-nbr .x4-window-default-bl,.x4-reset .x4-nbr .x4-window-default-tr,.x4-reset .x4-nbr .x4-window-default-br,.x4-reset .x4-nbr .x4-window-default-tc,.x4-reset .x4-nbr .x4-window-default-bc,.x4-reset .x4-nbr .x4-window-default-ml,.x4-reset .x4-nbr .x4-window-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/window/window-default-corners.gif')}.x4-reset .x4-nbr .x4-window-default-ml,.x4-reset .x4-nbr .x4-window-default-mr{zoom:1;background-image:url('../../resources/themes/images/default/window/window-default-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-window-default-mc{padding:0 0 0 0}.x4-reset .x4-window-body-default{border-color:#99bbe8;border-width:1px;background:#dfe8f6;color:black}.x4-reset .x4-window-header-default{border-color:#a2b1c5;zoom:1}.x4-reset .x4-window-header-text-default{color:#04468c;font-weight:bold;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px}.x4-reset .x4-window-header-default-top{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:5px 5px 0 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x4-reset .x4-nlg .x4-window-header-default-top-mc{background-color:#ced9e7}.x4-reset .x4-nbr .x4-window-header-default-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000505px 1000000px}.x4-reset .x4-nbr .x4-window-header-default-top-tl,.x4-reset .x4-nbr .x4-window-header-default-top-bl,.x4-reset .x4-nbr .x4-window-header-default-top-tr,.x4-reset .x4-nbr .x4-window-header-default-top-br,.x4-reset .x4-nbr .x4-window-header-default-top-tc,.x4-reset .x4-nbr .x4-window-header-default-top-bc,.x4-reset .x4-nbr .x4-window-header-default-top-ml,.x4-reset .x4-nbr .x4-window-header-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-top-corners.gif')}.x4-reset .x4-nbr .x4-window-header-default-top-ml,.x4-reset .x4-nbr .x4-window-header-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-top-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-window-header-default-top-mc{padding:0px 0px 0 0px}.x4-reset .x4-window-header-default-right{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:5px 5px 5px 0;border-width:1px;border-style:solid;background-color:#ced9e7}.x4-reset .x4-nlg .x4-window-header-default-right-mc{background-color:#ced9e7}.x4-reset .x4-nbr .x4-window-header-default-right{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000005px 1000500px}.x4-reset .x4-nbr .x4-window-header-default-right-tl,.x4-reset .x4-nbr .x4-window-header-default-right-bl,.x4-reset .x4-nbr .x4-window-header-default-right-tr,.x4-reset .x4-nbr .x4-window-header-default-right-br,.x4-reset .x4-nbr .x4-window-header-default-right-tc,.x4-reset .x4-nbr .x4-window-header-default-right-bc,.x4-reset .x4-nbr .x4-window-header-default-right-ml,.x4-reset .x4-nbr .x4-window-header-default-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-right-corners.gif')}.x4-reset .x4-nbr .x4-window-header-default-right-ml,.x4-reset .x4-nbr .x4-window-header-default-right-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-right-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-window-header-default-right-mc{padding:0px 0px 0px 0}.x4-reset .x4-window-header-default-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:0 5px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x4-reset .x4-nlg .x4-window-header-default-bottom-mc{background-color:#ced9e7}.x4-reset .x4-nbr .x4-window-header-default-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000000px 1000505px}.x4-reset .x4-nbr .x4-window-header-default-bottom-tl,.x4-reset .x4-nbr .x4-window-header-default-bottom-bl,.x4-reset .x4-nbr .x4-window-header-default-bottom-tr,.x4-reset .x4-nbr .x4-window-header-default-bottom-br,.x4-reset .x4-nbr .x4-window-header-default-bottom-tc,.x4-reset .x4-nbr .x4-window-header-default-bottom-bc,.x4-reset .x4-nbr .x4-window-header-default-bottom-ml,.x4-reset .x4-nbr .x4-window-header-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-bottom-corners.gif')}.x4-reset .x4-nbr .x4-window-header-default-bottom-ml,.x4-reset .x4-nbr .x4-window-header-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-bottom-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-window-header-default-bottom-mc{padding:0 0px 0px 0px}.x4-reset .x4-window-header-default-left{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:5px 0px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x4-reset .x4-nlg .x4-window-header-default-left-mc{background-color:#ced9e7}.x4-reset .x4-nbr .x4-window-header-default-left{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1000500px 1000005px}.x4-reset .x4-nbr .x4-window-header-default-left-tl,.x4-reset .x4-nbr .x4-window-header-default-left-bl,.x4-reset .x4-nbr .x4-window-header-default-left-tr,.x4-reset .x4-nbr .x4-window-header-default-left-br,.x4-reset .x4-nbr .x4-window-header-default-left-tc,.x4-reset .x4-nbr .x4-window-header-default-left-bc,.x4-reset .x4-nbr .x4-window-header-default-left-ml,.x4-reset .x4-nbr .x4-window-header-default-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-left-corners.gif')}.x4-reset .x4-nbr .x4-window-header-default-left-ml,.x4-reset .x4-nbr .x4-window-header-default-left-mr{zoom:1;background-image:url('../../resources/themes/images/default/window-header/window-header-default-left-sides.gif');background-position:0 0;background-repeat:repeat-y}.x4-reset .x4-nbr .x4-window-header-default-left-mc{padding:0px 0px 0px 0px}.x4-reset .x4-window-header-default-top{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x4-reset .x4-window-header-default-right{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset}.x4-reset .x4-window-header-default-bottom{-moz-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x4-reset .x4-window-header-default-left{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x4-reset .x4-window-body-plain{background:transparent}.x4-reset .x4-message-box .x4-window-body{background-color:#ced9e7;border:none}.x4-reset .x4-message-box .ext-mb-textarea{margin-top:4px}.x4-reset .x4-message-box .x4-progress-wrap{margin-top:4px}.x4-reset .x4-message-box .ext-mb-icon{width:47px;height:32px}.x4-reset .x4-message-box .ext-mb-info,.x4-reset .x4-message-box .ext-mb-warning,.x4-reset .x4-message-box .ext-mb-question,.x4-reset .x4-message-box .ext-mb-error{background:transparent no-repeat top left}.x4-reset .ext-gecko2 .ext-mb-fix-cursor{overflow:auto}.x4-reset .x4-message-box .x4-msg-box-wait{background-image:url('../../resources/themes/images/default/shared/blue-loading.gif')}.x4-reset .x4-message-box .ext-mb-info{background-image:url('../../resources/themes/images/default/shared/icon-info.gif')}.x4-reset .x4-message-box .ext-mb-warning{background-image:url('../../resources/themes/images/default/shared/icon-warning.gif')}.x4-reset .x4-message-box .ext-mb-question{background-image:url('../../resources/themes/images/default/shared/icon-question.gif')}.x4-reset .x4-message-box .ext-mb-error{background-image:url('../../resources/themes/images/default/shared/icon-error.gif')}.x4-reset .x4-tab-bar{position:relative;background-color:transparent;background-image:none;background-color:#cbdbef;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dde8f5), color-stop(100%, #cbdbef));background-image:-moz-linear-gradient(top, #dde8f5,#cbdbef);background-image:linear-gradient(top, #dde8f5,#cbdbef);font-size:11px}.x4-reset .x4-nlg .x4-tab-bar{background-image:url('../../resources/themes/images/default/tab-bar/tab-bar-bg.gif')}.x4-reset .x4-tab-bar-default-plain,.x4-reset .x4-nlg .x4-tab-bar-default-plain{background:transparent none}.x4-reset .x4-tab-bar-body{border-style:solid;border-color:#99bce8;position:relative;z-index:2;zoom:1}.x4-reset .x4-tab-bar-top .x4-tab-bar-body{height:20px;border-width:1px 1px 0;padding:1px 0 3px}.x4-reset .x4-tab-bar-top .x4-tab-bar-strip{top:22px;border-width:1px 1px 0;height:2px}.x4-reset .x4-border-box .x4-tab-bar-top .x4-tab-bar-body{height:25px}.x4-reset .x4-border-box .x4-tab-bar-top .x4-tab-bar-strip{height:3px}.x4-reset .x4-tab-bar-top .x4-tab-bar-body-default-plain{height:20px;border-width:0;padding:0 0 3px}.x4-reset .x4-tab-bar-top .x4-tab-bar-strip-default-plain{top:20px;border-width:1px 1px 0 1px;height:2px}.x4-reset .x4-border-box .x4-tab-bar-top .x4-tab-bar-body-default-plain{height:23px}.x4-reset .x4-border-box .x4-tab-bar-top .x4-tab-bar-strip-default-plain{height:3px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body{height:20px;border-width:0 1px 1px;padding:3px 0 1px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body .x4-box-inner{position:relative;top:-1px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body .x4-box-scroller,.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body .x4-box-scroller-left,.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body .x4-box-scroller-right{height:22px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-strip{top:0;border-width:0 1px 1px 1px;height:2px}.x4-reset .x4-border-box .x4-tab-bar-bottom .x4-tab-bar-body{height:25px}.x4-reset .x4-border-box .x4-tab-bar-bottom .x4-tab-bar-strip{height:3px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body-default-plain{height:20px;border-width:0;padding:3px 0 0}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body-default-plain .x4-box-inner{position:relative;top:-1px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body-default-plain .x4-box-scroller,.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body-default-plain .x4-box-scroller-left,.x4-reset .x4-tab-bar-bottom .x4-tab-bar-body-default-plain .x4-box-scroller-right{height:21px}.x4-reset .x4-tab-bar-bottom .x4-tab-bar-strip-default-plain{top:0;border-width:0 1px 1px 1px;height:2px}.x4-reset .x4-border-box .x4-tab-bar-bottom .x4-tab-bar-body-default-plain{height:23px}.x4-reset .x4-border-box .x4-tab-bar-bottom .x4-tab-bar-strip-default-plain{height:3px}.x4-reset .x4-tab-bar-strip-default,.x4-reset .x4-tab-bar-strip-default-plain{font-size:0;line-height:0;position:absolute;z-index:1;border-style:solid;overflow:hidden;border-color:#99bce8;background-color:#deecfd;zoom:1}.x4-reset .x4-tab-default-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:3px 3px 0 3px;border-width:1px 1px 0 1px;border-style:solid;background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ccdef6), color-stop(25%, #d6e6fa), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(top, #ccdef6,#d6e6fa 25%,#deecfd 45%);background-image:linear-gradient(top, #ccdef6,#d6e6fa 25%,#deecfd 45%)}.x4-reset .x4-nlg .x4-tab-default-top-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif');background-color:#deecfd}.x4-reset .x4-nbr .x4-tab-default-top{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100404px 1000000px}.x4-reset .x4-nbr .x4-tab-default-top-tl,.x4-reset .x4-nbr .x4-tab-default-top-bl,.x4-reset .x4-nbr .x4-tab-default-top-tr,.x4-reset .x4-nbr .x4-tab-default-top-br,.x4-reset .x4-nbr .x4-tab-default-top-tc,.x4-reset .x4-nbr .x4-tab-default-top-bc,.x4-reset .x4-nbr .x4-tab-default-top-ml,.x4-reset .x4-nbr .x4-tab-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-top-corners.gif')}.x4-reset .x4-nbr .x4-tab-default-top-ml,.x4-reset .x4-nbr .x4-tab-default-top-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-top-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-tab-default-top-mc{padding:0 0 0 0}.x4-reset .x4-tab-default-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:0 3px 3px 3px;border-width:0 1px 1px 1px;border-style:solid;background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ccdef6), color-stop(25%, #d6e6fa), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(bottom, #ccdef6,#d6e6fa 25%,#deecfd 45%);background-image:linear-gradient(bottom, #ccdef6,#d6e6fa 25%,#deecfd 45%)}.x4-reset .x4-nlg .x4-tab-default-bottom-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif');background-color:#deecfd}.x4-reset .x4-nbr .x4-tab-default-bottom{padding:0 !important;border-width:0 !important;-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;-ms-border-radius:0px;-khtml-border-radius:0px;border-radius:0px;background-color:transparent;background-position:1100000px 1000404px}.x4-reset .x4-nbr .x4-tab-default-bottom-tl,.x4-reset .x4-nbr .x4-tab-default-bottom-bl,.x4-reset .x4-nbr .x4-tab-default-bottom-tr,.x4-reset .x4-nbr .x4-tab-default-bottom-br,.x4-reset .x4-nbr .x4-tab-default-bottom-tc,.x4-reset .x4-nbr .x4-tab-default-bottom-bc,.x4-reset .x4-nbr .x4-tab-default-bottom-ml,.x4-reset .x4-nbr .x4-tab-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-corners.gif')}.x4-reset .x4-nbr .x4-tab-default-bottom-ml,.x4-reset .x4-nbr .x4-tab-default-bottom-mr{zoom:1;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-sides.gif');background-position:0 0}.x4-reset .x4-nbr .x4-tab-default-bottom-mc{padding:0 0 0 0}.x4-reset .x4-tab{z-index:1;margin:0 0 0 2px;display:inline-block;zoom:1;*display:inline;white-space:nowrap;height:20px;border-color:#8db3e3;cursor:pointer;cursor:hand}.x4-reset .x4-tab *{cursor:pointer;cursor:hand}.x4-reset .x4-tab em{display:block;padding:0 6px;line-height:1px}.x4-reset .x4-tab button{background:none;border:0;padding:0;margin:0;-webkit-appearance:none;font-size:11px;font-weight:bold;color:#416da3;outline:0 none;overflow:hidden;overflow-x:visible;-o-text-overflow:ellipsis;text-overflow:ellipsis}.x4-reset .x4-tab button::-moz-focus-inner{border:0;padding:0}.x4-reset .x4-tab button .x4-tab-inner{background-color:transparent;background-repeat:no-repeat;background-position:0 -2px;display:block;text-align:center;white-space:nowrap}.x4-reset .x4-tab img{display:none}.x4-reset .x4-border-box .x4-tab-default-top{height:21px}.x4-reset .x4-border-box .x4-tab-default-bottom{height:21px}.x4-reset * html .x4-ie .x4-tab button{width:1px}.x4-reset .x4-strict .x4-ie6 .x4-tab .x4-frame-mc,.x4-reset .x4-strict .x4-ie7 .x4-tab .x4-frame-mc{height:100%}.x4-reset .x4-ie .x4-tab-active button:active{position:relative;top:-1px;left:-1px}.x4-reset .x4-tab-default-top{-moz-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-bottom:1px solid #99bce8 !important}.x4-reset .x4-tab-default-top em{padding-bottom:3px}.x4-reset .x4-tab-default-top button,.x4-reset .x4-tab-default-top .x4-tab-inner{height:13px;line-height:13px}.x4-reset .x4-nbr .x4-tab-default-top{border-bottom-width:1px !important}.x4-reset .x4-tab-default-top-active{border-bottom-color:#deecfd !important}.x4-reset .x4-tab-default-bottom{-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-top:1px solid #99bce8 !important;-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset}.x4-reset .x4-tab-default-bottom em{padding-top:3px}.x4-reset .x4-tab-default-bottom button,.x4-reset .x4-tab-default-bottom .x4-tab-inner{height:13px;line-height:13px}.x4-reset .x4-nbr .x4-tab-default-bottom{border-top-width:1px !important}.x4-reset .x4-tab-default-bottom-active{border-top-color:#deecfd !important}.x4-reset .x4-tab-default-disabled{cursor:default;border-color:#bbd2ef;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x4-reset .x4-tab-default-disabled *{cursor:default}.x4-reset .x4-tab-default-disabled button{color:#c3b3b3 !important}.x4-reset .x4-tab-icon-text-left .x4-tab-inner{padding-left:20px}.x4-reset .x4-tab button,.x4-reset .x4-tab a{position:relative}.x4-reset .x4-tab button .x4-tab-icon,.x4-reset .x4-tab a .x4-tab-icon{position:absolute;background-repeat:no-repeat;top:0;left:0;right:auto;bottom:0;width:18px;height:18px}.x4-reset .x4-tab-top-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x4-reset .x4-tab-bottom-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x4-reset .x4-tab-active{z-index:3}.x4-reset .x4-tab-active button{color:#15498b}.x4-reset .x4-tab-top-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x4-reset .x4-tab-bottom-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x4-reset .x4-tab-disabled{border-color:#bbd2ef}.x4-reset .x4-tab-disabled button{color:#c3b3b3}.x4-reset .x4-tab-top-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x4-reset .x4-tab-bottom-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(bottom, #e1ecfa,#ecf4fe);background-image:linear-gradient(bottom, #e1ecfa,#ecf4fe)}.x4-reset .x4-nlg .x4-tab-top{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif')}.x4-reset .x4-nlg .x4-tab-bottom{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif')}.x4-reset .x4-nlg .x4-tab-top-over{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-bg.gif')}.x4-reset .x4-nlg .x4-tab-bottom-over{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-bg.gif')}.x4-reset .x4-nlg .x4-tab-top-active{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-bg.gif')}.x4-reset .x4-nlg .x4-tab-bottom-active{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-bg.gif')}.x4-reset .x4-nlg .x4-tab-top-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-bg.gif') !important}.x4-reset .x4-nlg .x4-tab-bottom-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif') !important}.x4-reset .x4-tab-closable em{padding-right:14px}.x4-reset .x4-tab-close-btn{position:absolute !important;top:3px;right:3px;width:11px;height:11px;font-size:0;line-height:0;text-indent:-999px;background:url('../../resources/themes/images/default/tab/tab-default-close.gif') no-repeat;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x4-reset .x4-tab-close-btn:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-tl,.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-bl,.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-tr,.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-br,.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-tc,.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-corners.gif')}.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-ml,.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-sides.gif')}.x4-reset .x4-nbr .x4-tab-top-over .x4-frame-mc{background-color:#e8f2ff;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-bg.gif')}.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-tl,.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-bl,.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-tr,.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-br,.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-tc,.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-corners.gif')}.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-ml,.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-sides.gif')}.x4-reset .x4-nbr .x4-tab-bottom-over .x4-frame-mc{background-color:#e8f2ff;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-bg.gif')}.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-tl,.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-bl,.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-tr,.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-br,.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-tc,.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-corners.gif')}.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-ml,.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-sides.gif')}.x4-reset .x4-nbr .x4-tab-top-active .x4-frame-mc{background-color:#deecfd;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-bg.gif')}.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-tl,.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-bl,.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-tr,.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-br,.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-tc,.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-corners.gif')}.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-ml,.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-sides.gif')}.x4-reset .x4-nbr .x4-tab-bottom-active .x4-frame-mc{background-color:#deecfd;background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-bg.gif')}.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-corners.gif')}.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-sides.gif')}.x4-reset .x4-nbr .x4-tab-top-disabled .x4-frame-mc{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-bg.gif')}.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-tl,.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-bl,.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-tr,.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-br,.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-tc,.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-bc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif')}.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-ml,.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-mr{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif')}.x4-reset .x4-nbr .x4-tab-bottom-disabled .x4-frame-mc{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif')}.x4-reset .x4-tree-no-lines .x4-tree-elbow{background-color:transparent}.x4-reset .x4-tree-no-lines .x4-tree-elbow-end{background-color:transparent}.x4-reset .x4-tree-no-lines .x4-tree-elbow-line{background-color:transparent}.x4-reset .x4-tree-arrows .x4-tree-elbow-plus{background:transparent no-repeat 0 0}.x4-reset .x4-tree-arrows .x4-tree-elbow-end-plus{background:transparent no-repeat 0 0}.x4-reset .x4-tree-arrows .x4-tree-elbow-end-minus{background:transparent no-repeat -16px 0}.x4-reset .x4-tree-arrows .x4-tree-elbow-minus{background:transparent no-repeat -16px 0}.x4-reset .x4-tree-arrows .x4-tree-elbow{background-color:transparent !important}.x4-reset .x4-tree-arrows .x4-tree-elbow-end{background-color:transparent !important}.x4-reset .x4-tree-arrows .x4-tree-elbow-line{background-color:transparent !important}.x4-reset .x4-tree-arrows .x4-tree-expander-over .x4-tree-elbow-plus,.x4-reset .x4-tree-arrows .x4-tree-expander-over .x4-tree-elbow-end-plus{background-position:-32px 0}.x4-reset .x4-tree-arrows .x4-tree-expander-over .x4-tree-elbow-minus,.x4-reset .x4-tree-arrows .x4-tree-expander-over .x4-tree-elbow-end-minus{background-position:-48px 0}.x4-reset .x4-tree-arrows .x-grid-tree-node-expanded .x4-tree-elbow-plus,.x4-reset .x4-tree-arrows .x-grid-tree-node-expanded .x4-tree-elbow-end-plus{background-position:-16px 0}.x4-reset .x4-tree-arrows .x-grid-tree-node-expanded .x4-tree-expander-over .x4-tree-elbow-plus,.x4-reset .x4-tree-arrows .x-grid-tree-node-expanded .x4-tree-expander-over .x4-tree-elbow-end-plus{background-position:-48px 0}.x4-reset .x4-tree-elbow-plus,.x4-reset .x4-tree-elbow-minus,.x4-reset .x4-tree-elbow-end-plus,.x4-reset .x4-tree-elbow-end-minus{cursor:pointer}.x4-reset .x4-tree-lines .x4-tree-elbow{background-image:url('../../resources/themes/images/default/tree/elbow.gif')}.x4-reset .x4-tree-lines .x4-tree-elbow-end{background-image:url('../../resources/themes/images/default/tree/elbow-end.gif')}.x4-reset .x4-tree-lines .x4-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus.gif')}.x4-reset .x4-tree-lines .x4-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-plus.gif')}.x4-reset .x4-tree-lines .x4-grid-tree-node-expanded .x4-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-minus.gif')}.x4-reset .x4-tree-lines .x4-grid-tree-node-expanded .x4-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus.gif')}.x4-reset .x4-tree-lines .x4-tree-elbow-line{background-image:url('../../resources/themes/images/default/tree/elbow-line.gif')}.x4-reset .x4-tree-no-lines .x4-tree-elbow-plus,.x4-reset .x4-tree-no-lines .x4-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus-nl.gif')}.x4-reset .x4-tree-no-lines .x4-grid-tree-node-expanded .x4-tree-elbow-plus,.x4-reset .x4-tree-no-lines .x4-grid-tree-node-expanded .x4-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus-nl.gif')}.x4-reset .x4-tree-arrows .x4-tree-elbow-plus,.x4-reset .x4-tree-arrows .x4-tree-elbow-minus,.x4-reset .x4-tree-arrows .x4-tree-elbow-end-plus,.x4-reset .x4-tree-arrows .x4-tree-elbow-end-minus{background-image:url('../../resources/themes/images/default/tree/arrows.gif')}.x4-reset .x4-tree-icon{margin-right:3px}.x4-reset .x4-tree-elbow,.x4-reset .x4-tree-elbow-end,.x4-reset .x4-tree-elbow-plus,.x4-reset .x4-tree-elbow-end-plus,.x4-reset .x4-tree-elbow-empty,.x4-reset .x4-tree-elbow-line{height:18px;width:16px}.x4-reset .x4-tree-icon-leaf{width:16px;background-image:url('../../resources/themes/images/default/tree/leaf.gif')}.x4-reset .x4-tree-icon-parent{width:16px;background-image:url('../../resources/themes/images/default/tree/folder.gif')}.x4-reset .x4-grid-tree-node-expanded .x4-tree-icon-parent{background-image:url('../../resources/themes/images/default/tree/folder-open.gif')}.x4-reset .x4-grid-rowbody{padding:0}.x4-reset .x4-tree-panel .x4-grid-cell-inner{padding:0px}.x4-reset .x4-tree-panel .x4-grid-row .x4-grid-cell{border:none}.x4-reset .x4-tree-panel .x4-grid-row .x4-grid-cell-inner{height:18px;line-height:18px;vertical-align:middle;cursor:pointer}.x4-reset .x4-tree-panel .x4-grid-row .x4-grid-cell-inner img{float:left}.x4-reset .x4-ie .x4-tree-panel .x4-grid-row .x4-grid-cell-inner{white-space:normal}.x4-reset .x4-tree-checkbox{float:left;margin:2px 3px 0 0;display:block;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x4-reset .x4-tree-checkbox::-moz-focus-inner{padding:0;border:0}.x4-reset .x4-nbr.x4-ie .x4-tree-checkbox{font-size:0}.x4-reset .x4-tree-checkbox-checked{background-position:0 -13px}.x4-reset .x4-tree-panel .x4-grid-cell-inner{border-width:0 !important}.x4-reset .x4-gecko .x4-tree-panel .x4-grid-row .x4-grid-cell-inner{line-height:16px}.x4-reset .x4-tree-drop-ok-append .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-append.gif')}.x4-reset .x4-tree-drop-ok-above .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-above.gif')}.x4-reset .x4-tree-drop-ok-below .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-below.gif')}.x4-reset .x4-tree-drop-ok-between .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-between.gif')}.x4-reset .x4-grid-tree-loading .x4-tree-icon{background-image:url('../../resources/themes/images/default/tree/loading.gif')}.x4-reset .x4-tree-ddindicator{height:1px;border-width:1px 0px 0px;border-style:dotted;border-color:green}.x4-reset .x4-grid-tree-loading span{font-style:italic;color:#444444}.x4-reset .x4-tree-animator-wrap{overflow:hidden}.x4-reset .x4-surface{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto}.x4-reset .x4-surface{*display:inline}.x4-reset .rvml{behavior:url(#default#VML)}.x4-reset .x4-surface tspan{user-select:none;-o-user-select:none;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none}.x4-reset .x4-vml-sprite{position:absolute;left:0;top:0;width:1px;height:1px}.x4-reset .x4-vml-group{position:absolute;left:0;top:0;width:1000px;height:1000px}.x4-reset .x4-vml-measure-span{position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;display:inline}.x4-reset .x4-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x4-reset .x4-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x4-reset .x4-viewport,.x4-reset .x4-viewport body{margin:0;padding:0;border:0 none;overflow:hidden;height:100%}.x4-reset .x4-dd-drag-repair .x4-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x4-reset .x4-dd-drag-repair .x4-dd-drop-icon{display:none}.x4-reset .x4-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85);opacity:0.85;padding:5px;padding-left:20px;white-space:nowrap;color:#000;font:normal 11px tahoma, arial, verdana, sans-serif;border:1px solid;border-color:#ddd #bbb #bbb #ddd;background-color:#fff}.x4-reset .x4-dd-drop-icon{position:absolute;top:3px;left:3px;display:block;width:16px;height:16px;background-color:transparent;background-position:center;background-repeat:no-repeat;z-index:1}.x4-reset .x4-view-selector{position:absolute;left:0;top:0;width:0;background-color:#c3daf9;border:1px dotted #3399bb;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;zoom:1}.x4-reset .x4-dd-drop-nodrop .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-no.gif')}.x4-reset .x4-dd-drop-ok .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-yes.gif')}.x4-reset .x4-dd-drop-ok-add .x4-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-add.gif')}.x4-reset .x4-resizable-handle{position:absolute;z-index:100;font-size:1px;line-height:6px;overflow:hidden;zoom:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;background-color:#fff}.x4-reset .x4-resizable-handle-east{width:6px;height:100%;right:0;top:0}.x4-reset .x4-resizable-over .x4-resizable-handle-east{cursor:e-resize}.x4-reset .x4-resizable-handle-south{width:100%;height:6px;left:0;bottom:0}.x4-reset .x4-resizable-over .x4-resizable-handle-south{cursor:s-resize}.x4-reset .x4-resizable-handle-west{width:6px;height:100%;left:0;top:0}.x4-reset .x4-resizable-over .x4-resizable-handle-west{cursor:w-resize}.x4-reset .x4-resizable-handle-north{width:100%;height:6px;left:0;top:0}.x4-reset .x4-resizable-over .x4-resizable-handle-north{cursor:n-resize}.x4-reset .x4-resizable-handle-southeast{width:6px;height:6px;right:0;bottom:0;z-index:101}.x4-reset .x4-resizable-over .x4-resizable-handle-southeast{cursor:se-resize}.x4-reset .x4-resizable-handle-northwest{width:6px;height:6px;left:0;top:0;z-index:101}.x4-reset .x4-resizable-over .x4-resizable-handle-northwest{cursor:nw-resize}.x4-reset .x4-resizable-handle-northeast{width:6px;height:6px;right:0;top:0;z-index:101}.x4-reset .x4-resizable-over .x4-resizable-handle-northeast{cursor:ne-resize}.x4-reset .x4-resizable-handle-southwest{width:6px;height:6px;left:0;bottom:0;z-index:101}.x4-reset .x4-resizable-over .x4-resizable-handle-southwest{cursor:sw-resize}.x4-reset .x4-ie .x4-resizable-handle-east{margin-right:-1px}.x4-reset .x4-ie .x4-resizable-handle-south{margin-bottom:-1px}.x4-reset .x4-resizable-over .x4-resizable-handle,.x4-reset .x4-resizable-pinned .x4-resizable-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x4-reset .x4-window .x4-window-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x4-reset .x4-window-collapsed .x4-window-handle{display:none}.x4-reset .x4-resizable-proxy{border:1px dashed #3b5a82;position:absolute;left:0;top:0;overflow:hidden;z-index:50000}.x4-reset .x4-resizable-overlay{position:absolute;left:0;top:0;width:100%;height:100%;display:none;z-index:200000;background-color:#fff;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x4-reset .x4-resizable-over .x4-resizable-handle-east,.x4-reset .x4-resizable-over .x4-resizable-handle-west,.x4-reset .x4-resizable-pinned .x4-resizable-handle-east,.x4-reset .x4-resizable-pinned .x4-resizable-handle-west{background-position:left;background-image:url('../../resources/themes/images/default/sizer/e-handle.gif')}.x4-reset .x4-resizable-over .x4-resizable-handle-south,.x4-reset .x4-resizable-over .x4-resizable-handle-north,.x4-reset .x4-resizable-pinned .x4-resizable-handle-south,.x4-reset .x4-resizable-pinned .x4-resizable-handle-north{background-position:top;background-image:url('../../resources/themes/images/default/sizer/s-handle.gif')}.x4-reset .x4-resizable-over .x4-resizable-handle-southeast,.x4-reset .x4-resizable-pinned .x4-resizable-handle-southeast{background-position:top left;background-image:url('../../resources/themes/images/default/sizer/se-handle.gif')}.x4-reset .x4-resizable-over .x4-resizable-handle-northwest,.x4-reset .x4-resizable-pinned .x4-resizable-handle-northwest{background-position:bottom right;background-image:url('../../resources/themes/images/default/sizer/nw-handle.gif')}.x4-reset .x4-resizable-over .x4-resizable-handle-northeast,.x4-reset .x4-resizable-pinned .x4-resizable-handle-northeast{background-position:bottom left;background-image:url('../../resources/themes/images/default/sizer/ne-handle.gif')}.x4-reset .x4-resizable-over .x4-resizable-handle-southwest,.x4-reset .x4-resizable-pinned .x4-resizable-handle-southwest{background-position:top right;background-image:url('../../resources/themes/images/default/sizer/sw-handle.gif')}.x4-reset .x4-splitter .x4-collapse-el{position:absolute;cursor:pointer;background-color:transparent;background-repeat:no-repeat !important}.x4-reset .x4-layout-split-left,.x4-reset .x4-layout-split-right{top:50%;margin-top:-17px;width:5px;height:35px}.x4-reset .x4-layout-split-top,.x4-reset .x4-layout-split-bottom{left:50%;width:35px;height:5px;margin-left:-17px}.x4-reset .x4-layout-split-left{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x4-reset .x4-layout-split-right{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x4-reset .x4-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x4-reset .x4-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x4-reset .x4-splitter-collapsed .x4-layout-split-left{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x4-reset .x4-splitter-collapsed .x4-layout-split-right{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x4-reset .x4-splitter-collapsed .x4-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x4-reset .x4-splitter-collapsed .x4-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x4-reset .x4-splitter-horizontal{cursor:e-resize;cursor:row-resize;font-size:1px}.x4-reset .x4-splitter-vertical{cursor:e-resize;cursor:col-resize;font-size:1px}.x4-reset .x4-splitter-collapsed{cursor:default}.x4-reset .x4-splitter-active{z-index:4;font-size:1px;background-color:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x4-reset .x4-splitter-active .x4-collapse-el{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3}.x4-reset .x4-proxy-el{position:absolute;background:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x4-reset .x4-docked{position:absolute;z-index:1}.x4-reset .x4-docked-top{border-bottom-width:0 !important}.x4-reset .x4-docked-bottom{border-top-width:0 !important}.x4-reset .x4-docked-left{border-right-width:0 !important}.x4-reset .x4-docked-right{border-left-width:0 !important}.x4-reset .x4-docked-noborder-top{border-top-width:0 !important}.x4-reset .x4-docked-noborder-right{border-right-width:0 !important}.x4-reset .x4-docked-noborder-bottom{border-bottom-width:0 !important}.x4-reset .x4-docked-noborder-left{border-left-width:0 !important}.x4-reset .x4-box-inner{overflow:hidden;zoom:1;position:relative;left:0;top:0}.x4-reset .x4-box-item{position:absolute !important;left:0;top:0}.x4-reset .x4-box-layout-ct,.x4-reset .x4-border-layout-ct{overflow:hidden;zoom:1}.x4-reset .x4-overflow-hidden{overflow:hidden !important}.x4-reset .x4-inline-children > *{display:inline-block !important}.x4-reset .x4-abs-layout-item{position:absolute}.x4-reset .x4-border-layout-ct{background-color:#dfe8f6}.x4-reset .x4-border-region-slide-in{z-index:5}.x4-reset .x4-region-collapsed-placeholder{z-index:4}.x4-reset .x4-accordion-hd .x4-panel-header-text{color:black;font-weight:normal}.x4-reset .x4-accordion-hd{background:#d9e7f8 !important;-moz-box-shadow:inset 0 0 0 0 #d9e7f8;-webkit-box-shadow:inset 0 0 0 0 #d9e7f8;-o-box-shadow:inset 0 0 0 0 #d9e7f8;box-shadow:inset 0 0 0 0 #d9e7f8}.x4-reset .x4-accordion-hd .x4-tool-collapse-top,.x4-reset .x4-accordion-hd .x4-tool-collapse-right,.x4-reset .x4-accordion-hd .x4-tool-collapse-bottom,.x4-reset .x4-accordion-hd .x4-tool-collapse-left{background-position:0 -255px}.x4-reset .x4-accordion-hd .x4-tool-expand-top,.x4-reset .x4-accordion-hd .x4-tool-expand-right,.x4-reset .x4-accordion-hd .x4-tool-expand-bottom,.x4-reset .x4-accordion-hd .x4-tool-expand-left{background-position:0 -240px}.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-collapse-top,.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-collapse-right,.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-collapse-bottom,.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-collapse-left{background-position:-15px -255px}.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-expand-top,.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-expand-right,.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-expand-bottom,.x4-reset .x4-accordion-hd .x4-tool-over .x4-tool-expand-left{background-position:-15px -240px}.x4-reset .x4-accordion-hd{border-width:1px 0 1px 0 !important;padding:4px 5px 5px 5px;border-top-color:#f3f7fb !important}.x4-reset .x4-accordion-body{border-width:0 !important}.x4-reset .x4-accordion-hd-sibling-expanded{border-top-color:#99bce8 !important;-moz-box-shadow:inset 0 1px 0 0 #f3f7fb;-webkit-box-shadow:inset 0 1px 0 0 #f3f7fb;-o-box-shadow:inset 0 1px 0 0 #f3f7fb;box-shadow:inset 0 1px 0 0 #f3f7fb}.x4-reset .x4-accordion-hd-last-collapsed{border-bottom-color:#d9e7f8 !important}.x4-reset .x4-frame-tl,.x4-reset .x4-frame-tr,.x4-reset .x4-frame-tc,.x4-reset .x4-frame-bl,.x4-reset .x4-frame-br,.x4-reset .x4-frame-bc{overflow:hidden;background-repeat:no-repeat}.x4-reset .x4-frame-tc,.x4-reset .x4-frame-bc{background-repeat:repeat-x}.x4-reset .x4-frame-mc{position:relative;background-repeat:repeat-x;overflow:hidden}.x4-reset .x4-box-scroller-left{float:left;height:100%;z-index:5}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left,.x4-reset .x4-box-scroller-left .x4-tabbar-scroll-left{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat -18px 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-left.gif')}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left-hover{background-position:0 0}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left-disabled,.x4-reset .x4-box-scroller-left .x4-tabbar-scroll-left-disabled{background-position:-18px 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left{background-image:url('../../resources/themes/images/default/toolbar/scroll-left.gif');background-position:-14px 0}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left-hover{background-position:0 0}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left-disabled{background-position:-14px 0}.x4-reset .x4-box-scroller-left .x4-toolbar-scroll-left{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x4-reset .x4-horizontal-box-overflow-body{float:left}.x4-reset .x4-box-scroller-right{float:right;height:100%;z-index:5}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right,.x4-reset .x4-box-scroller-right .x4-tabbar-scroll-right{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat 0 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-right.gif')}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right-hover{background-position:-18px 0}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right-disabled,.x4-reset .x4-box-scroller-right .x4-tabbar-scroll-right-disabled{background-position:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right{background-image:url('../../resources/themes/images/default/toolbar/scroll-right.gif')}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right-hover{background-position:-14px 0}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right-disabled{background-position:0 0}.x4-reset .x4-box-scroller-right .x4-toolbar-scroll-right{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x4-reset .x4-box-scroller-top .x4-box-scroller{line-height:0;font-size:0}.x4-reset .x4-box-scroller-top .x4-menu-scroll-top{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-top.gif');height:8px;cursor:pointer}.x4-reset .x4-box-scroller-bottom .x4-box-scroller{line-height:0;font-size:0}.x4-reset .x4-box-scroller-bottom .x4-menu-scroll-bottom{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-bottom.gif');height:8px;cursor:pointer}.x4-reset .x4-box-menu-right{float:right;padding-right:2px}.x4-reset .x4-column{float:left}.x4-reset .x4-ie6 .x4-column{display:inline}.x4-reset .x4-tool{height:15px}.x4-reset .x4-tool img{overflow:hidden;width:15px;height:15px;cursor:pointer;background-color:transparent;background-repeat:no-repeat;background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');margin:0}.x4-reset .x4-panel-header-horizontal .x4-tool,.x4-reset .x4-window-header-horizontal .x4-tool{margin-left:2px}.x4-reset .x4-panel-header-vertical .x4-tool,.x4-reset .x4-window-header-vertical .x4-tool{margin-bottom:2px}.x4-reset .x4-tool-placeholder{visibility:hidden}.x4-reset .x4-tool-toggle{background-position:0 -60px}.x4-reset .x4-tool-over .x4-tool-toggle{background-position:-15px -60px}.x4-reset .x4-panel-collapsed .x4-tool-toggle,.x4-reset .x4-fieldset-collapsed .x4-tool-toggle{background-position:0 -75px}.x4-reset .x4-panel-collapsed .x4-tool-over .x4-tool-toggle,.x4-reset .x4-fieldset-collapsed .x4-tool-over .x4-tool-toggle{background-position:-15px -75px}.x4-reset .x4-tool-close{background-position:0 0}.x4-reset .x4-tool-minimize{background-position:0 -15px}.x4-reset .x4-tool-maximize{background-position:0 -30px}.x4-reset .x4-tool-restore{background-position:0 -45px}.x4-reset .x4-tool-gear{background-position:0 -90px}.x4-reset .x4-tool-prev{background-position:0 -105px}.x4-reset .x4-tool-next{background-position:0 -120px}.x4-reset .x4-tool-pin{background-position:0 -135px}.x4-reset .x4-tool-unpin{background-position:0 -150px}.x4-reset .x4-tool-right{background-position:0 -165px}.x4-reset .x4-tool-left{background-position:0 -180px}.x4-reset .x4-tool-help{background-position:0 -300px}.x4-reset .x4-tool-save{background-position:0 -285px}.x4-reset .x4-tool-search{background-position:0 -270px}.x4-reset .x4-tool-minus{background-position:0 -255px}.x4-reset .x4-tool-plus{background-position:0 -240px}.x4-reset .x4-tool-refresh{background-position:0 -225px}.x4-reset .x4-tool-up{background-position:0 -210px}.x4-reset .x4-tool-down{background-position:0 -195px}.x4-reset .x4-tool-move{background-position:0 -375px}.x4-reset .x4-tool-resize{background-position:0 -360px}.x4-reset .x4-tool-collapse{background-position:0 -345px}.x4-reset .x4-tool-expand{background-position:0 -330px}.x4-reset .x4-tool-print{background-position:0 -315px}.x4-reset .x4-tool-expand-bottom,.x4-reset .x4-tool-collapse-bottom{background-position:0 -195px}.x4-reset .x4-tool-expand-top,.x4-reset .x4-tool-collapse-top{background-position:0 -210px}.x4-reset .x4-tool-expand-left,.x4-reset .x4-tool-collapse-left{background-position:0 -180px}.x4-reset .x4-tool-expand-right,.x4-reset .x4-tool-collapse-right{background-position:0 -165px}.x4-reset .x4-tool-over .x4-tool-close{background-position:-15px 0}.x4-reset .x4-tool-over .x4-tool-minimize{background-position:-15px -15px}.x4-reset .x4-tool-over .x4-tool-maximize{background-position:-15px -30px}.x4-reset .x4-tool-over .x4-tool-restore{background-position:-15px -45px}.x4-reset .x4-tool-over .x4-tool-gear{background-position:-15px -90px}.x4-reset .x4-tool-over .x4-tool-prev{background-position:-15px -105px}.x4-reset .x4-tool-over .x4-tool-next{background-position:-15px -120px}.x4-reset .x4-tool-over .x4-tool-pin{background-position:-15px -135px}.x4-reset .x4-tool-over .x4-tool-unpin{background-position:-15px -150px}.x4-reset .x4-tool-over .x4-tool-right{background-position:-15px -165px}.x4-reset .x4-tool-over .x4-tool-left{background-position:-15px -180px}.x4-reset .x4-tool-over .x4-tool-down{background-position:-15px -195px}.x4-reset .x4-tool-over .x4-tool-up{background-position:-15px -210px}.x4-reset .x4-tool-over .x4-tool-refresh{background-position:-15px -225px}.x4-reset .x4-tool-over .x4-tool-plus{background-position:-15px -240px}.x4-reset .x4-tool-over .x4-tool-minus{background-position:-15px -255px}.x4-reset .x4-tool-over .x4-tool-search{background-position:-15px -270px}.x4-reset .x4-tool-over .x4-tool-save{background-position:-15px -285px}.x4-reset .x4-tool-over .x4-tool-help{background-position:-15px -300px}.x4-reset .x4-tool-over .x4-tool-print{background-position:-15px -315px}.x4-reset .x4-tool-over .x4-tool-expand{background-position:-15px -330px}.x4-reset .x4-tool-over .x4-tool-collapse{background-position:-15px -345px}.x4-reset .x4-tool-over .x4-tool-resize{background-position:-15px -360px}.x4-reset .x4-tool-over .x4-tool-move{background-position:-15px -375px}.x4-reset .x4-tool-over .x4-tool-expand-bottom,.x4-reset .x4-tool-over .x4-tool-collapse-bottom{background-position:-15px -195px}.x4-reset .x4-tool-over .x4-tool-expand-top,.x4-reset .x4-tool-over .x4-tool-collapse-top{background-position:-15px -210px}.x4-reset .x4-tool-over .x4-tool-expand-left,.x4-reset .x4-tool-over .x4-tool-collapse-left{background-position:-15px -180px}.x4-reset .x4-tool-over .x4-tool-expand-right,.x4-reset .x4-tool-over .x4-tool-collapse-right{background-position:-15px -165px}.x4-reset .x4-horizontal-scroller-present .x4-grid-body{border-bottom-width:0px}.x4-reset .x4-vertical-scroller-present .x4-grid-body{border-right-width:0px}.x4-reset .x4-scroller{overflow:hidden}.x4-reset .x4-scroller-vertical{border:1px solid #99bce8;border-top-color:#c5c5c5}.x4-reset .x4-scroller-horizontal{border:1px solid #99bce8}.x4-reset .x4-vertical-scroller-present .x4-scroller-horizontal{border-right-width:0px}.x4-reset .x4-scroller-ct{overflow:hidden;position:absolute;margin:0;padding:0;border:none;left:0px;top:0px;box-sizing:content-box !important;-ms-box-sizing:content-box !important;-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important}.x4-reset .x4-scroller-vertical .x4-scroller-ct{overflow-y:scroll}.x4-reset .x4-scroller-horizontal .x4-scroller-ct{overflow-x:scroll}.x4-reset .x4-html html,.x4-reset .x4-html address,.x4-reset .x4-html blockquote,.x4-reset .x4-html body,.x4-reset .x4-html dd,.x4-reset .x4-html div,.x4-reset .x4-html dl,.x4-reset .x4-html dt,.x4-reset .x4-html fieldset,.x4-reset .x4-html form,.x4-reset .x4-html frame,.x4-reset .x4-html frameset,.x4-reset .x4-html h1,.x4-reset .x4-html h2,.x4-reset .x4-html h3,.x4-reset .x4-html h4,.x4-reset .x4-html h5,.x4-reset .x4-html h6,.x4-reset .x4-html noframes,.x4-reset .x4-html ol,.x4-reset .x4-html p,.x4-reset .x4-html ul,.x4-reset .x4-html center,.x4-reset .x4-html dir,.x4-reset .x4-html hr,.x4-reset .x4-html menu,.x4-reset .x4-html pre{display:block}.x4-reset .x4-html li{display:list-item;list-style:disc}.x4-reset .x4-html head{display:none}.x4-reset .x4-html table{display:table}.x4-reset .x4-html tr{display:table-row}.x4-reset .x4-html thead{display:table-header-group}.x4-reset .x4-html tbody{display:table-row-group}.x4-reset .x4-html tfoot{display:table-footer-group}.x4-reset .x4-html col{display:table-column}.x4-reset .x4-html colgroup{display:table-column-group}.x4-reset .x4-html td,.x4-reset .x4-html th{display:table-cell}.x4-reset .x4-html caption{display:table-caption}.x4-reset .x4-html th{font-weight:bolder;text-align:center}.x4-reset .x4-html caption{text-align:center}.x4-reset .x4-html body{margin:8px}.x4-reset .x4-html h1{font-size:2em;margin:.67em 0}.x4-reset .x4-html h2{font-size:1.5em;margin:.75em 0}.x4-reset .x4-html h3{font-size:1.17em;margin:.83em 0}.x4-reset .x4-html h4,.x4-reset .x4-html p,.x4-reset .x4-html blockquote,.x4-reset .x4-html ul,.x4-reset .x4-html fieldset,.x4-reset .x4-html form,.x4-reset .x4-html ol,.x4-reset .x4-html dl,.x4-reset .x4-html dir,.x4-reset .x4-html menu{margin:1.12em 0}.x4-reset .x4-html h5{font-size:.83em;margin:1.5em 0}.x4-reset .x4-html h6{font-size:.75em;margin:1.67em 0}.x4-reset .x4-html h1,.x4-reset .x4-html h2,.x4-reset .x4-html h3,.x4-reset .x4-html h4,.x4-reset .x4-html h5,.x4-reset .x4-html h6,.x4-reset .x4-html b,.x4-reset .x4-html strong{font-weight:bolder}.x4-reset .x4-html blockquote{margin-left:40px;margin-right:40px}.x4-reset .x4-html i,.x4-reset .x4-html cite,.x4-reset .x4-html em,.x4-reset .x4-html var,.x4-reset .x4-html address{font-style:italic}.x4-reset .x4-html pre,.x4-reset .x4-html tt,.x4-reset .x4-html code,.x4-reset .x4-html kbd,.x4-reset .x4-html samp{font-family:monospace}.x4-reset .x4-html pre{white-space:pre}.x4-reset .x4-html button,.x4-reset .x4-html textarea,.x4-reset .x4-html input,.x4-reset .x4-html select{display:inline-block}.x4-reset .x4-html big{font-size:1.17em}.x4-reset .x4-html small,.x4-reset .x4-html sub,.x4-reset .x4-html sup{font-size:.83em}.x4-reset .x4-html sub{vertical-align:sub}.x4-reset .x4-html sup{vertical-align:super}.x4-reset .x4-html table{border-spacing:2px}.x4-reset .x4-html thead,.x4-reset .x4-html tbody,.x4-reset .x4-html tfoot{vertical-align:middle}.x4-reset .x4-html td,.x4-reset .x4-html th{vertical-align:inherit}.x4-reset .x4-html s,.x4-reset .x4-html strike,.x4-reset .x4-html del{text-decoration:line-through}.x4-reset .x4-html hr{border:1px inset}.x4-reset .x4-html ol,.x4-reset .x4-html ul,.x4-reset .x4-html dir,.x4-reset .x4-html menu,.x4-reset .x4-html dd{margin-left:40px}.x4-reset .x4-html ul,.x4-reset .x4-html menu,.x4-reset .x4-html dir{list-style-type:disc}.x4-reset .x4-html ol{list-style-type:decimal}.x4-reset .x4-html ol ul,.x4-reset .x4-html ul ol,.x4-reset .x4-html ul ul,.x4-reset .x4-html ol ol{margin-top:0;margin-bottom:0}.x4-reset .x4-html u,.x4-reset .x4-html ins{text-decoration:underline}.x4-reset .x4-html br:before{content:"\A"}.x4-reset .x4-html :before,.x4-reset .x4-html :after{white-space:pre-line}.x4-reset .x4-html center{text-align:center}.x4-reset .x4-html :link,.x4-reset .x4-html :visited{text-decoration:underline}.x4-reset .x4-html :focus{outline:invert dotted thin}.x4-reset .x4-html BDO[DIR="ltr"]{direction:ltr;unicode-bidi:bidi-override}.x4-reset .x4-html BDO[DIR="rtl"]{direction:rtl;unicode-bidi:bidi-override} diff --git a/deluge/ui/web/resources/css/ext-standard-scoped.css b/deluge/ui/web/resources/css/ext-standard-scoped.css new file mode 100644 index 000000000..9e2e8c68b --- /dev/null +++ b/deluge/ui/web/resources/css/ext-standard-scoped.css @@ -0,0 +1 @@ +.x-reset html,.x-reset body,.x-reset div,.x-reset dl,.x-reset dt,.x-reset dd,.x-reset ul,.x-reset ol,.x-reset li,.x-reset h1,.x-reset h2,.x-reset h3,.x-reset h4,.x-reset h5,.x-reset h6,.x-reset pre,.x-reset code,.x-reset form,.x-reset fieldset,.x-reset legend,.x-reset input,.x-reset textarea,.x-reset p,.x-reset blockquote,.x-reset th,.x-reset td{margin:0;padding:0}.x-reset table{border-collapse:collapse;border-spacing:0}.x-reset fieldset,.x-reset img{border:0}.x-reset address,.x-reset caption,.x-reset cite,.x-reset code,.x-reset dfn,.x-reset em,.x-reset strong,.x-reset th,.x-reset var{font-style:normal;font-weight:normal}.x-reset li{list-style:none}.x-reset caption,.x-reset th{text-align:left}.x-reset h1,.x-reset h2,.x-reset h3,.x-reset h4,.x-reset h5,.x-reset h6{font-size:100%}.x-reset q:before,.x-reset q:after{content:""}.x-reset abbr,.x-reset acronym{border:0;font-variant:normal}.x-reset sup{vertical-align:text-top}.x-reset sub{vertical-align:text-bottom}.x-reset input,.x-reset textarea,.x-reset select{font-family:inherit;font-size:inherit;font-weight:inherit}.x-reset *:focus{outline:none}.x-border-box .x-reset,.x-border-box .x-reset *{box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box}.x-body{color:black;font-size:12px;font-family:tahoma, arial, verdana, sans-serif}.x-clear{overflow:hidden;clear:both;height:0;width:0;font-size:0;line-height:0}.x-layer{position:absolute;overflow:hidden;zoom:1}.x-shim{position:absolute;left:0;top:0;overflow:hidden;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-hide-display{display:none !important}.x-hide-visibility{visibility:hidden !important}.x-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.x-ie6 .x-item-disabled{filter:none}.x-hidden,.x-hide-offsets{display:block !important;position:absolute !important;left:-10000px !important;top:-10000px !important}.x-hide-nosize{height:0 !important;width:0 !important}.x-masked-relative{position:relative}.x-css-shadow{position:absolute;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px}.x-ie-shadow{background-color:#777;display:none;position:absolute;overflow:hidden;zoom:1}.x-frame-shadow{display:none;position:absolute;overflow:hidden}.x-frame-shadow *{overflow:hidden}.x-frame-shadow *{padding:0;border:0;margin:0;clear:none;zoom:1}.x-frame-shadow .xstc,.x-frame-shadow .xsbc{height:6px;float:left}.x-frame-shadow .xsc{width:100%}.x-frame-shadow .xsml{background:transparent repeat-y 0 0}.x-frame-shadow .xsmr{background:transparent repeat-y -6px 0}.x-frame-shadow .xstl{background:transparent no-repeat 0 0}.x-frame-shadow .xstc{background:transparent repeat-x 0 -30px}.x-frame-shadow .xstr{background:transparent repeat-x 0 -18px}.x-frame-shadow .xsbl{background:transparent no-repeat 0 -12px}.x-frame-shadow .xsbc{background:transparent repeat-x 0 -36px}.x-frame-shadow .xsbr{background:transparent repeat-x 0 -6px}.x-frame-shadow .xstl,.x-frame-shadow .xstc,.x-frame-shadow .xstr,.x-frame-shadow .xsbl,.x-frame-shadow .xsbc,.x-frame-shadow .xsbr{width:6px;height:6px;float:left;background-image:url('../../resources/themes/images/default/shared/shadow.png')}.x-frame-shadow .xsml,.x-frame-shadow .xsmr{width:6px;float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-lr.png')}.x-frame-shadow .xsmc{float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-c.png')}.x-frame-shadow .xst,.x-frame-shadow .xsb{height:6px;overflow:hidden;width:100%}.x-box-tl{background:transparent no-repeat 0 0;zoom:1}.x-box-tc{height:8px;background:transparent repeat-x 0 0;overflow:hidden}.x-box-tr{background:transparent no-repeat right -8px}.x-box-ml{background:transparent repeat-y 0;padding-left:4px;overflow:hidden;zoom:1}.x-box-mc{background:repeat-x 0 -16px;padding:4px 10px}.x-box-mc h3{margin:0 0 4px 0;zoom:1}.x-box-mr{background:transparent repeat-y right;padding-right:4px;overflow:hidden}.x-box-bl{background:transparent no-repeat 0 -16px;zoom:1}.x-box-bc{background:transparent repeat-x 0 -8px;height:8px;overflow:hidden}.x-box-br{background:transparent no-repeat right -24px}.x-box-tl,.x-box-bl{padding-left:8px;overflow:hidden}.x-box-tr,.x-box-br{padding-right:8px;overflow:hidden}.x-box-tl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-tc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-tr{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-ml{background-image:url('../../resources/themes/images/default/box/l.gif')}.x-box-mc{background-color:#eee;background-image:url('../../resources/themes/images/default/box/tb.gif');font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;color:#393939;font-size:15px}.x-box-mc h3{font-size:18px;font-weight:bold}.x-box-mr{background-image:url('../../resources/themes/images/default/box/r.gif')}.x-box-bl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-bc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-br{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-blue .x-box-bl,.x-box-blue .x-box-br,.x-box-blue .x-box-tl,.x-box-blue .x-box-tr{background-image:url('../../resources/themes/images/default/box/corners-blue.gif')}.x-box-blue .x-box-bc,.x-box-blue .x-box-mc,.x-box-blue .x-box-tc{background-image:url('../../resources/themes/images/default/box/tb-blue.gif')}.x-box-blue .x-box-mc{background-color:#c3daf9}.x-box-blue .x-box-mc h3{color:#17385b}.x-box-blue .x-box-ml{background-image:url('../../resources/themes/images/default/box/l-blue.gif')}.x-box-blue .x-box-mr{background-image:url('../../resources/themes/images/default/box/r-blue.gif')}.x-focus-element{position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x-focus-frame{position:absolute;left:0px;top:0px;z-index:100000000;width:0px;height:0px}.x-focus-frame-top,.x-focus-frame-bottom,.x-focus-frame-left,.x-focus-frame-right{position:absolute;top:0px;left:0px}.x-focus-frame-top,.x-focus-frame-bottom{border-top:solid 2px #15428b;height:2px}.x-focus-frame-left,.x-focus-frame-right{border-left:solid 2px #15428b;width:2px}.x-mask{z-index:100;position:absolute;top:0;left:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;width:100%;height:100%;zoom:1;background:#cccccc}.x-mask-msg{z-index:20001;position:absolute;top:0;left:0;padding:2px;border:1px solid;border-color:#99bce8}.x-mask-msg div{padding:5px 10px 5px 25px;background-image:url('../../resources/themes/images/default/grid/loading.gif');background-repeat:no-repeat;background-position:5px center;cursor:wait;border:1px solid #a3bad9;background-color:#eeeeee;color:#222222;font:normal 11px tahoma, arial, verdana, sans-serif}.x-reset .x-boundlist{border-width:1px;border-style:solid;border-color:#98c0f4;background:white}.x-reset .x-boundlist .x-toolbar{border-width:1px 0 0 0}.x-reset .x-boundlist-item{padding:2px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;cursor:pointer;cursor:hand;position:relative;border-width:1px;border-style:dotted;border-color:white}.x-reset .x-boundlist-selected{background:#cbdaf0;border-color:#8eabe4}.x-reset .x-boundlist-item-over{background:#dfe8f6;border-color:#a3bae9}.x-reset .x-boundlist-floating{border-top-width:0}.x-reset .x-boundlist-above{border-top-width:1px;border-bottom-width:1px}.x-reset .x-btn{display:inline-block;zoom:1;*display:inline;position:relative;cursor:pointer;cursor:hand;white-space:nowrap;vertical-align:middle;background-repeat:no-repeat}.x-reset .x-btn *{cursor:pointer;cursor:hand}.x-reset .x-btn em{background-repeat:no-repeat}.x-reset .x-btn em a{text-decoration:none;display:inline-block;color:inherit}.x-reset .x-btn button{margin:0;padding:0;border:0;width:auto;background:none;outline:0 none;overflow:hidden;vertical-align:bottom;-webkit-appearance:none}.x-reset .x-btn button::-moz-focus-inner{border:0;padding:0}.x-reset .x-btn .x-btn-inner{display:block;white-space:nowrap;text-align:center;background-color:transparent;background-repeat:no-repeat;background-position:left center}.x-reset .x-btn-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-btn-disabled span{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-ie6 .x-reset .x-btn-disabled span,.x-ie7 .x-reset .x-btn-disabled span{filter:none}.x-reset .x-ie7 .x-btn-disabled,.x-reset .x-ie8 .x-btn-disabled{filter:none}.x-reset .x-ie6 .x-btn-disabled .x-btn-icon,.x-reset .x-ie7 .x-btn-disabled .x-btn-icon,.x-reset .x-ie8 .x-btn-disabled .x-btn-icon{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-btn-icon-text-left .x-btn-icon{background-position:left center}.x-reset .x-btn-icon-text-right .x-btn-icon{background-position:right center}.x-reset .x-btn-icon-text-top .x-btn-icon{background-position:center top}.x-reset .x-btn-icon-text-bottom .x-btn-icon{background-position:center bottom}.x-reset .x-btn button,.x-reset .x-btn a{position:relative}.x-reset .x-btn button .x-btn-icon,.x-reset .x-btn a .x-btn-icon{position:absolute;background-repeat:no-repeat}.x-reset .x-btn-arrow-right{background:transparent no-repeat right center;padding-right:12px}.x-reset .x-btn-arrow-right .x-btn-inner{padding-right:0 !important}.x-reset .x-toolbar .x-btn-arrow-right{padding-right:12px}.x-reset .x-btn-arrow-bottom{background:transparent no-repeat center bottom;padding-bottom:12px}.x-reset .x-btn-arrow{background-image:url('../../resources/themes/images/default/button/arrow.gif');display:block}.x-reset .x-btn-split-right,.x-reset .x-btn-over .x-btn-split-right{background:transparent no-repeat right center;background-image:url('../../resources/themes/images/default/button/s-arrow.gif');padding-right:14px !important}.x-reset .x-btn-split-bottom,.x-reset .x-btn-over .x-btn-split-bottom{background:transparent no-repeat center bottom;background-image:url('../../resources/themes/images/default/button/s-arrow-b.gif');padding-bottom:14px}.x-reset .x-toolbar .x-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-noline.gif');padding-right:12px !important}.x-reset .x-toolbar .x-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-b-noline.gif')}.x-reset .x-btn-split{display:block}.x-reset .x-item-disabled,.x-reset .x-item-disabled *{cursor:default}.x-reset .x-cycle-fixed-width .x-btn-inner{text-align:inherit}.x-reset .x-btn-over .x-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-o.gif')}.x-reset .x-btn-over .x-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-bo.gif')}.x-reset .x-btn-default-small{border-color:#d1d1d1}.x-reset .x-btn-default-small{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-btn-default-small-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif');background-color:white}.x-reset .x-btn-default-small .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x-reset .x-btn-default-small-icon button,.x-reset .x-btn-default-small-icon .x-btn-inner,.x-reset .x-btn-default-small-noicon button,.x-reset .x-btn-default-small-noicon .x-btn-inner{height:16px;line-height:16px}.x-reset .x-btn-default-small-icon button{padding:0;width:16px !important;height:16px}.x-reset .x-btn-default-small-icon .x-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-small-icon-text-left button{height:16px}.x-reset .x-btn-default-small-icon-text-left .x-btn-inner{height:16px;line-height:16px;padding-left:20px}.x-reset .x-btn-default-small-icon-text-left .x-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-small-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-left .x-btn-icon{height:16px}.x-reset .x-btn-default-small-icon-text-right button{height:16px}.x-reset .x-btn-default-small-icon-text-right .x-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x-reset .x-btn-default-small-icon-text-right .x-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-small-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-right .x-btn-icon{height:16px}.x-reset .x-btn-default-small-icon-text-top .x-btn-inner{padding-top:20px}.x-reset .x-btn-default-small-icon-text-top .x-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-small-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-top .x-btn-icon{width:16px}.x-reset .x-btn-default-small-icon-text-bottom .x-btn-inner{padding-bottom:20px}.x-reset .x-btn-default-small-icon-text-bottom .x-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-small-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-small-icon-text-bottom .x-btn-icon{width:16px}.x-reset .x-btn-default-small-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-small-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-small-menu-active,.x-reset .x-btn-default-small-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-reset .x-btn-default-small-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-reset .x-btn-default-small-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-small-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-small-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nlg .x-btn-default-small{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif')}.x-reset .x-nlg .x-btn-default-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-bg.gif')}.x-reset .x-nlg .x-btn-default-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-small-menu-active,.x-reset .x-nlg .x-btn-default-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-bg.gif')}.x-reset .x-nlg .x-btn-default-small-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-bg.gif')}.x-reset .x-btn-default-medium{border-color:#d1d1d1}.x-reset .x-btn-default-medium{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-btn-default-medium-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif');background-color:white}.x-reset .x-btn-default-medium .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-medium-icon button,.x-reset .x-btn-default-medium-icon .x-btn-inner,.x-reset .x-btn-default-medium-noicon button,.x-reset .x-btn-default-medium-noicon .x-btn-inner{height:24px;line-height:24px}.x-reset .x-btn-default-medium-icon button{padding:0;width:24px !important;height:24px}.x-reset .x-btn-default-medium-icon .x-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-medium-icon-text-left button{height:24px}.x-reset .x-btn-default-medium-icon-text-left .x-btn-inner{height:24px;line-height:24px;padding-left:28px}.x-reset .x-btn-default-medium-icon-text-left .x-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-medium-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-left .x-btn-icon{height:24px}.x-reset .x-btn-default-medium-icon-text-right button{height:24px}.x-reset .x-btn-default-medium-icon-text-right .x-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x-reset .x-btn-default-medium-icon-text-right .x-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-medium-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-right .x-btn-icon{height:24px}.x-reset .x-btn-default-medium-icon-text-top .x-btn-inner{padding-top:28px}.x-reset .x-btn-default-medium-icon-text-top .x-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-medium-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-top .x-btn-icon{width:24px}.x-reset .x-btn-default-medium-icon-text-bottom .x-btn-inner{padding-bottom:28px}.x-reset .x-btn-default-medium-icon-text-bottom .x-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-medium-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-medium-icon-text-bottom .x-btn-icon{width:24px}.x-reset .x-btn-default-medium-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-medium-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-medium-menu-active,.x-reset .x-btn-default-medium-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-reset .x-btn-default-medium-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-reset .x-btn-default-medium-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-medium-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-medium-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nlg .x-btn-default-medium{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-menu-active,.x-reset .x-nlg .x-btn-default-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif')}.x-reset .x-nlg .x-btn-default-medium-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif')}.x-reset .x-btn-default-large{border-color:#d1d1d1}.x-reset .x-btn-default-large{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-btn-default-large-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif');background-color:white}.x-reset .x-btn-default-large .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-large-icon button,.x-reset .x-btn-default-large-icon .x-btn-inner,.x-reset .x-btn-default-large-noicon button,.x-reset .x-btn-default-large-noicon .x-btn-inner{height:32px;line-height:32px}.x-reset .x-btn-default-large-icon button{padding:0;width:32px !important;height:32px}.x-reset .x-btn-default-large-icon .x-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-large-icon-text-left button{height:32px}.x-reset .x-btn-default-large-icon-text-left .x-btn-inner{height:32px;line-height:32px;padding-left:36px}.x-reset .x-btn-default-large-icon-text-left .x-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-large-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-left .x-btn-icon{height:32px}.x-reset .x-btn-default-large-icon-text-right button{height:32px}.x-reset .x-btn-default-large-icon-text-right .x-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x-reset .x-btn-default-large-icon-text-right .x-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-large-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-right .x-btn-icon{height:32px}.x-reset .x-btn-default-large-icon-text-top .x-btn-inner{padding-top:36px}.x-reset .x-btn-default-large-icon-text-top .x-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-large-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-top .x-btn-icon{width:32px}.x-reset .x-btn-default-large-icon-text-bottom .x-btn-inner{padding-bottom:36px}.x-reset .x-btn-default-large-icon-text-bottom .x-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-large-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-large-icon-text-bottom .x-btn-icon{width:32px}.x-reset .x-btn-default-large-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-large-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-reset .x-btn-default-large-menu-active,.x-reset .x-btn-default-large-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-reset .x-btn-default-large-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-reset .x-btn-default-large-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-large-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-large-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nlg .x-btn-default-large{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif')}.x-reset .x-nlg .x-btn-default-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-bg.gif')}.x-reset .x-nlg .x-btn-default-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-large-menu-active,.x-reset .x-nlg .x-btn-default-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-bg.gif')}.x-reset .x-nlg .x-btn-default-large-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-bg.gif')}.x-reset .x-btn-default-toolbar-small{border-color:transparent}.x-reset .x-btn-default-toolbar-small{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-small-mc{background-color:transparent}.x-reset .x-btn-default-toolbar-small .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x-reset .x-btn-default-toolbar-small-icon button,.x-reset .x-btn-default-toolbar-small-icon .x-btn-inner,.x-reset .x-btn-default-toolbar-small-noicon button,.x-reset .x-btn-default-toolbar-small-noicon .x-btn-inner{height:16px;line-height:16px}.x-reset .x-btn-default-toolbar-small-icon button{padding:0;width:16px !important;height:16px}.x-reset .x-btn-default-toolbar-small-icon .x-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-toolbar-small-icon-text-left button{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-inner{height:16px;line-height:16px;padding-left:20px}.x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-left .x-btn-icon{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-right button{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-right .x-btn-icon{height:16px}.x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-inner{padding-top:20px}.x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-top .x-btn-icon{width:16px}.x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-inner{padding-bottom:20px}.x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon{width:16px}.x-reset .x-btn-default-toolbar-small-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-small-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-small-menu-active,.x-reset .x-btn-default-toolbar-small-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-reset .x-btn-default-toolbar-small-disabled{background-image:none;background-color:transparent}.x-reset .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nlg .x-btn-default-toolbar-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-small-menu-active,.x-reset .x-nlg .x-btn-default-toolbar-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif')}.x-reset .x-btn-default-toolbar-medium{border-color:transparent}.x-reset .x-btn-default-toolbar-medium{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-medium-mc{background-color:transparent}.x-reset .x-btn-default-toolbar-medium .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-toolbar-medium-icon button,.x-reset .x-btn-default-toolbar-medium-icon .x-btn-inner,.x-reset .x-btn-default-toolbar-medium-noicon button,.x-reset .x-btn-default-toolbar-medium-noicon .x-btn-inner{height:24px;line-height:24px}.x-reset .x-btn-default-toolbar-medium-icon button{padding:0;width:24px !important;height:24px}.x-reset .x-btn-default-toolbar-medium-icon .x-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-toolbar-medium-icon-text-left button{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-inner{height:24px;line-height:24px;padding-left:28px}.x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-right button{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon{height:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-inner{padding-top:28px}.x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon{width:24px}.x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-inner{padding-bottom:28px}.x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon{width:24px}.x-reset .x-btn-default-toolbar-medium-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-medium-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-medium-menu-active,.x-reset .x-btn-default-toolbar-medium-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-reset .x-btn-default-toolbar-medium-disabled{background-image:none;background-color:transparent}.x-reset .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nlg .x-btn-default-toolbar-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-medium-menu-active,.x-reset .x-nlg .x-btn-default-toolbar-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif')}.x-reset .x-btn-default-toolbar-large{border-color:transparent}.x-reset .x-btn-default-toolbar-large{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x-reset .x-nlg .x-btn-default-toolbar-large-mc{background-color:transparent}.x-reset .x-btn-default-toolbar-large .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-reset .x-btn-default-toolbar-large-icon button,.x-reset .x-btn-default-toolbar-large-icon .x-btn-inner,.x-reset .x-btn-default-toolbar-large-noicon button,.x-reset .x-btn-default-toolbar-large-noicon .x-btn-inner{height:32px;line-height:32px}.x-reset .x-btn-default-toolbar-large-icon button{padding:0;width:32px !important;height:32px}.x-reset .x-btn-default-toolbar-large-icon .x-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x-reset .x-btn-default-toolbar-large-icon-text-left button{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-inner{height:32px;line-height:32px;padding-left:36px}.x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-left .x-btn-icon{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-right button{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-right .x-btn-icon{height:32px}.x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-inner{padding-top:36px}.x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-top .x-btn-icon{width:32px}.x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-inner{padding-bottom:36px}.x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon,.x-quirks .x-reset .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon{width:32px}.x-reset .x-btn-default-toolbar-large-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-large-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-reset .x-btn-default-toolbar-large-menu-active,.x-reset .x-btn-default-toolbar-large-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-reset .x-btn-default-toolbar-large-disabled{background-image:none;background-color:transparent}.x-reset .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#333333 !important}.x-reset .x-ie .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#595959 !important}.x-reset .x-ie6 .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#8c8c8c !important}.x-reset .x-nlg .x-btn-default-toolbar-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif')}.x-reset .x-nlg .x-btn-default-toolbar-large-menu-active,.x-reset .x-nlg .x-btn-default-toolbar-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif')}.x-reset .x-btn-default-toolbar-small-disabled,.x-reset .x-btn-default-toolbar-medium-disabled,.x-reset .x-btn-default-toolbar-large-disabled{border-color:transparent;background-image:none;background:transparent}.x-reset .x-btn-group{position:relative;overflow:hidden}.x-reset .x-btn-group-body{position:relative;zoom:1;padding:0 1px}.x-reset .x-btn-group-body .x-table-layout-cell{vertical-align:top}.x-reset .x-btn-group-header-text{white-space:nowrap}.x-reset .x-btn-group-default-framed{-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px;-ms-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;padding:1px 1px 1px 1px;border-width:1px;border-style:solid;background-color:#d0def0}.x-reset .x-nlg .x-btn-group-default-framed-mc{background-color:#d0def0}.x-reset .x-btn-group-default-framed{border-color:#b7c8d7;-moz-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-webkit-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-o-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset}.x-reset .x-btn-group-header-default-framed{margin:2px 2px 0 2px}.x-reset .x-btn-group-header-body-default-framed{padding:1px 0;background:#c2d8f0;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;-o-border-top-left-radius:2px;-ms-border-top-left-radius:2px;-khtml-border-top-left-radius:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;-o-border-top-right-radius:2px;-ms-border-top-right-radius:2px;-khtml-border-top-right-radius:2px;border-top-right-radius:2px}.x-reset .x-btn-group-header-text-default-framed{font:normal 11px tahoma, arial, verdana, sans-serif;color:#3e6aaa}.x-reset .x-datepicker{border:1px solid #1b376c;background-color:white;position:relative}.x-reset .x-datepicker a{-moz-outline:0 none;outline:0 none;color:#15428b;text-decoration:none;border-width:0}.x-reset .x-datepicker-inner,.x-reset .x-datepicker-inner td,.x-reset .x-datepicker-inner th{border-collapse:separate}.x-reset .x-datepicker-header{position:relative;height:26px;background-image:none;background-color:#23427c;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #264888), color-stop(100%, #1f3a6c));background-image:-moz-linear-gradient(top, #264888,#1f3a6c);background-image:linear-gradient(top, #264888,#1f3a6c)}.x-reset .x-datepicker-prev,.x-reset .x-datepicker-next{position:absolute;top:5px;width:18px}.x-reset .x-datepicker-prev a,.x-reset .x-datepicker-next a{display:block;width:16px;height:16px;background-position:top;background-repeat:no-repeat;cursor:pointer;text-decoration:none !important;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);opacity:0.7}.x-reset .x-datepicker-prev a:hover,.x-reset .x-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-datepicker-next{right:5px}.x-reset .x-datepicker-next a{background-image:url('../../resources/themes/images/default/shared/right-btn.gif')}.x-reset .x-datepicker-prev{left:5px}.x-reset .x-datepicker-prev a{background-image:url('../../resources/themes/images/default/shared/left-btn.gif')}.x-reset .x-item-disabled .x-datepicker-prev a:hover,.x-reset .x-item-disabled .x-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-datepicker-month{padding-top:3px}.x-reset .x-datepicker-month .x-btn,.x-reset .x-datepicker-month button,.x-reset .x-datepicker-month .x-btn-tc,.x-reset .x-datepicker-month .x-btn-tl,.x-reset .x-datepicker-month .x-btn-tr,.x-reset .x-datepicker-month .x-btn-mc,.x-reset .x-datepicker-month .x-btn-ml,.x-reset .x-datepicker-month .x-btn-mr,.x-reset .x-datepicker-month .x-btn-bc,.x-reset .x-datepicker-month .x-btn-bl,.x-reset .x-datepicker-month .x-btn-br{background:transparent !important;border-width:0 !important}.x-reset .x-datepicker-month span{color:white !important}.x-reset .x-datepicker-month .x-btn-split-right{background:no-repeat right center !important;background-image:url('../../resources/themes/images/default/button/s-arrow-light.gif');padding-right:12px}.x-reset .x-datepicker-next{text-align:right}.x-reset .x-datepicker-month{text-align:center}.x-reset .x-datepicker-month button{color:white !important}.x-reset table.x-datepicker-inner{width:100%;table-layout:fixed}.x-reset table.x-datepicker-inner th{width:25px;height:19px;padding:0;color:#233d6d;font:normal 10px tahoma, arial, verdana, sans-serif;text-align:right;border-bottom:1px solid #b2d1f5;border-collapse:separate;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #edf4fd), color-stop(100%, #cde1f9));background-image:-moz-linear-gradient(top, #edf4fd,#cde1f9);background-image:linear-gradient(top, #edf4fd,#cde1f9);cursor:default}.x-reset table.x-datepicker-inner th span{display:block;padding-right:7px}.x-reset table.x-datepicker-inner tr{height:20px}.x-reset table.x-datepicker-inner td{border:1px solid;height:17px;border-color:white;text-align:right;padding:0}.x-reset table.x-datepicker-inner a{padding-right:4px;display:block;zoom:1;font:normal 11px tahoma, arial, verdana, sans-serif;color:black;text-decoration:none;text-align:right}.x-reset table.x-datepicker-inner .x-datepicker-active{cursor:pointer;color:black}.x-reset table.x-datepicker-inner .x-datepicker-selected a{background:repeat-x left top;background-color:#dae5f3;border:1px solid #8db2e3}.x-reset table.x-datepicker-inner .x-datepicker-selected span{font-weight:bold}.x-reset table.x-datepicker-inner .x-datepicker-today a{border:1px solid;border-color:darkred}.x-reset table.x-datepicker-inner .x-datepicker-prevday a,.x-reset table.x-datepicker-inner .x-datepicker-nextday a{text-decoration:none !important;color:#aaa}.x-reset table.x-datepicker-inner a:hover,.x-reset table.x-datepicker-inner .x-datepicker-disabled a:hover{text-decoration:none !important;color:#000;background-color:#ddecfe}.x-reset table.x-datepicker-inner .x-datepicker-disabled a{cursor:default;background-color:#eee;color:#bbb}.x-reset .x-datepicker-footer,.x-reset .x-monthpicker-buttons{position:relative;border-top:1px solid #b2d1f5;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dee8f5), color-stop(49%, #d1dff0), color-stop(51%, #c7d8ed), color-stop(100%, #cbdaee));background-image:-moz-linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);background-image:linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);text-align:center}.x-reset .x-datepicker-footer .x-btn,.x-reset .x-monthpicker-buttons .x-btn{position:relative;margin:4px}.x-reset .x-item-disabled .x-datepicker-inner a:hover{background:none}.x-reset .x-datepicker .x-monthpicker{position:absolute;left:0;top:0}.x-reset .x-monthpicker{border:1px solid #1b376c;background-color:white}.x-reset .x-monthpicker-months,.x-reset .x-monthpicker-years{float:left;height:167px;width:88px}.x-reset .x-monthpicker-item{float:left;margin:4px 0 5px 0;font:normal 11px tahoma, arial, verdana, sans-serif;text-align:center;vertical-align:middle;height:18px;width:43px;border:0 none}.x-reset .x-monthpicker-item a{display:block;margin:0 5px 0 5px;text-decoration:none;color:#15428b;border:1px solid white;line-height:17px}.x-reset .x-monthpicker-item a:hover{background-color:#ddecfe}.x-reset .x-monthpicker-item a.x-monthpicker-selected{background-color:#dfecfb;border:1px solid #8db2e3}.x-reset .x-monthpicker-months{border-right:1px solid #1b376c;width:87px}.x-reset .x-monthpicker-years .x-monthpicker-item{width:44px}.x-reset .x-monthpicker-yearnav{height:28px}.x-reset .x-monthpicker-yearnav button{background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');height:15px;width:15px;padding:0;margin:6px 12px 5px 15px;border:none;outline:0 none}.x-reset .x-monthpicker-yearnav button::-moz-focus-inner{border:0;padding:0}.x-reset .x-monthpicker-yearnav-next{background-position:0 -120px}.x-reset .x-monthpicker-yearnav-next-over{cursor:pointer;cursor:hand;background-position:-15px -120px}.x-reset .x-monthpicker-yearnav-prev{background-position:0 -105px}.x-reset .x-monthpicker-yearnav-prev-over{cursor:pointer;cursor:hand;background-position:-15px -105px}.x-reset .x-monthpicker-small .x-monthpicker-item{margin:2px 0 2px 0}.x-reset .x-monthpicker-small .x-monthpicker-yearnav{height:23px}.x-reset .x-monthpicker-small .x-monthpicker-months,.x-reset .x-monthpicker-small .x-monthpicker-years{height:136px}.x-reset .x-nlg .x-datepicker-header{background-image:url('../../resources/themes/images/default/datepicker/datepicker-header-bg.gif');background-repeat:repeat-x;background-position:top left}.x-reset .x-nlg .x-datepicker-footer,.x-reset .x-nlg .x-monthpicker-buttons{background-image:url('../../resources/themes/images/default/datepicker/datepicker-footer-bg.gif');background-repeat:repeat-x;background-position:top left}.x-reset .x-color-picker{width:144px;height:90px;cursor:pointer}.x-reset .x-color-picker a{border:1px solid #fff;float:left;padding:2px;text-decoration:none;-moz-outline:0 none;outline:0 none;cursor:pointer}.x-reset .x-color-picker a:hover,.x-reset .x-color-picker a.x-color-picker-selected{border-color:#8bb8f3;background-color:#deecfd}.x-reset .x-color-picker em{display:block;border:1px solid #aca899}.x-reset .x-color-picker em span{cursor:pointer;display:block;height:10px;width:10px;line-height:10px}.x-reset .x-menu-body{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;background:#f0f0f0 !important;padding:2px}.x-reset .x-menu-icon-separator{position:absolute;top:0px;left:27px;z-index:0;border-left:solid 1px #e0e0e0;background-color:white;width:2px;height:100%;overflow:hidden}.x-reset .x-menu-plain .x-menu-icon-separator{display:none}.x-reset .x-menu-focus{display:block;position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x-reset .x-menu-item{white-space:nowrap;overflow:hidden;z-index:1}.x-reset .x-menu-item-cmp{margin-bottom:1px}.x-reset .x-menu-item-link{display:block;padding:0px 2px;margin:1px;text-decoration:none !important;line-height:16px;cursor:default}.x-reset .x-opera .x-menu-item-link{position:relative}.x-reset .x-menu-item-icon{width:16px;height:16px;margin:4px 11px 0px 2px;background:no-repeat center center}.x-reset .x-menu-item-text{position:relative;font-size:11px;color:#222222;top:-4px}.x-reset .x-menu-item-checked .x-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/checked.gif')}.x-reset .x-menu-item-checked .x-menu-group-icon{background-image:url('../../resources/themes/images/default/menu/group-checked.gif')}.x-reset .x-menu-item-unchecked .x-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/unchecked.gif')}.x-reset .x-menu-item-unchecked .x-menu-group-icon{background-image:none}.x-reset .x-menu-item-separator{height:2px;border-top:solid 1px #e0e0e0;background-color:white;margin:2px 0px;overflow:hidden}.x-reset .x-menu-item-arrow{position:absolute;width:12px;height:9px;top:9px;right:0px;background:url('../../resources/themes/images/default/menu/menu-parent.gif') no-repeat center center}.x-reset .x-menu-item-indent{margin-left:31px}.x-reset .x-menu-item-active{cursor:pointer}.x-reset .x-menu-item-active .x-menu-item-link{background-image:none;background-color:#d9e8fb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7f0fc), color-stop(100%, #c7ddf9));background-image:-moz-linear-gradient(top, #e7f0fc,#c7ddf9);background-image:linear-gradient(top, #e7f0fc,#c7ddf9);margin:0px;border:1px solid #a9cbf5;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}.x-reset .x-menu-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-reset .x-nlg .x-menu-item-active .x-menu-item-link{background:#d9e8fb url('../../resources/themes/images/default/menu/menu-item-active-bg.gif') repeat-x left top}.x-reset .x-menu-date-item{border-color:#99BBE8}.x-reset .x-panel .x-grid-body{background:white;border-color:#99bce8;border-style:solid;border-width:1px;border-top-color:#c5c5c5}.x-reset .x-panel .x-grid-header-ct-hidden{border-top-width:0 !important}.x-reset .x-grid-header-hidden .x-grid-body{border-top-color:#99bce8 !important}.x-reset .x-grid-view{overflow:hidden;position:relative}.x-reset .x-grid-table{table-layout:fixed;border-collapse:separate}.x-reset .x-grid-row .x-grid-table{border-collapse:collapse}.x-reset .x-grid-locked .x-grid-inner-locked{border-width:0 1px 0 0 !important;border-style:solid}.x-reset .x-grid-header-ct{cursor:default;zoom:1;padding:0;border:1px solid #99bce8}.x-reset .x-column-header{padding:0;position:absolute;overflow:hidden;border-right:1px solid #c5c5c5;border-left:0 none;border-top:0 none;border-bottom:0 none;text-shadow:0 1px 0 rgba(255, 255, 255, 0.3);font:normal 11px/15px tahoma, arial, verdana, sans-serif;color:null;font:normal 11px tahoma, arial, verdana, sans-serif}.x-reset .x-group-header{padding:0;border-left-width:0}.x-reset .x-group-sub-header{background:transparent;border-top:1px solid #c5c5c5;border-left-width:0}.x-reset .x-column-header-inner{zoom:1;position:relative;white-space:nowrap;line-height:22px;padding:0px 6px}.x-reset .x-column-header-inner .x-column-header-text{white-space:nowrap}.x-reset .x-column-header-over,.x-reset .x-column-header-sort-ASC,.x-reset .x-column-header-sort-DESC{border-left-color:#aaccf6;border-right-color:#aaccf6}.x-reset .x-nlg .x-grid-header-ct,.x-reset .x-nlg .x-column-header{background:repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-bg.gif')}.x-reset .x-nlg .x-column-header-over,.x-reset .x-nlg .x-column-header-sort-ASC,.x-reset .x-nlg .x-column-header-sort-DESC{background:#ebf3fd repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-over-bg.gif')}.x-reset .x-column-header-trigger{display:none;height:100%;width:14px;background:no-repeat left center;background-color:#c3daf9;background-image:url('../../resources/themes/images/default/grid/grid3-hd-btn.gif');position:absolute;right:0;top:0;z-index:2;cursor:pointer}.x-reset .x-column-header-over .x-column-header-trigger,.x-reset .x-column-header-open .x-column-header-trigger{display:block}.x-reset .x-column-header-align-right{text-align:right}.x-reset .x-column-header-align-right .x-column-header-text{padding-right:0.5ex;margin-right:6px}.x-reset .x-column-header-align-center{text-align:center}.x-reset .x-column-header-align-left{text-align:left}.x-reset .x-column-header-sort-ASC .x-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_asc.gif')}.x-reset .x-column-header-sort-DESC .x-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_desc.gif')}.x-reset .x-grid-row{line-height:13px;vertical-align:top;padding:0 1px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-reset .x-grid-row .x-grid-cell{color:null;font:normal 11px tahoma, arial, verdana, sans-serif;border-color:#ededed;border-style:solid;border-width:1px 0;border-top-color:#fafafa}.x-reset .x-grid-rowwrap-div{border-width:1px 0;border-color:#ededed;border-style:solid;border-top-color:#fafafa;overflow:hidden}.x-reset .x-grid-row-alt .x-grid-cell,.x-reset .x-grid-row-alt .x-grid-rowwrap-div{background-color:#fafafa}.x-reset .x-grid-row-over .x-grid-cell,.x-reset .x-grid-row-over .x-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x-reset .x-grid-row-focused .x-grid-cell,.x-reset .x-grid-row-focused .x-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x-reset .x-grid-row-selected .x-grid-cell,.x-reset .x-grid-row-selected .x-grid-rowwrap-div{border-style:dotted;border-color:#a3bae9;background-color:#dfe8f6 !important}.x-reset .x-grid-rowwrap-div .x-grid-cell,.x-reset .x-grid-rowwrap-div .x-grid-cell-inner{border-width:0;background:transparent}.x-reset .x-grid-row-body-hidden{display:none}.x-reset .x-grid-rowbody{font:normal 11px/13px tahoma, arial, verdana, sans-serif;padding:4px}.x-reset .x-grid-rowbody p{margin:5px 5px 10px 5px}.x-reset .x-grid-cell{overflow:hidden;font:normal 13px tahoma, arial, verdana, sans-serif;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-reset .x-grid-cell-inner{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:3px 6px;white-space:nowrap}.x-reset .x-action-col-cell .x-grid-cell-inner{padding:1px 2px 0 2px}.x-reset .x-ie6 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-ie7 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-quirks .x-ie9 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-quirks .x-ie8 .x-action-col-cell .x-grid-cell-inner,.x-reset .x-strict .x-ie8 .x-action-col-cell .x-grid-cell-inner{padding:2px 2px 1px 2px}.x-reset .x-grid-row .x-grid-cell-special{padding:0;border-right:1px solid #d0d0d0;background-image:none;background-color:#f6f6f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #f6f6f6), color-stop(100%, #e9e9e9));background-image:-moz-linear-gradient(left, #f6f6f6,#e9e9e9);background-image:linear-gradient(left, #f6f6f6,#e9e9e9)}.x-reset .x-ie6 .x-grid-header-row,.x-reset .x-ie7 .x-grid-header-row,.x-reset .x-quirks .x-ie8 .x-grid-header-row,.x-reset .x-strict .x-ie8 .x-grid-header-row{position:absolute}.x-reset .x-grid-row-selected .x-grid-cell-special{border-right:1px solid #aaccf6;background-image:none;background-color:#dfe8f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #dfe8f6), color-stop(100%, #cbdaf0));background-image:-moz-linear-gradient(left, #dfe8f6,#cbdaf0);background-image:linear-gradient(left, #dfe8f6,#cbdaf0)}.x-reset .x-grid-dirty-cell{background-image:url('../../resources/themes/images/default/grid/dirty.gif');background-position:0 0;background-repeat:no-repeat}.x-reset .x-grid-cell-selected{background-color:#b8cfee !important}.x-reset .x-nlg .x-grid-cell-special{background-repeat:repeat-y;background-position:top right}.x-reset .x-nlg .x-grid-row .x-grid-cell-special,.x-reset .x-nlg .x-grid-row-over .x-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-bg.gif')}.x-reset .x-nlg .x-grid-row-focused .x-grid-cell-special,.x-reset .x-nlg .x-grid-row-selected .x-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-selected-bg.gif')}.x-reset .x-panel-with-col-lines .x-grid-row .x-grid-cell{padding-right:0;border-right:1px solid #d0d0d0}.x-reset .x-property-grid .x-grid-row .x-grid-cell-inner{padding:3px 6px 5px}.x-reset .x-property-grid .x-grid-row .x-grid-property-name .x-grid-cell-inner,.x-reset .x-property-grid .x-grid-row-over .x-grid-property-name .x-grid-cell-inner{padding-left:12px;background-image:url('../../resources/themes/images/default/grid/property-cell-bg.gif');background-repeat:no-repeat;background-position:-16px 1px}.x-reset .x-unselectable{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-reset .x-grid-row-body-hidden{display:none}.x-reset .x-grid-group-collapsed{display:none}.x-reset .x-grid-view .x-grid-td-expander{vertical-align:top}.x-reset .x-grid-td-expander{background:repeat-y right transparent}.x-reset .x-grid-view .x-grid-td-expander .x-grid-cell-inner{padding:0 !important}.x-reset .x-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');background-color:transparent;width:9px;height:13px;margin-left:3px;background-repeat:no-repeat;background-position:0 -2px}.x-reset .x-grid-row-collapsed .x-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-reset .x-grid-resize-marker{position:absolute;z-index:5;top:0;width:1px;background-color:#0f0f0f}.x-reset .col-move-top,.x-reset .col-move-bottom{width:9px;height:9px;position:absolute;top:0;line-height:0;font-size:0;overflow:hidden;z-index:20000;background:no-repeat left top transparent}.x-reset .col-move-top{background-image:url('../../resources/themes/images/default/grid/col-move-top.gif')}.x-reset .col-move-bottom{background-image:url('../../resources/themes/images/default/grid/col-move-bottom.gif')}.x-reset .x-tbar-page-number{width:30px}.x-reset .x-grid-group,.x-reset .x-grid-group-body,.x-reset .x-grid-group-hd{zoom:1}.x-reset .x-grid-group-hd{padding-top:6px}.x-reset .x-grid-group-hd .x-grid-cell-inner{padding:10px 4px 4px 4px;background:white;border-width:0 0 2px 0;border-style:solid;border-color:#99bbe8;cursor:pointer}.x-reset .x-grid-group-title{background:transparent no-repeat 0 -1px;background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');color:#3764a0;font:bold 11px tahoma, arial, verdana, sans-serif;padding:0 0 0 14px}.x-reset .x-grid-group-hd-collapsed .x-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-reset .x-grid-group-collapsed .x-grid-group-body{display:none}.x-reset .x-grid-group-collapsed .x-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-reset .x-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-column-header-checkbox .x-column-header-inner{padding:1px}.x-reset .x-grid-cell-special .x-grid-cell-inner{padding:4px}.x-reset .x-grid-row-checker,.x-reset .x-column-header-checkbox .x-column-header-text{height:14px;width:14px;background-image:url('../../resources/themes/images/default/grid/unchecked.gif');background-position:-1px -1px;background-repeat:no-repeat;background-color:transparent}.x-reset .x-column-header-checkbox .x-column-header-text{display:block;margin-top:4px;margin-left:4px}.x-reset .x-grid-hd-checker-on .x-column-header-text{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x-reset .x-grid-row-checker{margin-left:1px;background-position:50% -2px}.x-reset .x-grid-row-selected .x-grid-row-checker,.x-reset .x-grid-row-checked .x-grid-row-checker{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x-reset .x-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first.gif') !important}.x-reset .x-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh.gif') !important}.x-reset .x-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last.gif') !important}.x-reset .x-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next.gif') !important}.x-reset .x-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev.gif') !important}.x-reset .x-item-disabled .x-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next-disabled.gif') !important}.x-reset .x-item-disabled .x-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev-disabled.gif') !important}.x-reset .xg-hmenu-sort-asc .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-asc.gif')}.x-reset .xg-hmenu-sort-desc .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-desc.gif')}.x-reset .xg-hmenu-lock .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-lock.gif')}.x-reset .xg-hmenu-unlock .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-unlock.gif')}.x-reset .x-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-cols-icon .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/columns.gif')}.x-reset .x-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-reset .x-grid-drop-indicator{position:absolute;height:1px;line-height:0px;background-color:#77BC71;overflow:visible}.x-reset .x-grid-drop-indicator .x-grid-drop-indicator-left{position:absolute;top:-8px;left:-12px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.png');height:16px;width:16px}.x-reset .x-grid-drop-indicator .x-grid-drop-indicator-right{position:absolute;top:-8px;right:-11px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.png');height:16px;width:16px}.x-reset .x-ie6 .x-grid-drop-indicator-left{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.gif')}.x-reset .x-ie6 .x-grid-drop-indicator-right{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.gif')}.x-reset .x-grid-row-editor{position:absolute !important;z-index:1;zoom:1;overflow:visible !important}.x-reset .x-grid-row-editor .x-form-field{font:normal 11px tahoma, arial, verdana, sans-serif !important}.x-reset .x-grid-row-editor .x-form-display-field{font:normal 11px tahoma, arial, verdana, sans-serif !important;padding-top:0}.x-reset .x-grid-row-editor .x-panel-body{background-color:#eaf1fb;border-top:1px solid #99bce8 !important;border-bottom:1px solid #99bce8 !important}.x-reset .x-grid-row-editor .x-form-text{padding-left:2px}.x-reset .x-grid-editor .x-form-cb-wrap{text-align:center}.x-reset .x-grid-row-editor-buttons{background-color:#eaf1fb;position:absolute;bottom:-31px;padding:4px;width:200px;height:32px}.x-strict .x-reset .x-grid-row-editor-buttons{width:192px;height:24px}.x-reset .x-grid-row-editor-buttons-ml,.x-reset .x-grid-row-editor-buttons-mr,.x-reset .x-grid-row-editor-buttons-bl,.x-reset .x-grid-row-editor-buttons-br,.x-reset .x-grid-row-editor-buttons-bc{position:absolute;overflow:hidden}.x-reset .x-grid-row-editor-buttons-bl,.x-reset .x-grid-row-editor-buttons-br{width:4px;height:4px;bottom:0px;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-corners.gif')}.x-reset .x-grid-row-editor-buttons-bl{left:0px;background-position:0px -16px}.x-reset .x-grid-row-editor-buttons-br{right:0px;background-position:0px -20px}.x-reset .x-grid-row-editor-buttons-bc{position:absolute;left:4px;bottom:0px;width:192px;height:1px;background-color:#99bce8}.x-reset .x-grid-row-editor-buttons-ml,.x-reset .x-grid-row-editor-buttons-mr{height:27px;width:1px;top:1px;background-color:#99bce8}.x-reset .x-grid-row-editor-buttons-ml{left:0px}.x-reset .x-grid-row-editor-buttons-mr{background-position:0px -20px;right:0px}.x-reset .x-grid-row-editor-errors ul{margin-left:5px}.x-reset .x-grid-row-editor-errors li{list-style:disc;margin-left:15px}.x-reset .x-webkit *:focus{outline:none !important}.x-reset .x-form-item{display:block;zoom:1;position:relative;margin-bottom:5px}.x-reset .x-form-item-label{float:left;padding:3px 0 0;z-index:2;position:relative;font-size:12px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default}.x-reset .x-form-item-label-top{float:none;clear:none;padding:0;display:block}.x-reset .x-form-item-label-right{float:left;text-align:right}.x-reset .x-form-item-body{position:relative;float:left}.x-reset .x-form-invalid-under{padding:2px 2px 2px 18px;clear:left;color:#c0272b;font:normal 11px tahoma, arial, verdana, sans-serif;line-height:16px;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 0 2px}.x-reset .x-form-invalid-icon{width:18px;height:18px;overflow:hidden;text-indent:-9999px;position:absolute;left:0;top:0;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 2px 3px}.x-reset .x-form-invalid-icon ul{display:none}.x-reset .x-form-field,.x-reset .x-form-display-field{float:left;margin:0 0 0 0;font:normal 12px tahoma, arial, verdana, sans-serif;color:black}.x-reset .x-form-text,.x-reset textarea.x-form-field{padding:1px 3px;background:repeat-x 0 0;border:1px solid;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');border-color:#b5b8c8}.x-reset .x-form-text{height:18px;line-height:18px;vertical-align:middle}.x-reset .x-ie6 .x-form-text,.x-reset .x-ie7 .x-form-text,.x-reset .x-ie8 .x-form-text{line-height:15px}.x-reset .x-border-box .x-form-text{height:22px}.x-reset textarea.x-form-field{color:black;overflow:auto;height:auto;line-height:normal;background:repeat-x 0 0;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');resize:none}.x-reset .x-border-box textarea.x-form-field{height:auto}.x-reset .x-safari.x-mac textarea.x-form-field{margin-bottom:-2px}.x-reset .x-form-focus,.x-reset textarea.x-form-focus{border-color:#7eadd9}.x-reset .x-form-invalid-field,.x-reset textarea.x-form-invalid-field{background-color:white;background-image:url('../../resources/themes/images/default/grid/invalid_line.gif');background-repeat:repeat-x;background-position:bottom;border-color:#cc3300}.x-reset .x-form-item{font:normal 12px tahoma, arial, verdana, sans-serif}.x-reset .x-form-empty-field,.x-reset textarea.x-form-empty-field{color:gray}.x-reset .x-webkit .x-form-empty-field{line-height:15px}.x-reset .x-form-display-field{padding-top:3px}.x-reset .x-field-default-toolbar .x-form-text{height:16px}.x-reset .x-border-box .x-field-default-toolbar .x-form-text{height:20px}.x-reset .x-field-default-toolbar .x-form-item-label-left{padding-left:4px}.x-reset .x-fieldset{border:1px solid #b5b8c8;padding:10px;margin-bottom:10px;display:block}.x-reset .x-ie .x-fieldset{padding-top:0;padding-bottom:10px}.x-reset .x-fieldset-header{font:11px bold tahoma, arial, verdana, sans-serif;color:#15428b;padding:0 3px;line-height:16px}.x-reset .x-fieldset-header .x-fieldset-header-text{float:left}.x-reset .x-fieldset-header .x-form-item,.x-reset .x-fieldset-header .x-tool{float:left;margin:0 3px 0 0}.x-reset .x-fieldset-header .x-form-cb-wrap{padding:0}.x-reset .x-webkit .x-fieldset-header{padding-top:1px}.x-reset .x-fieldset-collapsed .x-fieldset-body{display:none}.x-reset .x-fieldset-collapsed{padding-bottom:0 !important;border-width:1px 1px 0 1px !important;border-left-color:transparent !important;border-right-color:transparent !important}.x-reset .x-fieldset{overflow:hidden}.x-reset .x-fieldset-bwrap{overflow:hidden;zoom:1}.x-reset .x-fieldset-body{overflow:hidden}.x-reset .x-form-cb-wrap{padding-top:3px}.x-reset .x-form-checkbox,.x-reset .x-form-radio{float:none;vertical-align:-1px;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x-reset .x-form-checkbox::-moz-focus-inner,.x-reset .x-form-radio::-moz-focus-inner{padding:0;border:0}.x-reset .x-form-cb-checked .x-form-checkbox,.x-reset .x-form-cb-checked .x-form-radio{background-position:0 -13px}.x-reset .x-form-cb-focus{background-position:-13px 0}.x-reset .x-form-cb-checked .x-form-cb-focus{background-position:-13px -13px}.x-reset .x-form-radio{background-image:url('../../resources/themes/images/default/form/radio.gif')}.x-reset .x-form-cb-label-before{margin-right:4px}.x-reset .x-form-cb-label-after{margin-left:4px}.x-reset .x-form-checkboxgroup-body{padding:3px 4px}.x-reset .x-form-invalid .x-form-checkboxgroup-body{border:1px solid #c30;background:white url('../../resources/themes/images/default/grid/invalid_line.gif') repeat-x bottom;padding:2px 3px}.x-reset .x-check-group-alt{background:#d1ddef;border-top:1px dotted #b5b8c8;border-bottom:1px dotted #b5b8c8}.x-reset .x-form-check-group-label{color:#333;border-bottom:1px solid #333;margin:0 30px 5px 0;padding:2px}.x-reset .x-form-trigger-wrap{float:left}.x-reset .x-form-trigger{background-image:url('../../resources/themes/images/default/form/trigger.gif');background-position:0 0;width:17px;height:21px;float:left;border-bottom:1px solid #b5b8c8;cursor:pointer;cursor:hand}.x-reset .x-border-box .x-form-trigger{height:22px}.x-reset .x-field-default-toolbar .x-form-trigger{height:19px}.x-reset .x-border-box .x-field-default-toolbar .x-form-trigger{height:20px}.x-reset .x-form-trigger-over{background-position:-17px 0;border-bottom-color:#7eadd9}.x-reset .x-form-trigger-wrap-focus .x-form-trigger{background-position:-51px 0;border-bottom-color:#7eadd9}.x-reset .x-form-trigger-wrap-focus .x-form-trigger-over{background-position:-68px 0;border-bottom-color:null}.x-reset .x-form-trigger-click,.x-reset .x-form-trigger-wrap-focus .x-form-trigger-click{background-position:-34px 0;border-bottom-color:null}.x-reset .x-form-trigger-icon{height:16px;background-repeat:no-repeat;background-position:7px 6px}.x-reset .x-pickerfield-open .x-form-field{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0}.x-reset .x-pickerfield-open-above .x-form-field{-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0}.x-reset .x-form-arrow-trigger .x-form-trigger-icon{background-image:url('../../resources/themes/images/default/boundlist/trigger-arrow.png')}.x-reset .x-form-date-trigger{background-image:url('../../resources/themes/images/default/form/date-trigger.gif')}.x-reset .x-form-trigger-wrap .x-form-spinner-up,.x-reset .x-form-trigger-wrap .x-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner.gif');width:17px;height:11px;font-size:0;border-bottom:0}.x-reset .x-form-trigger-wrap .x-form-spinner-down{background-position:0 -11px}.x-reset .x-form-trigger-wrap-focus .x-form-spinner-down{background-position:-51px -11px}.x-reset .x-form-trigger-wrap .x-form-spinner-down-over{background-position:-17px -11px}.x-reset .x-form-trigger-wrap-focus .x-form-spinner-down-over{background-position:-68px -11px}.x-reset .x-form-trigger-wrap .x-form-spinner-down-click{background-position:-34px -11px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-up,.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner-small.gif');height:10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down{background-position:0 -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap-focus .x-form-spinner-down{background-position:-51px -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down-over{background-position:-17px -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap-focus .x-form-spinner-down-over{background-position:-68px -10px}.x-reset .x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down-click{background-position:-34px -10px}.x-reset .x-trigger-noedit{cursor:pointer;cursor:hand}.x-reset .x-form-clear-trigger{background-image:url('../../resources/themes/images/default/form/clear-trigger.gif')}.x-reset .x-form-search-trigger{background-image:url('../../resources/themes/images/default/form/search-trigger.gif')}.x-reset .x-html-editor-wrap{border:1px solid #b5b8c8}.x-reset .x-html-editor-wrap .x-toolbar{border-top-width:0;border-left-width:0;border-right-width:0}.x-reset .x-html-editor-wrap textarea{background-color:white}.x-reset .x-html-editor-tb .x-btn-text{background:transparent url('../../resources/themes/images/default/editor/tb-sprite.gif') no-repeat}.x-reset .x-html-editor-tb .x-edit-bold,.x-reset .x-menu-item img.x-edit-bold{background-position:0 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-italic,.x-reset .x-menu-item img.x-edit-italic{background-position:-16px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-underline,.x-reset .x-menu-item img.x-edit-underline{background-position:-32px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-forecolor,.x-reset .x-menu-item img.x-edit-forecolor{background-position:-160px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-backcolor,.x-reset .x-menu-item img.x-edit-backcolor{background-position:-176px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-justifyleft,.x-reset .x-menu-item img.x-edit-justifyleft{background-position:-112px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-justifycenter,.x-reset .x-menu-item img.x-edit-justifycenter{background-position:-128px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-justifyright,.x-reset .x-menu-item img.x-edit-justifyright{background-position:-144px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-insertorderedlist,.x-reset .x-menu-item img.x-edit-insertorderedlist{background-position:-80px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-insertunorderedlist,.x-reset .x-menu-item img.x-edit-insertunorderedlist{background-position:-96px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-increasefontsize,.x-reset .x-menu-item img.x-edit-increasefontsize{background-position:-48px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-decreasefontsize,.x-reset .x-menu-item img.x-edit-decreasefontsize{background-position:-64px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-sourceedit,.x-reset .x-menu-item img.x-edit-sourceedit{background-position:-192px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tb .x-edit-createlink,.x-reset .x-menu-item img.x-edit-createlink{background-position:-208px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-reset .x-html-editor-tip .x-tip-bd .x-tip-bd-inner{padding:5px;padding-bottom:1px}.x-reset .x-html-editor-tb .x-toolbar{position:static !important}.x-reset .x-html-editor-tb .x-font-select{font-size:11px}.x-reset .x-html-editor-wrap textarea{border:0;padding:3px 2px;overflow:auto}.x-reset .x-panel,.x-reset .x-plain{overflow:hidden;position:relative}.x-reset .x-panel-header{padding:5px 4px 4px 5px}.x-reset .x-panel-header-icon,.x-reset .x-window-header-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:0 0;vertical-align:middle;margin-right:4px;margin-top:-1px;margin-bottom:-1px}.x-reset .x-panel-header-draggable,.x-reset .x-panel-header-draggable .x-panel-header-text,.x-reset .x-window-header-draggable,.x-reset .x-window-header-draggable .x-window-header-text{cursor:move}.x-reset .x-panel-ghost,.x-reset .x-window-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;cursor:move}.x-reset .x-panel-header-horizontal .x-panel-header-body,.x-reset .x-panel-header-horizontal .x-window-header-body,.x-reset .x-panel-header-horizontal .x-btn-group-header-body,.x-reset .x-window-header-horizontal .x-panel-header-body,.x-reset .x-window-header-horizontal .x-window-header-body,.x-reset .x-window-header-horizontal .x-btn-group-header-body,.x-reset .x-btn-group-header-horizontal .x-panel-header-body,.x-reset .x-btn-group-header-horizontal .x-window-header-body,.x-reset .x-btn-group-header-horizontal .x-btn-group-header-body{width:100%}.x-reset .x-panel-header-vertical .x-panel-header-body,.x-reset .x-panel-header-vertical .x-window-header-body,.x-reset .x-panel-header-vertical .x-btn-group-header-body,.x-reset .x-window-header-vertical .x-panel-header-body,.x-reset .x-window-header-vertical .x-window-header-body,.x-reset .x-window-header-vertical .x-btn-group-header-body,.x-reset .x-btn-group-header-vertical .x-panel-header-body,.x-reset .x-btn-group-header-vertical .x-window-header-body,.x-reset .x-btn-group-header-vertical .x-btn-group-header-body{height:100%}.x-reset .x-panel-header-vertical,.x-reset .x-panel-header-vertical .x-panel-header-body,.x-reset .x-btn-group-header-vertical,.x-reset .x-btn-group-header-vertical .x-btn-group-header-body,.x-reset .x-window-header-vertical,.x-reset .x-window-header-vertical .x-window-header-body{display:-moz-inline-stack;display:inline-block}.x-reset .x-panel-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap}.x-reset .x-panel-header-left .x-vml-base,.x-reset .x-panel-header-right .x-vml-base{left:-3px !important}.x-reset .x-panel-body{overflow:hidden;position:relative;font-size:12px}.x-reset .x-panel-header-vertical .x-surface{margin-top:2px}.x-reset .x-panel-header-plain-vertical .x-surface{margin-top:0}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-top{border-bottom-width:1px !important}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-right{border-left-width:1px !important}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-bottom{border-top-width:1px !important}.x-reset .x-panel-collapsed .x-panel-header-collapsed-border-left{border-right-width:1px !important}.x-reset .x-nlg .x-panel-header-vertical .x-frame-mc{background-repeat:repeat-y}.x-reset .x-panel-default{border-color:#99bce8}.x-reset .x-panel-header-default{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid}.x-reset .x-nlg .x-panel-header-default-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-top-bg.gif')}.x-reset .x-nlg .x-panel-header-default-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-bottom-bg.gif')}.x-reset .x-nlg .x-panel-header-default-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-left-bg.gif')}.x-reset .x-nlg .x-panel-header-default-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-right-bg.gif')}.x-reset .x-panel-header-text-default{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x-reset .x-panel-body-default{background:white;border-color:#99bce8;color:black;border-width:1px;border-style:solid}.x-reset .x-panel-collapsed .x-window-header-default,.x-reset .x-panel-collapsed .x-panel-header-default{border-color:#99bce8}.x-reset .x-panel-header-default-vertical{border-color:#99bce8}.x-reset .x-panel-collapsed .x-panel-header-default-top{-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x-reset .x-panel-collapsed .x-panel-header-default-right{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null}.x-reset .x-panel-collapsed .x-panel-header-default-bottom{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null}.x-reset .x-panel-collapsed .x-panel-header-default-left{-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x-reset .x-nlg .x-panel-header-default-right{background-position:top right}.x-reset .x-panel-header-default-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset}.x-reset .x-panel-header-default-right{-moz-box-shadow:#f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd -1px 0 0px 0 inset}.x-reset .x-panel-header-default-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset}.x-reset .x-panel-header-default-left{-moz-box-shadow:#f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 1px 0 0px 0 inset}.x-reset .x-nlg .x-panel-header-default-bottom{background-position:bottom left}.x-reset .x-panel-header-default-right-tc,.x-reset .x-panel-header-default-right-mc,.x-reset .x-panel-header-default-right-bc{background-position:right 0}.x-reset .x-panel-header-default-bottom-tc,.x-reset .x-panel-header-default-bottom-mc,.x-reset .x-panel-header-default-bottom-bc{background-position:0 bottom}.x-reset .x-panel-default-framed{border-color:#99bce8}.x-reset .x-panel-header-default-framed{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid}.x-reset .x-nlg .x-panel-header-default-framed-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif')}.x-reset .x-nlg .x-panel-header-default-framed-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif')}.x-reset .x-nlg .x-panel-header-default-framed-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif')}.x-reset .x-nlg .x-panel-header-default-framed-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif')}.x-reset .x-panel-header-text-default-framed{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x-reset .x-panel-body-default-framed{background:#dfe9f6;border-color:#99bce8;color:black;border-width:0;border-style:solid}.x-reset .x-panel-collapsed .x-window-header-default-framed,.x-reset .x-panel-collapsed .x-panel-header-default-framed{border-color:#99bce8}.x-reset .x-panel-header-default-framed-vertical{border-color:#99bce8}.x-reset .x-panel-default-framed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#dfe9f6}.x-reset .x-nlg .x-panel-default-framed-mc{background-color:#dfe9f6}.x-reset .x-panel-header-default-framed-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-right{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-reset .x-panel-header-default-framed-right{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset}.x-reset .x-panel-header-default-framed-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-reset .x-panel-header-default-framed-left{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-reset .x-nlg .x-panel-header-default-framed-bottom{background-position:bottom left}.x-reset .x-panel .x-panel-header-default-framed-top{border-bottom-width:1px !important}.x-reset .x-panel .x-panel-header-default-framed-right{border-left-width:1px !important}.x-reset .x-panel .x-panel-header-default-framed-bottom{border-top-width:1px !important}.x-reset .x-panel .x-panel-header-default-framed-left{border-right-width:1px !important}.x-reset .x-panel-header-default-framed-collapsed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.x-reset .x-panel-header-default-framed-collapsed-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-collapsed-right{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-collapsed-bottom{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-collapsed-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-reset .x-nlg .x-panel-header-default-framed-collapsed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-bg.gif');background-color:#cbddf3}.x-reset .x-panel-header-default-framed-right-tc,.x-reset .x-panel-header-default-framed-right-mc,.x-reset .x-panel-header-default-framed-right-bc{background-position:right 0}.x-reset .x-panel-header-default-framed-bottom-tc,.x-reset .x-panel-header-default-framed-bottom-mc,.x-reset .x-panel-header-default-framed-bottom-bc{background-position:0 bottom}.x-reset .x-panel-header-plain,.x-reset .x-panel-body-plain{border:0;padding:0}.x-reset .x-tip{position:absolute;overflow:visible;border-color:#8eaace}.x-reset .x-tip .x-tip-header .x-box-item{padding:3px 3px 0}.x-reset .x-tip .x-tip-header .x-tool{padding:0px 1px 0 0 !important}.x-reset .x-tip{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:#e9f2ff}.x-reset .x-nlg .x-tip-mc{background-color:#e9f2ff}.x-reset .x-tip-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;color:#444444;font-size:11px;font-weight:bold}.x-reset .x-tip-header-draggable .x-tip-header-text{cursor:move}.x-reset .x-tip-body,.x-reset .x-form-invalid-tip-body{overflow:hidden;position:relative;padding:3px}.x-reset .x-tip-header,.x-reset .x-tip-body,.x-reset .x-form-invalid-tip-body{color:#444444;font-size:11px;font-weight:normal}.x-reset .x-tip-header a,.x-reset .x-tip-body a,.x-reset .x-form-invalid-tip-body a{color:#2a2a2a}.x-reset .x-tip-anchor{position:absolute;overflow:hidden;height:0;width:0;border-style:solid;border-width:5px;border-color:#8eaace;zoom:1}.x-reset .x-border-box .x-tip-anchor{width:10px;height:10px}.x-reset .x-tip-anchor-top{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}.x-reset .x-tip-anchor-bottom{border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent}.x-reset .x-tip-anchor-left{border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.x-reset .x-tip-anchor-right{border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent}.x-reset .x-form-invalid-tip{border-color:#a1311f;-moz-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-webkit-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-o-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset}.x-reset .x-form-invalid-tip-body{background:1px 1px no-repeat;background-image:url('../../resources/themes/images/default/form/exclamation.gif');padding-left:22px}.x-reset .x-form-invalid-tip-body li{margin-bottom:4px}.x-reset .x-form-invalid-tip-body li.last{margin-bottom:0}.x-reset .x-form-invalid-tip-default{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:white}.x-reset .x-nlg .x-form-invalid-tip-default-mc{background-color:white}.x-reset .x-slider{zoom:1}.x-reset .x-slider-inner{position:relative;left:0;top:0;overflow:visible;zoom:1}.x-reset .x-slider-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;display:block;overflow:hidden}.x-reset .x-slider-horz{padding-left:7px;background:transparent no-repeat 0 -24px}.x-reset .x-slider-horz .x-slider-end{padding-right:7px;zoom:1;background:transparent no-repeat right -46px}.x-reset .x-slider-horz .x-slider-inner{background:transparent repeat-x 0 -2px;height:18px}.x-reset .x-slider-horz .x-slider-thumb{width:14px;height:15px;position:absolute;left:0;top:1px;background:transparent no-repeat 0 0}.x-reset .x-slider-horz .x-slider-thumb-over{background-position:-14px -15px}.x-reset .x-slider-horz .x-slider-thumb-drag{background-position:-28px -30px}.x-reset .x-slider-vert{padding-top:7px;background:transparent no-repeat -44px 0}.x-reset .x-slider-vert .x-slider-end{padding-bottom:7px;zoom:1;background:transparent no-repeat -22px bottom;width:22px}.x-reset .x-slider-vert .x-slider-inner{background:transparent repeat-y 0 0;width:22px}.x-reset .x-slider-vert .x-slider-thumb{width:15px;height:14px;position:absolute;left:3px;bottom:0;background:transparent no-repeat 0 0}.x-reset .x-slider-vert .x-slider-thumb-over{background-position:-15px -14px}.x-reset .x-slider-vert .x-slider-thumb-drag{background-position:-30px -28px}.x-reset .x-slider-horz,.x-reset .x-slider-horz .x-slider-end,.x-reset .x-slider-horz .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-bg.png')}.x-reset .x-slider-horz .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-thumb.png')}.x-reset .x-slider-vert,.x-reset .x-slider-vert .x-slider-end,.x-reset .x-slider-vert .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-v-bg.png')}.x-reset .x-slider-vert .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-v-thumb.png')}.x-reset .x-progress{border-width:1px;border-style:solid;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;overflow:hidden;height:20px}.x-reset .x-progress-bar{height:18px;overflow:hidden;position:absolute;width:0;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;border-right:1px solid;border-top:1px solid}.x-reset .x-progress-text{overflow:hidden;position:absolute;padding:0 5px;height:18px;font-weight:bold;font-size:11px;line-height:16px;text-align:center}.x-reset .x-progress-text-back{padding-top:1px}.x-reset .x-progress-default{border-color:#6594cf}.x-reset .x-progress-default .x-progress-bar{border-right-color:#6594cf;border-top-color:#c6d8ed;background-image:none;background-color:#73a3e0;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b2ccee), color-stop(50%, #88b1e5), color-stop(51%, #73a3e0), color-stop(100%, #5e96db));background-image:-moz-linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db);background-image:linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db)}.x-reset .x-progress-default .x-progress-text{color:white}.x-reset .x-progress-default .x-progress-text-back{color:#396295}.x-reset .x-nlg .x-progress-default .x-progress-bar{background:url('../../resources/themes/images/default/progress/progress-default-bg.gif') repeat-x}.x-reset .x-toolbar{font-size:11px;border:1px solid;padding:2px 0 2px 2px}.x-reset .x-toolbar .x-form-item-label{font-size:11px;line-height:15px}.x-reset .x-toolbar .x-toolbar-item{margin:0 2px 0 0}.x-reset .x-toolbar .x-toolbar-text{margin-left:4px;margin-right:6px;white-space:nowrap;color:#4c4c4c !important;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px;font-weight:normal}.x-reset .x-toolbar .x-toolbar-separator{display:block;font-size:1px;overflow:hidden;cursor:default;border:0}.x-reset .x-toolbar .x-toolbar-separator-horizontal{margin:0 3px 0 2px;height:14px;width:0px;border-left:1px solid #98c8ff;border-right:1px solid white}.x-reset .x-toolbar-footer{background:transparent;border:0px none;margin-top:3px;padding:2px 0 2px 6px}.x-reset .x-toolbar-footer .x-box-inner{border-width:0}.x-reset .x-toolbar-footer .x-toolbar-item{margin:0 6px 0 0}.x-reset .x-toolbar-vertical{padding:2px 2px 0 2px}.x-reset .x-toolbar-vertical .x-toolbar-item{margin:0 0 2px 0}.x-reset .x-toolbar-vertical .x-toolbar-text{margin-top:4px;margin-bottom:6px}.x-reset .x-toolbar-vertical .x-toolbar-separator-vertical{margin:2px 5px 3px 5px;height:0px;width:10px;line-height:0px;border-top:1px solid #98c8ff;border-bottom:1px solid white}.x-reset .x-toolbar-scroller{padding-left:0}.x-reset .x-toolbar-spacer{width:2px}.x-reset .x-toolbar-more-icon{background-image:url('../../resources/themes/images/default/toolbar/more.gif') !important;background-position:2px center !important;background-repeat:no-repeat}.x-reset .x-toolbar-default{border-color:#99bce8;background-image:none;background-color:#d3e1f1;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dfe9f5), color-stop(100%, #d3e1f1));background-image:-moz-linear-gradient(top, #dfe9f5,#d3e1f1);background-image:linear-gradient(top, #dfe9f5,#d3e1f1)}.x-reset .x-nlg .x-toolbar-default{background-image:url('../../resources/themes/images/default/toolbar/toolbar-default-bg.gif') !important;background-repeat:repeat-x}.x-reset .x-toolbar-plain{border:0}.x-reset .x-window{outline:none}.x-reset .x-window .x-window-wrap{position:relative}.x-reset .x-window .x-window-wrap .x-window-body{overflow:hidden}.x-reset .x-window-body{position:relative;border-style:solid}.x-reset .x-window-maximized .x-window-wrap .x-window-header{-moz-border-radius:0 !important;-webkit-border-radius:0 !important;-o-border-radius:0 !important;-ms-border-radius:0 !important;-khtml-border-radius:0 !important;border-radius:0 !important}.x-reset .x-window-collapsed .x-window-header-vertical{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x-reset .x-window-collapsed .x-window-header-horizontal{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x-reset .x-window-collapsed .x-window-header-left{padding-right:5px !important}.x-reset .x-window-collapsed .x-window-header-right{padding-left:5px !important}.x-reset .x-window-collapsed .x-window-header-top{padding-bottom:5px !important}.x-reset .x-window-collapsed .x-window-header-bottom{padding-top:5px !important}.x-reset .x-window-header-left .x-vml-base,.x-reset .x-window-header-right .x-vml-base{left:-3px !important}.x-reset .x-window-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap;display:block}.x-reset .x-window-default{border-color:#a2b1c5;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px;-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-default{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-default-mc{background-color:#ced9e7}.x-reset .x-window-body-default{border-color:#99bbe8;border-width:1px;background:#dfe8f6;color:black}.x-reset .x-window-header-default{border-color:#a2b1c5;zoom:1}.x-reset .x-window-header-text-default{color:#04468c;font-weight:bold;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px}.x-reset .x-window-header-default-top{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:5px 5px 0 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-top-mc{background-color:#ced9e7}.x-reset .x-window-header-default-right{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:5px 5px 5px 0;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-right-mc{background-color:#ced9e7}.x-reset .x-window-header-default-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:0 5px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-bottom-mc{background-color:#ced9e7}.x-reset .x-window-header-default-left{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:5px 0px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-reset .x-nlg .x-window-header-default-left-mc{background-color:#ced9e7}.x-reset .x-window-header-default-top{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-header-default-right{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset}.x-reset .x-window-header-default-bottom{-moz-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-header-default-left{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-reset .x-window-body-plain{background:transparent}.x-reset .x-message-box .x-window-body{background-color:#ced9e7;border:none}.x-reset .x-message-box .ext-mb-textarea{margin-top:4px}.x-reset .x-message-box .x-progress-wrap{margin-top:4px}.x-reset .x-message-box .ext-mb-icon{width:47px;height:32px}.x-reset .x-message-box .ext-mb-info,.x-reset .x-message-box .ext-mb-warning,.x-reset .x-message-box .ext-mb-question,.x-reset .x-message-box .ext-mb-error{background:transparent no-repeat top left}.x-reset .ext-gecko2 .ext-mb-fix-cursor{overflow:auto}.x-reset .x-message-box .x-msg-box-wait{background-image:url('../../resources/themes/images/default/shared/blue-loading.gif')}.x-reset .x-message-box .ext-mb-info{background-image:url('../../resources/themes/images/default/shared/icon-info.gif')}.x-reset .x-message-box .ext-mb-warning{background-image:url('../../resources/themes/images/default/shared/icon-warning.gif')}.x-reset .x-message-box .ext-mb-question{background-image:url('../../resources/themes/images/default/shared/icon-question.gif')}.x-reset .x-message-box .ext-mb-error{background-image:url('../../resources/themes/images/default/shared/icon-error.gif')}.x-reset .x-tab-bar{position:relative;background-color:transparent;background-image:none;background-color:#cbdbef;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dde8f5), color-stop(100%, #cbdbef));background-image:-moz-linear-gradient(top, #dde8f5,#cbdbef);background-image:linear-gradient(top, #dde8f5,#cbdbef);font-size:11px}.x-reset .x-nlg .x-tab-bar{background-image:url('../../resources/themes/images/default/tab-bar/tab-bar-bg.gif')}.x-reset .x-tab-bar-default-plain,.x-reset .x-nlg .x-tab-bar-default-plain{background:transparent none}.x-reset .x-tab-bar-body{border-style:solid;border-color:#99bce8;position:relative;z-index:2;zoom:1}.x-reset .x-tab-bar-top .x-tab-bar-body{height:20px;border-width:1px 1px 0;padding:1px 0 3px}.x-reset .x-tab-bar-top .x-tab-bar-strip{top:22px;border-width:1px 1px 0;height:2px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-body{height:25px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-strip{height:3px}.x-reset .x-tab-bar-top .x-tab-bar-body-default-plain{height:20px;border-width:0;padding:0 0 3px}.x-reset .x-tab-bar-top .x-tab-bar-strip-default-plain{top:20px;border-width:1px 1px 0 1px;height:2px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-body-default-plain{height:23px}.x-reset .x-border-box .x-tab-bar-top .x-tab-bar-strip-default-plain{height:3px}.x-reset .x-tab-bar-bottom .x-tab-bar-body{height:20px;border-width:0 1px 1px;padding:3px 0 1px}.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-inner{position:relative;top:-1px}.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-scroller,.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-scroller-left,.x-reset .x-tab-bar-bottom .x-tab-bar-body .x-box-scroller-right{height:22px}.x-reset .x-tab-bar-bottom .x-tab-bar-strip{top:0;border-width:0 1px 1px 1px;height:2px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-body{height:25px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-strip{height:3px}.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain{height:20px;border-width:0;padding:3px 0 0}.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-inner{position:relative;top:-1px}.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller,.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller-left,.x-reset .x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller-right{height:21px}.x-reset .x-tab-bar-bottom .x-tab-bar-strip-default-plain{top:0;border-width:0 1px 1px 1px;height:2px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-body-default-plain{height:23px}.x-reset .x-border-box .x-tab-bar-bottom .x-tab-bar-strip-default-plain{height:3px}.x-reset .x-tab-bar-strip-default,.x-reset .x-tab-bar-strip-default-plain{font-size:0;line-height:0;position:absolute;z-index:1;border-style:solid;overflow:hidden;border-color:#99bce8;background-color:#deecfd;zoom:1}.x-reset .x-tab-default-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:3px 3px 0 3px;border-width:1px 1px 0 1px;border-style:solid;background-color:#deecfd}.x-reset .x-nlg .x-tab-default-top-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif');background-color:#deecfd}.x-reset .x-tab-default-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:0 3px 3px 3px;border-width:0 1px 1px 1px;border-style:solid;background-color:#deecfd}.x-reset .x-nlg .x-tab-default-bottom-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif');background-color:#deecfd}.x-reset .x-tab{z-index:1;margin:0 0 0 2px;display:inline-block;zoom:1;*display:inline;white-space:nowrap;height:20px;border-color:#8db3e3;cursor:pointer;cursor:hand}.x-reset .x-tab *{cursor:pointer;cursor:hand}.x-reset .x-tab em{display:block;padding:0 6px;line-height:1px}.x-reset .x-tab button{background:none;border:0;padding:0;margin:0;-webkit-appearance:none;font-size:11px;font-weight:bold;color:#416da3;outline:0 none;overflow:hidden;overflow-x:visible;-o-text-overflow:ellipsis;text-overflow:ellipsis}.x-reset .x-tab button::-moz-focus-inner{border:0;padding:0}.x-reset .x-tab button .x-tab-inner{background-color:transparent;background-repeat:no-repeat;background-position:0 -2px;display:block;text-align:center;white-space:nowrap}.x-reset .x-tab img{display:none}.x-reset .x-border-box .x-tab-default-top{height:21px}.x-reset .x-border-box .x-tab-default-bottom{height:21px}.x-reset .x-tab-default-top{-moz-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-bottom:1px solid #99bce8 !important}.x-reset .x-tab-default-top em{padding-bottom:3px}.x-reset .x-tab-default-top button,.x-reset .x-tab-default-top .x-tab-inner{height:13px;line-height:13px}.x-reset .x-nbr .x-tab-default-top{border-bottom-width:1px !important}.x-reset .x-tab-default-top-active{border-bottom-color:#deecfd !important}.x-reset .x-tab-default-bottom{-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-top:1px solid #99bce8 !important;-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset}.x-reset .x-tab-default-bottom em{padding-top:3px}.x-reset .x-tab-default-bottom button,.x-reset .x-tab-default-bottom .x-tab-inner{height:13px;line-height:13px}.x-reset .x-nbr .x-tab-default-bottom{border-top-width:1px !important}.x-reset .x-tab-default-bottom-active{border-top-color:#deecfd !important}.x-reset .x-tab-default-disabled{cursor:default;border-color:#bbd2ef;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x-reset .x-tab-default-disabled *{cursor:default}.x-reset .x-tab-default-disabled button{color:#c3b3b3 !important}.x-reset .x-tab-icon-text-left .x-tab-inner{padding-left:20px}.x-reset .x-tab button,.x-reset .x-tab a{position:relative}.x-reset .x-tab button .x-tab-icon,.x-reset .x-tab a .x-tab-icon{position:absolute;background-repeat:no-repeat;top:0;left:0;right:auto;bottom:0;width:18px;height:18px}.x-reset .x-tab-top-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x-reset .x-tab-bottom-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x-reset .x-tab-active{z-index:3}.x-reset .x-tab-active button{color:#15498b}.x-reset .x-tab-top-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x-reset .x-tab-bottom-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x-reset .x-tab-disabled{border-color:#bbd2ef}.x-reset .x-tab-disabled button{color:#c3b3b3}.x-reset .x-tab-top-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x-reset .x-tab-bottom-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(bottom, #e1ecfa,#ecf4fe);background-image:linear-gradient(bottom, #e1ecfa,#ecf4fe)}.x-reset .x-nlg .x-tab-top{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif')}.x-reset .x-nlg .x-tab-bottom{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif')}.x-reset .x-nlg .x-tab-top-over{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-bg.gif')}.x-reset .x-nlg .x-tab-bottom-over{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-bg.gif')}.x-reset .x-nlg .x-tab-top-active{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-bg.gif')}.x-reset .x-nlg .x-tab-bottom-active{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-bg.gif')}.x-reset .x-nlg .x-tab-top-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-bg.gif') !important}.x-reset .x-nlg .x-tab-bottom-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif') !important}.x-reset .x-tab-closable em{padding-right:14px}.x-reset .x-tab-close-btn{position:absolute !important;top:3px;right:3px;width:11px;height:11px;font-size:0;line-height:0;text-indent:-999px;background:url('../../resources/themes/images/default/tab/tab-default-close.gif') no-repeat;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-tab-close-btn:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-tree-no-lines .x-tree-elbow{background-color:transparent}.x-reset .x-tree-no-lines .x-tree-elbow-end{background-color:transparent}.x-reset .x-tree-no-lines .x-tree-elbow-line{background-color:transparent}.x-reset .x-tree-arrows .x-tree-elbow-plus{background:transparent no-repeat 0 0}.x-reset .x-tree-arrows .x-tree-elbow-end-plus{background:transparent no-repeat 0 0}.x-reset .x-tree-arrows .x-tree-elbow-end-minus{background:transparent no-repeat -16px 0}.x-reset .x-tree-arrows .x-tree-elbow-minus{background:transparent no-repeat -16px 0}.x-reset .x-tree-arrows .x-tree-elbow{background-color:transparent !important}.x-reset .x-tree-arrows .x-tree-elbow-end{background-color:transparent !important}.x-reset .x-tree-arrows .x-tree-elbow-line{background-color:transparent !important}.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-end-plus{background-position:-32px 0}.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-minus,.x-reset .x-tree-arrows .x-tree-expander-over .x-tree-elbow-end-minus{background-position:-48px 0}.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-position:-16px 0}.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-expander-over .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-grid-tree-node-expanded .x-tree-expander-over .x-tree-elbow-end-plus{background-position:-48px 0}.x-reset .x-tree-elbow-plus,.x-reset .x-tree-elbow-minus,.x-reset .x-tree-elbow-end-plus,.x-reset .x-tree-elbow-end-minus{cursor:pointer}.x-reset .x-tree-lines .x-tree-elbow{background-image:url('../../resources/themes/images/default/tree/elbow.gif')}.x-reset .x-tree-lines .x-tree-elbow-end{background-image:url('../../resources/themes/images/default/tree/elbow-end.gif')}.x-reset .x-tree-lines .x-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus.gif')}.x-reset .x-tree-lines .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-plus.gif')}.x-reset .x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-minus.gif')}.x-reset .x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus.gif')}.x-reset .x-tree-lines .x-tree-elbow-line{background-image:url('../../resources/themes/images/default/tree/elbow-line.gif')}.x-reset .x-tree-no-lines .x-tree-elbow-plus,.x-reset .x-tree-no-lines .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus-nl.gif')}.x-reset .x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-reset .x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus-nl.gif')}.x-reset .x-tree-arrows .x-tree-elbow-plus,.x-reset .x-tree-arrows .x-tree-elbow-minus,.x-reset .x-tree-arrows .x-tree-elbow-end-plus,.x-reset .x-tree-arrows .x-tree-elbow-end-minus{background-image:url('../../resources/themes/images/default/tree/arrows.gif')}.x-reset .x-tree-icon{margin-right:3px}.x-reset .x-tree-elbow,.x-reset .x-tree-elbow-end,.x-reset .x-tree-elbow-plus,.x-reset .x-tree-elbow-end-plus,.x-reset .x-tree-elbow-empty,.x-reset .x-tree-elbow-line{height:18px;width:16px}.x-reset .x-tree-icon-leaf{width:16px;background-image:url('../../resources/themes/images/default/tree/leaf.gif')}.x-reset .x-tree-icon-parent{width:16px;background-image:url('../../resources/themes/images/default/tree/folder.gif')}.x-reset .x-grid-tree-node-expanded .x-tree-icon-parent{background-image:url('../../resources/themes/images/default/tree/folder-open.gif')}.x-reset .x-grid-rowbody{padding:0}.x-reset .x-tree-panel .x-grid-cell-inner{padding:0px}.x-reset .x-tree-panel .x-grid-row .x-grid-cell{border:none}.x-reset .x-tree-panel .x-grid-row .x-grid-cell-inner{height:18px;line-height:18px;vertical-align:middle;cursor:pointer}.x-reset .x-tree-panel .x-grid-row .x-grid-cell-inner img{float:left}.x-reset .x-ie .x-tree-panel .x-grid-row .x-grid-cell-inner{white-space:normal}.x-reset .x-tree-checkbox{float:left;margin:2px 3px 0 0;display:block;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x-reset .x-tree-checkbox::-moz-focus-inner{padding:0;border:0}.x-reset .x-tree-checkbox-checked{background-position:0 -13px}.x-reset .x-gecko .x-tree-panel .x-grid-row .x-grid-cell-inner{line-height:16px}.x-reset .x-tree-drop-ok-append .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-append.gif')}.x-reset .x-tree-drop-ok-above .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-above.gif')}.x-reset .x-tree-drop-ok-below .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-below.gif')}.x-reset .x-tree-drop-ok-between .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-between.gif')}.x-reset .x-grid-tree-loading .x-tree-icon{background-image:url('../../resources/themes/images/default/tree/loading.gif')}.x-reset .x-tree-ddindicator{height:1px;border-width:1px 0px 0px;border-style:dotted;border-color:green}.x-reset .x-grid-tree-loading span{font-style:italic;color:#444444}.x-reset .x-tree-animator-wrap{overflow:hidden}.x-reset .x-surface{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto}.x-reset .x-surface{*display:inline}.x-reset .rvml{behavior:url(#default#VML)}.x-reset .x-surface tspan{user-select:none;-o-user-select:none;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none}.x-reset .x-vml-sprite{position:absolute;left:0;top:0;width:1px;height:1px}.x-reset .x-vml-group{position:absolute;left:0;top:0;width:1000px;height:1000px}.x-reset .x-vml-measure-span{position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;display:inline}.x-reset .x-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x-reset .x-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x-reset .x-viewport,.x-reset .x-viewport body{margin:0;padding:0;border:0 none;overflow:hidden;height:100%}.x-reset .x-dd-drag-repair .x-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-reset .x-dd-drag-repair .x-dd-drop-icon{display:none}.x-reset .x-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85);opacity:0.85;padding:5px;padding-left:20px;white-space:nowrap;color:#000;font:normal 11px tahoma, arial, verdana, sans-serif;border:1px solid;border-color:#ddd #bbb #bbb #ddd;background-color:#fff}.x-reset .x-dd-drop-icon{position:absolute;top:3px;left:3px;display:block;width:16px;height:16px;background-color:transparent;background-position:center;background-repeat:no-repeat;z-index:1}.x-reset .x-view-selector{position:absolute;left:0;top:0;width:0;background-color:#c3daf9;border:1px dotted #3399bb;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;zoom:1}.x-reset .x-dd-drop-nodrop .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-no.gif')}.x-reset .x-dd-drop-ok .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-yes.gif')}.x-reset .x-dd-drop-ok-add .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-add.gif')}.x-reset .x-resizable-handle{position:absolute;z-index:100;font-size:1px;line-height:6px;overflow:hidden;zoom:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;background-color:#fff}.x-reset .x-resizable-handle-east{width:6px;height:100%;right:0;top:0}.x-reset .x-resizable-over .x-resizable-handle-east{cursor:e-resize}.x-reset .x-resizable-handle-south{width:100%;height:6px;left:0;bottom:0}.x-reset .x-resizable-over .x-resizable-handle-south{cursor:s-resize}.x-reset .x-resizable-handle-west{width:6px;height:100%;left:0;top:0}.x-reset .x-resizable-over .x-resizable-handle-west{cursor:w-resize}.x-reset .x-resizable-handle-north{width:100%;height:6px;left:0;top:0}.x-reset .x-resizable-over .x-resizable-handle-north{cursor:n-resize}.x-reset .x-resizable-handle-southeast{width:6px;height:6px;right:0;bottom:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-southeast{cursor:se-resize}.x-reset .x-resizable-handle-northwest{width:6px;height:6px;left:0;top:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-northwest{cursor:nw-resize}.x-reset .x-resizable-handle-northeast{width:6px;height:6px;right:0;top:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-northeast{cursor:ne-resize}.x-reset .x-resizable-handle-southwest{width:6px;height:6px;left:0;bottom:0;z-index:101}.x-reset .x-resizable-over .x-resizable-handle-southwest{cursor:sw-resize}.x-reset .x-ie .x-resizable-handle-east{margin-right:-1px}.x-reset .x-ie .x-resizable-handle-south{margin-bottom:-1px}.x-reset .x-resizable-over .x-resizable-handle,.x-reset .x-resizable-pinned .x-resizable-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-reset .x-window .x-window-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-reset .x-window-collapsed .x-window-handle{display:none}.x-reset .x-resizable-proxy{border:1px dashed #3b5a82;position:absolute;left:0;top:0;overflow:hidden;z-index:50000}.x-reset .x-resizable-overlay{position:absolute;left:0;top:0;width:100%;height:100%;display:none;z-index:200000;background-color:#fff;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-reset .x-resizable-over .x-resizable-handle-east,.x-reset .x-resizable-over .x-resizable-handle-west,.x-reset .x-resizable-pinned .x-resizable-handle-east,.x-reset .x-resizable-pinned .x-resizable-handle-west{background-position:left;background-image:url('../../resources/themes/images/default/sizer/e-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-south,.x-reset .x-resizable-over .x-resizable-handle-north,.x-reset .x-resizable-pinned .x-resizable-handle-south,.x-reset .x-resizable-pinned .x-resizable-handle-north{background-position:top;background-image:url('../../resources/themes/images/default/sizer/s-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-southeast,.x-reset .x-resizable-pinned .x-resizable-handle-southeast{background-position:top left;background-image:url('../../resources/themes/images/default/sizer/se-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-northwest,.x-reset .x-resizable-pinned .x-resizable-handle-northwest{background-position:bottom right;background-image:url('../../resources/themes/images/default/sizer/nw-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-northeast,.x-reset .x-resizable-pinned .x-resizable-handle-northeast{background-position:bottom left;background-image:url('../../resources/themes/images/default/sizer/ne-handle.gif')}.x-reset .x-resizable-over .x-resizable-handle-southwest,.x-reset .x-resizable-pinned .x-resizable-handle-southwest{background-position:top right;background-image:url('../../resources/themes/images/default/sizer/sw-handle.gif')}.x-reset .x-splitter .x-collapse-el{position:absolute;cursor:pointer;background-color:transparent;background-repeat:no-repeat !important}.x-reset .x-layout-split-left,.x-reset .x-layout-split-right{top:50%;margin-top:-17px;width:5px;height:35px}.x-reset .x-layout-split-top,.x-reset .x-layout-split-bottom{left:50%;width:35px;height:5px;margin-left:-17px}.x-reset .x-layout-split-left{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x-reset .x-layout-split-right{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x-reset .x-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x-reset .x-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x-reset .x-splitter-collapsed .x-layout-split-left{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x-reset .x-splitter-collapsed .x-layout-split-right{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x-reset .x-splitter-collapsed .x-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x-reset .x-splitter-collapsed .x-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x-reset .x-splitter-horizontal{cursor:e-resize;cursor:row-resize;font-size:1px}.x-reset .x-splitter-vertical{cursor:e-resize;cursor:col-resize;font-size:1px}.x-reset .x-splitter-collapsed{cursor:default}.x-reset .x-splitter-active{z-index:4;font-size:1px;background-color:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x-reset .x-splitter-active .x-collapse-el{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3}.x-reset .x-proxy-el{position:absolute;background:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x-reset .x-docked{position:absolute;z-index:1}.x-reset .x-docked-top{border-bottom-width:0 !important}.x-reset .x-docked-bottom{border-top-width:0 !important}.x-reset .x-docked-left{border-right-width:0 !important}.x-reset .x-docked-right{border-left-width:0 !important}.x-reset .x-docked-noborder-top{border-top-width:0 !important}.x-reset .x-docked-noborder-right{border-right-width:0 !important}.x-reset .x-docked-noborder-bottom{border-bottom-width:0 !important}.x-reset .x-docked-noborder-left{border-left-width:0 !important}.x-reset .x-box-inner{overflow:hidden;zoom:1;position:relative;left:0;top:0}.x-reset .x-box-item{position:absolute !important;left:0;top:0}.x-reset .x-box-layout-ct,.x-reset .x-border-layout-ct{overflow:hidden;zoom:1}.x-reset .x-overflow-hidden{overflow:hidden !important}.x-reset .x-inline-children > *{display:inline-block !important}.x-reset .x-abs-layout-item{position:absolute}.x-reset .x-border-layout-ct{background-color:#dfe8f6}.x-reset .x-border-region-slide-in{z-index:5}.x-reset .x-region-collapsed-placeholder{z-index:4}.x-reset .x-accordion-hd .x-panel-header-text{color:black;font-weight:normal}.x-reset .x-accordion-hd{background:#d9e7f8 !important;-moz-box-shadow:inset 0 0 0 0 #d9e7f8;-webkit-box-shadow:inset 0 0 0 0 #d9e7f8;-o-box-shadow:inset 0 0 0 0 #d9e7f8;box-shadow:inset 0 0 0 0 #d9e7f8}.x-reset .x-accordion-hd .x-tool-collapse-top,.x-reset .x-accordion-hd .x-tool-collapse-right,.x-reset .x-accordion-hd .x-tool-collapse-bottom,.x-reset .x-accordion-hd .x-tool-collapse-left{background-position:0 -255px}.x-reset .x-accordion-hd .x-tool-expand-top,.x-reset .x-accordion-hd .x-tool-expand-right,.x-reset .x-accordion-hd .x-tool-expand-bottom,.x-reset .x-accordion-hd .x-tool-expand-left{background-position:0 -240px}.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-top,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-right,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-bottom,.x-reset .x-accordion-hd .x-tool-over .x-tool-collapse-left{background-position:-15px -255px}.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-top,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-right,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-bottom,.x-reset .x-accordion-hd .x-tool-over .x-tool-expand-left{background-position:-15px -240px}.x-reset .x-accordion-hd{border-width:1px 0 1px 0 !important;padding:4px 5px 5px 5px;border-top-color:#f3f7fb !important}.x-reset .x-accordion-body{border-width:0 !important}.x-reset .x-accordion-hd-sibling-expanded{border-top-color:#99bce8 !important;-moz-box-shadow:inset 0 1px 0 0 #f3f7fb;-webkit-box-shadow:inset 0 1px 0 0 #f3f7fb;-o-box-shadow:inset 0 1px 0 0 #f3f7fb;box-shadow:inset 0 1px 0 0 #f3f7fb}.x-reset .x-accordion-hd-last-collapsed{border-bottom-color:#d9e7f8 !important}.x-reset .x-frame-tl,.x-reset .x-frame-tr,.x-reset .x-frame-tc,.x-reset .x-frame-bl,.x-reset .x-frame-br,.x-reset .x-frame-bc{overflow:hidden;background-repeat:no-repeat}.x-reset .x-frame-tc,.x-reset .x-frame-bc{background-repeat:repeat-x}.x-reset .x-frame-mc{position:relative;background-repeat:repeat-x;overflow:hidden}.x-reset .x-box-scroller-left{float:left;height:100%;z-index:5}.x-reset .x-box-scroller-left .x-toolbar-scroll-left,.x-reset .x-box-scroller-left .x-tabbar-scroll-left{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat -18px 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-left.gif')}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-disabled,.x-reset .x-box-scroller-left .x-tabbar-scroll-left-disabled{background-position:-18px 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-reset .x-box-scroller-left .x-toolbar-scroll-left{background-image:url('../../resources/themes/images/default/toolbar/scroll-left.gif');background-position:-14px 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left-disabled{background-position:-14px 0}.x-reset .x-box-scroller-left .x-toolbar-scroll-left{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-reset .x-horizontal-box-overflow-body{float:left}.x-reset .x-box-scroller-right{float:right;height:100%;z-index:5}.x-reset .x-box-scroller-right .x-toolbar-scroll-right,.x-reset .x-box-scroller-right .x-tabbar-scroll-right{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat 0 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-right.gif')}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-18px 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-disabled,.x-reset .x-box-scroller-right .x-tabbar-scroll-right-disabled{background-position:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-reset .x-box-scroller-right .x-toolbar-scroll-right{background-image:url('../../resources/themes/images/default/toolbar/scroll-right.gif')}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-14px 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right-disabled{background-position:0 0}.x-reset .x-box-scroller-right .x-toolbar-scroll-right{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-reset .x-box-scroller-top .x-box-scroller{line-height:0;font-size:0}.x-reset .x-box-scroller-top .x-menu-scroll-top{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-top.gif');height:8px;cursor:pointer}.x-reset .x-box-scroller-bottom .x-box-scroller{line-height:0;font-size:0}.x-reset .x-box-scroller-bottom .x-menu-scroll-bottom{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-bottom.gif');height:8px;cursor:pointer}.x-reset .x-box-menu-right{float:right;padding-right:2px}.x-reset .x-column{float:left}.x-reset .x-tool{height:15px}.x-reset .x-tool img{overflow:hidden;width:15px;height:15px;cursor:pointer;background-color:transparent;background-repeat:no-repeat;background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');margin:0}.x-reset .x-panel-header-horizontal .x-tool,.x-reset .x-window-header-horizontal .x-tool{margin-left:2px}.x-reset .x-panel-header-vertical .x-tool,.x-reset .x-window-header-vertical .x-tool{margin-bottom:2px}.x-reset .x-tool-placeholder{visibility:hidden}.x-reset .x-tool-toggle{background-position:0 -60px}.x-reset .x-tool-over .x-tool-toggle{background-position:-15px -60px}.x-reset .x-panel-collapsed .x-tool-toggle,.x-reset .x-fieldset-collapsed .x-tool-toggle{background-position:0 -75px}.x-reset .x-panel-collapsed .x-tool-over .x-tool-toggle,.x-reset .x-fieldset-collapsed .x-tool-over .x-tool-toggle{background-position:-15px -75px}.x-reset .x-tool-close{background-position:0 0}.x-reset .x-tool-minimize{background-position:0 -15px}.x-reset .x-tool-maximize{background-position:0 -30px}.x-reset .x-tool-restore{background-position:0 -45px}.x-reset .x-tool-gear{background-position:0 -90px}.x-reset .x-tool-prev{background-position:0 -105px}.x-reset .x-tool-next{background-position:0 -120px}.x-reset .x-tool-pin{background-position:0 -135px}.x-reset .x-tool-unpin{background-position:0 -150px}.x-reset .x-tool-right{background-position:0 -165px}.x-reset .x-tool-left{background-position:0 -180px}.x-reset .x-tool-help{background-position:0 -300px}.x-reset .x-tool-save{background-position:0 -285px}.x-reset .x-tool-search{background-position:0 -270px}.x-reset .x-tool-minus{background-position:0 -255px}.x-reset .x-tool-plus{background-position:0 -240px}.x-reset .x-tool-refresh{background-position:0 -225px}.x-reset .x-tool-up{background-position:0 -210px}.x-reset .x-tool-down{background-position:0 -195px}.x-reset .x-tool-move{background-position:0 -375px}.x-reset .x-tool-resize{background-position:0 -360px}.x-reset .x-tool-collapse{background-position:0 -345px}.x-reset .x-tool-expand{background-position:0 -330px}.x-reset .x-tool-print{background-position:0 -315px}.x-reset .x-tool-expand-bottom,.x-reset .x-tool-collapse-bottom{background-position:0 -195px}.x-reset .x-tool-expand-top,.x-reset .x-tool-collapse-top{background-position:0 -210px}.x-reset .x-tool-expand-left,.x-reset .x-tool-collapse-left{background-position:0 -180px}.x-reset .x-tool-expand-right,.x-reset .x-tool-collapse-right{background-position:0 -165px}.x-reset .x-tool-over .x-tool-close{background-position:-15px 0}.x-reset .x-tool-over .x-tool-minimize{background-position:-15px -15px}.x-reset .x-tool-over .x-tool-maximize{background-position:-15px -30px}.x-reset .x-tool-over .x-tool-restore{background-position:-15px -45px}.x-reset .x-tool-over .x-tool-gear{background-position:-15px -90px}.x-reset .x-tool-over .x-tool-prev{background-position:-15px -105px}.x-reset .x-tool-over .x-tool-next{background-position:-15px -120px}.x-reset .x-tool-over .x-tool-pin{background-position:-15px -135px}.x-reset .x-tool-over .x-tool-unpin{background-position:-15px -150px}.x-reset .x-tool-over .x-tool-right{background-position:-15px -165px}.x-reset .x-tool-over .x-tool-left{background-position:-15px -180px}.x-reset .x-tool-over .x-tool-down{background-position:-15px -195px}.x-reset .x-tool-over .x-tool-up{background-position:-15px -210px}.x-reset .x-tool-over .x-tool-refresh{background-position:-15px -225px}.x-reset .x-tool-over .x-tool-plus{background-position:-15px -240px}.x-reset .x-tool-over .x-tool-minus{background-position:-15px -255px}.x-reset .x-tool-over .x-tool-search{background-position:-15px -270px}.x-reset .x-tool-over .x-tool-save{background-position:-15px -285px}.x-reset .x-tool-over .x-tool-help{background-position:-15px -300px}.x-reset .x-tool-over .x-tool-print{background-position:-15px -315px}.x-reset .x-tool-over .x-tool-expand{background-position:-15px -330px}.x-reset .x-tool-over .x-tool-collapse{background-position:-15px -345px}.x-reset .x-tool-over .x-tool-resize{background-position:-15px -360px}.x-reset .x-tool-over .x-tool-move{background-position:-15px -375px}.x-reset .x-tool-over .x-tool-expand-bottom,.x-reset .x-tool-over .x-tool-collapse-bottom{background-position:-15px -195px}.x-reset .x-tool-over .x-tool-expand-top,.x-reset .x-tool-over .x-tool-collapse-top{background-position:-15px -210px}.x-reset .x-tool-over .x-tool-expand-left,.x-reset .x-tool-over .x-tool-collapse-left{background-position:-15px -180px}.x-reset .x-tool-over .x-tool-expand-right,.x-reset .x-tool-over .x-tool-collapse-right{background-position:-15px -165px}.x-reset .x-horizontal-scroller-present .x-grid-body{border-bottom-width:0px}.x-reset .x-vertical-scroller-present .x-grid-body{border-right-width:0px}.x-reset .x-scroller{overflow:hidden}.x-reset .x-scroller-vertical{border:1px solid #99bce8;border-top-color:#c5c5c5}.x-reset .x-scroller-horizontal{border:1px solid #99bce8}.x-reset .x-vertical-scroller-present .x-scroller-horizontal{border-right-width:0px}.x-reset .x-scroller-ct{overflow:hidden;position:absolute;margin:0;padding:0;border:none;left:0px;top:0px;box-sizing:content-box !important;-ms-box-sizing:content-box !important;-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important}.x-reset .x-scroller-vertical .x-scroller-ct{overflow-y:scroll}.x-reset .x-scroller-horizontal .x-scroller-ct{overflow-x:scroll}.x-reset .x-html html,.x-reset .x-html address,.x-reset .x-html blockquote,.x-reset .x-html body,.x-reset .x-html dd,.x-reset .x-html div,.x-reset .x-html dl,.x-reset .x-html dt,.x-reset .x-html fieldset,.x-reset .x-html form,.x-reset .x-html frame,.x-reset .x-html frameset,.x-reset .x-html h1,.x-reset .x-html h2,.x-reset .x-html h3,.x-reset .x-html h4,.x-reset .x-html h5,.x-reset .x-html h6,.x-reset .x-html noframes,.x-reset .x-html ol,.x-reset .x-html p,.x-reset .x-html ul,.x-reset .x-html center,.x-reset .x-html dir,.x-reset .x-html hr,.x-reset .x-html menu,.x-reset .x-html pre{display:block}.x-reset .x-html li{display:list-item;list-style:disc}.x-reset .x-html head{display:none}.x-reset .x-html table{display:table}.x-reset .x-html tr{display:table-row}.x-reset .x-html thead{display:table-header-group}.x-reset .x-html tbody{display:table-row-group}.x-reset .x-html tfoot{display:table-footer-group}.x-reset .x-html col{display:table-column}.x-reset .x-html colgroup{display:table-column-group}.x-reset .x-html td,.x-reset .x-html th{display:table-cell}.x-reset .x-html caption{display:table-caption}.x-reset .x-html th{font-weight:bolder;text-align:center}.x-reset .x-html caption{text-align:center}.x-reset .x-html body{margin:8px}.x-reset .x-html h1{font-size:2em;margin:.67em 0}.x-reset .x-html h2{font-size:1.5em;margin:.75em 0}.x-reset .x-html h3{font-size:1.17em;margin:.83em 0}.x-reset .x-html h4,.x-reset .x-html p,.x-reset .x-html blockquote,.x-reset .x-html ul,.x-reset .x-html fieldset,.x-reset .x-html form,.x-reset .x-html ol,.x-reset .x-html dl,.x-reset .x-html dir,.x-reset .x-html menu{margin:1.12em 0}.x-reset .x-html h5{font-size:.83em;margin:1.5em 0}.x-reset .x-html h6{font-size:.75em;margin:1.67em 0}.x-reset .x-html h1,.x-reset .x-html h2,.x-reset .x-html h3,.x-reset .x-html h4,.x-reset .x-html h5,.x-reset .x-html h6,.x-reset .x-html b,.x-reset .x-html strong{font-weight:bolder}.x-reset .x-html blockquote{margin-left:40px;margin-right:40px}.x-reset .x-html i,.x-reset .x-html cite,.x-reset .x-html em,.x-reset .x-html var,.x-reset .x-html address{font-style:italic}.x-reset .x-html pre,.x-reset .x-html tt,.x-reset .x-html code,.x-reset .x-html kbd,.x-reset .x-html samp{font-family:monospace}.x-reset .x-html pre{white-space:pre}.x-reset .x-html button,.x-reset .x-html textarea,.x-reset .x-html input,.x-reset .x-html select{display:inline-block}.x-reset .x-html big{font-size:1.17em}.x-reset .x-html small,.x-reset .x-html sub,.x-reset .x-html sup{font-size:.83em}.x-reset .x-html sub{vertical-align:sub}.x-reset .x-html sup{vertical-align:super}.x-reset .x-html table{border-spacing:2px}.x-reset .x-html thead,.x-reset .x-html tbody,.x-reset .x-html tfoot{vertical-align:middle}.x-reset .x-html td,.x-reset .x-html th{vertical-align:inherit}.x-reset .x-html s,.x-reset .x-html strike,.x-reset .x-html del{text-decoration:line-through}.x-reset .x-html hr{border:1px inset}.x-reset .x-html ol,.x-reset .x-html ul,.x-reset .x-html dir,.x-reset .x-html menu,.x-reset .x-html dd{margin-left:40px}.x-reset .x-html ul,.x-reset .x-html menu,.x-reset .x-html dir{list-style-type:disc}.x-reset .x-html ol{list-style-type:decimal}.x-reset .x-html ol ul,.x-reset .x-html ul ol,.x-reset .x-html ul ul,.x-reset .x-html ol ol{margin-top:0;margin-bottom:0}.x-reset .x-html u,.x-reset .x-html ins{text-decoration:underline}.x-reset .x-html br:before{content:"\A"}.x-reset .x-html :before,.x-reset .x-html :after{white-space:pre-line}.x-reset .x-html center{text-align:center}.x-reset .x-html :link,.x-reset .x-html :visited{text-decoration:underline}.x-reset .x-html :focus{outline:invert dotted thin}.x-reset .x-html BDO[DIR="ltr"]{direction:ltr;unicode-bidi:bidi-override}.x-reset .x-html BDO[DIR="rtl"]{direction:rtl;unicode-bidi:bidi-override} diff --git a/deluge/ui/web/resources/css/ext-standard.css b/deluge/ui/web/resources/css/ext-standard.css new file mode 100644 index 000000000..6acca2952 --- /dev/null +++ b/deluge/ui/web/resources/css/ext-standard.css @@ -0,0 +1 @@ +html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%}q:before,q:after{content:""}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}*:focus{outline:none}.x-border-box .x-reset,.x-border-box .x-reset *{box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box}.x-body{color:black;font-size:12px;font-family:tahoma, arial, verdana, sans-serif}.x-clear{overflow:hidden;clear:both;height:0;width:0;font-size:0;line-height:0}.x-layer{position:absolute;overflow:hidden;zoom:1}.x-shim{position:absolute;left:0;top:0;overflow:hidden;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-hide-display{display:none !important}.x-hide-visibility{visibility:hidden !important}.x-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.x-ie6 .x-item-disabled{filter:none}.x-hidden,.x-hide-offsets{display:block !important;position:absolute !important;left:-10000px !important;top:-10000px !important}.x-hide-nosize{height:0 !important;width:0 !important}.x-masked-relative{position:relative}.x-css-shadow{position:absolute;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px}.x-ie-shadow{background-color:#777;display:none;position:absolute;overflow:hidden;zoom:1}.x-frame-shadow{display:none;position:absolute;overflow:hidden}.x-frame-shadow *{overflow:hidden}.x-frame-shadow *{padding:0;border:0;margin:0;clear:none;zoom:1}.x-frame-shadow .xstc,.x-frame-shadow .xsbc{height:6px;float:left}.x-frame-shadow .xsc{width:100%}.x-frame-shadow .xsml{background:transparent repeat-y 0 0}.x-frame-shadow .xsmr{background:transparent repeat-y -6px 0}.x-frame-shadow .xstl{background:transparent no-repeat 0 0}.x-frame-shadow .xstc{background:transparent repeat-x 0 -30px}.x-frame-shadow .xstr{background:transparent repeat-x 0 -18px}.x-frame-shadow .xsbl{background:transparent no-repeat 0 -12px}.x-frame-shadow .xsbc{background:transparent repeat-x 0 -36px}.x-frame-shadow .xsbr{background:transparent repeat-x 0 -6px}.x-frame-shadow .xstl,.x-frame-shadow .xstc,.x-frame-shadow .xstr,.x-frame-shadow .xsbl,.x-frame-shadow .xsbc,.x-frame-shadow .xsbr{width:6px;height:6px;float:left;background-image:url('../../resources/themes/images/default/shared/shadow.png')}.x-frame-shadow .xsml,.x-frame-shadow .xsmr{width:6px;float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-lr.png')}.x-frame-shadow .xsmc{float:left;height:100%;background-image:url('../../resources/themes/images/default/shared/shadow-c.png')}.x-frame-shadow .xst,.x-frame-shadow .xsb{height:6px;overflow:hidden;width:100%}.x-box-tl{background:transparent no-repeat 0 0;zoom:1}.x-box-tc{height:8px;background:transparent repeat-x 0 0;overflow:hidden}.x-box-tr{background:transparent no-repeat right -8px}.x-box-ml{background:transparent repeat-y 0;padding-left:4px;overflow:hidden;zoom:1}.x-box-mc{background:repeat-x 0 -16px;padding:4px 10px}.x-box-mc h3{margin:0 0 4px 0;zoom:1}.x-box-mr{background:transparent repeat-y right;padding-right:4px;overflow:hidden}.x-box-bl{background:transparent no-repeat 0 -16px;zoom:1}.x-box-bc{background:transparent repeat-x 0 -8px;height:8px;overflow:hidden}.x-box-br{background:transparent no-repeat right -24px}.x-box-tl,.x-box-bl{padding-left:8px;overflow:hidden}.x-box-tr,.x-box-br{padding-right:8px;overflow:hidden}.x-box-tl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-tc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-tr{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-ml{background-image:url('../../resources/themes/images/default/box/l.gif')}.x-box-mc{background-color:#eee;background-image:url('../../resources/themes/images/default/box/tb.gif');font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;color:#393939;font-size:15px}.x-box-mc h3{font-size:18px;font-weight:bold}.x-box-mr{background-image:url('../../resources/themes/images/default/box/r.gif')}.x-box-bl{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-bc{background-image:url('../../resources/themes/images/default/box/tb.gif')}.x-box-br{background-image:url('../../resources/themes/images/default/box/corners.gif')}.x-box-blue .x-box-bl,.x-box-blue .x-box-br,.x-box-blue .x-box-tl,.x-box-blue .x-box-tr{background-image:url('../../resources/themes/images/default/box/corners-blue.gif')}.x-box-blue .x-box-bc,.x-box-blue .x-box-mc,.x-box-blue .x-box-tc{background-image:url('../../resources/themes/images/default/box/tb-blue.gif')}.x-box-blue .x-box-mc{background-color:#c3daf9}.x-box-blue .x-box-mc h3{color:#17385b}.x-box-blue .x-box-ml{background-image:url('../../resources/themes/images/default/box/l-blue.gif')}.x-box-blue .x-box-mr{background-image:url('../../resources/themes/images/default/box/r-blue.gif')}.x-focus-element{position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x-focus-frame{position:absolute;left:0px;top:0px;z-index:100000000;width:0px;height:0px}.x-focus-frame-top,.x-focus-frame-bottom,.x-focus-frame-left,.x-focus-frame-right{position:absolute;top:0px;left:0px}.x-focus-frame-top,.x-focus-frame-bottom{border-top:solid 2px #15428b;height:2px}.x-focus-frame-left,.x-focus-frame-right{border-left:solid 2px #15428b;width:2px}.x-mask{z-index:100;position:absolute;top:0;left:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;width:100%;height:100%;zoom:1;background:#cccccc}.x-mask-msg{z-index:20001;position:absolute;top:0;left:0;padding:2px;border:1px solid;border-color:#99bce8}.x-mask-msg div{padding:5px 10px 5px 25px;background-image:url('../../resources/themes/images/default/grid/loading.gif');background-repeat:no-repeat;background-position:5px center;cursor:wait;border:1px solid #a3bad9;background-color:#eeeeee;color:#222222;font:normal 11px tahoma, arial, verdana, sans-serif}.x-boundlist{border-width:1px;border-style:solid;border-color:#98c0f4;background:white}.x-boundlist .x-toolbar{border-width:1px 0 0 0}.x-boundlist-item{padding:2px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;cursor:pointer;cursor:hand;position:relative;border-width:1px;border-style:dotted;border-color:white}.x-boundlist-selected{background:#cbdaf0;border-color:#8eabe4}.x-boundlist-item-over{background:#dfe8f6;border-color:#a3bae9}.x-boundlist-floating{border-top-width:0}.x-boundlist-above{border-top-width:1px;border-bottom-width:1px}.x-btn{display:inline-block;zoom:1;*display:inline;position:relative;cursor:pointer;cursor:hand;white-space:nowrap;vertical-align:middle;background-repeat:no-repeat}.x-btn *{cursor:pointer;cursor:hand}.x-btn em{background-repeat:no-repeat}.x-btn em a{text-decoration:none;display:inline-block;color:inherit}.x-btn button{margin:0;padding:0;border:0;width:auto;background:none;outline:0 none;overflow:hidden;vertical-align:bottom;-webkit-appearance:none}.x-btn button::-moz-focus-inner{border:0;padding:0}.x-btn .x-btn-inner{display:block;white-space:nowrap;text-align:center;background-color:transparent;background-repeat:no-repeat;background-position:left center}.x-btn-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-btn-disabled span{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-ie6 .x-btn-disabled span,.x-ie7 .x-btn-disabled span{filter:none}.x-ie7 .x-btn-disabled,.x-ie8 .x-btn-disabled{filter:none}.x-ie6 .x-btn-disabled .x-btn-icon,.x-ie7 .x-btn-disabled .x-btn-icon,.x-ie8 .x-btn-disabled .x-btn-icon{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-btn-icon-text-left .x-btn-icon{background-position:left center}.x-btn-icon-text-right .x-btn-icon{background-position:right center}.x-btn-icon-text-top .x-btn-icon{background-position:center top}.x-btn-icon-text-bottom .x-btn-icon{background-position:center bottom}.x-btn button,.x-btn a{position:relative}.x-btn button .x-btn-icon,.x-btn a .x-btn-icon{position:absolute;background-repeat:no-repeat}.x-btn-arrow-right{background:transparent no-repeat right center;padding-right:12px}.x-btn-arrow-right .x-btn-inner{padding-right:0 !important}.x-toolbar .x-btn-arrow-right{padding-right:12px}.x-btn-arrow-bottom{background:transparent no-repeat center bottom;padding-bottom:12px}.x-btn-arrow{background-image:url('../../resources/themes/images/default/button/arrow.gif');display:block}.x-btn-split-right,.x-btn-over .x-btn-split-right{background:transparent no-repeat right center;background-image:url('../../resources/themes/images/default/button/s-arrow.gif');padding-right:14px !important}.x-btn-split-bottom,.x-btn-over .x-btn-split-bottom{background:transparent no-repeat center bottom;background-image:url('../../resources/themes/images/default/button/s-arrow-b.gif');padding-bottom:14px}.x-toolbar .x-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-noline.gif');padding-right:12px !important}.x-toolbar .x-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-b-noline.gif')}.x-btn-split{display:block}.x-item-disabled,.x-item-disabled *{cursor:default}.x-cycle-fixed-width .x-btn-inner{text-align:inherit}.x-btn-over .x-btn-split-right{background-image:url('../../resources/themes/images/default/button/s-arrow-o.gif')}.x-btn-over .x-btn-split-bottom{background-image:url('../../resources/themes/images/default/button/s-arrow-bo.gif')}.x-btn-default-small{border-color:#d1d1d1}.x-btn-default-small{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:white}.x-nlg .x-btn-default-small-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif');background-color:white}.x-btn-default-small .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x-btn-default-small-icon button,.x-btn-default-small-icon .x-btn-inner,.x-btn-default-small-noicon button,.x-btn-default-small-noicon .x-btn-inner{height:16px;line-height:16px}.x-btn-default-small-icon button{padding:0;width:16px !important;height:16px}.x-btn-default-small-icon .x-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x-btn-default-small-icon-text-left button{height:16px}.x-btn-default-small-icon-text-left .x-btn-inner{height:16px;line-height:16px;padding-left:20px}.x-btn-default-small-icon-text-left .x-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-btn-default-small-icon-text-left .x-btn-icon,.x-quirks .x-btn-default-small-icon-text-left .x-btn-icon{height:16px}.x-btn-default-small-icon-text-right button{height:16px}.x-btn-default-small-icon-text-right .x-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x-btn-default-small-icon-text-right .x-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-btn-default-small-icon-text-right .x-btn-icon,.x-quirks .x-btn-default-small-icon-text-right .x-btn-icon{height:16px}.x-btn-default-small-icon-text-top .x-btn-inner{padding-top:20px}.x-btn-default-small-icon-text-top .x-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-btn-default-small-icon-text-top .x-btn-icon,.x-quirks .x-btn-default-small-icon-text-top .x-btn-icon{width:16px}.x-btn-default-small-icon-text-bottom .x-btn-inner{padding-bottom:20px}.x-btn-default-small-icon-text-bottom .x-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-btn-default-small-icon-text-bottom .x-btn-icon,.x-quirks .x-btn-default-small-icon-text-bottom .x-btn-icon{width:16px}.x-btn-default-small-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-btn-default-small-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-btn-default-small-menu-active,.x-btn-default-small-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-btn-default-small-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-btn-default-small-disabled .x-btn-inner{color:#333333 !important}.x-ie .x-btn-default-small-disabled .x-btn-inner{color:#595959 !important}.x-ie6 .x-btn-default-small-disabled .x-btn-inner{color:#8c8c8c !important}.x-nlg .x-btn-default-small{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-bg.gif')}.x-nlg .x-btn-default-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-over-bg.gif')}.x-nlg .x-btn-default-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-focus-bg.gif')}.x-nlg .x-btn-default-small-menu-active,.x-nlg .x-btn-default-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-pressed-bg.gif')}.x-nlg .x-btn-default-small-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-small-disabled-bg.gif')}.x-btn-default-medium{border-color:#d1d1d1}.x-btn-default-medium{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:white}.x-nlg .x-btn-default-medium-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif');background-color:white}.x-btn-default-medium .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-btn-default-medium-icon button,.x-btn-default-medium-icon .x-btn-inner,.x-btn-default-medium-noicon button,.x-btn-default-medium-noicon .x-btn-inner{height:24px;line-height:24px}.x-btn-default-medium-icon button{padding:0;width:24px !important;height:24px}.x-btn-default-medium-icon .x-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x-btn-default-medium-icon-text-left button{height:24px}.x-btn-default-medium-icon-text-left .x-btn-inner{height:24px;line-height:24px;padding-left:28px}.x-btn-default-medium-icon-text-left .x-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-btn-default-medium-icon-text-left .x-btn-icon,.x-quirks .x-btn-default-medium-icon-text-left .x-btn-icon{height:24px}.x-btn-default-medium-icon-text-right button{height:24px}.x-btn-default-medium-icon-text-right .x-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x-btn-default-medium-icon-text-right .x-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-btn-default-medium-icon-text-right .x-btn-icon,.x-quirks .x-btn-default-medium-icon-text-right .x-btn-icon{height:24px}.x-btn-default-medium-icon-text-top .x-btn-inner{padding-top:28px}.x-btn-default-medium-icon-text-top .x-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-btn-default-medium-icon-text-top .x-btn-icon,.x-quirks .x-btn-default-medium-icon-text-top .x-btn-icon{width:24px}.x-btn-default-medium-icon-text-bottom .x-btn-inner{padding-bottom:28px}.x-btn-default-medium-icon-text-bottom .x-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-btn-default-medium-icon-text-bottom .x-btn-icon,.x-quirks .x-btn-default-medium-icon-text-bottom .x-btn-icon{width:24px}.x-btn-default-medium-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-btn-default-medium-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-btn-default-medium-menu-active,.x-btn-default-medium-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-btn-default-medium-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-btn-default-medium-disabled .x-btn-inner{color:#333333 !important}.x-ie .x-btn-default-medium-disabled .x-btn-inner{color:#595959 !important}.x-ie6 .x-btn-default-medium-disabled .x-btn-inner{color:#8c8c8c !important}.x-nlg .x-btn-default-medium{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-bg.gif')}.x-nlg .x-btn-default-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-over-bg.gif')}.x-nlg .x-btn-default-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-focus-bg.gif')}.x-nlg .x-btn-default-medium-menu-active,.x-nlg .x-btn-default-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif')}.x-nlg .x-btn-default-medium-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif')}.x-btn-default-large{border-color:#d1d1d1}.x-btn-default-large{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:white}.x-nlg .x-btn-default-large-mc{background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif');background-color:white}.x-btn-default-large .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-btn-default-large-icon button,.x-btn-default-large-icon .x-btn-inner,.x-btn-default-large-noicon button,.x-btn-default-large-noicon .x-btn-inner{height:32px;line-height:32px}.x-btn-default-large-icon button{padding:0;width:32px !important;height:32px}.x-btn-default-large-icon .x-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x-btn-default-large-icon-text-left button{height:32px}.x-btn-default-large-icon-text-left .x-btn-inner{height:32px;line-height:32px;padding-left:36px}.x-btn-default-large-icon-text-left .x-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-btn-default-large-icon-text-left .x-btn-icon,.x-quirks .x-btn-default-large-icon-text-left .x-btn-icon{height:32px}.x-btn-default-large-icon-text-right button{height:32px}.x-btn-default-large-icon-text-right .x-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x-btn-default-large-icon-text-right .x-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-btn-default-large-icon-text-right .x-btn-icon,.x-quirks .x-btn-default-large-icon-text-right .x-btn-icon{height:32px}.x-btn-default-large-icon-text-top .x-btn-inner{padding-top:36px}.x-btn-default-large-icon-text-top .x-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-btn-default-large-icon-text-top .x-btn-icon,.x-quirks .x-btn-default-large-icon-text-top .x-btn-icon{width:32px}.x-btn-default-large-icon-text-bottom .x-btn-inner{padding-bottom:36px}.x-btn-default-large-icon-text-bottom .x-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-btn-default-large-icon-text-bottom .x-btn-icon,.x-quirks .x-btn-default-large-icon-text-bottom .x-btn-icon{width:32px}.x-btn-default-large-over{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-btn-default-large-focus{border-color:#b0ccf2;background-image:none;background-color:#e4f3ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4f3ff), color-stop(48%, #d9edff), color-stop(52%, #c2d8f2), color-stop(100%, #c6dcf6));background-image:-moz-linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6);background-image:linear-gradient(top, #e4f3ff,#d9edff 48%,#c2d8f2 52%,#c6dcf6)}.x-btn-default-large-menu-active,.x-btn-default-large-pressed{border-color:#9ebae1;background-image:none;background-color:#b6cbe4;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b6cbe4), color-stop(48%, #bfd2e6), color-stop(52%, #8dc0f5), color-stop(100%, #98c5f5));background-image:-moz-linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5);background-image:linear-gradient(top, #b6cbe4,#bfd2e6 48%,#8dc0f5 52%,#98c5f5)}.x-btn-default-large-disabled{border-color:#e1e1e1;background-image:none;background-color:#f7f7f7;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f7f7f7), color-stop(48%, #f1f1f1), color-stop(52%, #dadada), color-stop(100%, #dfdfdf));background-image:-moz-linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf);background-image:linear-gradient(top, #f7f7f7,#f1f1f1 48%,#dadada 52%,#dfdfdf)}.x-btn-default-large-disabled .x-btn-inner{color:#333333 !important}.x-ie .x-btn-default-large-disabled .x-btn-inner{color:#595959 !important}.x-ie6 .x-btn-default-large-disabled .x-btn-inner{color:#8c8c8c !important}.x-nlg .x-btn-default-large{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-bg.gif')}.x-nlg .x-btn-default-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-over-bg.gif')}.x-nlg .x-btn-default-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-focus-bg.gif')}.x-nlg .x-btn-default-large-menu-active,.x-nlg .x-btn-default-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-pressed-bg.gif')}.x-nlg .x-btn-default-large-disabled{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-large-disabled-bg.gif')}.x-btn-default-toolbar-small{border-color:transparent}.x-btn-default-toolbar-small{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:transparent}.x-nlg .x-btn-default-toolbar-small-mc{background-color:transparent}.x-btn-default-toolbar-small .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 4px}.x-btn-default-toolbar-small-icon button,.x-btn-default-toolbar-small-icon .x-btn-inner,.x-btn-default-toolbar-small-noicon button,.x-btn-default-toolbar-small-noicon .x-btn-inner{height:16px;line-height:16px}.x-btn-default-toolbar-small-icon button{padding:0;width:16px !important;height:16px}.x-btn-default-toolbar-small-icon .x-btn-icon{width:16px;height:16px;top:0;left:0;bottom:0;right:0}.x-btn-default-toolbar-small-icon-text-left button{height:16px}.x-btn-default-toolbar-small-icon-text-left .x-btn-inner{height:16px;line-height:16px;padding-left:20px}.x-btn-default-toolbar-small-icon-text-left .x-btn-icon{width:16px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-btn-default-toolbar-small-icon-text-left .x-btn-icon,.x-quirks .x-btn-default-toolbar-small-icon-text-left .x-btn-icon{height:16px}.x-btn-default-toolbar-small-icon-text-right button{height:16px}.x-btn-default-toolbar-small-icon-text-right .x-btn-inner{height:16px;line-height:16px;padding-right:20px !important}.x-btn-default-toolbar-small-icon-text-right .x-btn-icon{width:16px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-btn-default-toolbar-small-icon-text-right .x-btn-icon,.x-quirks .x-btn-default-toolbar-small-icon-text-right .x-btn-icon{height:16px}.x-btn-default-toolbar-small-icon-text-top .x-btn-inner{padding-top:20px}.x-btn-default-toolbar-small-icon-text-top .x-btn-icon{width:auto;height:16px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-btn-default-toolbar-small-icon-text-top .x-btn-icon,.x-quirks .x-btn-default-toolbar-small-icon-text-top .x-btn-icon{width:16px}.x-btn-default-toolbar-small-icon-text-bottom .x-btn-inner{padding-bottom:20px}.x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon{width:auto;height:16px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon,.x-quirks .x-btn-default-toolbar-small-icon-text-bottom .x-btn-icon{width:16px}.x-btn-default-toolbar-small-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-btn-default-toolbar-small-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-btn-default-toolbar-small-menu-active,.x-btn-default-toolbar-small-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-btn-default-toolbar-small-disabled{background-image:none;background-color:transparent}.x-btn-default-toolbar-small-disabled .x-btn-inner{color:#333333 !important}.x-ie .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#595959 !important}.x-ie6 .x-btn-default-toolbar-small-disabled .x-btn-inner{color:#8c8c8c !important}.x-nlg .x-btn-default-toolbar-small-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-over-bg.gif')}.x-nlg .x-btn-default-toolbar-small-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-focus-bg.gif')}.x-nlg .x-btn-default-toolbar-small-menu-active,.x-nlg .x-btn-default-toolbar-small-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-small-pressed-bg.gif')}.x-btn-default-toolbar-medium{border-color:transparent}.x-btn-default-toolbar-medium{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x-nlg .x-btn-default-toolbar-medium-mc{background-color:transparent}.x-btn-default-toolbar-medium .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-btn-default-toolbar-medium-icon button,.x-btn-default-toolbar-medium-icon .x-btn-inner,.x-btn-default-toolbar-medium-noicon button,.x-btn-default-toolbar-medium-noicon .x-btn-inner{height:24px;line-height:24px}.x-btn-default-toolbar-medium-icon button{padding:0;width:24px !important;height:24px}.x-btn-default-toolbar-medium-icon .x-btn-icon{width:24px;height:24px;top:0;left:0;bottom:0;right:0}.x-btn-default-toolbar-medium-icon-text-left button{height:24px}.x-btn-default-toolbar-medium-icon-text-left .x-btn-inner{height:24px;line-height:24px;padding-left:28px}.x-btn-default-toolbar-medium-icon-text-left .x-btn-icon{width:24px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon,.x-quirks .x-btn-default-toolbar-medium-icon-text-left .x-btn-icon{height:24px}.x-btn-default-toolbar-medium-icon-text-right button{height:24px}.x-btn-default-toolbar-medium-icon-text-right .x-btn-inner{height:24px;line-height:24px;padding-right:28px !important}.x-btn-default-toolbar-medium-icon-text-right .x-btn-icon{width:24px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon,.x-quirks .x-btn-default-toolbar-medium-icon-text-right .x-btn-icon{height:24px}.x-btn-default-toolbar-medium-icon-text-top .x-btn-inner{padding-top:28px}.x-btn-default-toolbar-medium-icon-text-top .x-btn-icon{width:auto;height:24px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon,.x-quirks .x-btn-default-toolbar-medium-icon-text-top .x-btn-icon{width:24px}.x-btn-default-toolbar-medium-icon-text-bottom .x-btn-inner{padding-bottom:28px}.x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon{width:auto;height:24px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon,.x-quirks .x-btn-default-toolbar-medium-icon-text-bottom .x-btn-icon{width:24px}.x-btn-default-toolbar-medium-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-btn-default-toolbar-medium-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-btn-default-toolbar-medium-menu-active,.x-btn-default-toolbar-medium-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-btn-default-toolbar-medium-disabled{background-image:none;background-color:transparent}.x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#333333 !important}.x-ie .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#595959 !important}.x-ie6 .x-btn-default-toolbar-medium-disabled .x-btn-inner{color:#8c8c8c !important}.x-nlg .x-btn-default-toolbar-medium-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-over-bg.gif')}.x-nlg .x-btn-default-toolbar-medium-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-focus-bg.gif')}.x-nlg .x-btn-default-toolbar-medium-menu-active,.x-nlg .x-btn-default-toolbar-medium-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-bg.gif')}.x-btn-default-toolbar-large{border-color:transparent}.x-btn-default-toolbar-large{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;background-color:transparent}.x-nlg .x-btn-default-toolbar-large-mc{background-color:transparent}.x-btn-default-toolbar-large .x-btn-inner{font-size:11px;font-weight:normal;font-family:tahoma, arial, verdana, sans-serif;color:#333333;background-repeat:no-repeat;padding:0 3px}.x-btn-default-toolbar-large-icon button,.x-btn-default-toolbar-large-icon .x-btn-inner,.x-btn-default-toolbar-large-noicon button,.x-btn-default-toolbar-large-noicon .x-btn-inner{height:32px;line-height:32px}.x-btn-default-toolbar-large-icon button{padding:0;width:32px !important;height:32px}.x-btn-default-toolbar-large-icon .x-btn-icon{width:32px;height:32px;top:0;left:0;bottom:0;right:0}.x-btn-default-toolbar-large-icon-text-left button{height:32px}.x-btn-default-toolbar-large-icon-text-left .x-btn-inner{height:32px;line-height:32px;padding-left:36px}.x-btn-default-toolbar-large-icon-text-left .x-btn-icon{width:32px;height:auto;top:0;left:0;bottom:0;right:auto}.x-ie6 .x-btn-default-toolbar-large-icon-text-left .x-btn-icon,.x-quirks .x-btn-default-toolbar-large-icon-text-left .x-btn-icon{height:32px}.x-btn-default-toolbar-large-icon-text-right button{height:32px}.x-btn-default-toolbar-large-icon-text-right .x-btn-inner{height:32px;line-height:32px;padding-right:36px !important}.x-btn-default-toolbar-large-icon-text-right .x-btn-icon{width:32px;height:auto;top:0;left:auto;bottom:0;right:0}.x-ie6 .x-btn-default-toolbar-large-icon-text-right .x-btn-icon,.x-quirks .x-btn-default-toolbar-large-icon-text-right .x-btn-icon{height:32px}.x-btn-default-toolbar-large-icon-text-top .x-btn-inner{padding-top:36px}.x-btn-default-toolbar-large-icon-text-top .x-btn-icon{width:auto;height:32px;top:0;left:0;bottom:auto;right:0}.x-ie6 .x-btn-default-toolbar-large-icon-text-top .x-btn-icon,.x-quirks .x-btn-default-toolbar-large-icon-text-top .x-btn-icon{width:32px}.x-btn-default-toolbar-large-icon-text-bottom .x-btn-inner{padding-bottom:36px}.x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon{width:auto;height:32px;top:auto;left:0;bottom:0;right:0}.x-ie6 .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon,.x-quirks .x-btn-default-toolbar-large-icon-text-bottom .x-btn-icon{width:32px}.x-btn-default-toolbar-large-over{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-btn-default-toolbar-large-focus{border-color:#81a4d0;background-image:none;background-color:#dbeeff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dbeeff), color-stop(48%, #d0e7ff), color-stop(52%, #bbd2f0), color-stop(100%, #bed6f5));background-image:-moz-linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5);background-image:linear-gradient(top, #dbeeff,#d0e7ff 48%,#bbd2f0 52%,#bed6f5)}.x-btn-default-toolbar-large-menu-active,.x-btn-default-toolbar-large-pressed{border-color:#7a9ac4;background-image:none;background-color:#bccfe5;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bccfe5), color-stop(48%, #c5d6e7), color-stop(52%, #95c4f4), color-stop(100%, #9fc9f5));background-image:-moz-linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5);background-image:linear-gradient(top, #bccfe5,#c5d6e7 48%,#95c4f4 52%,#9fc9f5)}.x-btn-default-toolbar-large-disabled{background-image:none;background-color:transparent}.x-btn-default-toolbar-large-disabled .x-btn-inner{color:#333333 !important}.x-ie .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#595959 !important}.x-ie6 .x-btn-default-toolbar-large-disabled .x-btn-inner{color:#8c8c8c !important}.x-nlg .x-btn-default-toolbar-large-over{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-over-bg.gif')}.x-nlg .x-btn-default-toolbar-large-focus{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-focus-bg.gif')}.x-nlg .x-btn-default-toolbar-large-menu-active,.x-nlg .x-btn-default-toolbar-large-pressed{background-repeat:repeat-x;background-image:url('../../resources/themes/images/default/btn/btn-default-toolbar-large-pressed-bg.gif')}.x-btn-default-toolbar-small-disabled,.x-btn-default-toolbar-medium-disabled,.x-btn-default-toolbar-large-disabled{border-color:transparent;background-image:none;background:transparent}.x-btn-group{position:relative;overflow:hidden}.x-btn-group-body{position:relative;zoom:1;padding:0 1px}.x-btn-group-body .x-table-layout-cell{vertical-align:top}.x-btn-group-header-text{white-space:nowrap}.x-btn-group-default-framed{-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px;-ms-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;padding:1px 1px 1px 1px;border-width:1px;border-style:solid;background-color:#d0def0}.x-nlg .x-btn-group-default-framed-mc{background-color:#d0def0}.x-btn-group-default-framed{border-color:#b7c8d7;-moz-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-webkit-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;-o-box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset;box-shadow:#e3ebf5 0 1px 0px 0 inset, #e3ebf5 0 -1px 0px 0 inset, #e3ebf5 -1px 0 0px 0 inset, #e3ebf5 1px 0 0px 0 inset}.x-btn-group-header-default-framed{margin:2px 2px 0 2px}.x-btn-group-header-body-default-framed{padding:1px 0;background:#c2d8f0;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;-o-border-top-left-radius:2px;-ms-border-top-left-radius:2px;-khtml-border-top-left-radius:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;-o-border-top-right-radius:2px;-ms-border-top-right-radius:2px;-khtml-border-top-right-radius:2px;border-top-right-radius:2px}.x-btn-group-header-text-default-framed{font:normal 11px tahoma, arial, verdana, sans-serif;color:#3e6aaa}.x-datepicker{border:1px solid #1b376c;background-color:white;position:relative}.x-datepicker a{-moz-outline:0 none;outline:0 none;color:#15428b;text-decoration:none;border-width:0}.x-datepicker-inner,.x-datepicker-inner td,.x-datepicker-inner th{border-collapse:separate}.x-datepicker-header{position:relative;height:26px;background-image:none;background-color:#23427c;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #264888), color-stop(100%, #1f3a6c));background-image:-moz-linear-gradient(top, #264888,#1f3a6c);background-image:linear-gradient(top, #264888,#1f3a6c)}.x-datepicker-prev,.x-datepicker-next{position:absolute;top:5px;width:18px}.x-datepicker-prev a,.x-datepicker-next a{display:block;width:16px;height:16px;background-position:top;background-repeat:no-repeat;cursor:pointer;text-decoration:none !important;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);opacity:0.7}.x-datepicker-prev a:hover,.x-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-datepicker-next{right:5px}.x-datepicker-next a{background-image:url('../../resources/themes/images/default/shared/right-btn.gif')}.x-datepicker-prev{left:5px}.x-datepicker-prev a{background-image:url('../../resources/themes/images/default/shared/left-btn.gif')}.x-item-disabled .x-datepicker-prev a:hover,.x-item-disabled .x-datepicker-next a:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-datepicker-month{padding-top:3px}.x-datepicker-month .x-btn,.x-datepicker-month button,.x-datepicker-month .x-btn-tc,.x-datepicker-month .x-btn-tl,.x-datepicker-month .x-btn-tr,.x-datepicker-month .x-btn-mc,.x-datepicker-month .x-btn-ml,.x-datepicker-month .x-btn-mr,.x-datepicker-month .x-btn-bc,.x-datepicker-month .x-btn-bl,.x-datepicker-month .x-btn-br{background:transparent !important;border-width:0 !important}.x-datepicker-month span{color:white !important}.x-datepicker-month .x-btn-split-right{background:no-repeat right center !important;background-image:url('../../resources/themes/images/default/button/s-arrow-light.gif');padding-right:12px}.x-datepicker-next{text-align:right}.x-datepicker-month{text-align:center}.x-datepicker-month button{color:white !important}table.x-datepicker-inner{width:100%;table-layout:fixed}table.x-datepicker-inner th{width:25px;height:19px;padding:0;color:#233d6d;font:normal 10px tahoma, arial, verdana, sans-serif;text-align:right;border-bottom:1px solid #b2d1f5;border-collapse:separate;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #edf4fd), color-stop(100%, #cde1f9));background-image:-moz-linear-gradient(top, #edf4fd,#cde1f9);background-image:linear-gradient(top, #edf4fd,#cde1f9);cursor:default}table.x-datepicker-inner th span{display:block;padding-right:7px}table.x-datepicker-inner tr{height:20px}table.x-datepicker-inner td{border:1px solid;height:17px;border-color:white;text-align:right;padding:0}table.x-datepicker-inner a{padding-right:4px;display:block;zoom:1;font:normal 11px tahoma, arial, verdana, sans-serif;color:black;text-decoration:none;text-align:right}table.x-datepicker-inner .x-datepicker-active{cursor:pointer;color:black}table.x-datepicker-inner .x-datepicker-selected a{background:repeat-x left top;background-color:#dae5f3;border:1px solid #8db2e3}table.x-datepicker-inner .x-datepicker-selected span{font-weight:bold}table.x-datepicker-inner .x-datepicker-today a{border:1px solid;border-color:darkred}table.x-datepicker-inner .x-datepicker-prevday a,table.x-datepicker-inner .x-datepicker-nextday a{text-decoration:none !important;color:#aaa}table.x-datepicker-inner a:hover,table.x-datepicker-inner .x-datepicker-disabled a:hover{text-decoration:none !important;color:#000;background-color:#ddecfe}table.x-datepicker-inner .x-datepicker-disabled a{cursor:default;background-color:#eee;color:#bbb}.x-datepicker-footer,.x-monthpicker-buttons{position:relative;border-top:1px solid #b2d1f5;background-image:none;background-color:#dfecfb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dee8f5), color-stop(49%, #d1dff0), color-stop(51%, #c7d8ed), color-stop(100%, #cbdaee));background-image:-moz-linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);background-image:linear-gradient(top, #dee8f5,#d1dff0 49%,#c7d8ed 51%,#cbdaee);text-align:center}.x-datepicker-footer .x-btn,.x-monthpicker-buttons .x-btn{position:relative;margin:4px}.x-item-disabled .x-datepicker-inner a:hover{background:none}.x-datepicker .x-monthpicker{position:absolute;left:0;top:0}.x-monthpicker{border:1px solid #1b376c;background-color:white}.x-monthpicker-months,.x-monthpicker-years{float:left;height:167px;width:88px}.x-monthpicker-item{float:left;margin:4px 0 5px 0;font:normal 11px tahoma, arial, verdana, sans-serif;text-align:center;vertical-align:middle;height:18px;width:43px;border:0 none}.x-monthpicker-item a{display:block;margin:0 5px 0 5px;text-decoration:none;color:#15428b;border:1px solid white;line-height:17px}.x-monthpicker-item a:hover{background-color:#ddecfe}.x-monthpicker-item a.x-monthpicker-selected{background-color:#dfecfb;border:1px solid #8db2e3}.x-monthpicker-months{border-right:1px solid #1b376c;width:87px}.x-monthpicker-years .x-monthpicker-item{width:44px}.x-monthpicker-yearnav{height:28px}.x-monthpicker-yearnav button{background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');height:15px;width:15px;padding:0;margin:6px 12px 5px 15px;border:none;outline:0 none}.x-monthpicker-yearnav button::-moz-focus-inner{border:0;padding:0}.x-monthpicker-yearnav-next{background-position:0 -120px}.x-monthpicker-yearnav-next-over{cursor:pointer;cursor:hand;background-position:-15px -120px}.x-monthpicker-yearnav-prev{background-position:0 -105px}.x-monthpicker-yearnav-prev-over{cursor:pointer;cursor:hand;background-position:-15px -105px}.x-monthpicker-small .x-monthpicker-item{margin:2px 0 2px 0}.x-monthpicker-small .x-monthpicker-yearnav{height:23px}.x-monthpicker-small .x-monthpicker-months,.x-monthpicker-small .x-monthpicker-years{height:136px}.x-nlg .x-datepicker-header{background-image:url('../../resources/themes/images/default/datepicker/datepicker-header-bg.gif');background-repeat:repeat-x;background-position:top left}.x-nlg .x-datepicker-footer,.x-nlg .x-monthpicker-buttons{background-image:url('../../resources/themes/images/default/datepicker/datepicker-footer-bg.gif');background-repeat:repeat-x;background-position:top left}.x-color-picker{width:144px;height:90px;cursor:pointer}.x-color-picker a{border:1px solid #fff;float:left;padding:2px;text-decoration:none;-moz-outline:0 none;outline:0 none;cursor:pointer}.x-color-picker a:hover,.x-color-picker a.x-color-picker-selected{border-color:#8bb8f3;background-color:#deecfd}.x-color-picker em{display:block;border:1px solid #aca899}.x-color-picker em span{cursor:pointer;display:block;height:10px;width:10px;line-height:10px}.x-menu-body{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;background:#f0f0f0 !important;padding:2px}.x-menu-icon-separator{position:absolute;top:0px;left:27px;z-index:0;border-left:solid 1px #e0e0e0;background-color:white;width:2px;height:100%;overflow:hidden}.x-menu-plain .x-menu-icon-separator{display:none}.x-menu-focus{display:block;position:absolute;top:-10px;left:-10px;width:0px;height:0px}.x-menu-item{white-space:nowrap;overflow:hidden;z-index:1}.x-menu-item-cmp{margin-bottom:1px}.x-menu-item-link{display:block;padding:0px 2px;margin:1px;text-decoration:none !important;line-height:16px;cursor:default}.x-opera .x-menu-item-link{position:relative}.x-menu-item-icon{width:16px;height:16px;margin:4px 11px 0px 2px;background:no-repeat center center}.x-menu-item-text{position:relative;font-size:11px;color:#222222;top:-4px}.x-menu-item-checked .x-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/checked.gif')}.x-menu-item-checked .x-menu-group-icon{background-image:url('../../resources/themes/images/default/menu/group-checked.gif')}.x-menu-item-unchecked .x-menu-item-icon{background-image:url('../../resources/themes/images/default/menu/unchecked.gif')}.x-menu-item-unchecked .x-menu-group-icon{background-image:none}.x-menu-item-separator{height:2px;border-top:solid 1px #e0e0e0;background-color:white;margin:2px 0px;overflow:hidden}.x-menu-item-arrow{position:absolute;width:12px;height:9px;top:9px;right:0px;background:url('../../resources/themes/images/default/menu/menu-parent.gif') no-repeat center center}.x-menu-item-indent{margin-left:31px}.x-menu-item-active{cursor:pointer}.x-menu-item-active .x-menu-item-link{background-image:none;background-color:#d9e8fb;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7f0fc), color-stop(100%, #c7ddf9));background-image:-moz-linear-gradient(top, #e7f0fc,#c7ddf9);background-image:linear-gradient(top, #e7f0fc,#c7ddf9);margin:0px;border:1px solid #a9cbf5;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}.x-menu-item-disabled{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.x-nlg .x-menu-item-active .x-menu-item-link{background:#d9e8fb url('../../resources/themes/images/default/menu/menu-item-active-bg.gif') repeat-x left top}.x-menu-date-item{border-color:#99BBE8}.x-panel .x-grid-body{background:white;border-color:#99bce8;border-style:solid;border-width:1px;border-top-color:#c5c5c5}.x-panel .x-grid-header-ct-hidden{border-top-width:0 !important}.x-grid-header-hidden .x-grid-body{border-top-color:#99bce8 !important}.x-grid-view{overflow:hidden;position:relative}.x-grid-table{table-layout:fixed;border-collapse:separate}.x-grid-row .x-grid-table{border-collapse:collapse}.x-grid-locked .x-grid-inner-locked{border-width:0 1px 0 0 !important;border-style:solid}.x-grid-header-ct{cursor:default;zoom:1;padding:0;border:1px solid #99bce8}.x-column-header{padding:0;position:absolute;overflow:hidden;border-right:1px solid #c5c5c5;border-left:0 none;border-top:0 none;border-bottom:0 none;text-shadow:0 1px 0 rgba(255, 255, 255, 0.3);font:normal 11px/15px tahoma, arial, verdana, sans-serif;color:null;font:normal 11px tahoma, arial, verdana, sans-serif}.x-group-header{padding:0;border-left-width:0}.x-group-sub-header{background:transparent;border-top:1px solid #c5c5c5;border-left-width:0}.x-column-header-inner{zoom:1;position:relative;white-space:nowrap;line-height:22px;padding:0px 6px}.x-column-header-inner .x-column-header-text{white-space:nowrap}.x-column-header-over,.x-column-header-sort-ASC,.x-column-header-sort-DESC{border-left-color:#aaccf6;border-right-color:#aaccf6}.x-nlg .x-grid-header-ct,.x-nlg .x-column-header{background:repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-bg.gif')}.x-nlg .x-column-header-over,.x-nlg .x-column-header-sort-ASC,.x-nlg .x-column-header-sort-DESC{background:#ebf3fd repeat-x 0 top;background-image:url('../../resources/themes/images/default/grid/column-header-over-bg.gif')}.x-column-header-trigger{display:none;height:100%;width:14px;background:no-repeat left center;background-color:#c3daf9;background-image:url('../../resources/themes/images/default/grid/grid3-hd-btn.gif');position:absolute;right:0;top:0;z-index:2;cursor:pointer}.x-column-header-over .x-column-header-trigger,.x-column-header-open .x-column-header-trigger{display:block}.x-column-header-align-right{text-align:right}.x-column-header-align-right .x-column-header-text{padding-right:0.5ex;margin-right:6px}.x-column-header-align-center{text-align:center}.x-column-header-align-left{text-align:left}.x-column-header-sort-ASC .x-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_asc.gif')}.x-column-header-sort-DESC .x-column-header-text{padding-right:16px;background:no-repeat right 6px;background-image:url('../../resources/themes/images/default/grid/sort_desc.gif')}.x-grid-row{line-height:13px;vertical-align:top;padding:0 1px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-grid-row .x-grid-cell{color:null;font:normal 11px tahoma, arial, verdana, sans-serif;border-color:#ededed;border-style:solid;border-width:1px 0;border-top-color:#fafafa}.x-grid-rowwrap-div{border-width:1px 0;border-color:#ededed;border-style:solid;border-top-color:#fafafa;overflow:hidden}.x-grid-row-alt .x-grid-cell,.x-grid-row-alt .x-grid-rowwrap-div{background-color:#fafafa}.x-grid-row-over .x-grid-cell,.x-grid-row-over .x-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x-grid-row-focused .x-grid-cell,.x-grid-row-focused .x-grid-rowwrap-div{border-color:#dddddd;background-color:#efefef}.x-grid-row-selected .x-grid-cell,.x-grid-row-selected .x-grid-rowwrap-div{border-style:dotted;border-color:#a3bae9;background-color:#dfe8f6 !important}.x-grid-rowwrap-div .x-grid-cell,.x-grid-rowwrap-div .x-grid-cell-inner{border-width:0;background:transparent}.x-grid-row-body-hidden{display:none}.x-grid-rowbody{font:normal 11px/13px tahoma, arial, verdana, sans-serif;padding:4px}.x-grid-rowbody p{margin:5px 5px 10px 5px}.x-grid-cell{overflow:hidden;font:normal 13px tahoma, arial, verdana, sans-serif;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-grid-cell-inner{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:3px 6px;white-space:nowrap}.x-action-col-cell .x-grid-cell-inner{padding:1px 2px 0 2px}.x-ie6 .x-action-col-cell .x-grid-cell-inner,.x-ie7 .x-action-col-cell .x-grid-cell-inner,.x-quirks .x-ie9 .x-action-col-cell .x-grid-cell-inner,.x-quirks .x-ie8 .x-action-col-cell .x-grid-cell-inner,.x-strict .x-ie8 .x-action-col-cell .x-grid-cell-inner{padding:2px 2px 1px 2px}.x-grid-row .x-grid-cell-special{padding:0;border-right:1px solid #d0d0d0;background-image:none;background-color:#f6f6f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #f6f6f6), color-stop(100%, #e9e9e9));background-image:-moz-linear-gradient(left, #f6f6f6,#e9e9e9);background-image:linear-gradient(left, #f6f6f6,#e9e9e9)}.x-ie6 .x-grid-header-row,.x-ie7 .x-grid-header-row,.x-quirks .x-ie8 .x-grid-header-row,.x-strict .x-ie8 .x-grid-header-row{position:absolute}.x-grid-row-selected .x-grid-cell-special{border-right:1px solid #aaccf6;background-image:none;background-color:#dfe8f6;background-image:-webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #dfe8f6), color-stop(100%, #cbdaf0));background-image:-moz-linear-gradient(left, #dfe8f6,#cbdaf0);background-image:linear-gradient(left, #dfe8f6,#cbdaf0)}.x-grid-dirty-cell{background-image:url('../../resources/themes/images/default/grid/dirty.gif');background-position:0 0;background-repeat:no-repeat}.x-grid-cell-selected{background-color:#b8cfee !important}.x-nlg .x-grid-cell-special{background-repeat:repeat-y;background-position:top right}.x-nlg .x-grid-row .x-grid-cell-special,.x-nlg .x-grid-row-over .x-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-bg.gif')}.x-nlg .x-grid-row-focused .x-grid-cell-special,.x-nlg .x-grid-row-selected .x-grid-cell-special{background-image:url('../../resources/themes/images/default/grid/cell-special-selected-bg.gif')}.x-panel-with-col-lines .x-grid-row .x-grid-cell{padding-right:0;border-right:1px solid #d0d0d0}.x-property-grid .x-grid-row .x-grid-cell-inner{padding:3px 6px 5px}.x-property-grid .x-grid-row .x-grid-property-name .x-grid-cell-inner,.x-property-grid .x-grid-row-over .x-grid-property-name .x-grid-cell-inner{padding-left:12px;background-image:url('../../resources/themes/images/default/grid/property-cell-bg.gif');background-repeat:no-repeat;background-position:-16px 1px}.x-unselectable{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore}.x-grid-row-body-hidden{display:none}.x-grid-group-collapsed{display:none}.x-grid-view .x-grid-td-expander{vertical-align:top}.x-grid-td-expander{background:repeat-y right transparent}.x-grid-view .x-grid-td-expander .x-grid-cell-inner{padding:0 !important}.x-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');background-color:transparent;width:9px;height:13px;margin-left:3px;background-repeat:no-repeat;background-position:0 -2px}.x-grid-row-collapsed .x-grid-row-expander{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-grid-resize-marker{position:absolute;z-index:5;top:0;width:1px;background-color:#0f0f0f}.col-move-top,.col-move-bottom{width:9px;height:9px;position:absolute;top:0;line-height:0;font-size:0;overflow:hidden;z-index:20000;background:no-repeat left top transparent}.col-move-top{background-image:url('../../resources/themes/images/default/grid/col-move-top.gif')}.col-move-bottom{background-image:url('../../resources/themes/images/default/grid/col-move-bottom.gif')}.x-tbar-page-number{width:30px}.x-grid-group,.x-grid-group-body,.x-grid-group-hd{zoom:1}.x-grid-group-hd{padding-top:6px}.x-grid-group-hd .x-grid-cell-inner{padding:10px 4px 4px 4px;background:white;border-width:0 0 2px 0;border-style:solid;border-color:#99bbe8;cursor:pointer}.x-grid-group-title{background:transparent no-repeat 0 -1px;background-image:url('../../resources/themes/images/default/grid/group-collapse.gif');color:#3764a0;font:bold 11px tahoma, arial, verdana, sans-serif;padding:0 0 0 14px}.x-grid-group-hd-collapsed .x-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-grid-group-collapsed .x-grid-group-body{display:none}.x-grid-group-collapsed .x-grid-group-title{background-image:url('../../resources/themes/images/default/grid/group-expand.gif')}.x-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-column-header-checkbox .x-column-header-inner{padding:1px}.x-grid-cell-special .x-grid-cell-inner{padding:4px}.x-grid-row-checker,.x-column-header-checkbox .x-column-header-text{height:14px;width:14px;background-image:url('../../resources/themes/images/default/grid/unchecked.gif');background-position:-1px -1px;background-repeat:no-repeat;background-color:transparent}.x-column-header-checkbox .x-column-header-text{display:block;margin-top:4px;margin-left:4px}.x-grid-hd-checker-on .x-column-header-text{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x-grid-row-checker{margin-left:1px;background-position:50% -2px}.x-grid-row-selected .x-grid-row-checker,.x-grid-row-checked .x-grid-row-checker{background-image:url('../../resources/themes/images/default/grid/checked.gif')}.x-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first.gif') !important}.x-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh.gif') !important}.x-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last.gif') !important}.x-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next.gif') !important}.x-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev.gif') !important}.x-item-disabled .x-tbar-loading{background-image:url('../../resources/themes/images/default/grid/refresh-disabled.gif') !important}.x-item-disabled .x-tbar-page-first{background-image:url('../../resources/themes/images/default/grid/page-first-disabled.gif') !important}.x-item-disabled .x-tbar-page-last{background-image:url('../../resources/themes/images/default/grid/page-last-disabled.gif') !important}.x-item-disabled .x-tbar-page-next{background-image:url('../../resources/themes/images/default/grid/page-next-disabled.gif') !important}.x-item-disabled .x-tbar-page-prev{background-image:url('../../resources/themes/images/default/grid/page-prev-disabled.gif') !important}.xg-hmenu-sort-asc .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-asc.gif')}.xg-hmenu-sort-desc .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-desc.gif')}.xg-hmenu-lock .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-lock.gif')}.xg-hmenu-unlock .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/hmenu-unlock.gif')}.x-group-by-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-cols-icon .x-menu-item-icon{background-image:url('../../resources/themes/images/default/grid/columns.gif')}.x-show-groups-icon{background-image:url('../../resources/themes/images/default/grid/group-by.gif')}.x-grid-drop-indicator{position:absolute;height:1px;line-height:0px;background-color:#77BC71;overflow:visible}.x-grid-drop-indicator .x-grid-drop-indicator-left{position:absolute;top:-8px;left:-12px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.png');height:16px;width:16px}.x-grid-drop-indicator .x-grid-drop-indicator-right{position:absolute;top:-8px;right:-11px;background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.png');height:16px;width:16px}.x-ie6 .x-grid-drop-indicator-left{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-right.gif')}.x-ie6 .x-grid-drop-indicator-right{background-image:url('../../resources/themes/images/default/grid/dd-insert-arrow-left.gif')}.x-grid-row-editor{position:absolute !important;z-index:1;zoom:1;overflow:visible !important}.x-grid-row-editor .x-form-field{font:normal 11px tahoma, arial, verdana, sans-serif !important}.x-grid-row-editor .x-form-display-field{font:normal 11px tahoma, arial, verdana, sans-serif !important;padding-top:0}.x-grid-row-editor .x-panel-body{background-color:#eaf1fb;border-top:1px solid #99bce8 !important;border-bottom:1px solid #99bce8 !important}.x-grid-row-editor .x-form-text{padding-left:2px}.x-grid-editor .x-form-cb-wrap{text-align:center}.x-grid-row-editor-buttons{background-color:#eaf1fb;position:absolute;bottom:-31px;padding:4px;width:200px;height:32px}.x-strict .x-grid-row-editor-buttons{width:192px;height:24px}.x-grid-row-editor-buttons-ml,.x-grid-row-editor-buttons-mr,.x-grid-row-editor-buttons-bl,.x-grid-row-editor-buttons-br,.x-grid-row-editor-buttons-bc{position:absolute;overflow:hidden}.x-grid-row-editor-buttons-bl,.x-grid-row-editor-buttons-br{width:4px;height:4px;bottom:0px;background-image:url('../../resources/themes/images/default/panel/panel-default-framed-corners.gif')}.x-grid-row-editor-buttons-bl{left:0px;background-position:0px -16px}.x-grid-row-editor-buttons-br{right:0px;background-position:0px -20px}.x-grid-row-editor-buttons-bc{position:absolute;left:4px;bottom:0px;width:192px;height:1px;background-color:#99bce8}.x-grid-row-editor-buttons-ml,.x-grid-row-editor-buttons-mr{height:27px;width:1px;top:1px;background-color:#99bce8}.x-grid-row-editor-buttons-ml{left:0px}.x-grid-row-editor-buttons-mr{background-position:0px -20px;right:0px}.x-grid-row-editor-errors ul{margin-left:5px}.x-grid-row-editor-errors li{list-style:disc;margin-left:15px}.x-webkit *:focus{outline:none !important}.x-form-item{display:block;zoom:1;position:relative;margin-bottom:5px}.x-form-item-label{float:left;padding:3px 0 0;z-index:2;position:relative;font-size:12px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default}.x-form-item-label-top{float:none;clear:none;padding:0;display:block}.x-form-item-label-right{float:left;text-align:right}.x-form-item-body{position:relative;float:left}.x-form-invalid-under{padding:2px 2px 2px 18px;clear:left;color:#c0272b;font:normal 11px tahoma, arial, verdana, sans-serif;line-height:16px;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 0 2px}.x-form-invalid-icon{width:18px;height:18px;overflow:hidden;text-indent:-9999px;position:absolute;left:0;top:0;background:url('../../resources/themes/images/default/form/exclamation.gif') no-repeat 2px 3px}.x-form-invalid-icon ul{display:none}.x-form-field,.x-form-display-field{float:left;margin:0 0 0 0;font:normal 12px tahoma, arial, verdana, sans-serif;color:black}.x-form-text,textarea.x-form-field{padding:1px 3px;background:repeat-x 0 0;border:1px solid;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');border-color:#b5b8c8}.x-form-text{height:18px;line-height:18px;vertical-align:middle}.x-ie6 .x-form-text,.x-ie7 .x-form-text,.x-ie8 .x-form-text{line-height:15px}.x-border-box .x-form-text{height:22px}textarea.x-form-field{color:black;overflow:auto;height:auto;line-height:normal;background:repeat-x 0 0;background-color:white;background-image:url('../../resources/themes/images/default/form/text-bg.gif');resize:none}.x-border-box textarea.x-form-field{height:auto}.x-safari.x-mac textarea.x-form-field{margin-bottom:-2px}.x-form-focus,textarea.x-form-focus{border-color:#7eadd9}.x-form-invalid-field,textarea.x-form-invalid-field{background-color:white;background-image:url('../../resources/themes/images/default/grid/invalid_line.gif');background-repeat:repeat-x;background-position:bottom;border-color:#cc3300}.x-form-item{font:normal 12px tahoma, arial, verdana, sans-serif}.x-form-empty-field,textarea.x-form-empty-field{color:gray}.x-webkit .x-form-empty-field{line-height:15px}.x-form-display-field{padding-top:3px}.x-field-default-toolbar .x-form-text{height:16px}.x-border-box .x-field-default-toolbar .x-form-text{height:20px}.x-field-default-toolbar .x-form-item-label-left{padding-left:4px}.x-fieldset{border:1px solid #b5b8c8;padding:10px;margin-bottom:10px;display:block}.x-ie .x-fieldset{padding-top:0;padding-bottom:10px}.x-fieldset-header{font:11px bold tahoma, arial, verdana, sans-serif;color:#15428b;padding:0 3px;line-height:16px}.x-fieldset-header .x-fieldset-header-text{float:left}.x-fieldset-header .x-form-item,.x-fieldset-header .x-tool{float:left;margin:0 3px 0 0}.x-fieldset-header .x-form-cb-wrap{padding:0}.x-webkit .x-fieldset-header{padding-top:1px}.x-fieldset-collapsed .x-fieldset-body{display:none}.x-fieldset-collapsed{padding-bottom:0 !important;border-width:1px 1px 0 1px !important;border-left-color:transparent !important;border-right-color:transparent !important}.x-fieldset{overflow:hidden}.x-fieldset-bwrap{overflow:hidden;zoom:1}.x-fieldset-body{overflow:hidden}.x-form-file-wrap .x-form-text{color:#777}.x-form-file-wrap .x-form-file-btn{overflow:hidden;float:left}.x-form-file-wrap .x-form-file-input{position:absolute;top:-4px;right:-2px;height:30px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;font-size:100px}.x-form-cb-wrap{padding-top:3px}.x-form-checkbox,.x-form-radio{float:none;vertical-align:-1px;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x-form-checkbox::-moz-focus-inner,.x-form-radio::-moz-focus-inner{padding:0;border:0}.x-form-cb-checked .x-form-checkbox,.x-form-cb-checked .x-form-radio{background-position:0 -13px}.x-form-cb-focus{background-position:-13px 0}.x-form-cb-checked .x-form-cb-focus{background-position:-13px -13px}.x-form-radio{background-image:url('../../resources/themes/images/default/form/radio.gif')}.x-form-cb-label-before{margin-right:4px}.x-form-cb-label-after{margin-left:4px}.x-form-checkboxgroup-body{padding:3px 4px}.x-form-invalid .x-form-checkboxgroup-body{border:1px solid #c30;background:white url('../../resources/themes/images/default/grid/invalid_line.gif') repeat-x bottom;padding:2px 3px}.x-check-group-alt{background:#d1ddef;border-top:1px dotted #b5b8c8;border-bottom:1px dotted #b5b8c8}.x-form-check-group-label{color:#333;border-bottom:1px solid #333;margin:0 30px 5px 0;padding:2px}.x-form-trigger-wrap{float:left}.x-form-trigger{background-image:url('../../resources/themes/images/default/form/trigger.gif');background-position:0 0;width:17px;height:21px;float:left;border-bottom:1px solid #b5b8c8;cursor:pointer;cursor:hand}.x-border-box .x-form-trigger{height:22px}.x-field-default-toolbar .x-form-trigger{height:19px}.x-border-box .x-field-default-toolbar .x-form-trigger{height:20px}.x-form-trigger-over{background-position:-17px 0;border-bottom-color:#7eadd9}.x-form-trigger-wrap-focus .x-form-trigger{background-position:-51px 0;border-bottom-color:#7eadd9}.x-form-trigger-wrap-focus .x-form-trigger-over{background-position:-68px 0;border-bottom-color:null}.x-form-trigger-click,.x-form-trigger-wrap-focus .x-form-trigger-click{background-position:-34px 0;border-bottom-color:null}.x-form-trigger-icon{height:16px;background-repeat:no-repeat;background-position:7px 6px}.x-pickerfield-open .x-form-field{-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0}.x-pickerfield-open-above .x-form-field{-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0}.x-form-arrow-trigger .x-form-trigger-icon{background-image:url('../../resources/themes/images/default/boundlist/trigger-arrow.png')}.x-form-date-trigger{background-image:url('../../resources/themes/images/default/form/date-trigger.gif')}.x-form-trigger-wrap .x-form-spinner-up,.x-form-trigger-wrap .x-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner.gif');width:17px;height:11px;font-size:0;border-bottom:0}.x-form-trigger-wrap .x-form-spinner-down{background-position:0 -11px}.x-form-trigger-wrap-focus .x-form-spinner-down{background-position:-51px -11px}.x-form-trigger-wrap .x-form-spinner-down-over{background-position:-17px -11px}.x-form-trigger-wrap-focus .x-form-spinner-down-over{background-position:-68px -11px}.x-form-trigger-wrap .x-form-spinner-down-click{background-position:-34px -11px}.x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-up,.x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down{background-image:url('../../resources/themes/images/default/form/spinner-small.gif');height:10px}.x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down{background-position:0 -10px}.x-field-default-toolbar .x-form-trigger-wrap-focus .x-form-spinner-down{background-position:-51px -10px}.x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down-over{background-position:-17px -10px}.x-field-default-toolbar .x-form-trigger-wrap-focus .x-form-spinner-down-over{background-position:-68px -10px}.x-field-default-toolbar .x-form-trigger-wrap .x-form-spinner-down-click{background-position:-34px -10px}.x-trigger-noedit{cursor:pointer;cursor:hand}.x-form-clear-trigger{background-image:url('../../resources/themes/images/default/form/clear-trigger.gif')}.x-form-search-trigger{background-image:url('../../resources/themes/images/default/form/search-trigger.gif')}.x-html-editor-wrap{border:1px solid #b5b8c8}.x-html-editor-wrap .x-toolbar{border-top-width:0;border-left-width:0;border-right-width:0}.x-html-editor-wrap textarea{background-color:white}.x-html-editor-tb .x-btn-text{background:transparent url('../../resources/themes/images/default/editor/tb-sprite.gif') no-repeat}.x-html-editor-tb .x-edit-bold,.x-menu-item img.x-edit-bold{background-position:0 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-italic,.x-menu-item img.x-edit-italic{background-position:-16px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-underline,.x-menu-item img.x-edit-underline{background-position:-32px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-forecolor,.x-menu-item img.x-edit-forecolor{background-position:-160px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-backcolor,.x-menu-item img.x-edit-backcolor{background-position:-176px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-justifyleft,.x-menu-item img.x-edit-justifyleft{background-position:-112px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-justifycenter,.x-menu-item img.x-edit-justifycenter{background-position:-128px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-justifyright,.x-menu-item img.x-edit-justifyright{background-position:-144px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-insertorderedlist,.x-menu-item img.x-edit-insertorderedlist{background-position:-80px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-insertunorderedlist,.x-menu-item img.x-edit-insertunorderedlist{background-position:-96px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-increasefontsize,.x-menu-item img.x-edit-increasefontsize{background-position:-48px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-decreasefontsize,.x-menu-item img.x-edit-decreasefontsize{background-position:-64px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-sourceedit,.x-menu-item img.x-edit-sourceedit{background-position:-192px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tb .x-edit-createlink,.x-menu-item img.x-edit-createlink{background-position:-208px 0;background-image:url('../../resources/themes/images/default/editor/tb-sprite.gif')}.x-html-editor-tip .x-tip-bd .x-tip-bd-inner{padding:5px;padding-bottom:1px}.x-html-editor-tb .x-toolbar{position:static !important}.x-html-editor-tb .x-font-select{font-size:11px}.x-html-editor-wrap textarea{border:0;padding:3px 2px;overflow:auto}.x-panel,.x-plain{overflow:hidden;position:relative}.x-panel-header{padding:5px 4px 4px 5px}.x-panel-header-icon,.x-window-header-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:0 0;vertical-align:middle;margin-right:4px;margin-top:-1px;margin-bottom:-1px}.x-panel-header-draggable,.x-panel-header-draggable .x-panel-header-text,.x-window-header-draggable,.x-window-header-draggable .x-window-header-text{cursor:move}.x-panel-ghost,.x-window-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);opacity:0.65;cursor:move}.x-panel-header-horizontal .x-panel-header-body,.x-panel-header-horizontal .x-window-header-body,.x-panel-header-horizontal .x-btn-group-header-body,.x-window-header-horizontal .x-panel-header-body,.x-window-header-horizontal .x-window-header-body,.x-window-header-horizontal .x-btn-group-header-body,.x-btn-group-header-horizontal .x-panel-header-body,.x-btn-group-header-horizontal .x-window-header-body,.x-btn-group-header-horizontal .x-btn-group-header-body{width:100%}.x-panel-header-vertical .x-panel-header-body,.x-panel-header-vertical .x-window-header-body,.x-panel-header-vertical .x-btn-group-header-body,.x-window-header-vertical .x-panel-header-body,.x-window-header-vertical .x-window-header-body,.x-window-header-vertical .x-btn-group-header-body,.x-btn-group-header-vertical .x-panel-header-body,.x-btn-group-header-vertical .x-window-header-body,.x-btn-group-header-vertical .x-btn-group-header-body{height:100%}.x-panel-header-vertical,.x-panel-header-vertical .x-panel-header-body,.x-btn-group-header-vertical,.x-btn-group-header-vertical .x-btn-group-header-body,.x-window-header-vertical,.x-window-header-vertical .x-window-header-body{display:-moz-inline-stack;display:inline-block}.x-panel-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap}.x-panel-header-left .x-vml-base,.x-panel-header-right .x-vml-base{left:-3px !important}.x-panel-body{overflow:hidden;position:relative;font-size:12px}.x-panel-header-vertical .x-surface{margin-top:2px}.x-panel-header-plain-vertical .x-surface{margin-top:0}.x-panel-collapsed .x-panel-header-collapsed-border-top{border-bottom-width:1px !important}.x-panel-collapsed .x-panel-header-collapsed-border-right{border-left-width:1px !important}.x-panel-collapsed .x-panel-header-collapsed-border-bottom{border-top-width:1px !important}.x-panel-collapsed .x-panel-header-collapsed-border-left{border-right-width:1px !important}.x-nlg .x-panel-header-vertical .x-frame-mc{background-repeat:repeat-y}.x-panel-default{border-color:#99bce8}.x-panel-header-default{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid}.x-nlg .x-panel-header-default-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-top-bg.gif')}.x-nlg .x-panel-header-default-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-bottom-bg.gif')}.x-nlg .x-panel-header-default-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-left-bg.gif')}.x-nlg .x-panel-header-default-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-right-bg.gif')}.x-panel-header-text-default{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x-panel-body-default{background:white;border-color:#99bce8;color:black;border-width:1px;border-style:solid}.x-panel-collapsed .x-window-header-default,.x-panel-collapsed .x-panel-header-default{border-color:#99bce8}.x-panel-header-default-vertical{border-color:#99bce8}.x-panel-collapsed .x-panel-header-default-top{-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x-panel-collapsed .x-panel-header-default-right{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-bottomleft:null;-webkit-border-bottom-left-radius:null;-o-border-bottom-left-radius:null;-ms-border-bottom-left-radius:null;-khtml-border-bottom-left-radius:null;border-bottom-left-radius:null}.x-panel-collapsed .x-panel-header-default-bottom{-moz-border-radius-topleft:null;-webkit-border-top-left-radius:null;-o-border-top-left-radius:null;-ms-border-top-left-radius:null;-khtml-border-top-left-radius:null;border-top-left-radius:null;-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null}.x-panel-collapsed .x-panel-header-default-left{-moz-border-radius-topright:null;-webkit-border-top-right-radius:null;-o-border-top-right-radius:null;-ms-border-top-right-radius:null;-khtml-border-top-right-radius:null;border-top-right-radius:null;-moz-border-radius-bottomright:null;-webkit-border-bottom-right-radius:null;-o-border-bottom-right-radius:null;-ms-border-bottom-right-radius:null;-khtml-border-bottom-right-radius:null;border-bottom-right-radius:null}.x-nlg .x-panel-header-default-right{background-position:top right}.x-panel-header-default-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset}.x-panel-header-default-right{-moz-box-shadow:#f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd -1px 0 0px 0 inset}.x-panel-header-default-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset}.x-panel-header-default-left{-moz-box-shadow:#f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 1px 0 0px 0 inset}.x-nlg .x-panel-header-default-bottom{background-position:bottom left}.x-panel-header-default-right-tc,.x-panel-header-default-right-mc,.x-panel-header-default-right-bc{background-position:right 0}.x-panel-header-default-bottom-tc,.x-panel-header-default-bottom-mc,.x-panel-header-default-bottom-bc{background-position:0 bottom}.x-panel-default-framed{border-color:#99bce8}.x-panel-header-default-framed{font-size:11px;line-height:15px;border-color:#99bce8;border-width:1px;border-style:solid}.x-nlg .x-panel-header-default-framed-top{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif')}.x-nlg .x-panel-header-default-framed-bottom{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif')}.x-nlg .x-panel-header-default-framed-left{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif')}.x-nlg .x-panel-header-default-framed-right{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif')}.x-panel-header-text-default-framed{color:#04408c;font-size:11px;font-weight:bold;font-family:tahoma, arial, verdana, sans-serif}.x-panel-body-default-framed{background:#dfe9f6;border-color:#99bce8;color:black;border-width:0;border-style:solid}.x-panel-collapsed .x-window-header-default-framed,.x-panel-collapsed .x-panel-header-default-framed{border-color:#99bce8}.x-panel-header-default-framed-vertical{border-color:#99bce8}.x-panel-default-framed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#dfe9f6}.x-nlg .x-panel-default-framed-mc{background-color:#dfe9f6}.x-panel-header-default-framed-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-top-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-right{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-right-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-bottom-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-left-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-top{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-panel-header-default-framed-right{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset}.x-panel-header-default-framed-bottom{-moz-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 -1px 0px 0 inset, #f4f8fd -1px 0 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-panel-header-default-framed-left{-moz-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-webkit-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;-o-box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset;box-shadow:#f4f8fd 0 1px 0px 0 inset, #f4f8fd 0 -1px 0px 0 inset, #f4f8fd 1px 0 0px 0 inset}.x-nlg .x-panel-header-default-framed-bottom{background-position:bottom left}.x-panel .x-panel-header-default-framed-top{border-bottom-width:1px !important}.x-panel .x-panel-header-default-framed-right{border-left-width:1px !important}.x-panel .x-panel-header-default-framed-bottom{border-top-width:1px !important}.x-panel .x-panel-header-default-framed-left{border-right-width:1px !important}.x-panel-header-default-framed-collapsed{-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-ms-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.x-panel-header-default-framed-collapsed-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-collapsed-top-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-top-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-collapsed-right{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-collapsed-right-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-right-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-collapsed-bottom{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-collapsed-bottom-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-bottom-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-collapsed-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:4px 5px 4px 5px;border-width:1px;border-style:solid;background-color:#cbddf3}.x-nlg .x-panel-header-default-framed-collapsed-left-mc{background-image:url('../../resources/themes/images/default/panel-header/panel-header-default-framed-collapsed-left-bg.gif');background-color:#cbddf3}.x-panel-header-default-framed-right-tc,.x-panel-header-default-framed-right-mc,.x-panel-header-default-framed-right-bc{background-position:right 0}.x-panel-header-default-framed-bottom-tc,.x-panel-header-default-framed-bottom-mc,.x-panel-header-default-framed-bottom-bc{background-position:0 bottom}.x-panel-header-plain,.x-panel-body-plain{border:0;padding:0}.x-tip{position:absolute;overflow:visible;border-color:#8eaace}.x-tip .x-tip-header .x-box-item{padding:3px 3px 0}.x-tip .x-tip-header .x-tool{padding:0px 1px 0 0 !important}.x-tip{-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:2px 2px 2px 2px;border-width:1px;border-style:solid;background-color:#e9f2ff}.x-nlg .x-tip-mc{background-color:#e9f2ff}.x-tip-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;color:#444444;font-size:11px;font-weight:bold}.x-tip-header-draggable .x-tip-header-text{cursor:move}.x-tip-body,.x-form-invalid-tip-body{overflow:hidden;position:relative;padding:3px}.x-tip-header,.x-tip-body,.x-form-invalid-tip-body{color:#444444;font-size:11px;font-weight:normal}.x-tip-header a,.x-tip-body a,.x-form-invalid-tip-body a{color:#2a2a2a}.x-tip-anchor{position:absolute;overflow:hidden;height:0;width:0;border-style:solid;border-width:5px;border-color:#8eaace;zoom:1}.x-border-box .x-tip-anchor{width:10px;height:10px}.x-tip-anchor-top{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}.x-tip-anchor-bottom{border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent}.x-tip-anchor-left{border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.x-tip-anchor-right{border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent}.x-form-invalid-tip{border-color:#a1311f;-moz-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-webkit-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;-o-box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset;box-shadow:#d87166 0 1px 0px 0 inset, #d87166 0 -1px 0px 0 inset, #d87166 -1px 0 0px 0 inset, #d87166 1px 0 0px 0 inset}.x-form-invalid-tip-body{background:1px 1px no-repeat;background-image:url('../../resources/themes/images/default/form/exclamation.gif');padding-left:22px}.x-form-invalid-tip-body li{margin-bottom:4px}.x-form-invalid-tip-body li.last{margin-bottom:0}.x-form-invalid-tip-default{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:white}.x-nlg .x-form-invalid-tip-default-mc{background-color:white}.x-slider{zoom:1}.x-slider-inner{position:relative;left:0;top:0;overflow:visible;zoom:1}.x-slider-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;display:block;overflow:hidden}.x-slider-horz{padding-left:7px;background:transparent no-repeat 0 -24px}.x-slider-horz .x-slider-end{padding-right:7px;zoom:1;background:transparent no-repeat right -46px}.x-slider-horz .x-slider-inner{background:transparent repeat-x 0 -2px;height:18px}.x-slider-horz .x-slider-thumb{width:14px;height:15px;position:absolute;left:0;top:1px;background:transparent no-repeat 0 0}.x-slider-horz .x-slider-thumb-over{background-position:-14px -15px}.x-slider-horz .x-slider-thumb-drag{background-position:-28px -30px}.x-slider-vert{padding-top:7px;background:transparent no-repeat -44px 0}.x-slider-vert .x-slider-end{padding-bottom:7px;zoom:1;background:transparent no-repeat -22px bottom;width:22px}.x-slider-vert .x-slider-inner{background:transparent repeat-y 0 0;width:22px}.x-slider-vert .x-slider-thumb{width:15px;height:14px;position:absolute;left:3px;bottom:0;background:transparent no-repeat 0 0}.x-slider-vert .x-slider-thumb-over{background-position:-15px -14px}.x-slider-vert .x-slider-thumb-drag{background-position:-30px -28px}.x-slider-horz,.x-slider-horz .x-slider-end,.x-slider-horz .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-bg.png')}.x-slider-horz .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-thumb.png')}.x-slider-vert,.x-slider-vert .x-slider-end,.x-slider-vert .x-slider-inner{background-image:url('../../resources/themes/images/default/slider/slider-v-bg.png')}.x-slider-vert .x-slider-thumb{background-image:url('../../resources/themes/images/default/slider/slider-v-thumb.png')}.x-progress{border-width:1px;border-style:solid;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;overflow:hidden;height:20px}.x-progress-bar{height:18px;overflow:hidden;position:absolute;width:0;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;-ms-border-radius:0;-khtml-border-radius:0;border-radius:0;border-right:1px solid;border-top:1px solid}.x-progress-text{overflow:hidden;position:absolute;padding:0 5px;height:18px;font-weight:bold;font-size:11px;line-height:16px;text-align:center}.x-progress-text-back{padding-top:1px}.x-progress-default{border-color:#6594cf}.x-progress-default .x-progress-bar{border-right-color:#6594cf;border-top-color:#c6d8ed;background-image:none;background-color:#73a3e0;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b2ccee), color-stop(50%, #88b1e5), color-stop(51%, #73a3e0), color-stop(100%, #5e96db));background-image:-moz-linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db);background-image:linear-gradient(top, #b2ccee,#88b1e5 50%,#73a3e0 51%,#5e96db)}.x-progress-default .x-progress-text{color:white}.x-progress-default .x-progress-text-back{color:#396295}.x-nlg .x-progress-default .x-progress-bar{background:url('../../resources/themes/images/default/progress/progress-default-bg.gif') repeat-x}.x-toolbar{font-size:11px;border:1px solid;padding:2px 0 2px 2px}.x-toolbar .x-form-item-label{font-size:11px;line-height:15px}.x-toolbar .x-toolbar-item{margin:0 2px 0 0}.x-toolbar .x-toolbar-text{margin-left:4px;margin-right:6px;white-space:nowrap;color:#4c4c4c !important;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px;font-weight:normal}.x-toolbar .x-toolbar-separator{display:block;font-size:1px;overflow:hidden;cursor:default;border:0}.x-toolbar .x-toolbar-separator-horizontal{margin:0 3px 0 2px;height:14px;width:0px;border-left:1px solid #98c8ff;border-right:1px solid white}.x-toolbar-footer{background:transparent;border:0px none;margin-top:3px;padding:2px 0 2px 6px}.x-toolbar-footer .x-box-inner{border-width:0}.x-toolbar-footer .x-toolbar-item{margin:0 6px 0 0}.x-toolbar-vertical{padding:2px 2px 0 2px}.x-toolbar-vertical .x-toolbar-item{margin:0 0 2px 0}.x-toolbar-vertical .x-toolbar-text{margin-top:4px;margin-bottom:6px}.x-toolbar-vertical .x-toolbar-separator-vertical{margin:2px 5px 3px 5px;height:0px;width:10px;line-height:0px;border-top:1px solid #98c8ff;border-bottom:1px solid white}.x-toolbar-scroller{padding-left:0}.x-toolbar-spacer{width:2px}.x-toolbar-more-icon{background-image:url('../../resources/themes/images/default/toolbar/more.gif') !important;background-position:2px center !important;background-repeat:no-repeat}.x-toolbar-default{border-color:#99bce8;background-image:none;background-color:#d3e1f1;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dfe9f5), color-stop(100%, #d3e1f1));background-image:-moz-linear-gradient(top, #dfe9f5,#d3e1f1);background-image:linear-gradient(top, #dfe9f5,#d3e1f1)}.x-nlg .x-toolbar-default{background-image:url('../../resources/themes/images/default/toolbar/toolbar-default-bg.gif') !important;background-repeat:repeat-x}.x-toolbar-plain{border:0}.x-window{outline:none}.x-window .x-window-wrap{position:relative}.x-window .x-window-wrap .x-window-body{overflow:hidden}.x-window-body{position:relative;border-style:solid}.x-window-maximized .x-window-wrap .x-window-header{-moz-border-radius:0 !important;-webkit-border-radius:0 !important;-o-border-radius:0 !important;-ms-border-radius:0 !important;-khtml-border-radius:0 !important;border-radius:0 !important}.x-window-collapsed .x-window-header-vertical{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x-window-collapsed .x-window-header-horizontal{-moz-border-radius:5px;-webkit-border-radius:5px;-o-border-radius:5px;-ms-border-radius:5px;-khtml-border-radius:5px;border-radius:5px}.x-window-collapsed .x-window-header-left{padding-right:5px !important}.x-window-collapsed .x-window-header-right{padding-left:5px !important}.x-window-collapsed .x-window-header-top{padding-bottom:5px !important}.x-window-collapsed .x-window-header-bottom{padding-top:5px !important}.x-window-header-left .x-vml-base,.x-window-header-right .x-vml-base{left:-3px !important}.x-window-header-text{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;cursor:default;white-space:nowrap;display:block}.x-window-default{border-color:#a2b1c5;-moz-border-radius:5px 5px;-webkit-border-radius:5px 5px;-o-border-radius:5px 5px;-ms-border-radius:5px 5px;-khtml-border-radius:5px 5px;border-radius:5px 5px;-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-window-default{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:4px 4px 4px 4px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-nlg .x-window-default-mc{background-color:#ced9e7}.x-window-body-default{border-color:#99bbe8;border-width:1px;background:#dfe8f6;color:black}.x-window-header-default{border-color:#a2b1c5;zoom:1}.x-window-header-text-default{color:#04468c;font-weight:bold;line-height:16px;font-family:tahoma, arial, verdana, sans-serif;font-size:11px}.x-window-header-default-top{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:5px 5px 0 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-nlg .x-window-header-default-top-mc{background-color:#ced9e7}.x-window-header-default-right{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;-o-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-khtml-border-top-right-radius:5px;border-top-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:5px 5px 5px 0;border-width:1px;border-style:solid;background-color:#ced9e7}.x-nlg .x-window-header-default-right-mc{background-color:#ced9e7}.x-window-header-default-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-khtml-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:0 5px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-nlg .x-window-header-default-bottom-mc{background-color:#ced9e7}.x-window-header-default-left{-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;-o-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-khtml-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-khtml-border-bottom-left-radius:5px;border-bottom-left-radius:5px;padding:5px 0px 5px 5px;border-width:1px;border-style:solid;background-color:#ced9e7}.x-nlg .x-window-header-default-left-mc{background-color:#ced9e7}.x-window-header-default-top{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-window-header-default-right{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset}.x-window-header-default-bottom{-moz-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 -1px 0px 0 inset, #ecf2fb -1px 0 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-window-header-default-left{-moz-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-webkit-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;-o-box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset;box-shadow:#ecf2fb 0 1px 0px 0 inset, #ecf2fb 0 -1px 0px 0 inset, #ecf2fb 1px 0 0px 0 inset}.x-window-body-plain{background:transparent}.x-message-box .x-window-body{background-color:#ced9e7;border:none}.x-message-box .ext-mb-textarea{margin-top:4px}.x-message-box .x-progress-wrap{margin-top:4px}.x-message-box .ext-mb-icon{width:47px;height:32px}.x-message-box .ext-mb-info,.x-message-box .ext-mb-warning,.x-message-box .ext-mb-question,.x-message-box .ext-mb-error{background:transparent no-repeat top left}.ext-gecko2 .ext-mb-fix-cursor{overflow:auto}.x-message-box .x-msg-box-wait{background-image:url('../../resources/themes/images/default/shared/blue-loading.gif')}.x-message-box .ext-mb-info{background-image:url('../../resources/themes/images/default/shared/icon-info.gif')}.x-message-box .ext-mb-warning{background-image:url('../../resources/themes/images/default/shared/icon-warning.gif')}.x-message-box .ext-mb-question{background-image:url('../../resources/themes/images/default/shared/icon-question.gif')}.x-message-box .ext-mb-error{background-image:url('../../resources/themes/images/default/shared/icon-error.gif')}.x-tab-bar{position:relative;background-color:transparent;background-image:none;background-color:#cbdbef;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dde8f5), color-stop(100%, #cbdbef));background-image:-moz-linear-gradient(top, #dde8f5,#cbdbef);background-image:linear-gradient(top, #dde8f5,#cbdbef);font-size:11px}.x-nlg .x-tab-bar{background-image:url('../../resources/themes/images/default/tab-bar/tab-bar-bg.gif')}.x-tab-bar-default-plain,.x-nlg .x-tab-bar-default-plain{background:transparent none}.x-tab-bar-body{border-style:solid;border-color:#99bce8;position:relative;z-index:2;zoom:1}.x-tab-bar-top .x-tab-bar-body{height:20px;border-width:1px 1px 0;padding:1px 0 3px}.x-tab-bar-top .x-tab-bar-strip{top:22px;border-width:1px 1px 0;height:2px}.x-border-box .x-tab-bar-top .x-tab-bar-body{height:25px}.x-border-box .x-tab-bar-top .x-tab-bar-strip{height:3px}.x-tab-bar-top .x-tab-bar-body-default-plain{height:20px;border-width:0;padding:0 0 3px}.x-tab-bar-top .x-tab-bar-strip-default-plain{top:20px;border-width:1px 1px 0 1px;height:2px}.x-border-box .x-tab-bar-top .x-tab-bar-body-default-plain{height:23px}.x-border-box .x-tab-bar-top .x-tab-bar-strip-default-plain{height:3px}.x-tab-bar-bottom .x-tab-bar-body{height:20px;border-width:0 1px 1px;padding:3px 0 1px}.x-tab-bar-bottom .x-tab-bar-body .x-box-inner{position:relative;top:-1px}.x-tab-bar-bottom .x-tab-bar-body .x-box-scroller,.x-tab-bar-bottom .x-tab-bar-body .x-box-scroller-left,.x-tab-bar-bottom .x-tab-bar-body .x-box-scroller-right{height:22px}.x-tab-bar-bottom .x-tab-bar-strip{top:0;border-width:0 1px 1px 1px;height:2px}.x-border-box .x-tab-bar-bottom .x-tab-bar-body{height:25px}.x-border-box .x-tab-bar-bottom .x-tab-bar-strip{height:3px}.x-tab-bar-bottom .x-tab-bar-body-default-plain{height:20px;border-width:0;padding:3px 0 0}.x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-inner{position:relative;top:-1px}.x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller,.x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller-left,.x-tab-bar-bottom .x-tab-bar-body-default-plain .x-box-scroller-right{height:21px}.x-tab-bar-bottom .x-tab-bar-strip-default-plain{top:0;border-width:0 1px 1px 1px;height:2px}.x-border-box .x-tab-bar-bottom .x-tab-bar-body-default-plain{height:23px}.x-border-box .x-tab-bar-bottom .x-tab-bar-strip-default-plain{height:3px}.x-tab-bar-strip-default,.x-tab-bar-strip-default-plain{font-size:0;line-height:0;position:absolute;z-index:1;border-style:solid;overflow:hidden;border-color:#99bce8;background-color:#deecfd;zoom:1}.x-tab-default-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-o-border-top-left-radius:4px;-ms-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;-o-border-top-right-radius:4px;-ms-border-top-right-radius:4px;-khtml-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;padding:3px 3px 0 3px;border-width:1px 1px 0 1px;border-style:solid;background-color:#deecfd}.x-nlg .x-tab-default-top-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif');background-color:#deecfd}.x-tab-default-bottom{-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-o-border-top-left-radius:0;-ms-border-top-left-radius:0;-khtml-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-o-border-top-right-radius:0;-ms-border-top-right-radius:0;-khtml-border-top-right-radius:0;border-top-right-radius:0;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-o-border-bottom-right-radius:4px;-ms-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-o-border-bottom-left-radius:4px;-ms-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;padding:0 3px 3px 3px;border-width:0 1px 1px 1px;border-style:solid;background-color:#deecfd}.x-nlg .x-tab-default-bottom-mc{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif');background-color:#deecfd}.x-tab{z-index:1;margin:0 0 0 2px;display:inline-block;zoom:1;*display:inline;white-space:nowrap;height:20px;border-color:#8db3e3;cursor:pointer;cursor:hand}.x-tab *{cursor:pointer;cursor:hand}.x-tab em{display:block;padding:0 6px;line-height:1px}.x-tab button{background:none;border:0;padding:0;margin:0;-webkit-appearance:none;font-size:11px;font-weight:bold;color:#416da3;outline:0 none;overflow:hidden;overflow-x:visible;-o-text-overflow:ellipsis;text-overflow:ellipsis}.x-tab button::-moz-focus-inner{border:0;padding:0}.x-tab button .x-tab-inner{background-color:transparent;background-repeat:no-repeat;background-position:0 -2px;display:block;text-align:center;white-space:nowrap}.x-tab img{display:none}.x-border-box .x-tab-default-top{height:21px}.x-border-box .x-tab-default-bottom{height:21px}.x-tab-default-top{-moz-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-bottom:1px solid #99bce8 !important}.x-tab-default-top em{padding-bottom:3px}.x-tab-default-top button,.x-tab-default-top .x-tab-inner{height:13px;line-height:13px}.x-nbr .x-tab-default-top{border-bottom-width:1px !important}.x-tab-default-top-active{border-bottom-color:#deecfd !important}.x-tab-default-bottom{-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;border-top:1px solid #99bce8 !important;-moz-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-webkit-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;-o-box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset;box-shadow:white 0 -1px 0px 0 inset, white -1px 0 0px 0 inset, white 1px 0 0px 0 inset}.x-tab-default-bottom em{padding-top:3px}.x-tab-default-bottom button,.x-tab-default-bottom .x-tab-inner{height:13px;line-height:13px}.x-nbr .x-tab-default-bottom{border-top-width:1px !important}.x-tab-default-bottom-active{border-top-color:#deecfd !important}.x-tab-default-disabled{cursor:default;border-color:#bbd2ef;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x-tab-default-disabled *{cursor:default}.x-tab-default-disabled button{color:#c3b3b3 !important}.x-tab-icon-text-left .x-tab-inner{padding-left:20px}.x-tab button,.x-tab a{position:relative}.x-tab button .x-tab-icon,.x-tab a .x-tab-icon{position:absolute;background-repeat:no-repeat;top:0;left:0;right:auto;bottom:0;width:18px;height:18px}.x-tab-top-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(top, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x-tab-bottom-over{background-image:none;background-color:#e8f2ff;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #d7e5fd), color-stop(25%, #e0edff), color-stop(45%, #e8f2ff));background-image:-moz-linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%);background-image:linear-gradient(bottom, #d7e5fd,#e0edff 25%,#e8f2ff 45%)}.x-tab-active{z-index:3}.x-tab-active button{color:#15498b}.x-tab-top-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(top, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x-tab-bottom-active{background-image:none;background-color:#deecfd;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ffffff), color-stop(25%, #f5f9fe), color-stop(45%, #deecfd));background-image:-moz-linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%);background-image:linear-gradient(bottom, #ffffff,#f5f9fe 25%,#deecfd 45%)}.x-tab-disabled{border-color:#bbd2ef}.x-tab-disabled button{color:#c3b3b3}.x-tab-top-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(top, #e1ecfa,#ecf4fe);background-image:linear-gradient(top, #e1ecfa,#ecf4fe)}.x-tab-bottom-disabled{background-image:none;background:transparent;background-image:none;background-color:#e1ecfa;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #e1ecfa), color-stop(100%, #ecf4fe));background-image:-moz-linear-gradient(bottom, #e1ecfa,#ecf4fe);background-image:linear-gradient(bottom, #e1ecfa,#ecf4fe)}.x-nlg .x-tab-top{background-image:url('../../resources/themes/images/default/tab/tab-default-top-bg.gif')}.x-nlg .x-tab-bottom{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-bg.gif')}.x-nlg .x-tab-top-over{background-image:url('../../resources/themes/images/default/tab/tab-default-top-over-bg.gif')}.x-nlg .x-tab-bottom-over{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-over-bg.gif')}.x-nlg .x-tab-top-active{background-image:url('../../resources/themes/images/default/tab/tab-default-top-active-bg.gif')}.x-nlg .x-tab-bottom-active{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-active-bg.gif')}.x-nlg .x-tab-top-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-top-disabled-bg.gif') !important}.x-nlg .x-tab-bottom-disabled{background-image:url('../../resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif') !important}.x-tab-closable em{padding-right:14px}.x-tab-close-btn{position:absolute !important;top:3px;right:3px;width:11px;height:11px;font-size:0;line-height:0;text-indent:-999px;background:url('../../resources/themes/images/default/tab/tab-default-close.gif') no-repeat;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-tab-close-btn:hover{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-tree-no-lines .x-tree-elbow{background-color:transparent}.x-tree-no-lines .x-tree-elbow-end{background-color:transparent}.x-tree-no-lines .x-tree-elbow-line{background-color:transparent}.x-tree-arrows .x-tree-elbow-plus{background:transparent no-repeat 0 0}.x-tree-arrows .x-tree-elbow-end-plus{background:transparent no-repeat 0 0}.x-tree-arrows .x-tree-elbow-end-minus{background:transparent no-repeat -16px 0}.x-tree-arrows .x-tree-elbow-minus{background:transparent no-repeat -16px 0}.x-tree-arrows .x-tree-elbow{background-color:transparent !important}.x-tree-arrows .x-tree-elbow-end{background-color:transparent !important}.x-tree-arrows .x-tree-elbow-line{background-color:transparent !important}.x-tree-arrows .x-tree-expander-over .x-tree-elbow-plus,.x-tree-arrows .x-tree-expander-over .x-tree-elbow-end-plus{background-position:-32px 0}.x-tree-arrows .x-tree-expander-over .x-tree-elbow-minus,.x-tree-arrows .x-tree-expander-over .x-tree-elbow-end-minus{background-position:-48px 0}.x-tree-arrows .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-tree-arrows .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-position:-16px 0}.x-tree-arrows .x-grid-tree-node-expanded .x-tree-expander-over .x-tree-elbow-plus,.x-tree-arrows .x-grid-tree-node-expanded .x-tree-expander-over .x-tree-elbow-end-plus{background-position:-48px 0}.x-tree-elbow-plus,.x-tree-elbow-minus,.x-tree-elbow-end-plus,.x-tree-elbow-end-minus{cursor:pointer}.x-tree-lines .x-tree-elbow{background-image:url('../../resources/themes/images/default/tree/elbow.gif')}.x-tree-lines .x-tree-elbow-end{background-image:url('../../resources/themes/images/default/tree/elbow-end.gif')}.x-tree-lines .x-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus.gif')}.x-tree-lines .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-plus.gif')}.x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-plus{background-image:url('../../resources/themes/images/default/tree/elbow-minus.gif')}.x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus.gif')}.x-tree-lines .x-tree-elbow-line{background-image:url('../../resources/themes/images/default/tree/elbow-line.gif')}.x-tree-no-lines .x-tree-elbow-plus,.x-tree-no-lines .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-plus-nl.gif')}.x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus{background-image:url('../../resources/themes/images/default/tree/elbow-end-minus-nl.gif')}.x-tree-arrows .x-tree-elbow-plus,.x-tree-arrows .x-tree-elbow-minus,.x-tree-arrows .x-tree-elbow-end-plus,.x-tree-arrows .x-tree-elbow-end-minus{background-image:url('../../resources/themes/images/default/tree/arrows.gif')}.x-tree-icon{margin-right:3px}.x-tree-elbow,.x-tree-elbow-end,.x-tree-elbow-plus,.x-tree-elbow-end-plus,.x-tree-elbow-empty,.x-tree-elbow-line{height:18px;width:16px}.x-tree-icon-leaf{width:16px;background-image:url('../../resources/themes/images/default/tree/leaf.gif')}.x-tree-icon-parent{width:16px;background-image:url('../../resources/themes/images/default/tree/folder.gif')}.x-grid-tree-node-expanded .x-tree-icon-parent{background-image:url('../../resources/themes/images/default/tree/folder-open.gif')}.x-grid-rowbody{padding:0}.x-tree-panel .x-grid-cell-inner{padding:0px}.x-tree-panel .x-grid-row .x-grid-cell{border:none}.x-tree-panel .x-grid-row .x-grid-cell-inner{height:18px;line-height:18px;vertical-align:middle;cursor:pointer}.x-tree-panel .x-grid-row .x-grid-cell-inner img{float:left}.x-ie .x-tree-panel .x-grid-row .x-grid-cell-inner{white-space:normal}.x-tree-checkbox{float:left;margin:2px 3px 0 0;display:block;width:13px;height:13px;background:url('../../resources/themes/images/default/form/checkbox.gif') no-repeat;overflow:hidden;padding:0;border:0}.x-tree-checkbox::-moz-focus-inner{padding:0;border:0}.x-tree-checkbox-checked{background-position:0 -13px}.x-gecko .x-tree-panel .x-grid-row .x-grid-cell-inner{line-height:16px}.x-tree-drop-ok-append .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-append.gif')}.x-tree-drop-ok-above .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-above.gif')}.x-tree-drop-ok-below .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-below.gif')}.x-tree-drop-ok-between .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/tree/drop-between.gif')}.x-grid-tree-loading .x-tree-icon{background-image:url('../../resources/themes/images/default/tree/loading.gif')}.x-tree-ddindicator{height:1px;border-width:1px 0px 0px;border-style:dotted;border-color:green}.x-grid-tree-loading span{font-style:italic;color:#444444}.x-tree-animator-wrap{overflow:hidden}.x-surface{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto}.x-surface{*display:inline}.rvml{behavior:url(#default#VML)}.x-surface tspan{user-select:none;-o-user-select:none;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none}.x-vml-sprite{position:absolute;left:0;top:0;width:1px;height:1px}.x-vml-group{position:absolute;left:0;top:0;width:1000px;height:1000px}.x-vml-measure-span{position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;display:inline}.x-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x-vml-base{position:relative;top:0;left:0;overflow:hidden;display:inline-block}.x-viewport,.x-viewport body{margin:0;padding:0;border:0 none;overflow:hidden;height:100%}.x-dd-drag-repair .x-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.x-dd-drag-repair .x-dd-drop-icon{display:none}.x-dd-drag-ghost{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85);opacity:0.85;padding:5px;padding-left:20px;white-space:nowrap;color:#000;font:normal 11px tahoma, arial, verdana, sans-serif;border:1px solid;border-color:#ddd #bbb #bbb #ddd;background-color:#fff}.x-dd-drop-icon{position:absolute;top:3px;left:3px;display:block;width:16px;height:16px;background-color:transparent;background-position:center;background-repeat:no-repeat;z-index:1}.x-view-selector{position:absolute;left:0;top:0;width:0;background-color:#c3daf9;border:1px dotted #3399bb;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;zoom:1}.x-dd-drop-nodrop .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-no.gif')}.x-dd-drop-ok .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-yes.gif')}.x-dd-drop-ok-add .x-dd-drop-icon{background-image:url('../../resources/themes/images/default/dd/drop-add.gif')}.x-resizable-handle{position:absolute;z-index:100;font-size:1px;line-height:6px;overflow:hidden;zoom:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;background-color:#fff}.x-resizable-handle-east{width:6px;height:100%;right:0;top:0}.x-resizable-over .x-resizable-handle-east{cursor:e-resize}.x-resizable-handle-south{width:100%;height:6px;left:0;bottom:0}.x-resizable-over .x-resizable-handle-south{cursor:s-resize}.x-resizable-handle-west{width:6px;height:100%;left:0;top:0}.x-resizable-over .x-resizable-handle-west{cursor:w-resize}.x-resizable-handle-north{width:100%;height:6px;left:0;top:0}.x-resizable-over .x-resizable-handle-north{cursor:n-resize}.x-resizable-handle-southeast{width:6px;height:6px;right:0;bottom:0;z-index:101}.x-resizable-over .x-resizable-handle-southeast{cursor:se-resize}.x-resizable-handle-northwest{width:6px;height:6px;left:0;top:0;z-index:101}.x-resizable-over .x-resizable-handle-northwest{cursor:nw-resize}.x-resizable-handle-northeast{width:6px;height:6px;right:0;top:0;z-index:101}.x-resizable-over .x-resizable-handle-northeast{cursor:ne-resize}.x-resizable-handle-southwest{width:6px;height:6px;left:0;bottom:0;z-index:101}.x-resizable-over .x-resizable-handle-southwest{cursor:sw-resize}.x-ie .x-resizable-handle-east{margin-right:-1px}.x-ie .x-resizable-handle-south{margin-bottom:-1px}.x-resizable-over .x-resizable-handle,.x-resizable-pinned .x-resizable-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}.x-window .x-window-handle{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-window-collapsed .x-window-handle{display:none}.x-resizable-proxy{border:1px dashed #3b5a82;position:absolute;left:0;top:0;overflow:hidden;z-index:50000}.x-resizable-overlay{position:absolute;left:0;top:0;width:100%;height:100%;display:none;z-index:200000;background-color:#fff;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.x-resizable-over .x-resizable-handle-east,.x-resizable-over .x-resizable-handle-west,.x-resizable-pinned .x-resizable-handle-east,.x-resizable-pinned .x-resizable-handle-west{background-position:left;background-image:url('../../resources/themes/images/default/sizer/e-handle.gif')}.x-resizable-over .x-resizable-handle-south,.x-resizable-over .x-resizable-handle-north,.x-resizable-pinned .x-resizable-handle-south,.x-resizable-pinned .x-resizable-handle-north{background-position:top;background-image:url('../../resources/themes/images/default/sizer/s-handle.gif')}.x-resizable-over .x-resizable-handle-southeast,.x-resizable-pinned .x-resizable-handle-southeast{background-position:top left;background-image:url('../../resources/themes/images/default/sizer/se-handle.gif')}.x-resizable-over .x-resizable-handle-northwest,.x-resizable-pinned .x-resizable-handle-northwest{background-position:bottom right;background-image:url('../../resources/themes/images/default/sizer/nw-handle.gif')}.x-resizable-over .x-resizable-handle-northeast,.x-resizable-pinned .x-resizable-handle-northeast{background-position:bottom left;background-image:url('../../resources/themes/images/default/sizer/ne-handle.gif')}.x-resizable-over .x-resizable-handle-southwest,.x-resizable-pinned .x-resizable-handle-southwest{background-position:top right;background-image:url('../../resources/themes/images/default/sizer/sw-handle.gif')}.x-splitter .x-collapse-el{position:absolute;cursor:pointer;background-color:transparent;background-repeat:no-repeat !important}.x-layout-split-left,.x-layout-split-right{top:50%;margin-top:-17px;width:5px;height:35px}.x-layout-split-top,.x-layout-split-bottom{left:50%;width:35px;height:5px;margin-left:-17px}.x-layout-split-left{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x-layout-split-right{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x-splitter-collapsed .x-layout-split-left{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-right.gif')}.x-splitter-collapsed .x-layout-split-right{background:no-repeat top right;background-image:url('../../resources/themes/images/default/util/splitter/mini-left.gif')}.x-splitter-collapsed .x-layout-split-top{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-bottom.gif')}.x-splitter-collapsed .x-layout-split-bottom{background:no-repeat top left;background-image:url('../../resources/themes/images/default/util/splitter/mini-top.gif')}.x-splitter-horizontal{cursor:e-resize;cursor:row-resize;font-size:1px}.x-splitter-vertical{cursor:e-resize;cursor:col-resize;font-size:1px}.x-splitter-collapsed{cursor:default}.x-splitter-active{z-index:4;font-size:1px;background-color:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x-splitter-active .x-collapse-el{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3}.x-proxy-el{position:absolute;background:#b4b4b4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.x-docked{position:absolute;z-index:1}.x-docked-top{border-bottom-width:0 !important}.x-docked-bottom{border-top-width:0 !important}.x-docked-left{border-right-width:0 !important}.x-docked-right{border-left-width:0 !important}.x-docked-noborder-top{border-top-width:0 !important}.x-docked-noborder-right{border-right-width:0 !important}.x-docked-noborder-bottom{border-bottom-width:0 !important}.x-docked-noborder-left{border-left-width:0 !important}.x-box-inner{overflow:hidden;zoom:1;position:relative;left:0;top:0}.x-box-item{position:absolute !important;left:0;top:0}.x-box-layout-ct,.x-border-layout-ct{overflow:hidden;zoom:1}.x-overflow-hidden{overflow:hidden !important}.x-inline-children > *{display:inline-block !important}.x-abs-layout-item{position:absolute}.x-border-layout-ct{background-color:#dfe8f6}.x-border-region-slide-in{z-index:5}.x-region-collapsed-placeholder{z-index:4}.x-accordion-hd .x-panel-header-text{color:black;font-weight:normal}.x-accordion-hd{background:#d9e7f8 !important;-moz-box-shadow:inset 0 0 0 0 #d9e7f8;-webkit-box-shadow:inset 0 0 0 0 #d9e7f8;-o-box-shadow:inset 0 0 0 0 #d9e7f8;box-shadow:inset 0 0 0 0 #d9e7f8}.x-accordion-hd .x-tool-collapse-top,.x-accordion-hd .x-tool-collapse-right,.x-accordion-hd .x-tool-collapse-bottom,.x-accordion-hd .x-tool-collapse-left{background-position:0 -255px}.x-accordion-hd .x-tool-expand-top,.x-accordion-hd .x-tool-expand-right,.x-accordion-hd .x-tool-expand-bottom,.x-accordion-hd .x-tool-expand-left{background-position:0 -240px}.x-accordion-hd .x-tool-over .x-tool-collapse-top,.x-accordion-hd .x-tool-over .x-tool-collapse-right,.x-accordion-hd .x-tool-over .x-tool-collapse-bottom,.x-accordion-hd .x-tool-over .x-tool-collapse-left{background-position:-15px -255px}.x-accordion-hd .x-tool-over .x-tool-expand-top,.x-accordion-hd .x-tool-over .x-tool-expand-right,.x-accordion-hd .x-tool-over .x-tool-expand-bottom,.x-accordion-hd .x-tool-over .x-tool-expand-left{background-position:-15px -240px}.x-accordion-hd{border-width:1px 0 1px 0 !important;padding:4px 5px 5px 5px;border-top-color:#f3f7fb !important}.x-accordion-body{border-width:0 !important}.x-accordion-hd-sibling-expanded{border-top-color:#99bce8 !important;-moz-box-shadow:inset 0 1px 0 0 #f3f7fb;-webkit-box-shadow:inset 0 1px 0 0 #f3f7fb;-o-box-shadow:inset 0 1px 0 0 #f3f7fb;box-shadow:inset 0 1px 0 0 #f3f7fb}.x-accordion-hd-last-collapsed{border-bottom-color:#d9e7f8 !important}.x-frame-tl,.x-frame-tr,.x-frame-tc,.x-frame-bl,.x-frame-br,.x-frame-bc{overflow:hidden;background-repeat:no-repeat}.x-frame-tc,.x-frame-bc{background-repeat:repeat-x}.x-frame-mc{position:relative;background-repeat:repeat-x;overflow:hidden}.x-box-scroller-left{float:left;height:100%;z-index:5}.x-box-scroller-left .x-toolbar-scroll-left,.x-box-scroller-left .x-tabbar-scroll-left{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat -18px 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-left.gif')}.x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-box-scroller-left .x-toolbar-scroll-left-disabled,.x-box-scroller-left .x-tabbar-scroll-left-disabled{background-position:-18px 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-box-scroller-left .x-toolbar-scroll-left{background-image:url('../../resources/themes/images/default/toolbar/scroll-left.gif');background-position:-14px 0}.x-box-scroller-left .x-toolbar-scroll-left-hover{background-position:0 0}.x-box-scroller-left .x-toolbar-scroll-left-disabled{background-position:-14px 0}.x-box-scroller-left .x-toolbar-scroll-left{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-horizontal-box-overflow-body{float:left}.x-box-scroller-right{float:right;height:100%;z-index:5}.x-box-scroller-right .x-toolbar-scroll-right,.x-box-scroller-right .x-tabbar-scroll-right{width:18px;position:relative;cursor:pointer;height:20px;background:transparent no-repeat 0 0;background-image:url('../../resources/themes/images/default/tab-bar/scroll-right.gif')}.x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-18px 0}.x-box-scroller-right .x-toolbar-scroll-right-disabled,.x-box-scroller-right .x-tabbar-scroll-right-disabled{background-position:0 0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}.x-box-scroller-right .x-toolbar-scroll-right{background-image:url('../../resources/themes/images/default/toolbar/scroll-right.gif')}.x-box-scroller-right .x-toolbar-scroll-right-hover{background-position:-14px 0}.x-box-scroller-right .x-toolbar-scroll-right-disabled{background-position:0 0}.x-box-scroller-right .x-toolbar-scroll-right{width:14px;height:22px;border-bottom:1px solid #8db2e3}.x-box-scroller-top .x-box-scroller{line-height:0;font-size:0}.x-box-scroller-top .x-menu-scroll-top{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-top.gif');height:8px;cursor:pointer}.x-box-scroller-bottom .x-box-scroller{line-height:0;font-size:0}.x-box-scroller-bottom .x-menu-scroll-bottom{background:transparent no-repeat center center;background-image:url('../../resources/themes/images/default/layout/mini-bottom.gif');height:8px;cursor:pointer}.x-box-menu-right{float:right;padding-right:2px}.x-column{float:left}.x-tool{height:15px}.x-tool img{overflow:hidden;width:15px;height:15px;cursor:pointer;background-color:transparent;background-repeat:no-repeat;background-image:url('../../resources/themes/images/default/tools/tool-sprites.gif');margin:0}.x-panel-header-horizontal .x-tool,.x-window-header-horizontal .x-tool{margin-left:2px}.x-panel-header-vertical .x-tool,.x-window-header-vertical .x-tool{margin-bottom:2px}.x-tool-placeholder{visibility:hidden}.x-tool-toggle{background-position:0 -60px}.x-tool-over .x-tool-toggle{background-position:-15px -60px}.x-panel-collapsed .x-tool-toggle,.x-fieldset-collapsed .x-tool-toggle{background-position:0 -75px}.x-panel-collapsed .x-tool-over .x-tool-toggle,.x-fieldset-collapsed .x-tool-over .x-tool-toggle{background-position:-15px -75px}.x-tool-close{background-position:0 0}.x-tool-minimize{background-position:0 -15px}.x-tool-maximize{background-position:0 -30px}.x-tool-restore{background-position:0 -45px}.x-tool-gear{background-position:0 -90px}.x-tool-prev{background-position:0 -105px}.x-tool-next{background-position:0 -120px}.x-tool-pin{background-position:0 -135px}.x-tool-unpin{background-position:0 -150px}.x-tool-right{background-position:0 -165px}.x-tool-left{background-position:0 -180px}.x-tool-help{background-position:0 -300px}.x-tool-save{background-position:0 -285px}.x-tool-search{background-position:0 -270px}.x-tool-minus{background-position:0 -255px}.x-tool-plus{background-position:0 -240px}.x-tool-refresh{background-position:0 -225px}.x-tool-up{background-position:0 -210px}.x-tool-down{background-position:0 -195px}.x-tool-move{background-position:0 -375px}.x-tool-resize{background-position:0 -360px}.x-tool-collapse{background-position:0 -345px}.x-tool-expand{background-position:0 -330px}.x-tool-print{background-position:0 -315px}.x-tool-expand-bottom,.x-tool-collapse-bottom{background-position:0 -195px}.x-tool-expand-top,.x-tool-collapse-top{background-position:0 -210px}.x-tool-expand-left,.x-tool-collapse-left{background-position:0 -180px}.x-tool-expand-right,.x-tool-collapse-right{background-position:0 -165px}.x-tool-over .x-tool-close{background-position:-15px 0}.x-tool-over .x-tool-minimize{background-position:-15px -15px}.x-tool-over .x-tool-maximize{background-position:-15px -30px}.x-tool-over .x-tool-restore{background-position:-15px -45px}.x-tool-over .x-tool-gear{background-position:-15px -90px}.x-tool-over .x-tool-prev{background-position:-15px -105px}.x-tool-over .x-tool-next{background-position:-15px -120px}.x-tool-over .x-tool-pin{background-position:-15px -135px}.x-tool-over .x-tool-unpin{background-position:-15px -150px}.x-tool-over .x-tool-right{background-position:-15px -165px}.x-tool-over .x-tool-left{background-position:-15px -180px}.x-tool-over .x-tool-down{background-position:-15px -195px}.x-tool-over .x-tool-up{background-position:-15px -210px}.x-tool-over .x-tool-refresh{background-position:-15px -225px}.x-tool-over .x-tool-plus{background-position:-15px -240px}.x-tool-over .x-tool-minus{background-position:-15px -255px}.x-tool-over .x-tool-search{background-position:-15px -270px}.x-tool-over .x-tool-save{background-position:-15px -285px}.x-tool-over .x-tool-help{background-position:-15px -300px}.x-tool-over .x-tool-print{background-position:-15px -315px}.x-tool-over .x-tool-expand{background-position:-15px -330px}.x-tool-over .x-tool-collapse{background-position:-15px -345px}.x-tool-over .x-tool-resize{background-position:-15px -360px}.x-tool-over .x-tool-move{background-position:-15px -375px}.x-tool-over .x-tool-expand-bottom,.x-tool-over .x-tool-collapse-bottom{background-position:-15px -195px}.x-tool-over .x-tool-expand-top,.x-tool-over .x-tool-collapse-top{background-position:-15px -210px}.x-tool-over .x-tool-expand-left,.x-tool-over .x-tool-collapse-left{background-position:-15px -180px}.x-tool-over .x-tool-expand-right,.x-tool-over .x-tool-collapse-right{background-position:-15px -165px}.x-horizontal-scroller-present .x-grid-body{border-bottom-width:0px}.x-vertical-scroller-present .x-grid-body{border-right-width:0px}.x-scroller{overflow:hidden}.x-scroller-vertical{border:1px solid #99bce8;border-top-color:#c5c5c5}.x-scroller-horizontal{border:1px solid #99bce8}.x-vertical-scroller-present .x-scroller-horizontal{border-right-width:0px}.x-scroller-ct{overflow:hidden;position:absolute;margin:0;padding:0;border:none;left:0px;top:0px;box-sizing:content-box !important;-ms-box-sizing:content-box !important;-moz-box-sizing:content-box !important;-webkit-box-sizing:content-box !important}.x-scroller-vertical .x-scroller-ct{overflow-y:scroll}.x-scroller-horizontal .x-scroller-ct{overflow-x:scroll}.x-html html,.x-html address,.x-html blockquote,.x-html body,.x-html dd,.x-html div,.x-html dl,.x-html dt,.x-html fieldset,.x-html form,.x-html frame,.x-html frameset,.x-html h1,.x-html h2,.x-html h3,.x-html h4,.x-html h5,.x-html h6,.x-html noframes,.x-html ol,.x-html p,.x-html ul,.x-html center,.x-html dir,.x-html hr,.x-html menu,.x-html pre{display:block}.x-html li{display:list-item;list-style:disc}.x-html head{display:none}.x-html table{display:table}.x-html tr{display:table-row}.x-html thead{display:table-header-group}.x-html tbody{display:table-row-group}.x-html tfoot{display:table-footer-group}.x-html col{display:table-column}.x-html colgroup{display:table-column-group}.x-html td,.x-html th{display:table-cell}.x-html caption{display:table-caption}.x-html th{font-weight:bolder;text-align:center}.x-html caption{text-align:center}.x-html body{margin:8px}.x-html h1{font-size:2em;margin:.67em 0}.x-html h2{font-size:1.5em;margin:.75em 0}.x-html h3{font-size:1.17em;margin:.83em 0}.x-html h4,.x-html p,.x-html blockquote,.x-html ul,.x-html fieldset,.x-html form,.x-html ol,.x-html dl,.x-html dir,.x-html menu{margin:1.12em 0}.x-html h5{font-size:.83em;margin:1.5em 0}.x-html h6{font-size:.75em;margin:1.67em 0}.x-html h1,.x-html h2,.x-html h3,.x-html h4,.x-html h5,.x-html h6,.x-html b,.x-html strong{font-weight:bolder}.x-html blockquote{margin-left:40px;margin-right:40px}.x-html i,.x-html cite,.x-html em,.x-html var,.x-html address{font-style:italic}.x-html pre,.x-html tt,.x-html code,.x-html kbd,.x-html samp{font-family:monospace}.x-html pre{white-space:pre}.x-html button,.x-html textarea,.x-html input,.x-html select{display:inline-block}.x-html big{font-size:1.17em}.x-html small,.x-html sub,.x-html sup{font-size:.83em}.x-html sub{vertical-align:sub}.x-html sup{vertical-align:super}.x-html table{border-spacing:2px}.x-html thead,.x-html tbody,.x-html tfoot{vertical-align:middle}.x-html td,.x-html th{vertical-align:inherit}.x-html s,.x-html strike,.x-html del{text-decoration:line-through}.x-html hr{border:1px inset}.x-html ol,.x-html ul,.x-html dir,.x-html menu,.x-html dd{margin-left:40px}.x-html ul,.x-html menu,.x-html dir{list-style-type:disc}.x-html ol{list-style-type:decimal}.x-html ol ul,.x-html ul ol,.x-html ul ul,.x-html ol ol{margin-top:0;margin-bottom:0}.x-html u,.x-html ins{text-decoration:underline}.x-html br:before{content:"\A"}.x-html :before,.x-html :after{white-space:pre-line}.x-html center{text-align:center}.x-html :link,.x-html :visited{text-decoration:underline}.x-html :focus{outline:invert dotted thin}.x-html BDO[DIR="ltr"]{direction:ltr;unicode-bidi:bidi-override}.x-html BDO[DIR="rtl"]{direction:rtl;unicode-bidi:bidi-override} diff --git a/deluge/ui/web/resources/themes/compass_init.rb b/deluge/ui/web/resources/themes/compass_init.rb new file mode 100755 index 000000000..167d82266 --- /dev/null +++ b/deluge/ui/web/resources/themes/compass_init.rb @@ -0,0 +1,6 @@ +# include the utils rb file which has extra functionality for the ext theme +dir = File.dirname(__FILE__) +require File.join(dir, 'lib', 'utils.rb') + +# register ext4 as a compass framework +Compass::Frameworks.register 'ext4', dir \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/lib/utils.rb b/deluge/ui/web/resources/themes/lib/utils.rb new file mode 100644 index 000000000..d105d6cc2 --- /dev/null +++ b/deluge/ui/web/resources/themes/lib/utils.rb @@ -0,0 +1,93 @@ +module ExtJS4 + module SassExtensions + module Functions + module Utils + def parsebox(list, n) + assert_type n, :Number + if !n.int? + raise ArgumentError.new("List index #{n} must be an integer") + elsif n.to_i < 1 + raise ArgumentError.new("List index #{n} must be greater than or equal to 1") + elsif n.to_i > 4 + raise ArgumentError.new("A box string can't contain more then 4") + end + + new_list = list.clone.to_a + size = new_list.size + + if n.to_i >= size + if size == 1 + new_list[1] = new_list[0] + new_list[2] = new_list[0] + new_list[3] = new_list[0] + elsif size == 2 + new_list[2] = new_list[0] + new_list[3] = new_list[1] + elsif size == 3 + new_list[3] = new_list[1] + end + end + + new_list.to_a[n.to_i - 1] + end + + def parseint(value) + Sass::Script::Number.new(value.to_i) + end + + # Returns a background-image property for a specified images for the theme + def theme_image(theme, path, without_url = false, relative = false) + path = path.value + theme = theme.value + without_url = (without_url.class == FalseClass) ? without_url : without_url.value + + relative_path = "../images/" + + if relative + if relative.class == Sass::Script::String + relative_path = relative.value + relative = true + elsif relative.class == FalseClass || relative.class == TrueClass + relative = relative + else + relative = relative.value + end + else + relative = false + end + + if relative + image_path = File.join(relative_path, theme, path) + else + images_path = File.join($ext_path, 'resources', 'themes', 'images', theme) + image_path = File.join(images_path, path) + end + + if !without_url + url = "url('#{image_path}')" + else + url = "#{image_path}" + end + + Sass::Script::String.new(url) + end + + def theme_image_exists(path) + result = false + + where_to_look = path.value.gsub('../../resources', 'resources') + + if where_to_look && FileTest.exists?("#{where_to_look}") + result = true + end + + return Sass::Script::Bool.new(result) + end + end + end + end +end + +module Sass::Script::Functions + include ExtJS4::SassExtensions::Functions::Utils +end \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/_all.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_all.scss new file mode 100644 index 000000000..366a643ef --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_all.scss @@ -0,0 +1,110 @@ +@import "compass/css3"; +@import "blueprint/typography"; + +$include-default: true !default; +$include-default-uis: true !default; + +@import 'functions'; +@import 'variables'; +@import 'mixins'; + +//core +@import 'core'; + +//layout +@import 'layout/layout'; + +//utils +@import 'util/tool'; +@import 'util/messagebox'; +@import 'util/splitter'; +@import 'util/resizable'; +@import 'util/dragdrop'; +@import 'util/scroller'; +@import 'util/focus'; + +//widgets +@import 'widgets'; + +@if $scope-reset-css { + .#{$prefix}reset { + @if $include-default { + @include extjs-boundlist; + @include extjs-button; + @include extjs-btn-group; + @include extjs-datepicker; + @include extjs-colorpicker; + @include extjs-menu; + @include extjs-grid; + @include extjs-form; + @include extjs-form-field; + @include extjs-form-fieldset; + @include extjs-form-checkboxfield; + @include extjs-form-checkboxgroup; + @include extjs-form-triggerfield; + @include extjs-form-htmleditor; + @include extjs-panel; + @include extjs-qtip; + @include extjs-slider; + @include extjs-progress; + @include extjs-toolbar; + @include extjs-window; + @include extjs-messagebox; + @include extjs-tabbar; + @include extjs-tab; + @include extjs-tree; + @include extjs-drawcomponent; + @include extjs-viewport; + } + + @include extjs-dragdrop; + @include extjs-resizable; + @include extjs-splitter; + @include extjs-layout; + @include extjs-tool; + @include extjs-scroller; + + @include extjs-html; + } +} +@else { + @if $include-default { + @include extjs-boundlist; + @include extjs-button; + @include extjs-btn-group; + @include extjs-datepicker; + @include extjs-colorpicker; + @include extjs-menu; + @include extjs-grid; + @include extjs-form; + @include extjs-form-field; + @include extjs-form-fieldset; + @include extjs-form-file; + @include extjs-form-checkboxfield; + @include extjs-form-checkboxgroup; + @include extjs-form-triggerfield; + @include extjs-form-htmleditor; + @include extjs-panel; + @include extjs-qtip; + @include extjs-slider; + @include extjs-progress; + @include extjs-toolbar; + @include extjs-window; + @include extjs-messagebox; + @include extjs-tabbar; + @include extjs-tab; + @include extjs-tree; + @include extjs-drawcomponent; + @include extjs-viewport; + } + + @include extjs-dragdrop; + @include extjs-resizable; + @include extjs-splitter; + @include extjs-layout; + @include extjs-tool; + @include extjs-scroller; + + @include extjs-html; +} + diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/_core.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_core.scss new file mode 100644 index 000000000..6e4742451 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_core.scss @@ -0,0 +1,2 @@ +@import 'core/reset'; +@import 'core/core'; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/_functions.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_functions.scss new file mode 100644 index 000000000..3cb041437 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_functions.scss @@ -0,0 +1,44 @@ +@function min($value1, $value2) { + @if $value1 > $value2 { + @return $value2; + } + @else if $value2 > $value1 { + @return $value1; + } + @return $value1; +} + +@function max($value1, $value2) { + @if $value1 > $value2 { + @return $value1; + } + @else if $value2 > $value1 { + @return $value2; + } + @return $value1; +} + +@function top($box) { + @return parsebox($box, 1); +} +@function right($box) { + @return parsebox($box, 2); +} +@function bottom($box) { + @return parsebox($box, 3); +} +@function left($box) { + @return parsebox($box, 4); +} +@function vertical($box) { + @return top($box) + bottom($box); +} +@function horizontal($box) { + @return left($box) + right($box); +} +@function boxmax($box) { + @return max(max(top($box), right($box)), max(bottom($box), left($box))); +} +@function boxmin($box) { + @return min(min(top($box), right($box)), min(bottom($box), left($box))); +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/_mixins.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_mixins.scss new file mode 100644 index 000000000..1a95264e9 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_mixins.scss @@ -0,0 +1,22 @@ +@import 'mixins/background-gradient'; +@import 'mixins/theme-background-image'; +@import 'mixins/inner-border'; +@import 'mixins/frame'; + +@mixin no-select { + -moz-user-select:none; + -khtml-user-select:none; + -webkit-user-select:ignore; + + cursor:default; +} + +@mixin important-no-border-radius { + //we need to hard code this so we can declare !important + -moz-border-radius: 0 !important; + -webkit-border-radius: 0 !important; + -o-border-radius: 0 !important; + -ms-border-radius: 0 !important; + -khtml-border-radius: 0 !important; + border-radius: 0 !important; +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/_variables.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_variables.scss new file mode 100644 index 000000000..eb110ae41 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_variables.scss @@ -0,0 +1,41 @@ +@import 'variables/core'; + +$mix-color: desaturate(lighten($base-color, 37), 5) !default; + +@import 'variables/focus'; +@import 'variables/panel'; +@import 'variables/grid'; +@import 'variables/button'; +@import 'variables/pickers'; +@import 'variables/toolbar'; +@import 'variables/form'; +@import 'variables/menu'; +@import 'variables/window'; +@import 'variables/tabs'; +@import 'variables/qtip'; +@import 'variables/progress-bar'; +@import 'variables/btn-group'; +@import 'variables/boundlist'; +@import 'variables/tree'; +@import 'variables/layout'; +@import 'variables/loadmask'; +@import 'variables/htmleditor'; + + + + + + + + + + + + + + + + + + + diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/_widgets.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_widgets.scss new file mode 100644 index 000000000..b7b466af1 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/_widgets.scss @@ -0,0 +1,22 @@ +@import 'widgets/boundlist'; +@import 'widgets/button'; +@import 'widgets/btn-group'; +@import 'widgets/datepicker'; +@import 'widgets/colorpicker'; +@import 'widgets/menu'; +@import 'widgets/panel'; +@import 'widgets/toolbar'; +@import 'widgets/form'; +@import 'widgets/qtip'; +@import 'widgets/window'; +@import 'widgets/tabbar'; +@import 'widgets/tab'; +@import 'widgets/slider'; +@import 'widgets/grid'; +@import 'widgets/tree'; +@import 'widgets/loadmask'; +@import 'widgets/progress-bar'; +@import 'widgets/drawcomponent'; +@import 'widgets/viewport'; + +@import 'widgets/html'; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_core.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_core.scss new file mode 100644 index 000000000..68f1fba50 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_core.scss @@ -0,0 +1,317 @@ +.#{$prefix}body { + color: $color; + font-size: $font-size; + font-family: $font-family; +} + +.#{$prefix}clear { + overflow: hidden; + clear: both; + height: 0; + width: 0; + font-size: 0; + line-height: 0; +} + +.#{$prefix}layer { + position: absolute; + overflow: hidden; + zoom: 1; +} + +.#{$prefix}shim { + position: absolute; + left: 0; + top: 0; + overflow: hidden; + @include opacity(0); +} + +.#{$prefix}hide-display { + display: none !important; +} + +.#{$prefix}hide-visibility { + visibility:hidden !important; +} + +.#{$prefix}item-disabled { + @include opacity(0.4); +} + +.#{$prefix}ie6 .#{$prefix}item-disabled { + filter:none; +} + +.#{$prefix}hidden, +.#{$prefix}hide-offsets { + display: block !important; + position: absolute!important; + left: -10000px!important; + top: -10000px!important; +} + +.#{$prefix}hide-nosize { + height: 0!important; + width: 0!important; +} + +.#{$prefix}masked-relative { + position: relative; +} + +@if $include-ie { + .#{$prefix}ie6 .#{$prefix}masked select, + .#{$prefix}ie6.#{$prefix}body-masked select { + visibility: hidden !important; + } +} + +// Styles for the three schemes for showing shadows under an element: CSS3, IE blur transform, or 9 point framing with images. +.#{$prefix}css-shadow { + position: absolute; + @include border-radius($window-border-radius); +} + +.#{$prefix}ie-shadow { + background-color:#777; + display: none; + position: absolute; + overflow: hidden; + zoom: 1; +} + +.#{$prefix}frame-shadow { + display: none; + position: absolute; + overflow: hidden; +} + +.#{$prefix}frame-shadow * { + overflow: hidden; +} + +.#{$prefix}frame-shadow * { + padding: 0; + border: 0; + margin: 0; + clear: none; + zoom: 1; +} + +/* top bottom */ +.#{$prefix}frame-shadow .xstc, +.#{$prefix}frame-shadow .xsbc { + height: 6px; + float: left; +} + +.#{$prefix}frame-shadow .xsc { + width: 100%; +} + +.#{$prefix}frame-shadow .xsml { + background: transparent repeat-y 0 0; +} + +.#{$prefix}frame-shadow .xsmr { + background: transparent repeat-y -6px 0; +} + +.#{$prefix}frame-shadow .xstl { + background: transparent no-repeat 0 0; +} + +.#{$prefix}frame-shadow .xstc { + background: transparent repeat-x 0 -30px; +} + +.#{$prefix}frame-shadow .xstr { + background: transparent repeat-x 0 -18px; +} + +.#{$prefix}frame-shadow .xsbl { + background: transparent no-repeat 0 -12px; +} + +.#{$prefix}frame-shadow .xsbc { + background: transparent repeat-x 0 -36px; +} + +.#{$prefix}frame-shadow .xsbr { + background: transparent repeat-x 0 -6px; +} +.#{$prefix}frame-shadow .xstl, +.#{$prefix}frame-shadow .xstc, +.#{$prefix}frame-shadow .xstr, +.#{$prefix}frame-shadow .xsbl, +.#{$prefix}frame-shadow .xsbc, +.#{$prefix}frame-shadow .xsbr { + width: 6px; + height: 6px; + float: left; + + @if $include-shadow-images { + @include theme-background-image($theme-name, 'shared/shadow.png'); + } +} + +.#{$prefix}frame-shadow .xsml, +.#{$prefix}frame-shadow .xsmr { + width: 6px; + float: left; + height: 100%; + + @if $include-shadow-images { + @include theme-background-image($theme-name, 'shared/shadow-lr.png'); + } +} + +.#{$prefix}frame-shadow .xsmc { + float: left; + height: 100%; + + @if $include-shadow-images { + @include theme-background-image($theme-name, 'shared/shadow-c.png'); + } +} + +.#{$prefix}frame-shadow .xst, +.#{$prefix}frame-shadow .xsb { + height: 6px; + overflow: hidden; + width: 100%; +} + +//box wrap - Ext.get("foo").boxWrap(); +.x-box-tl { + background: transparent no-repeat 0 0; + zoom:1; +} + +.x-box-tc { + height: 8px; + background: transparent repeat-x 0 0; + overflow: hidden; +} + +.x-box-tr { + background: transparent no-repeat right -8px; +} + +.x-box-ml { + background: transparent repeat-y 0; + padding-left: 4px; + overflow: hidden; + zoom:1; +} + +.x-box-mc { + background: repeat-x 0 -16px; + padding: 4px 10px; +} + +.x-box-mc h3 { + margin: 0 0 4px 0; + zoom:1; +} + +.x-box-mr { + background: transparent repeat-y right; + padding-right: 4px; + overflow: hidden; +} + +.x-box-bl { + background: transparent no-repeat 0 -16px; + zoom:1; +} + +.x-box-bc { + background: transparent repeat-x 0 -8px; + height: 8px; + overflow: hidden; +} + +.x-box-br { + background: transparent no-repeat right -24px; +} + +.x-box-tl, .x-box-bl { + padding-left: 8px; + overflow: hidden; +} + +.x-box-tr, .x-box-br { + padding-right: 8px; + overflow: hidden; +} + +.x-box-tl { + @include theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-tc { + @include theme-background-image($theme-name, 'box/tb.gif'); +} + +.x-box-tr { + @include theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-ml { + @include theme-background-image($theme-name, 'box/l.gif'); +} + +.x-box-mc { + background-color: #eee; + @include theme-background-image($theme-name, 'box/tb.gif'); + font-family: "Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif; + color: #393939; + font-size: 15px; +} + +.x-box-mc h3 { + font-size: 18px; + font-weight: bold; +} + +.x-box-mr { + @include theme-background-image($theme-name, 'box/r.gif'); +} + +.x-box-bl { + @include theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-bc { + @include theme-background-image($theme-name, 'box/tb.gif'); +} + +.x-box-br { + @include theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-blue .x-box-bl, .x-box-blue .x-box-br, .x-box-blue .x-box-tl, .x-box-blue .x-box-tr { + @include theme-background-image($theme-name, 'box/corners-blue.gif'); +} + +.x-box-blue .x-box-bc, .x-box-blue .x-box-mc, .x-box-blue .x-box-tc { + @include theme-background-image($theme-name, 'box/tb-blue.gif'); +} + +.x-box-blue .x-box-mc { + background-color: #c3daf9; +} + +.x-box-blue .x-box-mc h3 { + color: #17385b; +} + +.x-box-blue .x-box-ml { + @include theme-background-image($theme-name, 'box/l-blue.gif'); +} + +.x-box-blue .x-box-mr { + @include theme-background-image($theme-name, 'box/r-blue.gif'); +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_reset.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_reset.scss new file mode 100644 index 000000000..47792d6a9 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/core/_reset.scss @@ -0,0 +1,136 @@ +@if $scope-reset-css { + .#{$prefix}reset { + html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, + h4, h5, h6, pre, code, form, fieldset, legend, + input, textarea, p, blockquote, th, td { + margin:0; + padding:0; + } + + table { + border-collapse:collapse; + border-spacing:0; + } + + fieldset, img { + border:0; + } + + address, caption, cite, code, + dfn, em, strong, th, var { + font-style:normal; + font-weight:normal; + } + + li { + list-style:none; + } + + caption, th { + text-align:left; + } + + h1, h2, h3, h4, h5, h6 { + font-size: 100%; + } + + q:before, + q:after { + content:""; + } + + abbr, acronym { + border:0; + font-variant:normal; + } + + sup { + vertical-align:text-top; + } + + sub { + vertical-align:text-bottom; + } + + input, textarea, select { + font-family:inherit; + font-size:inherit; + font-weight:inherit; + } + + *:focus { + outline:none; + } + } +} +@else { + html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, + h4, h5, h6, pre, code, form, fieldset, legend, + input, textarea, p, blockquote, th, td { + margin:0; + padding:0; + } + + table { + border-collapse:collapse; + border-spacing:0; + } + + fieldset, img { + border:0; + } + + address, caption, cite, code, + dfn, em, strong, th, var { + font-style:normal; + font-weight:normal; + } + + li { + list-style:none; + } + + caption, th { + text-align:left; + } + + h1, h2, h3, h4, h5, h6 { + font-size: 100%; + } + + q:before, + q:after { + content:""; + } + + abbr, acronym { + border:0; + font-variant:normal; + } + + sup { + vertical-align:text-top; + } + + sub { + vertical-align:text-bottom; + } + + input, textarea, select { + font-family:inherit; + font-size:inherit; + font-weight:inherit; + } + + *:focus { + outline:none; + } +} + +.#{$prefix}border-box .#{$prefix}reset, +.#{$prefix}border-box .#{$prefix}reset * { + box-sizing:border-box; + -moz-box-sizing:border-box; + -ms-box-sizing:border-box; + -webkit-box-sizing:border-box; +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/layout/_layout.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/layout/_layout.scss new file mode 100644 index 000000000..df79eecdc --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/layout/_layout.scss @@ -0,0 +1,305 @@ +@mixin extjs-layout { + .#{$prefix}docked { + position: absolute; + z-index: 1; + } + + /** + * Dock Layouts + * @todo move this somewhere else? + */ + .#{$prefix}docked-top { + border-bottom-width: 0 !important; + } + + .#{$prefix}docked-bottom { + border-top-width: 0 !important; + } + + .#{$prefix}docked-left { + border-right-width: 0 !important; + } + + .#{$prefix}docked-right { + border-left-width: 0 !important; + } + + .#{$prefix}docked-noborder-top { + border-top-width: 0 !important; + } + + .#{$prefix}docked-noborder-right { + border-right-width: 0 !important; + } + + .#{$prefix}docked-noborder-bottom { + border-bottom-width: 0 !important; + } + + .#{$prefix}docked-noborder-left { + border-left-width: 0 !important; + } + + .#{$prefix}box-inner { + overflow:hidden; + + zoom:1; + + position:relative; + left:0; + top:0; + } + + .#{$prefix}box-item { + position:absolute !important; + left:0; + top:0; + } + + .#{$prefix}box-layout-ct, + .#{$prefix}border-layout-ct { + overflow: hidden; + zoom: 1; + } + + .#{$prefix}overflow-hidden { + overflow:hidden !important; + } + + .#{$prefix}inline-children > * { + display: inline-block !important; + } + + .#{$prefix}abs-layout-item { + position: absolute; + } + + .#{$prefix}border-layout-ct { + background-color: $border-layout-ct-background; + } + + .#{$prefix}border-region-slide-in { + z-index: 5; + } + + .#{$prefix}region-collapsed-placeholder { + z-index: 4; + } + + .#{$prefix}accordion-hd .#{$prefix}panel-header-text { + color: $accordion-header-color; + font-weight: normal; + } + + .#{$prefix}accordion-hd { + .#{$prefix}tool-collapse-top, + .#{$prefix}tool-collapse-right, + .#{$prefix}tool-collapse-bottom, + .#{$prefix}tool-collapse-left { + background-position: 0 -255px; + } + + .#{$prefix}tool-expand-top, + .#{$prefix}tool-expand-right, + .#{$prefix}tool-expand-bottom, + .#{$prefix}tool-expand-left { + background-position: 0 -240px; + } + + .#{$prefix}tool-over { + .#{$prefix}tool-collapse-top, + .#{$prefix}tool-collapse-right, + .#{$prefix}tool-collapse-bottom, + .#{$prefix}tool-collapse-left { + background-position: -15px -255px; + } + } + + .#{$prefix}tool-over { + .#{$prefix}tool-expand-top, + .#{$prefix}tool-expand-right, + .#{$prefix}tool-expand-bottom, + .#{$prefix}tool-expand-left { + background-position: -15px -240px; + } + } + + background: $accordion-header-background-color !important; + @include single-box-shadow($accordion-header-background-color, 0, 0, 0, 0, true); + } + + .#{$prefix}accordion-hd { + border-width: 1px 0 1px 0 !important; + padding: 4px 5px 5px 5px; + border-top-color: $panel-header-inner-border-color !important; + } + + .#{$prefix}accordion-body { + border-width: 0 !important; + } + + .#{$prefix}accordion-hd-sibling-expanded { + border-top-color: $panel-border-color !important; + @include single-box-shadow($panel-header-inner-border-color, 0, 1px, 0, 0, true); + } + + .#{$prefix}accordion-hd-last-collapsed { + border-bottom-color: $accordion-header-background-color !important; + } + + .#{$prefix}frame-tl, + .#{$prefix}frame-tr, + .#{$prefix}frame-tc, + .#{$prefix}frame-bl, + .#{$prefix}frame-br, + .#{$prefix}frame-bc { + overflow: hidden; + background-repeat: no-repeat; + } + + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-repeat: repeat-x; + } + + .#{$prefix}frame-mc { + position: relative; + background-repeat: repeat-x; + overflow: hidden; + } + + // Classes for horizontal Box layout scroller. + // Uses the *TAB* scroller image because it's all we have. + // This will not work well in other cases + .#{$prefix}box-scroller-left { + float: left; + height: 100%; + + z-index: 5; + + .#{$prefix}toolbar-scroll-left, + .#{$prefix}tabbar-scroll-left { + width: 18px; + position: relative; + cursor: pointer; + height: $tab-height; + background: transparent no-repeat -18px 0; + @include theme-background-image($theme-name, 'tab-bar/scroll-left.gif'); + } + .#{$prefix}toolbar-scroll-left-hover { + background-position: 0 0; + } + .#{$prefix}toolbar-scroll-left-disabled, + .#{$prefix}tabbar-scroll-left-disabled { + background-position: -18px 0; + @include opacity(.5); + + cursor:default; + } + + .#{$prefix}toolbar-scroll-left { + @include theme-background-image($theme-name, 'toolbar/scroll-left.gif'); + background-position: -14px 0; + } + .#{$prefix}toolbar-scroll-left-hover { + background-position: 0 0; + } + .#{$prefix}toolbar-scroll-left-disabled { + background-position: -14px 0; + } + + .#{$prefix}toolbar-scroll-left { + width: 14px; + height: 22px; + + border-bottom: 1px solid #8db2e3; + } + } + + .#{$prefix}horizontal-box-overflow-body { + float: left; + } + .#{$prefix}box-scroller-right { + float: right; + height: 100%; + + z-index: 5; + + .#{$prefix}toolbar-scroll-right, + .#{$prefix}tabbar-scroll-right { + width: 18px; + position: relative; + cursor: pointer; + height: $tab-height; + background: transparent no-repeat 0 0; + @include theme-background-image($theme-name, 'tab-bar/scroll-right.gif'); + } + .#{$prefix}toolbar-scroll-right-hover { + background-position: -18px 0; + } + .#{$prefix}toolbar-scroll-right-disabled, + .#{$prefix}tabbar-scroll-right-disabled { + background-position: 0 0; + @include opacity(.5); + + cursor:default; + } + + .#{$prefix}toolbar-scroll-right { + @include theme-background-image($theme-name, 'toolbar/scroll-right.gif'); + } + .#{$prefix}toolbar-scroll-right-hover { + background-position: -14px 0; + } + .#{$prefix}toolbar-scroll-right-disabled { + background-position: 0 0; + } + + .#{$prefix}toolbar-scroll-right { + width: 14px; + height: 22px; + + border-bottom: 1px solid #8db2e3; + } + } + +// Classes for vertical Box layout scroller + .#{$prefix}box-scroller-top { + .#{$prefix}box-scroller { + line-height: 0; + font-size: 0; + } + .#{$prefix}menu-scroll-top { + background: transparent no-repeat center center; + @include theme-background-image($theme-name, 'layout/mini-top.gif'); + height: 8px; + cursor: pointer; + } + } + .#{$prefix}box-scroller-bottom { + .#{$prefix}box-scroller { + line-height: 0; + font-size: 0; + } + .#{$prefix}menu-scroll-bottom { + background: transparent no-repeat center center; + @include theme-background-image($theme-name, 'layout/mini-bottom.gif'); + height: 8px; + cursor: pointer; + } + } + + .#{$prefix}box-menu-right { + float: right; + padding-right: $toolbar-horizontal-spacing; + } + + .#{$prefix}column { + float: left; + } + @if $include-ie { + .#{$prefix}ie6 .#{$prefix}column { + display: inline; /*prevent IE6 double-margin bug*/ + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_background-gradient.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_background-gradient.scss new file mode 100644 index 000000000..c37681f59 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_background-gradient.scss @@ -0,0 +1,122 @@ +/** + * @mixin background-gradient + * + * @param {Color} $background-color The background color of the gradient + * @param {String/List} $type The type of gradient to be used. Can either be a String which is a predefined gradient, or it can + * can be a list of color_stops. If none is set, it will still set the `background-color` to the $background-color. + * @param {String} $direction The direction of the gradient. Can either me `top` or `left`. (defaults to `top`) + */ +@mixin background-gradient($bg-color, $type: $base-gradient, $direction: top) { + background-image: none; + background-color: $bg-color; + + @if $base-gradient != null and $bg-color != transparent { + //color_stops + @if type-of($type) == "list" { + @include background-image(linear-gradient($direction, $type)); + } + + //default gradients + @else if $type == bevel { + @include background-image(linear-gradient($direction, color_stops( + lighten($bg-color, 15%), + lighten($bg-color, 8%) 30%, + $bg-color 65%, + darken($bg-color, 6%) + ))); + } @else if $type == glossy { + @include background-image(linear-gradient($direction, color_stops(lighten($bg-color, 15%), lighten($bg-color, 5%) 50%, $bg-color 51%, darken($bg-color, 5%)))); + } @else if $type == recessed { + @include background-image(linear-gradient($direction, color_stops(darken($bg-color, 10%), darken($bg-color, 5%) 10%, $bg-color 65%, lighten($bg-color, .5%)))); + } @else if $type == matte { + @include background-image(linear-gradient($direction, color_stops(lighten($bg-color, 3%), darken($bg-color, 4%)))); + } @else if $type == matte-reverse { + @include background-image(linear-gradient($direction, color_stops(darken($bg-color, 6%), lighten($bg-color, 4%)))); + } @else if $type == glossy-toolbar { + @include background-image(linear-gradient($direction, color_stops(#F0F5FA, #DAE6F4 2%, #CEDDEF))); + } + + //ext3.3 gradients + @else if $type == panel-header { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: -0.857deg, $saturation: -1.63%, $lightness: 3.529%), + adjust-color($bg-color, $hue: 0.158deg, $saturation: -1.21%, $lightness: 0.392%) 45%, + adjust-color($bg-color, $hue: 1.154deg, $saturation: 0.607%, $lightness: -7.647%) 46%, + adjust-color($bg-color, $hue: 1.154deg, $saturation: 0.607%, $lightness: -7.647%) 50%, + adjust-color($bg-color, $hue: 1.444deg, $saturation: -1.136%, $lightness: -4.706%) 51%, + $bg-color + ))); + } @else if $type == tabbar { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: 0.0deg, $saturation: 1.604%, $lightness: 4.706%), + $bg-color + ))); + } @else if $type == tab { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: 1.382deg, $saturation: -18.571%, $lightness: -4.902%), + adjust-color($bg-color, $hue: 0.43deg, $saturation: -10.311%, $lightness: -2.157%) 25%, + $bg-color 45% + ))); + } @else if $type == tab-active { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: -212.903deg, $saturation: -88.571%, $lightness: 6.863%), + adjust-color($bg-color, $hue: 0.43deg, $saturation: -6.753%, $lightness: 4.706%) 25%, + $bg-color 45% + ))); + } @else if $type == tab-over { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: 4.462deg, $saturation: -9.524%, $lightness: -3.725%), + adjust-color($bg-color, $hue: 2.272deg, $saturation: 0.0%, $lightness: -1.569%) 25%, + $bg-color 45% + ))); + } @else if $type == tab-disabled { + @include background-image(linear-gradient($direction, color_stops( + $bg-color, + adjust-color($bg-color, $hue: -0.267deg, $saturation: 18.571%, $lightness: 2.941%) + ))); + } @else if $type == grid-header { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: 0deg, $saturation: 0%, $lightness: 20.392%), + adjust-color($bg-color, $hue: 220.0deg, $saturation: 5.66%, $lightness: 12.353%) + ))); + } @else if $type == grid-header-over { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: 0.175deg, $saturation: 0.967%, $lightness: 14.118%), + adjust-color($bg-color, $hue: 0.175deg, $saturation: 0.967%, $lightness: 14.118%) 39%, + adjust-color($bg-color, $hue: 0.372deg, $saturation: 0.101%, $lightness: 10.196%) 40%, + adjust-color($bg-color, $hue: 0.372deg, $saturation: 0.101%, $lightness: 10.196%) + ))); + } @else if $type == grid-row-over { + @include background-image(linear-gradient($direction, color_stops( + adjust-color($bg-color, $hue: 0.175deg, $saturation: 0.967%, $lightness: 14.118%), + $bg-color + ))); + } @else if $type == grid-cell-special { + @include background-image(linear-gradient(left, color_stops( + $bg-color, + darken($bg-color, 5) + ))); + } @else if $type == glossy-button or $type == glossy-button-disabled { + @include background-image(linear-gradient($direction, color_stops( + $bg-color, + adjust-color($bg-color, $hue: 0deg, $saturation: 0%, $lightness: -2.353%) 48%, + adjust-color($bg-color, $hue: 0deg, $saturation: 0%, $lightness: -11.373%) 52%, + adjust-color($bg-color, $hue: 0deg, $saturation: 0%, $lightness: -9.412%) + ))); + } @else if $type == glossy-button-over { + @include background-image(linear-gradient($direction, color_stops( + $bg-color, + adjust-color($bg-color, $hue: 1.754deg, $saturation: 0.0%, $lightness: -2.157%) 48%, + adjust-color($bg-color, $hue: 5.833deg, $saturation: -35.135%, $lightness: -9.216%) 52%, + adjust-color($bg-color, $hue: 5.833deg, $saturation: -27.273%, $lightness: -7.647%) + ))); + } @else if $type == glossy-button-pressed { + @include background-image(linear-gradient($direction, color_stops( + $bg-color, + adjust-color($bg-color, $hue: -1.839deg, $saturation: -2.18%, $lightness: 2.157%) 48%, + adjust-color($bg-color, $hue: -2.032deg, $saturation: 37.871%, $lightness: -4.706%) 52%, + adjust-color($bg-color, $hue: -1.641deg, $saturation: 36.301%, $lightness: -2.549%) + ))); + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_color-by-background.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_color-by-background.scss new file mode 100644 index 000000000..c10eab11a --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_color-by-background.scss @@ -0,0 +1,23 @@ +/** + * + */ +@mixin color-by-background($bg-color, $contrast: 70%, $default-color: null, $bevel-text: true) { + @if ($default-color != null) { + color: $default-color; + } @else { + @if (lightness($bg-color) > 40) { + color: darken($bg-color, $contrast); + } + @else { + color: lighten($bg-color, $contrast) + } + } + + @if ($bevel-text != false) { + @if (lightness($bg-color) < 40) { + @include text-shadow(rgba(0,0,0,.5) 0 -1px 0); + } @else { + @include text-shadow(rgba(255,255,255,.25) 0 1px 0); + } + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_frame.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_frame.scss new file mode 100644 index 000000000..171c3071c --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_frame.scss @@ -0,0 +1,205 @@ +@mixin x-frame( + $cls, + $ui: null, + $border-radius: 0px, + $border-width: 0px, + $padding: null, + $background-color: null, + $background-gradient: null, + $table: false, + $background-direction: top +) { + $cls-ui: $cls; + @if $ui != null { + $cls-ui: $cls + '-' + $ui; + } + + $vertical: false; + @if $background-direction == left or $background-direction == right { + $vertical: true; + } + + $frame-top: max(top($border-radius), right($border-radius)); + $frame-right: max(right($border-radius), bottom($border-radius)); + $frame-bottom: max(bottom($border-radius), left($border-radius)); + $frame-left: max(left($border-radius), top($border-radius)); + + $padding-top: 0; + $padding-right: 0; + $padding-bottom: 0; + $padding-left: 0; + + @if $padding == null { + $padding-top: $frame-top - top($border-width); + $padding-right: $frame-right - right($border-width); + $padding-bottom: $frame-bottom - bottom($border-width); + $padding-left: $frame-left - left($border-width); + } + @else { + $padding-top: top($padding); + $padding-right: right($padding); + $padding-bottom: bottom($padding); + $padding-left: left($padding); + } + + @if $padding-top < $frame-top { + $padding-top: $frame-top - top($border-width); + } + @if $padding-right < $frame-right { + $padding-right: $frame-right - right($border-width); + } + @if $padding-bottom < $frame-bottom { + $padding-bottom: $frame-bottom - bottom($border-width); + } + @if $padding-left < $frame-left { + $padding-left: $frame-left - left($border-width); + } + + .#{$prefix}#{$cls-ui} { + @if $supports-border-radius { + @if length($border-radius) == 2 { + @include border-top-left-radius(nth($border-radius, 1)); + @include border-top-right-radius(nth($border-radius, 2)); + } @else if length($border-radius) == 3 { + @include border-top-left-radius(nth($border-radius, 1)); + @include border-top-right-radius(nth($border-radius, 2)); + @include border-bottom-right-radius(nth($border-radius, 3)); + } @else if length($border-radius) == 4 { + @include border-top-left-radius(nth($border-radius, 1)); + @include border-top-right-radius(nth($border-radius, 2)); + @include border-bottom-right-radius(nth($border-radius, 3)); + @include border-bottom-left-radius(nth($border-radius, 4)); + } @else { + @include border-radius($border-radius); + } + } + padding: $padding-top $padding-right $padding-bottom $padding-left; + border-width: $border-width; + border-style: solid; + @if $background-color != null { + @if $supports-gradients and $background-gradient != null { + @include background-gradient($background-color, $background-gradient, $background-direction); + } + @else { + background-color: $background-color; + } + } + } + + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + .#{$prefix}#{$cls-ui}-mc { + @if $background-gradient != null { + @include theme-background-image($theme-name, '#{$cls}/#{$cls-ui}-bg.gif', false, $relative-image-path-for-uis); + } + @if $background-color != null { + background-color: $background-color; + } + } + } + } + + @if not $supports-border-radius or $compile-all { + .#{$prefix}nbr { + .#{$prefix}#{$cls-ui} { + padding: 0 !important; + border-width: 0 !important; + @include border-radius(0px); + @if $background-color != null { + background-color: transparent; + } + @else { + background: #fff; + } + + @function pad($radius) { + $radius: boxmax($radius); + $radius: parseint($radius); + @if $radius > 10 { + @return $radius; + } + @else { + @return "0" + $radius; + } + } + + $type: '100'; + @if $table == true { + $type: '110'; + } + $direction: '100'; + @if $vertical == true { + $direction: '110'; + } + + $left: $type + pad(top($border-radius)) + pad(right($border-radius)) + 'px'; + $top: $direction + pad(bottom($border-radius)) + pad(left($border-radius)) + 'px'; + background-position: unquote($left) unquote($top); + } + + .#{$prefix}#{$cls-ui}-tl, + .#{$prefix}#{$cls-ui}-bl, + .#{$prefix}#{$cls-ui}-tr, + .#{$prefix}#{$cls-ui}-br, + .#{$prefix}#{$cls-ui}-tc, + .#{$prefix}#{$cls-ui}-bc, + .#{$prefix}#{$cls-ui}-ml, + .#{$prefix}#{$cls-ui}-mr { + zoom:1; + + @if $background-color != transparent { + @include theme-background-image($theme-name, '#{$cls}/#{$cls-ui}-corners.gif', false, $relative-image-path-for-uis); + } + } + + @if $vertical == true { + .#{$prefix}#{$cls-ui}-tc, + .#{$prefix}#{$cls-ui}-bc { + zoom:1; + + @if $background-color != transparent { + @include theme-background-image($theme-name, '#{$cls}/#{$cls-ui}-sides.gif', false, $relative-image-path-for-uis); + background-position: 0 0; + background-repeat: repeat-x; + } + } + } @else { + .#{$prefix}#{$cls-ui}-ml, + .#{$prefix}#{$cls-ui}-mr { + zoom:1; + + @if $background-color != transparent { + @include theme-background-image($theme-name, '#{$cls}/#{$cls-ui}-sides.gif', false, $relative-image-path-for-uis); + background-position: 0 0; + @if $background-gradient == null { + background-repeat: repeat-y; + } + } + } + } + + $padding-top: $padding-top - $frame-top; + $padding-right: $padding-right - $frame-right; + $padding-bottom: $padding-bottom - $frame-bottom; + $padding-left: $padding-left - $frame-left; + + + @if $padding-top < 0 { + $padding-top: 0; + } + @if $padding-right < 0 { + $padding-right: 0; + } + @if $padding-bottom < 0 { + $padding-bottom: 0; + } + @if $padding-left < 0 { + $padding-left: 0; + } + + .#{$prefix}#{$cls-ui}-mc { + padding: $padding-top $padding-right $padding-bottom $padding-left; + } + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_inner-border.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_inner-border.scss new file mode 100644 index 000000000..e1f09d00a --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_inner-border.scss @@ -0,0 +1,149 @@ +@function inner-border-spread($width) { + $top: top($width); + $right: right($width); + $bottom: bottom($width); + $left: left($width); + + @return min(($top + $bottom) / 2, ($left + $right) / 2); +} + +@function inner-border-hoff($width, $spread) { + $left: left($width); + $right: right($width); + + @if $right <= 0 { + @return $left - $spread; + } + @else { + @return $spread - $right; + } +} + +@function inner-border-voff($width, $spread) { + $top: top($width); + $bottom: bottom($width); + + @if $bottom <= 0 { + @return $top - $spread; + } + @else { + @return $spread - $bottom; + } +} + +@function even($number) { + @return ceil($number / 2) == ($number / 2); +} + +@function odd($number) { + @return ceil($number / 2) != ($number / 2); +} + +@function inner-border-usesingle-width($width) { + $top: top($width); + $right: right($width); + $bottom: bottom($width); + $left: left($width); + + @if $top == 0 { + @if $left + $right == 0 { + @return true; + } + @if $bottom >= $left + $right { + @return true; + } + } + + @if $bottom == 0 { + @if $left + $right == 0 { + @return true; + } + @if $top >= $left + $right { + @return true; + } + } + + @if $left == 0 { + @if $top + $bottom == 0 { + @return true; + } + @if $right >= $top + $bottom { + @return true; + } + } + + @if $right == 0 { + @if $top + $bottom == 0 { + @return true; + } + @if $left >= $top + $bottom { + @return true; + } + } + + @if $top + $bottom == $left + $right and even($top) == even($bottom) and even($left) == even($right) { + @return true; + } + + @return false; +} + +@function inner-border-usesingle-color($color) { + $top: top($color); + $right: right($color); + $bottom: bottom($color); + $left: left($color); + + @if $top == $right == $bottom == $left { + @return true; + } + + @return false; +} + +@function inner-border-usesingle($width, $color) { + @if inner-border-usesingle-color($color) and inner-border-usesingle-width($width) { + @return true; + } + @return false; +} + +@mixin inner-border($width: 1px, $color: #fff, $blur: 0px) { + @if inner-border-usesingle($width, $color) { + $spread: inner-border-spread($width); + $hoff: inner-border-hoff($width, $spread); + $voff: inner-border-voff($width, $spread); + @include single-box-shadow($color-top, $hoff, $voff, $blur, $spread, true); + } + @else { + $width-top: top($width); + $width-right: right($width); + $width-bottom: bottom($width); + $width-left: left($width); + + $color-top: top($color); + $color-right: right($color); + $color-bottom: bottom($color); + $color-left: left($color); + + $shadow-top: false; + $shadow-right: false; + $shadow-bottom: false; + $shadow-left: false; + + @if $width-top > 0 { + $shadow-top: $color-top 0 $width-top $blur 0 inset; + } + @if $width-right > 0 { + $shadow-right: $color-right (-1 * $width-right) 0 $blur 0 inset; + } + @if $width-bottom > 0 { + $shadow-bottom: $color-bottom 0 (-1 * $width-bottom) $blur 0 inset; + } + @if $width-left > 0 { + $shadow-left: $color-left $width-left 0 $blur 0 inset; + } + + @include box-shadow($shadow-top, $shadow-bottom, $shadow-right, $shadow-left); + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss new file mode 100644 index 000000000..f673f4df4 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss @@ -0,0 +1,24 @@ +/** + * Method which inserts a full background-image property for a theme image. + * It checks if the file exists and if it doesn't, it'll throw an error. + * By default it will not include the background-image property if it is not found, + * but this can be changed by changing the default value of $include-missing-images to + * be true. + */ +@mixin theme-background-image($theme-name, $path, $without-url: false, $relative: false) { + $exists_image: theme-image($theme-name, $path, true, false); + + @if $exists_image { + $exists: theme_image_exists($exists_image); + + @if $exists or $include-missing-images { + background-image: theme-image($theme-name, $path, $without-url, $relative); + } + @else { + @warn "@theme-background-image: Theme image not found: #{$exists_image}"; + } + } + @else { + @warn "@theme-background-image: No arguments passed"; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss new file mode 100644 index 000000000..135f61eae --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss @@ -0,0 +1,76 @@ +@mixin extjs-dragdrop { + .#{$prefix}dd-drag-proxy { + + } + + .#{$prefix}dd-drag-repair { + .#{$prefix}dd-drag-ghost { + @include opacity(.6); + } + + .#{$prefix}dd-drop-icon { + display: none; + } + } + + .#{$prefix}dd-drag-ghost { + @include opacity(.85); + + padding: 5px; + padding-left: 20px; + + white-space: nowrap; + + color: #000; + font: normal ceil($font-size * .9) $font-family; + + border: 1px solid; + border-color: #ddd #bbb #bbb #ddd; + + background-color: #fff; + } + + .#{$prefix}dd-drop-icon { + position: absolute; + top: 3px; + left: 3px; + + display: block; + + width: 16px; + height: 16px; + + background-color: transparent; + background-position: center; + background-repeat: no-repeat; + + z-index: 1; + } + + .#{$prefix}view-selector { + position: absolute; + left: 0; + top: 0; + + width: 0; + + background-color: #c3daf9; + border: 1px dotted #3399bb; + + @include opacity(.5); + + zoom: 1; + } + + .#{$prefix}dd-drop-nodrop .#{$prefix}dd-drop-icon { + @include theme-background-image($theme-name, 'dd/drop-no.gif'); + } + + .#{$prefix}dd-drop-ok .#{$prefix}dd-drop-icon { + @include theme-background-image($theme-name, 'dd/drop-yes.gif'); + } + + .#{$prefix}dd-drop-ok-add .#{$prefix}dd-drop-icon { + @include theme-background-image($theme-name, 'dd/drop-add.gif'); + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_focus.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_focus.scss new file mode 100644 index 000000000..eeca01038 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_focus.scss @@ -0,0 +1,37 @@ +.#{$prefix}focus-element { + position: absolute; + top: -10px; + left: -10px; + width: 0px; + height: 0px; +} + +.#{$prefix}focus-frame { + position: absolute; + left: 0px; + top: 0px; + z-index: 100000000; + width: 0px; + height: 0px; +} + +.#{$prefix}focus-frame-top, +.#{$prefix}focus-frame-bottom, +.#{$prefix}focus-frame-left, +.#{$prefix}focus-frame-right { + position: absolute; + top: 0px; + left: 0px; +} + +.#{$prefix}focus-frame-top, +.#{$prefix}focus-frame-bottom { + border-top: $focus-frame-style $focus-frame-width $focus-frame-color; + height: $focus-frame-width; +} + +.#{$prefix}focus-frame-left, +.#{$prefix}focus-frame-right { + border-left: $focus-frame-style $focus-frame-width $focus-frame-color; + width: $focus-frame-width; +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_messagebox.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_messagebox.scss new file mode 100644 index 000000000..59844ec98 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_messagebox.scss @@ -0,0 +1,50 @@ +@mixin extjs-messagebox { + .#{$prefix}message-box .#{$prefix}window-body { + background-color: $window-background-color; + border: none; + } + + .#{$prefix}message-box .ext-mb-textarea { + margin-top: 4px; + } + + .#{$prefix}message-box .#{$prefix}progress-wrap { + margin-top: 4px; + } + + .#{$prefix}message-box .ext-mb-icon { + width: 47px; + height: 32px; + } + + .#{$prefix}message-box .ext-mb-info, + .#{$prefix}message-box .ext-mb-warning, + .#{$prefix}message-box .ext-mb-question, + .#{$prefix}message-box .ext-mb-error { + background: transparent no-repeat top left; + } + + .ext-gecko2 .ext-mb-fix-cursor { + overflow: auto; + } + + .#{$prefix}message-box .#{$prefix}msg-box-wait { + @include theme-background-image($theme-name, 'shared/blue-loading.gif'); + } + + .#{$prefix}message-box .ext-mb-info { + @include theme-background-image($theme-name, 'shared/icon-info.gif'); + } + + .#{$prefix}message-box .ext-mb-warning { + @include theme-background-image($theme-name, 'shared/icon-warning.gif'); + } + + .#{$prefix}message-box .ext-mb-question { + @include theme-background-image($theme-name, 'shared/icon-question.gif'); + } + + .#{$prefix}message-box .ext-mb-error { + @include theme-background-image($theme-name, 'shared/icon-error.gif'); + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_resizable.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_resizable.scss new file mode 100644 index 000000000..96205c0b1 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_resizable.scss @@ -0,0 +1,222 @@ +@mixin extjs-resizable { + .#{$prefix}resizable-handle { + position: absolute; + + z-index: 100; + + font-size: 1px; + line-height: 6px; + + overflow: hidden; + + zoom: 1; + + @include opacity(0); + + background-color: #fff; + } + + .#{$prefix}resizable-handle-east { + width: 6px; + height: 100%; + + right: 0; + top: 0; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-east { + cursor: e-resize; + } + } + + .#{$prefix}resizable-handle-south { + width: 100%; + height: 6px; + + left: 0; + bottom: 0; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-south { + cursor: s-resize; + } + } + + .#{$prefix}resizable-handle-west { + width: 6px; + height: 100%; + + left: 0; + top: 0; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-west { + cursor: w-resize; + } + } + + .#{$prefix}resizable-handle-north { + width: 100%; + height: 6px; + + left: 0; + top: 0; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-north { + cursor: n-resize; + } + } + + .#{$prefix}resizable-handle-southeast { + width: 6px; + height: 6px; + + right: 0; + bottom: 0; + + z-index: 101; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-southeast { + cursor: se-resize; + } + } + + .#{$prefix}resizable-handle-northwest { + width: 6px; + height: 6px; + + left: 0; + top: 0; + + z-index: 101; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-northwest { + cursor: nw-resize; + } + } + + .#{$prefix}resizable-handle-northeast { + width: 6px; + height: 6px; + + right: 0; + top: 0; + + z-index: 101; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-northeast { + cursor: ne-resize; + } + } + + .#{$prefix}resizable-handle-southwest { + width: 6px; + height: 6px; + + left: 0; + bottom: 0; + + z-index: 101; + } + + .#{$prefix}resizable-over { + .#{$prefix}resizable-handle-southwest { + cursor: sw-resize; + } + } + + /*IE rounding error*/ + .#{$prefix}ie { + .#{$prefix}resizable-handle-east { + margin-right: -1px; /*IE rounding error*/ + } + + .#{$prefix}resizable-handle-south { + margin-bottom: -1px; + } + } + + .#{$prefix}resizable-over .#{$prefix}resizable-handle, .#{$prefix}resizable-pinned .#{$prefix}resizable-handle{ + @include opacity(1); + } + + .#{$prefix}window .#{$prefix}window-handle { + @include opacity(0); + } + + .#{$prefix}window-collapsed .#{$prefix}window-handle { + display: none; + } + + .#{$prefix}resizable-proxy { + border: 1px dashed #3b5a82; + position: absolute; + left: 0; + top: 0; + overflow: hidden; + z-index: 50000; + } + + .#{$prefix}resizable-overlay { + position: absolute; + left: 0; + top: 0; + + width: 100%; + height: 100%; + + display: none; + + z-index: 200000; + + background-color: #fff; + + @include opacity(0); + } + + .#{$prefix}resizable-over, + .#{$prefix}resizable-pinned { + .#{$prefix}resizable-handle-east, + .#{$prefix}resizable-handle-west { + background-position: left; + @include theme-background-image($theme-name, 'sizer/e-handle.gif'); + } + + .#{$prefix}resizable-handle-south, + .#{$prefix}resizable-handle-north { + background-position: top; + @include theme-background-image($theme-name, 'sizer/s-handle.gif'); + } + + .#{$prefix}resizable-handle-southeast { + background-position: top left; + @include theme-background-image($theme-name, 'sizer/se-handle.gif'); + } + + .#{$prefix}resizable-handle-northwest { + background-position: bottom right; + @include theme-background-image($theme-name, 'sizer/nw-handle.gif'); + } + + .#{$prefix}resizable-handle-northeast { + background-position: bottom left; + @include theme-background-image($theme-name, 'sizer/ne-handle.gif'); + } + + .#{$prefix}resizable-handle-southwest { + background-position: top right; + @include theme-background-image($theme-name, 'sizer/sw-handle.gif'); + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_scroller.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_scroller.scss new file mode 100644 index 000000000..4a99cb3ab --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_scroller.scss @@ -0,0 +1,55 @@ +@mixin extjs-scroller { + .#{$prefix}horizontal-scroller-present .#{$prefix}grid-body { + border-bottom-width: 0px; + } + + .#{$prefix}vertical-scroller-present .#{$prefix}grid-body { + border-right-width: 0px; + } + + .#{$prefix}scroller { + overflow: hidden; + } + + .#{$prefix}scroller-vertical { + border: 1px solid $panel-border-color; + border-top-color: $grid-header-background-color; + } + + .#{$prefix}scroller-horizontal { + border: 1px solid $panel-border-color; + } + + .#{$prefix}vertical-scroller-present .#{$prefix}scroller-horizontal { + border-right-width: 0px; + } + + .#{$prefix}scroller-ct { + overflow: hidden; + position: absolute; + margin: 0; + padding: 0; + border: none; + left: 0px; + top: 0px; + + /* + In IE9 (only), the border-box style causes the scroller-ct to be 0px in the + perpendicular dimension and breaks the scroll as well as offsets it by the left + offset that we use to try and keep some size on this element. This works on all + browsers (including IE9). + */ + box-sizing: content-box !important; + -ms-box-sizing: content-box !important; + -moz-box-sizing: content-box !important; + -webkit-box-sizing: content-box !important; + } + + .#{$prefix}scroller-vertical .#{$prefix}scroller-ct { + overflow-y: scroll; + } + + .#{$prefix}scroller-horizontal .#{$prefix}scroller-ct { + overflow-x: scroll; + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_splitter.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_splitter.scss new file mode 100644 index 000000000..b8ae2aac3 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_splitter.scss @@ -0,0 +1,106 @@ +@mixin extjs-splitter { + .#{$prefix}splitter { + .#{$prefix}collapse-el { + position: absolute; + + cursor: pointer; + + background-color: transparent; + background-repeat: no-repeat !important; + } + } + + .#{$prefix}layout-split-left, + .#{$prefix}layout-split-right { + top: 50%; + + margin-top: -17px; + + width: 5px; + height: 35px; + } + + .#{$prefix}layout-split-top, + .#{$prefix}layout-split-bottom { + left: 50%; + + width: 35px; + height: 5px; + + margin-left: -17px; + } + + .#{$prefix}layout-split-left { + background: no-repeat top right; + @include theme-background-image($theme-name, 'util/splitter/mini-left.gif'); + } + + .#{$prefix}layout-split-right { + background: no-repeat top left; + @include theme-background-image($theme-name, 'util/splitter/mini-right.gif'); + } + + .#{$prefix}layout-split-top { + background: no-repeat top left; + @include theme-background-image($theme-name, 'util/splitter/mini-top.gif'); + } + + .#{$prefix}layout-split-bottom { + background: no-repeat top left; + @include theme-background-image($theme-name, 'util/splitter/mini-bottom.gif'); + } + + .#{$prefix}splitter-collapsed { + .#{$prefix}layout-split-left { + background: no-repeat top left; + @include theme-background-image($theme-name, 'util/splitter/mini-right.gif'); + } + + .#{$prefix}layout-split-right { + background: no-repeat top right; + @include theme-background-image($theme-name, 'util/splitter/mini-left.gif'); + } + + .#{$prefix}layout-split-top { + background: no-repeat top left; + @include theme-background-image($theme-name, 'util/splitter/mini-bottom.gif'); + } + + .#{$prefix}layout-split-bottom { + background: no-repeat top left; + @include theme-background-image($theme-name, 'util/splitter/mini-top.gif'); + } + } + + .#{$prefix}splitter-horizontal { + cursor: e-resize; + cursor: row-resize; + font-size:1px; + } + .#{$prefix}splitter-vertical { + cursor: e-resize; + cursor: col-resize; + font-size:1px; + } + .#{$prefix}splitter-collapsed { + cursor: default; + } + + .#{$prefix}splitter-active { + z-index: 4; + font-size:1px; + background-color: rgb(180, 180, 180); + @include opacity(0.8); + } + .#{$prefix}splitter-active { + .#{$prefix}collapse-el { + @include opacity(0.3); + } + } + + .#{$prefix}proxy-el { + position: absolute; + background: rgb(180, 180, 180); + @include opacity(0.8); + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_tool.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_tool.scss new file mode 100644 index 000000000..c9eb8df16 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/util/_tool.scss @@ -0,0 +1,295 @@ +@mixin extjs-tool { + .#{$prefix}tool { + height: $tool-size; + + img { + overflow: hidden; + + width: $tool-size; + height: $tool-size; + + cursor: pointer; + + background-color: transparent; + background-repeat: no-repeat; + @include theme-background-image($theme-name, 'tools/tool-sprites.gif'); + + margin: 0; + } + } + + .#{$prefix}panel-header-horizontal, + .#{$prefix}window-header-horizontal { + .#{$prefix}tool { + margin-left: 2px; + } + } + + .#{$prefix}panel-header-vertical, + .#{$prefix}window-header-vertical { + .#{$prefix}tool { + margin-bottom: 2px; + } + } + +.#{$prefix}tool-placeholder { + visibility: hidden; + } + + .#{$prefix}tool-toggle { + background-position: 0 -60px; + } + + .#{$prefix}tool-over { + .#{$prefix}tool-toggle { + background-position: -15px -60px; + } + } + + .#{$prefix}panel-collapsed, + .#{$prefix}fieldset-collapsed { + .#{$prefix}tool-toggle { + background-position: 0 -75px; + } + + .#{$prefix}tool-over { + .#{$prefix}tool-toggle { + background-position: -15px -75px; + } + } + } + + .#{$prefix}tool-close { + background-position: 0 0; + } + + .#{$prefix}tool-minimize { + background-position: 0 -15px; + } + + .#{$prefix}tool-maximize { + background-position: 0 -30px; + } + + .#{$prefix}tool-restore { + background-position: 0 -45px; + } + + .#{$prefix}tool-gear { + background-position: 0 -90px; + } + + .#{$prefix}tool-prev { + background-position: 0 -105px; + } + + .#{$prefix}tool-next { + background-position: 0 -120px; + } + + .#{$prefix}tool-pin { + background-position: 0 -135px; + } + + .#{$prefix}tool-unpin { + background-position: 0 -150px; + } + + .#{$prefix}tool-right { + background-position: 0 -165px; + } + + .#{$prefix}tool-left { + background-position: 0 -180px; + } + + .#{$prefix}tool-help { + background-position: 0 -300px; + } + + .#{$prefix}tool-save { + background-position: 0 -285px; + } + + .#{$prefix}tool-search { + background-position: 0 -270px; + } + + .#{$prefix}tool-minus { + background-position: 0 -255px; + } + + .#{$prefix}tool-plus { + background-position: 0 -240px; + } + + .#{$prefix}tool-refresh { + background-position: 0 -225px; + } + + .#{$prefix}tool-up { + background-position: 0 -210px; + } + + .#{$prefix}tool-down { + background-position: 0 -195px; + } + + .#{$prefix}tool-move { + background-position: 0 -375px; + } + + .#{$prefix}tool-resize { + background-position: 0 -360px; + } + + .#{$prefix}tool-collapse { + background-position: 0 -345px; + } + + .#{$prefix}tool-expand { + background-position: 0 -330px; + } + + .#{$prefix}tool-print { + background-position: 0 -315px; + } + + .#{$prefix}tool-expand-bottom, + .#{$prefix}tool-collapse-bottom { + background-position: 0 -195px; + } + + .#{$prefix}tool-expand-top, + .#{$prefix}tool-collapse-top { + background-position: 0 -210px; + } + + .#{$prefix}tool-expand-left, + .#{$prefix}tool-collapse-left { + background-position: 0 -180px; + } + + .#{$prefix}tool-expand-right, + .#{$prefix}tool-collapse-right { + background-position: 0 -165px; + } + + .#{$prefix}tool-over { + .#{$prefix}tool-close { + background-position: -15px 0; + } + + .#{$prefix}tool-minimize { + background-position: -15px -15px; + } + + .#{$prefix}tool-maximize { + background-position: -15px -30px; + } + + .#{$prefix}tool-restore { + background-position: -15px -45px; + } + + .#{$prefix}tool-gear { + background-position: -15px -90px; + } + + .#{$prefix}tool-prev { + background-position: -15px -105px; + } + + .#{$prefix}tool-next { + background-position: -15px -120px; + } + + .#{$prefix}tool-pin { + background-position: -15px -135px; + } + + .#{$prefix}tool-unpin { + background-position: -15px -150px; + } + + .#{$prefix}tool-right { + background-position: -15px -165px; + } + + .#{$prefix}tool-left { + background-position: -15px -180px; + } + + .#{$prefix}tool-down { + background-position: -15px -195px; + } + + .#{$prefix}tool-up { + background-position: -15px -210px; + } + + .#{$prefix}tool-refresh { + background-position: -15px -225px; + } + + .#{$prefix}tool-plus { + background-position: -15px -240px; + } + + .#{$prefix}tool-minus { + background-position: -15px -255px; + } + + .#{$prefix}tool-search { + background-position: -15px -270px; + } + + .#{$prefix}tool-save { + background-position: -15px -285px; + } + + .#{$prefix}tool-help { + background-position: -15px -300px; + } + + .#{$prefix}tool-print { + background-position: -15px -315px; + } + + .#{$prefix}tool-expand { + background-position: -15px -330px; + } + + .#{$prefix}tool-collapse { + background-position: -15px -345px; + } + + .#{$prefix}tool-resize { + background-position: -15px -360px; + } + + .#{$prefix}tool-move { + background-position: -15px -375px; + } + + .#{$prefix}tool-expand-bottom, + .#{$prefix}tool-collapse-bottom { + background-position: -15px -195px; + } + + .#{$prefix}tool-expand-top, + .#{$prefix}tool-collapse-top { + background-position: -15px -210px; + } + + .#{$prefix}tool-expand-left, + .#{$prefix}tool-collapse-left { + background-position: -15px -180px; + } + + .#{$prefix}tool-expand-right, + .#{$prefix}tool-collapse-right { + background-position: -15px -165px; + } + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_boundlist.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_boundlist.scss new file mode 100644 index 000000000..5b19d0497 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_boundlist.scss @@ -0,0 +1,18 @@ +//background +$boundlist-background-color: #fff !default; + +//borders +$boundlist-border-color: adjust-color($base-color, $hue: 0.58deg, $saturation: 25.146%, $lightness: -6.471%) !default; +$boundlist-border-width: 1px !default; +$boundlist-border-style: solid !default; + +$boundlist-item-padding: 2px !default; +$boundlist-item-border-width: 1px !default; +$boundlist-item-border-style: dotted !default; +$boundlist-item-border-color: $boundlist-background-color !default; + +$boundlist-item-over-border-color: adjust-color($base-color, $hue: 6.952deg, $saturation: 5.848%, $lightness: -6.471%) !default; +$boundlist-item-selected-border-color: darken($boundlist-item-over-border-color, 5) !default; + +$boundlist-item-over-background-color: adjust-color($base-color, $hue: 3.188deg, $saturation: 0.542%, $lightness: 7.843%) !default; +$boundlist-item-selected-background-color: darken($boundlist-item-over-background-color, 5) !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_btn-group.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_btn-group.scss new file mode 100644 index 000000000..02c4af354 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_btn-group.scss @@ -0,0 +1,15 @@ +$btn-group-background-color: #d0def0 !default; +$btn-group-margin: 2px 0 !default; +$btn-group-border-color: #b7c8d7 !default; +$btn-group-border-radius: 2px !default; +$btn-group-border-width: 1px !default; +$btn-group-padding: 0 1px !default; + +$btn-group-inner-border-width: 1px !default; +$btn-group-inner-border-color: #e3ebf5 !default; + +$btn-group-header-margin: 2px 2px 0 2px !default; +$btn-group-header-font: normal ceil($font-size * .9) $font-family !default; +$btn-group-header-color: #3E6AAA !default; +$btn-group-header-padding: 1px 0 !default; +$btn-group-header-background-color: #c2d8f0 !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_button.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_button.scss new file mode 100644 index 000000000..e818934ee --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_button.scss @@ -0,0 +1,141 @@ +$button-arrow-size: 12px !default; +$button-split-size: 14px !default; +$button-icon-spacing: 4px !default; + +$button-small-border-radius: 3px !default; +$button-small-border-width: 1px !default; +$button-small-padding: 2px !default; +$button-small-text-padding: 4px; +$button-small-font-size: ceil($font-size * .9) !default; //11px +$button-small-font-size-over: $button-small-font-size !default; +$button-small-font-size-focus: $button-small-font-size-over; +$button-small-font-size-pressed: $button-small-font-size !default; +$button-small-font-size-disabled: $button-small-font-size !default; +$button-small-font-weight: normal !default; +$button-small-font-weight-over: $button-small-font-weight !default; +$button-small-font-weight-focus: $button-small-font-weight-over; +$button-small-font-weight-pressed: $button-small-font-weight !default; +$button-small-font-weight-disabled: $button-small-font-weight !default; +$button-small-font-family: $font-family !default; +$button-small-font-family-over: $button-small-font-family !default; +$button-small-font-family-focus: $button-small-font-family-over; +$button-small-font-family-pressed: $button-small-font-family !default; +$button-small-font-family-disabled: $button-small-font-family !default; +$button-small-icon-size: 16px !default; + +$button-medium-border-radius: 3px !default; +$button-medium-border-width: 1px !default; +$button-medium-padding: 3px !default; +$button-medium-text-padding: 3px; +$button-medium-font-size: ceil($font-size * .9) !default; //11px +$button-medium-font-size-over: $button-medium-font-size !default; +$button-medium-font-size-focus: $button-medium-font-size-over; +$button-medium-font-size-pressed: $button-medium-font-size !default; +$button-medium-font-size-disabled: $button-medium-font-size !default; +$button-medium-font-weight: normal !default; +$button-medium-font-weight-over: $button-medium-font-weight !default; +$button-medium-font-weight-focus: $button-medium-font-weight-over; +$button-medium-font-weight-pressed: $button-medium-font-weight !default; +$button-medium-font-weight-disabled: $button-medium-font-weight !default; +$button-medium-font-family: $font-family !default; +$button-medium-font-family-over: $button-medium-font-family !default; +$button-medium-font-family-focus: $button-medium-font-family-over; +$button-medium-font-family-pressed: $button-medium-font-family !default; +$button-medium-font-family-disabled: $button-medium-font-family !default; +$button-medium-icon-size: 24px !default; + +$button-large-border-radius: 3px !default; +$button-large-border-width: 1px !default; +$button-large-padding: 3px !default; +$button-large-text-padding: 3px; +$button-large-font-size: ceil($font-size * .9) !default; //11px +$button-large-font-size-over: $button-large-font-size !default; +$button-large-font-size-focus: $button-large-font-size-over; +$button-large-font-size-pressed: $button-large-font-size !default; +$button-large-font-size-disabled: $button-large-font-size !default; +$button-large-font-weight: normal !default; +$button-large-font-weight-over: $button-large-font-weight !default; +$button-large-font-weight-focus: $button-large-font-weight-over; +$button-large-font-weight-pressed: $button-large-font-weight !default; +$button-large-font-weight-disabled: $button-large-font-weight !default; +$button-large-font-family: $font-family !default; +$button-large-font-family-over: $button-large-font-family !default; +$button-large-font-family-focus: $button-large-font-family-over; +$button-large-font-family-pressed: $button-large-font-family !default; +$button-large-font-family-disabled: $button-large-font-family !default; +$button-large-icon-size: 32px !default; + +//base colors for the default button +$button-default-base-color: adjust-color($neutral-color, $hue: 0deg, $saturation: -55.556%, $lightness: 12.745%) !default; //F7F7F7 +$button-default-base-color-over: adjust-color($base-color, $hue: -6.667deg, $saturation: 44.444%, $lightness: 10.588%) !default; //E4F3FF +$button-default-base-color-focus: $button-default-base-color-over !default; +$button-default-base-color-pressed: adjust-color($base-color, $hue: -0.725deg, $saturation: -9.556%, $lightness: -3.725%) !default; //B6CBE4 +$button-default-base-color-disabled: adjust-color($base-color, $hue: 0deg, $saturation: -55.556%, $lightness: 12.745%) !default; //F7F7F7 + +$button-default-border-color: adjust-color($button-default-base-color, $hue: 0deg, $saturation: 0%, $lightness: -18.039%) !default; +$button-default-border-color-over: adjust-color($button-default-base-color-over, $hue: 8.177deg, $saturation: -28.283%, $lightness: -12.745%) !default; +$button-default-border-color-focus: $button-default-border-color-over !default; +$button-default-border-color-pressed: adjust-color($button-default-base-color-pressed, $hue: 2.317deg, $saturation: 6.756%, $lightness: -5.294%) !default; +$button-default-border-color-disabled: adjust-color($button-default-base-color-disabled, $hue: 0deg, $saturation: 0%, $lightness: -8.627%) !default; + +$button-default-background-color: $button-default-base-color !default; +$button-default-background-color-over: $button-default-base-color-over !default; +$button-default-background-color-focus: $button-default-background-color-over !default; +$button-default-background-color-pressed: $button-default-base-color-pressed !default; +$button-default-background-color-disabled: $button-default-base-color-disabled !default; + +$button-default-background-gradient: 'glossy-button' !default; +$button-default-background-gradient-over: 'glossy-button-over' !default; +$button-default-background-gradient-focus: $button-default-background-gradient-over !default; +$button-default-background-gradient-pressed: 'glossy-button-pressed' !default; +$button-default-background-gradient-disabled: 'glossy-button-disabled' !default; + +$button-default-background-gradient-color-stops: null !default; +$button-default-background-gradient-color-stops-over: $button-default-background-gradient-color-stops !default; +$button-default-background-gradient-color-stops-focus: $button-default-background-gradient-color-stops-over !default; +$button-default-background-gradient-color-stops-pressed: $button-default-background-gradient-color-stops !default; +$button-default-background-gradient-color-stops-disabled: $button-default-background-gradient-color-stops !default; + +$button-default-color: #333 !default; +$button-default-color-over: $button-default-color !default; +$button-default-color-focus: $button-default-color-over !default; +$button-default-color-pressed: $button-default-color !default; +$button-default-color-disabled: lighten($button-default-color, 35) !default; + +/** + * Toolbar buttons + */ +$button-toolbar-arrow-size: 12px !default; +$button-toolbar-split-size: 12px !default; + +$button-toolbar-base-color: adjust-color($base-color, $hue: -213.333deg, $saturation: -55.556%, $lightness: 3.333%) !default; + +$button-toolbar-border-color: transparent !default; +$button-toolbar-border-color-over: adjust-color($base-color, $hue: 0.084deg, $saturation: -9.891%, $lightness: -18.039%) !default; +$button-toolbar-border-color-focus: $button-toolbar-border-color-over; +$button-toolbar-border-color-pressed: adjust-color($base-color, $hue: 0.721deg, $saturation: -17.014%, $lightness: -21.765%) !default; +$button-toolbar-border-color-disabled: transparent !default; + +$button-toolbar-background-color: transparent !default; +$button-toolbar-background-color-over: adjust-color($base-color, $hue: -5deg, $saturation: 44.444%, $lightness: 8.824%) !default; +$button-toolbar-background-color-focus: $button-toolbar-background-color-over; +$button-toolbar-background-color-pressed: adjust-color($base-color, $hue: -1.138deg, $saturation: -11.47%, $lightness: -2.353%) !default; +$button-toolbar-background-color-disabled: transparent !default; + +$button-toolbar-background-gradient: null !default; +$button-toolbar-background-gradient-over: 'glossy-button-over' !default; +$button-toolbar-background-gradient-focus: $button-toolbar-background-gradient-over; +$button-toolbar-background-gradient-pressed: 'glossy-button-pressed' !default; +$button-toolbar-background-gradient-disabled: null !default; + +$button-toolbar-background-gradient-color-stops: null !default; +$button-toolbar-background-gradient-color-stops-over: null !default; +$button-toolbar-background-gradient-color-stops-focus: $button-toolbar-background-gradient-color-stops-over; +$button-toolbar-background-gradient-color-stops-pressed: null !default; +$button-toolbar-background-gradient-color-stops-disabled: null !default; + +$button-toolbar-color: #333 !default; +$button-toolbar-color-over: $button-toolbar-color !default; +$button-toolbar-color-focus: $button-toolbar-color-over; +$button-toolbar-color-pressed: $button-toolbar-color !default; +$button-toolbar-color-disabled: lighten($button-toolbar-color, 35) !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_core.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_core.scss new file mode 100644 index 000000000..cbaf2f01d --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_core.scss @@ -0,0 +1,114 @@ +/** + * @var {string} $prefix + * The prefix to be applied to all CSS selectors. If this is changed, it must also be changed in your + * JavaScript application. + */ +$prefix: 'x-' !default; + +/** + * @var {string} $theme-name + * The name of the theme. This must match the the output directory of the images. + * (defaults to 'default') + */ +$theme-name: 'default' !default; + +/** + * @var {boolean/string} $relative-image-path-for-uis + * True to use a relative image path for all new UIs. If true, the path will be "../images/". + * It can also be a string of the path value. + * It defaults to false, which means it will look for the images in the ExtJS SDK folder. + */ +$relative-image-path-for-uis: false !default; + +$color: #000 !default; + +/** + * @var {string} $font-family + * The default font-family to be used throughout the theme. + */ +$font-family: tahoma,arial,verdana,sans-serif !default; + +$font-size : 12px !default; + +/** + * @var {string} $base-gradient + * The base gradient to be used throughout the theme. + */ +$base-gradient: 'matte' !default; + +/** + * @var {color} $base-color + * The base color to be used throughout the theme. + */ +$base-color : #C0D4ED !default; +$neutral-color: #eeeeee !default; + +/** + * @var {boolean} $include-not-found-images + * True to include files which are not found when compiling your SASS + */ +$include-missing-images: false !default; + +/** + * @var {boolean} $include-ie + * True to include Internet Explorer specific rules + */ +$include-ie: true !default; + +/** + * @var {boolean} $include-ff + * True to include Firefox specific rules + */ +$include-ff: true !default; + +/** + * @var {boolean} $include-chrome + * True to include Chrome specific rules + */ +$include-chrome: true !default; + +/** + * @var {boolean} $include-safari + * True to include Safari specific rules + */ +$include-safari: true !default; + +/** + * @var {boolean} $include-opera + * True to include Opera specific rules + */ +$include-opera: true !default; + +/** + * @var {boolean} $include-webkit + * True to include Webkit specific rules + */ +$include-webkit: true !default; + +$supports-border-radius: true !default; +$supports-gradients: true !default; + +/** + * @var {boolean} $compile-all + * True to copile all CSS, even if above include rules are false + */ +$compile-all: true !default; + +/** + * @var {boolean} $scope-reset-css + * True to scope the reset CSS within the $prefix variable. + */ +$scope-reset-css: false !default; + +/** + * @var {color} $css-shadow-background-color + * The base color for CSS shadows + */ +$css-shadow-background-color: #ccc !default; + + +/** + * @var {color} $include-shadow-images + * True to include all shadow images. + */ +$include-shadow-images: true !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_focus.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_focus.scss new file mode 100644 index 000000000..37286de39 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_focus.scss @@ -0,0 +1,3 @@ +$focus-frame-color: rgb(21, 66, 139); +$focus-frame-style: solid; +$focus-frame-width: 2px; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_form.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_form.scss new file mode 100644 index 000000000..d1fdae1eb --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_form.scss @@ -0,0 +1,114 @@ +/** + * @class Ext.form.* + */ + +/** + * @class Ext.form.field.Base + */ + +$form-field-height: 22px !default; +$form-toolbar-field-height: 20px !default; + +//padding +$form-field-padding: 1px 3px !default; + +//fonts +$form-field-font-size: $font-size !default; + +$form-field-font-family: $font-family !default; +$form-field-font-weight: normal !default; +$form-field-font: $form-field-font-weight $form-field-font-size $form-field-font-family !default; +$form-field-color: #000 !default; + +$form-field-empty-color: gray !default; + +//border +$form-field-border-color: #B5B8C8 !default; +$form-field-border-width: 1px !default; + +$form-field-focus-border-color: adjust-color($base-color, $hue: -4.322deg, $saturation: -1.065%, $lightness: -16.863%) !default; +$form-field-invalid-border-color: #c30 !default; + +//background +$form-field-background-color: #fff !default; +$form-field-background-image: 'form/text-bg.gif' !default; + +$form-field-invalid-background-color: #fff !default; +$form-field-invalid-background-image: 'grid/invalid_line.gif' !default; +$form-field-invalid-background-repeat: repeat-x !default; +$form-field-invalid-background-position: bottom !default; + +/** + * @class Ext.form.field.TextArea + */ +$form-textarea-padding: 2px 3px !default; + +/** + * @class Ext.form.Label + */ +$form-label-font-weight: normal !default; +$form-label-font-size: $font-size !default; +$form-label-font-family: $font-family !default; +$form-label-font: $form-label-font-weight $form-label-font-size $form-label-font-family !default; + +/** + * @class Ext.form.field.Checkbox + */ +$form-checkbox-image: 'form/checkbox.gif' !default; +$form-checkbox-size: 13px !default; + +/** + * @class Ext.form.field.Radio + */ +$form-radio-image: 'form/radio.gif' !default; + + +/** + * Error messages + */ +//icons +$form-exclamation-icon: 'form/exclamation.gif' !default; + +//font +$form-error-msg-color: #c0272b !default; +$form-error-msg-font-weight: normal !default; +$form-error-msg-font-size: ceil($font-size * .9) !default; +$form-error-msg-font-family: $font-family !default; +$form-error-msg-font: $form-error-msg-font-weight $form-error-msg-font-size $form-error-msg-font-family !default; +$form-error-msg-line-height: 16px !default; + +/** + * Trigger Field + */ +$form-trigger-width: 17px !default; +$form-trigger-height: $form-field-height !default; +$form-toolbar-trigger-height: $form-toolbar-field-height !default; + +$form-trigger-border-bottom-width: 1px !default; +$form-trigger-border-bottom-style: solid !default; +$form-trigger-border-bottom-color: $form-field-border-color !default; +$form-trigger-border-bottom: $form-trigger-border-bottom-width $form-trigger-border-bottom-style $form-trigger-border-bottom-color !default; + +$form-trigger-border-bottom-color-over: adjust-color($base-color, $hue: -4.322deg, $saturation: -1.065%, $lightness: -16.863%) !default; +$form-trigger-border-bottom-color-focus: adjust-color($base-color, $hue: -4.322deg, $saturation: -1.065%, $lightness: -16.863%) !default; +$form-trigger-border-bottom-color-focus-over: null !default; +$form-trigger-border-bottom-color-pressed: null !default; + +$form-trigger-icon-background-position: 7px 6px !default; + +/** + * Fieldsets + */ +$fieldset-header-font-size: ceil($font-size * .9) !default; +$fieldset-header-font-weight: bold !default; +$fieldset-header-font-family: $font-family !default; +$fieldset-header-font: $fieldset-header-font-size $fieldset-header-font-weight $fieldset-header-font-family !default; +$fieldset-header-color: adjust-color($base-color, $hue: 3.785deg, $saturation: 18.194%, $lightness: -52.745%) !default; + +$fieldset-border-width: 1px !default; +$fieldset-border-style: solid !default; +$fieldset-border-color: $form-field-border-color !default; +$fieldset-border: $fieldset-border-width $fieldset-border-style $fieldset-border-color !default; + +$fieldset-padding: 10px !default; +$fieldset-header-padding: 0 3px !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_grid.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_grid.scss new file mode 100644 index 000000000..e6fa45a3b --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_grid.scss @@ -0,0 +1,91 @@ +// =============================== +// ========= GRID BASE =========== +// =============================== +$grid-base-color: $base-color !default; + +// =============================== +// ========= GRID HEADER ========= +// =============================== +$grid-header-background-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: -16.078%) !default; +$grid-header-background-gradient: 'grid-header' !default; +$grid-header-border-color: $neutral-color !default; +$grid-header-over-border-color: adjust-color(#C0D4ED, $hue: -0.175deg, $saturation: 25.296%, $lightness: -2.549%) !default; +$grid-header-over-background-color: $grid-header-over-border-color !default; +$grid-header-over-background-gradient: 'grid-header-over' !default; +$grid-header-background-color: $grid-base-color !default; +$grid-header-padding: 0px 6px !default; +$grid-header-trigger-height: 22px !default; +$grid-header-trigger-width: 14px !default; +$grid-header-color: null !default; + +// =============================== +// ========= GRID ROWS =========== +// =============================== +$grid-row-cell-color: null !default; +$grid-row-cell-font: normal ceil($font-size * .9) $font-family !default; +$grid-row-padding: 0 1px !default; + +//row wrap +$grid-row-wrap-border-color: #ededed !default; +$grid-row-wrap-border-width: 1px 0 !default; +$grid-row-wrap-border-style: solid !default; + +//row body +$grid-row-body-font: normal 11px/13px $font-family !default; +$grid-row-body-padding: 4px !default; + +//row cell +$grid-row-cell-background: #fff !default; +$grid-row-cell-border-color: $grid-row-wrap-border-color !default; +$grid-row-cell-border-style: solid !default; +$grid-row-cell-border-width: 1px 0 !default; + +//row cell alt +$grid-row-cell-alt-background: darken($grid-row-cell-background, 2) !default; + +//row cell over +$grid-row-cell-over-border-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: -6.667%) !default; +$grid-row-cell-over-background-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: 0.392%) !default; +$grid-row-cell-over-background-gradient: 'grid-row-over' !default; + +//row cell selected +$grid-row-cell-selected-border-style: dotted !default; +$grid-row-cell-selected-border-color: adjust-color($base-color, $hue: 6.952deg, $saturation: 5.848%, $lightness: -6.471%) !default; +$grid-row-cell-selected-background-color: adjust-color($base-color, $hue: 3.188deg, $saturation: 0.542%, $lightness: 7.843%) !default; + +//row cell focus +$grid-row-cell-focus-border-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: -6.667%) !default; +$grid-row-cell-focus-background-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: 0.392%) !default; +$grid-row-cell-focus-background-gradient: 'grid-row-over' !default; + +//standard cells +$grid-cell-font: normal 13px $font-family !default; +$grid-cell-inner-padding: 3px 6px !default; + +//special cell +$grid-cell-special-over-background-color: adjust-color($base-color, $hue: -0.476deg, $saturation: 25.214%, $lightness: 5.686%) !default; + +//cell with col lines +$grid-cell-with-col-lines-border-color: adjust-color($base-color, $hue: 0deg, $saturation: -55.556%, $lightness: -2.549%) !default; + +// =============================== +// ======== GROUPED GRID ========= +// =============================== +$grid-grouped-header-background-color: #fff; +$grid-grouped-header-border-width: 0 0 2px 0; +$grid-grouped-header-border-style: solid; +$grid-grouped-header-border-color: adjust-color($base-color, $hue: 0.844deg, $saturation: 7.644%, $lightness: -8.627%); +$grid-grouped-header-padding: 6px 0 0 0; + +$grid-grouped-title-color: adjust-color($base-color, $hue: 0.952deg, $saturation: -6.718%, $lightness: -41.961%); +$grid-grouped-title-font: bold ceil($font-size * .9) $font-family; +$grid-grouped-title-padding: 4px 4px 4px 17px; + +// =============================== +// ========= ROW EDITOR ========== +// =============================== +$grid-row-editor-background-color: adjust-color($base-color, $hue: 1deg, $saturation: 11%, $lightness: 11%) !default; +$grid-row-editor-border-color: $panel-border-color !default; +$grid-row-editor-border-width: 1px !default; +$grid-row-editor-border: $grid-row-editor-border-width solid $grid-row-editor-border-color !important; +$grid-row-editor-font: $grid-row-cell-font !important; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_htmleditor.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_htmleditor.scss new file mode 100644 index 000000000..894344942 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_htmleditor.scss @@ -0,0 +1,2 @@ +$html-editor-border-color: $form-field-border-color !default; +$html-editor-background-color: $form-field-background-color !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_layout.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_layout.scss new file mode 100644 index 000000000..f4de98b9a --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_layout.scss @@ -0,0 +1,5 @@ +$border-layout-ct-background: adjust-color($base-color, $hue: 3.188deg, $saturation: 0.542%, $lightness: 7.843%) !default; + +$accordion-header-color: #000 !default; +$accordion-header-background-color: #d9e7f8 !default; +$accordion-header-background-gradient: null !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_loadmask.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_loadmask.scss new file mode 100644 index 000000000..7ae2271b4 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_loadmask.scss @@ -0,0 +1,17 @@ +$loadmask-opacity: 0.5 !default; +$loadmask-backgorund: #ccc !default; + +$loadmask-msg-padding: 2px !default; +$loadmask-msg-border-color: $panel-header-border-color !default; +$loadmask-msg-background-color: $panel-base-color !default; +$loadmask-msg-background-gradient: null !default; + +$loadmask-msg-inner-padding: 5px 10px 5px 25px !default; +$loadmask-msg-inner-icon: 'grid/loading.gif' !default; +$loadmask-msg-inner-border-color: adjust-color($base-color, $hue: 1.111deg, $saturation: -14.017%, $lightness: -9.608%) !default; +$loadmask-msg-inner-background-color: #eee !default; +$loadmask-msg-inner-color: #222 !default; +$loadmask-msg-inner-font-size: ceil($font-size * .9) !default; //11px +$loadmask-msg-inner-font-weight: normal !default; +$loadmask-msg-inner-font-family: $font-family !default; +$loadmask-msg-inner-font: $loadmask-msg-inner-font-weight $loadmask-msg-inner-font-size $loadmask-msg-inner-font-family !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_menu.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_menu.scss new file mode 100644 index 000000000..161706510 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_menu.scss @@ -0,0 +1,22 @@ +//backgrounds +$menu-background-color: #F0F0F0 !default; +$menu-item-active-background-image: 'menu/menu-item-active-bg.gif'; +$menu-item-active-background-color: #D9E8FB !default; + +//border +$menu-item-active-border-color: #A9CBF5 !default; +$menu-separator-border-color: #E0E0E0 !default; +$menu-separator-background-color: #FFF !default; + +//sizes +$menu-item-indent: 27px !default; +$menu-padding: 2px !default; + +//text +$menu-text-color: #222 !default; + +//icons +$menu-icon-arrow: 'menu/menu-parent.gif'; +$menu-icon-checked: 'menu/checked.gif'; +$menu-icon-group-checked: 'menu/group-checked.gif'; +$menu-icon-unchecked: 'menu/unchecked.gif'; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_panel.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_panel.scss new file mode 100644 index 000000000..2c57796f3 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_panel.scss @@ -0,0 +1,65 @@ +// TODO: Change value to $include-default-uis !default; +$include-panel-uis: true; + +// =============================== +// ========= BASE PANEL ========== +// =============================== +$panel-border-radius: null !default; +$panel-border-width: 1px !default; +$panel-base-color: adjust-color($base-color, $hue: 0deg, $saturation: 0.542%, $lightness: 7.843%) !default; //#DFE8F6 +$panel-border-color: adjust-color($base-color, $hue: 0deg, $saturation: 7.644%, $lightness: -8.627%) !default; + +// =============================== +// ========= PANEL BODY ========== +// =============================== +$panel-body-border-style: solid !default; +$panel-body-background-color: #fff !default; +$panel-body-color: #000 !default; +$panel-body-border-color: $panel-border-color !default; +$panel-body-font-size: 12px !default; + +// =============================== +// ======== PANEL TOOLS ========== +// =============================== +$tool-size: 15px !default; + +// =============================== +// ======== PANEL HEADER ========= +// =============================== +$panel-header-border-width: 1px !default; +$panel-header-border-style: solid !default; +$panel-header-inner-border: true !default; +$panel-header-inner-border-width: 1px 0 0 !default; + +//padding +$panel-header-padding: 5px 4px 4px 5px !default; + +//fonts +$panel-header-font-size: ceil($font-size * .9) !default; //11px +$panel-header-line-height: $tool-size !default; +$panel-header-font-weight: bold !default; +$panel-header-font-family: $font-family !default; + +//background +$panel-header-background-gradient: 'panel-header' !default; + +// UI defaults +$panel-header-border-color: $panel-border-color !default; +$panel-header-inner-border-color: adjust-color($panel-base-color, $hue: 0deg, $saturation: -6.098%, $lightness: 4.902%) !default; +$panel-header-color: adjust-color($panel-base-color, $hue: 0deg, $saturation: 38.347%, $lightness: -63.725%) !default; +$panel-header-background-color: adjust-color($panel-base-color, $hue: 0deg, $saturation: 6.402%, $lightness: -4.51%) !default; + +// =============================== +// ======== FRAMED PANEL ========= +// =============================== +$frame-base-color: $panel-base-color !default; + +//border +$panel-frame-border-radius: 4px !default; +$panel-frame-border-width: 1px !default; +$panel-frame-border-style: solid !default; +$panel-frame-padding: 4px !default; + +// UI defaults +$panel-frame-background-color: $frame-base-color !default; +$panel-frame-border-color: $panel-border-color !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_pickers.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_pickers.scss new file mode 100644 index 000000000..911c80b89 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_pickers.scss @@ -0,0 +1,66 @@ +// color picker +$colorpicker-item-border-color: #aca899 !default; +$colorpicker-over-border-color: #8bb8f3 !default; +$colorpicker-over-background-color: #deecfd !default; + +// date picker +$datepicker-base-color: $base-color !default; + +$datepicker-border-color: adjust-color($datepicker-base-color, $hue: 5.926deg, $saturation: 4.444%, $lightness: -57.647%) !default; //#1b376c +$datepicker-border-width: 1px !default; +$datepicker-border-style: solid !default; +$datepicker-border: $datepicker-border-width $datepicker-border-style $datepicker-border-color !default; +$datepicker-background-color: #ffffff !default; + +$datepicker-next-image: 'shared/right-btn.gif' !default; +$datepicker-prev-image: 'shared/left-btn.gif' !default; +$datepicker-month-arrow-image: 'button/s-arrow-light.gif' !default; +$datepicker-tool-sprite-image: 'tools/tool-sprites.gif' !default; + +$datepicker-header-background-color: adjust-color($datepicker-base-color, $hue: 5.768deg, $saturation: 0.419%, $lightness: -52.941%) !default; //#23427c +$datepicker-header-background-gradient: matte !default; + +$datepicker-monthpicker-color: #fff !default; + +$datepicker-th-color: adjust-color($datepicker-base-color, $hue: 5.586deg, $saturation: -4.167%, $lightness: -55.882%) !default; //#233d6d +$datepicker-th-font-family: $font-family !default; +$datepicker-th-font-size: 10px !default; +$datepicker-th-font-weight: normal !default; +$datepicker-th-font: $datepicker-th-font-weight $datepicker-th-font-size $font-family !default; +$datepicker-th-background-color: adjust-color($datepicker-base-color, $hue: -1.19deg, $saturation: 22.222%, $lightness: 8.824%) !default; //#dfecfb +$datepicker-th-background-gradient: matte !default; +$datepicker-th-border-bottom-color: darken($datepicker-th-background-color, 10) !default; +$datepicker-th-text-align: right !default; + +$datepicker-td-height: 17px !default; + +//item +$datepicker-item-color: #000 !default; +$datepicker-item-border-width: 1px !default; +$datepicker-item-border-style: solid !default; +$datepicker-item-border-color: #fff !default; +$datepicker-item-border: $datepicker-item-border-width $datepicker-item-border-style $datepicker-item-border-color !default; + +$datepicker-item-hover-background-color: adjust-color($datepicker-base-color, $hue: -0.606deg, $saturation: 38.73%, $lightness: 9.02%) !default; //#ddecfe + +$datepicker-today-item-border-color: darkred !default; + +$datepicker-selected-item-border-width: 1px !default; +$datepicker-selected-item-border-style: solid !default; +$datepicker-selected-item-border-color: adjust-color($datepicker-base-color, $hue: 0.853deg, $saturation: 5.008%, $lightness: -11.961%) !default; //#8db2e3 +$datepicker-selected-item-border: $datepicker-selected-item-border-width $datepicker-selected-item-border-style $datepicker-selected-item-border-color !default; +$datepicker-selected-item-background-color: adjust-color($datepicker-base-color, $hue: 0.267deg, $saturation: -4.535%, $lightness: 6.275%) !default; + +$datepicker-footer-background-color: $datepicker-th-background-color !default; +$datepicker-footer-background-gradient: color_stops(adjust-color($datepicker-base-color, $hue: 0.58deg, $saturation: -2.067%, $lightness: 7.451%), adjust-color($datepicker-base-color, $hue: -0.43deg, $saturation: -4.736%, $lightness: 3.922%) 49%, adjust-color($datepicker-base-color, $hue: -0.175deg, $saturation: -4.204%, $lightness: 1.373%) 51%, adjust-color($datepicker-base-color, $hue: 0.952deg, $saturation: -4.831%, $lightness: 2.353%)) !default; +$datepicker-footer-border-top-color: $datepicker-th-border-bottom-color !default; //a3bad9 + +$datepicker-monthpicker-height: 167px !default; + +$datepicker-monthpicker-item-color: adjust-color($datepicker-base-color, $hue: 3.785deg, $saturation: 18.194%, $lightness: -52.745%) !default; //#15428B +$datepicker-monthpicker-item-border: $datepicker-item-border !default; + +$datepicker-monthpicker-item-hover-background-color: $datepicker-item-hover-background-color !default; + +$datepicker-monthpicker-item-selected-background-color: $datepicker-footer-background-color !default; +$datepicker-monthpicker-item-selected-border: $datepicker-selected-item-border !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_progress-bar.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_progress-bar.scss new file mode 100644 index 000000000..5f440b6bf --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_progress-bar.scss @@ -0,0 +1,21 @@ +$progress-bar-base-color: $base-color !default; + +$progress-height: 20px !default; + +//borders +$progress-border-color: adjust-color($progress-bar-base-color, $hue: 0deg, $saturation: -3.08%, $lightness: -23.725%) !default; +$progress-border-width: 1px !default; +$progress-border-radius: 0 !default; + +//backgrounds +$progress-background-color: adjust-color($progress-bar-base-color, $hue: 0deg, $saturation: -11.37%, $lightness: 7.451%) !default; + +//bar +$progress-bar-background-color: adjust-color($progress-bar-base-color, $hue: 0deg, $saturation: 8.187%, $lightness: -17.647%) !default; + +//text +$progress-text-color-front: #fff !default; +$progress-text-color-back: adjust-color($progress-bar-base-color, $hue: 0deg, $saturation: -10.895%, $lightness: -43.725%) !default; +$progress-text-text-align: center !default; +$progress-text-font-size: ceil($font-size * .9) !default; +$progress-text-font-weight: bold !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_qtip.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_qtip.scss new file mode 100644 index 000000000..f830f513e --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_qtip.scss @@ -0,0 +1,29 @@ +$tip-base-color: adjust-color($base-color, $hue: 2.121deg, $saturation: 44.444%, $lightness: 11.569%) !default; + +//background +$tip-background-color: $tip-base-color !default; +$tip-background-gradient: null !default; + +//text +$tip-body-color : adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: -66.667%) !default; +$tip-body-font-size : ceil($font-size * .9) !default; +$tip-body-font-weight: normal !default; +$tip-body-padding: 3px !default; +$tip-body-link-color: darken($tip-body-color, 10%) !default; + +$tip-header-color : $tip-body-color !default; +$tip-header-font-size : $tip-body-font-size !default; +$tip-header-font-weight: bold !default; +$tip-header-padding : 3px 3px 0 !default; + +//borders +$tip-border-color: adjust-color($tip-base-color, $hue: -1.705deg, $saturation: -60.494%, $lightness: -27.451%) !default; +$tip-border-width: 1px !default; +$tip-border-radius: 3px !default; + +//error tips +$tip-error-inner-border-color: #d87166 !default; +$tip-error-border-color: #a1311f !default; +$tip-error-border-radius: 5px !default; +$tip-error-border-width: 1px !default; +$tip-error-background-color: #fff !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tabs.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tabs.scss new file mode 100644 index 000000000..4174dfc1c --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tabs.scss @@ -0,0 +1,87 @@ +//color +$tabbar-base-color: adjust-color($panel-base-color, $hue: 0deg, $saturation: -3.156%, $lightness: -5.294%) !default; +$tabbar-background-gradient: 'tabbar' !default; + +//background +$tab-base-color: adjust-color($base-color, $hue: 0deg, $saturation: 33.016%, $lightness: 9.02%) !default; //#deecfd +$tab-base-color-over: adjust-color($tab-base-color, $hue: 0deg, $saturation: 11.429%, $lightness: 2.353%) !default; +$tab-base-color-active: $tab-base-color !default; +$tab-base-color-disabled: adjust-color($base-color, $hue: 0deg, $saturation: 15.873%, $lightness: 9.02%) !default; //E1ECFA + +$tab-background: $tab-base-color !default; +$tab-background-over: $tab-base-color-over !default; +$tab-background-active: $tab-base-color-active !default; +$tab-background-disabled: $tab-base-color-disabled !default; + +$tab-color: adjust-color($tab-base-color, $hue: 0deg, $saturation: -45.589%, $lightness: -48.431%) !default; +$tab-color-over: $tab-color !default; +$tab-color-active: adjust-color($tab-color, $hue: 0deg, $saturation: 30.768%, $lightness: -13.333%) !default; +$tab-color-disabled: #c3b3b3 !default; + +$tab-font-size: ceil($font-size * .9) !default; //11px +$tab-font-size-over: $tab-font-size !default; +$tab-font-size-active: $tab-font-size !default; +$tab-font-size-disabled: $tab-font-size !default; + +$tab-font-family: $font-family; +$tab-font-family-over: $tab-font-family; +$tab-font-family-active: $tab-font-family; +$tab-font-family-disabled: $tab-font-family; + +$tab-font-weight: bold !default; +$tab-font-weight-over: $tab-font-weight !default; +$tab-font-weight-active: $tab-font-weight !default; +$tab-font-weight-disabled: $tab-font-weight !default; + +$tab-background-gradient: 'tab' !default; +$tab-background-gradient-over: 'tab-over' !default; +$tab-background-gradient-active: 'tab-active' !default; +$tab-background-gradient-disabled: 'tab-disabled' !default; + +//borders +$tab-inner-border: true !default; + +$tab-top-border-radius: 4px 4px 0 0 !default; +$tab-top-border-width: 1px 1px 0 1px !default; +$tab-top-inner-border-width: 1px 1px 0 !default; + +$tab-bottom-border-radius: 0 0 4px 4px !default; +$tab-bottom-border-width: 0 1px 1px 1px !default; +$tab-bottom-inner-border-width: 0 1px 1px 1px !default; + +$tab-border-color: adjust-color($tab-base-color, $hue:0deg, $saturation: -28.008%, $lightness: -20.98%) !default; +$tab-border-color-over: $tab-border-color !default; +$tab-border-color-active: $tab-border-color !default; +$tab-border-color-disabled: adjust-color($base-color, $hue:0deg, $saturation: 6.349%, $lightness: -0.588%) !default; + +$tab-inner-border-color: adjust-color($tab-base-color, $hue: 0deg, $saturation: -8.571%, $lightness: 8.941%) !default; + +$tabbar-border-color: $panel-header-border-color !default; + +//size +$tab-height: 20px !default; +$tab-spacing: 2px; + +//tab bar body border and padding +$tabbar-top-body-border-width: 1px 1px 0 !default; +$tabbar-top-body-padding: 1px 0 3px !default; +$tabbar-top-plain-body-border-width: 0 !default; +$tabbar-top-plain-body-padding: 0 0 3px !default; +$tabbar-bottom-body-border-width: 0 1px 1px !default; +$tabbar-bottom-body-padding: 3px 0 1px !default; +$tabbar-bottom-plain-body-border-width: 0 !default; +$tabbar-bottom-plain-body-padding: 3px 0 0 !default; + +//closable tab +$tab-closable-icon: 'tab/tab-default-close.gif' !default; +$tab-closable-icon-width: 11px !default; +$tab-closable-icon-height: 11px !default; +$tab-closable-icon-top: 3px !default; +$tab-closable-icon-right: 3px !default; + +//tab bar strip +$tabbar-strip-height: 3px !default; +$tabbar-strip-border-color: $panel-header-border-color !default; +$tabbar-strip-background-color: $tab-base-color !default; +$tabbar-top-strip-border-width: 1px 1px 0 !default; +$tabbar-bottom-strip-border-width: 0 1px 1px !default; diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_toolbar.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_toolbar.scss new file mode 100644 index 000000000..c1438e179 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_toolbar.scss @@ -0,0 +1,30 @@ +$toolbar-font-size: ceil($font-size * .9) !default; + +$toolbar-background-color: adjust-color($base-color, $hue: -1.333deg, $saturation: -3.831%, $lightness: 4.51%) !default; +$toolbar-background-gradient: color_stops(lighten($toolbar-background-color, 3), $toolbar-background-color) !default; +$toolbar-inner-border-width: 1px 0px 0px !default; +$toolbar-inner-border-color: lighten($toolbar-background-color, 5%) !default; + +//margins +$toolbar-horizontal-spacing: 2px; +$toolbar-vertical-spacing: 2px; +$toolbar-footer-horizontal-spacing: 6px; +$toolbar-footer-vertical-spacing: 2px; + +//border +$toolbar-border-color: $panel-body-border-color !default; + +//spacer +$toolbar-spacer-width: 2px !default; + +//separator +$toolbar-separator-color: #98c8ff !default; +$toolbar-separator-highlight-color: #fff !default; + +//text +$toolbar-text-font-family: $font-family; +$toolbar-text-font-size: ceil($font-size * .9) !default; //11px +$toolbar-text-font-weight: normal !default; +$toolbar-text-color: mix($mix-color, #000, 30) !default; +$toolbar-text-padding: 3px 4px 0 4px !default; +$toolbar-text-line-height: 16px !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tree.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tree.scss new file mode 100644 index 000000000..c5d649c81 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_tree.scss @@ -0,0 +1,2 @@ +$tree-elbow-height: 18px !default; +$tree-elbow-width: 16px !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_window.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_window.scss new file mode 100644 index 000000000..86b730321 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/variables/_window.scss @@ -0,0 +1,19 @@ +$window-base-color: $base-color !default; + +$window-border-radius: 5px 5px !default; +$window-border-width: 1px !default; +$window-border-color: adjust-color($window-base-color, $hue: 0.952deg, $saturation: -32.377%, $lightness: -13.725%) !default; +$window-inner-border-width: 1px !default; +$window-inner-border-color: adjust-color($window-base-color, $hue: 2.667deg, $saturation: 9.662%, $lightness: 11.373%) !default; +$window-background-color: adjust-color($window-base-color, $hue: 0.267deg, $saturation: -21.309%, $lightness: 1.569%) !default; + +$window-body-border-width: 1px !default; +$window-body-border-style: solid !default; +$window-body-border-color: adjust-color($window-base-color, $hue: 0.844deg, $saturation: 7.644%, $lightness: -8.627%) !default; +$window-body-background-color: adjust-color($window-base-color, $hue: 3.188deg, $saturation: 0.542%, $lightness: 7.843%) !default; +$window-body-color: #000 !default; + +$window-header-padding: 5px 5px 0 !default; +$window-header-font-size: ceil($font-size * .9) !default; //11px +$window-header-color: adjust-color($window-base-color, $hue: -2.451deg, $saturation: 38.889%, $lightness: -55.882%) !default; +$window-header-font-weight: bold !default; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_boundlist.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_boundlist.scss new file mode 100644 index 000000000..5726408af --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_boundlist.scss @@ -0,0 +1,45 @@ +@mixin extjs-boundlist { + .#{$prefix}boundlist { + border-width: $boundlist-border-width; + border-style: $boundlist-border-style; + border-color: $boundlist-border-color; + background: $boundlist-background-color; + + .#{$prefix}toolbar { + border-width: 1px 0 0 0; + } + } + + .#{$prefix}boundlist-item { + padding: $boundlist-item-padding; + + @include no-select; + + cursor: pointer; + cursor: hand; + position: relative; /*allow hover in IE on empty items*/ + + border-width: $boundlist-item-border-width; + border-style: $boundlist-item-border-style; + border-color: $boundlist-item-border-color; + } + + .#{$prefix}boundlist-selected { + background: $boundlist-item-selected-background-color; + border-color: $boundlist-item-selected-border-color; + } + + .#{$prefix}boundlist-item-over { + background: $boundlist-item-over-background-color; + border-color: $boundlist-item-over-border-color; + } + + .#{$prefix}boundlist-floating { + border-top-width: 0; + } + + .#{$prefix}boundlist-above { + border-top-width: 1px; + border-bottom-width: 1px; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss new file mode 100644 index 000000000..c11b60d19 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_btn-group.scss @@ -0,0 +1,80 @@ +@mixin extjs-btn-group { + .#{$prefix}btn-group { + position: relative; + overflow: hidden; + } + + .#{$prefix}btn-group-body { + position: relative; + zoom: 1; + padding: $btn-group-padding; + .#{$prefix}table-layout-cell { + vertical-align: top; + } + } + + .#{$prefix}btn-group-header-text { + white-space: nowrap; + } + + @include extjs-btn-group-ui('default'); +} + +/** + * @mixin extjs-btn-group-ui + * @class Ext.ButtonGroup + */ +@mixin extjs-btn-group-ui( + $ui-label, + $ui-base-color: null, + + // background + $ui-background-color: $btn-group-background-color, + + // borders + $ui-border-color: $btn-group-border-color, + $ui-border-width: $btn-group-border-width, + $ui-border-radius: $btn-group-border-radius, + $ui-inner-border-color: $btn-group-inner-border-color, + + //header + $ui-header-background-color: $btn-group-header-background-color, + $ui-header-font: $btn-group-header-font, + $ui-header-color: $btn-group-header-color +){ + @include x-frame( + 'btn-group', + $ui: '#{$ui-label}-framed', + + /* Radius, width, padding and background-color */ + $border-radius: $ui-border-radius, + $border-width: $ui-border-width, + $padding: $btn-group-padding, + $background-color: $ui-background-color + ); + + .#{$prefix}btn-group-#{$ui-label}-framed { + border-color: $ui-border-color; + @include inner-border( + $width: $btn-group-inner-border-width, + $color: $ui-inner-border-color + ); + } + + .#{$prefix}btn-group-header-#{$ui-label}-framed { + margin: $btn-group-header-margin; + } + + .#{$prefix}btn-group-header-body-#{$ui-label}-framed { + padding: $btn-group-header-padding; + + background: $ui-header-background-color; + + @include border-top-radius($ui-border-radius); + } + + .#{$prefix}btn-group-header-text-#{$ui-label}-framed { + font: $ui-header-font; + color: $ui-header-color; + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_button.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_button.scss new file mode 100644 index 000000000..7d14febed --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_button.scss @@ -0,0 +1,985 @@ +/** + * @class Ext.Button + * Used to create the base structure of an Ext.Button + */ +@mixin extjs-button { + .#{$prefix}btn { + display: inline-block; + zoom: 1; + *display: inline; + position: relative; + + cursor: pointer; + cursor: hand; + + white-space: nowrap; + + vertical-align: middle; + + * { + cursor: pointer; + cursor: hand; + } + + background-repeat: no-repeat; + + em { + background-repeat: no-repeat; + + // Styles for an anchor button. + a { + text-decoration: none; + display: inline-block; + color: inherit; + } + } + + button { + margin: 0; + padding: 0; + border: 0; + width: auto; + background: none; + outline: 0 none; + overflow: hidden; + vertical-align: bottom; + -webkit-appearance: none; + + &::-moz-focus-inner { + border: 0; + padding: 0; + } + } + + .#{$prefix}btn-inner { + display: block; + white-space: nowrap; + text-align: center; + background-color: transparent; + background-repeat: no-repeat; + background-position: left center; + } + } + + .#{$prefix}btn-disabled { + @include opacity(1); + } + + .#{$prefix}btn-disabled span { + @include opacity(.5); + + .#{$prefix}ie6 &, + .#{$prefix}ie7 & { + filter:none; + } + } + + //remove the opacity rule of IE8 + .#{$prefix}ie7 .#{$prefix}btn-disabled, + .#{$prefix}ie8 .#{$prefix}btn-disabled { + filter:none; + } + + .#{$prefix}ie6 .#{$prefix}btn-disabled, + .#{$prefix}ie7 .#{$prefix}btn-disabled, + .#{$prefix}ie8 .#{$prefix}btn-disabled { + .#{$prefix}btn-icon { + @include opacity(.6); + } + } + + @if $include-ie { + * html .#{$prefix}ie { + .#{$prefix}btn button { + width: 1px; + } + } + + .#{$prefix}ie .#{$prefix}btn button { + overflow-x: visible; /*prevents extra horiz space in IE*/ + vertical-align: baseline; /*IE doesn't like bottom*/ + } + + .#{$prefix}strict .#{$prefix}ie6, + .#{$prefix}strict .#{$prefix}ie7 { + .#{$prefix}btn .#{$prefix}frame-mc { + height: 100%; + } + } + } + + @if not $supports-border-radius or $compile-all { + .#{$prefix}nbr { + .#{$prefix}btn { + .#{$prefix}frame-mc { + vertical-align: middle; + white-space: nowrap; + text-align: center; + cursor: pointer; + } + } + } + } + + .#{$prefix}btn-icon-text-left .#{$prefix}btn-icon { + background-position: left center; + } + + .#{$prefix}btn-icon-text-right .#{$prefix}btn-icon { + background-position: right center; + } + + .#{$prefix}btn-icon-text-top .#{$prefix}btn-icon { + background-position: center top; + } + + .#{$prefix}btn-icon-text-bottom .#{$prefix}btn-icon { + background-position: center bottom; + } + + .#{$prefix}btn { + button, a { + position: relative; + + .#{$prefix}btn-icon { + position: absolute; + background-repeat: no-repeat; + } + } + } + + .#{$prefix}btn-arrow-right { + background: transparent no-repeat right center; + padding-right: $button-arrow-size; + + .#{$prefix}btn-inner { + padding-right: 0 !important; + } + } + + .#{$prefix}toolbar .#{$prefix}btn-arrow-right { + padding-right: $button-toolbar-arrow-size; + } + + .#{$prefix}btn-arrow-bottom { + background: transparent no-repeat center bottom; + padding-bottom: $button-arrow-size; + } + + .#{$prefix}btn-arrow { + @include theme-background-image($theme-name, 'button/arrow.gif'); + display: block; + } + + + //split buttons + .#{$prefix}btn-split-right, + .#{$prefix}btn-over .#{$prefix}btn-split-right { + background: transparent no-repeat right center; + @include theme-background-image($theme-name, 'button/s-arrow.gif'); + padding-right: $button-split-size !important; + } + + .#{$prefix}btn-split-bottom, + .#{$prefix}btn-over .#{$prefix}btn-split-bottom { + background: transparent no-repeat center bottom; + @include theme-background-image($theme-name, 'button/s-arrow-b.gif'); + padding-bottom: $button-split-size; + } + + .#{$prefix}toolbar .#{$prefix}btn-split-right { + @include theme-background-image($theme-name, 'button/s-arrow-noline.gif'); + padding-right: $button-toolbar-split-size !important; + } + + .#{$prefix}toolbar .#{$prefix}btn-split-bottom { + @include theme-background-image($theme-name, 'button/s-arrow-b-noline.gif'); + } + + .#{$prefix}btn-split { + display: block; + } + + .#{$prefix}item-disabled, + .#{$prefix}item-disabled * { + cursor: default; + } + + .#{$prefix}cycle-fixed-width .#{$prefix}btn-inner { + text-align: inherit; + } + + .#{$prefix}btn-over .#{$prefix}btn-split-right { @include theme-background-image($theme-name, 'button/s-arrow-o.gif'); } + .#{$prefix}btn-over .#{$prefix}btn-split-bottom { @include theme-background-image($theme-name, 'button/s-arrow-bo.gif'); } + + @include extjs-button-ui( + /* UI + Scale */ + 'default-small', + + $button-small-border-radius, + $button-small-border-width, + + $button-default-border-color, + $button-default-border-color-over, + $button-default-border-color-focus, + $button-default-border-color-pressed, + $button-default-border-color-disabled, + + $button-small-padding, + $button-small-text-padding, + + $button-default-background-color, + $button-default-background-color-over, + $button-default-background-color-focus, + $button-default-background-color-pressed, + $button-default-background-color-disabled, + + $button-default-background-gradient, + $button-default-background-gradient-over, + $button-default-background-gradient-focus, + $button-default-background-gradient-pressed, + $button-default-background-gradient-disabled, + + $button-default-color, + $button-default-color-over, + $button-default-color-focus, + $button-default-color-pressed, + $button-default-color-disabled, + + $button-small-font-size, + $button-small-font-size-over, + $button-small-font-size-focus, + $button-small-font-size-pressed, + $button-small-font-size-disabled, + + $button-small-font-weight, + $button-small-font-weight-over, + $button-small-font-weight-focus, + $button-small-font-weight-pressed, + $button-small-font-weight-disabled, + + $button-small-font-family, + $button-small-font-family-over, + $button-small-font-family-focus, + $button-small-font-family-pressed, + $button-small-font-family-disabled, + + $button-small-icon-size + ); + + @include extjs-button-ui( + 'default-medium', + + $button-medium-border-radius, + $button-medium-border-width, + + $button-default-border-color, + $button-default-border-color-over, + $button-default-border-color-focus, + $button-default-border-color-pressed, + $button-default-border-color-disabled, + + $button-medium-padding, + $button-medium-text-padding, + + $button-default-background-color, + $button-default-background-color-over, + $button-default-background-color-focus, + $button-default-background-color-pressed, + $button-default-background-color-disabled, + + $button-default-background-gradient, + $button-default-background-gradient-over, + $button-default-background-gradient-focus, + $button-default-background-gradient-pressed, + $button-default-background-gradient-disabled, + + $button-default-color, + $button-default-color-over, + $button-default-color-focus, + $button-default-color-pressed, + $button-default-color-disabled, + + $button-medium-font-size, + $button-medium-font-size-over, + $button-medium-font-size-focus, + $button-medium-font-size-pressed, + $button-medium-font-size-disabled, + + $button-medium-font-weight, + $button-medium-font-weight-over, + $button-medium-font-weight-focus, + $button-medium-font-weight-pressed, + $button-medium-font-weight-disabled, + + $button-medium-font-family, + $button-medium-font-family-over, + $button-medium-font-family-focus, + $button-medium-font-family-pressed, + $button-medium-font-family-disabled, + + $button-medium-icon-size + ); + + @include extjs-button-ui( + 'default-large', + + $button-large-border-radius, + $button-large-border-width, + + $button-default-border-color, + $button-default-border-color-over, + $button-default-border-color-focus, + $button-default-border-color-pressed, + $button-default-border-color-disabled, + + $button-large-padding, + $button-large-text-padding, + + $button-default-background-color, + $button-default-background-color-over, + $button-default-background-color-focus, + $button-default-background-color-pressed, + $button-default-background-color-disabled, + + $button-default-background-gradient, + $button-default-background-gradient-over, + $button-default-background-gradient-focus, + $button-default-background-gradient-pressed, + $button-default-background-gradient-disabled, + + $button-default-color, + $button-default-color-over, + $button-default-color-focus, + $button-default-color-pressed, + $button-default-color-disabled, + + $button-large-font-size, + $button-large-font-size-over, + $button-large-font-size-focus, + $button-large-font-size-pressed, + $button-large-font-size-disabled, + + $button-large-font-weight, + $button-large-font-weight-over, + $button-large-font-weight-focus, + $button-large-font-weight-pressed, + $button-large-font-weight-disabled, + + $button-large-font-family, + $button-large-font-family-over, + $button-large-font-family-focus, + $button-large-font-family-pressed, + $button-large-font-family-disabled, + + $button-large-icon-size + ); + + @include extjs-button-ui( + 'default-toolbar-small', + + $button-small-border-radius, + $button-small-border-width, + + $button-toolbar-border-color, + $button-toolbar-border-color-over, + $button-toolbar-border-color-focus, + $button-toolbar-border-color-pressed, + $button-toolbar-border-color-disabled, + + $button-small-padding, + $button-small-text-padding, + + $button-toolbar-background-color, + $button-toolbar-background-color-over, + $button-toolbar-background-color-focus, + $button-toolbar-background-color-pressed, + $button-toolbar-background-color-disabled, + + $button-toolbar-background-gradient, + $button-toolbar-background-gradient-over, + $button-toolbar-background-gradient-focus, + $button-toolbar-background-gradient-pressed, + $button-toolbar-background-gradient-disabled, + + $button-toolbar-color, + $button-toolbar-color-over, + $button-toolbar-color-focus, + $button-toolbar-color-pressed, + $button-toolbar-color-disabled, + + $button-small-font-size, + $button-small-font-size-over, + $button-small-font-size-focus, + $button-small-font-size-pressed, + $button-small-font-size-disabled, + + $button-small-font-weight, + $button-small-font-weight-over, + $button-small-font-weight-focus, + $button-small-font-weight-pressed, + $button-small-font-weight-disabled, + + $button-small-font-family, + $button-small-font-family-over, + $button-small-font-family-focus, + $button-small-font-family-pressed, + $button-small-font-family-disabled, + + $button-small-icon-size + ); + + @include extjs-button-ui( + 'default-toolbar-medium', + + $button-medium-border-radius, + $button-medium-border-width, + + $button-toolbar-border-color, + $button-toolbar-border-color-over, + $button-toolbar-border-color-focus, + $button-toolbar-border-color-pressed, + $button-toolbar-border-color-disabled, + + $button-medium-padding, + $button-medium-text-padding, + + $button-toolbar-background-color, + $button-toolbar-background-color-over, + $button-toolbar-background-color-focus, + $button-toolbar-background-color-pressed, + $button-toolbar-background-color-disabled, + + $button-toolbar-background-gradient, + $button-toolbar-background-gradient-over, + $button-toolbar-background-gradient-focus, + $button-toolbar-background-gradient-pressed, + $button-toolbar-background-gradient-disabled, + + $button-toolbar-color, + $button-toolbar-color-over, + $button-toolbar-color-focus, + $button-toolbar-color-pressed, + $button-toolbar-color-disabled, + + $button-medium-font-size, + $button-medium-font-size-over, + $button-medium-font-size-focus, + $button-medium-font-size-pressed, + $button-medium-font-size-disabled, + + $button-medium-font-weight, + $button-medium-font-weight-over, + $button-medium-font-weight-focus, + $button-medium-font-weight-pressed, + $button-medium-font-weight-disabled, + + $button-medium-font-family, + $button-medium-font-family-over, + $button-medium-font-family-focus, + $button-medium-font-family-pressed, + $button-medium-font-family-disabled, + + $button-medium-icon-size + ); + + @include extjs-button-ui( + 'default-toolbar-large', + + $button-large-border-radius, + $button-large-border-width, + + $button-toolbar-border-color, + $button-toolbar-border-color-over, + $button-toolbar-border-color-focus, + $button-toolbar-border-color-pressed, + $button-toolbar-border-color-disabled, + + $button-large-padding, + $button-large-text-padding, + + $button-toolbar-background-color, + $button-toolbar-background-color-over, + $button-toolbar-background-color-focus, + $button-toolbar-background-color-pressed, + $button-toolbar-background-color-disabled, + + $button-toolbar-background-gradient, + $button-toolbar-background-gradient-over, + $button-toolbar-background-gradient-focus, + $button-toolbar-background-gradient-pressed, + $button-toolbar-background-gradient-disabled, + + $button-toolbar-color, + $button-toolbar-color-over, + $button-toolbar-color-focus, + $button-toolbar-color-pressed, + $button-toolbar-color-disabled, + + $button-large-font-size, + $button-large-font-size-over, + $button-large-font-size-focus, + $button-large-font-size-pressed, + $button-large-font-size-disabled, + + $button-large-font-weight, + $button-large-font-weight-over, + $button-large-font-weight-focus, + $button-large-font-weight-pressed, + $button-large-font-weight-disabled, + + $button-large-font-family, + $button-large-font-family-over, + $button-large-font-family-focus, + $button-large-font-family-pressed, + $button-large-font-family-disabled, + + $button-large-icon-size + ); + + .#{$prefix}btn-default-toolbar-small-disabled, + .#{$prefix}btn-default-toolbar-medium-disabled, + .#{$prefix}btn-default-toolbar-large-disabled { + border-color: transparent; + + background-image: none; + background: transparent; + } +} + +@mixin extjs-button-ui( + $ui, + + $border-radius: 0px, + + $border-width: 0px, + + $border-color: null, + $border-color-over: null, + $border-color-focus: null, + $border-color-pressed: null, + $border-color-disabled: null, + + $padding: null, + $text-padding: null, + + $background-color: null, + $background-color-over: null, + $background-color-focus: null, + $background-color-pressed: null, + $background-color-disabled: null, + + $background-gradient: null, + $background-gradient-over: null, + $background-gradient-focus: null, + $background-gradient-pressed: null, + $background-gradient-disabled: null, + + $color: null, + $color-over: null, + $color-focus: null, + $color-pressed: null, + $color-disabled: null, + + $font-size: null, + $font-size-over: null, + $font-size-focus: null, + $font-size-pressed: null, + $font-size-disabled: null, + + $font-weight: null, + $font-weight-over: null, + $font-weight-focus: null, + $font-weight-pressed: null, + $font-weight-disabled: null, + + $font-family: null, + $font-family-over: null, + $font-family-focus: null, + $font-family-pressed: null, + $font-family-disabled: null, + + $icon-size: null +) { + .#{$prefix}btn-#{$ui} { + border-color: $border-color; + } + + @include x-frame('btn', $ui, $border-radius, $border-width, $padding, $background-color, $background-gradient, true); + + .#{$prefix}btn-#{$ui} .#{$prefix}btn-inner { + font-size: $font-size; + font-weight: $font-weight; + font-family: $font-family; + color: $color; + background-repeat: no-repeat; + padding: 0 $text-padding; + } + + .#{$prefix}btn-#{$ui}-icon, + .#{$prefix}btn-#{$ui}-noicon { + button, + .#{$prefix}btn-inner { + height: $icon-size; + line-height: $icon-size; + } + } + + //icons + .#{$prefix}btn-#{$ui}-icon { + button { + padding: 0; + width: $icon-size !important; + height: $icon-size; + } + + .#{$prefix}btn-icon { + width: $icon-size; + height: $icon-size; + top: 0; + left: 0; + bottom: 0; + right: 0; + } + } + + .#{$prefix}btn-#{$ui}-icon-text-left { + button { + height: $icon-size; + } + .#{$prefix}btn-inner { + height: $icon-size; + line-height: $icon-size; + padding-left: $icon-size + 4px; + } + + .#{$prefix}btn-icon { + width: $icon-size; + height: auto; + top: 0; + left: 0; + bottom: 0; + right: auto; + + .#{$prefix}ie6 &, + .#{$prefix}quirks & { + height: $icon-size; + } + } + } + + .#{$prefix}btn-#{$ui}-icon-text-right { + button { + height: $icon-size; + } + .#{$prefix}btn-inner { + height: $icon-size; + line-height: $icon-size; + padding-right: $icon-size + 4px !important; + } + + .#{$prefix}btn-icon { + width: $icon-size; + height: auto; + top: 0; + left: auto; + bottom: 0; + right: 0; + + .#{$prefix}ie6 &, + .#{$prefix}quirks & { + height: $icon-size; + } + } + } + + .#{$prefix}btn-#{$ui}-icon-text-top { + .#{$prefix}btn-inner { + padding-top: $icon-size + 4px; + } + + .#{$prefix}btn-icon { + width: auto; + height: $icon-size; + top: 0; + left: 0; + bottom: auto; + right: 0; + + .#{$prefix}ie6 &, + .#{$prefix}quirks & { + width: $icon-size; + } + } + } + + .#{$prefix}btn-#{$ui}-icon-text-bottom { + .#{$prefix}btn-inner { + padding-bottom: $icon-size + 4px; + } + + .#{$prefix}btn-icon { + width: auto; + height: $icon-size; + top: auto; + left: 0; + bottom: 0; + right: 0; + + .#{$prefix}ie6 &, + .#{$prefix}quirks & { + width: $icon-size; + } + } + } + + .#{$prefix}btn-#{$ui}-over { + @if $border-color-over != $border-color { + border-color: $border-color-over; + } + @if $background-color-over != null { + @include background-gradient($background-color-over, $background-gradient-over); + } + + .#{$prefix}btn-inner { + @if $color-over != $color { + color: $color-over; + } + @if $font-weight-over != $font-weight { + font-weight: $font-weight-over; + } + @if $font-size-over != $font-size { + font-size: $font-size-over; + } + @if $font-family-over != $font-family { + font-family: $font-family-over; + } + } + } + + .#{$prefix}btn-#{$ui}-focus { + @if $border-color-focus != $border-color { + border-color: $border-color-focus; + } + @if $background-color-focus != null { + @include background-gradient($background-color-focus, $background-gradient-focus); + } + + .#{$prefix}btn-inner { + @if $color-focus != $color { + color: $color-focus; + } + @if $font-weight-focus != $font-weight { + font-weight: $font-weight-focus; + } + @if $font-size-focus != $font-size { + font-size: $font-size-focus; + } + @if $font-family-focus != $font-family { + font-family: $font-family-focus; + } + } + } + + .#{$prefix}btn-#{$ui}-menu-active, + .#{$prefix}btn-#{$ui}-pressed { + @if $border-color-pressed != $border-color { + border-color: $border-color-pressed; + } + @if $background-color-pressed != null { + @include background-gradient($background-color-pressed, $background-gradient-pressed); + } + + .#{$prefix}btn-inner { + @if $color-pressed != $color { + color: $color-pressed; + } + @if $font-weight-pressed != $font-weight { + font-weight: $font-weight-pressed; + } + @if $font-size-pressed != $font-size { + font-size: $font-size-pressed; + } + @if $font-family-pressed != $font-family { + font-family: $font-family-pressed; + } + } + } + + .#{$prefix}btn-#{$ui}-disabled { + @if $border-color-disabled != $border-color { + border-color: $border-color-disabled; + } + @if $background-color-disabled != null { + @include background-gradient($background-color-disabled, $background-gradient-disabled); + } + + .#{$prefix}btn-inner { + @if $color-disabled != $color { + color: $color !important; + } + @if $font-weight-disabled != $font-weight { + font-weight: $font-weight-disabled; + } + @if $font-size-disabled != $font-size { + font-size: $font-size-disabled; + } + @if $font-family-disabled != $font-family { + font-family: $font-family-disabled; + } + } + } + + .#{$prefix}ie .#{$prefix}btn-#{$ui}-disabled { + .#{$prefix}btn-inner { + @if $color-disabled != $color { + color: darken($color-disabled, 20) !important; + } + } + } + + .#{$prefix}ie6 .#{$prefix}btn-#{$ui}-disabled { + .#{$prefix}btn-inner { + @if $color-disabled != $color { + color: $color-disabled !important; + } + } + } + + @if not $supports-border-radius or $compile-all { + .#{$prefix}nbr { + .#{$prefix}btn-#{$ui}-over { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-over-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-over-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $background-color-over; + @if $background-gradient-over != null { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-over-bg.gif'); + } + } + } + + .#{$prefix}btn-#{$ui}-focus { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-focus-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-focus-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $background-color-focus; + @if $background-gradient-focus != null { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-focus-bg.gif'); + } + } + } + + .#{$prefix}btn-#{$ui}-menu-active, + .#{$prefix}btn-#{$ui}-pressed { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-pressed-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-pressed-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $background-color-pressed; + @if $background-gradient-pressed != null { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-pressed-bg.gif'); + } + } + } + + .#{$prefix}btn-#{$ui}-disabled { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-disabled-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-disabled-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $background-color-disabled; + @if $background-gradient-disabled != null { + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-disabled-bg.gif'); + } + } + } + } + } + + @if not $supports-gradients or $compile-all { + @if $background-gradient != null { + .#{$prefix}nlg { + .#{$prefix}btn-#{$ui} { + background-repeat: repeat-x; + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-bg.gif'); + } + } + } + + @if $background-gradient-over != null { + .#{$prefix}nlg { + .#{$prefix}btn-#{$ui}-over { + background-repeat: repeat-x; + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-over-bg.gif'); + } + } + } + + @if $background-gradient-focus != null { + .#{$prefix}nlg { + .#{$prefix}btn-#{$ui}-focus { + background-repeat: repeat-x; + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-focus-bg.gif'); + } + } + } + + @if $background-gradient-pressed != null { + .#{$prefix}nlg { + .#{$prefix}btn-#{$ui}-menu-active, + .#{$prefix}btn-#{$ui}-pressed { + background-repeat: repeat-x; + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-pressed-bg.gif'); + } + } + } + + @if $background-gradient-disabled != null { + .#{$prefix}nlg { + .#{$prefix}btn-#{$ui}-disabled { + background-repeat: repeat-x; + @include theme-background-image($theme-name, 'btn/btn-#{$ui}-disabled-bg.gif'); + } + } + } + } +}; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_colorpicker.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_colorpicker.scss new file mode 100644 index 000000000..c35c6c060 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_colorpicker.scss @@ -0,0 +1,45 @@ +@mixin extjs-colorpicker { + .#{$prefix}color-picker { + width: 144px; + height: 90px; + cursor: pointer; + } + + .#{$prefix}color-picker a { + border: 1px solid #fff; + + float: left; + + padding: 2px; + + text-decoration: none; + + -moz-outline: 0 none; + outline: 0 none; + + cursor: pointer; + } + + .#{$prefix}color-picker a:hover, + .#{$prefix}color-picker a.#{$prefix}color-picker-selected { + border-color: $colorpicker-over-border-color; + background-color: $colorpicker-over-background-color; + } + + .#{$prefix}color-picker em { + display: block; + + border: 1px solid $colorpicker-item-border-color; + } + + .#{$prefix}color-picker em span { + cursor: pointer; + + display: block; + + height: 10px; + width: 10px; + + line-height: 10px; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss new file mode 100644 index 000000000..459409c93 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss @@ -0,0 +1,422 @@ +@mixin extjs-datepicker { + .#{$prefix}datepicker { + border: $datepicker-border; + + background-color: $datepicker-background-color; + position: relative; + + a { + -moz-outline: 0 none; + outline: 0 none; + + color: $datepicker-monthpicker-item-color; + text-decoration: none; + + border-width: 0; + } + } + + .#{$prefix}datepicker-inner, + .#{$prefix}datepicker-inner td, + .#{$prefix}datepicker-inner th { + border-collapse: separate; + } + + .#{$prefix}datepicker-header { + position: relative; + + height: 26px; + + @if $datepicker-header-background-gradient { + @include background-gradient($datepicker-header-background-color, $datepicker-header-background-gradient); + } @else { + background-color: $datepicker-header-background-color; + } + } + + .#{$prefix}datepicker-prev, + .#{$prefix}datepicker-next { + position: absolute; + top: 5px; + + width: 18px; + + a { + display: block; + + width: 16px; + height: 16px; + + background-position: top; + background-repeat: no-repeat; + + cursor: pointer; + + text-decoration: none !important; + + @include opacity(.7); + + &:hover { + @include opacity(1); + } + } + } + + .#{$prefix}datepicker-next { + right: 5px; + + a { + @include theme-background-image($theme-name, $datepicker-next-image); + } + } + + .#{$prefix}datepicker-prev { + left: 5px; + + a { + @include theme-background-image($theme-name, $datepicker-prev-image); + } + } + + .#{$prefix}item-disabled .#{$prefix}datepicker-prev a:hover, + .#{$prefix}item-disabled .#{$prefix}datepicker-next a:hover { + @include opacity(.6); + } + + .#{$prefix}datepicker-month { + padding-top: 3px; + + .#{$prefix}btn, + button, + .#{$prefix}btn-tc, + .#{$prefix}btn-tl, + .#{$prefix}btn-tr, + .#{$prefix}btn-mc, + .#{$prefix}btn-ml, + .#{$prefix}btn-mr, + .#{$prefix}btn-bc, + .#{$prefix}btn-bl, + .#{$prefix}btn-br { + background: transparent !important; + border-width: 0 !important; + } + + span { + color: #fff !important; + } + + .#{$prefix}btn-split-right { + background: no-repeat right center !important; + @include theme-background-image($theme-name, $datepicker-month-arrow-image); + + padding-right: 12px; + } + } + + .#{$prefix}datepicker-next { + text-align: right; + } + + .#{$prefix}datepicker-month { + //width: 120px; + text-align: center; + + button { + color: $datepicker-monthpicker-color !important; + } + } + + + table.#{$prefix}datepicker-inner { + width: 100%; + table-layout: fixed; + + th { + width: 25px; + height: 19px; + + padding: 0; + + color: $datepicker-th-color; + font: $datepicker-th-font; + text-align: $datepicker-th-text-align; + + border-bottom: 1px solid $datepicker-th-border-bottom-color; + border-collapse: separate; + + @if $datepicker-th-background-gradient { + @include background-gradient($datepicker-th-background-color, $datepicker-th-background-gradient); + } @else { + background-color: $datepicker-th-background-color; + } + + cursor: default; + + span { + display: block; + padding-right: 7px; + } + } + + tr { + height: 20px; + } + + td { + border: $datepicker-border-width $datepicker-border-style; + height: $datepicker-td-height; + border-color: $datepicker-background-color; + text-align: right; + padding: 0; + } + + a { + padding-right: 4px; + + display: block; + + zoom: 1; + + font: normal ceil($font-size * .9) $font-family; + color: $datepicker-item-color; + text-decoration: none; + text-align: right; + } + + .#{$prefix}datepicker-active { + cursor: pointer; + color: black; + } + + .#{$prefix}datepicker-selected { + a { + background: repeat-x left top; + background-color: $datepicker-selected-item-background-color; + border: 1px solid $datepicker-selected-item-border-color; + } + + span { + font-weight: bold; + } + } + + .#{$prefix}datepicker-today { + a { + border: $datepicker-border-width $datepicker-border-style; + border-color: $datepicker-today-item-border-color; + } + } + + .#{$prefix}datepicker-prevday, + .#{$prefix}datepicker-nextday { + a { + text-decoration: none !important; + color: #aaa; + } + } + + a:hover, + .#{$prefix}datepicker-disabled a:hover { + text-decoration: none !important; + + color: #000; + + background-color: $datepicker-item-hover-background-color; + } + + .#{$prefix}datepicker-disabled a { + cursor: default; + background-color: #eee; + color: #bbb; + } + } + + .#{$prefix}datepicker-footer, + .#{$prefix}monthpicker-buttons { + position: relative; + + border-top: $datepicker-border-width $datepicker-border-style $datepicker-footer-border-top-color; + + @if $datepicker-footer-background-gradient { + @include background-gradient($datepicker-footer-background-color, $datepicker-footer-background-gradient); + } @else { + background-color: $datepicker-footer-background-color; + } + + text-align: center; + + .#{$prefix}btn { + position: relative; + margin: 4px; + } + } + + .#{$prefix}item-disabled .#{$prefix}datepicker-inner a:hover { + background: none; + } + + // month picker + .#{$prefix}datepicker .#{$prefix}monthpicker { + position: absolute; + left: 0; + top: 0; + } + + + .#{$prefix}monthpicker { + border: $datepicker-border; + background-color: $datepicker-background-color; + } + + .#{$prefix}monthpicker-months, + .#{$prefix}monthpicker-years { + float: left; + + height: $datepicker-monthpicker-height; + width: 88px; + } + + .#{$prefix}monthpicker-item { + float: left; + + margin: 4px 0 5px 0; + + font: normal ceil($font-size * .9) $font-family; + text-align: center; + vertical-align: middle; + + height: 18px; + width: 43px; + + border: 0 none; + + a { + display: block; + + margin: 0 5px 0 5px; + + text-decoration: none; + + color: $datepicker-monthpicker-item-color; + + border: $datepicker-monthpicker-item-border; + + line-height: 17px; + + &:hover { + background-color: $datepicker-monthpicker-item-hover-background-color; + } + + &.#{$prefix}monthpicker-selected { + background-color: $datepicker-monthpicker-item-selected-background-color; + border: $datepicker-monthpicker-item-selected-border; + } + } + } + + .#{$prefix}monthpicker-months { + border-right: $datepicker-border; + width: 87px; + } + + .#{$prefix}monthpicker-years .#{$prefix}monthpicker-item { + width: 44px; + } + + .#{$prefix}monthpicker-yearnav { + height: 28px; + + button { + @include theme-background-image($theme-name, $datepicker-tool-sprite-image); + height: 15px; + width: 15px; + padding: 0; + margin: 6px 12px 5px 15px; + border: none; + outline: 0 none; + &::-moz-focus-inner { + border: 0; + padding: 0; + } + } + } + + .#{$prefix}monthpicker-yearnav-next { + background-position: 0 -120px; + } + + .#{$prefix}monthpicker-yearnav-next-over { + cursor: pointer; + cursor: hand; + background-position: -15px -120px; + } + + .#{$prefix}monthpicker-yearnav-prev { + background-position: 0 -105px; + } + + .#{$prefix}monthpicker-yearnav-prev-over { + cursor: pointer; + cursor: hand; + background-position: -15px -105px; + } + + .#{$prefix}monthpicker-small { + .#{$prefix}monthpicker-item { + margin: 2px 0 2px 0; + } + + .#{$prefix}monthpicker-yearnav { + height: 23px; + } + + .#{$prefix}monthpicker-months, .#{$prefix}monthpicker-years { + height: 136px; + } + } + + @if $include-ie { + .#{$prefix}quirks { + .#{$prefix}ie7, + .#{$prefix}ie8 { + .#{$prefix}monthpicker-buttons { + .#{$prefix}btn { + margin-top: 2px; + } + } + } + + .#{$prefix}monthpicker-small .#{$prefix}monthpicker-yearnav button { + margin-top: 3px; + margin-bottom: 3px; + } + } + + .#{$prefix}ie6 .#{$prefix}monthpicker-small .#{$prefix}monthpicker-yearnav button { + margin-top: 3px; + margin-bottom: 3px; + } + } + + //nlg support + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + @if $datepicker-header-background-gradient != null { + .#{$prefix}datepicker-header { + @include theme-background-image($theme-name, 'datepicker/datepicker-header-bg.gif'); + background-repeat: repeat-x; + background-position: top left; + } + } + + @if $datepicker-footer-background-gradient != null { + .#{$prefix}datepicker-footer, + .#{$prefix}monthpicker-buttons { + @include theme-background-image($theme-name, 'datepicker/datepicker-footer-bg.gif'); + background-repeat: repeat-x; + background-position: top left; + } + } + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss new file mode 100644 index 000000000..b32c63c0b --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss @@ -0,0 +1,59 @@ +@mixin extjs-drawcomponent { + .#{$prefix}surface { + @include inline-block; + } + + .rvml { + behavior: url(#default#VML); + } + + .#{$prefix}surface tspan { + user-select: none; + -o-user-select: none; + -ms-user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + } + + .#{$prefix}vml-sprite { + position: absolute; + left: 0; + top: 0; + width: 1px; + height: 1px; + } + + .#{$prefix}vml-group { + position: absolute; + left: 0; + top: 0; + width: 1000px; + height: 1000px; + } + + .#{$prefix}vml-measure-span { + position: absolute; + left: -9999em; + top: -9999em; + padding: 0; + margin: 0; + display: inline; + } + + .#{$prefix}vml-base { + position: relative; + top: 0; + left: 0; + overflow: hidden; + display: inline-block; + } + + .#{$prefix}vml-base { + position: relative; + top: 0; + left: 0; + overflow: hidden; + display: inline-block; + } +} + diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_form.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_form.scss new file mode 100644 index 000000000..446554e82 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_form.scss @@ -0,0 +1,8 @@ +@import 'form/all'; +@import 'form/field'; +@import 'form/fieldset'; +@import 'form/file'; +@import 'form/checkbox'; +@import 'form/checkboxgroup'; +@import 'form/triggerfield'; +@import 'form/htmleditor'; \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_grid.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_grid.scss new file mode 100644 index 000000000..5c5fb7f16 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_grid.scss @@ -0,0 +1,818 @@ +@mixin extjs-grid { + //main grid view + .#{$prefix}panel { + .#{$prefix}grid-body { + background: $panel-body-background-color; + border-color: $panel-body-border-color; + border-style: $panel-body-border-style; + border-width: 1px; + border-top-color: $grid-header-background-color; + } + + // Still needs left and right border even if it's not visible so that its available width can be calculated correctly + .#{$prefix}grid-header-ct-hidden { + border-top-width: 0 !important; + } + } + + .#{$prefix}grid-header-hidden .#{$prefix}grid-body { + border-top-color: $panel-body-border-color !important; + } + + .#{$prefix}grid-view { + overflow: hidden; + + position: relative; + } + + .#{$prefix}grid-table { + table-layout: fixed; + border-collapse: separate; + } + + .#{$prefix}grid-row .#{$prefix}grid-table { + border-collapse: collapse; + } + + .#{$prefix}grid-locked .#{$prefix}grid-inner-locked { + border-width: 0 1px 0 0 !important; + border-style: solid; + } + + .#{$prefix}grid-header-ct { + cursor: default; + zoom: 1; + padding: 0; + border: 1px solid $panel-body-border-color; + + @if $supports-gradients or $compile-all { + @include background-gradient($grid-header-background-color, $grid-header-background-gradient); + } + } + + @if $include-ie or $compile-all { + .#{$prefix}border-box .#{$prefix}ie9 { + .#{$prefix}grid-header-ct { + padding-left: 1px; + } + } + .#{$prefix}ie6, .#{$prefix}ie7 { + .#{$prefix}grid-header-ct { + padding-left: 1px; + } + } + + } + + .#{$prefix}column-header { + padding: 0; + position: absolute; + overflow: hidden; + + border-right: 1px solid $grid-header-background-color; + border-left: 0 none; + border-top: 0 none; + border-bottom: 0 none; + + text-shadow: 0 1px 0 rgba(255, 255, 255, .3); + font: normal 11px/15px $font-family; + + @if $grid-header-color { + color: $grid-header-color; + } + font: normal ceil($font-size * .9) $font-family; + + @if $supports-gradients or $compile-all { + @include background-gradient($grid-header-background-color, $grid-header-background-gradient); + } + } + + .#{$prefix}group-header { + padding: 0; + border-left-width: 0; + } + .#{$prefix}group-sub-header { + background: transparent; + border-top: 1px solid $grid-header-background-color; + border-left-width: 0; + } + + .#{$prefix}column-header-inner { + zoom: 1; + position: relative; + white-space: nowrap; + line-height: 22px; + padding: $grid-header-padding; + + .#{$prefix}column-header-text { + white-space: nowrap; + } + } + + .#{$prefix}column-header-over, + .#{$prefix}column-header-sort-ASC, + .#{$prefix}column-header-sort-DESC { + border-left-color: $grid-header-over-border-color; + border-right-color: $grid-header-over-border-color; + + @if $supports-gradients or $compile-all { + @include background-gradient($grid-header-over-background-color, $grid-header-over-background-gradient); + } + } + + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + .#{$prefix}grid-header-ct, + .#{$prefix}column-header { + background: repeat-x 0 top; + @include theme-background-image($theme-name, 'grid/column-header-bg.gif'); + } + + .#{$prefix}column-header-over, + .#{$prefix}column-header-sort-ASC, + .#{$prefix}column-header-sort-DESC { + background: #ebf3fd repeat-x 0 top; + @include theme-background-image($theme-name, 'grid/column-header-over-bg.gif'); + } + } + } + + .#{$prefix}column-header-trigger { + display: none; + height: 100%; + width: $grid-header-trigger-width; + background: no-repeat left center; + background-color: #c3daf9; + @include theme-background-image($theme-name, 'grid/grid3-hd-btn.gif'); + position: absolute; + right: 0; + top: 0; + z-index: 2; + cursor: pointer; + } + + .#{$prefix}column-header-over, .#{$prefix}column-header-open { + .#{$prefix}column-header-trigger { + display: block; + } + } + + .#{$prefix}column-header-align-right { + text-align: right; + + .#{$prefix}column-header-text { + padding-right: 0.5ex; + margin-right: 6px; + } + } + .#{$prefix}column-header-align-center { + text-align: center; + } + .#{$prefix}column-header-align-left { + text-align: left; + } + + // Sort direction indicator is a background of the text span. + .#{$prefix}column-header-sort-ASC .#{$prefix}column-header-text { + padding-right: 16px; + background: no-repeat right 6px; + @include theme-background-image($theme-name, 'grid/sort_asc.gif'); + } + .#{$prefix}column-header-sort-DESC .#{$prefix}column-header-text { + padding-right: 16px; + background: no-repeat right 6px; + @include theme-background-image($theme-name, 'grid/sort_desc.gif'); + } + + //grid rows + .#{$prefix}grid-row { + line-height: 13px; + + vertical-align: top; + + padding: $grid-row-padding; + + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: ignore; + + .#{$prefix}grid-cell { + @if $grid-row-cell-color { + color: $grid-row-cell-color; + } + font: $grid-row-cell-font; + + border-color: $grid-row-cell-border-color; + border-style: $grid-row-cell-border-style; + border-width: $grid-row-cell-border-width; + border-top-color: lighten($grid-row-cell-border-color, 5); + } + } + + .#{$prefix}grid-rowwrap-div { + border-width: $grid-row-wrap-border-width; + border-color: $grid-row-wrap-border-color; + border-style: $grid-row-wrap-border-style; + border-top-color: lighten($grid-row-wrap-border-color, 5); + + overflow: hidden; + } + + .#{$prefix}grid-row-alt .#{$prefix}grid-cell, + .#{$prefix}grid-row-alt .#{$prefix}grid-rowwrap-div { + background-color: $grid-row-cell-alt-background; + } + + .#{$prefix}grid-row-over .#{$prefix}grid-cell, + .#{$prefix}grid-row-over .#{$prefix}grid-rowwrap-div { + border-color: $grid-row-cell-over-border-color; + + background-color: $grid-row-cell-over-background-color; + } + + .#{$prefix}grid-row-focused .#{$prefix}grid-cell, + .#{$prefix}grid-row-focused .#{$prefix}grid-rowwrap-div { + border-color: $grid-row-cell-focus-border-color; + + background-color: $grid-row-cell-focus-background-color; + } + + .#{$prefix}grid-row-selected .#{$prefix}grid-cell, + .#{$prefix}grid-row-selected .#{$prefix}grid-rowwrap-div { + border-style: $grid-row-cell-selected-border-style; + border-color: $grid-row-cell-selected-border-color; + + background-color: $grid-row-cell-selected-background-color !important; + } + + .#{$prefix}grid-rowwrap-div { + .#{$prefix}grid-cell, + .#{$prefix}grid-cell-inner { + border-width: 0; + + background: transparent; + } + } + + .#{$prefix}grid-row-body-hidden { + display: none; + } + + .#{$prefix}grid-rowbody { + font: $grid-row-body-font; + + padding: $grid-row-body-padding; + + p { + margin: 5px 5px 10px 5px; + } + } + + //grid cells + .#{$prefix}grid-cell { + overflow: hidden; + + font: $grid-cell-font; + + -moz-user-select: none; + -khtml-user-select:none; + -webkit-user-select:ignore; + } + + .#{$prefix}grid-cell-inner { + overflow: hidden; + + -o-text-overflow: ellipsis; + text-overflow: ellipsis; + + padding: $grid-cell-inner-padding; + + white-space: nowrap; + } + + // Action columns with a standard, 16x16 icon require less padding + .#{$prefix}action-col-cell .#{$prefix}grid-cell-inner { + padding: 1px 2px 0 2px; + } + + .#{$prefix}ie6, + .#{$prefix}ie7, + .#{$prefix}quirks .#{$prefix}ie9, + .#{$prefix}quirks .#{$prefix}ie8, + .#{$prefix}strict .#{$prefix}ie8 { + .#{$prefix}action-col-cell .#{$prefix}grid-cell-inner { + padding: 2px 2px 1px 2px; + } + } + + .#{$prefix}grid-row .#{$prefix}grid-cell-special { + padding: 0; + border-right: 1px solid $grid-cell-with-col-lines-border-color; + + @include background-gradient(#f6f6f6, 'grid-cell-special'); + } + + /* + IE6-8 have issues with shrinking the TR to 0px (even w/line-height=0), so we + use an IE-specific trick to make the row disappear. We cannot do this on any + other browser, because it is not a non-standard thing to do and those other + browsers will do whacky things with it. + */ + + .#{$prefix}ie6, + .#{$prefix}ie7, + .#{$prefix}quirks .#{$prefix}ie8, + .#{$prefix}strict .#{$prefix}ie8 { + .#{$prefix}grid-header-row { + position: absolute; + } + } + + .#{$prefix}grid-row-selected .#{$prefix}grid-cell-special { + border-right: 1px solid adjust-color($base-color, $hue: -0.175deg, $saturation: 25.296%, $lightness: -2.549%); + + @include background-gradient($grid-row-cell-selected-background-color, 'grid-cell-special'); + } + + .#{$prefix}grid-dirty-cell { + @include theme-background-image($theme-name, 'grid/dirty.gif'); + background-position: 0 0; + background-repeat: no-repeat; + } + + .#{$prefix}grid-cell-selected { + background-color: #B8CFEE !important; + } + + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + .#{$prefix}grid-cell-special { + background-repeat: repeat-y; + background-position: top right; + } + + .#{$prefix}grid-row .#{$prefix}grid-cell-special, + .#{$prefix}grid-row-over .#{$prefix}grid-cell-special { + @include theme-background-image($theme-name, 'grid/cell-special-bg.gif'); + + } + + .#{$prefix}grid-row-focused .#{$prefix}grid-cell-special, + .#{$prefix}grid-row-selected .#{$prefix}grid-cell-special { + @include theme-background-image($theme-name, 'grid/cell-special-selected-bg.gif'); + } + } + } + + //this is panel as gridpanel doesn't use a baseCls + .#{$prefix}panel-with-col-lines .#{$prefix}grid-row .#{$prefix}grid-cell { + padding-right: 0; + border-right: 1px solid $grid-cell-with-col-lines-border-color; + } + + @if $include-ie { + .#{$prefix}ie { + .#{$prefix}grid-cell-special { + border-right-width: 0 !important; + } + } + } + + .#{$prefix}property-grid { + .#{$prefix}grid-row .#{$prefix}grid-cell-inner { + padding: 3px 6px 5px; + } + + .#{$prefix}grid-row .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner, + .#{$prefix}grid-row-over .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner { + padding-left: 12px; + @include theme-background-image($theme-name, 'grid/property-cell-bg.gif'); + background-repeat: no-repeat; + background-position: -16px 1px; + } + } + + @if $include-ie { + .#{$prefix}quirks .#{$prefix}ie .#{$prefix}grid-row .#{$prefix}grid-property-name .#{$prefix}grid-cell-inner { + background-position: -16px 2px; + } + } + + .#{$prefix}unselectable { + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: ignore; + } + + .#{$prefix}grid-row-body-hidden { + display: none; + } + + .#{$prefix}grid-group-collapsed { + display: none; + } + + //grid expander + .#{$prefix}grid-view { + .#{$prefix}grid-td-expander { + vertical-align: top; + } + } + + .#{$prefix}grid-td-expander { + background: repeat-y right transparent; + } + + .#{$prefix}grid-view { + .#{$prefix}grid-td-expander { + .#{$prefix}grid-cell-inner { + padding: 0 !important; + } + } + } + + .#{$prefix}grid-row-expander { + @include theme-background-image($theme-name, 'grid/group-collapse.gif'); + background-color: transparent; + + width: 9px; + height: 13px; + + margin-left: 3px; + + background-repeat: no-repeat; + background-position: 0 -2px; + } + + .#{$prefix}grid-row-collapsed { + .#{$prefix}grid-row-expander { + @include theme-background-image($theme-name, 'grid/group-expand.gif'); + } + } + + .#{$prefix}grid-resize-marker { + position: absolute; + z-index: 5; + top: 0; + width: 1px; + background-color: #0f0f0f; + } + + //column move icons, when moving columns + .col-move-top, + .col-move-bottom { + width: 9px; + height: 9px; + position: absolute; + top: 0; + line-height: 0; + font-size: 0; + overflow: hidden; + z-index: 20000; + background: no-repeat left top transparent; + } + + .col-move-top { + @include theme-background-image($theme-name, 'grid/col-move-top.gif'); + } + + .col-move-bottom { + @include theme-background-image($theme-name, 'grid/col-move-bottom.gif'); + } + + //pading toolbar + .#{$prefix}tbar-page-number { + width: 30px; + } + + //grouped grid + .#{$prefix}grid-group, + .#{$prefix}grid-group-body, + .#{$prefix}grid-group-hd { + zoom: 1; + } + + .#{$prefix}grid-group-hd { + padding-top: 6px; + + .#{$prefix}grid-cell-inner { + padding: 10px 4px 4px 4px; + + background: $grid-grouped-header-background-color; + + border-width: $grid-grouped-header-border-width; + border-style: $grid-grouped-header-border-style; + border-color: $grid-grouped-header-border-color; + + cursor: pointer; + } + } + + .#{$prefix}grid-group-title { + background: transparent no-repeat 0 -1px; + @include theme-background-image($theme-name, 'grid/group-collapse.gif'); + + color: $grid-grouped-title-color; + font: $grid-grouped-title-font; + + padding: 0 0 0 14px; + } + + .#{$prefix}grid-group-hd-collapsed { + .#{$prefix}grid-group-title { + @include theme-background-image($theme-name, 'grid/group-expand.gif'); + } + } + + .#{$prefix}grid-group-collapsed .#{$prefix}grid-group-body { + display: none; + } + + .#{$prefix}grid-group-collapsed .#{$prefix}grid-group-title { + @include theme-background-image($theme-name, 'grid/group-expand.gif'); + } + + .#{$prefix}group-by-icon { + @include theme-background-image($theme-name, 'grid/group-by.gif'); + } + + .#{$prefix}show-groups-icon { + @include theme-background-image($theme-name, 'grid/group-by.gif'); + } + + .#{$prefix}column-header-checkbox .#{$prefix}column-header-inner { + padding: 1px; + } + + .#{$prefix}grid-cell-special .#{$prefix}grid-cell-inner { + padding: 4px; + } + + .#{$prefix}grid-row-checker, + .#{$prefix}column-header-checkbox .#{$prefix}column-header-text { + height: 14px; + width: 14px; + @include theme-background-image($theme-name, 'grid/unchecked.gif'); + background-position: -1px -1px; + background-repeat: no-repeat; + background-color: transparent; + } + + // Row checker is a div but column header checker is the text span element, so make it display: block + // Header checkbox element needs centering + .#{$prefix}column-header-checkbox .#{$prefix}column-header-text { + display: block; + margin-top: 4px; + margin-left: 4px; + } + + @if $include-ie or $compile-all { + /* All IE Quirks mode need to squish the header height or the line-height will become too tall */ + /* IE6 always needs the hack regardless of quirks/strict */ + .#{$prefix}quirks .#{$prefix}ie, .#{$prefix}ie6 { + .#{$prefix}column-header-checkbox .#{$prefix}column-header-inner { + line-height: 18px; + } + } + + /* IE 6, 7 & 9 are 1px too far to the right when centering, drop the margin 1px. */ + .#{$prefix}ie6, .#{$prefix}ie7, .#{$prefix}ie9 { + .#{$prefix}column-header-checkbox .#{$prefix}column-header-text { + margin-left: 3px; + } + } + } + + .#{$prefix}grid-hd-checker-on .#{$prefix}column-header-text { + @include theme-background-image($theme-name, 'grid/checked.gif'); + } + + .#{$prefix}grid-row-checker { + margin-left: 1px; + + background-position: 50% -2px; + } + + .#{$prefix}grid-row-selected .#{$prefix}grid-row-checker, + .#{$prefix}grid-row-checked .#{$prefix}grid-row-checker { + @include theme-background-image($theme-name, 'grid/checked.gif'); + } + + //grid icons + .#{$prefix}tbar-page-first { + background-image: theme-image($theme-name, 'grid/page-first.gif') !important; + } + + .#{$prefix}tbar-loading { + background-image: theme-image($theme-name, 'grid/refresh.gif') !important; + } + + .#{$prefix}tbar-page-last { + background-image: theme-image($theme-name, 'grid/page-last.gif') !important; + } + + .#{$prefix}tbar-page-next { + background-image: theme-image($theme-name, 'grid/page-next.gif') !important; + } + + .#{$prefix}tbar-page-prev { + background-image: theme-image($theme-name, 'grid/page-prev.gif') !important; + } + + .#{$prefix}item-disabled { + .#{$prefix}tbar-loading { + background-image: theme-image($theme-name, 'grid/refresh-disabled.gif') !important; + } + + .#{$prefix}tbar-page-first { + background-image: theme-image($theme-name, 'grid/page-first-disabled.gif') !important; + } + + .#{$prefix}tbar-page-last { + background-image: theme-image($theme-name, 'grid/page-last-disabled.gif') !important; + } + + .#{$prefix}tbar-page-next { + background-image: theme-image($theme-name, 'grid/page-next-disabled.gif') !important; + } + + .#{$prefix}tbar-page-prev { + background-image: theme-image($theme-name, 'grid/page-prev-disabled.gif') !important; + } + } + + //menu icons + .xg-hmenu-sort-asc .#{$prefix}menu-item-icon { + @include theme-background-image($theme-name, 'grid/hmenu-asc.gif'); + } + + .xg-hmenu-sort-desc .#{$prefix}menu-item-icon { + @include theme-background-image($theme-name, 'grid/hmenu-desc.gif'); + } + + .xg-hmenu-lock .#{$prefix}menu-item-icon { + @include theme-background-image($theme-name, 'grid/hmenu-lock.gif'); + } + + .xg-hmenu-unlock .#{$prefix}menu-item-icon { + @include theme-background-image($theme-name, 'grid/hmenu-unlock.gif'); + } + + .#{$prefix}group-by-icon { + @include theme-background-image($theme-name, 'grid/group-by.gif'); + } + + .#{$prefix}cols-icon .#{$prefix}menu-item-icon { + @include theme-background-image($theme-name, 'grid/columns.gif'); + } + + .#{$prefix}show-groups-icon { + @include theme-background-image($theme-name, 'grid/group-by.gif'); + } + + // Drag/drop indicator styles + .#{$prefix}grid-drop-indicator { + position: absolute; + height: 1px; + line-height: 0px; + background-color: #77BC71; + overflow: visible; + + .#{$prefix}grid-drop-indicator-left { + position: absolute; + top: -8px; + left: -12px; + @include theme-background-image($theme-name, 'grid/dd-insert-arrow-right.png'); + height: 16px; + width: 16px; + } + + .#{$prefix}grid-drop-indicator-right { + position: absolute; + top: -8px; + right: -11px; + @include theme-background-image($theme-name, 'grid/dd-insert-arrow-left.png'); + height: 16px; + width: 16px; + } + } + + .#{$prefix}ie6 { + .#{$prefix}grid-drop-indicator-left { + @include theme-background-image($theme-name, 'grid/dd-insert-arrow-right.gif'); + } + + .#{$prefix}grid-drop-indicator-right { + @include theme-background-image($theme-name, 'grid/dd-insert-arrow-left.gif'); + } + } + + // Row Editor + .#{$prefix}grid-row-editor { + position: absolute !important; + z-index: 1; + zoom: 1; + overflow: visible !important; + + .#{$prefix}form-field { + font: $grid-row-editor-font; + } + .#{$prefix}form-display-field { + font: $grid-row-editor-font; + padding-top: 0; + } + + .#{$prefix}panel-body { + background-color: $grid-row-editor-background-color; + border-top: $grid-row-editor-border; + border-bottom: $grid-row-editor-border; + } + } + + // Perfect alignment of input text with cell text + .#{$prefix}grid-row-editor { + // Align input text with text value in cell + .#{$prefix}form-text { + padding-left: 2px; + } + } + .#{$prefix}grid-editor { + // Align checkboxes input + .#{$prefix}form-cb-wrap { + text-align: center; + } + } + +.#{$prefix}grid-row-editor-buttons { + background-color: $grid-row-editor-background-color; + position: absolute; + bottom: -31px; + padding: 4px; + width: 200px; + height: 32px; + + .#{$prefix}strict & { + width: 192px; + height: 24px; + } + + &-ml, + &-mr, + &-bl, + &-br, + &-bc { + position: absolute; + overflow: hidden; + } + + &-bl, + &-br { + width: 4px; + height: 4px; + bottom: 0px; + @include theme-background-image($theme-name, 'panel/panel-default-framed-corners.gif'); + } + &-bl { + left: 0px; + background-position: 0px -16px; + } + &-br { + right: 0px; + background-position: 0px -20px; + } + + &-bc { + position: absolute; + left: 4px; + bottom: 0px; + width: 192px; + height: 1px; + background-color: $grid-row-editor-border-color; + } + + &-ml, + &-mr { + height: 27px; + width: 1px; + top: 1px; + background-color: $grid-row-editor-border-color; + } + &-ml { + left: 0px + } + &-mr { + background-position: 0px -20px; + right: 0px; + } + } + + .#{$prefix}grid-row-editor-errors { + ul { + margin-left: 5px; + } + li { + list-style: disc; + margin-left: 15px; + } + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_html.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_html.scss new file mode 100644 index 000000000..a6acf008d --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_html.scss @@ -0,0 +1,126 @@ +/** + * W3C Suggested Default style sheet for HTML 4 + * http://www.w3.org/TR/CSS21/sample.html + */ +@mixin extjs-html { + .#{$prefix}html { + html, + address, + blockquote, + body, + dd, + div, + dl, + dt, + fieldset, + form, + frame, frameset, + h1, + h2, + h3, + h4, + h5, + h6, + noframes, + ol, + p, + ul, + center, + dir, + hr, + menu, + pre { display: block; } + li { display: list-item; list-style: disc; } + head { display: none; } + table { display: table; } + tr { display: table-row; } + thead { display: table-header-group; } + tbody { display: table-row-group; } + tfoot { display: table-footer-group; } + col { display: table-column; } + colgroup { display: table-column-group; } + td, + th { display: table-cell; } + caption { display: table-caption; } + th { font-weight: bolder; text-align: center; } + caption { text-align: center; } + body { margin: 8px; } + h1 { font-size: 2em; margin: .67em 0; } + h2 { font-size: 1.5em; margin: .75em 0; } + h3 { font-size: 1.17em; margin: .83em 0; } + h4, + p, + blockquote, + ul, + fieldset, + form, + ol, + dl, + dir, + menu { margin: 1.12em 0; } + h5 { font-size: .83em; margin: 1.5em 0; } + h6 { font-size: .75em; margin: 1.67em 0; } + h1, + h2, + h3, + h4, + h5, + h6, + b, + strong { font-weight: bolder; } + blockquote { margin-left: 40px; margin-right: 40px; } + i, + cite, + em, + var, + address { font-style: italic; } + pre, + tt, + code, + kbd, + samp { font-family: monospace; } + pre { white-space: pre; } + button, + textarea, + input, + select { display: inline-block; } + big { font-size: 1.17em; } + small, + sub, + sup { font-size: .83em; } + sub { vertical-align: sub; } + sup { vertical-align: super; } + table { border-spacing: 2px; } + thead, + tbody, + tfoot { vertical-align: middle; } + td, + th { vertical-align: inherit; } + s, + strike, + del { text-decoration: line-through; } + hr { border: 1px inset; } + ol, + ul, + dir, + menu, + dd { margin-left: 40px; } + ul, menu, dir { list-style-type: disc; } + ol { list-style-type: decimal; } + ol ul, + ul ol, + ul ul, + ol ol { margin-top: 0; margin-bottom: 0; } + u, + ins { text-decoration: underline; } + br:before { content: "\A"; } + :before, :after { white-space: pre-line; } + center { text-align: center; } + :link, :visited { text-decoration: underline; } + :focus { outline: invert dotted thin; } + + /* Begin bidirectionality settings (do not change) */ + BDO[DIR="ltr"] { direction: ltr; unicode-bidi: bidi-override; } + BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override; } + ; } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss new file mode 100644 index 000000000..d03b3a03e --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss @@ -0,0 +1,59 @@ +/** + * @class Ext.LoadMask + * Component used to mask a component + */ +.#{$prefix}mask { + z-index: 100; + + position: absolute; + top: 0; + left: 0; + + @include opacity($loadmask-opacity); + + width: 100%; + height: 100%; + zoom: 1; + + background: $loadmask-backgorund; +} + +.#{$prefix}mask-msg { + z-index: 20001; + + position: absolute; + top: 0; + left: 0; + + padding: $loadmask-msg-padding; + border: 1px solid; + border-color: $loadmask-msg-border-color; + + @if $loadmask-msg-background-gradient { + @if $supports-gradients or $compile-all { + @include background-gradient($loadmask-msg-background-color, $loadmask-msg-background-gradient); + } + } @else { + background: $loadmask-msg-background-color; + } + + div { + padding: $loadmask-msg-inner-padding; + + //if an icon is defined show it + @if $loadmask-msg-inner-icon != null { + background-image: theme-image($theme-name, $loadmask-msg-inner-icon); + background-repeat: no-repeat; + background-position: 5px center; + } + + cursor: wait; + + border: 1px solid $loadmask-msg-inner-border-color; + + background-color: $loadmask-msg-inner-background-color; + + color: $loadmask-msg-inner-color; + font: $loadmask-msg-inner-font; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss new file mode 100644 index 000000000..d3a8e040d --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss @@ -0,0 +1,185 @@ +/** + * @class Ext.menu.* + */ +@mixin extjs-menu { + .#{$prefix}menu-body { + @include no-select; + background: $menu-background-color !important; + padding: $menu-padding; + } + + .#{$prefix}menu-icon-separator { + position: absolute; + top: 0px; + left: $menu-item-indent; + z-index: 0; + border-left: solid 1px $menu-separator-border-color; + background-color: $menu-separator-background-color; + width: 2px; + height: 100%; + overflow: hidden; + } + + .#{$prefix}menu-plain { + .#{$prefix}menu-icon-separator { + display: none; + } + } + + .#{$prefix}menu-focus { + display: block; + position: absolute; + top: -10px; + left: -10px; + width: 0px; + height: 0px; + } + + .#{$prefix}menu-item { + white-space: nowrap; + overflow: hidden; + z-index: 1; + } + + .#{$prefix}menu-item-cmp { + margin-bottom: 1px; + } + + .#{$prefix}menu-item-link { + display: block; + padding: 0px $menu-padding; + margin: 1px; + text-decoration: none !important; + line-height: 16px; + cursor: default; + } + + @if $include-opera { + .#{$prefix}opera { + // Opera 10.5 absolute positioning of submenu arrow has issues + // This will fix it, and not affect newer Operas + .#{$prefix}menu-item-link { + position: relative; + } + } + } + + .#{$prefix}menu-item-icon { + width: 16px; + height: 16px; + margin: 4px 11px 0px 2px; + background: no-repeat center center; + } + + .#{$prefix}menu-item-text { + position: relative; + font-size: ceil($font-size * .9); + color: $menu-text-color; + top: -4px; + } + + .#{$prefix}menu-item-checked { + .#{$prefix}menu-item-icon { + background-image: theme-image($theme-name, $menu-icon-checked); + } + .#{$prefix}menu-group-icon { + background-image: theme-image($theme-name, $menu-icon-group-checked); + } + } + + .#{$prefix}menu-item-unchecked { + .#{$prefix}menu-item-icon { + background-image: theme-image($theme-name, $menu-icon-unchecked); + } + .#{$prefix}menu-group-icon { + background-image: none; + } + } + + .#{$prefix}menu-item-separator { + height: 2px; + border-top: solid 1px $menu-separator-border-color; + background-color: $menu-separator-background-color; + margin: $menu-padding 0px; + overflow: hidden; + } + + .#{$prefix}menu-item-arrow { + position: absolute; + width: 12px; + height: 9px; + top: 9px; + right: 0px; + background: theme-image($theme-name, $menu-icon-arrow) no-repeat center center; + } + + .#{$prefix}menu-item-indent { + margin-left: $menu-item-indent + $menu-padding + 2px; /* The 2px is the width of the seperator */ + } + + .#{$prefix}menu-item-active { + cursor: pointer; + + .#{$prefix}menu-item-link { + @include background-gradient($menu-item-active-background-color, 'matte'); + margin: 0px; + border: 1px solid $menu-item-active-border-color; + cursor: pointer; + @include border-radius(3px); + } + } + + .#{$prefix}menu-item-disabled { + @include opacity(.5); + } + + @if $include-ie { + .#{$prefix}ie { + .#{$prefix}menu-item-link { + line-height: 17px; + padding-bottom: 1px; + } + + .#{$prefix}menu-item-disabled { + .#{$prefix}menu-item-icon { + @include opacity(.5); + } + + .#{$prefix}menu-item-text { + // IE opacity/cleartype bug workaround + background-color: $menu-background-color; + } + } + + .#{$prefix}strict & { + .#{$prefix}menu-icon-separator { + width: 1px; + } + + .#{$prefix}menu-item-separator { + height: 1px; + } + } + } + + .#{$prefix}ie6, + .#{$prefix}ie7, + .#{$prefix}quirks .#{$prefix}ie8 { + .#{$prefix}menu-item-link { + padding-bottom: $menu-padding; + } + } + } + + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + .#{$prefix}menu-item-active .#{$prefix}menu-item-link { + background: $menu-item-active-background-color theme-image($theme-name, $menu-item-active-background-image) repeat-x left top; + } + } + } + + .#{$prefix}menu-date-item { + border-color: #99BBE8; + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_panel.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_panel.scss new file mode 100644 index 000000000..f338a1af8 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_panel.scss @@ -0,0 +1,442 @@ +/** + * @class Ext.Panel + * Used to create the base structure of an Ext.Panel + */ +@mixin extjs-panel { + .#{$prefix}panel, + .#{$prefix}plain { + overflow: hidden; + position: relative; + } + + @if $include-ie { + // Workaround for disappearing right edge in IE6 + .#{$prefix}ie { + .#{$prefix}panel-header, + .#{$prefix}panel-header-tl, + .#{$prefix}panel-header-tc, + .#{$prefix}panel-header-tr, + .#{$prefix}panel-header-ml, + .#{$prefix}panel-header-mc, + .#{$prefix}panel-header-mr, + .#{$prefix}panel-header-bl, + .#{$prefix}panel-header-bc, + .#{$prefix}panel-header-br { + zoom: 1; + } + } + // Fix for IE8 clipping. EXTJSIV-1553 + .#{$prefix}ie8 { + td.#{$prefix}frame-mc { + vertical-align: top; + } + } + } + + //panel header + .#{$prefix}panel-header { + padding: $panel-header-padding; + } + + .#{$prefix}panel-header-icon, + .#{$prefix}window-header-icon { + width:16px; + height:16px; + background-repeat:no-repeat; + background-position:0 0; + vertical-align:middle; + margin-right:4px; + margin-top:-1px; + margin-bottom:-1px; + } + + .#{$prefix}panel-header-draggable, + .#{$prefix}panel-header-draggable .#{$prefix}panel-header-text, + .#{$prefix}window-header-draggable, + .#{$prefix}window-header-draggable .#{$prefix}window-header-text{ + cursor: move; + } + + // A ghost is just a Panel. The only extra it needs is opacity. + // TODO: Make opacity a variable + .#{$prefix}panel-ghost, .#{$prefix}window-ghost { + @include opacity(0.65); + cursor: move; + } + + .#{$prefix}panel-header-horizontal, .#{$prefix}window-header-horizontal, .#{$prefix}btn-group-header-horizontal { + .#{$prefix}panel-header-body, .#{$prefix}window-header-body, .#{$prefix}btn-group-header-body { + width: 100%; + } + } + + .#{$prefix}panel-header-vertical, .#{$prefix}window-header-vertical, .#{$prefix}btn-group-header-vertical { + .#{$prefix}panel-header-body, .#{$prefix}window-header-body, .#{$prefix}btn-group-header-body { + height: 100%; + } + } + + // Vertical headers must be inline blocks so that they acquire width from the content + .#{$prefix}panel-header-vertical, .#{$prefix}panel-header-vertical .#{$prefix}panel-header-body, + .#{$prefix}btn-group-header-vertical, .#{$prefix}btn-group-header-vertical .#{$prefix}btn-group-header-body, + .#{$prefix}window-header-vertical, .#{$prefix}window-header-vertical .#{$prefix}window-header-body { + display: -moz-inline-stack; + display: inline-block; + } + + .#{$prefix}panel-header-text { + @include no-select; + white-space: nowrap; + } + + .#{$prefix}panel-header-left, + .#{$prefix}panel-header-right { + .#{$prefix}vml-base { + left: -3px !important; + } + } + + //panel body + .#{$prefix}panel-body { + overflow: hidden; + position: relative; + + font-size: $panel-body-font-size; + } + + .#{$prefix}panel-header-vertical { + .#{$prefix}surface { + margin-top: 2px; + } + } + + .#{$prefix}panel-header-plain-vertical { + .#{$prefix}surface { + margin-top: 0; + } + } + + + .#{$prefix}panel-collapsed { + .#{$prefix}panel-header-collapsed-border-top { + border-bottom-width: $panel-header-border-width !important; + } + .#{$prefix}panel-header-collapsed-border-right { + border-left-width: $panel-header-border-width !important; + } + .#{$prefix}panel-header-collapsed-border-bottom { + border-top-width: $panel-header-border-width !important; + } + .#{$prefix}panel-header-collapsed-border-left { + border-right-width: $panel-header-border-width !important; + } + } + + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg .#{$prefix}panel-header-vertical { + .#{$prefix}frame-mc { + background-repeat: repeat-y; + } + } + } + + @if $include-panel-uis == true { + @include extjs-panel-ui( + 'default', + + $ui-base-color: $panel-base-color, + $ui-border-width: $panel-border-width, + $ui-border-color: $panel-border-color, + $ui-border-radius: $panel-border-radius, + + $ui-header-color: $panel-header-color, + $ui-header-font-size: $panel-header-font-size, + $ui-header-font-weight: $panel-header-font-weight, + $ui-header-border-color: $panel-header-border-color, + $ui-header-background-color: $panel-header-background-color, + $ui-header-background-gradient: $panel-header-background-gradient, + + $ui-body-color: $panel-body-color, + $ui-body-border-color: $panel-body-border-color, + $ui-body-border-width: 1px, + $ui-body-background-color: $panel-body-background-color + ); + + @include extjs-panel-ui( + 'default-framed', + + $ui-base-color: $panel-base-color, + $ui-border-width: $panel-frame-border-width, + $ui-border-color: $panel-frame-border-color, + $ui-border-radius: $panel-frame-border-radius, + + $ui-header-color: $panel-header-color, + $ui-header-font-size: $panel-header-font-size, + $ui-header-font-weight: $panel-header-font-weight, + $ui-header-border-color: $panel-frame-border-color, + $ui-header-background-color: $panel-header-background-color, + $ui-header-background-gradient: $panel-header-background-gradient, + + $ui-body-color: $panel-body-color, + $ui-body-border-color: $panel-body-border-color, + $ui-body-border-width: 0, + $ui-body-background-color: $panel-frame-background-color + ); + } + + .x-panel-header-plain, + .x-panel-body-plain { + border: 0; + padding: 0; + } +} + +/** + * @class Ext.Panel + * Used to create a visual theme for an Ext.Panel + */ +@mixin extjs-panel-ui( + $ui-label, + + $ui-base-color: null, + + $ui-border-color: null, + $ui-border-radius: null, + $ui-border-width: 0, + + $ui-header-color: null, + $ui-header-font-family: $panel-header-font-family, + $ui-header-font-size: $panel-header-font-size, + $ui-header-font-weight: $panel-header-font-weight, + $ui-header-border-color: $ui-border-color, + $ui-header-background-color: null, + $ui-header-background-gradient: matte, + $ui-header-inner-border-color: null, + + $ui-body-color: null, + $ui-body-border-color: null, + $ui-body-border-width: null, + $ui-body-border-style: solid, + $ui-body-background-color: null, + $ui-body-font-size: null, + $ui-body-font-weight: null +){ + @if $ui-base-color != null { + @if $ui-border-color == null { $ui-border-color: $ui-base-color; } + + @if $ui-header-color == null { $ui-header-color: #fff; } + @if $ui-header-background-color == null { $ui-header-background-color: lighten($ui-base-color, 15); } + } + + @if $ui-header-inner-border-color == null and $ui-header-background-color != null { + $ui-header-inner-border-color: lighten($ui-header-background-color, 10); + } + + .#{$prefix}panel-#{$ui-label} { + @if $ui-border-color != null { border-color: $ui-border-color; } + } + + // header + .#{$prefix}panel-header-#{$ui-label} { + @if $ui-header-font-size != null { font-size: $ui-header-font-size; } + line-height: $panel-header-line-height; + + @if $ui-header-border-color != null { + border-color: $ui-header-border-color; + border-width: $panel-header-border-width; + border-style: $panel-header-border-style; + } + + @if $supports-gradients or $compile-all { + @if $ui-header-background-color != null { @include background-gradient($ui-header-background-color, $ui-header-background-gradient); } + + @if $panel-header-inner-border and $ui-header-inner-border-color != null { + @include inner-border( + $width: $panel-header-inner-border-width, + $color: $ui-header-inner-border-color + ); + } + } + } + + // header background images + @if $ui-header-background-color != null and $ui-header-background-gradient != null { + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg .#{$prefix}panel-header-#{$ui-label}-top { + background-image: theme-image($theme-name, 'panel-header/panel-header-#{$ui-label}-top-bg.gif'); + } + + .#{$prefix}nlg .#{$prefix}panel-header-#{$ui-label}-bottom { + background-image: theme-image($theme-name, 'panel-header/panel-header-#{$ui-label}-bottom-bg.gif'); + } + + .#{$prefix}nlg .#{$prefix}panel-header-#{$ui-label}-left { + background-image: theme-image($theme-name, 'panel-header/panel-header-#{$ui-label}-left-bg.gif'); + } + + .#{$prefix}nlg .#{$prefix}panel-header-#{$ui-label}-right { + background-image: theme-image($theme-name, 'panel-header/panel-header-#{$ui-label}-right-bg.gif'); + } + } + } + + // header text + .#{$prefix}panel-header-text-#{$ui-label} { + @if $ui-header-color != null { color: $ui-header-color; } + + @if $ui-header-font-size != null { font-size: $ui-header-font-size; } + @if $ui-header-font-weight != null { font-weight: $ui-header-font-weight; } + @if $ui-header-font-family != null { font-family: $ui-header-font-family; } + } + + // body + .#{$prefix}panel-body-#{$ui-label} { + @if $ui-body-background-color != null { background: $ui-body-background-color; } + @if $ui-body-border-color != null { border-color: $ui-body-border-color; } + @if $ui-body-color != null { color: $ui-body-color; } + @if $ui-body-font-size != null { font-size: $ui-body-font-size; } + @if $ui-body-font-weight != null { font-size: $ui-body-font-weight; } + + @if $ui-body-border-width != null { + border-width: $ui-body-border-width; + @if $ui-body-border-style != null { border-style: $ui-body-border-style; } + } + } + + .#{$prefix}panel-collapsed { + .#{$prefix}window-header-#{$ui-label}, + .#{$prefix}panel-header-#{$ui-label} { + @if $ui-body-border-color != null { border-color: $ui-body-border-color; } + } + } + + .#{$prefix}panel-header-#{$ui-label}-vertical { + @if $ui-body-border-color != null { border-color: $ui-body-border-color; } + } + + @if $ui-base-color != null { + @if $supports-gradients or $compile-all { + .#{$prefix}panel-header-#{$ui-label}-left, + .#{$prefix}panel-header-#{$ui-label}-right { + @include background-gradient($ui-header-background-color, $ui-header-background-gradient, right); + } + } + } + + @if $ui-border-radius != null { + @include x-frame( + 'panel', + $ui: '#{$ui-label}', + + /* Radius, width, padding and background-color */ + $border-radius : $ui-border-radius, + $border-width : $ui-border-width, + $padding : $panel-frame-padding, + $background-color: $ui-body-background-color + ); + + + @include x-frame('panel-header', '#{$ui-label}-top', top($ui-border-radius) right($ui-border-radius) 0 0, $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient); + @include x-frame('panel-header', '#{$ui-label}-right', 0 right($ui-border-radius) bottom($ui-border-radius) 0, $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient, false, right); + @include x-frame('panel-header', '#{$ui-label}-bottom', 0 0 bottom($ui-border-radius) left($ui-border-radius), $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient); + @include x-frame('panel-header', '#{$ui-label}-left', top($ui-border-radius) 0 0 left($ui-border-radius), $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient, false, right); + + .#{$prefix}panel-header-#{$ui-label}-top { + @include inner-border(1px 1px 0 1px, $ui-header-inner-border-color); + } + + .#{$prefix}panel-header-#{$ui-label}-right { + @include inner-border(1px 1px 1px 0, $ui-header-inner-border-color); + } + + .#{$prefix}panel-header-#{$ui-label}-bottom { + @include inner-border(0 1px 1px 1px, $ui-header-inner-border-color); + } + + .#{$prefix}panel-header-#{$ui-label}-left { + @include inner-border(1px 0 1px 1px, $ui-header-inner-border-color); + } + } @else { + .#{$prefix}panel-collapsed { + .#{$prefix}panel-header-#{$ui-label}-top { + @include border-bottom-radius($ui-border-radius); + } + + .#{$prefix}panel-header-#{$ui-label}-right { + @include border-left-radius($ui-border-radius); + } + + .#{$prefix}panel-header-#{$ui-label}-bottom { + @include border-top-radius($ui-border-radius); + } + + .#{$prefix}panel-header-#{$ui-label}-left { + @include border-right-radius($ui-border-radius); + } + } + + .#{$prefix}nlg .#{$prefix}panel-header-#{$ui-label}-right { + background-position: top right; + } + + .#{$prefix}panel-header-#{$ui-label}-top { + @include inner-border(1px 0 0 0, $ui-header-inner-border-color); + } + + .#{$prefix}panel-header-#{$ui-label}-right { + @include inner-border(0 1px 0 0, $ui-header-inner-border-color); + } + + .#{$prefix}panel-header-#{$ui-label}-bottom { + @include inner-border(0 0 1px, $ui-header-inner-border-color); + } + + .#{$prefix}panel-header-#{$ui-label}-left { + @include inner-border(0 0 0 1px, $ui-header-inner-border-color); + } + } + + .#{$prefix}nlg .#{$prefix}panel-header-#{$ui-label}-bottom { + background-position: bottom left; + } + + @if $ui-border-radius != null { + .#{$prefix}panel .#{$prefix}panel-header-#{$ui-label}-top { + border-bottom-width: 1px !important; + } + + .#{$prefix}panel .#{$prefix}panel-header-#{$ui-label}-right { + border-left-width: 1px !important; + } + + .#{$prefix}panel .#{$prefix}panel-header-#{$ui-label}-bottom { + border-top-width: 1px !important; + } + + .#{$prefix}panel .#{$prefix}panel-header-#{$ui-label}-left { + border-right-width: 1px !important; + } + + .#{$prefix}panel-header-#{$ui-label}-collapsed { + @include border-radius($ui-border-radius); + } + + @include x-frame('panel-header', '#{$ui-label}-collapsed-top', top($ui-border-radius) right($ui-border-radius) bottom($ui-border-radius) left($ui-border-radius), $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient); + @include x-frame('panel-header', '#{$ui-label}-collapsed-right', top($ui-border-radius) right($ui-border-radius) bottom($ui-border-radius) left($ui-border-radius), $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient, false, right); + @include x-frame('panel-header', '#{$ui-label}-collapsed-bottom', top($ui-border-radius) right($ui-border-radius) bottom($ui-border-radius) left($ui-border-radius), $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient); + @include x-frame('panel-header', '#{$ui-label}-collapsed-left', top($ui-border-radius) right($ui-border-radius) bottom($ui-border-radius) left($ui-border-radius), $ui-border-width, 4px 5px 4px 5px, $ui-header-background-color, $ui-header-background-gradient, false, right); + } + + //background positioning of images + .#{$prefix}panel-header-#{$ui-label}-right-tc, + .#{$prefix}panel-header-#{$ui-label}-right-mc, + .#{$prefix}panel-header-#{$ui-label}-right-bc { + background-position: right 0; + } + + .#{$prefix}panel-header-#{$ui-label}-bottom-tc, + .#{$prefix}panel-header-#{$ui-label}-bottom-mc, + .#{$prefix}panel-header-#{$ui-label}-bottom-bc { + background-position: 0 bottom; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss new file mode 100644 index 000000000..bbd41f647 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss @@ -0,0 +1,117 @@ +@mixin extjs-progress { + .#{$prefix}progress { + border-width: $progress-border-width; + border-style: solid; + @include border-radius($progress-border-radius); + + overflow: hidden; + + height: $progress-height; + } + + .#{$prefix}progress-bar { + height: $progress-height - ($progress-border-width * 2); + + overflow: hidden; + position: absolute; + + width: 0; + + @include border-radius($progress-border-radius); + border-right: 1px solid; + border-top: 1px solid; + } + + .#{$prefix}progress-text { + overflow: hidden; + + position: absolute; + + padding: 0 5px; + + height: $progress-height - ($progress-border-width * 2); + + font-weight: $progress-text-font-weight; + font-size: $progress-text-font-size; + line-height: 16px; + text-align: $progress-text-text-align; + } + + .#{$prefix}progress-text-back { + padding-top: 1px; + } + + @if $include-ie or $compile-all { + .#{$prefix}strict .#{$prefix}progress { + height: $progress-height - ($progress-border-width * 2); + } + } + + @include extjs-progress-ui( + 'default', + + $ui-background-color: $progress-background-color, + $ui-border-color: $progress-border-color, + + $ui-bar-background-color: $progress-bar-background-color, + + $ui-color-front: $progress-text-color-front, + $ui-color-back: $progress-text-color-back + ) +} + +/** + * @mixin extjs-progress-ui + */ +@mixin extjs-progress-ui( + $ui-label, + + $ui-base-color: null, + + $ui-border-color: null, + $ui-background-color: null, + + $ui-bar-background-color: null, + $ui-bar-background-gradient: glossy, + + $ui-color-front: null, + $ui-color-back: null +){ + @if $ui-base-color != null { + @if $ui-border-color == null { $ui-border-color: $ui-base-color; } + @if $ui-bar-background-color == null { $ui-bar-background-color: $ui-base-color; } + @if $ui-color-front == null { $ui-color-front: lighten($ui-base-color, 60); } + @if $ui-color-back == null { $ui-color-back: darken($ui-base-color, 60); } + } + + .#{$prefix}progress-#{$ui-label} { + @if $ui-border-color != null { border-color: $ui-border-color; } + + .#{$prefix}progress-bar { + @if $ui-border-color != null { border-right-color: $ui-border-color; } + @if $ui-border-color != null { border-top-color: lighten($ui-border-color, 25); } + + @if $ui-bar-background-color != null { @include background-gradient($ui-bar-background-color, $ui-bar-background-gradient); } + } + + .#{$prefix}progress-text { + @if $ui-color-front != null { color: $ui-color-front; } + } + + .#{$prefix}progress-text-back { + @if $ui-color-back != null { color: $ui-color-back; } + } + } + + @if $ui-background-color != null { + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + .#{$prefix}progress-#{$ui-label} { + .#{$prefix}progress-bar { + background: theme-image($theme-name, 'progress/progress-#{$ui-label}-bg.gif') repeat-x; + } + } + } + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss new file mode 100644 index 000000000..2f15fadaa --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss @@ -0,0 +1,164 @@ +@mixin extjs-qtip { + .#{$prefix}tip { + position: absolute; + overflow: visible; /*pointer needs to be able to stick out*/ + border-color: $tip-border-color; + + .#{$prefix}tip-header { + .#{$prefix}box-item { + padding: $tip-header-padding; + } + + .#{$prefix}tool { + padding: 0px 1px 0 0 !important; + } + } + } + + @include x-frame( + $cls: 'tip', + $border-radius: $tip-border-radius, + $border-width: $tip-border-width, + $background-color: $tip-background-color, + $background-gradient: $tip-background-gradient, + $table: true + ); + + .#{$prefix}tip-header-text { + @include no-select; + + color: $tip-header-color; + font-size: $tip-header-font-size; + font-weight: $tip-header-font-weight; + } + + .#{$prefix}tip-header-draggable { + .#{$prefix}tip-header-text { + cursor: move; + } + } + + // Tip is a Panel. It uses dock layout. Body style must be the same + .#{$prefix}tip-body, + .#{$prefix}form-invalid-tip-body { + overflow: hidden; + position: relative; + padding: $tip-body-padding; + } + + .#{$prefix}tip-header, + .#{$prefix}tip-body, + .#{$prefix}form-invalid-tip-body { + color: $tip-body-color; + font-size: $tip-body-font-size; + font-weight: $tip-body-font-weight; + a { + color: $tip-body-link-color; + } + } + + .#{$prefix}tip-anchor { + position: absolute; + + overflow: hidden; + + height: 0; + width: 0; + + border-style: solid; + border-width: 5px; + border-color: $tip-border-color; + + zoom: 1; + } + + .#{$prefix}border-box .#{$prefix}tip-anchor { + width: 10px; + height: 10px; + } + + .#{$prefix}tip-anchor-top { + border-top-color: transparent; + border-left-color: transparent; + border-right-color: transparent; + + @if $include_ie { + _border-top-color: pink; + _border-left-color: pink; + _border-right-color: pink; + _filter: chroma(color=pink); + } + } + + .#{$prefix}tip-anchor-bottom { + border-bottom-color: transparent; + border-left-color: transparent; + border-right-color: transparent; + + @if $include_ie { + _border-bottom-color: pink; + _border-left-color: pink; + _border-right-color: pink; + _filter: chroma(color=pink); + } + } + + .#{$prefix}tip-anchor-left { + border-top-color: transparent; + border-bottom-color: transparent; + border-left-color: transparent; + + @if $include-ie { + _border-top-color: pink; + _border-bottom-color: pink; + _border-left-color: pink; + _filter: chroma(color=pink); + } + } + + .#{$prefix}tip-anchor-right { + border-top-color: transparent; + border-bottom-color: transparent; + border-right-color: transparent; + + @if $include-ie { + _border-top-color: pink; + _border-bottom-color: pink; + _border-right-color: pink; + _filter: chroma(color=pink); + } + } + + //error qtip + .#{$prefix}form-invalid-tip { + border-color: $tip-error-border-color; + + @include inner-border( + $width: 1px, + $color: $tip-error-inner-border-color + ); + } + + .#{$prefix}form-invalid-tip-body { + background: 1px 1px no-repeat; + @include theme-background-image($theme-name, 'form/exclamation.gif'); + padding-left: 22px; + + li { + margin-bottom: 4px; + &.last { + margin-bottom: 0; + } + } + } + + @include x-frame( + $cls: 'form-invalid-tip', + $ui: 'default', + $border-radius: $tip-error-border-radius, + $border-width: $tip-error-border-width, + $background-color: $tip-error-background-color, + $background-gradient: $tip-background-gradient, + $table: true + ); +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_slider.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_slider.scss new file mode 100644 index 000000000..ee5f09e24 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_slider.scss @@ -0,0 +1,143 @@ +@mixin extjs-slider { + .#{$prefix}slider { + zoom:1; + } + + .#{$prefix}slider-inner { + position:relative; + left:0; + top:0; + overflow:visible; + zoom:1; + } + + .#{$prefix}slider-focus { + position:absolute; + left:0; + top:0; + width:1px; + height:1px; + line-height:1px; + font-size:1px; + -moz-outline:0 none; + outline:0 none; + -moz-user-select: none; + -khtml-user-select:none; + -webkit-user-select:ignore; + display:block; + overflow:hidden; + } + + /* Horizontal styles */ + .#{$prefix}slider-horz { + padding-left:7px; + background:transparent no-repeat 0 -24px; + } + + .#{$prefix}slider-horz .#{$prefix}slider-end { + padding-right:7px; + zoom:1; + background:transparent no-repeat right -46px; + } + + .#{$prefix}slider-horz .#{$prefix}slider-inner { + background:transparent repeat-x 0 -2px; + height:18px; + } + + .#{$prefix}slider-horz .#{$prefix}slider-thumb { + width:14px; + height:15px; + position:absolute; + left:0; + top:1px; + background:transparent no-repeat 0 0; + } + + .#{$prefix}slider-horz .#{$prefix}slider-thumb-over { + background-position: -14px -15px; + } + + .#{$prefix}slider-horz .#{$prefix}slider-thumb-drag { + background-position: -28px -30px; + } + + /* Vertical styles */ + .#{$prefix}slider-vert { + padding-top:7px; + background:transparent no-repeat -44px 0; + } + + .#{$prefix}slider-vert .#{$prefix}slider-end { + padding-bottom:7px; + zoom:1; + background:transparent no-repeat -22px bottom; + width:22px; + } + + .#{$prefix}slider-vert .#{$prefix}slider-inner { + background:transparent repeat-y 0 0; + width:22px; + } + + .#{$prefix}slider-vert .#{$prefix}slider-thumb { + width:15px; + height:14px; + position:absolute; + left:3px; + bottom:0; + background:transparent no-repeat 0 0; + } + + .#{$prefix}slider-vert .#{$prefix}slider-thumb-over { + background-position: -15px -14px; + } + + .#{$prefix}slider-vert .#{$prefix}slider-thumb-drag { + background-position: -30px -28px; + } + + .#{$prefix}slider-horz, + .#{$prefix}slider-horz .#{$prefix}slider-end, + .#{$prefix}slider-horz .#{$prefix}slider-inner { + background-image: theme-image($theme-name, 'slider/slider-bg.png'); + } + + .#{$prefix}slider-horz .#{$prefix}slider-thumb { + background-image: theme-image($theme-name, 'slider/slider-thumb.png'); + } + + .#{$prefix}slider-vert, + .#{$prefix}slider-vert .#{$prefix}slider-end, + .#{$prefix}slider-vert .#{$prefix}slider-inner { + background-image: theme-image($theme-name, 'slider/slider-v-bg.png'); + } + + .#{$prefix}slider-vert .#{$prefix}slider-thumb { + background-image: theme-image($theme-name, 'slider/slider-v-thumb.png'); + } + + @if $include-ie { + .#{$prefix}ie6 { + .#{$prefix}slider-horz, + .#{$prefix}slider-horz .#{$prefix}slider-end, + .#{$prefix}slider-horz .#{$prefix}slider-inner { + background-image: theme-image($theme-name, 'slider/slider-bg.gif'); + } + + .#{$prefix}slider-horz .#{$prefix}slider-thumb { + background-image: theme-image($theme-name, 'slider/slider-thumb.gif'); + } + + .#{$prefix}slider-vert, + .#{$prefix}slider-vert .#{$prefix}slider-end, + .#{$prefix}slider-vert .#{$prefix}slider-inner { + background-image: theme-image($theme-name, 'slider/slider-v-bg.gif'); + } + + .#{$prefix}slider-vert .#{$prefix}slider-thumb { + background-image: theme-image($theme-name, 'slider/slider-v-thumb.gif'); + } + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tab.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tab.scss new file mode 100644 index 000000000..3b07d0ac3 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tab.scss @@ -0,0 +1,476 @@ +/** + * @class Ext.Tab + */ +@mixin extjs-tab { + @include x-frame( + $cls: 'tab', + $ui: 'default-top', + $border-radius: $tab-top-border-radius, + $border-width: $tab-top-border-width, + $background-color: $tab-base-color, + $background-gradient: $tab-background-gradient, + $background-direction: top, + $table: true + ); + + @include x-frame( + $cls: 'tab', + $ui: 'default-bottom', + $border-radius: $tab-bottom-border-radius, + $border-width: $tab-bottom-border-width, + $background-color: $tab-base-color, + $background-gradient: $tab-background-gradient, + $background-direction: bottom, + $table: true + ); + + .#{$prefix}tab { + z-index: 1; + margin: 0 0 0 $tab-spacing; + display: inline-block; + zoom: 1; + *display: inline; + white-space: nowrap; + height: $tab-height; + border-color: $tab-border-color; + cursor: pointer; + cursor: hand; + + * { + cursor: pointer; + cursor: hand; + } + + em { + display: block; + padding: 0 6px; + line-height: 1px; + } + + button { + background: none; + border: 0; + padding: 0; + margin: 0; + -webkit-appearance: none; + font-size: $tab-font-size; + @if $tab-font-weight { + font-weight: $tab-font-weight; + } + @if $tab-font-family { + $font-family: $tab-font-family; + } + + color: $tab-color; + outline: 0 none; + + overflow: hidden; + overflow-x: visible; + -o-text-overflow: ellipsis; + text-overflow: ellipsis; + + &::-moz-focus-inner { + border: 0; + padding: 0; + } + + .#{$prefix}tab-inner { + background-color: transparent; + background-repeat: no-repeat; + background-position: 0 -2px; + display: block; + text-align: center; + white-space: nowrap; + } + } + + img { + display: none; + } + } + + .#{$prefix}border-box { + .#{$prefix}tab-default-top { + height: $tab-height + top($tabbar-top-strip-border-width); + } + .#{$prefix}tab-default-bottom { + height: $tab-height + bottom($tabbar-bottom-strip-border-width); + } + } + + @if $include-ie { + * html .#{$prefix}ie { + .#{$prefix}tab button { + width: 1px; + } + } + + .#{$prefix}strict .#{$prefix}ie6, + .#{$prefix}strict .#{$prefix}ie7 { + .#{$prefix}tab .#{$prefix}frame-mc { + height: 100%; + } + } + + .#{$prefix}ie .#{$prefix}tab-active button:active { + position: relative; + top: -1px; + left: -1px; + } + } + + $framepad: max(top($tab-top-border-radius), right($tab-top-border-radius)) - top($tab-top-border-width); + + .#{$prefix}tab-default-top { + @if $tab-inner-border { + @include inner-border( + $width: $tab-top-inner-border-width, + $color: $tab-inner-border-color + ); + } + + border-bottom: 1px solid $tabbar-strip-border-color !important; + + em { + padding-bottom: $framepad; + } + + button, + .#{$prefix}tab-inner { + height: $tab-height - $framepad * 2 - top($tab-top-border-width); + line-height: $tab-height - $framepad * 2 - top($tab-top-border-width); + } + } + + .#{$prefix}nbr .#{$prefix}tab-default-top { + border-bottom-width: 1px !important; + } + + .#{$prefix}tab-default-top-active { + border-bottom-color: $tabbar-strip-background-color !important; + } + + $framepad: max(bottom($tab-bottom-border-radius), left($tab-bottom-border-radius)) - bottom($tab-bottom-border-width); + + .#{$prefix}tab-default-bottom { + @if $tab-inner-border { + @include inner-border( + $width: $tab-bottom-inner-border-width, + $color: $tab-inner-border-color + ); + } + + border-top: 1px solid $tabbar-strip-border-color !important; + + @include inner-border( + $width: $tab-bottom-inner-border-width, + $color: $tab-inner-border-color + ); + + em { + padding-top: $framepad; + } + + button, + .#{$prefix}tab-inner { + height: $tab-height - $framepad * 2 - bottom($tab-bottom-border-width); + line-height: $tab-height - $framepad * 2 - bottom($tab-bottom-border-width); + } + } + + .#{$prefix}nbr .#{$prefix}tab-default-bottom { + border-top-width: 1px !important; + } + + .#{$prefix}tab-default-bottom-active { + border-top-color: $tabbar-strip-background-color !important; + } + + .#{$prefix}tab-default-disabled { + cursor: default; + + * { + cursor: default; + } + + border-color: $tab-border-color-disabled; + @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled); + + button { + color: $tab-color-disabled !important; + } + } + + .#{$prefix}tab-icon-text-left { + .#{$prefix}tab-inner { + padding-left: 20px; + } + } + + .#{$prefix}tab { + button, a { + position: relative; + + .#{$prefix}tab-icon { + position: absolute; + background-repeat: no-repeat; + top: 0; + left:0; + right:auto; + bottom:0; + width: 18px; + height: 18px; + } + } + } + + //over + .#{$prefix}tab-over { + @if $tab-border-color-over != $tab-border-color { + border-color: $tab-border-color-over; + } + + button { + @if $tab-color-over != $tab-color { + color: $tab-color-over; + } + @if $tab-font-weight-over != $tab-font-weight { + font-weight: $tab-font-weight-over; + } + @if $tab-font-size-over != $tab-font-size { + font-size: $tab-font-size-over; + } + @if $tab-font-family-over != $tab-font-family { + font-family: $tab-font-family-over; + } + } + } + + .#{$prefix}tab-top-over { + @include background-gradient($tab-base-color-over, $tab-background-gradient-over, top); + } + .#{$prefix}tab-bottom-over { + @include background-gradient($tab-base-color-over, $tab-background-gradient-over, bottom); + } + + //active + .#{$prefix}tab-active { + z-index: 3; + @if $tab-border-color-active != $tab-border-color { + border-color: $tab-border-color-active; + } + + button { + @if $tab-color-active != $tab-color { + color: $tab-color-active; + } + @if $tab-font-weight-active != $tab-font-weight { + font-weight: $tab-font-weight-active; + } + @if $tab-font-size-active != $tab-font-size { + font-size: $tab-font-size-active; + } + @if $tab-font-family-active != $tab-font-family { + font-family: $tab-font-family-active; + } + } + } + + .#{$prefix}tab-top-active { + @include background-gradient($tab-base-color-active, $tab-background-gradient-active, top); + } + .#{$prefix}tab-bottom-active { + @include background-gradient($tab-base-color-active, $tab-background-gradient-active, bottom); + } + + //disabled + .#{$prefix}tab-disabled { + @if $tab-border-color-disabled != $tab-border-color { + border-color: $tab-border-color-disabled; + } + + button { + @if $tab-color-disabled != $tab-color { + color: $tab-color-disabled; + } + @if $tab-font-weight-disabled != $tab-font-weight { + font-weight: $tab-font-weight-disabled; + } + @if $tab-font-size-disabled != $tab-font-size { + font-size: $tab-font-size-disabled; + } + @if $tab-font-family-disabled != $tab-font-family { + font-family: $tab-font-family-disabled; + } + } + } + + .#{$prefix}tab-top-disabled { + background-image: none; + background: transparent; + @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled, top); + } + .#{$prefix}tab-bottom-disabled { + background-image: none; + background: transparent; + @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled, bottom); + } + + @if not $supports-gradients or $compile-all { + .#{$prefix}nlg { + .#{$prefix}tab-top { background-image: theme-image($theme-name, 'tab/tab-default-top-bg.gif'); } + .#{$prefix}tab-bottom { background-image: theme-image($theme-name, 'tab/tab-default-bottom-bg.gif'); } + + .#{$prefix}tab-top-over { background-image: theme-image($theme-name, 'tab/tab-default-top-over-bg.gif'); } + .#{$prefix}tab-bottom-over { background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-bg.gif'); } + + .#{$prefix}tab-top-active { background-image: theme-image($theme-name, 'tab/tab-default-top-active-bg.gif'); } + .#{$prefix}tab-bottom-active { background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-bg.gif'); } + + .#{$prefix}tab-top-disabled { background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-bg.gif') !important; } + .#{$prefix}tab-bottom-disabled { background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif') !important; } + } + } + + .#{$prefix}tab-closable em { + padding-right: $tab-closable-icon-width + 3; + } + + .#{$prefix}tab-close-btn { + position: absolute !important; + top: $tab-closable-icon-top; + right: $tab-closable-icon-right; + width: $tab-closable-icon-width; + height: $tab-closable-icon-height; + font-size: 0; + line-height: 0; + text-indent: -999px; + background: theme-image($theme-name, $tab-closable-icon) no-repeat; + @include opacity(.6); + } + .#{$prefix}tab-close-btn:hover { + @include opacity(1); + } + + @if not $supports-border-radius or $compile-all { + .#{$prefix}nbr { + .#{$prefix}tab-top-over { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-image: theme-image($theme-name, 'tab/tab-default-top-over-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + background-image: theme-image($theme-name, 'tab/tab-default-top-over-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $tab-base-color-over; + background-repeat: repeat-x; + background-image: theme-image($theme-name, 'tab/tab-default-top-over-bg.gif'); + } + } + + .#{$prefix}tab-bottom-over { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $tab-base-color-over; + background-repeat: repeat-x; + background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-bg.gif'); + } + } + + .#{$prefix}tab-top-active { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-image: theme-image($theme-name, 'tab/tab-default-top-active-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + background-image: theme-image($theme-name, 'tab/tab-default-top-active-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $tab-base-color-active; + background-repeat: repeat-x; + background-image: theme-image($theme-name, 'tab/tab-default-top-active-bg.gif'); + } + } + + .#{$prefix}tab-bottom-active { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-sides.gif'); + } + .#{$prefix}frame-mc { + background-color: $tab-base-color-active; + background-repeat: repeat-x; + background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-bg.gif'); + } + } + + .#{$prefix}tab-top-disabled { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-sides.gif'); + } + .#{$prefix}frame-mc { + background-repeat: repeat-x; + background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-bg.gif'); + } + } + + .#{$prefix}tab-bottom-disabled { + .#{$prefix}frame-tl, + .#{$prefix}frame-bl, + .#{$prefix}frame-tr, + .#{$prefix}frame-br, + .#{$prefix}frame-tc, + .#{$prefix}frame-bc { + background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-corners.gif'); + } + .#{$prefix}frame-ml, + .#{$prefix}frame-mr { + background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-sides.gif'); + } + .#{$prefix}frame-mc { + background-repeat: repeat-x; + background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif'); + } + } + } + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss new file mode 100644 index 000000000..519171428 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss @@ -0,0 +1,151 @@ +/** + * @class Ext.tab.Bar + */ +@mixin extjs-tabbar { + .#{$prefix}tab-bar { + position: relative; + background-color: transparent; + @include background-gradient($tabbar-base-color, $tabbar-background-gradient); + font-size: $tab-font-size; + } + + .#{$prefix}nlg .#{$prefix}tab-bar { + background-image: theme-image($theme-name, 'tab-bar/tab-bar-bg.gif'); + } + + .#{$prefix}tab-bar-default-plain, + .#{$prefix}nlg .#{$prefix}tab-bar-default-plain { + background: transparent none; + } + + + .#{$prefix}tab-bar-body { + border-style: solid; + border-color: $tabbar-border-color; + + position: relative; + z-index: 2; + zoom: 1; + } + + @mixin tab-bar-top($toolbarCls, $bodyCls, $stripCls, $body-padding, $body-border-width, $strip-border-width, $strip-height) { + .#{$prefix}#{$toolbarCls} { + .#{$prefix}#{$bodyCls} { + height: $tab-height; + border-width: $body-border-width; + padding: $body-padding; + } + + .#{$prefix}#{$stripCls} { + /*position strip from top rather than bottom to avoid off-by-one error in IE6*/ + top: $tab-height + top($body-border-width) + top($body-padding); + border-width: $strip-border-width; + height: $strip-height - vertical($strip-border-width); + } + } + .#{$prefix}border-box { + .#{$prefix}#{$toolbarCls} { + .#{$prefix}#{$bodyCls} { + height: $tab-height + vertical($body-border-width) + vertical($body-padding); + } + + .#{$prefix}#{$stripCls} { + height: $strip-height; + } + } + } + } + + @mixin tab-bar-bottom($toolbarCls, $bodyCls, $stripCls, $body-padding, $body-border-width, $strip-border-width, $strip-height) { + .#{$prefix}#{$toolbarCls} { + .#{$prefix}#{$bodyCls} { + height: $tab-height; + border-width: $body-border-width; + padding: $body-padding; + + .#{$prefix}box-inner { + position: relative; + top: 0 - bottom($strip-border-width); + } + + .#{$prefix}box-scroller, + .#{$prefix}box-scroller-left, + .#{$prefix}box-scroller-right { + height: $tab-height + bottom($body-padding) + bottom($strip-border-width); + } + } + + .#{$prefix}#{$stripCls} { + top: top($body-border-width); + border-width: $strip-border-width; + height: $strip-height - vertical($strip-border-width); + } + } + .#{$prefix}border-box { + .#{$prefix}#{$toolbarCls} { + .#{$prefix}#{$bodyCls} { + height: $tab-height + vertical($body-border-width) + vertical($body-padding); + } + + .#{$prefix}#{$stripCls} { + height: $strip-height; + } + } + } + } + + + /* Top Tabs */ + @include tab-bar-top( + "tab-bar-top", + "tab-bar-body", + "tab-bar-strip", + $tabbar-top-body-padding, + $tabbar-top-body-border-width, + $tabbar-top-strip-border-width, + $tabbar-strip-height + ); + @include tab-bar-top( + "tab-bar-top", + "tab-bar-body-default-plain", + "tab-bar-strip-default-plain", + $tabbar-top-plain-body-padding, + $tabbar-top-plain-body-border-width, + $tabbar-top-strip-border-width, + $tabbar-strip-height + ); + + /* Bottom Tabs */ + @include tab-bar-bottom( + "tab-bar-bottom", + "tab-bar-body", + "tab-bar-strip", + $tabbar-bottom-body-padding, + $tabbar-bottom-body-border-width, + $tabbar-bottom-strip-border-width, + $tabbar-strip-height + ); + + @include tab-bar-bottom( + "tab-bar-bottom", + "tab-bar-body-default-plain", + "tab-bar-strip-default-plain", + $tabbar-bottom-plain-body-padding, + $tabbar-bottom-plain-body-border-width, + $tabbar-bottom-strip-border-width, + $tabbar-strip-height + ); + + .#{$prefix}tab-bar-strip-default, + .#{$prefix}tab-bar-strip-default-plain { + font-size: 0; + line-height: 0; + position: absolute; + z-index: 1; + border-style: solid; + overflow: hidden; + border-color: $tabbar-strip-border-color; + background-color: $tabbar-strip-background-color; + zoom: 1; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss new file mode 100644 index 000000000..c3034af62 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss @@ -0,0 +1,158 @@ +@mixin extjs-toolbar { + .#{$prefix}toolbar { + font-size: $toolbar-font-size; + + border: 1px solid; + + padding: $toolbar-vertical-spacing 0 $toolbar-vertical-spacing $toolbar-horizontal-spacing; + + .#{$prefix}form-item-label{ + font-size: $toolbar-font-size; + line-height: 15px; + } + + .#{$prefix}toolbar-item { + margin: 0 $toolbar-horizontal-spacing 0 0; + } + + .#{$prefix}toolbar-text { + margin-left: 4px; + margin-right: 6px; + white-space: nowrap; + color: $toolbar-text-color !important; + line-height: $toolbar-text-line-height; + font-family: $toolbar-text-font-family; + font-size: $toolbar-text-font-size; + font-weight: $toolbar-text-font-weight; + } + + .#{$prefix}toolbar-separator { + display: block; + font-size: 1px; + overflow: hidden; + cursor: default; + border: 0; + } + + .#{$prefix}toolbar-separator-horizontal { + margin: 0 3px 0 2px; + + height: 14px; + width: 0px; + + border-left: 1px solid $toolbar-separator-color; + border-right: 1px solid $toolbar-separator-highlight-color; + } + } + + @if $include-ie { + .#{$prefix}quirks .#{$prefix}ie .#{$prefix}toolbar .#{$prefix}toolbar-separator-horizontal { + width: 2px; + } + } + + .#{$prefix}toolbar-footer { + background: transparent; + border: 0px none; + margin-top: 3px; + + padding: $toolbar-footer-vertical-spacing 0 $toolbar-footer-vertical-spacing $toolbar-footer-horizontal-spacing; + + .#{$prefix}box-inner { + border-width: 0; + } + + .#{$prefix}toolbar-item { + margin: 0 $toolbar-footer-horizontal-spacing 0 0; + } + } + + .#{$prefix}toolbar-vertical { + padding: $toolbar-vertical-spacing $toolbar-horizontal-spacing 0 $toolbar-horizontal-spacing; + + .#{$prefix}toolbar-item { + margin: 0 0 $toolbar-horizontal-spacing 0; + } + + .#{$prefix}toolbar-text { + margin-top: 4px; + margin-bottom: 6px; + } + + .#{$prefix}toolbar-separator-vertical { + margin: 2px 5px 3px 5px; + + height: 0px; + width: 10px; + line-height: 0px; + + border-top: 1px solid $toolbar-separator-color; + border-bottom: 1px solid $toolbar-separator-highlight-color; + } + } + + .#{$prefix}toolbar-scroller { + padding-left: 0; + } + + .#{$prefix}toolbar-spacer { + width: $toolbar-spacer-width; + } + + // Background for overflow button inserted by the Menu box overflow handler within a toolbar + .#{$prefix}toolbar-more-icon { + background-image: theme-image($theme-name, 'toolbar/more.gif') !important; + background-position: 2px center !important; + background-repeat: no-repeat; + } + + @include extjs-toolbar-ui( + 'default', + $background-color: $toolbar-background-color, + $background-gradient: $toolbar-background-gradient, + $border-color: $tabbar-border-color + ); + + //plain toolbars have no border + //by default they get no color, so they are transparent. IE6 doesnt support transparent borders + //so we must set the width to 0. + .#{$prefix}toolbar-plain { + border: 0; + } +} + +/** + * @mixin ext-toolbar-ui + * @class Ext.toolbar.Toolbar + * @param {String} $ui The name of the UI + * @param {Color} $background-color The background color of the toolbar (defaults to transparent) + * @param {Gradient/color-stops} $background-gradient The background gradient of the toolbar (defaults to null) + * @param {Color} $border-color The border color of the toolbar (defaults to null) + */ +@mixin extjs-toolbar-ui( + $ui, + + $background-color: transparent, + $background-gradient: null, + + $border-color: null +) { + .#{$prefix}toolbar-#{$ui} { + @if $border-color != null { + border-color: $border-color; + } + + @include background-gradient($background-color, $background-gradient); + } + + @if not $supports-gradients or $compile-all { + @if $background-gradient != null { + .#{$prefix}nlg { + .#{$prefix}toolbar-#{$ui} { + background-image: theme-image($theme-name, 'toolbar/toolbar-#{$ui}-bg.gif') !important; + background-repeat: repeat-x; + } + } + } + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tree.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tree.scss new file mode 100644 index 000000000..a09d06ebb --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_tree.scss @@ -0,0 +1,260 @@ +@mixin extjs-tree { + .#{$prefix}tree-no-lines .#{$prefix}tree-elbow { + background-color: transparent; + } + + .#{$prefix}tree-no-lines .#{$prefix}tree-elbow-end { + background-color: transparent; + } + + .#{$prefix}tree-no-lines .#{$prefix}tree-elbow-line { + background-color: transparent; + } + + //arrows + .#{$prefix}tree-arrows .#{$prefix}tree-elbow-plus { + background: transparent no-repeat 0 0; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-elbow-end-plus { + background: transparent no-repeat 0 0; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-elbow-end-minus { + background: transparent no-repeat -16px 0; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-elbow-minus { + background: transparent no-repeat -16px 0; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-elbow { + background-color: transparent !important; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-elbow-end { + background-color: transparent !important; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-elbow-line { + background-color: transparent !important; + } + + //elbows + .#{$prefix}tree-arrows .#{$prefix}tree-expander-over .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-arrows .#{$prefix}tree-expander-over .#{$prefix}tree-elbow-end-plus { + background-position: -32px 0; + } + + .#{$prefix}tree-arrows .#{$prefix}tree-expander-over .#{$prefix}tree-elbow-minus, + .#{$prefix}tree-arrows .#{$prefix}tree-expander-over .#{$prefix}tree-elbow-end-minus { + background-position: -48px 0; + } + + .#{$prefix}tree-arrows .x-grid-tree-node-expanded .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-arrows .x-grid-tree-node-expanded .#{$prefix}tree-elbow-end-plus { + background-position: -16px 0; + } + + .#{$prefix}tree-arrows .x-grid-tree-node-expanded .#{$prefix}tree-expander-over .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-arrows .x-grid-tree-node-expanded .#{$prefix}tree-expander-over .#{$prefix}tree-elbow-end-plus { + background-position: -48px 0; + } + + .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-elbow-minus, + .#{$prefix}tree-elbow-end-plus, + .#{$prefix}tree-elbow-end-minus{ + cursor: pointer; + } + + //elbows + .#{$prefix}tree-lines { + .#{$prefix}tree-elbow { + background-image: theme-image($theme-name, 'tree/elbow.gif'); + } + + .#{$prefix}tree-elbow-end { + background-image: theme-image($theme-name, 'tree/elbow-end.gif'); + } + + .#{$prefix}tree-elbow-plus { + background-image: theme-image($theme-name, 'tree/elbow-plus.gif'); + } + + .#{$prefix}tree-elbow-end-plus { + background-image: theme-image($theme-name, 'tree/elbow-end-plus.gif'); + } + + .#{$prefix}grid-tree-node-expanded .#{$prefix}tree-elbow-plus { + background-image: theme-image($theme-name, 'tree/elbow-minus.gif'); + } + + .#{$prefix}grid-tree-node-expanded .#{$prefix}tree-elbow-end-plus { + background-image: theme-image($theme-name, 'tree/elbow-end-minus.gif'); + } + + .#{$prefix}tree-elbow-line { + background-image: theme-image($theme-name, 'tree/elbow-line.gif'); + } + } + + .#{$prefix}tree-no-lines { + .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-elbow-end-plus { + background-image: theme-image($theme-name, 'tree/elbow-plus-nl.gif'); + } + + .#{$prefix}grid-tree-node-expanded .#{$prefix}tree-elbow-plus, + .#{$prefix}grid-tree-node-expanded .#{$prefix}tree-elbow-end-plus { + background-image: theme-image($theme-name, 'tree/elbow-end-minus-nl.gif'); + } + } + + .#{$prefix}tree-arrows { + .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-elbow-minus, + .#{$prefix}tree-elbow-end-plus, + .#{$prefix}tree-elbow-end-minus { + background-image: theme-image($theme-name, 'tree/arrows.gif'); + } + } + + .#{$prefix}tree-icon { + margin-right: 3px; + } + + .#{$prefix}tree-elbow, + .#{$prefix}tree-elbow-end, + .#{$prefix}tree-elbow-plus, + .#{$prefix}tree-elbow-end-plus, + .#{$prefix}tree-elbow-empty, + .#{$prefix}tree-elbow-line { + height: $tree-elbow-height; + width: $tree-elbow-width; + } + + .#{$prefix}tree-icon-leaf { + width: $tree-elbow-width; + background-image: theme-image($theme-name, 'tree/leaf.gif'); + } + + .#{$prefix}tree-icon-parent { + width: $tree-elbow-width; + background-image: theme-image($theme-name, 'tree/folder.gif'); + } + + .#{$prefix}grid-tree-node-expanded .#{$prefix}tree-icon-parent { + background-image: theme-image($theme-name, 'tree/folder-open.gif'); + } + + .#{$prefix}grid-rowbody { + padding: 0; + } + + .#{$prefix}tree-panel .#{$prefix}grid-cell-inner { + padding: 0px; + } + + .#{$prefix}tree-panel .#{$prefix}grid-row .#{$prefix}grid-cell { + border: none; + } + + .#{$prefix}tree-panel .#{$prefix}grid-row .#{$prefix}grid-cell-inner { + height: $tree-elbow-height; + + line-height: $tree-elbow-height; + vertical-align: middle; + cursor: pointer; + + img { + float: left; + } + } + + .#{$prefix}ie { + .#{$prefix}tree-panel .#{$prefix}grid-row .#{$prefix}grid-cell-inner { + white-space: normal; + } + } + + + .#{$prefix}tree-checkbox { + float: left; + margin: 2px 3px 0 0; + display: block; + + width: $form-checkbox-size; + height: $form-checkbox-size; + background: theme-image($theme-name, $form-checkbox-image) no-repeat; + + overflow: hidden; + padding: 0; + border: 0; + &::-moz-focus-inner { + padding: 0; + border: 0; + } + } + @if $include-ie { + /* Hack for IE; causes alignment problem in IE9 standards mode so exclude that */ + .#{$prefix}nbr.#{$prefix}ie { + .#{$prefix}tree-checkbox { + font-size: 0; + } + } + } + .#{$prefix}tree-checkbox-checked { + background-position: 0 (0 - $form-checkbox-size); + } + + @if $include-ie { + .#{$prefix}tree-panel .#{$prefix}grid-cell-inner { + border-width: 0 !important; + } + } + + @if $include-ff { + .#{$prefix}gecko { + .#{$prefix}tree-panel .#{$prefix}grid-row .#{$prefix}grid-cell-inner { + line-height: $tree-elbow-height - 2; + } + } + } + + .#{$prefix}tree-drop-ok-append .#{$prefix}dd-drop-icon { + background-image: theme-image($theme-name, 'tree/drop-append.gif'); + } + + .#{$prefix}tree-drop-ok-above .#{$prefix}dd-drop-icon { + background-image: theme-image($theme-name, 'tree/drop-above.gif'); + } + + .#{$prefix}tree-drop-ok-below .#{$prefix}dd-drop-icon { + background-image: theme-image($theme-name, 'tree/drop-below.gif'); + } + + .#{$prefix}tree-drop-ok-between .#{$prefix}dd-drop-icon { + background-image: theme-image($theme-name, 'tree/drop-between.gif'); + } + + .#{$prefix}grid-tree-loading .#{$prefix}tree-icon { + background-image: theme-image($theme-name, 'tree/loading.gif'); + } + + .#{$prefix}tree-ddindicator { + height: 1px; + border-width: 1px 0px 0px; + border-style: dotted; + border-color: green; + } + + .#{$prefix}grid-tree-loading span { + font-style: italic; + color: #444444; + } + + .#{$prefix}tree-animator-wrap { + overflow: hidden; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_viewport.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_viewport.scss new file mode 100644 index 000000000..5f1bf93f5 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_viewport.scss @@ -0,0 +1,9 @@ +@mixin extjs-viewport { + .#{$prefix}viewport, .#{$prefix}viewport body { + margin: 0; + padding: 0; + border: 0 none; + overflow: hidden; + height: 100%; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_window.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_window.scss new file mode 100644 index 000000000..7479d6fee --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_window.scss @@ -0,0 +1,179 @@ +@mixin extjs-window { + .#{$prefix}window { + outline: none; + + .#{$prefix}window-wrap { + position: relative; + + .#{$prefix}window-body { + overflow: hidden; + } + } + } + + .#{$prefix}window-body { + position: relative; + border-style: $window-body-border-style; + } + + //maximized window + .#{$prefix}window-maximized { + .#{$prefix}window-wrap { + .#{$prefix}window-header { + @include important-no-border-radius; + } + } + } + + // collapsed window header styles + .#{$prefix}window-collapsed { + .#{$prefix}window-header-vertical { + @include border-radius(5px); + } + .#{$prefix}window-header-horizontal { + @include border-radius(5px); + } + + // Padding changes for collapsed headers. + .#{$prefix}window-header-left { + padding-right: 5px !important; + } + + .#{$prefix}window-header-right { + padding-left: 5px !important; + } + + .#{$prefix}window-header-top { + padding-bottom: 5px !important; + } + + .#{$prefix}window-header-bottom { + padding-top: 5px !important; + } + } + + .#{$prefix}window-header-left, + .#{$prefix}window-header-right { + .#{$prefix}vml-base { + left: -3px !important; + } + } + + .#{$prefix}window-header-text { + @include no-select; + white-space: nowrap; + display: block; + } + + @include extjs-window-ui( + 'default', + + $ui-border-radius: $window-border-radius, + $ui-border-color: $window-border-color, + $ui-inner-border-color: $window-inner-border-color, + + $ui-header-color: $window-header-color, + + $ui-body-border-color: $window-body-border-color, + $ui-body-background-color: $window-body-background-color, + $ui-body-color: $window-body-color, + + $ui-background-color: $window-background-color + ); + + .#{$prefix}window-body-plain { + background: transparent; + } +} + +/** + * @class Ext.Window + * Used to create a visual theme for an Ext.Panel + */ +@mixin extjs-window-ui( + $ui-label, + + $ui-padding: null, + $ui-border-radius: null, + $ui-border-color: null, + $ui-inner-border-color: null, + + $ui-header-color: null, + $ui-header-font-size: $window-header-font-size, + $ui-header-font-weight: $window-header-font-weight, + + $ui-body-border-color: null, + $ui-body-background-color: null, + $ui-body-color: null, + + $ui-background-color: null +){ + $ui-header-text-height: round($ui-header-font-size * 1.46); // 11px / 16px + + .#{$prefix}window-#{$ui-label} { + @if $ui-border-color != null { border-color: $ui-border-color; } + @if $ui-border-radius != null { @include border-radius($ui-border-radius); } + + @if $ui-inner-border-color != null { @include inner-border($window-inner-border-width, $ui-inner-border-color); } + } + + @if $ui-border-radius != null { + @include x-frame( + 'window', + $ui-label, + + $border-radius: $ui-border-radius, + $border-width: $window-border-width, + $padding: $ui-padding, + $background-color: $ui-background-color + ); + } + + .#{$prefix}window-body-#{$ui-label} { + @if $ui-body-border-color !=null { + border-color: $ui-body-border-color; + border-width: $window-body-border-width; + } + + @if $ui-body-background-color != null { background: $ui-body-background-color; } + @if $ui-body-color != null { color: $ui-body-color; } + } + + .#{$prefix}window-header-#{$ui-label} { + @if $ui-border-color != null { border-color: $ui-border-color; } + zoom:1; + } + + .#{$prefix}window-header-text-#{$ui-label} { + @if $ui-header-color != null { color: $ui-header-color; } + @if $ui-header-font-weight != null { font-weight: $ui-header-font-weight; } + + line-height: $ui-header-text-height; + + font-family: $font-family; + font-size: $ui-header-font-size; + } + + @if $ui-border-radius != null { + @include x-frame('window-header', '#{$ui-label}-top', top($ui-border-radius) right($ui-border-radius) 0 0, $window-border-width, 5px 5px 0, $ui-background-color); + @include x-frame('window-header', '#{$ui-label}-right', 0 right($ui-border-radius) bottom($ui-border-radius) 0, $window-border-width, 5px 5px 5px 0, $ui-background-color); + @include x-frame('window-header', '#{$ui-label}-bottom', 0 0 bottom($ui-border-radius) left($ui-border-radius), $window-border-width, 0 5px 5px, $ui-background-color); + @include x-frame('window-header', '#{$ui-label}-left', top($ui-border-radius) 0 0 left($ui-border-radius), $window-border-width, 5px 0px 5px 5px, $ui-background-color); + } + + .#{$prefix}window-header-#{$ui-label}-top { + @include inner-border(1px 1px 0, $ui-inner-border-color); + } + + .#{$prefix}window-header-#{$ui-label}-right { + @include inner-border(1px 1px 1px 0, $ui-inner-border-color); + } + + .#{$prefix}window-header-#{$ui-label}-bottom { + @include inner-border(0px 1px 1px, $ui-inner-border-color); + } + + .#{$prefix}window-header-#{$ui-label}-left { + @include inner-border(1px 0 1px 1px, $ui-inner-border-color); + } +} diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss new file mode 100644 index 000000000..7c27892d9 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss @@ -0,0 +1,73 @@ +@mixin extjs-form { + /*misc*/ + .#{$prefix}webkit { + * { + &:focus { + outline:none !important; + } + } + } + + //form items + .#{$prefix}form-item { + display: block; + zoom: 1; + position: relative; + margin-bottom: 5px; + } + + .#{$prefix}form-item-label { + float: left; + padding: 3px 0 0; + z-index: 2; + position: relative; + font-size: $form-label-font-size; + @include no-select; + } + + .#{$prefix}form-item-label-top { + float: none; + clear: none; + padding: 0; + display: block; + } + + .#{$prefix}form-item-label-right { + float: left; + text-align: right; + } + + .#{$prefix}form-item-body { + position: relative; + float: left; + } + + .#{$prefix}form-invalid-under { + padding: 2px 2px 2px 18px; + clear: left; + + color: $form-error-msg-color; + font: $form-error-msg-font; + line-height: $form-error-msg-line-height; + + background: theme-image($theme-name, $form-exclamation-icon) no-repeat 0 2px; + } + + .#{$prefix}form-invalid-icon { + width: 18px; + height: 18px; + overflow: hidden; + text-indent: -9999px; + + position: absolute; + left: 0; + top: 0; + + background: theme-image($theme-name, $form-exclamation-icon) no-repeat 2px 3px; + + ul { + /* prevent inner elements from interfering with QuickTip hovering */ + display: none; + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss new file mode 100644 index 000000000..866184cce --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss @@ -0,0 +1,64 @@ +@mixin extjs-form-checkboxfield { + .#{$prefix}form-cb-wrap { + padding-top: 3px; + } + + .#{$prefix}form-checkbox, + .#{$prefix}form-radio { + float: none; + vertical-align: -1px; + + width: $form-checkbox-size; + height: $form-checkbox-size; + background: theme-image($theme-name, $form-checkbox-image) no-repeat; + + overflow: hidden; + padding: 0; + border: 0; + &::-moz-focus-inner { + padding: 0; + border: 0; + } + } + @if $include-ie { + /* Hack for IE; causes alignment problem in IE9 standards mode so exclude that */ + .#{$prefix}nbr.#{$prefix}ie { + .#{$prefix}form-checkbox, + .#{$prefix}form-radio { + font-size: 0; + } + } + } + .#{$prefix}form-cb-checked { + .#{$prefix}form-checkbox, + .#{$prefix}form-radio { + background-position: 0 (0 - $form-checkbox-size); + } + } + + /* Focused */ + .#{$prefix}form-cb-focus { + background-position: (0 - $form-checkbox-size) 0; + } + .#{$prefix}form-cb-checked { + .#{$prefix}form-cb-focus { + background-position: (0 - $form-checkbox-size) (0 - $form-checkbox-size); + } + } + + /* Radios */ + .#{$prefix}form-radio { + background-image: theme-image($theme-name, $form-radio-image); + } + + /* boxLabel */ + .#{$prefix}form-cb-label-before { + margin-right: 4px; + } + .#{$prefix}form-cb-label-after { + margin-left: 4px; + } + + + +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss new file mode 100644 index 000000000..59c2f8deb --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss @@ -0,0 +1,30 @@ +@mixin extjs-form-checkboxgroup { + + .#{$prefix}form-checkboxgroup-body { + padding: 3px 4px; + } + + .#{$prefix}form-invalid { + .#{$prefix}form-checkboxgroup-body { + border: 1px solid #c30; + background: #fff theme-image($theme-name, 'grid/invalid_line.gif') repeat-x bottom; + padding: 2px 3px; + } + } + + .#{$prefix}check-group-alt { + background: adjust-color($base-color, $hue: 2.667deg, $saturation: -7.168%, $lightness: 3.725%); + + border-top:1px dotted adjust-color($base-color, $hue: 17.193deg, $saturation: -40.827%, $lightness: -9.412%); + border-bottom:1px dotted adjust-color($base-color, $hue: 17.193deg, $saturation: -40.827%, $lightness: -9.412%); + } + + .#{$prefix}form-check-group-label { + color: #333; + + border-bottom: 1px solid #333; + + margin: 0 30px 5px 0; + padding: 2px; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss new file mode 100644 index 000000000..533829c32 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss @@ -0,0 +1,125 @@ +@mixin extjs-form-field { + .#{$prefix}form-field, + .#{$prefix}form-display-field { + float: left; + + margin: 0 0 0 0; + + font: $form-field-font; + color: $form-field-color; + } + + .#{$prefix}form-text, + textarea.#{$prefix}form-field { + padding: $form-field-padding; + + background: repeat-x 0 0; + border: $form-field-border-width solid; + + background-color: $form-field-background-color; + @if $form-field-background-image { + background-image: theme-image($theme-name, $form-field-background-image); + } + + border-color: $form-field-border-color; + } + + $form-field-content-height: $form-field-height - top($form-field-padding) - top($form-field-border-width) - bottom($form-field-padding) - bottom($form-field-border-width); + + .#{$prefix}form-text { + height: $form-field-content-height; + line-height: $form-field-content-height; + vertical-align: middle; + } + + .#{$prefix}ie6, + .#{$prefix}ie7, + .#{$prefix}ie8 { + .#{$prefix}form-text { + line-height: $form-field-content-height - 3px; + } + } + + .#{$prefix}border-box .#{$prefix}form-text { + height: $form-field-height; + } + + textarea.#{$prefix}form-field { + color: $form-field-color; + overflow: auto; + height: auto; + line-height: normal; + background: repeat-x 0 0; + background-color: $form-field-background-color; + @if $form-field-background-image { + background-image: theme-image($theme-name, $form-field-background-image); + } + resize: none; //Disable browser resizable textarea + } + + .#{$prefix}border-box textarea.#{$prefix}form-field { + height: auto; + } + + @if $include-safari { + .#{$prefix}safari.#{$prefix}mac textarea.#{$prefix}form-field { + margin-bottom: -2px; // another bogus margin bug, safari/mac only + } + } + + .#{$prefix}form-focus, + textarea.#{$prefix}form-focus { + border-color: $form-field-focus-border-color; + } + + .#{$prefix}form-invalid-field, + textarea.#{$prefix}form-invalid-field { + background-color: $form-field-invalid-background-color; + @if $form-field-invalid-background-image { + background-image: theme-image($theme-name, $form-field-invalid-background-image); + background-repeat: $form-field-invalid-background-repeat; + background-position: $form-field-invalid-background-position; + } + border-color: $form-field-invalid-border-color; + } + + .#{$prefix}form-item { + font: $form-label-font; + } + + .#{$prefix}form-empty-field, textarea.#{$prefix}form-empty-field { + color: $form-field-empty-color; + } + + .#{$prefix}webkit { + .#{$prefix}form-empty-field { + line-height: 15px; + } + } + + .#{$prefix}form-display-field { + padding-top: 3px; + } + + @if $include-ie { + .#{$prefix}ie .#{$prefix}form-file { + height: $form-field-height + 1; + + line-height: 18px; + + vertical-align: middle; + } + } + + .#{$prefix}field-default-toolbar .#{$prefix}form-text { + height: $form-toolbar-field-height - vertical($form-field-padding) - vertical($form-field-border-width); + } + + .#{$prefix}border-box .#{$prefix}field-default-toolbar .#{$prefix}form-text { + height: $form-toolbar-field-height; + } + + .#{$prefix}field-default-toolbar .#{$prefix}form-item-label-left { + padding-left: 4px; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss new file mode 100644 index 000000000..86cc6c818 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss @@ -0,0 +1,113 @@ +@mixin extjs-form-fieldset { + .#{$prefix}fieldset { + border: $fieldset-border; + + padding: $fieldset-padding; + margin-bottom: $fieldset-padding; + + display: block; /* preserve margins in IE */ + } + + .#{$prefix}ie .#{$prefix}fieldset { + padding-top: 0; + padding-bottom: $fieldset-padding; + } + + .#{$prefix}fieldset-header { + font: $fieldset-header-font; + color: $fieldset-header-color; + padding: $fieldset-header-padding; + line-height: 16px; + + .#{$prefix}fieldset-header-text { + float: left; + } + + .#{$prefix}form-item, + .#{$prefix}tool { + float: left; + margin: 0 3px 0 0; + } + + .#{$prefix}form-cb-wrap { + padding: 0; + } + } + + .#{$prefix}webkit .#{$prefix}fieldset-header { + padding-top: 1px; + } + + @if $include-ie { + .#{$prefix}quirks .#{$prefix}ie .#{$prefix}fieldset-header, + .#{$prefix}ie6 .#{$prefix}fieldset-header, + .#{$prefix}ie7 .#{$prefix}fieldset-header, + .#{$prefix}ie8 .#{$prefix}fieldset-header { + padding: 0; + } + + .#{$prefix}ie .#{$prefix}fieldset-header { + margin-bottom: 10px; + } + + .#{$prefix}ie9 .#{$prefix}fieldset-header { + padding-top: 1px; + } + } + + .#{$prefix}fieldset-collapsed { + .#{$prefix}fieldset-body { + display: none; + } + } + + .#{$prefix}fieldset-collapsed { + padding-bottom: 0 !important; + + border-width: 1px 1px 0 1px !important; + border-left-color: transparent !important; + border-right-color: transparent !important; + } + + @if $include-ie { + .#{$prefix}ie6 .#{$prefix}fieldset-collapsed { + border-width: 1px 0 0 0 !important; + + padding-bottom: 0 !important; + margin-left: 1px; + margin-right: 1px; + } + + .#{$prefix}ie .#{$prefix}fieldset-bwrap { + zoom: 1; + } + } + + @if $include-ie { + /* IE legend positioning bug */ + .#{$prefix}ie .#{$prefix}fieldset-noborder legend { + position: relative; + + margin-bottom: 23px; + } + + .#{$prefix}ie .#{$prefix}fieldset-noborder legend span { + position: absolute; + left: 16px; + } + } + + .#{$prefix}fieldset { + overflow: hidden; + } + + .#{$prefix}fieldset-bwrap { + overflow: hidden; + + zoom: 1; + } + + .#{$prefix}fieldset-body { + overflow: hidden; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_file.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_file.scss new file mode 100644 index 000000000..3f83ea20c --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_file.scss @@ -0,0 +1,32 @@ +@mixin extjs-form-file { + + .#{$prefix}form-file-wrap { + .#{$prefix}form-text { + color: #777; + } + + .#{$prefix}form-file-btn { + overflow: hidden; + float: left; + } + + .#{$prefix}form-file-input { + position: absolute; + top: -4px; + right: -2px; + height: $form-field-height + 8; + @include opacity(0); + + /* Yes, there's actually a good reason for this... + * If the configured buttonText is set to something longer than the default, + * then it will quickly exceed the width of the hidden file input's "Browse..." + * button, so part of the custom button's clickable area will be covered by + * the hidden file input's text box instead. This results in a text-selection + * mouse cursor over that part of the button, at least in Firefox, which is + * confusing to a user. Giving the hidden file input a huge font-size makes + * the native button part very large so it will cover the whole clickable area. + */ + font-size: 100px; + } + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss new file mode 100644 index 000000000..633fdf992 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss @@ -0,0 +1,123 @@ +@mixin extjs-form-htmleditor { + .#{$prefix}html-editor-wrap { + border: 1px solid $html-editor-border-color; + + .#{$prefix}toolbar { + border-top-width: 0; + border-left-width: 0; + border-right-width: 0; + } + + textarea { + background-color: $html-editor-background-color; + } + } + + .#{$prefix}html-editor-tb .#{$prefix}btn-text { + background:transparent theme-image($theme-name, 'editor/tb-sprite.gif') no-repeat; + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-bold, + .#{$prefix}menu-item img.#{$prefix}edit-bold { + background-position:0 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-italic, + .#{$prefix}menu-item img.#{$prefix}edit-italic { + background-position:-16px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-underline, + .#{$prefix}menu-item img.#{$prefix}edit-underline { + background-position:-32px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-forecolor, + .#{$prefix}menu-item img.#{$prefix}edit-forecolor { + background-position:-160px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-backcolor, + .#{$prefix}menu-item img.#{$prefix}edit-backcolor { + background-position:-176px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-justifyleft, + .#{$prefix}menu-item img.#{$prefix}edit-justifyleft { + background-position:-112px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-justifycenter, + .#{$prefix}menu-item img.#{$prefix}edit-justifycenter { + background-position:-128px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-justifyright, + .#{$prefix}menu-item img.#{$prefix}edit-justifyright { + background-position:-144px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-insertorderedlist, + .#{$prefix}menu-item img.#{$prefix}edit-insertorderedlist { + background-position:-80px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-insertunorderedlist, + .#{$prefix}menu-item img.#{$prefix}edit-insertunorderedlist { + background-position:-96px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-increasefontsize, + .#{$prefix}menu-item img.#{$prefix}edit-increasefontsize { + background-position:-48px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-decreasefontsize, + .#{$prefix}menu-item img.#{$prefix}edit-decreasefontsize { + background-position:-64px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-sourceedit, + .#{$prefix}menu-item img.#{$prefix}edit-sourceedit { + background-position:-192px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tb .#{$prefix}edit-createlink, + .#{$prefix}menu-item img.#{$prefix}edit-createlink { + background-position: -208px 0; + background-image: theme-image($theme-name, 'editor/tb-sprite.gif'); + } + + .#{$prefix}html-editor-tip .#{$prefix}tip-bd .#{$prefix}tip-bd-inner { + padding: 5px; + padding-bottom: 1px; + } + + .#{$prefix}html-editor-tb { + .#{$prefix}toolbar { + position: static !important; + } + .#{$prefix}font-select { + font-size: 11px; + } + } + + .x-html-editor-wrap textarea { + border: 0; + padding: 3px 2px; + overflow: auto; + } +} \ No newline at end of file diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss new file mode 100644 index 000000000..aa85d56d8 --- /dev/null +++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss @@ -0,0 +1,162 @@ +@mixin extjs-form-triggerfield { + .#{$prefix}form-trigger-wrap { + float: left; + } + + .#{$prefix}form-trigger { + background-image: theme-image($theme-name, 'form/trigger.gif'); + background-position: 0 0; + + width: $form-trigger-width; + height: $form-trigger-height - $form-trigger-border-bottom-width; + float: left; + + border-bottom: $form-trigger-border-bottom; + + cursor: pointer; + cursor: hand; + } + + .#{$prefix}border-box .#{$prefix}form-trigger { + height: $form-trigger-height; + } + + .#{$prefix}field-default-toolbar .#{$prefix}form-trigger { + height: $form-toolbar-trigger-height - $form-trigger-border-bottom-width; + } + + .#{$prefix}border-box .#{$prefix}field-default-toolbar .#{$prefix}form-trigger { + height: $form-toolbar-trigger-height; + } + + + .#{$prefix}form-trigger-over { + background-position: -$form-trigger-width 0; + + border-bottom-color: $form-trigger-border-bottom-color-over; + } + + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-trigger { + background-position: -($form-trigger-width * 3) 0; + + border-bottom-color: $form-trigger-border-bottom-color-focus; + } + + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-trigger-over { + background-position: -($form-trigger-width * 4) 0; + + @if $form-trigger-border-bottom-color-focus-over { + border-bottom-color: $form-trigger-border-bottom-color-focus-over; + } + } + + .#{$prefix}form-trigger-click, + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-trigger-click { + background-position: -($form-trigger-width * 2) 0; + + @if $form-trigger-border-bottom-color-pressed { + border-bottom-color: $form-trigger-border-bottom-color-pressed; + } + } + + .#{$prefix}form-trigger-icon { + height: $form-trigger-width - $form-trigger-border-bottom-width; + + background-repeat: no-repeat; + background-position: $form-trigger-icon-background-position; + } + + .#{$prefix}pickerfield-open { + .#{$prefix}form-field { + @include border-bottom-radius(0); + } + } + + .#{$prefix}pickerfield-open-above { + .#{$prefix}form-field { + @include border-bottom-left-radius(3px); + @include border-top-radius(0); + } + } + + .#{$prefix}form-arrow-trigger { + .#{$prefix}form-trigger-icon { + background-image: theme-image($theme-name, 'boundlist/trigger-arrow.png'); + } + } + + .#{$prefix}form-date-trigger { + background-image: theme-image($theme-name, 'form/date-trigger.gif'); + } + + $spinner-btn-height: $form-trigger-height / 2; + .#{$prefix}form-trigger-wrap { + .#{$prefix}form-spinner-up, + .#{$prefix}form-spinner-down { + background-image: theme-image($theme-name, 'form/spinner.gif'); + + width: $form-trigger-width; + height: $spinner-btn-height; + + font-size: 0; /*for IE*/ + + border-bottom: 0; + } + .#{$prefix}form-spinner-down { + background-position: 0 (-$spinner-btn-height); + } + } + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-spinner-down { + background-position: -($form-trigger-width * 3) (-$spinner-btn-height); + } + .#{$prefix}form-trigger-wrap .#{$prefix}form-spinner-down-over { + background-position: (-$form-trigger-width) (-$spinner-btn-height); + } + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-spinner-down-over { + background-position: -($form-trigger-width * 4) (-$spinner-btn-height); + } + .#{$prefix}form-trigger-wrap .#{$prefix}form-spinner-down-click { + background-position: -($form-trigger-width * 2) (-$spinner-btn-height); + } + + + .#{$prefix}field-default-toolbar { + $spinner-btn-height: $form-toolbar-trigger-height / 2; + .#{$prefix}form-trigger-wrap { + .#{$prefix}form-spinner-up, + .#{$prefix}form-spinner-down { + background-image: theme-image($theme-name, 'form/spinner-small.gif'); + height: $spinner-btn-height; + } + .#{$prefix}form-spinner-down { + background-position: 0 (-$spinner-btn-height); + } + } + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-spinner-down { + background-position: -($form-trigger-width * 3) (-$spinner-btn-height); + } + .#{$prefix}form-trigger-wrap .#{$prefix}form-spinner-down-over { + background-position: (-$form-trigger-width) (-$spinner-btn-height); + } + .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-spinner-down-over { + background-position: -($form-trigger-width * 4) (-$spinner-btn-height); + } + .#{$prefix}form-trigger-wrap .#{$prefix}form-spinner-down-click { + background-position: -($form-trigger-width * 2) (-$spinner-btn-height); + } + } + + + .#{$prefix}trigger-noedit { + cursor: pointer; + cursor: hand; + } + + + .#{$prefix}form-clear-trigger { + background-image: theme-image($theme-name, 'form/clear-trigger.gif'); + } + .#{$prefix}form-search-trigger { + background-image: theme-image($theme-name, 'form/search-trigger.gif'); + } +} diff --git a/deluge/ui/web/resources/themes/templates/resources/css/my-ext-theme.css b/deluge/ui/web/resources/themes/templates/resources/css/my-ext-theme.css new file mode 100644 index 000000000..907bb562d --- /dev/null +++ b/deluge/ui/web/resources/themes/templates/resources/css/my-ext-theme.css @@ -0,0 +1,59 @@ +/* +Syntax error: File to import not found or unreadable: ext4/default/all. + Load paths: + /Users/Robert/github/sencha/sdk/extjs/resources/themes/templates/resources/sass + /Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/frameworks/blueprint/stylesheets + /Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/frameworks/compass/stylesheets + + on line 8 of /Users/Robert/github/sencha/sdk/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss + +Backtrace: +/Users/Robert/github/sencha/sdk/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss:8 +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/import_node.rb:64:in `import' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/import_node.rb:25:in `imported_file' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:148:in `visit_import' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:37:in `send' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:37:in `visit' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:53:in `map' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:27:in `visit_children' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:39:in `with_environment' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:26:in `visit_children' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:37:in `visit' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:47:in `visit_root' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:37:in `send' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/base.rb:37:in `visit' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:7:in `send' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/visitors/perform.rb:7:in `visit' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/tree/root_node.rb:20:in `render' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/engine.rb:291:in `_render' +/Library/Ruby/Gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/engine.rb:238:in `render' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:127:in `compile' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:113:in `timed' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:126:in `compile' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/logger.rb:45:in `red' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:125:in `compile' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:105:in `compile_if_required' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:92:in `run' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:90:in `each' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:90:in `run' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:113:in `timed' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/compiler.rb:89:in `run' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/commands/update_project.rb:36:in `perform' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/commands/base.rb:18:in `execute' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/commands/project_base.rb:19:in `execute' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/exec/sub_command_ui.rb:43:in `perform!' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/lib/compass/exec/sub_command_ui.rb:15:in `run!' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/bin/compass:25 +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/bin/compass:39:in `call' +/Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/bin/compass:39 +/usr/bin/compass:19:in `load' +/usr/bin/compass:19 +*/ +body:before { + white-space: pre; + font-family: monospace; + content: "Syntax error: File to import not found or unreadable: ext4/default/all.\A Load paths:\A /Users/Robert/github/sencha/sdk/extjs/resources/themes/templates/resources/sass\A /Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/frameworks/blueprint/stylesheets\A /Library/Ruby/Gems/1.8/gems/compass-0.11.beta.5/frameworks/compass/stylesheets\A \A on line 8 of /Users/Robert/github/sencha/sdk/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss"; } diff --git a/deluge/ui/web/resources/themes/templates/resources/sass/config.rb b/deluge/ui/web/resources/themes/templates/resources/sass/config.rb new file mode 100644 index 000000000..87ed40a1d --- /dev/null +++ b/deluge/ui/web/resources/themes/templates/resources/sass/config.rb @@ -0,0 +1,22 @@ +# $ext_path: This should be the path of where the ExtJS SDK is installed +# Generally this will be in a lib/extjs folder in your applications root +# /lib/extjs +$ext_path = "../../lib/extjs" + +# sass_path: the directory your Sass files are in. THIS file should also be in the Sass folder +# Generally this will be in a resources/sass folder +# /resources/sass +sass_path = File.dirname(__FILE__) + +# css_path: the directory you want your CSS files to be. +# Generally this is a folder in the parent directory of your Sass files +# /resources/css +css_path = File.join(sass_path, "..", "css") + +# output_style: The output style for your compiled CSS +# nested, expanded, compact, compressed +# More information can be found here http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#output_style +output_style = :compressed + +# We need to load in the Ext4 themes folder, which includes all it's default styling, images, variables and mixins +load File.join(File.dirname(__FILE__), $ext_path, 'resources', 'themes') diff --git a/deluge/ui/web/resources/themes/templates/resources/sass/my-ext-theme.scss b/deluge/ui/web/resources/themes/templates/resources/sass/my-ext-theme.scss new file mode 100644 index 000000000..b5d2c18f2 --- /dev/null +++ b/deluge/ui/web/resources/themes/templates/resources/sass/my-ext-theme.scss @@ -0,0 +1,44 @@ +// Unless you want to include all components, you must set $include-default to false +// IF you set this to true, you can also remove lines 10 to 38 of this file +$include-default: false; + +// Insert your custom variables here. +// $base-color: #aa0000; + +@import 'ext4/default/all'; + +// You may remove any of the following modules that you +// do not use in order to create a smaller css file. +@include extjs-boundlist; +@include extjs-button; +@include extjs-btn-group; +@include extjs-datepicker; +@include extjs-colorpicker; +@include extjs-menu; +@include extjs-grid; +@include extjs-form; + @include extjs-form-field; + @include extjs-form-fieldset; + @include extjs-form-checkboxfield; + @include extjs-form-checkboxgroup; + @include extjs-form-triggerfield; + @include extjs-form-htmleditor; +@include extjs-panel; +@include extjs-qtip; +@include extjs-slider; +@include extjs-progress; +@include extjs-toolbar; +@include extjs-window; +@include extjs-messagebox; +@include extjs-tabbar; +@include extjs-tab; +@include extjs-tree; +@include extjs-drawcomponent; +@include extjs-viewport; + +// This line changes the location of your images when creating UIs to be relative instead of within the ExtJS directory. +// You MUST set this to true/string value if you are creating new UIs + supporting legacy browsers. +// This only applies to new UIs. It does not apply to default component images (i.e. when changing $base-color) +// The value can either be true, in which case the image path will be "../images/" +// or a string, of where the path is +$relative-image-path-for-uis: true; // defaults to "../images/" when true \ No newline at end of file