diff --git a/cbm/css/testform.css b/cbm/css/testform.css deleted file mode 100644 index f6843e5..0000000 --- a/cbm/css/testform.css +++ /dev/null @@ -1,167 +0,0 @@ -#mappa { - width: 98%; - height: 400px; - margin:10px; - border:1px solid gray; -} - -#info-panel { - width: 500px; - height: 30px; - margin-left: 15px; - float:left; -} - - -.icon-marker,.icon-marker:hover,.icon-marker:focus{ - background-image: url("../images/marker24.png"); - background-position: center center; - background-repeat: no-repeat; - height:34px; -} - - - -#layerbox { - position: absolute; - top:23px; left:0px; - margin-top:-2px; - padding: 6px 4px; - text-align: left; - width:350px; - max-height:200px; - background-color: #fff; - display: none; - cursor:default; - z-index:-1; - overflow-y: auto; - overflow-x: hidden; - border-radius: 5px; - box-shadow: rgba(0, 0, 0, 0.4) 0 1px 2px; - width:250px; - margin-top: 5px; - -} - -#layerbox hr { - height:1px; - border:1px; - color:#e2e2e2; - background-color:#e2e2e2; - margin: 1px 0; -} - -*+html #layerbox hr { -/* IE 7 hr bug fix */ - display:block; margin: -5px 0; -} - -* html #layerbox hr { -/* IE 6 hr bug fix */ - display:block; margin: -5px 0; -} - - -*+html #layerbox hr { -/* IE 7 hr bug fix */ - display:block; margin: -5px 0; -} - -* html #layerbox hr { -/* IE 6 hr bug fix */ - display:block; margin: -5px 0; -} - -/* -CSS for v3 gmap-buttons stolen from: - http://gmaps-samples-v3.googlecode.com/svn/trunk/controls/index.html -*/ - - - - -.gmap-button, .gmap-button-selected, .dropdown { - width:160px; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; -/* position: relative; */ - font-family: Arial, sans-serif; - font-size: 13px; - box-shadow: rgba(0, 0, 0, 0.4) 0 1px 2px; - -moz-box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px; - -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px; - color: #000; - /*border: 1px solid #717B87;*/ - background-color: #fff; -} - -.gmap-button, .gmap-button-selected { - margin: 5px; - padding: 1px 6px; - overflow: hidden; -} - -.gmap-button:hover { - background: #FEFEFE; - background: -moz-linear-gradient(top, #FEFEFE 0%, #F3F3F3 100%); - background: -webkit-gradient(linear, left top, left bottom, from(#FEFEFE), to(#F3F3F3)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FEFEFE', endColorstr='#F3F3F3', GradientType=0); -} - -.gmap-button-selected { - font-weight: bold; -} - - - -#layerbox label{ - - list-style:none; - white-space:nowrap; - margin-left:5px; - -} - -#layerbox input{ - float: left; - display: :inline; - margin-right: 2px; - -} - -#clicktarget { - text-align: center; -} - - -table tbody tr:hover { - background-color: blue; - cursor: pointer; -} - - -#draw-panel { - width: 180px; - font-family: Arial, sans-serif; - font-size: 13px; - float: right; - margin: 5px; -} - -#draw-palette { - clear: both; -} - -.color-button { - width: 14px; - height: 14px; - font-size: 0; - margin: 2px; - float: left; - cursor: pointer; -} - -#draw-delete-button { - margin-left: 5px; -} \ No newline at end of file diff --git a/cbm/css/typeahead.css b/cbm/css/typeahead.css deleted file mode 100644 index d4f9ebd..0000000 --- a/cbm/css/typeahead.css +++ /dev/null @@ -1,79 +0,0 @@ -/* custom font! */ -/* ------------ */ - -@font-face { - font-family: Prociono; - src: url(../font/Prociono-Regular-webfont.ttf); -} - -.twitter-typeahead{ float:left; width:100%} - - - -.tt-query { - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} - -.tt-hint { - color: #999 -} - -.tt-dropdown-menu { - width: 422px; - margin-top: 12px; - padding: 8px 0; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - border-radius: 8px; - -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); - -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); - box-shadow: 0 5px 10px rgba(0,0,0,.2); -} - -.tt-suggestion { - padding: 3px 20px; - font-size: 18px; - line-height: 24px; -} - -.tt-suggestion.tt-cursor { - color: #fff; - background-color: #0097cf; - -} - -.tt-suggestion p { - margin: 0; -} - -.gist { - font-size: 14px; -} - -/* example specific styles */ -/* ----------------------- */ - -#custom-templates .empty-message { - padding: 5px 10px; - text-align: center; -} - -#multiple-datasets .league-name { - margin: 0 20px 5px 20px; - padding: 3px 0; - border-bottom: 1px solid #ccc; -} - -#scrollable-dropdown-menu .tt-dropdown-menu { - max-height: 150px; - overflow-y: auto; -} - -#rtl-support .tt-dropdown-menu { - text-align: right; -} diff --git a/cbm/images/MapMarker_Marker_Inside_Azure.png b/cbm/images/MapMarker_Marker_Inside_Azure.png deleted file mode 100644 index e3b5346..0000000 Binary files a/cbm/images/MapMarker_Marker_Inside_Azure.png and /dev/null differ diff --git a/cbm/images/MapMarker_Marker_Inside_Pink.png b/cbm/images/MapMarker_Marker_Inside_Pink.png deleted file mode 100644 index 2a5ffb2..0000000 Binary files a/cbm/images/MapMarker_Marker_Inside_Pink.png and /dev/null differ diff --git a/cbm/images/MapMarker_Marker_Outside_Chartreuse.png b/cbm/images/MapMarker_Marker_Outside_Chartreuse.png deleted file mode 100644 index 4072800..0000000 Binary files a/cbm/images/MapMarker_Marker_Outside_Chartreuse.png and /dev/null differ diff --git a/cbm/images/icon_2.png b/cbm/images/icon_2.png deleted file mode 100644 index e5b3e71..0000000 Binary files a/cbm/images/icon_2.png and /dev/null differ diff --git a/cbm/images/icon_4.png b/cbm/images/icon_4.png deleted file mode 100644 index e6c23e5..0000000 Binary files a/cbm/images/icon_4.png and /dev/null differ diff --git a/cbm/images/icon_7.png b/cbm/images/icon_7.png deleted file mode 100644 index a3c8eaa..0000000 Binary files a/cbm/images/icon_7.png and /dev/null differ diff --git a/cbm/images/marker32.png b/cbm/images/marker32.png deleted file mode 100644 index f2e1ad4..0000000 Binary files a/cbm/images/marker32.png and /dev/null differ diff --git a/cbm/images/marker48.png b/cbm/images/marker48.png deleted file mode 100644 index 6df3cc8..0000000 Binary files a/cbm/images/marker48.png and /dev/null differ diff --git a/cbm/images/marker64.png b/cbm/images/marker64.png deleted file mode 100644 index 942a4ff..0000000 Binary files a/cbm/images/marker64.png and /dev/null differ diff --git a/cbm/images/streetview.jpg b/cbm/images/streetview.jpg deleted file mode 100644 index 1ed139e..0000000 Binary files a/cbm/images/streetview.jpg and /dev/null differ diff --git a/cbm/js/markerclusterer.js b/cbm/js/markerclusterer.js deleted file mode 100644 index 445cd1b..0000000 --- a/cbm/js/markerclusterer.js +++ /dev/null @@ -1,1290 +0,0 @@ -// ==ClosureCompiler== -// @compilation_level ADVANCED_OPTIMIZATIONS -// @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3_3.js -// ==/ClosureCompiler== - -/** - * @name MarkerClusterer for Google Maps v3 - * @version version 1.0 - * @author Luke Mahe - * @fileoverview - * The library creates and manages per-zoom-level clusters for large amounts of - * markers. - *
- * This is a v3 implementation of the - * v2 MarkerClusterer. - */ - -/** - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -/** - * A Marker Clusterer that clusters markers. - * - * @param {google.maps.Map} map The Google map to attach to. - * @param {Array.=} opt_markers Optional markers to add to - * the cluster. - * @param {Object=} opt_options support the following options: - * 'gridSize': (number) The grid size of a cluster in pixels. - * 'maxZoom': (number) The maximum zoom level that a marker can be part of a - * cluster. - * 'zoomOnClick': (boolean) Whether the default behaviour of clicking on a - * cluster is to zoom into it. - * 'averageCenter': (boolean) Wether the center of each cluster should be - * the average of all markers in the cluster. - * 'minimumClusterSize': (number) The minimum number of markers to be in a - * cluster before the markers are hidden and a count - * is shown. - * 'styles': (object) An object that has style properties: - * 'url': (string) The image url. - * 'height': (number) The image height. - * 'width': (number) The image width. - * 'anchor': (Array) The anchor position of the label text. - * 'textColor': (string) The text color. - * 'textSize': (number) The text size. - * 'backgroundPosition': (string) The position of the backgound x, y. - * @constructor - * @extends google.maps.OverlayView - */ -function MarkerClusterer(map, opt_markers, opt_options) { - // MarkerClusterer implements google.maps.OverlayView interface. We use the - // extend function to extend MarkerClusterer with google.maps.OverlayView - // because it might not always be available when the code is defined so we - // look for it at the last possible moment. If it doesn't exist now then - // there is no point going ahead :) - this.extend(MarkerClusterer, google.maps.OverlayView); - this.map_ = map; - - /** - * @type {Array.} - * @private - */ - this.markers_ = []; - - /** - * @type {Array.} - */ - this.clusters_ = []; - - this.sizes = [53, 56, 66, 78, 90]; - - /** - * @private - */ - this.styles_ = []; - - /** - * @type {boolean} - * @private - */ - this.ready_ = false; - - var options = opt_options || {}; - - /** - * @type {number} - * @private - */ - this.gridSize_ = options['gridSize'] || 60; - - /** - * @private - */ - this.minClusterSize_ = options['minimumClusterSize'] || 2; - - - /** - * @type {?number} - * @private - */ - this.maxZoom_ = options['maxZoom'] || null; - - this.styles_ = options['styles'] || []; - - /** - * @type {string} - * @private - */ - this.imagePath_ = options['imagePath'] || - this.MARKER_CLUSTER_IMAGE_PATH_; - - /** - * @type {string} - * @private - */ - this.imageExtension_ = options['imageExtension'] || - this.MARKER_CLUSTER_IMAGE_EXTENSION_; - - /** - * @type {boolean} - * @private - */ - this.zoomOnClick_ = true; - - if (options['zoomOnClick'] != undefined) { - this.zoomOnClick_ = options['zoomOnClick']; - } - - /** - * @type {boolean} - * @private - */ - this.averageCenter_ = false; - - if (options['averageCenter'] != undefined) { - this.averageCenter_ = options['averageCenter']; - } - - this.setupStyles_(); - - this.setMap(map); - - /** - * @type {number} - * @private - */ - this.prevZoom_ = this.map_.getZoom(); - - // Add the map event listeners - var that = this; - google.maps.event.addListener(this.map_, 'zoom_changed', function() { - var zoom = that.map_.getZoom(); - - if (that.prevZoom_ != zoom) { - that.prevZoom_ = zoom; - that.resetViewport(); - } - }); - - google.maps.event.addListener(this.map_, 'idle', function() { - that.redraw(); - }); - - // Finally, add the markers - if (opt_markers && opt_markers.length) { - this.addMarkers(opt_markers, false); - } -} - - -/** - * The marker cluster image path. - * - * @type {string} - * @private - */ -MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ = - 'http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/' + - 'images/m'; - - -/** - * The marker cluster image path. - * - * @type {string} - * @private - */ -MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_ = 'png'; - - -/** - * Extends a objects prototype by anothers. - * - * @param {Object} obj1 The object to be extended. - * @param {Object} obj2 The object to extend with. - * @return {Object} The new extended object. - * @ignore - */ -MarkerClusterer.prototype.extend = function(obj1, obj2) { - return (function(object) { - for (var property in object.prototype) { - this.prototype[property] = object.prototype[property]; - } - return this; - }).apply(obj1, [obj2]); -}; - - -/** - * Implementaion of the interface method. - * @ignore - */ -MarkerClusterer.prototype.onAdd = function() { - this.setReady_(true); -}; - -/** - * Implementaion of the interface method. - * @ignore - */ -MarkerClusterer.prototype.draw = function() {}; - -/** - * Sets up the styles object. - * - * @private - */ -MarkerClusterer.prototype.setupStyles_ = function() { - if (this.styles_.length) { - return; - } - - for (var i = 0, size; size = this.sizes[i]; i++) { - this.styles_.push({ - url: this.imagePath_ + (i + 1) + '.' + this.imageExtension_, - height: size, - width: size - }); - } -}; - -/** - * Fit the map to the bounds of the markers in the clusterer. - */ -MarkerClusterer.prototype.fitMapToMarkers = function() { - var markers = this.getMarkers(); - var bounds = new google.maps.LatLngBounds(); - for (var i = 0, marker; marker = markers[i]; i++) { - bounds.extend(marker.getPosition()); - } - - this.map_.fitBounds(bounds); -}; - - -/** - * Sets the styles. - * - * @param {Object} styles The style to set. - */ -MarkerClusterer.prototype.setStyles = function(styles) { - this.styles_ = styles; -}; - - -/** - * Gets the styles. - * - * @return {Object} The styles object. - */ -MarkerClusterer.prototype.getStyles = function() { - return this.styles_; -}; - - -/** - * Whether zoom on click is set. - * - * @return {boolean} True if zoomOnClick_ is set. - */ -MarkerClusterer.prototype.isZoomOnClick = function() { - return this.zoomOnClick_; -}; - -/** - * Whether average center is set. - * - * @return {boolean} True if averageCenter_ is set. - */ -MarkerClusterer.prototype.isAverageCenter = function() { - return this.averageCenter_; -}; - - -/** - * Returns the array of markers in the clusterer. - * - * @return {Array.} The markers. - */ -MarkerClusterer.prototype.getMarkers = function() { - return this.markers_; -}; - - -/** - * Returns the number of markers in the clusterer - * - * @return {Number} The number of markers. - */ -MarkerClusterer.prototype.getTotalMarkers = function() { - return this.markers_.length; -}; - - -/** - * Sets the max zoom for the clusterer. - * - * @param {number} maxZoom The max zoom level. - */ -MarkerClusterer.prototype.setMaxZoom = function(maxZoom) { - this.maxZoom_ = maxZoom; -}; - - -/** - * Gets the max zoom for the clusterer. - * - * @return {number} The max zoom level. - */ -MarkerClusterer.prototype.getMaxZoom = function() { - return this.maxZoom_; -}; - - -/** - * The function for calculating the cluster icon image. - * - * @param {Array.} markers The markers in the clusterer. - * @param {number} numStyles The number of styles available. - * @return {Object} A object properties: 'text' (string) and 'index' (number). - * @private - */ -MarkerClusterer.prototype.calculator_ = function(markers, numStyles) { - var index = 0; - var count = markers.length; - var dv = count; - while (dv !== 0) { - dv = parseInt(dv / 10, 10); - index++; - } - - index = Math.min(index, numStyles); - return { - text: count, - index: index - }; -}; - - -/** - * Set the calculator function. - * - * @param {function(Array, number)} calculator The function to set as the - * calculator. The function should return a object properties: - * 'text' (string) and 'index' (number). - * - */ -MarkerClusterer.prototype.setCalculator = function(calculator) { - this.calculator_ = calculator; -}; - - -/** - * Get the calculator function. - * - * @return {function(Array, number)} the calculator function. - */ -MarkerClusterer.prototype.getCalculator = function() { - return this.calculator_; -}; - - -/** - * Add an array of markers to the clusterer. - * - * @param {Array.} markers The markers to add. - * @param {boolean=} opt_nodraw Whether to redraw the clusters. - */ -MarkerClusterer.prototype.addMarkers = function(markers, opt_nodraw) { - for (var i = 0, marker; marker = markers[i]; i++) { - this.pushMarkerTo_(marker); - } - if (!opt_nodraw) { - this.redraw(); - } -}; - - -/** - * Pushes a marker to the clusterer. - * - * @param {google.maps.Marker} marker The marker to add. - * @private - */ -MarkerClusterer.prototype.pushMarkerTo_ = function(marker) { - marker.isAdded = false; - if (marker['draggable']) { - // If the marker is draggable add a listener so we update the clusters on - // the drag end. - var that = this; - google.maps.event.addListener(marker, 'dragend', function() { - marker.isAdded = false; - that.repaint(); - }); - } - this.markers_.push(marker); -}; - - -/** - * Adds a marker to the clusterer and redraws if needed. - * - * @param {google.maps.Marker} marker The marker to add. - * @param {boolean=} opt_nodraw Whether to redraw the clusters. - */ -MarkerClusterer.prototype.addMarker = function(marker, opt_nodraw) { - this.pushMarkerTo_(marker); - if (!opt_nodraw) { - this.redraw(); - } -}; - - -/** - * Removes a marker and returns true if removed, false if not - * - * @param {google.maps.Marker} marker The marker to remove - * @return {boolean} Whether the marker was removed or not - * @private - */ -MarkerClusterer.prototype.removeMarker_ = function(marker) { - var index = -1; - if (this.markers_.indexOf) { - index = this.markers_.indexOf(marker); - } else { - for (var i = 0, m; m = this.markers_[i]; i++) { - if (m == marker) { - index = i; - break; - } - } - } - - if (index == -1) { - // Marker is not in our list of markers. - return false; - } - - marker.setMap(null); - - this.markers_.splice(index, 1); - - return true; -}; - - -/** - * Remove a marker from the cluster. - * - * @param {google.maps.Marker} marker The marker to remove. - * @param {boolean=} opt_nodraw Optional boolean to force no redraw. - * @return {boolean} True if the marker was removed. - */ -MarkerClusterer.prototype.removeMarker = function(marker, opt_nodraw) { - var removed = this.removeMarker_(marker); - - if (!opt_nodraw && removed) { - this.resetViewport(); - this.redraw(); - return true; - } else { - return false; - } -}; - - -/** - * Removes an array of markers from the cluster. - * - * @param {Array.} markers The markers to remove. - * @param {boolean=} opt_nodraw Optional boolean to force no redraw. - */ -MarkerClusterer.prototype.removeMarkers = function(markers, opt_nodraw) { - var removed = false; - - for (var i = 0, marker; marker = markers[i]; i++) { - var r = this.removeMarker_(marker); - removed = removed || r; - } - - if (!opt_nodraw && removed) { - this.resetViewport(); - this.redraw(); - return true; - } -}; - - -/** - * Sets the clusterer's ready state. - * - * @param {boolean} ready The state. - * @private - */ -MarkerClusterer.prototype.setReady_ = function(ready) { - if (!this.ready_) { - this.ready_ = ready; - this.createClusters_(); - } -}; - - -/** - * Returns the number of clusters in the clusterer. - * - * @return {number} The number of clusters. - */ -MarkerClusterer.prototype.getTotalClusters = function() { - return this.clusters_.length; -}; - - -/** - * Returns the google map that the clusterer is associated with. - * - * @return {google.maps.Map} The map. - */ -MarkerClusterer.prototype.getMap = function() { - return this.map_; -}; - - -/** - * Sets the google map that the clusterer is associated with. - * - * @param {google.maps.Map} map The map. - */ -MarkerClusterer.prototype.setMap = function(map) { - this.map_ = map; -}; - - -/** - * Returns the size of the grid. - * - * @return {number} The grid size. - */ -MarkerClusterer.prototype.getGridSize = function() { - return this.gridSize_; -}; - - -/** - * Sets the size of the grid. - * - * @param {number} size The grid size. - */ -MarkerClusterer.prototype.setGridSize = function(size) { - this.gridSize_ = size; -}; - - -/** - * Returns the min cluster size. - * - * @return {number} The grid size. - */ -MarkerClusterer.prototype.getMinClusterSize = function() { - return this.minClusterSize_; -}; - -/** - * Sets the min cluster size. - * - * @param {number} size The grid size. - */ -MarkerClusterer.prototype.setMinClusterSize = function(size) { - this.minClusterSize_ = size; -}; - - -/** - * Extends a bounds object by the grid size. - * - * @param {google.maps.LatLngBounds} bounds The bounds to extend. - * @return {google.maps.LatLngBounds} The extended bounds. - */ -MarkerClusterer.prototype.getExtendedBounds = function(bounds) { - var projection = this.getProjection(); - - // Turn the bounds into latlng. - var tr = new google.maps.LatLng(bounds.getNorthEast().lat(), - bounds.getNorthEast().lng()); - var bl = new google.maps.LatLng(bounds.getSouthWest().lat(), - bounds.getSouthWest().lng()); - - // Convert the points to pixels and the extend out by the grid size. - var trPix = projection.fromLatLngToDivPixel(tr); - trPix.x += this.gridSize_; - trPix.y -= this.gridSize_; - - var blPix = projection.fromLatLngToDivPixel(bl); - blPix.x -= this.gridSize_; - blPix.y += this.gridSize_; - - // Convert the pixel points back to LatLng - var ne = projection.fromDivPixelToLatLng(trPix); - var sw = projection.fromDivPixelToLatLng(blPix); - - // Extend the bounds to contain the new bounds. - bounds.extend(ne); - bounds.extend(sw); - - return bounds; -}; - - -/** - * Determins if a marker is contained in a bounds. - * - * @param {google.maps.Marker} marker The marker to check. - * @param {google.maps.LatLngBounds} bounds The bounds to check against. - * @return {boolean} True if the marker is in the bounds. - * @private - */ -MarkerClusterer.prototype.isMarkerInBounds_ = function(marker, bounds) { - return bounds.contains(marker.getPosition()); -}; - - -/** - * Clears all clusters and markers from the clusterer. - */ -MarkerClusterer.prototype.clearMarkers = function() { - this.resetViewport(true); - - // Set the markers a empty array. - this.markers_ = []; -}; - - -/** - * Clears all existing clusters and recreates them. - * @param {boolean} opt_hide To also hide the marker. - */ -MarkerClusterer.prototype.resetViewport = function(opt_hide) { - // Remove all the clusters - for (var i = 0, cluster; cluster = this.clusters_[i]; i++) { - cluster.remove(); - } - - // Reset the markers to not be added and to be invisible. - for (var i = 0, marker; marker = this.markers_[i]; i++) { - marker.isAdded = false; - if (opt_hide) { - marker.setMap(null); - } - } - - this.clusters_ = []; -}; - -/** - * - */ -MarkerClusterer.prototype.repaint = function() { - var oldClusters = this.clusters_.slice(); - this.clusters_.length = 0; - this.resetViewport(); - this.redraw(); - - // Remove the old clusters. - // Do it in a timeout so the other clusters have been drawn first. - window.setTimeout(function() { - for (var i = 0, cluster; cluster = oldClusters[i]; i++) { - cluster.remove(); - } - }, 0); -}; - - -/** - * Redraws the clusters. - */ -MarkerClusterer.prototype.redraw = function() { - this.createClusters_(); -}; - - -/** - * Calculates the distance between two latlng locations in km. - * @see http://www.movable-type.co.uk/scripts/latlong.html - * - * @param {google.maps.LatLng} p1 The first lat lng point. - * @param {google.maps.LatLng} p2 The second lat lng point. - * @return {number} The distance between the two points in km. - * @private -*/ -MarkerClusterer.prototype.distanceBetweenPoints_ = function(p1, p2) { - if (!p1 || !p2) { - return 0; - } - - var R = 6371; // Radius of the Earth in km - var dLat = (p2.lat() - p1.lat()) * Math.PI / 180; - var dLon = (p2.lng() - p1.lng()) * Math.PI / 180; - var a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + - Math.cos(p1.lat() * Math.PI / 180) * Math.cos(p2.lat() * Math.PI / 180) * - Math.sin(dLon / 2) * Math.sin(dLon / 2); - var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)); - var d = R * c; - return d; -}; - - -/** - * Add a marker to a cluster, or creates a new cluster. - * - * @param {google.maps.Marker} marker The marker to add. - * @private - */ -MarkerClusterer.prototype.addToClosestCluster_ = function(marker) { - var distance = 40000; // Some large number - var clusterToAddTo = null; - var pos = marker.getPosition(); - for (var i = 0, cluster; cluster = this.clusters_[i]; i++) { - var center = cluster.getCenter(); - if (center) { - var d = this.distanceBetweenPoints_(center, marker.getPosition()); - if (d < distance) { - distance = d; - clusterToAddTo = cluster; - } - } - } - - if (clusterToAddTo && clusterToAddTo.isMarkerInClusterBounds(marker)) { - clusterToAddTo.addMarker(marker); - } else { - var cluster = new Cluster(this); - cluster.addMarker(marker); - this.clusters_.push(cluster); - } -}; - - -/** - * Creates the clusters. - * - * @private - */ -MarkerClusterer.prototype.createClusters_ = function() { - if (!this.ready_) { - return; - } - - // Get our current map view bounds. - // Create a new bounds object so we don't affect the map. - var mapBounds = new google.maps.LatLngBounds(this.map_.getBounds().getSouthWest(), - this.map_.getBounds().getNorthEast()); - var bounds = this.getExtendedBounds(mapBounds); - - for (var i = 0, marker; marker = this.markers_[i]; i++) { - if (!marker.isAdded && this.isMarkerInBounds_(marker, bounds)) { - this.addToClosestCluster_(marker); - } - } -}; - - -/** - * A cluster that contains markers. - * - * @param {MarkerClusterer} markerClusterer The markerclusterer that this - * cluster is associated with. - * @constructor - * @ignore - */ -function Cluster(markerClusterer) { - this.markerClusterer_ = markerClusterer; - this.map_ = markerClusterer.getMap(); - this.gridSize_ = markerClusterer.getGridSize(); - this.minClusterSize_ = markerClusterer.getMinClusterSize(); - this.averageCenter_ = markerClusterer.isAverageCenter(); - this.center_ = null; - this.markers_ = []; - this.bounds_ = null; - this.clusterIcon_ = new ClusterIcon(this, markerClusterer.getStyles(), - markerClusterer.getGridSize()); -} - -/** - * Determins if a marker is already added to the cluster. - * - * @param {google.maps.Marker} marker The marker to check. - * @return {boolean} True if the marker is already added. - */ -Cluster.prototype.isMarkerAlreadyAdded = function(marker) { - if (this.markers_.indexOf) { - return this.markers_.indexOf(marker) != -1; - } else { - for (var i = 0, m; m = this.markers_[i]; i++) { - if (m == marker) { - return true; - } - } - } - return false; -}; - - -/** - * Add a marker the cluster. - * - * @param {google.maps.Marker} marker The marker to add. - * @return {boolean} True if the marker was added. - */ -Cluster.prototype.addMarker = function(marker) { - if (this.isMarkerAlreadyAdded(marker)) { - return false; - } - - if (!this.center_) { - this.center_ = marker.getPosition(); - this.calculateBounds_(); - } else { - if (this.averageCenter_) { - var l = this.markers_.length + 1; - var lat = (this.center_.lat() * (l-1) + marker.getPosition().lat()) / l; - var lng = (this.center_.lng() * (l-1) + marker.getPosition().lng()) / l; - this.center_ = new google.maps.LatLng(lat, lng); - this.calculateBounds_(); - } - } - - marker.isAdded = true; - this.markers_.push(marker); - - var len = this.markers_.length; - if (len < this.minClusterSize_ && marker.getMap() != this.map_) { - // Min cluster size not reached so show the marker. - marker.setMap(this.map_); - } - - if (len == this.minClusterSize_) { - // Hide the markers that were showing. - for (var i = 0; i < len; i++) { - this.markers_[i].setMap(null); - } - } - - if (len >= this.minClusterSize_) { - marker.setMap(null); - } - - this.updateIcon(); - return true; -}; - - -/** - * Returns the marker clusterer that the cluster is associated with. - * - * @return {MarkerClusterer} The associated marker clusterer. - */ -Cluster.prototype.getMarkerClusterer = function() { - return this.markerClusterer_; -}; - - -/** - * Returns the bounds of the cluster. - * - * @return {google.maps.LatLngBounds} the cluster bounds. - */ -Cluster.prototype.getBounds = function() { - var bounds = new google.maps.LatLngBounds(this.center_, this.center_); - var markers = this.getMarkers(); - for (var i = 0, marker; marker = markers[i]; i++) { - bounds.extend(marker.getPosition()); - } - return bounds; -}; - - -/** - * Removes the cluster - */ -Cluster.prototype.remove = function() { - this.clusterIcon_.remove(); - this.markers_.length = 0; - delete this.markers_; -}; - - -/** - * Returns the center of the cluster. - * - * @return {number} The cluster center. - */ -Cluster.prototype.getSize = function() { - return this.markers_.length; -}; - - -/** - * Returns the center of the cluster. - * - * @return {Array.} The cluster center. - */ -Cluster.prototype.getMarkers = function() { - return this.markers_; -}; - - -/** - * Returns the center of the cluster. - * - * @return {google.maps.LatLng} The cluster center. - */ -Cluster.prototype.getCenter = function() { - return this.center_; -}; - - -/** - * Calculated the extended bounds of the cluster with the grid. - * - * @private - */ -Cluster.prototype.calculateBounds_ = function() { - var bounds = new google.maps.LatLngBounds(this.center_, this.center_); - this.bounds_ = this.markerClusterer_.getExtendedBounds(bounds); -}; - - -/** - * Determines if a marker lies in the clusters bounds. - * - * @param {google.maps.Marker} marker The marker to check. - * @return {boolean} True if the marker lies in the bounds. - */ -Cluster.prototype.isMarkerInClusterBounds = function(marker) { - return this.bounds_.contains(marker.getPosition()); -}; - - -/** - * Returns the map that the cluster is associated with. - * - * @return {google.maps.Map} The map. - */ -Cluster.prototype.getMap = function() { - return this.map_; -}; - - -/** - * Updates the cluster icon - */ -Cluster.prototype.updateIcon = function() { - var zoom = this.map_.getZoom(); - var mz = this.markerClusterer_.getMaxZoom(); - - if (mz && zoom > mz) { - // The zoom is greater than our max zoom so show all the markers in cluster. - for (var i = 0, marker; marker = this.markers_[i]; i++) { - marker.setMap(this.map_); - } - return; - } - - if (this.markers_.length < this.minClusterSize_) { - // Min cluster size not yet reached. - this.clusterIcon_.hide(); - return; - } - - var numStyles = this.markerClusterer_.getStyles().length; - var sums = this.markerClusterer_.getCalculator()(this.markers_, numStyles); - this.clusterIcon_.setCenter(this.center_); - this.clusterIcon_.setSums(sums); - this.clusterIcon_.show(); -}; - - -/** - * A cluster icon - * - * @param {Cluster} cluster The cluster to be associated with. - * @param {Object} styles An object that has style properties: - * 'url': (string) The image url. - * 'height': (number) The image height. - * 'width': (number) The image width. - * 'anchor': (Array) The anchor position of the label text. - * 'textColor': (string) The text color. - * 'textSize': (number) The text size. - * 'backgroundPosition: (string) The background postition x, y. - * @param {number=} opt_padding Optional padding to apply to the cluster icon. - * @constructor - * @extends google.maps.OverlayView - * @ignore - */ -function ClusterIcon(cluster, styles, opt_padding) { - cluster.getMarkerClusterer().extend(ClusterIcon, google.maps.OverlayView); - - this.styles_ = styles; - this.padding_ = opt_padding || 0; - this.cluster_ = cluster; - this.center_ = null; - this.map_ = cluster.getMap(); - this.div_ = null; - this.sums_ = null; - this.visible_ = false; - - this.setMap(this.map_); -} - - -/** - * Triggers the clusterclick event and zoom's if the option is set. - */ -ClusterIcon.prototype.triggerClusterClick = function() { - var markerClusterer = this.cluster_.getMarkerClusterer(); - - // Trigger the clusterclick event. - google.maps.event.trigger(markerClusterer, 'clusterclick', this.cluster_); - - if (markerClusterer.isZoomOnClick()) { - // Zoom into the cluster. - this.map_.fitBounds(this.cluster_.getBounds()); - } -}; - - -/** - * Adding the cluster icon to the dom. - * @ignore - */ -ClusterIcon.prototype.onAdd = function() { - this.div_ = document.createElement('DIV'); - if (this.visible_) { - var pos = this.getPosFromLatLng_(this.center_); - this.div_.style.cssText = this.createCss(pos); - this.div_.innerHTML = this.sums_.text; - } - - var panes = this.getPanes(); - panes.overlayMouseTarget.appendChild(this.div_); - - var that = this; - google.maps.event.addDomListener(this.div_, 'click', function() { - that.triggerClusterClick(); - }); -}; - - -/** - * Returns the position to place the div dending on the latlng. - * - * @param {google.maps.LatLng} latlng The position in latlng. - * @return {google.maps.Point} The position in pixels. - * @private - */ -ClusterIcon.prototype.getPosFromLatLng_ = function(latlng) { - var pos = this.getProjection().fromLatLngToDivPixel(latlng); - pos.x -= parseInt(this.width_ / 2, 10); - pos.y -= parseInt(this.height_ / 2, 10); - return pos; -}; - - -/** - * Draw the icon. - * @ignore - */ -ClusterIcon.prototype.draw = function() { - if (this.visible_) { - var pos = this.getPosFromLatLng_(this.center_); - this.div_.style.top = pos.y + 'px'; - this.div_.style.left = pos.x + 'px'; - } -}; - - -/** - * Hide the icon. - */ -ClusterIcon.prototype.hide = function() { - if (this.div_) { - this.div_.style.display = 'none'; - } - this.visible_ = false; -}; - - -/** - * Position and show the icon. - */ -ClusterIcon.prototype.show = function() { - if (this.div_) { - var pos = this.getPosFromLatLng_(this.center_); - this.div_.style.cssText = this.createCss(pos); - this.div_.style.display = ''; - } - this.visible_ = true; -}; - - -/** - * Remove the icon from the map - */ -ClusterIcon.prototype.remove = function() { - this.setMap(null); -}; - - -/** - * Implementation of the onRemove interface. - * @ignore - */ -ClusterIcon.prototype.onRemove = function() { - if (this.div_ && this.div_.parentNode) { - this.hide(); - this.div_.parentNode.removeChild(this.div_); - this.div_ = null; - } -}; - - -/** - * Set the sums of the icon. - * - * @param {Object} sums The sums containing: - * 'text': (string) The text to display in the icon. - * 'index': (number) The style index of the icon. - */ -ClusterIcon.prototype.setSums = function(sums) { - this.sums_ = sums; - this.text_ = sums.text; - this.index_ = sums.index; - if (this.div_) { - this.div_.innerHTML = sums.text; - } - - this.useStyle(); -}; - - -/** - * Sets the icon to the the styles. - */ -ClusterIcon.prototype.useStyle = function() { - var index = Math.max(0, this.sums_.index - 1); - index = Math.min(this.styles_.length - 1, index); - var style = this.styles_[index]; - this.url_ = style['url']; - this.height_ = style['height']; - this.width_ = style['width']; - this.textColor_ = style['textColor']; - this.anchor_ = style['anchor']; - this.textSize_ = style['textSize']; - this.backgroundPosition_ = style['backgroundPosition']; -}; - - -/** - * Sets the center of the icon. - * - * @param {google.maps.LatLng} center The latlng to set as the center. - */ -ClusterIcon.prototype.setCenter = function(center) { - this.center_ = center; -}; - - -/** - * Create the css text based on the position of the icon. - * - * @param {google.maps.Point} pos The position. - * @return {string} The css style text. - */ -ClusterIcon.prototype.createCss = function(pos) { - var style = []; - style.push('background-image:url(' + this.url_ + ');'); - var backgroundPosition = this.backgroundPosition_ ? this.backgroundPosition_ : '0 0'; - style.push('background-position:' + backgroundPosition + ';'); - - if (typeof this.anchor_ === 'object') { - if (typeof this.anchor_[0] === 'number' && this.anchor_[0] > 0 && - this.anchor_[0] < this.height_) { - style.push('height:' + (this.height_ - this.anchor_[0]) + - 'px; padding-top:' + this.anchor_[0] + 'px;'); - } else { - style.push('height:' + this.height_ + 'px; line-height:' + this.height_ + - 'px;'); - } - if (typeof this.anchor_[1] === 'number' && this.anchor_[1] > 0 && - this.anchor_[1] < this.width_) { - style.push('width:' + (this.width_ - this.anchor_[1]) + - 'px; padding-left:' + this.anchor_[1] + 'px;'); - } else { - style.push('width:' + this.width_ + 'px; text-align:center;'); - } - } else { - style.push('height:' + this.height_ + 'px; line-height:' + - this.height_ + 'px; width:' + this.width_ + 'px; text-align:center;'); - } - - var txtColor = this.textColor_ ? this.textColor_ : 'black'; - var txtSize = this.textSize_ ? this.textSize_ : 11; - - style.push('cursor:pointer; top:' + pos.y + 'px; left:' + - pos.x + 'px; color:' + txtColor + '; position:absolute; font-size:' + - txtSize + 'px; font-family:Arial,sans-serif; font-weight:bold'); - return style.join(''); -}; - - -// Export Symbols for Closure -// If you are not going to compile with closure then you can remove the -// code below. -window['MarkerClusterer'] = MarkerClusterer; -MarkerClusterer.prototype['addMarker'] = MarkerClusterer.prototype.addMarker; -MarkerClusterer.prototype['addMarkers'] = MarkerClusterer.prototype.addMarkers; -MarkerClusterer.prototype['clearMarkers'] = - MarkerClusterer.prototype.clearMarkers; -MarkerClusterer.prototype['fitMapToMarkers'] = - MarkerClusterer.prototype.fitMapToMarkers; -MarkerClusterer.prototype['getCalculator'] = - MarkerClusterer.prototype.getCalculator; -MarkerClusterer.prototype['getGridSize'] = - MarkerClusterer.prototype.getGridSize; -MarkerClusterer.prototype['getExtendedBounds'] = - MarkerClusterer.prototype.getExtendedBounds; -MarkerClusterer.prototype['getMap'] = MarkerClusterer.prototype.getMap; -MarkerClusterer.prototype['getMarkers'] = MarkerClusterer.prototype.getMarkers; -MarkerClusterer.prototype['getMaxZoom'] = MarkerClusterer.prototype.getMaxZoom; -MarkerClusterer.prototype['getStyles'] = MarkerClusterer.prototype.getStyles; -MarkerClusterer.prototype['getTotalClusters'] = - MarkerClusterer.prototype.getTotalClusters; -MarkerClusterer.prototype['getTotalMarkers'] = - MarkerClusterer.prototype.getTotalMarkers; -MarkerClusterer.prototype['redraw'] = MarkerClusterer.prototype.redraw; -MarkerClusterer.prototype['removeMarker'] = - MarkerClusterer.prototype.removeMarker; -MarkerClusterer.prototype['removeMarkers'] = - MarkerClusterer.prototype.removeMarkers; -MarkerClusterer.prototype['resetViewport'] = - MarkerClusterer.prototype.resetViewport; -MarkerClusterer.prototype['repaint'] = - MarkerClusterer.prototype.repaint; -MarkerClusterer.prototype['setCalculator'] = - MarkerClusterer.prototype.setCalculator; -MarkerClusterer.prototype['setGridSize'] = - MarkerClusterer.prototype.setGridSize; -MarkerClusterer.prototype['setMaxZoom'] = - MarkerClusterer.prototype.setMaxZoom; -MarkerClusterer.prototype['onAdd'] = MarkerClusterer.prototype.onAdd; -MarkerClusterer.prototype['draw'] = MarkerClusterer.prototype.draw; - -Cluster.prototype['getCenter'] = Cluster.prototype.getCenter; -Cluster.prototype['getSize'] = Cluster.prototype.getSize; -Cluster.prototype['getMarkers'] = Cluster.prototype.getMarkers; - -ClusterIcon.prototype['onAdd'] = ClusterIcon.prototype.onAdd; -ClusterIcon.prototype['draw'] = ClusterIcon.prototype.draw; -ClusterIcon.prototype['onRemove'] = ClusterIcon.prototype.onRemove; diff --git a/cbm/js/proj4js.js b/cbm/js/proj4js.js deleted file mode 100644 index a55fa5a..0000000 --- a/cbm/js/proj4js.js +++ /dev/null @@ -1,180 +0,0 @@ -/* - proj4js.js -- Javascript reprojection library. - - Authors: Mike Adair madairATdmsolutions.ca - Richard Greenwood richATgreenwoodmap.com - Didier Richard didier.richardATign.fr - Stephen Irons stephen.ironsATclear.net.nz - Olivier Terral oterralATgmail.com - - License: - Copyright (c) 2012, Mike Adair, Richard Greenwood, Didier Richard, - Stephen Irons and Olivier Terral - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. - - Note: This program is an almost direct port of the C library PROJ.4. -*/ -var Proj4js={defaultDatum:"WGS84",transform:function(a,c,b){if(!a.readyToUse)return this.reportError("Proj4js initialization for:"+a.srsCode+" not yet complete"),b;if(!c.readyToUse)return this.reportError("Proj4js initialization for:"+c.srsCode+" not yet complete"),b;if(a.datum&&c.datum&&((a.datum.datum_type==Proj4js.common.PJD_3PARAM||a.datum.datum_type==Proj4js.common.PJD_7PARAM)&&"WGS84"!=c.datumCode||(c.datum.datum_type==Proj4js.common.PJD_3PARAM||c.datum.datum_type==Proj4js.common.PJD_7PARAM)&& -"WGS84"!=a.datumCode)){var d=Proj4js.WGS84;this.transform(a,d,b);a=d}"enu"!=a.axis&&this.adjust_axis(a,!1,b);"longlat"==a.projName?(b.x*=Proj4js.common.D2R,b.y*=Proj4js.common.D2R):(a.to_meter&&(b.x*=a.to_meter,b.y*=a.to_meter),a.inverse(b));a.from_greenwich&&(b.x+=a.from_greenwich);b=this.datum_transform(a.datum,c.datum,b);c.from_greenwich&&(b.x-=c.from_greenwich);"longlat"==c.projName?(b.x*=Proj4js.common.R2D,b.y*=Proj4js.common.R2D):(c.forward(b),c.to_meter&&(b.x/=c.to_meter,b.y/=c.to_meter)); -"enu"!=c.axis&&this.adjust_axis(c,!0,b);return b},datum_transform:function(a,c,b){if(a.compare_datums(c)||a.datum_type==Proj4js.common.PJD_NODATUM||c.datum_type==Proj4js.common.PJD_NODATUM)return b;if(a.es!=c.es||a.a!=c.a||a.datum_type==Proj4js.common.PJD_3PARAM||a.datum_type==Proj4js.common.PJD_7PARAM||c.datum_type==Proj4js.common.PJD_3PARAM||c.datum_type==Proj4js.common.PJD_7PARAM)a.geodetic_to_geocentric(b),(a.datum_type==Proj4js.common.PJD_3PARAM||a.datum_type==Proj4js.common.PJD_7PARAM)&&a.geocentric_to_wgs84(b), -(c.datum_type==Proj4js.common.PJD_3PARAM||c.datum_type==Proj4js.common.PJD_7PARAM)&&c.geocentric_from_wgs84(b),c.geocentric_to_geodetic(b);return b},adjust_axis:function(a,c,b){for(var d=b.x,e=b.y,f=b.z||0,g,i,h=0;3>h;h++)if(!c||!(2==h&&void 0===b.z))switch(0==h?(g=d,i="x"):1==h?(g=e,i="y"):(g=f,i="z"),a.axis[h]){case "e":b[i]=g;break;case "w":b[i]=-g;break;case "n":b[i]=g;break;case "s":b[i]=-g;break;case "u":void 0!==b[i]&&(b.z=g);break;case "d":void 0!==b[i]&&(b.z=-g);break;default:return alert("ERROR: unknow axis ("+ -a.axis[h]+") - check definition of "+a.projName),null}return b},reportError:function(){},extend:function(a,c){a=a||{};if(c)for(var b in c){var d=c[b];void 0!==d&&(a[b]=d)}return a},Class:function(){for(var a=function(){this.initialize.apply(this,arguments)},c={},b,d=0;d=f;f++)if(d=a*Math.sin(e),d=this.HALF_PI-2*Math.atan(c*Math.pow((1-d)/(1+d),b))-e,e+=d,1.0E-10>=Math.abs(d))return e;alert("phi2z has NoConvergence");return-9999},qsfnz:function(a,c){var b;return 1.0E-7a?-1:1},adjust_lon:function(a){return a=Math.abs(a)this.HALF_PI)return+Number.NaN;if(c==this.HALF_PI)return Number.POSITIVE_INFINITY;if(c==-1*this.HALF_PI)return-1*Number.POSITIVE_INFINITY;b*=a;return Math.log(Math.tan((this.HALF_PI+c)/2))+a*Math.log((1-b)/(1+b))/2},fL:function(a,c){return 2*Math.atan(a*Math.exp(c))-this.HALF_PI},invlatiso:function(a,c){var b=this.fL(1,c),d=0,e=0;do d=b,e=a*Math.sin(d),b=this.fL(Math.exp(a*Math.log((1+e)/(1-e))/2),c);while(1.0E-12< -Math.abs(b-d));return b},sinh:function(a){a=Math.exp(a);return(a-1/a)/2},cosh:function(a){a=Math.exp(a);return(a+1/a)/2},tanh:function(a){a=Math.exp(a);return(a-1/a)/(a+1/a)},asinh:function(a){return(0<=a?1:-1)*Math.log(Math.abs(a)+Math.sqrt(a*a+1))},acosh:function(a){return 2*Math.log(Math.sqrt((a+1)/2)+Math.sqrt((a-1)/2))},atanh:function(a){return Math.log((a-1)/(a+1))/2},gN:function(a,c,b){c*=b;return a/Math.sqrt(1-c*c)},pj_enfn:function(a){var c=[];c[0]=this.C00-a*(this.C02+a*(this.C04+a*(this.C06+ -a*this.C08)));c[1]=a*(this.C22-a*(this.C04+a*(this.C06+a*this.C08)));var b=a*a;c[2]=b*(this.C44-a*(this.C46+a*this.C48));b*=a;c[3]=b*(this.C66-a*this.C68);c[4]=b*a*this.C88;return c},pj_mlfn:function(a,c,b,d){b*=c;c*=c;return d[0]*a-b*(d[1]+c*(d[2]+c*(d[3]+c*d[4])))},pj_inv_mlfn:function(a,c,b){for(var d=1/(1-c),e=a,f=Proj4js.common.MAX_ITER;f;--f){var g=Math.sin(e),i=1-c*g*g,i=(this.pj_mlfn(e,g,Math.cos(e),b)-a)*i*Math.sqrt(i)*d,e=e-i;if(Math.abs(i)-1.001*Proj4js.common.HALF_PI)b=-Proj4js.common.HALF_PI;else if(b>Proj4js.common.HALF_PI&&b<1.001*Proj4js.common.HALF_PI)b=Proj4js.common.HALF_PI;else if(b<-Proj4js.common.HALF_PI||b>Proj4js.common.HALF_PI)return Proj4js.reportError("geocent:lat out of range:"+b),null;c>Proj4js.common.PI&&(c-=2*Proj4js.common.PI);f=Math.sin(b);g=Math.cos(b);e=this.a/Math.sqrt(1-this.es*f*f);b=(e+d)*g*Math.cos(c); -c=(e+d)*g*Math.sin(c);d=(e*(1-this.es)+d)*f;a.x=b;a.y=c;a.z=d;return 0},geocentric_to_geodetic:function(a){var c,b,d,e,f,g,i,h,j,k,l=a.x;d=a.y;var m=a.z?a.z:0;c=Math.sqrt(l*l+d*d);b=Math.sqrt(l*l+d*d+m*m);if(1.0E-12>c/this.a){if(l=0,1.0E-12>b/this.a)return}else l=Math.atan2(d,l);d=m/b;e=c/b;f=1/Math.sqrt(1-this.es*(2-this.es)*e*e);i=e*(1-this.es)*f;h=d*f;k=0;do k++,g=this.a/Math.sqrt(1-this.es*h*h),b=c*i+m*h-g*(1-this.es*h*h),g=this.es*g/(g+b),f=1/Math.sqrt(1-g*(2-g)*e*e),g=e*(1-g)*f,f*=d,j=f*i-g* -h,i=g,h=f;while(1.0E-24k);c=Math.atan(f/Math.abs(g));a.x=l;a.y=c;a.z=b;return a},geocentric_to_geodetic_noniter:function(a){var c=a.x,b=a.y,d=a.z?a.z:0,e,f,g,i,h,c=parseFloat(c),b=parseFloat(b),d=parseFloat(d);h=!1;if(0!=c)e=Math.atan2(b,c);else if(0b)e=-Proj4js.common.HALF_PI;else if(h=!0,e=0,0d)f=-Proj4js.common.HALF_PI;else return;g=c*c+b*b;c=Math.sqrt(g);b=d*Proj4js.common.AD_C;g=Math.sqrt(b*b+g);b/=g;g=c/g;b= -d+this.b*this.ep2*b*b*b;i=c-this.a*this.es*g*g*g;g=Math.sqrt(b*b+i*i);b/=g;g=i/g;i=this.a/Math.sqrt(1-this.es*b*b);d=g>=Proj4js.common.COS_67P5?c/g-i:g<=-Proj4js.common.COS_67P5?c/-g-i:d/b+i*(this.es-1);!1==h&&(f=Math.atan(b/g));a.x=e;a.y=f;a.z=d;return a},geocentric_to_wgs84:function(a){if(this.datum_type==Proj4js.common.PJD_3PARAM)a.x+=this.datum_params[0],a.y+=this.datum_params[1],a.z+=this.datum_params[2];else if(this.datum_type==Proj4js.common.PJD_7PARAM){var c=this.datum_params[3],b=this.datum_params[4], -d=this.datum_params[5],e=this.datum_params[6],f=e*(d*a.x+a.y-c*a.z)+this.datum_params[1],c=e*(-b*a.x+c*a.y+a.z)+this.datum_params[2];a.x=e*(a.x-d*a.y+b*a.z)+this.datum_params[0];a.y=f;a.z=c}},geocentric_from_wgs84:function(a){if(this.datum_type==Proj4js.common.PJD_3PARAM)a.x-=this.datum_params[0],a.y-=this.datum_params[1],a.z-=this.datum_params[2];else if(this.datum_type==Proj4js.common.PJD_7PARAM){var c=this.datum_params[3],b=this.datum_params[4],d=this.datum_params[5],e=this.datum_params[6],f=(a.x- -this.datum_params[0])/e,g=(a.y-this.datum_params[1])/e,e=(a.z-this.datum_params[2])/e;a.x=f+d*g-b*e;a.y=-d*f+g+c*e;a.z=b*f-c*g+e}}}); -Proj4js.Point=Proj4js.Class({initialize:function(a,c,b){"object"==typeof a?(this.x=a[0],this.y=a[1],this.z=a[2]||0):"string"==typeof a&&"undefined"==typeof c?(a=a.split(","),this.x=parseFloat(a[0]),this.y=parseFloat(a[1]),this.z=parseFloat(a[2])||0):(this.x=a,this.y=c,this.z=b||0)},clone:function(){return new Proj4js.Point(this.x,this.y,this.z)},toString:function(){return"x="+this.x+",y="+this.y},toShortString:function(){return this.x+", "+this.y}}); -Proj4js.PrimeMeridian={greenwich:0,lisbon:-9.131906111111,paris:2.337229166667,bogota:-74.080916666667,madrid:-3.687938888889,rome:12.452333333333,bern:7.439583333333,jakarta:106.807719444444,ferro:-17.666666666667,brussels:4.367975,stockholm:18.058277777778,athens:23.7163375,oslo:10.722916666667}; -Proj4js.Ellipsoid={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},"APL4.":{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"}, -andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},CPM:{a:6375738.7,rf:334.29, -ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"}, -fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"}, -new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS72:{a:6378135,rf:298.26,ellipseName:"WGS 72"},WGS84:{a:6378137,rf:298.257223563,ellipseName:"WGS 84"}, -sphere:{a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}}; -Proj4js.Datum={WGS84:{towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},GGRS87:{towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},NAD83:{towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},NAD27:{nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},potsdam:{towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},carthage:{towgs84:"-263.0,6.0,431.0", -ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},hermannskogel:{towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},ire65:{towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},nzgd49:{towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},OSGB36:{towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"}}; -Proj4js.WGS84=new Proj4js.Proj("WGS84");Proj4js.Datum.OSB36=Proj4js.Datum.OSGB36;Proj4js.wktProjections={"Lambert Tangential Conformal Conic Projection":"lcc",Mercator:"merc","Popular Visualisation Pseudo Mercator":"merc",Mercator_1SP:"merc",Transverse_Mercator:"tmerc","Transverse Mercator":"tmerc","Lambert Azimuthal Equal Area":"laea","Universal Transverse Mercator System":"utm"}; -Proj4js.Proj.aea={init:function(){Math.abs(this.lat1+this.lat2)Proj4js.common.EPSLN?(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/ -this.ns0)},forward:function(a){var c=a.x,b=a.y;this.sin_phi=Math.sin(b);this.cos_phi=Math.cos(b);var b=Proj4js.common.qsfnz(this.e3,this.sin_phi,this.cos_phi),b=this.a*Math.sqrt(this.c-this.ns0*b)/this.ns0,d=this.ns0*Proj4js.common.adjust_lon(c-this.long0),c=b*Math.sin(d)+this.x0,b=this.rh-b*Math.cos(d)+this.y0;a.x=c;a.y=b;return a},inverse:function(a){var c,b,d;a.x-=this.x0;a.y=this.rh-a.y+this.y0;0<=this.ns0?(c=Math.sqrt(a.x*a.x+a.y*a.y),b=1):(c=-Math.sqrt(a.x*a.x+a.y*a.y),b=-1);d=0;0!=c&&(d=Math.atan2(b* -a.x,b*a.y));b=c*this.ns0/this.a;c=(this.c-b*b)/this.ns0;1.0E-10<=this.e3?(b=1-0.5*(1-this.es)*Math.log((1-this.e3)/(1+this.e3))/this.e3,b=1.0E-10=h;h++)if(b=Math.sin(g),d=Math.cos(g), -e=a*b,f=1-e*e,b=0.5*f*f/d*(c/(1-i)-b/f+0.5/a*Math.log((1-e)/(1+e))),g+=b,1.0E-7>=Math.abs(b))return g;Proj4js.reportError("aea:phi1z:Convergence error");return null}}; -Proj4js.Proj.sterea={dependsOn:"gauss",init:function(){Proj4js.Proj.gauss.init.apply(this);this.rc?(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative")):Proj4js.reportError("sterea:init:E_ERROR_0")},forward:function(a){var c,b,d,e;a.x=Proj4js.common.adjust_lon(a.x-this.long0);Proj4js.Proj.gauss.forward.apply(this,[a]);c=Math.sin(a.y);b=Math.cos(a.y);d=Math.cos(a.x);e=this.k0*this.R2/(1+this.sinc0*c+this.cosc0* -b*d);a.x=e*b*Math.sin(a.x);a.y=e*(this.cosc0*c-this.sinc0*b*d);a.x=this.a*a.x+this.x0;a.y=this.a*a.y+this.y0;return a},inverse:function(a){var c,b,d,e;a.x=(a.x-this.x0)/this.a;a.y=(a.y-this.y0)/this.a;a.x/=this.k0;a.y/=this.k0;(e=Math.sqrt(a.x*a.x+a.y*a.y))?(d=2*Math.atan2(e,this.R2),c=Math.sin(d),b=Math.cos(d),d=Math.asin(b*this.sinc0+a.y*c*this.cosc0/e),c=Math.atan2(a.x*c,e*this.cosc0*b-a.y*this.sinc0*c)):(d=this.phic0,c=0);a.x=c;a.y=d;Proj4js.Proj.gauss.inverse.apply(this,[a]);a.x=Proj4js.common.adjust_lon(a.x+ -this.long0);return a}};function phi4z(a,c,b,d,e,f,g,i,h){var j,k,l,m,n,o,h=f;for(o=1;15>=o;o++)if(j=Math.sin(h),l=Math.tan(h),i=l*Math.sqrt(1-a*j*j),k=Math.sin(2*h),m=c*h-b*k+d*Math.sin(4*h)-e*Math.sin(6*h),n=c-2*b*Math.cos(2*h)+4*d*Math.cos(4*h)-6*e*Math.cos(6*h),j=2*m+i*(m*m+g)-2*f*(i*m+1),l=a*k*(m*m+g-2*f*m)/(2*i),i=2*(f-m)*(i*n-2/k)-2*n,j/=l+i,h+=j,1.0E-10>=Math.abs(j))return h;Proj4js.reportError("phi4z: No convergence");return null} -function e4fn(a){var c;c=1+a;a=1-a;return Math.sqrt(Math.pow(c,c)*Math.pow(a,a))} -Proj4js.Proj.poly={init:function(){0==this.lat0&&(this.lat0=90);this.temp=this.b/this.a;this.es=1-Math.pow(this.temp,2);this.e=Math.sqrt(this.es);this.e0=Proj4js.common.e0fn(this.es);this.e1=Proj4js.common.e1fn(this.es);this.e2=Proj4js.common.e2fn(this.es);this.e3=Proj4js.common.e3fn(this.es);this.ml0=Proj4js.common.mlfn(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(a){var c,b,d,e,f;d=a.y;b=Proj4js.common.adjust_lon(a.x-this.long0);1.0E-7>=Math.abs(d)?(f=this.x0+this.a*b,c=this.y0- -this.a*this.ml0):(c=Math.sin(d),b=Math.cos(d),d=Proj4js.common.mlfn(this.e0,this.e1,this.e2,this.e3,d),e=Proj4js.common.msfnz(this.e,c,b),b=c,f=this.x0+this.a*e*Math.sin(b)/c,c=this.y0+this.a*(d-this.ml0+e*(1-Math.cos(b))/c));a.x=f;a.y=c;return a},inverse:function(a){var c,b;a.x-=this.x0;a.y-=this.y0;c=this.ml0+a.y/this.a;if(1.0E-7>=Math.abs(c))c=a.x/this.a+this.long0,b=0;else{c=c*c+a.x/this.a*(a.x/this.a);c=phi4z(this.es,this.e0,this.e1,this.e2,this.e3,this.al,c,void 0,b);if(1!=c)return c;c=Proj4js.common.adjust_lon(Proj4js.common.asinz(NaN* -a.x/this.a)/Math.sin(b)+this.long0)}a.x=c;a.y=b;return a}}; -Proj4js.Proj.equi={init:function(){this.x0||(this.x0=0);this.y0||(this.y0=0);this.lat0||(this.lat0=0);this.long0||(this.long0=0)},forward:function(a){var c=a.y,b=this.x0+this.a*Proj4js.common.adjust_lon(a.x-this.long0)*Math.cos(this.lat0),c=this.y0+this.a*c;this.t1=b;this.t2=Math.cos(this.lat0);a.x=b;a.y=c;return a},inverse:function(a){a.x-=this.x0;a.y-=this.y0;var c=a.y/this.a;Math.abs(c)>Proj4js.common.HALF_PI&&Proj4js.reportError("equi:Inv:DataError");var b=Proj4js.common.adjust_lon(this.long0+ -a.x/(this.a*Math.cos(this.lat0)));a.x=b;a.y=c}}; -Proj4js.Proj.merc={init:function(){this.lat_ts&&(this.k0=this.sphere?Math.cos(this.lat_ts):Proj4js.common.msfnz(this.es,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},forward:function(a){var c=a.x,b=a.y;if(90b*Proj4js.common.R2D&&180c*Proj4js.common.R2D)return Proj4js.reportError("merc:forward: llInputOutOfRange: "+c+" : "+b),null;if(Math.abs(Math.abs(b)-Proj4js.common.HALF_PI)<=Proj4js.common.EPSLN)return Proj4js.reportError("merc:forward: ll2mAtPoles"),null; -if(this.sphere)c=this.x0+this.a*this.k0*Proj4js.common.adjust_lon(c-this.long0),b=this.y0+this.a*this.k0*Math.log(Math.tan(Proj4js.common.FORTPI+0.5*b));else var d=Math.sin(b),b=Proj4js.common.tsfnz(this.e,b,d),c=this.x0+this.a*this.k0*Proj4js.common.adjust_lon(c-this.long0),b=this.y0-this.a*this.k0*Math.log(b);a.x=c;a.y=b;return a},inverse:function(a){var c=a.x-this.x0,b=a.y-this.y0;if(this.sphere)b=Proj4js.common.HALF_PI-2*Math.atan(Math.exp(-b/this.a*this.k0));else if(b=Math.exp(-b/(this.a*this.k0)), -b=Proj4js.common.phi2z(this.e,b),-9999==b)return Proj4js.reportError("merc:inverse: lat = -9999"),null;c=Proj4js.common.adjust_lon(this.long0+c/(this.a*this.k0));a.x=c;a.y=b;return a}};Proj4js.Proj.utm={dependsOn:"tmerc",init:function(){this.zone?(this.lat0=0,this.long0=(6*Math.abs(this.zone)-183)*Proj4js.common.D2R,this.x0=5E5,this.y0=this.utmSouth?1E7:0,this.k0=0.9996,Proj4js.Proj.tmerc.init.apply(this),this.forward=Proj4js.Proj.tmerc.forward,this.inverse=Proj4js.Proj.tmerc.inverse):Proj4js.reportError("utm:init: zone must be specified for UTM")}}; -Proj4js.Proj.eqdc={init:function(){this.mode||(this.mode=0);this.temp=this.b/this.a;this.es=1-Math.pow(this.temp,2);this.e=Math.sqrt(this.es);this.e0=Proj4js.common.e0fn(this.es);this.e1=Proj4js.common.e1fn(this.es);this.e2=Proj4js.common.e2fn(this.es);this.e3=Proj4js.common.e3fn(this.es);this.sinphi=Math.sin(this.lat1);this.cosphi=Math.cos(this.lat1);this.ms1=Proj4js.common.msfnz(this.e,this.sinphi,this.cosphi);this.ml1=Proj4js.common.mlfn(this.e0,this.e1,this.e2,this.e3,this.lat1);0!=this.mode? -(Math.abs(this.lat1+this.lat2)=Proj4js.common.EPSLN?(this.ms1-this.ms2)/(this.ml2-this.ml1):this.sinphi):this.ns=this.sinphi;this.g=this.ml1+this.ms1/this.ns;this.ml0=Proj4js.common.mlfn(this.e0, -this.e1,this.e2,this.e3,this.lat0);this.rh=this.a*(this.g-this.ml0)},forward:function(a){var c=a.x,b=this.a*(this.g-Proj4js.common.mlfn(this.e0,this.e1,this.e2,this.e3,a.y)),d=this.ns*Proj4js.common.adjust_lon(c-this.long0),c=this.x0+b*Math.sin(d),b=this.y0+this.rh-b*Math.cos(d);a.x=c;a.y=b;return a},inverse:function(a){a.x-=this.x0;a.y=this.rh-a.y+this.y0;var c,b;0<=this.ns?(b=Math.sqrt(a.x*a.x+a.y*a.y),c=1):(b=-Math.sqrt(a.x*a.x+a.y*a.y),c=-1);var d=0;0!=b&&(d=Math.atan2(c*a.x,c*a.y));c=this.phi3z(this.g- -b/this.a,this.e0,this.e1,this.e2,this.e3);d=Proj4js.common.adjust_lon(this.long0+d/this.ns);a.x=d;a.y=c;return a},phi3z:function(a,c,b,d,e){var f,g;f=a;for(var i=0;15>i;i++)if(g=(a+b*Math.sin(2*f)-d*Math.sin(4*f)+e*Math.sin(6*f))/c-f,f+=g,1.0E-10>=Math.abs(g))return f;Proj4js.reportError("PHI3Z-CONV:Latitude failed to converge after 15 iterations");return null}}; -Proj4js.Proj.tmerc={init:function(){this.e0=Proj4js.common.e0fn(this.es);this.e1=Proj4js.common.e1fn(this.es);this.e2=Proj4js.common.e2fn(this.es);this.e3=Proj4js.common.e3fn(this.es);this.ml0=this.a*Proj4js.common.mlfn(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(a){var c=a.y,b=Proj4js.common.adjust_lon(a.x-this.long0),d,e;d=Math.sin(c);var f=Math.cos(c);if(this.sphere){var g=f*Math.sin(b);if(1.0E-10>Math.abs(Math.abs(g)-1))return Proj4js.reportError("tmerc:forward: Point projects into infinity"), -93;e=0.5*this.a*this.k0*Math.log((1+g)/(1-g));d=Math.acos(f*Math.cos(b)/Math.sqrt(1-g*g));0>c&&(d=-d);c=this.a*this.k0*(d-this.lat0)}else{e=f*b;var b=Math.pow(e,2),f=this.ep2*Math.pow(f,2),g=Math.tan(c),i=Math.pow(g,2);d=1-this.es*Math.pow(d,2);d=this.a/Math.sqrt(d);c=this.a*Proj4js.common.mlfn(this.e0,this.e1,this.e2,this.e3,c);e=this.k0*d*e*(1+b/6*(1-i+f+b/20*(5-18*i+Math.pow(i,2)+72*f-58*this.ep2)))+this.x0;c=this.k0*(c-this.ml0+d*g*b*(0.5+b/24*(5-i+9*f+4*Math.pow(f,2)+b/30*(61-58*i+Math.pow(i, -2)+600*f-330*this.ep2))))+this.y0}a.x=e;a.y=c;return a},inverse:function(a){var c,b,d,e;if(this.sphere){b=Math.exp(a.x/(this.a*this.k0));var f=0.5*(b-1/b);d=this.lat0+a.y/(this.a*this.k0);e=Math.cos(d);c=Math.sqrt((1-e*e)/(1+f*f));b=Proj4js.common.asinz(c);0>d&&(b=-b);c=0==f&&0==e?this.long0:Proj4js.common.adjust_lon(Math.atan2(f,e)+this.long0)}else{var f=a.x-this.x0,g=a.y-this.y0;b=c=(this.ml0+g/this.k0)/this.a;for(e=0;;e++){d=(c+this.e1*Math.sin(2*b)-this.e2*Math.sin(4*b)+this.e3*Math.sin(6*b))/ -this.e0-b;b+=d;if(Math.abs(d)<=Proj4js.common.EPSLN)break;if(6<=e)return Proj4js.reportError("tmerc:inverse: Latitude failed to converge"),95}if(Math.abs(b)this.a+1.0E-7&&Proj4js.reportError("orthoInvDataError");b=Proj4js.common.asinz(c/this.a);d=Math.sin(b);e=Math.cos(b);b=this.long0;Math.abs(c);d=Proj4js.common.asinz(e*this.sin_p14+a.y*d*this.cos_p14/c);c=Math.abs(this.lat0)-Proj4js.common.HALF_PI;Math.abs(c)<=Proj4js.common.EPSLN&&(b=0<=this.lat0?Proj4js.common.adjust_lon(this.long0+Math.atan2(a.x,-a.y)):Proj4js.common.adjust_lon(this.long0-Math.atan2(-a.x,a.y)));Math.sin(d);a.x=b;a.y=d;return a}}; -Proj4js.Proj.krovak={init:function(){this.a=6377397.155;this.es=0.006674372230614;this.e=Math.sqrt(this.es);this.lat0||(this.lat0=0.863937979737193);this.long0||(this.long0=0.4334234309119251);this.k0||(this.k0=0.9999);this.s45=0.785398163397448;this.s90=2*this.s45;this.fi0=this.lat0;this.e2=this.es;this.e=Math.sqrt(this.e2);this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2));this.uq=1.04216856380474;this.u0=Math.asin(Math.sin(this.fi0)/this.alfa);this.g=Math.pow((1+this.e*Math.sin(this.fi0))/ -(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2);this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g;this.k1=this.k0;this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2));this.s0=1.37008346281555;this.n=Math.sin(this.s0);this.ro0=this.k1*this.n0/Math.tan(this.s0);this.ad=this.s90-this.uq},forward:function(a){var c,b,d;b=a.y;d=Proj4js.common.adjust_lon(a.x-this.long0);c=Math.pow((1+this.e*Math.sin(b))/(1-this.e*Math.sin(b)),this.alfa* -this.e/2);c=2*(Math.atan(this.k*Math.pow(Math.tan(b/2+this.s45),this.alfa)/c)-this.s45);b=-d*this.alfa;d=Math.asin(Math.cos(this.ad)*Math.sin(c)+Math.sin(this.ad)*Math.cos(c)*Math.cos(b));c=this.n*Math.asin(Math.cos(c)*Math.sin(b)/Math.cos(d));d=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(d/2+this.s45),this.n);a.y=d*Math.cos(c)/1;a.x=d*Math.sin(c)/1;this.czech&&(a.y*=-1,a.x*=-1);return a},inverse:function(a){var c,b,d;c=a.x;a.x=a.y;a.y=c;this.czech&&(a.y*=-1,a.x*=-1); -c=Math.sqrt(a.x*a.x+a.y*a.y);b=Math.atan2(a.y,a.x)/Math.sin(this.s0);d=2*(Math.atan(Math.pow(this.ro0/c,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45);c=Math.asin(Math.cos(this.ad)*Math.sin(d)-Math.sin(this.ad)*Math.cos(d)*Math.cos(b));b=Math.asin(Math.cos(d)*Math.sin(b)/Math.cos(c));a.x=this.long0-b/this.alfa;b=c;var e=d=0;do a.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(c/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(b))/(1-this.e*Math.sin(b)),this.e/2))-this.s45),1.0E-10> -Math.abs(b-a.y)&&(d=1),b=a.y,e+=1;while(0==d&&15>e);return 15<=e?(Proj4js.reportError("PHI3Z-CONV:Latitude failed to converge after 15 iterations"),null):a}}; -Proj4js.Proj.somerc={init:function(){var a=this.lat0;this.lambda0=this.long0;var c=Math.sin(a),b=this.a,d=1/this.rf,d=2*d-Math.pow(d,2),e=this.e=Math.sqrt(d);this.R=this.k0*b*Math.sqrt(1-d)/(1-d*Math.pow(c,2));this.alpha=Math.sqrt(1+d/(1-d)*Math.pow(Math.cos(a),4));this.b0=Math.asin(c/this.alpha);this.K=Math.log(Math.tan(Math.PI/4+this.b0/2))-this.alpha*Math.log(Math.tan(Math.PI/4+a/2))+this.alpha*e/2*Math.log((1+e*c)/(1-e*c))},forward:function(a){var c=Math.log(Math.tan(Math.PI/4-a.y/2)),b=this.e/ -2*Math.log((1+this.e*Math.sin(a.y))/(1-this.e*Math.sin(a.y))),b=2*(Math.atan(Math.exp(-this.alpha*(c+b)+this.K))-Math.PI/4),d=this.alpha*(a.x-this.lambda0),c=Math.atan(Math.sin(d)/(Math.sin(this.b0)*Math.tan(b)+Math.cos(this.b0)*Math.cos(d))),b=Math.asin(Math.cos(this.b0)*Math.sin(b)-Math.sin(this.b0)*Math.cos(b)*Math.cos(d));a.y=this.R/2*Math.log((1+Math.sin(b))/(1-Math.sin(b)))+this.y0;a.x=this.R*c+this.x0;return a},inverse:function(a){for(var c=(a.x-this.x0)/this.R,b=2*(Math.atan(Math.exp((a.y- -this.y0)/this.R))-Math.PI/4),d=Math.asin(Math.cos(this.b0)*Math.sin(b)+Math.sin(this.b0)*Math.cos(b)*Math.cos(c)),c=this.lambda0+Math.atan(Math.sin(c)/(Math.cos(this.b0)*Math.cos(c)-Math.sin(this.b0)*Math.tan(b)))/this.alpha,b=0,e=d,f=-1E3,g=0;1.0E-7this.lat0?this.S_POLE:this.N_POLE:a>Proj4js.common.EPSLN?this.OBLIQ:this.EQUIT;this.phits=Math.abs(this.phits);if(this.es){var c;switch(this.mode){case this.N_POLE:case this.S_POLE:Math.abs(this.phits-Proj4js.common.HALF_PI)< -Proj4js.common.EPSLN?this.akm1=2*this.k0/Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)):(a=Math.sin(this.phits),this.akm1=Math.cos(this.phits)/Proj4js.common.tsfnz(this.e,this.phits,a),a*=this.e,this.akm1/=Math.sqrt(1-a*a));break;case this.EQUIT:this.akm1=2*this.k0;break;case this.OBLIQ:a=Math.sin(this.lat0),c=2*Math.atan(this.ssfn_(this.lat0,a,this.e))-Proj4js.common.HALF_PI,a*=this.e,this.akm1=2*this.k0*Math.cos(this.lat0)/Math.sqrt(1-a*a),this.sinX1=Math.sin(c),this.cosX1=Math.cos(c)}}else switch(this.mode){case this.OBLIQ:this.sinph0= -Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0);case this.EQUIT:this.akm1=2*this.k0;break;case this.S_POLE:case this.N_POLE:this.akm1=Math.abs(this.phits-Proj4js.common.HALF_PI)>=Proj4js.common.EPSLN?Math.cos(this.phits)/Math.tan(Proj4js.common.FORTPI-0.5*this.phits):2*this.k0}},forward:function(a){var c=a.x,c=Proj4js.common.adjust_lon(c-this.long0),b=a.y,d,e;if(this.sphere){var f,g,i;f=Math.sin(b);g=Math.cos(b);i=Math.cos(c);c=Math.sin(c);switch(this.mode){case this.EQUIT:e=1+g*i;e<=Proj4js.common.EPSLN&& -Proj4js.reportError("stere:forward:Equit");e=this.akm1/e;d=e*g*c;e*=f;break;case this.OBLIQ:e=1+this.sinph0*f+this.cosph0*g*i;e<=Proj4js.common.EPSLN&&Proj4js.reportError("stere:forward:Obliq");e=this.akm1/e;d=e*g*c;e*=this.cosph0*f-this.sinph0*g*i;break;case this.N_POLE:i=-i,b=-b;case this.S_POLE:Math.abs(b-Proj4js.common.HALF_PI)=f;f++)d*=c,e+=this.A[f]*d;for(var c=e,d=1,g=0,i=0,h=0,f=1;6>=f;f++)e=d*c-g*b,g=g*c+d*b,d=e,i=i+this.B_re[f]*d-this.B_im[f]*g,h=h+this.B_im[f]*d+this.B_re[f]*g;a.x=h*this.a+this.x0;a.y=i*this.a+this.y0;return a},inverse:function(a){for(var c=(a.y-this.y0)/this.a,b=(a.x-this.x0)/this.a,d=1,e=0,f,g=0,i=0,h=1;6>=h;h++)f= -d*c-e*b,e=e*c+d*b,d=f,g=g+this.C_re[h]*d-this.C_im[h]*e,i=i+this.C_im[h]*d+this.C_re[h]*e;for(d=0;d=h;h++)l=j*g-k*i,k=k*g+j*i,j=l,f+=(h-1)*(this.B_re[h]*j-this.B_im[h]*k),e+=(h-1)*(this.B_im[h]*j+this.B_re[h]*k);for(var j=1,k=0,m=this.B_re[1],n=this.B_im[1],h=2;6>=h;h++)l=j*g-k*i,k=k*g+j*i,j=l,m+=h*(this.B_re[h]*j-this.B_im[h]*k),n+=h*(this.B_im[h]*j+this.B_re[h]*k);i=m*m+n*n;g=(f*m+e*n)/i;i=(e*m-f*n)/i}c=g;b=1;g=0;for(h=1;9>=h;h++)b*=c,g+=this.D[h]* -b;h=this.lat0+1E5*g*Proj4js.common.SEC_TO_RAD;a.x=this.long0+i;a.y=h;return a}};Proj4js.Proj.mill={init:function(){},forward:function(a){var c=a.y,b=this.x0+this.a*Proj4js.common.adjust_lon(a.x-this.long0),c=this.y0+1.25*this.a*Math.log(Math.tan(Proj4js.common.PI/4+c/2.5));a.x=b;a.y=c;return a},inverse:function(a){a.x-=this.x0;a.y-=this.y0;var c=Proj4js.common.adjust_lon(this.long0+a.x/this.a),b=2.5*(Math.atan(Math.exp(0.8*a.y/this.a))-Proj4js.common.PI/4);a.x=c;a.y=b;return a}}; -Proj4js.Proj.gnom={init:function(){this.sin_p14=Math.sin(this.lat0);this.cos_p14=Math.cos(this.lat0);this.infinity_dist=1E3*this.a;this.rc=1},forward:function(a){var c,b,d,e,f;b=a.y;d=Proj4js.common.adjust_lon(a.x-this.long0);c=Math.sin(b);b=Math.cos(b);e=Math.cos(d);f=this.sin_p14*c+this.cos_p14*b*e;0b&&(f=-f);b=this.x0+f;f=Math.abs(f/(Proj4js.common.PI*this.R));c=0<=c?this.y0+Proj4js.common.PI*this.R*Math.sqrt(1-f*f-2*e*f):this.y0-Proj4js.common.PI*this.R*Math.sqrt(1-f*f-2*e*f);a.x=b;a.y=c;return a},inverse:function(a){var c,b,d,e,f,g,i,h;a.x-=this.x0;a.y-=this.y0;h=Proj4js.common.PI*this.R;c=a.x/h;d=a.y/h;e=c*c+d*d;f=-Math.abs(d)*(1+e);b=f-2*d*d+c*c;g=-2*f+1+2*d*d+e*e;h=d*d/g+(2*b*b*b/g/g/g-9*f*b/g/g)/27;i=(f-b*b/3/g)/g;f=2*Math.sqrt(-i/3);h=3*h/i/f;1Math.abs(b-a.y))break;a.y=b}if(!e)return Proj4js.reportError("gauss:inverse:convergence failed"),null;a.x=c;a.y=b;return a}}; -Proj4js.Proj.omerc={init:function(){this.mode||(this.mode=0);this.lon1||(this.lon1=0,this.mode=1);this.lon2||(this.lon2=0);this.lat2||(this.lat2=0);var a=1-Math.pow(this.b/this.a,2);Math.sqrt(a);this.sin_p20=Math.sin(this.lat0);this.cos_p20=Math.cos(this.lat0);this.con=1-this.es*this.sin_p20*this.sin_p20;this.com=Math.sqrt(1-a);this.bl=Math.sqrt(1+this.es*Math.pow(this.cos_p20,4)/(1-a));this.al=this.a*this.bl*this.k0*this.com/this.con;Math.abs(this.lat0) -Proj4js.common.EPSLN&&Math.abs(this.con-Proj4js.common.HALF_PI)>Proj4js.common.EPSLN?(this.singam=Math.sin(this.gama),this.cosgam=Math.cos(this.gama),this.sinaz=Math.sin(this.alpha),this.cosaz=Math.cos(this.alpha),this.u=0<=this.lat0?this.al/this.bl*Math.atan(Math.sqrt(this.d*this.d-1)/this.cosaz):-(this.al/this.bl)*Math.atan(Math.sqrt(this.d*this.d-1)/this.cosaz)):Proj4js.reportError("omerc:Init:DataError")):(this.sinphi=Math.sin(this.at1),this.ts1=Proj4js.common.tsfnz(this.e,this.lat1,this.sinphi), -this.sinphi=Math.sin(this.lat2),this.ts2=Proj4js.common.tsfnz(this.e,this.lat2,this.sinphi),this.h=Math.pow(this.ts1,this.bl),this.l=Math.pow(this.ts2,this.bl),this.f=this.el/this.h,this.g=0.5*(this.f-1/this.f),this.j=(this.el*this.el-this.l*this.h)/(this.el*this.el+this.l*this.h),this.p=(this.l-this.h)/(this.l+this.h),this.dlon=this.lon1-this.lon2,this.dlon<-Proj4js.common.PI&&(this.lon2-=2*Proj4js.common.PI),this.dlon>Proj4js.common.PI&&(this.lon2+=2*Proj4js.common.PI),this.dlon=this.lon1-this.lon2, -this.longc=0.5*(this.lon1+this.lon2)-Math.atan(this.j*Math.tan(0.5*this.bl*this.dlon)/this.p)/this.bl,this.dlon=Proj4js.common.adjust_lon(this.lon1-this.longc),this.gama=Math.atan(Math.sin(this.bl*this.dlon)/this.g),this.alpha=Proj4js.common.asinz(this.d*Math.sin(this.gama)),Math.abs(this.lat1-this.lat2)<=Proj4js.common.EPSLN?Proj4js.reportError("omercInitDataError"):this.con=Math.abs(this.lat1),this.con<=Proj4js.common.EPSLN||Math.abs(this.con-Proj4js.common.HALF_PI)<=Proj4js.common.EPSLN?Proj4js.reportError("omercInitDataError"): -Math.abs(Math.abs(this.lat0)-Proj4js.common.HALF_PI)<=Proj4js.common.EPSLN&&Proj4js.reportError("omercInitDataError"),this.singam=Math.sin(this.gam),this.cosgam=Math.cos(this.gam),this.sinaz=Math.sin(this.alpha),this.cosaz=Math.cos(this.alpha),this.u=0<=this.lat0?this.al/this.bl*Math.atan(Math.sqrt(this.d*this.d-1)/this.cosaz):-(this.al/this.bl)*Math.atan(Math.sqrt(this.d*this.d-1)/this.cosaz))},forward:function(a){var c,b,d,e,f;d=a.x;b=a.y;c=Math.sin(b);e=Proj4js.common.adjust_lon(d-this.longc); -d=Math.sin(this.bl*e);Math.abs(Math.abs(b)-Proj4js.common.HALF_PI)>Proj4js.common.EPSLN?(c=Proj4js.common.tsfnz(this.e,b,c),c=this.el/Math.pow(c,this.bl),f=0.5*(c-1/c),c=(f*this.singam-d*this.cosgam)/(0.5*(c+1/c)),b=Math.cos(this.bl*e),1.0E-7>Math.abs(b)?d=this.al*this.bl*e:(d=this.al*Math.atan((f*this.cosgam+d*this.singam)/b)/this.bl,0>b&&(d+=Proj4js.common.PI*this.al/this.bl))):(c=0<=b?this.singam:-this.singam,d=this.al*b/this.bl);Math.abs(Math.abs(c)-1)<=Proj4js.common.EPSLN&&Proj4js.reportError("omercFwdInfinity"); -e=0.5*this.al*Math.log((1-c)/(1+c))/this.bl;d-=this.u;c=this.y0+d*this.cosaz-e*this.sinaz;a.x=this.x0+e*this.cosaz+d*this.sinaz;a.y=c;return a},inverse:function(a){var c,b,d,e;a.x-=this.x0;a.y-=this.y0;c=a.x*this.cosaz-a.y*this.sinaz;d=a.y*this.cosaz+a.x*this.sinaz;d+=this.u;b=Math.exp(-this.bl*c/this.al);c=0.5*(b-1/b);b=0.5*(b+1/b);d=Math.sin(this.bl*d/this.al);e=(d*this.cosgam+c*this.singam)/b;Math.abs(Math.abs(e)-1)<=Proj4js.common.EPSLN?(c=this.longc,e=0<=e?Proj4js.common.HALF_PI:-Proj4js.common.HALF_PI): -(b=1/this.bl,e=Math.pow(this.el/Math.sqrt((1+e)/(1-e)),b),e=Proj4js.common.phi2z(this.e,e),c=this.longc-Math.atan2(c*this.cosgam-d*this.singam,b)/this.bl,c=Proj4js.common.adjust_lon(c));a.x=c;a.y=e;return a}}; -Proj4js.Proj.lcc={init:function(){this.lat2||(this.lat2=this.lat0);this.k0||(this.k0=1);if(Math.abs(this.lat1+this.lat2)Proj4js.common.EPSLN?Math.log(c/e)/Math.log(b/d):a;this.f0=c/(this.ns*Math.pow(b,this.ns));this.rh=this.a*this.f0*Math.pow(f,this.ns);this.title||(this.title="Lambert Conformal Conic")}},forward:function(a){var c=a.x,b=a.y;if(!(90>=b&&-90<=b&&180>=c&&-180<=c))return Proj4js.reportError("lcc:forward: llInputOutOfRange: "+c+" : "+b),null;var d=Math.abs(Math.abs(b)-Proj4js.common.HALF_PI);if(d>Proj4js.common.EPSLN)b=Proj4js.common.tsfnz(this.e, -b,Math.sin(b)),b=this.a*this.f0*Math.pow(b,this.ns);else{d=b*this.ns;if(0>=d)return Proj4js.reportError("lcc:forward: No Projection"),null;b=0}c=this.ns*Proj4js.common.adjust_lon(c-this.long0);a.x=this.k0*b*Math.sin(c)+this.x0;a.y=this.k0*(this.rh-b*Math.cos(c))+this.y0;return a},inverse:function(a){var c,b,d,e=(a.x-this.x0)/this.k0,f=this.rh-(a.y-this.y0)/this.k0;0this.lat0?this.S_POLE:this.N_POLE:Math.abs(a)g){Proj4js.reportError("aeqd:Fwd:PointError");return}}else b=Math.acos(g),b/=Math.sin(b);a.x=this.x0+this.a*b*e*Math.sin(c);a.y=this.y0+this.a*b*(this.cos_p12*d-this.sin_p12*e*f);return a}, -inverse:function(a){a.x-=this.x0;a.y-=this.y0;var c=Math.sqrt(a.x*a.x+a.y*a.y);if(c>2*Proj4js.common.HALF_PI*this.a)Proj4js.reportError("aeqdInvDataError");else{var b=c/this.a,d=Math.sin(b),b=Math.cos(b),e=this.long0,f;if(Math.abs(c)<=Proj4js.common.EPSLN)f=this.lat0;else{f=Proj4js.common.asinz(b*this.sin_p12+a.y*d*this.cos_p12/c);var g=Math.abs(this.lat0)-Proj4js.common.HALF_PI;Math.abs(g)<=Proj4js.common.EPSLN?e=0<=this.lat0?Proj4js.common.adjust_lon(this.long0+Math.atan2(a.x,-a.y)):Proj4js.common.adjust_lon(this.long0- -Math.atan2(-a.x,a.y)):(g=b-this.sin_p12*Math.sin(f),Math.abs(g)Proj4js.common.PI&&(b=Proj4js.common.PI);c=(2*c+Math.sin(2*c))/Proj4js.common.PI;1'; - html += '
'; - - infowin.setContent(html); - infowin.set("element",overlay); - if(typeof(overlay.getPosition) != 'undefined'){ - infowin.open(map,overlay); - }else{ - var bounds = overlay.getBounds(); - var center = bounds.getCenter(); - infowin.setPosition(center); - infowin.open(map); - } - - } - //aggiunge la logica sul popup appena creato - google.maps.event.addListener(infowin, 'domready', function() { - $("#btn-save-description").on("click",function(e){ - var overlay = infowin.get("element"); - overlay.set("description", $("#txt-description").val()); - infowin.close(); - }) - }); - - - - //AGGIUNGE LE FUNZIONALITร€ DI DISEGNO - function addDrawingManager(){ - - var drawingManager; - var selectedShape; - var colors = ['#1E90FF', '#FF1493', '#32CD32', '#FF8C00', '#4B0082']; - var selectedColor; - var colorButtons = {}; - var pointSize = 4; - var selectedPointSize = 8; - - - function setSelection(shape) { - clearSelection(); - selectedShape = shape; - if(selectedShape.getIcon){ - var symbol = selectedShape.getIcon(); - symbol.scale = selectedPointSize; - selectedShape.setIcon(symbol); - selectColor(symbol.strokeColor); - selectedShape.setDraggable(true); - } - else{ - selectedShape.setEditable(true); - selectColor(shape.get('fillColor') || shape.get('strokeColor')); - } - } - - function clearSelection() { - if (selectedShape) { - if(selectedShape.getIcon){ - var symbol = selectedShape.getIcon(); - symbol.scale = pointSize; - selectedShape.setIcon(symbol); - selectedShape.setDraggable(false); - } - else - selectedShape.setEditable(false); - selectedShape = null; - } - } - - function deleteSelectedShape() { - if (selectedShape) { - selectedShape.setMap(null); - for (var i=0;i - - - testform - - - - - - - - - - - - - - - - - - - - - - -
-
Posizione segnalazione -
-
- -
- - - - -
-
-
- -
- - - - -
-
-
- -
- - - - -
-
-
-
-
- - -
-
- - -
-
- - -
-
- -
-
- - 16675 -
-
- - 669 -
-
- - NO -
-
- - NO -
-
- -
-
- - 2401377 -
-
- - 4746248 -
-
- - -
-
- - 66 -
-
- - -
-
-
- - - - -
-
Livelli in mappa
-
- - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - -
-
- - - - - -
-
-
-
-
-
- - - - - -
- -
-
-
- -
- - - - diff --git a/components/GeoNoteControl.js b/components/GeoNoteControl.js new file mode 100644 index 0000000..6e97796 --- /dev/null +++ b/components/GeoNoteControl.js @@ -0,0 +1,50 @@ +// **** GeoNote Toolbar control +window.GCComponents["Controls"].addControl('control-redline', function(map){ + return new OpenLayers.GisClient.geoNoteToolbar({ + gc_id: 'control-redline', + baseUrl: GisClientMap.baseUrl, + createControlMarkup:customCreateControlMarkup, + div:document.getElementById("map-toolbar-redline"), + autoActivate:false, + saveState:true, + noteStatusList: clientConfig.GEONOTE_STATUS_LIST, + symbolFontFiles: (clientConfig.GEONOTE_SYMBOL_MAP.hasOwnProperty(GisClientMap.mapsetName)?clientConfig.GEONOTE_SYMBOL_MAP[GisClientMap.mapsetName]:[]), + symbolPatternFirst: clientConfig.GEONOTE_SYMBOL_PATTERN_FIRST, + symbolPatternLast: clientConfig.GEONOTE_SYMBOL_PATTERN_LAST, + redlineColor: (clientConfig.GEONOTE_DEFAULTS_MAP.hasOwnProperty(GisClientMap.mapsetName) && clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].hasOwnProperty('color')?clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].color:clientConfig.GEONOTE_COLOR), + redlineColorM: (clientConfig.GEONOTE_DEFAULTS_MAP.hasOwnProperty(GisClientMap.mapsetName) && clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].hasOwnProperty('color')?clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].color:clientConfig.GEONOTE_COLOR), + redlineColorPalette: clientConfig.GEONOTE_COLOR_PALETTE, + defaultPointRadius: (clientConfig.GEONOTE_DEFAULTS_MAP.hasOwnProperty(GisClientMap.mapsetName) && clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].hasOwnProperty('pointRadius')?clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].pointRadius:clientConfig.GEONOTE_POINT_RADIUS), + defaultStrokeWidth: (clientConfig.GEONOTE_DEFAULTS_MAP.hasOwnProperty(GisClientMap.mapsetName) && clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].hasOwnProperty('strokeWidth')?clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].strokeWidth:clientConfig.GEONOTE_STROKE_WIDTH), + defaultLineType: (clientConfig.GEONOTE_DEFAULTS_MAP.hasOwnProperty(GisClientMap.mapsetName) && clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].hasOwnProperty('lineType')?clientConfig.GEONOTE_DEFAULTS_MAP[GisClientMap.mapsetName].lineType:clientConfig.GEONOTE_LINE_TYPE) + }); +}); + +// **** Toolbar button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-redline', + 'Prima Nota', + 'glyphicon-white glyphicon-pencil', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + var ctrl = this.map.getControlsBy('gc_id', 'control-redline')[0]; + + if (ctrl.active) { + ctrl.deactivate(); + this.deactivate(); + $('#map-toolbars').css('top', '2px'); + } + else + { + ctrl.activate(); + this.activate(); + var nShift = $('#map-toolbars-edit').height() + 3; + $('#map-toolbars').css('top', nShift + 'px'); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'tools'} +); diff --git a/components/LayerFilterControl.js b/components/LayerFilterControl.js new file mode 100644 index 0000000..16d1c79 --- /dev/null +++ b/components/LayerFilterControl.js @@ -0,0 +1,280 @@ +// **** Set query toolbar defaults, fast search controls integration +window.GCComponents.Functions.gcLayerFilter = {}; + +window.GCComponents.InitFunctions.gcLayerFilterInit = function(map) { + if ($.mobile) { // **** TODO: interface for mobile + return; + } + // **** Load filters + GisClientMap.gcLayerFilter = {}; + GisClientMap.gcLayerFilter.wfsCache = null; + GisClientMap.gcLayerFilter.config = {}; + + var params = { + 'projectName' : GisClientMap.projectName, + 'mapsetName' : GisClientMap.mapsetName, + 'action' : 'list' + }; + $.ajax({ + url: clientConfig.GISCLIENT_URL + '/services/gcFilterLayer.php', + method: 'POST', + dataType: 'json', + data: params, + success: function(response) { + if(!response || typeof(response) != 'object') { + alert('Errore di sistema - nessuna risposta da servizio impostazione filtro'); + return; + } + if(response.result != 'ok') { + if (response.hasOwnProperty('error')) { + alert ('Errore in impostazione filtro layer: ' + response.message); + } + else { + alert('Errore di sistema - risposta da servizio impostazione filtro non valida'); + } + } + else { + // **** initialize filters list + GisClientMap.gcLayerFilter.config = response.conditions; + // **** Build filter panel + window.GCComponents.Functions.gcLayerFilter.setPanel(); + window.GCComponents.Functions.gcLayerFilter.initButtons(map); + } + }, + error: function() { + alert('Errore di sistema - servizio impostazione filtro'); + } + }); +}; + +window.GCComponents.Functions.gcLayerFilter.setPanel = function() { + // **** Create/Acquire wfsCache + var selectControls = GisClientMap.map.getControlsBy('gc_id', 'control-querytoolbar'); + if (selectControls.length == 1) { + GisClientMap.gcLayerFilter.wfsCache = selectControls[0].wfsCache; + } + else { // **** create wfsCache as in QueryToolbar + + } + if (!GisClientMap.gcLayerFilter.wfsCache) { + return; + } + // **** Create panel + $('#layertree a[href="#layerfilter"]').show(); + $('#layerfilter').append('
'); + $('#layerfilter_add').append('Crea o modifica filtro sul layer:'); + $('#layerfilter').append('
'); + $('#layerfilter_list').append('Filtri layer sulla mappa:'); + + // **** Create Layers select + $('#layerfilter_add').append('"); + $(".baseLbl :checkbox").addClass('fast-navigate'); + $(".dataLbl").html(" Naviga veloce sulla mappa").append(chk); + $(".dataLbl").append($("
STAI NAVIGANDO SULLA MAPPA IMPOSTATA SUI LIVELLI VISIBILI IN AVVIO.
DISATTIVA LA NAVIGAZIONE VELOCE PER TORNARE ALL'ALBERO DEI LIVELLI
")) + chk.attr("checked",true); + chk.on("click",function() { window.GCComponents.Functions.fastNavigate(this, GisClientMap);}); + } + } +} + +// **** Layer Tree panel button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-layertree', + 'Pannello dei livelli', + 'icon-layers', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + if (this.active) { + this.deactivate(); + sidebarPanel.hide('layertree'); + } + else + { + this.activate(); + sidebarPanel.show('layertree'); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'data', sidebar_panel: 'layertree'} +); diff --git a/components/MeasureControl.js b/components/MeasureControl.js new file mode 100644 index 0000000..fb916ee --- /dev/null +++ b/components/MeasureControl.js @@ -0,0 +1,67 @@ +// **** Measure toolbar control +window.GCComponents["Controls"].addControl('control-measure', function(map){ + return new OpenLayers.Control.Panel({ + gc_id: 'control-measure', + createControlMarkup:customCreateControlMarkup, + div:document.getElementById("map-toolbar-measure"), + autoActivate:false, + saveState:true + }) +}); + +// **** Toolbar button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-measure', + 'Misure', + 'glyphicon-white glyphicon-resize-small', + function() { + var ctrl = this.map.getControlsBy('gc_id', 'control-measure')[0]; + + if (ctrl.controls.length == 0) { + var isGeodesicMeasure = (ctrl.map.projection == 'EPSG:3857' || ctrl.map.projection == 'EPSG:4326')?true:false; + var controls = [ + new OpenLayers.Control.DynamicMeasure(OpenLayers.Handler.Path,{ + iconclass:"glyphicon-white glyphicon-resize-horizontal", + text:"Misura distanza", + title:"Misura distanza", + geodesic:isGeodesicMeasure, + eventListeners: { + 'activate': function() { + this.map.currentControl.deactivate(); + this.map.currentControl=this; + } + } + }), + new OpenLayers.Control.DynamicMeasure(OpenLayers.Handler.Polygon,{ + iconclass:"glyphicon-white glyphicon-retweet", + text:"Misura superficie", + title:"Misura superficie", + geodesic:isGeodesicMeasure, + eventListeners: { + 'activate': function() { + this.map.currentControl.deactivate(); + this.map.currentControl=this; + } + } + }) + ]; + ctrl.addControls(controls); + } + + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + if (ctrl.active) { + ctrl.deactivate(); + this.deactivate(); + } + else + { + ctrl.activate(); + this.activate(); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'tools'} +); diff --git a/components/PipeSelectControl.js b/components/PipeSelectControl.js new file mode 100644 index 0000000..f490406 --- /dev/null +++ b/components/PipeSelectControl.js @@ -0,0 +1,53 @@ +// **** Print control +window.GCComponents["Controls"].addControl('control-pipeselect', function(map){ + return new OpenLayers.Control.PIPESelect( + OpenLayers.Handler.Click, + { + type: null, + gc_id: 'control-pipeselect', + clearOnDeactivate:true, + serviceURL:GisClientMap.baseUrl + 'services/iren/findPipes.php', + distance:50, + highLight: true, + eventListeners: { + 'deactivate': function(event) { + OpenLayers.Control.PIPESelect.prototype.deactivate.apply(event); + var btnControl = map.getControlsBy('id', 'button-pipeselect')[0]; + if (btnControl.active) + btnControl.deactivate(); + } + } + } + ); +}); + +// **** Toolbar button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-pipeselect', + 'Ricerca valvole', + 'glyphicon-white glyphicon-tint', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + var ctrl = this.map.getControlsBy('gc_id', 'control-pipeselect')[0]; + + if (ctrl.active) { + ctrl.deactivate(); + this.deactivate(); + + } + else + { + sidebarPanel.close(); + ctrl.map.currentControl.deactivate(); + ctrl.map.currentControl=ctrl; + ctrl.activate(); + this.activate(); + sidebarPanel.close(); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'tools'} +); diff --git a/components/PrintControl.js b/components/PrintControl.js new file mode 100644 index 0000000..a392bb9 --- /dev/null +++ b/components/PrintControl.js @@ -0,0 +1,293 @@ +// **** Print control +window.GCComponents["Controls"].addControl('control-printmap', function(map){ + return new OpenLayers.Control.PrintMap({ + gc_id: 'control-printmap', + baseUrl:GisClientMap.baseUrl, + defaultLayers: self.mapsetTiles?self.activeLayers.slice(0):[], + formId: 'printpanel', + waitFor: 'panelready', + allowDrag: true, + printLegend: typeof(clientConfig.PRINT_LEGEND_DEFAULT)!='undefined'?clientConfig.PRINT_LEGEND_DEFAULT:'yes', + pageLayout: typeof(clientConfig.PRINT_LAYOUT_DEFAULT)!='undefined'?clientConfig.PRINT_LAYOUT_DEFAULT:'vertical', + printFormat: typeof(clientConfig.PRINT_FORMAT_DEFAULT)!='undefined'?clientConfig.PRINT_FORMAT_DEFAULT:'HTML', + defaultTemplateHTML: clientConfig.PRINT_TEMPLATE_HTML, + defaultTemplatePDF: clientConfig.PRINT_TEMPLATE_PDF, + eventListeners: { + 'panelready': function(event) { + var me = this, timerid, + scale = Math.round(map.getScale()), + userScale = $('#'+me.formId+' input[name="scale"]').val(); + + if ($.mobile) { + $('#print_panel_legend').controlgroup(); + $('#print_panel_layout').controlgroup(); + $('#print_panel_format').controlgroup(); + $('#print_panel_scalemode').controlgroup(); + $('#print_panel_template').controlgroup(); + $('#'+me.formId+' input[name="scale"]').textinput(); + } + + var printCtrlVal = me.printLegend?'yes':'no'; + $('#'+me.formId+' input[name="direction"][value="'+me.pageLayout+'"]').prop('checked', true); + $('#'+me.formId+' input[name="legend"][value="'+printCtrlVal+'"]').prop('checked', true); + $('#'+me.formId+' input[name="format"][value="'+me.printFormat+'"]').prop('checked', true); + + if(!userScale) { + me.boxScale?$('#'+me.formId+' input[name="scale"]').val(me.boxScale):$('#'+me.formId+' input[name="scale"]').val(scale); + $('#'+me.formId+' input[name="scale"]').prop('disabled', true); + } + + if (me.pages) { + var pagesList; + $('#'+me.formId+' select[name="formato"]').children().remove().end(); + $('#'+me.formId+' input[name="direction"]:checked').val() == 'vertical'?pagesList=me.pages.vertical:pagesList=me.pages.horizontal; + $.each(pagesList, function (page, dims) { + if (page == me.pageFormat) { + $('#'+me.formId+' select[name="formato"]').append(''); + } + else { + $('#'+me.formId+' select[name="formato"]').append(''); + } + }); + } + + if (me.templates) { + var templatesCtrl = $('#'+me.formId+' select[name="print_template"]'); + templatesCtrl.children().remove().end(); + $.each(me.templates, function (templateName, templateObj) { + if (templateObj.type.toUpperCase() == me.printFormat.toUpperCase()) { + if (templateName == me.template) { + templatesCtrl.append(''); + } + else if (templateObj.type.toUpperCase() == 'HTML' && templateName == me.defaultTemplateHTML) { + templatesCtrl.append(''); + } + else if (templateObj.type.toUpperCase() == 'PDF' && templateName == me.defaultTemplatePDF) { + templatesCtrl.append(''); + } + else { + templatesCtrl.append(''); + } + } + }); + me.template = templatesCtrl.val(); + if(me.templates[me.template].legend == 'no') { + $('#'+me.formId+' input[name="legend"]').prop("disabled", true); + } + else { + $('#'+me.formId+' input[name="legend"]').prop("disabled", false); + } + } + + $('#'+me.formId+' input[name="scale_mode"]').change(function() { + if (this.value == 'user') { + $('#'+me.formId+' input[name="scale"]').prop('disabled', false); + var userScale = $('#'+me.formId+' input[name="scale"]').val(); + var currentScale = me.boxScale?me.boxScale:map.getScale(); + if (userScale > currentScale) { + userScale = Math.round(currentScale); + $('#'+me.formId+' input[name="scale"]').val(userScale); + } + me.boxScale = userScale; + me.updatePrintBox(); + } + else { + $('#'+me.formId+' input[name="scale"]').prop('disabled', true); + me.removePrintBox(); + me.boxScale = null; + me.drawPrintBox.apply(me); + } + }); + $('#'+me.formId+' input[name="scale"]').on('input', function() { + var value = $(this).val(); + if($(this).data("lastval")!= value){ + + $(this).data("lastval",value); + clearTimeout(timerid); + + timerid = setTimeout(function() { + if ($('#'+me.formId+' input[name="scale_mode"]:checked').val() == 'user') { + me.boxScale = value; + me.updatePrintBox(); + } + },500); + }; + }); + + $('#'+me.formId+' input[name="direction"]').change(function() { + if (me.pages) { + var pagesList; + $('#'+me.formId+' select[name="formato"]').children().remove().end(); + $('#'+me.formId+' input[name="direction"]:checked').val() == 'vertical'?pagesList=me.pages.vertical:pagesList=me.pages.horizontal; + $.each(pagesList, function (page, dims) { + if (page == me.pageFormat) { + $('#'+me.formId+' select[name="formato"]').append(''); + } + else { + $('#'+me.formId+' select[name="formato"]').append(''); + } + }); + } + me.pageLayout= $('#'+me.formId+' input[name="direction"]:checked').val(); + if ( $('#'+me.formId+' input[name="scale_mode"]:checked').val() == 'user') { + me.updatePrintBox(); + } + else { + me.removePrintBox(); + me.boxScale = null; + me.drawPrintBox.apply(me); + } + }); + $('#'+me.formId+' select[name="formato"]').change(function() { + me.pageFormat = $('#'+me.formId+' select[name="formato"]').val(); + me.updatePrintBox(); + }); + + $('#'+me.formId+' select[name="print_resolution"]').change(function() { + me.printResolution = this.value; + }); + + $('#'+me.formId+' select[name="print_template"]').change(function() { + me.template = this.value; + if(me.templates[me.template].legend == 'no') { + $('#'+me.formId+' input[name="legend"]').prop("disabled", true); + } + else { + $('#'+me.formId+' input[name="legend"]').prop("disabled", false); + } + }); + + $('#'+me.formId+' textarea[name="text"]').change(function() { + me.printText = this.value; + }); + + $('#'+me.formId+' input[name="date"]').change(function() { + me.printDate = this.value; + }); + + $('#'+me.formId+' input[name="legend"]').change(function() { + this.value=='yes'?me.printLegend = this.value:me.printLegend=null; + }); + + $('#'+me.formId+' input[name="format"]').change(function() { + me.printFormat = this.value; + if (me.templates) { + var templatesCtrl = $('#'+me.formId+' select[name="print_template"]'); + templatesCtrl.children().remove().end(); + $.each(me.templates, function (templateName, templateObj) { + if (templateObj.type.toUpperCase() == me.printFormat.toUpperCase()) { + if (templateName == me.template) { + templatesCtrl.append(''); + } + else if (templateObj.type.toUpperCase() == 'HTML' && templateName == me.defaultTemplateHTML) { + templatesCtrl.append(''); + } + else if (templateObj.type.toUpperCase() == 'PDF' && templateName == me.defaultTemplatePDF) { + templatesCtrl.append(''); + } + else { + templatesCtrl.append(''); + } + } + }); + me.template = templatesCtrl.val(); + if(me.templates[me.template].legend == 'no') { + $('#'+me.formId+' input[name="legend"]').prop("disabled", true); + } + else { + $('#'+me.formId+' input[name="legend"]').prop("disabled", false); + } + } + }); + + $('#'+me.formId).on('click', 'a[role="html"],a[role="pdf"]', function(event) { + if($(this).attr("href") == "#") event.preventDefault(); + }); + + $('#'+me.formId).on('click', 'button[role="print"]', function(event) { + event.preventDefault(); + $('#'+me.formId+' a[role="pdf"], #printpanel a[role="html"]').attr('href', '#'); + $('#'+me.formId+' span[role="icon"]').removeClass('glyphicon-white').addClass('glyphicon-disabled'); + me.doPrint(); + }); + + }, + 'deactivate' : function(event) { + sidebarPanel.hide('printpanel'); + this.removePrintBox(); + var btnControl = map.getControlsBy('id', 'button-printmap')[0]; + if (btnControl.active) + btnControl.deactivate(); + }, + 'activate' : function(event) { + var me = this; + if (map.currentControl!=me) { + map.currentControl.deactivate(); + map.currentControl=me; + } + $('#'+me.formId+' input[name="scale_mode"]:checked').val() == 'user' ? me.boxScale = $('#'+me.formId+' input[name="scale"]').val() : me.boxScale = null; + me.drawPrintBox.apply(me); + var btnControl = map.getControlsBy('id', 'button-printmap')[0]; + if (!btnControl.active) + btnControl.activate(); + }, + 'printed' : function (event) { + var me = this; + if(event.format == 'HTML') { + $('#'+me.formId+' a[role="html"]').attr('href', event.file); + $('#'+me.formId+' a[role="html"] span[role="icon"]').removeClass('glyphicon-disabled').addClass('glyphicon-white'); + } else if(event.format == 'PDF') { + $('#'+me.formId+' a[role="pdf"]').attr('href', event.file); + $('#'+me.formId+' a[role="pdf"] span[role="icon"]').removeClass('glyphicon-disabled').addClass('glyphicon-white'); + } + + var win = window.open(event.file, '_blank'); + win.focus(); + } + } + }); +}); + +// **** Toolbar button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-printmap', + 'Pannello di stampa', + 'glyphicon-white glyphicon-print', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + var ctrlPrint = this.map.getControlsBy('gc_id', 'control-printmap')[0]; + + if (ctrlPrint.active) { + ctrlPrint.deactivate(); + this.deactivate(); + sidebarPanel.hide('printpanel'); + } + else + { + ctrlPrint.activate(); + this.activate(); + var panelPath = GisClientMap.rootPath + 'panels/'; + if ($.mobile) { + panelPath += 'print_panel_mobile.html'; + } + else { + panelPath += 'print_panel.html'; + } + if($.trim($('#printpanel').html()) == '') { + $("#printpanel").load(panelPath, function() { + ctrlPrint.events.triggerEvent('panelready'); + }); + } + else { + //this.drawPrintArea(); + } + + sidebarPanel.show('printpanel'); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'print', sidebar_panel: 'printpanel', gc_control: 'control-printmap'} +); diff --git a/components/QueryControl.js b/components/QueryControl.js new file mode 100644 index 0000000..23c2419 --- /dev/null +++ b/components/QueryControl.js @@ -0,0 +1,616 @@ +// **** Set query toolbar defaults, fast search controls integration +window.GCComponents.InitFunctions.setQueryToolbar = function(map) { + // **** Get main selection control + var selectControls = map.getControlsBy('gc_id', 'control-querytoolbar'); + if (selectControls.length < 1) { + $('#map-fast-search select').hide(); + $('#map-fast-search a.searchButton').hide(); + return; + } + if (!selectControls[0].controls) { + $('#map-fast-search select').hide(); + $('#map-fast-search a.searchButton').hide(); + return; + } + $('#map-fast-search select').show(); + $('#map-fast-search a.searchButton').show(); + var queryToolbar = selectControls[0]; + + queryToolbar.defaultControl = queryToolbar.controls[0]; + $('#searchWindowModalContent').css('height', clientConfig.SEARCH_WINDOW_H+"px"); + $('#searchWindowModalContent .modal-body') .css('height', (clientConfig.SEARCH_WINDOW_H-100)+"px") + + $('.panel-clearresults').click(function(event) { + event.preventDefault(); + + queryToolbar.clearResults(); + if ($('#resultpanel').is(":visible")) + sidebarPanel.hide(); + this.style.display = 'none'; + //sidebarPanel.close(); + }); + + //RICERCA E INTERROGAZIONE VELOCE DA COMBO IN BASSO + //popolo la select nel footer per le ricerche veloci + var options = []; + for(var layerId in queryToolbar.wfsCache) { + var layer = queryToolbar.wfsCache[layerId]; + for(var i = 0; i < layer.featureTypes.length; i++) { + var featureType = layer.featureTypes[i]; + + if(featureType.searchable != 2) continue; + var selected = ((typeof(clientConfig.FAST_SEARCH_DEFAULT) !== 'undefined') && (clientConfig.FAST_SEARCH_DEFAULT == featureType.typeName)) ? "selected" : ""; + options.push(''); + } + } + $('#map-fast-search select').html(options); + $('#map-fast-search a.searchButton').click(function(event) { + queryToolbar.searchButtonHander.call(queryToolbar, $('#map-fast-search select').val(), 'fast'); + }); + $('#map-fast-search a.infoButton').click(function(event) { + if($(this).hasClass('active')){ + queryToolbar.controls[0].deactivate(); + } + else{ + var control = queryToolbar.controls[0]; + var layer = queryToolbar.getLayerFromFeature($('#map-fast-search select').val()); + control.layers = [layer]; + control.queryFeatureType = $('#map-fast-search select').val(); + control.activate(); + } + }); +}; + +window.GCComponents.InitFunctions.initAdvancedQueryButtons = function(map) { + $('#btnAdvancedQuery').click(function(event) { + console.log('advanced query click'); + event.preventDefault(); + var selectedFeatureType = $('select.olControlQueryMapSelect').val(), + fType = GisClientMap.getFeatureType(selectedFeatureType); + if(!fType) return alert('Errore: il featureType '+selectedFeatureType+' non esiste'); + var queryMap = map.getControlsByClass('OpenLayers.Control.QueryMap')[0]; + queryMap.resultLayer.removeAllFeatures(); + queryMap.events.triggerEvent('startQueryMap'); + var params = ConditionBuilder.getQuery(); + params.projectName = GisClientMap.projectName; + params.mapsetName = GisClientMap.mapsetName; + params.srid = GisClientMap.map.projection; + params.featureType = selectedFeatureType; + $.ajax({ + url: clientConfig.GISCLIENT_URL + '/services/xMapQuery.php', + method: 'POST', + dataType: 'json', + data: params, + success: function(response) { + if(!response || typeof(response) != 'object') { + queryMap.events.triggerEvent('endQueryMap'); + return alert('Errore di sistema'); + } + if(!response.length) { + queryMap.events.triggerEvent('endQueryMap'); + return; + } + var features = [], len = response.length, result, i, geometry, feature; + for(i = 0; i < len; i++) { + result = response[i]; + geometry = result.gc_geom && OpenLayers.Geometry.fromWKT(result.gc_geom); + if(!geometry) continue; + delete result.gc_geom; + feature = new OpenLayers.Feature.Vector(geometry, result); + feature.featureTypeName = selectedFeatureType; + features.push(feature); + } + fType.features = features; + queryMap.events.triggerEvent('featuresLoaded',fType); + queryMap.resultLayer.addFeatures(features); + queryMap.events.triggerEvent('endQueryMap'); + $('#SearchWindow').modal('hide'); + $("#resultpanel").addClass("smalltable"); //non so perchรจ l'ho dovuto mettere qui.... + }, + error: function() { + queryMap.events.triggerEvent('endQueryMap'); + alert('Errore di sistema'); + } + }); + }); +} + +// **** Query toolbar +window.GCComponents["Controls"].addControl('control-querytoolbar', function(map){ + return new OpenLayers.GisClient.queryToolbar({ + gc_id: 'control-querytoolbar', + baseUrl: GisClientMap.baseUrl, + createControlMarkup:customCreateControlMarkup, + resultTarget:document.getElementById("resultpanel"), + resultLayout:"TABLE", + div:document.getElementById("map-toolbar-query"), + autoActivate:false, + saveState:true, + maxWfsFeatures:clientConfig.MAX_LAYER_FEATURES, + maxVectorFeatures:clientConfig.MAX_QUERY_FEATURES, + resultStyle:typeof(clientConfig.RESULT_LAYER_STYLE)!='undefined'?new OpenLayers.StyleMap(clientConfig.RESULT_LAYER_STYLE):null, + eventListeners: { + 'endQueryMap': function(event) { //Aggiungo l'animazione (???? da spostare sulla pagina) + if(event.layer.features && event.layer.features.length) { + if($(window).width() > 1000) { + sidebarPanel.show('resultpanel'); + map.getControlsBy('id', 'button-resultpanel')[0].activate(); + } + $("#resultpanel .featureTypeTitle").on('click',function(){ + $(this).children('.featureTypeData').slideToggle(200).next('.featureTypeData').slideUp(500); + }); + if(event.vectorFeaturesOverLimit) { + alert('I risultati dell\'interrogazione sono troppi: alcuni oggetti non sono stati disegnati su mappa '); + } + + $('.panel-clearresults').show(); + //console.log(event.mode); + //console.log(event.layer.getDataExtent()); + if(event.mode == 'fast') { + GisClientMap.map.zoomToExtent(event.layer.getDataExtent()); + } + } else { + alert('Nessun risultato'); + if ($('#resultpanel').is(":visible")) + sidebarPanel.hide(); + } + }, + 'featureTypeSelected': function(fType) { + + }, + 'featureselected': function(event) { + + var self = this; + if(self.popupOpenTimeout) { + clearTimeout(self.popupOpenTimeout); + self.popupOpenTimeout = null; + self.removePopup(event); + } + + var feature = event.feature, + featureType = feature.featureTypeName; + + var element = $('#resultpanel tr[featureType="'+featureType+'"][featureId="'+feature.id+'"]'); + var container = $('#sidebar-panel div.panel-content'); + container.scrollTop(0); + if(element.length) { + //var containerTop = $('#sidebar-panel').scrollTop(); + var containerTop = 0; + var containerBottom = containerTop + container.height(); + var elemTop = element.offset().top; + //var elemTop = 0; + var elemBottom = elemTop + $(element).height(); + + if (elemTop < containerTop) { + container.scrollTop(elemTop); + } else if (elemBottom > containerBottom) { + container.scrollTop(elemBottom - container.height()); + } + element.css('background-color', 'yellow'); + + if(!sidebarPanel.isOpened) { + sidebarPanel.show('resultpanel'); + } + } else { + console.log('non trovo ', featureType, feature.id); + } + }, + 'featureunselected': function(event) { + var feature = event.feature, + featureType = feature.featureTypeName; + + $('#resultpanel tr[featureType="'+featureType+'"][featureId="'+feature.id+'"]').css('background-color', 'white'); + }, + 'featurehighlighted': function(event) { + var feature = event.feature; + + var self = this; + var queryResLayer = map.getLayersByName("wfsResults")[0]; + if (queryResLayer.selectedFeatures.indexOf(feature) < 0 && clientConfig.POPUP_TIMEOUT > 0) + { + self.popupOpenTimeout = setTimeout(function() { + if (self.popup) + self.map.addPopup(self.popup); + }, clientConfig.POPUP_TIMEOUT); + } + }, + 'featureunhighlighted': function(event) { + var self = this; + if(self.popupOpenTimeout) { + clearTimeout(self.popupOpenTimeout); + self.popupOpenTimeout = null; + } + }, + 'viewdetails': function(event) { + var featureType = event.featureType, + fType = GisClientMap.getFeatureType(featureType), + len = fType.properties.length, i, property, + table = '', + cols = [], types = [], formats = [], col, j, + results, result, value, title; + + try { + results = $.parseJSON(event.response.responseText); + } catch(e) { + return alert('Errore di sistema'); + } + + for(i = 0; i < len; i++) { + property = fType.properties[i]; + + if(!property.relationName || property.relationName != event.relation.relationName || property.resultType==4) continue; + + title = property.header || property.name; + table += ''; + cols.push(property.name); + types.push(property.fieldType); + formats.push(typeof(property.fieldFormat) != 'undefined'?property.fieldFormat:null); + } + table += ''; + + for(i = 0; i < results.length; i++) { + result = results[i]; + + table += ''; + + for(j = 0; j < cols.length; j++) { + col = cols[j]; + value = result[col] || ''; + + table += ''; + } + table += ''; + } + table += '
'+title+'
'+this.writeDataAttribute(types[j], value, formats[j])+'
'; + + $('#DetailsWindow div.modal-body').css('overflow', 'auto'); + $('#DetailsWindow div.modal-body').html(table); + var title = event.relation.relationTitle || event.relation.relationName; + $('#DetailsWindow h4.modal-title').html(title + ' di ' + fType.title); + $('#DetailsWindow').modal('show'); + } + }, + searchButtonHander: function(selectedFeatureType, mode) { + var mode = mode || 'default', + selectedFeatureType = selectedFeatureType || $('select.olControlQueryMapSelect').val(), + selectedFeatureTypeArr = selectedFeatureType.split(','), + queryToolbar = this, + fType; + + if (selectedFeatureTypeArr.length > 1) { + selectedFeatureType = selectedFeatureTypeArr[0]; + } + selectedFeatureTypeArr = selectedFeatureTypeArr.splice(1); + + if(mode == 'default' && selectedFeatureTypeArr.length == 0) { + $('li[role="advanced-search"]').show(); + } else { + $('li[role="advanced-search"]').hide(); + $('#ricerca').addClass('active'); + $('#avanzata').removeClass('active'); + } + + if(selectedFeatureType == OpenLayers.GisClient.queryToolbar.VISIBLE_LAYERS || + selectedFeatureType == OpenLayers.GisClient.queryToolbar.ALL_LAYERS) { + return alert('Seleziona un livello prima'); + } + + fType = GisClientMap.getFeatureType(selectedFeatureType); + if(!fType) return alert('Errore: il featureType '+selectedFeatureType+' non esiste'); + + if(ConditionBuilder) { + ConditionBuilder.init('.query'); + ConditionBuilder.setFeatureType(fType); + } + + var form = '', + properties = JSON.parse(JSON.stringify(fType.properties)); + + for (var k = 0; k < selectedFeatureTypeArr.length; k++) { + var fTypeK = GisClientMap.getFeatureType(selectedFeatureTypeArr[k]); + if(!fTypeK) return alert('Errore: il featureType '+selectedFeatureTypeArr[k]+' non esiste'); + var propertiesK = fTypeK.properties; + var propertiesTmp = []; + for (var idx = 0; idx < propertiesK.length; idx++) { + var tmpArr = properties.filter(function( obj ) { + return (obj.name == propertiesK[idx].name && + obj.fieldType == propertiesK[idx].fieldType && + obj.dataType == propertiesK[idx].dataType && + obj.searchType == propertiesK[idx].searchType); + }); + if (tmpArr.length > 0) { + if (propertiesK[idx].hasOwnProperty('fieldId')) { + tmpArr[0].fieldId += ',' + propertiesK[idx].fieldId; + } + delete tmpArr[0].fieldFilter; + propertiesTmp = propertiesTmp.concat(tmpArr); + } + } + properties = propertiesTmp; + } + + var len = properties.length, property, i, hasProperties = false;; + + if (selectedFeatureTypeArr.length == 0) { + $('#searchFormTitle').html('Ricerca '+fType.title); + } + else { + $('#searchFormTitle').html('Ricerca '+$('select.olControlQueryMapSelect option:selected').text()); + } + + //form += '
'; + form += ''; + + for(i = 0; i < len; i++) { + property = properties[i]; + + if(!property.searchType || property.relationType == 2) continue; //searchType undefined oppure 0 + + hasProperties = true; + //form += '
'+ + // ''; + form += '
'; + } + form += '
'+property.header+''; + + switch(property.searchType) { + case 1: + case 2: //testo + form += ''; + break; + case 3: //lista di valori + form += ''; + break; + case 4: //numero + form += '
'+ + ''+ + ''+ + '
'; + break; + case 5: //data + form += ''; + break; + case 6: //lista di valori non wfs + form += ''; + break; + } + + //form += ''; + form += '
'; + + if (!hasProperties) { + $('#ricerca').empty().append('
Nessun campo ricercabile per questo layer/gruppo di ricerca
'); + $('#SearchWindow').modal('show'); + return; + } + + if(mode == 'default') { + form += '
Filtra sull\'extent attuale
'; + } + + if ($.mobile) { + form += '' + } + else { + form += '' + } + + form += '
'; + + $('#ricerca').empty().append(form); + + $('#ricerca input[searchType="3"],#ricerca input[searchType="6"]').each(function(e, input) { + var fieldId = $(input).attr('fieldId'); + var fieldFilter = $(input).attr('fieldFilter'); + + $(input).select2({ + minimumInputLength: 0, + query: function(query) { + var filterValue = ''; + var filterFields = ''; + var fieldFilterTmp = fieldFilter; + + while (fieldFilterTmp !== 'undefined' && fieldFilterTmp !== null){ + if ($('#ricerca input[fieldId="'+fieldFilterTmp+'"]').length === 0) { + break; + } + if (typeof $('#ricerca input[fieldId="'+fieldFilterTmp+'"]').select2('data') !== "undefined" && $('#ricerca input[fieldId="'+fieldFilterTmp+'"]').select2('data') !== null) { + var filterSelect = $('#ricerca input[fieldId="'+fieldFilterTmp+'"]').select2('data'); + filterValue += $('#ricerca input[fieldId="'+fieldFilterTmp+'"]').select2('data').text + ','; + filterFields += fieldFilterTmp + ','; + } + fieldFilterTmp = $('#ricerca input[fieldId="'+fieldFilterTmp+'"]').attr('fieldFilter'); + } + if (filterValue.length > 0) { + filterValue = filterValue.slice(0, -1); + filterFields = filterFields.slice(0, -1); + } + + if (typeof $('#ricerca input[fieldFilter="'+fieldId+'"]').select2('data') !== "undefined" && $('#ricerca input[fieldFilter="'+fieldId+'"]').select2('data') !== null) + $('#ricerca input[fieldFilter="'+fieldId+'"]').select2('data', null); + + $.ajax({ + url: GisClientMap.baseUrl + 'services/xSuggest.php', + data: { + suggest: query.term, + field_id: fieldId, + filterfields: filterFields, + filtervalue: filterValue, + project: GisClientMap.projectName, + mapset: GisClientMap.mapsetName + }, + dataType: 'json', + success: function(data) { + var results = []; + $.each(data.data, function(e, val) { + results.push({ + id: val.value, + text: val.value + }); + }); + query.callback({results:results}); + } + }); + } + }); + }); + + $('#ricerca button[type="submit"]').click(function(event) { + event.preventDefault(); + var filters = []; + $('#ricerca input[gcfilter!="false"]').each(function(e, input) { + var name = $(input).attr('name'), + value = $(input).val(), + searchType = $(input).attr('searchType'), + type = OpenLayers.Filter.Comparison.EQUAL_TO; + + if(!value || value == '') return; + + if(searchType == 4) { + type = $('#ricerca select[name="'+name+'_operator"]').val(); + } + if(searchType == 2) { + type = OpenLayers.Filter.Comparison.LIKE; + value = '%'+value+'%'; + } + + filters.push(new OpenLayers.Filter.Comparison({ + type: type, + property: name, + value: value + })); + + }); + + if(filters.length == 0) return alert('Specificare almeno un parametro di ricerca'); + + var geometry; + if($('#ricerca input[name="use_current_extent"]').prop('checked')) { + geometry = GisClientMap.map.getExtent(); + } else { + geometry = GisClientMap.map.maxExtent; + } + + if(filters.length > 1) { + var filter = new OpenLayers.Filter.Logical({ + type: OpenLayers.Filter.Logical.AND, + filters: filters + }); + } else { + var filter = filters[0]; + } + + var control = GisClientMap.map.getControlsByClass('OpenLayers.Control.QueryMap')[0]; + var oldQueryFeatureType = null; + var oldOnlyVisibleLayers = null; + var oldLayers = null; + + if(mode == 'fast') { + oldLayers = control.layers; + oldQueryFeatureType = control.queryFeatureType; + oldOnlyVisibleLayers = control.onlyVisibleLayers; + control.layers = [queryToolbar.getLayerFromFeature(fType.typeName)]; + control.queryFeatureType = fType.typeName; + control.onlyVisibleLayers = false; + } + + var oldQueryFilters = control.queryFilters[fType.typeName]; + var oldQueryFiltersArr = []; + if (typeof(oldQueryFilters) != 'undefined') { + alert (oldQueryFilters); + } + control.queryFilters[fType.typeName] = filter; + for (var k = 0; k < selectedFeatureTypeArr.length; k++) { + var fTypeK = GisClientMap.getFeatureType(selectedFeatureTypeArr[k]); + oldQueryFiltersArr[k] = control.queryFilters[fTypeK.typeName]; + control.queryFilters[fTypeK.typeName] = filter; + } + //var oldHighlight = control.highLight; + //control.highLight = true; + + control.select(geometry, mode); + + control.queryFilters[fType.typeName] = oldQueryFilters; + for (var k = 0; k < selectedFeatureTypeArr.length; k++) { + var fTypeK = GisClientMap.getFeatureType(selectedFeatureTypeArr[k]); + control.queryFilters[fTypeK.typeName] = oldQueryFiltersArr[k]; + } + if (mode == 'fast'){ + control.layers = oldLayers; + control.queryFeatureType = oldQueryFeatureType; + control.onlyVisiblelayers = oldOnlyVisibleLayers; + if (queryToolbar.resultLayer) + queryToolbar.resultLayer.setVisibility(true); + } + //control.highLight = oldHighlight; + + $('#SearchWindow').modal('hide'); + }); + + //$('#myModal').modal({remote:'test_table.html'}); + $('#SearchWindow').modal('show'); + + } + + }); +}); + +// **** Toolbar button +// **** Query Toolbar Button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-querytoolbar', + 'Pannello di ricerca', + 'glyphicon-white glyphicon-info-sign', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + var ctrl = this.map.getControlsBy('gc_id', 'control-querytoolbar')[0]; + + if (ctrl.active) { + ctrl.deactivate(); + this.deactivate(); + } + else + { + ctrl.activate(); + this.activate(); + if (this.map.currentControl != ctrl.controls[0]) { + ctrl.controls[0].activate(); + } + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'data'} +); + + +// **** Result panel button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-resultpanel', + 'Tabella dei risultati', + 'glyphicon-white glyphicon-list-alt', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + if (this.active) { + this.deactivate(); + sidebarPanel.hide('resultpanel'); + } + else + { + this.activate(); + sidebarPanel.show('resultpanel'); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'data', sidebar_panel: 'resultpanel'} +); diff --git a/components/ReferenceMapControl.js b/components/ReferenceMapControl.js new file mode 100644 index 0000000..2c39a87 --- /dev/null +++ b/components/ReferenceMapControl.js @@ -0,0 +1,23 @@ +// **** Toolbar button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-refmap', + 'Mappa di riferimento', + 'glyphicon-white glyphicon-eye-open', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + if (this.active) { + this.deactivate(); + GisClientMap.overviewMap.hide(); + } + else + { + this.activate(); + GisClientMap.overviewMap.show(); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'print'} +); diff --git a/components/ReportControl.js b/components/ReportControl.js new file mode 100644 index 0000000..c21727c --- /dev/null +++ b/components/ReportControl.js @@ -0,0 +1,363 @@ +window.GCComponents.InitFunctions.initAdvancedReportButtons = function(map) { + + $('#btnAdvancedReport').click(function(event) { + console.log('advanced query click'); + event.preventDefault(); + var selectedReport = $('select.olControlReportMapSelect').val(); + var filter = ConditionBuilder.getQuery(); + var reportToolbar = map.getControlsByClass('OpenLayers.GisClient.reportToolbar')[0]; + reportToolbar.displayReportHandler(filter); + $('#SearchReportWindow').modal('hide'); + }); + + $('#searchWindowModalContent').css('height', clientConfig.SEARCH_WINDOW_H+"px"); + $('#searchWindowModalContent .modal-body') .css('height', (clientConfig.SEARCH_WINDOW_H-100)+"px") +} + +// **** Report toolbar +window.GCComponents["Controls"].addControl('control-reports', function(map){ + return new OpenLayers.GisClient.reportToolbar({ + gc_id: 'control-reports', + baseUrl: GisClientMap.baseUrl, + createControlMarkup:customCreateControlMarkup, + //resultTarget:document.getElementById("resultpanel"), + //resultLayout:"TABLE", + div:document.getElementById("map-toolbar-report"), + autoActivate:false, + saveState:true, + rowsPerPage: 200, + selectedCols: [], + loadingControl: { + maximizeControl: function() { + $('#LoadingReports').modal('show'); + }, + minimizeControl: function() { + $('#LoadingReports').modal('hide'); + } + }, + filterButtonHander: function (event) { + var reportToolbar = this.map.getControlsBy('gc_id', 'control-reports')[0]; + + var selectedReport = $('select.olControlReportMapSelect').val(); + + if(selectedReport < 1){ + return alert('Nessun modello di report selezionato'); + } + + var reportDef = reportToolbar.getReportDef(selectedReport); + + if (!reportDef) { + return alert('Defininzione del modello di report non trovata, ID: ' + selectedReport); + } + + if (typeof(reportDef.properties) == 'undefined') { + alert ('Definizione del modello di report non valida'); + return; + } + + if(ConditionBuilder) { + ConditionBuilder.init('.query-report'); + ConditionBuilder.setFeatureType(reportDef); + } + + var form = '', + len = reportDef.properties.length, property, i; + + $('#searchReportTitle').html('Filtra Report '+reportDef.title); + + //form += '
'; + form += ''; + + for(i = 0; i < len; i++) { + property = reportDef.properties[i]; + + if(!property.searchType) continue; //searchType undefined oppure 0 + + //form += '
'+ + // ''; + form += '
'; + } + form += '
'+property.header+''; + + switch(property.searchType) { + case 1: + case 2: //testo + form += ''; + break; + case 3: //lista di valori + form += ''; + break; + case 4: //numero + form += '
'+ + ''+ + ''+ + '
'; + break; + case 5: //data + form += ''; + break; + case 6: //lista di valori non wfs + form += ''; + break; + } + + //form += ''; + form += '
'; + + if ($.mobile) { + form += '' + } + else { + form += '' + } + + form += '
'; + + $('#ricerca-report').empty().append(form); + + $('#ricerca-report input[searchType="3"],#ricerca-report input[searchType="6"]').each(function(e, input) { + var fieldId = $(input).attr('fieldId'); + var fieldFilter = $(input).attr('fieldFilter'); + + $(input).select2({ + minimumInputLength: 0, + query: function(query) { + var filterValue = ''; + var filterFields = ''; + var fieldFilterTmp = fieldFilter; + + while (fieldFilterTmp !== 'undefined' && fieldFilterTmp !== null){ + if ($('#ricerca-report input[fieldId="'+fieldFilterTmp+'"]').length === 0) { + break; + } + if (typeof $('#ricerca-report input[fieldId="'+fieldFilterTmp+'"]').select2('data') !== "undefined" && $('#ricerca-report input[fieldId="'+fieldFilterTmp+'"]').select2('data') !== null) { + var filterSelect = $('#ricerca-report input[fieldId="'+fieldFilterTmp+'"]').select2('data'); + filterValue += $('#ricerca-report input[fieldId="'+fieldFilterTmp+'"]').select2('data').text + ','; + filterFields += fieldFilterTmp + ','; + } + fieldFilterTmp = $('#ricerca-report input[fieldId="'+fieldFilterTmp+'"]').attr('fieldFilter'); + } + if (filterValue.length > 0) { + filterValue = filterValue.slice(0, -1); + filterFields = filterFields.slice(0, -1); + } + + if (typeof $('#ricerca-report input[fieldFilter="'+fieldId+'"]').select2('data') !== "undefined" && $('#ricerca-report input[fieldFilter="'+fieldId+'"]').select2('data') !== null) + $('#ricerca-report input[fieldFilter="'+fieldId+'"]').select2('data', null); + + $.ajax({ + url: GisClientMap.baseUrl + 'services/xRpSuggest.php', + data: { + suggest: query.term, + field_id: fieldId, + filterfields: filterFields, + filtervalue: filterValue + }, + dataType: 'json', + success: function(data) { + var results = []; + $.each(data.data, function(e, val) { + results.push({ + id: val.value, + text: val.value + }); + }); + query.callback({results:results}); + } + }); + } + }); + }); + + $('#ricerca-report button[type="submit"]').click(function(event) { + event.preventDefault(); + + + var query = ''; + var values = {}; + var par_idx = 0; + + $('#ricerca-report input').each(function(e, input) { + var name = $(input).attr('name'), + value = $(input).val(), + searchType = $(input).attr('searchType'), + type = '=', + param_x = ':param_' + par_idx; + + if(!value || value == '') return; + + if(searchType == 4) { + type = $('#ricerca select[name="'+name+'_operator"]').val(); + } + if(searchType == 2) { + type = 'ILIKE'; + value = '%'+value+'%'; + } + + if (query.length > 0) query += ' AND '; + + query += name + ' ' + type + ' ' + param_x; + values[param_x] = value; + + par_idx++; + }); + + if(query.length == 0) return alert('Specificare almeno un parametro di ricerca'); + + reportToolbar.displayReportHandler({'query': query, 'values': values}); + + $('#SearchReportWindow').modal('hide'); + }); + + $('#SearchReportWindow').modal('show'); + + + }, + eventListeners: { + 'initreport': function(event) { + var self = this; + var reportDef = event.reportDef; + if (typeof(reportDef.properties) == 'undefined') { + alert ('Definizione del modello di report non valida'); + return; + } + var len = reportDef.properties.length, i, property, + table = '', + exportLinks = '  Esporta in Excel' + + '  Esporta in PDF', + cols = [], col, j, + results, result, value, title; + + var reportContent = exportLinks + '
'; + + self.selectedCols = []; + self.currentPage = 0; + // **** Insert ID column + table += ''; + self.selectedCols.push('gc_objid'); + for(i = 0; i < len; i++) { + property = reportDef.properties[i]; + title = property.header || property.name; + table += ''; + var fFormat = typeof(property.fieldFormat) != 'undefined'?property.fieldFormat:null; + self.selectedCols.push({name:property.name, type:property.fieldType, format:fFormat}); + } + table += ''; + + table += ''; + + table += '
#'; + if (event.orderBy == property.name + ' ASC') + table += '' + if (event.orderBy == property.name + ' DESC') + table += '' + table += title + '
'; + + $('#DetailsWindow div.modal-body').css('overflow', 'visible'); + $('#DetailsWindow div.modal-body').html(reportContent); + $('#report-content').css('height', $('#map').height()-120); + $('#report-content').css('overflow', 'auto'); + $('#report-content').html(table); + $('#DetailsWindow h4.modal-title').html('Report ' + reportDef.title); + + //document.getElementById("loading_reports").showModal(); + $('.report-col-header').on("click", function() { + if (event.orderBy == $( this ).attr('colName') + ' ASC') { + event.orderBy = $( this ).attr('colName') + ' DESC'; + } + else { + event.orderBy = $( this ).attr('colName') + ' ASC' + } + self.events.triggerEvent('initreport', event); + }); + $('#DetailsWindow').modal('show'); + + $('#LoadingReports').modal('show'); + self.getReportData(event.reportID, self.currentPage, event.filter, event.orderBy); + + $('.reportTbl_export').click(function() { + var action = this.getAttribute('action'); + var reportID = this.getAttribute('reportID'); + var me = self; + me.exportReport(reportID, action, event.filter); + }); + + self.evt = event; + var thScroll = $("#reportTbl").find('thead th'); + $("#report-content").scroll(function() { + var me = self; + var docViewTop = $("#report-content").scrollTop(); + thScroll.css('transform', 'translateY('+docViewTop+'px)'); + if (me.totalRows <= me.currentPage*me.rowsPerPage || me.totalRows <= me.rowsPerPage) + return; + var rowMarker = $("#reportTbl tr").eq($("#reportTbl > tbody > tr").length - me.rowsPerPage/4); + if (rowMarker) { + if (rowMarker.length > 0) { + var elemTop = rowMarker[0].offsetTop; + if (elemTop <= docViewTop && me.dataLoading == false){ + me.currentPage += 1; + $('#LoadingReports').modal('show'); + me.getReportData(self.evt.reportID, self.currentPage, self.evt.filter, self.evt.orderBy); + } + } + } + }); + }, + 'insertrows': function (data) { + if (!data.hasOwnProperty('length')) { + $('#LoadingReports').modal('hide'); + $('#DetailsWindow').modal('hide'); + return; + } + var row, col, value, rowHtml; + var table = $("#reportTbl > tbody:last"); + for(i = 0; i < data.length; i++) { + row = data[i]; + rowHtml = ''; + rowHtml += ''+ (this.currentPage*this.rowsPerPage + i + 1) + ''; + for(var j = 1; j < this.selectedCols.length; j++) { + col = this.selectedCols[j]['name']; + value = this.writeDataAttribute(this.selectedCols[j]['type'], row[col], this.selectedCols[j]['format']); + //value = row[col] || ''; + + rowHtml += ''+value+''; + } + rowHtml += ''; + table.append(rowHtml); + } + $('#LoadingReports').modal('hide'); + } + } + }); +}); + +// **** Toolbar button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-reports', + 'Pannello di visualizzazione reports', + 'glyphicon-white glyphicon-stats', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') + { + var ctrl = this.map.getControlsBy('gc_id', 'control-reports')[0]; + + if (ctrl.active) { + ctrl.deactivate(); + this.deactivate(); + } + else + { + ctrl.activate(); + this.activate(); + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'data'} +); diff --git a/components/StreetViewControl.js b/components/StreetViewControl.js new file mode 100644 index 0000000..3f5d5f0 --- /dev/null +++ b/components/StreetViewControl.js @@ -0,0 +1,46 @@ +if (clientConfig.OL_GOOGLE_CALLBACK !== false) { + window.GCComponents["Controls"].addControl('control-streetview', function(map){ + return new OpenLayers.GisClient.streetViewViewer({ + gc_id: 'control-streetview', + map: map, + createControlMarkup:customCreateControlMarkup, + div: document.getElementById("map-toolbar-streetview"), + autoActivate:false + }); + }); + window.GCComponents["Controls"].addControl('control-streetview-commander', function(map){ + return new OpenLayers.GisClient.streetViewToolbar({ + gc_id: 'control-streetview-commander', + createControlMarkup:customCreateControlMarkup, + div: document.getElementById("map-toolbar-streetview-commander"), + autoActivate:false + }); + }); + + // **** Result panel button + window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-streetview', + 'StreetView', + 'glyphicon-white glyphicon-road', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') { + var ctrl = this.map.getControlsBy('gc_id', 'control-streetview')[0]; + var commander = this.map.getControlsBy('gc_id', 'control-streetview-commander')[0]; + if (ctrl.active) { + if(ctrl.deactivate()) { + commander.deactivate(); + this.deactivate(); + } + } else { + if(ctrl.activate()) { + commander.activate(); + this.activate(); + } + } + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + }, + {button_group: 'alone', tbarpos:'alone'} + ); +} diff --git a/components/UnRedoControl.js b/components/UnRedoControl.js new file mode 100644 index 0000000..b7ed99b --- /dev/null +++ b/components/UnRedoControl.js @@ -0,0 +1,41 @@ +window.GCComponents["Controls"].addControl('control-unredo', function(map){ + var undoredo = new OpenLayers.GisClient.UnRedo({ + gc_id: 'control-unredo', + map: map, + createControlMarkup:customCreateControlMarkup, + autoActivate:false + }); + map.events.register('moveend', map, function() { + undoredo.recordZoomAndPosition() + }); + return undoredo; +}); + + +// **** Result panel button +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-undo', + 'Annulla', + 'glyphicon-white glyphicon-backward', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') { + var ctrl = this.map.getControlsBy('gc_id', 'control-unredo')[0]; + ctrl.undo(); + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + } +); +window.GCComponents["SideToolbar.Buttons"].addButton ( + 'button-redo', + 'Ripeti', + 'glyphicon-white glyphicon-forward', + function() { + if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') { + var ctrl = this.map.getControlsBy('gc_id', 'control-unredo')[0]; + ctrl.redo(); + if (typeof(sidebarPanel.handleEvent) !== 'undefined') + sidebarPanel.handleEvent = false; + } + } +); diff --git a/components/WFM_Functions.js b/components/WFM_Functions.js deleted file mode 100644 index 615288b..0000000 --- a/components/WFM_Functions.js +++ /dev/null @@ -1,124 +0,0 @@ -//********************************************************************************************************* -//**** Functions for GEOweb - WFM integration -//**** Common functions - -window.GCComponents.Functions.centerMap = function (xCoord, yCoord, srid, zoom) { - var lonLat = new OpenLayers.LonLat(xCoord, yCoord); - var GCMap = GisClientMap.map; - var retValue = {result: 'ok'}; - if (srid != GCMap.projection) { - lonLat.transform(srid, GCMap.projection); - } - if(!GCMap.isValidLonLat(lonLat)){ - retValue.result = 'error'; - retValue.message = 'Posizione non valida: X ' +lonLat.lon+', Y '+lonLat.lat+', SRID ' + srid; - alert(retValue.message); - return retValue; - } - if(!GCMap.getMaxExtent().containsLonLat(lonLat)){ - retValue.result = 'error'; - retValue.message = 'Posizione fuori extent: X ' +lonLat.lon+', Y '+lonLat.lat+', SRID ' + srid; - alert(retValue.message); - return retValue; - } - GCMap.setCenter(lonLat); - GCMap.zoomToScale(zoom, true); - return retValue; -} - -window.GCComponents.Functions.centerMapOnFeature = function(layer, whereCond, values) { - var retValue = {result: 'ok'}; - var fType = GisClientMap.getFeatureType(layer); - - if(!fType) { - retValue.result = 'error'; - retValue.message = 'Errore: il featureType '+selectedFeatureType+' non esiste'; - return retValue; - } - - var params = { - featureType: layer, - query: whereCond, - values: values - }; - params.projectName = GisClientMap.projectName; - params.mapsetName = GisClientMap.mapsetName; - params.srid = GisClientMap.map.projection; - - $.ajax({ - url: GISCLIENT_URL + '/services/xMapQuery.php', - method: 'POST', - dataType: 'json', - data: params, - success: function(response) { - if(!response || typeof(response) != 'object') { - retValue.result = 'error'; - retValue.message = 'Errore di sistema'; - return retValue; - } - if(!response.length) { - retValue.result = 'error'; - retValue.message = 'Nessun risultato'; - return retValue; - } - - var geometries = new OpenLayers.Geometry.Collection(), - len = response.length, result, i, geometry, feature; - - for(i = 0; i < len; i++) { - result = response[i]; - - geometry = result.gc_geom && OpenLayers.Geometry.fromWKT(result.gc_geom); - if(!geometry) continue; - delete result.gc_geom; - - geometries.addComponent(geometry); - } - - if (geometries.components.length < 1) { - retValue.result = 'error'; - retValue.message = 'Nessuna geometria nel risultato della ricerca'; - return retValue; - } - - geometries.calculateBounds(); - GisClientMap.map.zoomToExtent(geometries.bounds); - - return retValue; - }, - error: function() { - retValue.result = 'error'; - retValue.message = 'Errore di sistema'; - return retValue; - } - }); -} - -window.GCComponents.Functions.parseQueryString = function() { - var match, - pl = /\+/g, // Regex for replacing addition symbol with a space - search = /([^&=]+)=?([^&]*)/g, - decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, - query = window.location.search.substring(1); - - var urlParams = {}; - while (match = search.exec(query)) - urlParams[decode(match[1])] = decode(match[2]); - - return urlParams; -} - -window.GCComponents.Functions.updateQueryString = function(updateItems) { - var queryStringItems = window.GCComponents.Functions.parseQueryString(); - for (var item in updateItems) { - queryStringItems[item] = updateItems[item]; - }; - - if (history.pushState) { - var newUrl = window.location.protocol + "//" + window.location.host + window.location.pathname + '?'; - for (var item in queryStringItems) { - newUrl += item + '=' + queryStringItems[item] + '&'; - }; - window.history.pushState({path:newUrl},'',newUrl); - } -} diff --git a/components/WFM_Functions.osfc.js b/components/WFM_Functions.osfc.js deleted file mode 100644 index a81a786..0000000 --- a/components/WFM_Functions.osfc.js +++ /dev/null @@ -1,44 +0,0 @@ -//********************************************************************************************************* -//**** Functions for GEOweb - WFM integration -//**** OSFC integration functions -var OSFCData = { - action: 'writeOnOFSC' -}; - -window.GCComponents.Functions.postMessageHandler = function (event) { - // **** TODO: validate source - var postData = event.data; - if (postData.action == 'centerMap') { - window.GCComponents.Functions.centerMap(postData.x, postData.y, postData.srid, postData.zoom); - } -} - -// **** PostMessage -window.addEventListener('message', window.GCComponents.Functions.postMessageHandler, false); - -window.GCComponents.Functions.sendToWFM = function(wfmItems) { - if (wfmItems.x && wfmItems.y && wfmItems.srid) { - if (wfmItems.srid !== WFM_SRID) - return; - OSFCData.coordx = wfmItems.x; - OSFCData.coordy = wfmItems.y; - } - else { - if (wfmItems.wfm_outitem) { - for (var field in wfmItems) { - if (field !== 'wfm_outitem') { - var fieldVal = (typeof(wfmItems[field]) === 'undefined')?null:wfmItems[field]; - OSFCData[field] = fieldVal; - } - } - } - } - parent.postMessage(OSFCData,'*'); -} - -window.GCComponents.Functions.resetWFMData = function(){ - OSFCData = { - action: 'writeOnOFSC' - }; - -} diff --git a/components/WFM_Functions.osvc.js b/components/WFM_Functions.osvc.js deleted file mode 100644 index 54c4e6d..0000000 --- a/components/WFM_Functions.osvc.js +++ /dev/null @@ -1,81 +0,0 @@ -//********************************************************************************************************* -//**** Functions for GEOweb - WFM integration -//**** OSVC integration functions - -window.GCComponents.Functions.centerMapWFM = function () { - var queryStringItems = window.GCComponents.Functions.parseQueryString(); - if (queryStringItems.layer) { - var fType = GisClientMap.getFeatureType(queryStringItems.layer); - if (!fType) - return; - - var values = {}; - var queryString = ''; - for (var i=0; i 0) { - queryString = '(' + queryString + ')'; - window.GCComponents.Functions.centerMapOnFeature(queryStringItems.layer, queryString, values); - } - } -} - -window.GCComponents.Functions.sendToWFM = function(wfmItems) { - if (wfmItems.x && wfmItems.y && wfmItems.srid) { - var srid_native = GisClientMap.map.displayProjection?GisClientMap.map.displayProjection:this.map.projection; - var osvcCoordTag = (wfmItems.srid==srid_native?'osvc-coord':'osvc-coord-'+ wfmItems.srid.substring(wfmItems.srid.indexOf(":")+1)); - var osvcCoord = document.getElementsByTagName(osvcCoordTag); - if (osvcCoord.length === 1) { - osvcCoord[0].innerHTML = 'X:' + wfmItems.x + '|Y:' +wfmItems.y; - } - } - else { - if (!wfmItems.wfm_outitem) - return; - var osvcItem = document.getElementsByTagName(wfmItems.wfm_outitem); - var tagContent = ''; - if (osvcItem.length === 1) { - for (var field in wfmItems) { - if (field !== 'wfm_outitem') { - var fieldVal = (typeof(wfmItems[field]) === 'undefined' || wfmItems[field] === null)?'':wfmItems[field]; - tagContent += field + ':' + fieldVal + '|'; - } - } - osvcItem[0].innerHTML = tagContent.substring(0, tagContent.length -1); - } - } -} - -window.GCComponents.Functions.resetWFMData = function(){ - var osvcTag = document.getElementsByTagName('osvc-coord'); - if (osvcTag.length === 1) - osvcTag[0].innerHTML = ''; - if (typeof(WFM_SRID) !== 'undefined') { - var osvcSrid = WFM_SRID; - osvcSrid = 'osvc-coord-'+ osvcSrid.substring(osvcSrid.indexOf(":")+1); - osvcTag = document.getElementsByTagName(osvcSrid); - if (osvcTag.length === 1) - osvcTag[0].innerHTML = ''; - } - for (var j=0; j 0) { - queryString = '(' + queryString + ')'; - window.GCComponents.Functions.centerMapOnFeature(queryStringItems.layer, queryString, values); - } - } -} - -window.GCComponents.Functions.sendToWFM = function(wfmItems) { - window.GCComponents.Functions.updateQueryString(wfmItems); -} - -window.GCComponents.Functions.resetWFMData = function(){ - if (history.pushState) { - var newUrl = window.location.protocol + "//" + window.location.host + window.location.pathname; - newUrl += '?mapset=' + GisClientMap.map.config.mapsetName; - window.history.pushState({path:newUrl},'',newUrl); - } -} diff --git a/components/WFM_SelectControl.js b/components/WFM_SelectControl.js deleted file mode 100644 index 18d00cc..0000000 --- a/components/WFM_SelectControl.js +++ /dev/null @@ -1,289 +0,0 @@ -// ******************************************************************************************* - -// **** Toolbar integration -$(function(){ - window.GCComponents["QueryToolbar.Actions"].addAction( - 'wfm-mark', - function(featureType, feature) { - var selectControls = feature.layer.map.getControlsBy('gc_id', 'queryToolbar'); - if (selectControls[0].wfmSelection) { - return ''; - } - return ""; - }, - function(featureTypeName, featureId, objQueryToolbar) { - var wfmLayer = objQueryToolbar.map.getLayersByName('layer-wfm-highlight')[0]; - // **** bring Vector layer on top - var origLayerIndex = objQueryToolbar.map.getLayerIndex(wfmLayer); - var maxIndex = objQueryToolbar.map.getLayerIndex(objQueryToolbar.map.layers[objQueryToolbar.map.layers.length -1]); - if(origLayerIndex < maxIndex) objQueryToolbar.map.raiseLayer(wfmLayer, (maxIndex - origLayerIndex -1)); - objQueryToolbar.map.resetLayersZIndex(); - - var feature = objQueryToolbar.findFeature(featureId); - var newFeature = feature.clone(); - newFeature.featureTypeName = feature.featureTypeName; - - // **** Remove features of the same type - var oldFeatures = []; - var featureTypeArr = [featureTypeName]; - var featureNum = 1; - for (var i=0; i -1) { - featureTypeArr = WFM_LAYERS[i].layers; - featureNum = WFM_LAYERS[i].numfeats; - } - } - for (var i=0; i -1) { - oldFeatures.push(wfmLayer.features[i]); - } - } - wfmLayer.removeFeatures(oldFeatures); - wfmLayer.addFeatures([newFeature]); - } - ); -}); -window.GCComponents["Layers"].addLayer('layer-wfm-highlight', { - displayInLayerSwitcher:false, - styleMap: new OpenLayers.StyleMap({ - 'default': { - fill: false, - fillColor: "red", - fillOpacity: 0.9, - hoverFillColor: "white", - hoverFillOpacity: 0.9, - strokeColor: "red", - strokeOpacity: 0.9, - strokeWidth: 10, - strokeLinecap: "round", - strokeDashstyle: "solid", - hoverStrokeColor: "red", - hoverStrokeOpacity: 1, - hoverStrokeWidth: 10, - pointRadius: 8, - hoverPointRadius: 1, - hoverPointUnit: "%", - pointerEvents: "visiblePainted", - cursor: "inherit" - }, - 'select': { - fill: true, - fillColor: "red", - fillOpacity: 0.9, - hoverFillColor: "white", - hoverFillOpacity: 0.9, - strokeColor: "red", - strokeOpacity: 1, - strokeWidth: 10, - strokeLinecap: "round", - strokeDashstyle: "solid", - hoverStrokeColor: "red", - hoverStrokeOpacity: 1, - hoverStrokeWidth: 10, - pointRadius: 8, - hoverPointRadius: 1, - hoverPointUnit: "%", - pointerEvents: "visiblePainted", - cursor: "pointer" - }, - 'temporary': { - fill: true, - fillColor: "EEA652", - fillOpacity: 0.2, - hoverFillColor: "white", - hoverFillOpacity: 0.8, - strokeColor: "#EEA652", - strokeOpacity: 1, - strokeLinecap: "round", - strokeWidth: 4, - strokeDashstyle: "solid", - hoverStrokeColor: "red", - hoverStrokeOpacity: 1, - hoverStrokeWidth: 0.2, - pointRadius: 6, - hoverPointRadius: 1, - hoverPointUnit: "%", - pointerEvents: "visiblePainted", - cursor: "pointer" - } - }) -}, { - "featureadded": function(obj) { - var features = obj.object.features; - var wfmExportData = {}; - for (var i = 0; i < features.length; i++) { - for (var j=0; j -1) { - for (var k = 0; k < WFM_LAYERS[j].fields.length; k++) { - var dataField = WFM_LAYERS[j].outvars[k]; - var dataValue = features[i].attributes[WFM_LAYERS[j].fields[k]]; - wfmExportData[dataField] = dataValue; - } - if (typeof(WFM_LAYERS[j].outitem) != 'undefined') { - wfmExportData['wfm_outitem'] = WFM_LAYERS[j].outitem; - } - } - } - } - window.GCComponents.Functions.sendToWFM(wfmExportData); - } -}); - - -// **** Point marker layer (TODO: style) -window.GCComponents["Layers"].addLayer('layer-wfm-markpoint', { - displayInLayerSwitcher:false, - styleMap: new OpenLayers.StyleMap({ - 'default': { - cursor: "inherit", - graphicHeight: 32, - externalGraphic: "images/marker32_red.png" - } - }) -}, { - "sketchcomplete": function(obj) { - var tmpGeom = obj.feature.geometry.clone(); - var srid = this.map.displayProjection?this.map.displayProjection:this.map.projection; - if (srid != this.map.projection) { - tmpGeom.transform(this.map.projection, srid); - } - window.GCComponents.Functions.sendToWFM({x: tmpGeom.x, y:tmpGeom.y, srid:srid}); - - if (typeof(WFM_SRID) !== 'undefined') { - tmpGeom = obj.feature.geometry.clone(); - srid = WFM_SRID; - if (srid != this.map.projection) { - tmpGeom.transform(this.map.projection, srid); - } - window.GCComponents.Functions.sendToWFM({x: tmpGeom.x, y:tmpGeom.y, srid:srid}); - } - - this.removeAllFeatures(); - }, - "featureadded": function(obj) { - // **** Get main selection control - var selectControls = this.map.getControlsBy('gc_id', 'queryToolbar'); - if (selectControls.length != 1) - return; - if (!selectControls[0].controls) - return; - var selectControl = selectControls[0]; - selectControl.controls[0].layers = []; - // **** insert configured WFS layers - if (typeof(WFM_LAYERS) === 'undefined') { - return; - } - var featureTypes = ''; - var selectLayers = []; - for (var i=0; i 0) { - touchControl[0].dragPan.deactivate(); - } - } - map.currentControl=this; - }, - 'deactivate': function(e){ - var touchControl = map.getControlsByClass("OpenLayers.Control.TouchNavigation"); - if (touchControl.length > 0) { - touchControl[0].dragPan.activate(); - } - if (!this.layer.keepFeatures) { - this.layer.removeAllFeatures(); - } - var btnControl = map.getControlsBy('id', 'button-wfm-markpoint')[0]; - if (btnControl.active) - btnControl.deactivate(); - - } - } - } - ) -}); - -// **** Toolbar button -window.GCComponents["SideToolbar.Buttons"].addButton ( - 'button-wfm-markpoint', - 'Esporta coordinate per WFM', - 'glyphicon-white glyphicon-pushpin', - function() { - if (sidebarPanel.handleEvent || typeof(sidebarPanel.handleEvent) === 'undefined') - { - this.map.getLayersByName('layer-wfm-highlight')[0].removeAllFeatures(); - this.map.getLayersByName('layer-wfm-markpoint')[0].removeAllFeatures(); - window.GCComponents.Functions.resetWFMData(); - if (this.active) { - this.deactivate(); - var drawControl = this.map.getControlsBy('gc_id', 'control-wfm-markpoint'); - if (drawControl.length == 1) - drawControl[0].deactivate(); - //adjustPanZoomBar(queryToolbar, 60); - } - else - { - this.activate(); - var drawControl = this.map.getControlsBy('gc_id', 'control-wfm-markpoint'); - if (drawControl.length == 1) - drawControl[0].activate(); - } - if (typeof(sidebarPanel.handleEvent) !== 'undefined') - sidebarPanel.handleEvent = false; - } - }, - null -); diff --git a/config/config.GeoNote.js.sample b/config/config.GeoNote.js.sample new file mode 100644 index 0000000..aad58a5 --- /dev/null +++ b/config/config.GeoNote.js.sample @@ -0,0 +1,27 @@ +clientConfig.CLIENT_COMPONENTS.push("GeoNoteControl:1:tools"); +clientConfig.GEONOTE_COLOR = '#FF00FF'; +clientConfig.GEONOTE_COLOR_PALETTE = []; +clientConfig.GEONOTE_SYMBOL_RES = 12; +clientConfig.GEONOTE_SYMBOL_SIZE = 32; +clientConfig.GEONOTE_STROKE_WIDTH = 1; +clientConfig.GEONOTE_POINT_RADIUS = 1; +clientConfig.GEONOTE_LINE_TYPE = 'solid'; +clientConfig.GEONOTE_PRINT_OPTIONS = { + +}; +clientConfig.GEONOTE_STATUS_LIST = [ + {label: 'Nuova', readonly: false, save: false} +]; +clientConfig.GEONOTE_SYMBOL_MAP = { + +}; +clientConfig.GEONOTE_SYMBOL_PATTERN_FIRST = null; +clientConfig.GEONOTE_SYMBOL_PATTERN_LAST = null; +clientConfig.GEONOTE_DEFAULTS_MAP = { + mapset_name: { + color: '', + strokeWidth: , + pointRadius: , + lineType: '' + } +}; diff --git a/config/config.js b/config/config.js deleted file mode 100644 index 5efe4d3..0000000 --- a/config/config.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ - -var GISCLIENT_URL = '/gisclient3'; -var MAPPROXY_URL = 'http://172.16.5.72/'; -var POPUP_TIMEOUT = 2000; - -// **** Numero massimo di oggetti per layer in interrogazione -var MAX_LAYER_FEATURES = 100; -// **** Numero massimo totale di oggetti in interrogazione -var MAX_QUERY_FEATURES = 500; - - diff --git a/config/config.js.sample b/config/config.js.sample index e8b5475..d4828c6 100644 --- a/config/config.js.sample +++ b/config/config.js.sample @@ -1,22 +1,102 @@ -/* - * - * - * - */ - -var GISCLIENT_URL = '/gisclient3'; -var MAPPROXY_URL = '/'; -var POPUP_TIMEOUT = 2000; - -// **** Numero massimo di oggetti per layer in interrogazione -var MAX_LAYER_FEATURES = 100; -// **** Numero massimo totale di oggetti in interrogazione -var MAX_QUERY_FEATURES = 500; - -// **** Templates di stampa -var PRINT_TEMPLATE_HTML = null; -var PRINT_TEMPLATE_PDF = null; - -// **** Dimensioni della Reference Map (in pixel) -var OVERVIEW_MAP_W = 360; -var OVERVIEW_MAP_H = 180; +var clientConfig = { + GISCLIENT_URL : '/gisclient3', + URL_CLIENT_CONFIG : "/gisclient3/services/clientConfig.php", + MAPPROXY_URL : '/', + POPUP_TIMEOUT : 2000, + // **** Numero massimo di oggetti per layer in interrogazione + MAX_LAYER_FEATURES : 100, + // **** Numero massimo totale di oggetti in interrogazione + MAX_QUERY_FEATURES : 500, + // **** Templates di stampa + PRINT_TEMPLATE_HTML : null, + PRINT_TEMPLATE_PDF : null, + // **** Default Print Settings + PRINT_LEGEND_DEFAULT :'yes', // ** null to omit legend by default ** + PRINT_LAYOUT_DEFAULT :'vertical', // ** can be set to 'horizontal' ** + PRINT_FORMAT_DEFAULT :'HTML', // ** Can be set to 'PDF' ** + // **** Dimensioni della Reference Map (in pixel) + OVERVIEW_MAP_W : 360, + OVERVIEW_MAP_H : 180, + // **** Altezza finestra di ricerca (in pixel) + SEARCH_WINDOW_H : 400, + // **** Dimensioni del pannello laterale (in pixel) + RESULT_SMALLTABLE_SIZE : 300, + // **** Keep current extent on mapset change (default false) + MAPSET_EXTENT_STICKY: false, + // **** Chiave per caricamento suggerimenti + HINTS_KEY : "gisclient-maps", + GOTO_DEFAULT_EPSG : ["EPSG:3857", "EPSG:4326", "EPSG:3003", "EPSG:25832", "EPSG:32632"], + ONLINE_MANUAL_URL : null, + // **** Funzione per hash custom della password utente da inviare al servizio login di gisclient3 (default: md5) + PASSWORD_HASH_FUNCTION : null, + OL_GOOGLE_CALLBACK: true, // **** Disabilita Google API callbak/wrapping se settato a false - Necessario se il client non รจ compatibile con le Google Maps API + CLIENT_COMPONENTS : ["StreetViewControl:1:alone", "LayerTreeButton:2:data", "QueryControl:1:data", + "PrintControl:1:print", "ReferenceMapControl:2:print"], + //DEFAULT_CONTROL : "move" , + /* **** Stile di evidenziazione custom + **** Decommentare ed editare per abilitarlo + RESULT_LAYER_STYLE : { + 'default': { + fill: false, + fillColor: "#ff00FF", + fillOpacity: 0.1, + hoverFillColor: "white", + hoverFillOpacity: 0.1, + strokeColor: "yellow", + strokeOpacity: 0.4, + strokeWidth: 4, + strokeLinecap: "round", + strokeDashstyle: "solid", + hoverStrokeColor: "red", + hoverStrokeOpacity: 1, + hoverStrokeWidth: 0.2, + pointRadius: 6, + hoverPointRadius: 1, + hoverPointUnit: "%", + pointerEvents: "visiblePainted", + cursor: "inherit" + }, + 'select': { + fill: true, + fillColor: "blue", + fillOpacity: 0.4, + hoverFillColor: "white", + hoverFillOpacity: 0.8, + strokeColor: "blue", + strokeOpacity: 1, + strokeWidth: 6, + strokeLinecap: "round", + strokeDashstyle: "solid", + hoverStrokeColor: "red", + hoverStrokeOpacity: 1, + hoverStrokeWidth: 0.4, + pointRadius: 8, + hoverPointRadius: 1, + hoverPointUnit: "%", + pointerEvents: "visiblePainted", + cursor: "pointer" + }, + 'temporary': { + fill: true, + fillColor: "EEA652", + fillOpacity: 0.2, + hoverFillColor: "white", + hoverFillOpacity: 0.8, + strokeColor: "#EEA652", + strokeOpacity: 1, + strokeLinecap: "round", + strokeWidth: 4, + strokeDashstyle: "solid", + hoverStrokeColor: "red", + hoverStrokeOpacity: 1, + hoverStrokeWidth: 0.2, + pointRadius: 6, + hoverPointRadius: 1, + hoverPointUnit: "%", + pointerEvents: "visiblePainted", + cursor: "pointer" + } + } +*/ + PLUGINS_CONFIG: {} +}; diff --git a/demo/index.php b/demo/index.php deleted file mode 100755 index 7ae9de7..0000000 --- a/demo/index.php +++ /dev/null @@ -1,115 +0,0 @@ - - - - <?php echo $objMapset->mapOptions["title"]?> - - - - - - - - - - - - - - - - - - - - - getMapProviders()?> - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ext-resources/css/LayerTreeBuilder.css b/ext-resources/css/LayerTreeBuilder.css deleted file mode 100755 index 13913cc..0000000 --- a/ext-resources/css/LayerTreeBuilder.css +++ /dev/null @@ -1,10 +0,0 @@ -.gx-layertreebuilder-legend { - padding-left: 26px; -} -.x-tree-node-el { - border-bottom: 1px solid #ddd; - padding-bottom: 3px; -} -.gx-tree-layer-icon { - display: none; -} \ No newline at end of file diff --git a/ext-resources/css/ext-gisclient.css b/ext-resources/css/ext-gisclient.css deleted file mode 100755 index 21afbfd..0000000 --- a/ext-resources/css/ext-gisclient.css +++ /dev/null @@ -1,1652 +0,0 @@ -/*! - * Ext JS Library 3.3.0 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license - */ -.ext-el-mask { - background-color: #ccc; -} - -.ext-el-mask-msg { - border-color:#6593cf; - background-color:#c3daf9; - background-image:url(../images/default/box/tb-blue.gif); -} -.ext-el-mask-msg div { - background-color: #eee; - border-color:#a3bad9; - color:#222; - font:normal 11px tahoma, arial, helvetica, sans-serif; -} - -.x-mask-loading div { - background-color:#fbfbfb; - background-image:url(../images/default/grid/loading.gif); -} - -.x-item-disabled { - color: gray; -} - -.x-item-disabled * { - color: gray !important; -} - -.x-splitbar-proxy { - background-color: #aaa; -} - -.x-color-palette a { - border-color:#fff; -} - -.x-color-palette a:hover, .x-color-palette a.x-color-palette-sel { - border-color:#8bb8f3; - background-color: #deecfd; -} - -/* -.x-color-palette em:hover, .x-color-palette span:hover{ - background-color: #deecfd; -} -*/ - -.x-color-palette em { - border-color:#aca899; -} - -.x-ie-shadow { - background-color:#777; -} - -.x-shadow .xsmc { - background-image: url(../images/default/shadow-c.png); -} - -.x-shadow .xsml, .x-shadow .xsmr { - background-image: url(../images/default/shadow-lr.png); -} - -.x-shadow .xstl, .x-shadow .xstc, .x-shadow .xstr, .x-shadow .xsbl, .x-shadow .xsbc, .x-shadow .xsbr{ - background-image: url(../images/default/shadow.png); -} - -.loading-indicator { - font-size: 11px; - background-image: url(../images/default/grid/loading.gif); -} - -.x-spotlight { - background-color: #ccc; -} -.x-tab-panel-header, .x-tab-panel-footer { - background-color: #deecfd; - border-color:#8db2e3; - overflow:hidden; - zoom:1; -} - -.x-tab-panel-header, .x-tab-panel-footer { - border-color:#8db2e3; -} - -ul.x-tab-strip-top{ - background-color:#cedff5; - background-image: url(../images/default/tabs/tab-strip-bg.gif); - border-bottom-color:#8db2e3; -} - -ul.x-tab-strip-bottom{ - background-color:#cedff5; - background-image: url(../images/default/tabs/tab-strip-btm-bg.gif); - border-top-color:#8db2e3; -} - -.x-tab-panel-header-plain .x-tab-strip-spacer, -.x-tab-panel-footer-plain .x-tab-strip-spacer { - border-color:#8db2e3; - background-color: #deecfd; -} - -.x-tab-strip span.x-tab-strip-text { - font:normal 11px tahoma,arial,helvetica; - color:#416aa3; -} - -.x-tab-strip-over span.x-tab-strip-text { - color:#15428b; -} - -.x-tab-strip-active span.x-tab-strip-text { - color:#15428b; - font-weight:bold; -} - -.x-tab-strip-disabled .x-tabs-text { - color:#aaaaaa; -} - -.x-tab-strip-top .x-tab-right, .x-tab-strip-top .x-tab-left, .x-tab-strip-top .x-tab-strip-inner{ - background-image: url(../images/default/tabs/tabs-sprite.gif); -} - -.x-tab-strip-bottom .x-tab-right { - background-image: url(../images/default/tabs/tab-btm-inactive-right-bg.gif); -} - -.x-tab-strip-bottom .x-tab-left { - background-image: url(../images/default/tabs/tab-btm-inactive-left-bg.gif); -} - -.x-tab-strip-bottom .x-tab-strip-over .x-tab-right { - background-image: url(../images/default/tabs/tab-btm-over-right-bg.gif); -} - -.x-tab-strip-bottom .x-tab-strip-over .x-tab-left { - background-image: url(../images/default/tabs/tab-btm-over-left-bg.gif); -} - -.x-tab-strip-bottom .x-tab-strip-active .x-tab-right { - background-image: url(../images/default/tabs/tab-btm-right-bg.gif); -} - -.x-tab-strip-bottom .x-tab-strip-active .x-tab-left { - background-image: url(../images/default/tabs/tab-btm-left-bg.gif); -} - -.x-tab-strip .x-tab-strip-closable a.x-tab-strip-close { - background-image:url(../images/default/tabs/tab-close.gif); -} - -.x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover{ - background-image:url(../images/default/tabs/tab-close.gif); -} - -.x-tab-panel-body { - border-color:#8db2e3; - background-color:#fff; -} - -.x-tab-panel-body-top { - border-top: 0 none; -} - -.x-tab-panel-body-bottom { - border-bottom: 0 none; -} - -.x-tab-scroller-left { - background-image:url(../images/default/tabs/scroll-left.gif); - border-bottom-color:#8db2e3; -} - -.x-tab-scroller-left-over { - background-position: 0 0; -} - -.x-tab-scroller-left-disabled { - background-position: -18px 0; - opacity:.5; - -moz-opacity:.5; - filter:alpha(opacity=50); - cursor:default; -} - -.x-tab-scroller-right { - background-image:url(../images/default/tabs/scroll-right.gif); - border-bottom-color:#8db2e3; -} - -.x-tab-panel-bbar .x-toolbar, .x-tab-panel-tbar .x-toolbar { - border-color:#99bbe8; -}.x-form-field { - font:normal 12px tahoma, arial, helvetica, sans-serif; -} - -.x-form-text, textarea.x-form-field { - background-color:#fff; - background-image:url(../images/default/form/text-bg.gif); - border-color:#b5b8c8; -} - -.x-form-select-one { - background-color:#fff; - border-color:#b5b8c8; -} - -.x-form-check-group-label { - border-bottom: 1px solid #99bbe8; - color: #15428b; -} - -.x-editor .x-form-check-wrap { - background-color:#fff; -} - -.x-form-field-wrap .x-form-trigger { - background-image:url(../images/default/form/trigger.gif); - border-bottom-color:#b5b8c8; -} - -.x-form-field-wrap .x-form-date-trigger { - background-image: url(../images/default/form/date-trigger.gif); -} - -.x-form-field-wrap .x-form-clear-trigger { - background-image: url(../images/default/form/clear-trigger.gif); -} - -.x-form-field-wrap .x-form-search-trigger { - background-image: url(../images/default/form/search-trigger.gif); -} - -.x-trigger-wrap-focus .x-form-trigger { - border-bottom-color:#7eadd9; -} - -.x-item-disabled .x-form-trigger-over { - border-bottom-color:#b5b8c8; -} - -.x-item-disabled .x-form-trigger-click { - border-bottom-color:#b5b8c8; -} - -.x-form-focus, textarea.x-form-focus { - border-color:#7eadd9; -} - -.x-form-invalid, textarea.x-form-invalid { - background-color:#fff; - background-image:url(../images/default/grid/invalid_line.gif); - border-color:#c30; -} - -.x-form-invalid.x-form-composite { - border: none; - background-image: none; -} - -.x-form-invalid.x-form-composite .x-form-invalid { - background-color:#fff; - background-image:url(../images/default/grid/invalid_line.gif); - border-color:#c30; -} - -.x-form-inner-invalid, textarea.x-form-inner-invalid { - background-color:#fff; - background-image:url(../images/default/grid/invalid_line.gif); -} - -.x-form-grow-sizer { - font:normal 12px tahoma, arial, helvetica, sans-serif; -} - -.x-form-item { - font:normal 12px tahoma, arial, helvetica, sans-serif; -} - -.x-form-invalid-msg { - color:#c0272b; - font:normal 11px tahoma, arial, helvetica, sans-serif; - background-image:url(../images/default/shared/warning.gif); -} - -.x-form-empty-field { - color:gray; -} - -.x-small-editor .x-form-field { - font:normal 11px arial, tahoma, helvetica, sans-serif; -} - -.ext-webkit .x-small-editor .x-form-field { - font:normal 11px arial, tahoma, helvetica, sans-serif; -} - -.x-form-invalid-icon { - background-image:url(../images/default/form/exclamation.gif); -} - -.x-fieldset { - border-color:#b5b8c8; -} - -.x-fieldset legend { - font:bold 11px tahoma, arial, helvetica, sans-serif; - color:#15428b; -} -.x-btn{ - font:normal 11px tahoma, verdana, helvetica; -} - -.x-btn button{ - font:normal 11px arial,tahoma,verdana,helvetica; - color:#333; -} - -.x-btn em { - font-style:normal; - font-weight:normal; -} - -.x-btn-tl, .x-btn-tr, .x-btn-tc, .x-btn-ml, .x-btn-mr, .x-btn-mc, .x-btn-bl, .x-btn-br, .x-btn-bc{ - background-image:url(../images/default/button/btn.gif); -} - -.x-btn-click .x-btn-text, .x-btn-menu-active .x-btn-text, .x-btn-pressed .x-btn-text{ - color:#000; -} - -.x-btn-disabled *{ - color:gray !important; -} - -.x-btn-mc em.x-btn-arrow { - background-image:url(../images/default/button/arrow.gif); -} - -.x-btn-mc em.x-btn-split { - background-image:url(../images/default/button/s-arrow.gif); -} - -.x-btn-over .x-btn-mc em.x-btn-split, .x-btn-click .x-btn-mc em.x-btn-split, .x-btn-menu-active .x-btn-mc em.x-btn-split, .x-btn-pressed .x-btn-mc em.x-btn-split { - background-image:url(../images/default/button/s-arrow-o.gif); -} - -.x-btn-mc em.x-btn-arrow-bottom { - background-image:url(../images/default/button/s-arrow-b-noline.gif); -} - -.x-btn-mc em.x-btn-split-bottom { - background-image:url(../images/default/button/s-arrow-b.gif); -} - -.x-btn-over .x-btn-mc em.x-btn-split-bottom, .x-btn-click .x-btn-mc em.x-btn-split-bottom, .x-btn-menu-active .x-btn-mc em.x-btn-split-bottom, .x-btn-pressed .x-btn-mc em.x-btn-split-bottom { - background-image:url(../images/default/button/s-arrow-bo.gif); -} - -.x-btn-group-header { - color: #3e6aaa; -} - -.x-btn-group-tc { - background-image: url(../images/default/button/group-tb.gif); -} - -.x-btn-group-tl { - background-image: url(../images/default/button/group-cs.gif); -} - -.x-btn-group-tr { - background-image: url(../images/default/button/group-cs.gif); -} - -.x-btn-group-bc { - background-image: url(../images/default/button/group-tb.gif); -} - -.x-btn-group-bl { - background-image: url(../images/default/button/group-cs.gif); -} - -.x-btn-group-br { - background-image: url(../images/default/button/group-cs.gif); -} - -.x-btn-group-ml { - background-image: url(../images/default/button/group-lr.gif); -} -.x-btn-group-mr { - background-image: url(../images/default/button/group-lr.gif); -} - -.x-btn-group-notitle .x-btn-group-tc { - background-image: url(../images/default/button/group-tb.gif); -}.x-toolbar{ - border-color:#a9bfd3; - background-color:#d0def0; - background-image:url(../images/default/toolbar/bg.gif); -} - -.x-toolbar td,.x-toolbar span,.x-toolbar input,.x-toolbar div,.x-toolbar select,.x-toolbar label{ - font:normal 11px arial,tahoma, helvetica, sans-serif; -} - -.x-toolbar .x-item-disabled { - color:gray; -} - -.x-toolbar .x-item-disabled * { - color:gray; -} - -.x-toolbar .x-btn-mc em.x-btn-split { - background-image:url(../images/default/button/s-arrow-noline.gif); -} - -.x-toolbar .x-btn-over .x-btn-mc em.x-btn-split, .x-toolbar .x-btn-click .x-btn-mc em.x-btn-split, -.x-toolbar .x-btn-menu-active .x-btn-mc em.x-btn-split, .x-toolbar .x-btn-pressed .x-btn-mc em.x-btn-split -{ - background-image:url(../images/default/button/s-arrow-o.gif); -} - -.x-toolbar .x-btn-mc em.x-btn-split-bottom { - background-image:url(../images/default/button/s-arrow-b-noline.gif); -} - -.x-toolbar .x-btn-over .x-btn-mc em.x-btn-split-bottom, .x-toolbar .x-btn-click .x-btn-mc em.x-btn-split-bottom, -.x-toolbar .x-btn-menu-active .x-btn-mc em.x-btn-split-bottom, .x-toolbar .x-btn-pressed .x-btn-mc em.x-btn-split-bottom -{ - background-image:url(../images/default/button/s-arrow-bo.gif); -} - -.x-toolbar .xtb-sep { - background-image: url(../images/default/grid/grid-blue-split.gif); -} - -.x-tbar-page-first{ - background-image: url(../images/default/grid/page-first.gif) !important; -} - -.x-tbar-loading{ - background-image: url(../images/default/grid/refresh.gif) !important; -} - -.x-tbar-page-last{ - background-image: url(../images/default/grid/page-last.gif) !important; -} - -.x-tbar-page-next{ - background-image: url(../images/default/grid/page-next.gif) !important; -} - -.x-tbar-page-prev{ - background-image: url(../images/default/grid/page-prev.gif) !important; -} - -.x-item-disabled .x-tbar-loading{ - background-image: url(../images/default/grid/refresh-disabled.gif) !important; -} - -.x-item-disabled .x-tbar-page-first{ - background-image: url(../images/default/grid/page-first-disabled.gif) !important; -} - -.x-item-disabled .x-tbar-page-last{ - background-image: url(../images/default/grid/page-last-disabled.gif) !important; -} - -.x-item-disabled .x-tbar-page-next{ - background-image: url(../images/default/grid/page-next-disabled.gif) !important; -} - -.x-item-disabled .x-tbar-page-prev{ - background-image: url(../images/default/grid/page-prev-disabled.gif) !important; -} - -.x-paging-info { - color:#444; -} - -.x-toolbar-more-icon { - background-image: url(../images/default/toolbar/more.gif) !important; -}.x-resizable-handle { - background-color:#fff; -} - -.x-resizable-over .x-resizable-handle-east, .x-resizable-pinned .x-resizable-handle-east, -.x-resizable-over .x-resizable-handle-west, .x-resizable-pinned .x-resizable-handle-west -{ - background-image:url(../images/default/sizer/e-handle.gif); -} - -.x-resizable-over .x-resizable-handle-south, .x-resizable-pinned .x-resizable-handle-south, -.x-resizable-over .x-resizable-handle-north, .x-resizable-pinned .x-resizable-handle-north -{ - background-image:url(../images/default/sizer/s-handle.gif); -} - -.x-resizable-over .x-resizable-handle-north, .x-resizable-pinned .x-resizable-handle-north{ - background-image:url(../images/default/sizer/s-handle.gif); -} -.x-resizable-over .x-resizable-handle-southeast, .x-resizable-pinned .x-resizable-handle-southeast{ - background-image:url(../images/default/sizer/se-handle.gif); -} -.x-resizable-over .x-resizable-handle-northwest, .x-resizable-pinned .x-resizable-handle-northwest{ - background-image:url(../images/default/sizer/nw-handle.gif); -} -.x-resizable-over .x-resizable-handle-northeast, .x-resizable-pinned .x-resizable-handle-northeast{ - background-image:url(../images/default/sizer/ne-handle.gif); -} -.x-resizable-over .x-resizable-handle-southwest, .x-resizable-pinned .x-resizable-handle-southwest{ - background-image:url(../images/default/sizer/sw-handle.gif); -} -.x-resizable-proxy{ - border-color:#3b5a82; -} -.x-resizable-overlay{ - background-color:#fff; -} -.x-grid3 { - background-color:#fff; -} - -.x-grid-panel .x-panel-mc .x-panel-body { - border-color:#99bbe8; -} - -.x-grid3-row td, .x-grid3-summary-row td{ - font:normal 11px/13px arial, tahoma, helvetica, sans-serif; -} - -.x-grid3-hd-row td { - font:normal 11px/15px arial, tahoma, helvetica, sans-serif; -} - - -.x-grid3-hd-row td { - border-left-color:#eee; - border-right-color:#d0d0d0; -} - -.x-grid-row-loading { - background-color: #fff; - background-image:url(../images/default/shared/loading-balls.gif); -} - -.x-grid3-row { - border-color:#ededed; - border-top-color:#fff; -} - -.x-grid3-row-alt{ - background-color:#fafafa; -} - -.x-grid3-row-over { - border-color:#ddd; - background-color:#efefef; - background-image:url(../images/default/grid/row-over.gif); -} - -.x-grid3-resize-proxy { - background-color:#777; -} - -.x-grid3-resize-marker { - background-color:#777; -} - -.x-grid3-header{ - background-color:#f9f9f9; - background-image:url(../images/default/grid/grid3-hrow.gif); -} - -.x-grid3-header-pop { - border-left-color:#d0d0d0; -} - -.x-grid3-header-pop-inner { - border-left-color:#eee; - background-image:url(../images/default/grid/hd-pop.gif); -} - -td.x-grid3-hd-over, td.sort-desc, td.sort-asc, td.x-grid3-hd-menu-open { - border-left-color:#aaccf6; - border-right-color:#aaccf6; -} - -td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-asc .x-grid3-hd-inner, td.x-grid3-hd-menu-open .x-grid3-hd-inner { - background-color:#ebf3fd; - background-image:url(../images/default/grid/grid3-hrow-over.gif); - -} - -.sort-asc .x-grid3-sort-icon { - background-image: url(../images/default/grid/sort_asc.gif); -} - -.sort-desc .x-grid3-sort-icon { - background-image: url(../images/default/grid/sort_desc.gif); -} - -.x-grid3-cell-text, .x-grid3-hd-text { - color:#000; -} - -.x-grid3-split { - background-image: url(../images/default/grid/grid-split.gif); -} - -.x-grid3-hd-text { - color:#15428b; -} - -.x-dd-drag-proxy .x-grid3-hd-inner{ - background-color:#ebf3fd; - background-image:url(../images/default/grid/grid3-hrow-over.gif); - border-color:#aaccf6; -} - -.col-move-top{ - background-image:url(../images/default/grid/col-move-top.gif); -} - -.col-move-bottom{ - background-image:url(../images/default/grid/col-move-bottom.gif); -} - -td.grid-hd-group-cell { - background: url(../images/default/grid/grid3-hrow.gif) repeat-x bottom; -} - -.x-grid3-row-selected { - background-color: #dfe8f6 !important; - background-image: none; - border-color:#a3bae9; -} - -.x-grid3-cell-selected{ - background-color: #b8cfee !important; - color:#000; -} - -.x-grid3-cell-selected span{ - color:#000 !important; -} - -.x-grid3-cell-selected .x-grid3-cell-text{ - color:#000; -} - -.x-grid3-locked td.x-grid3-row-marker, .x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker{ - background-color:#ebeadb !important; - background-image:url(../images/default/grid/grid-hrow.gif) !important; - color:#000; - border-top-color:#fff; - border-right-color:#6fa0df !important; -} - -.x-grid3-locked td.x-grid3-row-marker div, .x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker div{ - color:#15428b !important; -} - -.x-grid3-dirty-cell { - background-image:url(../images/default/grid/dirty.gif); -} - -.x-grid3-topbar, .x-grid3-bottombar{ - font:normal 11px arial, tahoma, helvetica, sans-serif; -} - -.x-grid3-bottombar .x-toolbar{ - border-top-color:#a9bfd3; -} - -.x-props-grid .x-grid3-td-name .x-grid3-cell-inner{ - background-image:url(../images/default/grid/grid3-special-col-bg.gif) !important; - color:#000 !important; -} - -.x-props-grid .x-grid3-body .x-grid3-td-name{ - background-color:#fff !important; - border-right-color:#eee; -} - -.xg-hmenu-sort-asc .x-menu-item-icon{ - background-image: url(../images/default/grid/hmenu-asc.gif); -} - -.xg-hmenu-sort-desc .x-menu-item-icon{ - background-image: url(../images/default/grid/hmenu-desc.gif); -} - -.xg-hmenu-lock .x-menu-item-icon{ - background-image: url(../images/default/grid/hmenu-lock.gif); -} - -.xg-hmenu-unlock .x-menu-item-icon{ - background-image: url(../images/default/grid/hmenu-unlock.gif); -} - -.x-grid3-hd-btn { - background-color:#c3daf9; - background-image:url(../images/default/grid/grid3-hd-btn.gif); -} - -.x-grid3-body .x-grid3-td-expander { - background-image:url(../images/default/grid/grid3-special-col-bg.gif); -} - -.x-grid3-row-expander { - background-image:url(../images/default/grid/row-expand-sprite.gif); -} - -.x-grid3-body .x-grid3-td-checker { - background-image: url(../images/default/grid/grid3-special-col-bg.gif); -} - -.x-grid3-row-checker, .x-grid3-hd-checker { - background-image:url(../images/default/grid/row-check-sprite.gif); -} - -.x-grid3-body .x-grid3-td-numberer { - background-image:url(../images/default/grid/grid3-special-col-bg.gif); -} - -.x-grid3-body .x-grid3-td-numberer .x-grid3-cell-inner { - color:#444; -} - -.x-grid3-body .x-grid3-td-row-icon { - background-image:url(../images/default/grid/grid3-special-col-bg.gif); -} - -.x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer, -.x-grid3-body .x-grid3-row-selected .x-grid3-td-checker, -.x-grid3-body .x-grid3-row-selected .x-grid3-td-expander { - background-image:url(../images/default/grid/grid3-special-col-sel-bg.gif); -} - -.x-grid3-check-col { - background-image:url(../images/default/menu/unchecked.gif); -} - -.x-grid3-check-col-on { - background-image:url(../images/default/menu/checked.gif); -} - -.x-grid-group, .x-grid-group-body, .x-grid-group-hd { - zoom:1; -} - -.x-grid-group-hd { - border-bottom-color:#99bbe8; -} - -.x-grid-group-hd div.x-grid-group-title { - background-image:url(../images/default/grid/group-collapse.gif); - color:#3764a0; - font:bold 11px tahoma, arial, helvetica, sans-serif; -} - -.x-grid-group-collapsed .x-grid-group-hd div.x-grid-group-title { - background-image:url(../images/default/grid/group-expand.gif); -} - -.x-group-by-icon { - background-image:url(../images/default/grid/group-by.gif); -} - -.x-cols-icon { - background-image:url(../images/default/grid/columns.gif); -} - -.x-show-groups-icon { - background-image:url(../images/default/grid/group-by.gif); -} - -.x-grid-empty { - color:gray; - font:normal 11px tahoma, arial, helvetica, sans-serif; -} - -.x-grid-with-col-lines .x-grid3-row td.x-grid3-cell { - border-right-color:#ededed; -} - -.x-grid-with-col-lines .x-grid3-row-selected { - border-top-color:#a3bae9; -}.x-dd-drag-ghost{ - color:#000; - font: normal 11px arial, helvetica, sans-serif; - border-color: #ddd #bbb #bbb #ddd; - background-color:#fff; -} - -.x-dd-drop-nodrop .x-dd-drop-icon{ - background-image: url(../images/default/dd/drop-no.gif); -} - -.x-dd-drop-ok .x-dd-drop-icon{ - background-image: url(../images/default/dd/drop-yes.gif); -} - -.x-dd-drop-ok-add .x-dd-drop-icon{ - background-image: url(../images/default/dd/drop-add.gif); -} - -.x-view-selector { - background-color:#c3daf9; - border-color:#3399bb; -}.x-tree-node-expanded .x-tree-node-icon{ - background-image:url(../images/default/tree/folder-open.gif); -} - -.x-tree-node-leaf .x-tree-node-icon{ - background-image:url(../images/default/tree/leaf.gif); -} - -.x-tree-node-collapsed .x-tree-node-icon{ - background-image:url(../images/default/tree/folder.gif); -} - -.x-tree-node-loading .x-tree-node-icon{ - background-image:url(../images/default/tree/loading.gif) !important; -} - -.x-tree-node .x-tree-node-inline-icon { - background-image: none; -} - -.x-tree-node-loading a span{ - font-style: italic; - color:#444444; -} - -.x-tree-lines .x-tree-elbow{ - background-image:url(../images/default/tree/elbow.gif); -} - -.x-tree-lines .x-tree-elbow-plus{ - background-image:url(../images/default/tree/elbow-plus.gif); -} - -.x-tree-lines .x-tree-elbow-minus{ - background-image:url(../images/default/tree/elbow-minus.gif); -} - -.x-tree-lines .x-tree-elbow-end{ - background-image:url(../images/default/tree/elbow-end.gif); -} - -.x-tree-lines .x-tree-elbow-end-plus{ - background-image:url(../images/default/tree/elbow-end-plus.gif); -} - -.x-tree-lines .x-tree-elbow-end-minus{ - background-image:url(../images/default/tree/elbow-end-minus.gif); -} - -.x-tree-lines .x-tree-elbow-line{ - background-image:url(../images/default/tree/elbow-line.gif); -} - -.x-tree-no-lines .x-tree-elbow-plus{ - background-image:url(../images/default/tree/elbow-plus-nl.gif); -} - -.x-tree-no-lines .x-tree-elbow-minus{ - background-image:url(../images/default/tree/elbow-minus-nl.gif); -} - -.x-tree-no-lines .x-tree-elbow-end-plus{ - background-image:url(../images/default/tree/elbow-end-plus-nl.gif); -} - -.x-tree-no-lines .x-tree-elbow-end-minus{ - background-image:url(../images/default/tree/elbow-end-minus-nl.gif); -} - -.x-tree-arrows .x-tree-elbow-plus{ - background-image:url(../images/default/tree/arrows.gif); -} - -.x-tree-arrows .x-tree-elbow-minus{ - background-image:url(../images/default/tree/arrows.gif); -} - -.x-tree-arrows .x-tree-elbow-end-plus{ - background-image:url(../images/default/tree/arrows.gif); -} - -.x-tree-arrows .x-tree-elbow-end-minus{ - background-image:url(../images/default/tree/arrows.gif); -} - -.x-tree-node{ - color:#000; - font: normal 11px arial, tahoma, helvetica, sans-serif; -} - -.x-tree-node a, .x-dd-drag-ghost a{ - color:#000; -} - -.x-tree-node a span, .x-dd-drag-ghost a span{ - color:#000; -} - -.x-tree-node .x-tree-node-disabled a span{ - color:gray !important; -} - -.x-tree-node div.x-tree-drag-insert-below{ - border-bottom-color:#36c; -} - -.x-tree-node div.x-tree-drag-insert-above{ - border-top-color:#36c; -} - -.x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below a{ - border-bottom-color:#36c; -} - -.x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above a{ - border-top-color:#36c; -} - -.x-tree-node .x-tree-drag-append a span{ - background-color:#ddd; - border-color:gray; -} - -.x-tree-node .x-tree-node-over { - background-color: #eee; -} - -.x-tree-node .x-tree-selected { - background-color: #d9e8fb; -} - -.x-tree-drop-ok-append .x-dd-drop-icon{ - background-image: url(../images/default/tree/drop-add.gif); -} - -.x-tree-drop-ok-above .x-dd-drop-icon{ - background-image: url(../images/default/tree/drop-over.gif); -} - -.x-tree-drop-ok-below .x-dd-drop-icon{ - background-image: url(../images/default/tree/drop-under.gif); -} - -.x-tree-drop-ok-between .x-dd-drop-icon{ - background-image: url(../images/default/tree/drop-between.gif); -}.x-date-picker { - border-color: #1b376c; - background-color:#fff; -} - -.x-date-middle,.x-date-left,.x-date-right { - background-image: url(../images/default/shared/hd-sprite.gif); - color:#fff; - font:bold 11px "sans serif", tahoma, verdana, helvetica; -} - -.x-date-middle .x-btn .x-btn-text { - color:#fff; -} - -.x-date-middle .x-btn-mc em.x-btn-arrow { - background-image:url(../images/default/toolbar/btn-arrow-light.gif); -} - -.x-date-right a { - background-image: url(../images/default/shared/right-btn.gif); -} - -.x-date-left a{ - background-image: url(../images/default/shared/left-btn.gif); -} - -.x-date-inner th { - background-color:#dfecfb; - background-image:url(../images/default/shared/glass-bg.gif); - border-bottom-color:#a3bad9; - font:normal 10px arial, helvetica,tahoma,sans-serif; - color:#233d6d; -} - -.x-date-inner td { - border-color:#fff; -} - -.x-date-inner a { - font:normal 11px arial, helvetica,tahoma,sans-serif; - color:#000; -} - -.x-date-inner .x-date-active{ - color:#000; -} - -.x-date-inner .x-date-selected a{ - background-color:#dfecfb; - background-image:url(../images/default/shared/glass-bg.gif); - border-color:#8db2e3; -} - -.x-date-inner .x-date-today a{ - border-color:darkred; -} - -.x-date-inner .x-date-selected span{ - font-weight:bold; -} - -.x-date-inner .x-date-prevday a,.x-date-inner .x-date-nextday a { - color:#aaa; -} - -.x-date-bottom { - border-top-color:#a3bad9; - background-color:#dfecfb; - background-image:url(../images/default/shared/glass-bg.gif); -} - -.x-date-inner a:hover, .x-date-inner .x-date-disabled a:hover{ - color:#000; - background-color:#ddecfe; -} - -.x-date-inner .x-date-disabled a { - background-color:#eee; - color:#bbb; -} - -.x-date-mmenu{ - background-color:#eee !important; -} - -.x-date-mmenu .x-menu-item { - font-size:10px; - color:#000; -} - -.x-date-mp { - background-color:#fff; -} - -.x-date-mp td { - font:normal 11px arial, helvetica,tahoma,sans-serif; -} - -.x-date-mp-btns button { - background-color:#083772; - color:#fff; - border-color: #3366cc #000055 #000055 #3366cc; - font:normal 11px arial, helvetica,tahoma,sans-serif; -} - -.x-date-mp-btns { - background-color: #dfecfb; - background-image: url(../images/default/shared/glass-bg.gif); -} - -.x-date-mp-btns td { - border-top-color: #c5d2df; -} - -td.x-date-mp-month a,td.x-date-mp-year a { - color:#15428b; -} - -td.x-date-mp-month a:hover,td.x-date-mp-year a:hover { - color:#15428b; - background-color: #ddecfe; -} - -td.x-date-mp-sel a { - background-color: #dfecfb; - background-image: url(../images/default/shared/glass-bg.gif); - border-color:#8db2e3; -} - -.x-date-mp-ybtn a { - background-image:url(../images/default/panel/tool-sprites.gif); -} - -td.x-date-mp-sep { - border-right-color:#c5d2df; -}.x-tip .x-tip-close{ - background-image: url(../images/default/qtip/close.gif); -} - -.x-tip .x-tip-tc, .x-tip .x-tip-tl, .x-tip .x-tip-tr, .x-tip .x-tip-bc, .x-tip .x-tip-bl, .x-tip .x-tip-br, .x-tip .x-tip-ml, .x-tip .x-tip-mr { - background-image: url(../images/default/qtip/tip-sprite.gif); -} - -.x-tip .x-tip-mc { - font: normal 11px tahoma,arial,helvetica,sans-serif; -} -.x-tip .x-tip-ml { - background-color: #fff; -} - -.x-tip .x-tip-header-text { - font: bold 11px tahoma,arial,helvetica,sans-serif; - color:#444; -} - -.x-tip .x-tip-body { - font: normal 11px tahoma,arial,helvetica,sans-serif; - color:#444; -} - -.x-form-invalid-tip .x-tip-tc, .x-form-invalid-tip .x-tip-tl, .x-form-invalid-tip .x-tip-tr, .x-form-invalid-tip .x-tip-bc, -.x-form-invalid-tip .x-tip-bl, .x-form-invalid-tip .x-tip-br, .x-form-invalid-tip .x-tip-ml, .x-form-invalid-tip .x-tip-mr -{ - background-image: url(../images/default/form/error-tip-corners.gif); -} - -.x-form-invalid-tip .x-tip-body { - background-image:url(../images/default/form/exclamation.gif); -} - -.x-tip-anchor { - background-image:url(../images/default/qtip/tip-anchor-sprite.gif); -}.x-menu { - background-color:#f0f0f0; - background-image:url(../images/default/menu/menu.gif); -} - -.x-menu-floating{ - border-color:#718bb7; -} - -.x-menu-nosep { - background-image:none; -} - -.x-menu-list-item{ - font:normal 11px arial,tahoma,sans-serif; -} - -.x-menu-item-arrow{ - background-image:url(../images/default/menu/menu-parent.gif); -} - -.x-menu-sep { - background-color:#e0e0e0; - border-bottom-color:#fff; -} - -a.x-menu-item { - color:#222; -} - -.x-menu-item-active { - background-image: url(../images/default/menu/item-over.gif); - background-color: #dbecf4; - border-color:#aaccf6; -} - -.x-menu-item-active a.x-menu-item { - border-color:#aaccf6; -} - -.x-menu-check-item .x-menu-item-icon{ - background-image:url(../images/default/menu/unchecked.gif); -} - -.x-menu-item-checked .x-menu-item-icon{ - background-image:url(../images/default/menu/checked.gif); -} - -.x-menu-item-checked .x-menu-group-item .x-menu-item-icon{ - background-image:url(../images/default/menu/group-checked.gif); -} - -.x-menu-group-item .x-menu-item-icon{ - background-image:none; -} - -.x-menu-plain { - background-color:#f0f0f0 !important; - background-image: none; -} - -.x-date-menu, .x-color-menu{ - background-color: #fff !important; -} - -.x-menu .x-date-picker{ - border-color:#a3bad9; -} - -.x-cycle-menu .x-menu-item-checked { - border-color:#a3bae9 !important; - background-color:#def8f6; -} - -.x-menu-scroller-top { - background-image:url(../images/default/layout/mini-top.gif); -} - -.x-menu-scroller-bottom { - background-image:url(../images/default/layout/mini-bottom.gif); -} -.x-box-tl { - background-image: url(../images/default/box/corners.gif); -} - -.x-box-tc { - background-image: url(../images/default/box/tb.gif); -} - -.x-box-tr { - background-image: url(../images/default/box/corners.gif); -} - -.x-box-ml { - background-image: url(../images/default/box/l.gif); -} - -.x-box-mc { - background-color: #eee; - background-image: url(../images/default/box/tb.gif); - font-family: "Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif; - color: #393939; - font-size: 12px; -} - -.x-box-mc h3 { - font-size: 14px; - font-weight: bold; -} - -.x-box-mr { - background-image: url(../images/default/box/r.gif); -} - -.x-box-bl { - background-image: url(../images/default/box/corners.gif); -} - -.x-box-bc { - background-image: url(../images/default/box/tb.gif); -} - -.x-box-br { - background-image: url(../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(../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(../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(../images/default/box/l-blue.gif); -} - -.x-box-blue .x-box-mr { - background-image: url(../images/default/box/r-blue.gif); -}.x-combo-list { - border-color:#98c0f4; - background-color:#ddecfe; - font:normal 12px tahoma, arial, helvetica, sans-serif; -} - -.x-combo-list-inner { - background-color:#fff; -} - -.x-combo-list-hd { - font:bold 11px tahoma, arial, helvetica, sans-serif; - color:#15428b; - background-image: url(../images/default/layout/panel-title-light-bg.gif); - border-bottom-color:#98c0f4; -} - -.x-resizable-pinned .x-combo-list-inner { - border-bottom-color:#98c0f4; -} - -.x-combo-list-item { - border-color:#fff; -} - -.x-combo-list .x-combo-selected{ - border-color:#a3bae9 !important; - background-color:#dfe8f6; -} - -.x-combo-list .x-toolbar { - border-top-color:#98c0f4; -} - -.x-combo-list-small { - font:normal 11px tahoma, arial, helvetica, sans-serif; -}.x-panel { - border-color: #99bbe8; -} - -.x-panel-header { - color:#15428b; - font-weight:bold; - font-size: 11px; - font-family: tahoma,arial,verdana,sans-serif; - border-color:#99bbe8; - background-image: url(../images/default/panel/white-top-bottom.gif); -} - -.x-panel-body { - border-color:#99bbe8; - background-color:#fff; -} - -.x-panel-bbar .x-toolbar, .x-panel-tbar .x-toolbar { - border-color:#99bbe8; -} - -.x-panel-tbar-noheader .x-toolbar, .x-panel-mc .x-panel-tbar .x-toolbar { - border-top-color:#99bbe8; -} - -.x-panel-body-noheader, .x-panel-mc .x-panel-body { - border-top-color:#99bbe8; -} - -.x-panel-tl .x-panel-header { - color:#15428b; - font:bold 11px tahoma,arial,verdana,sans-serif; -} - -.x-panel-tc { - background-image: url(../images/default/panel/top-bottom.gif); -} - -.x-panel-tl, .x-panel-tr, .x-panel-bl, .x-panel-br{ - background-image: url(../images/default/panel/corners-sprite.gif); - border-bottom-color:#99bbe8; -} - -.x-panel-bc { - background-image: url(../images/default/panel/top-bottom.gif); -} - -.x-panel-mc { - font: normal 11px tahoma,arial,helvetica,sans-serif; - background-color:#dfe8f6; -} - -.x-panel-ml { - background-color: #fff; - background-image:url(../images/default/panel/left-right.gif); -} - -.x-panel-mr { - background-image: url(../images/default/panel/left-right.gif); -} - -.x-tool { - background-image:url(../images/default/panel/tool-sprites.gif); -} - -.x-panel-ghost { - background-color:#cbddf3; -} - -.x-panel-ghost ul { - border-color:#99bbe8; -} - -.x-panel-dd-spacer { - border-color:#99bbe8; -} - -.x-panel-fbar td,.x-panel-fbar span,.x-panel-fbar input,.x-panel-fbar div,.x-panel-fbar select,.x-panel-fbar label{ - font:normal 11px arial,tahoma, helvetica, sans-serif; -} -.x-window-proxy { - background-color:#c7dffc; - border-color:#99bbe8; -} - -.x-window-tl .x-window-header { - color:#15428b; - font:bold 11px tahoma,arial,verdana,sans-serif; -} - -.x-window-tc { - background-image: url(../images/default/window/top-bottom.png); -} - -.x-window-tl { - background-image: url(../images/default/window/left-corners.png); -} - -.x-window-tr { - background-image: url(../images/default/window/right-corners.png); -} - -.x-window-bc { - background-image: url(../images/default/window/top-bottom.png); -} - -.x-window-bl { - background-image: url(../images/default/window/left-corners.png); -} - -.x-window-br { - background-image: url(../images/default/window/right-corners.png); -} - -.x-window-mc { - border-color:#99bbe8; - font: normal 11px tahoma,arial,helvetica,sans-serif; - background-color:#dfe8f6; -} - -.x-window-ml { - background-image: url(../images/default/window/left-right.png); -} - -.x-window-mr { - background-image: url(../images/default/window/left-right.png); -} - -.x-window-maximized .x-window-tc { - background-color:#fff; -} - -.x-window-bbar .x-toolbar { - border-top-color:#99bbe8; -} - -.x-panel-ghost .x-window-tl { - border-bottom-color:#99bbe8; -} - -.x-panel-collapsed .x-window-tl { - border-bottom-color:#84a0c4; -} - -.x-dlg-mask{ - background-color:#ccc; -} - -.x-window-plain .x-window-mc { - background-color: #ccd9e8; - border-color: #a3bae9 #dfe8f6 #dfe8f6 #a3bae9; -} - -.x-window-plain .x-window-body { - border-color: #dfe8f6 #a3bae9 #a3bae9 #dfe8f6; -} - -body.x-body-masked .x-window-plain .x-window-mc { - background-color: #ccd9e8; -}.x-html-editor-wrap { - border-color:#a9bfd3; - background-color:#fff; -} -.x-html-editor-tb .x-btn-text { - background-image:url(../images/default/editor/tb-sprite.gif); -}.x-panel-noborder .x-panel-header-noborder { - border-bottom-color:#99bbe8; -} - -.x-panel-noborder .x-panel-tbar-noborder .x-toolbar { - border-bottom-color:#99bbe8; -} - -.x-panel-noborder .x-panel-bbar-noborder .x-toolbar { - border-top-color:#99bbe8; -} - -.x-tab-panel-bbar-noborder .x-toolbar { - border-top-color:#99bbe8; -} - -.x-tab-panel-tbar-noborder .x-toolbar { - border-bottom-color:#99bbe8; -}.x-border-layout-ct { - background-color:#dfe8f6; -} - -.x-accordion-hd { - color:#222; - font-weight:normal; - background-image: url(../images/default/panel/light-hd.gif); -} - -.x-layout-collapsed{ - background-color:#d2e0f2; - border-color:#98c0f4; -} - -.x-layout-collapsed-over{ - background-color:#d9e8fb; -} - -.x-layout-split-west .x-layout-mini { - background-image:url(../images/default/layout/mini-left.gif); -} -.x-layout-split-east .x-layout-mini { - background-image:url(../images/default/layout/mini-right.gif); -} -.x-layout-split-north .x-layout-mini { - background-image:url(../images/default/layout/mini-top.gif); -} -.x-layout-split-south .x-layout-mini { - background-image:url(../images/default/layout/mini-bottom.gif); -} - -.x-layout-cmini-west .x-layout-mini { - background-image:url(../images/default/layout/mini-right.gif); -} - -.x-layout-cmini-east .x-layout-mini { - background-image:url(../images/default/layout/mini-left.gif); -} - -.x-layout-cmini-north .x-layout-mini { - background-image:url(../images/default/layout/mini-bottom.gif); -} - -.x-layout-cmini-south .x-layout-mini { - background-image:url(../images/default/layout/mini-top.gif); -}.x-progress-wrap { - border-color:#6593cf; -} - -.x-progress-inner { - background-color:#e0e8f3; - background-image:url(../images/default/qtip/bg.gif); -} - -.x-progress-bar { - background-color:#9cbfee; - background-image:url(../images/default/progress/progress-bg.gif); - border-top-color:#d1e4fd; - border-bottom-color:#7fa9e4; - border-right-color:#7fa9e4; -} - -.x-progress-text { - font-size:11px; - font-weight:bold; - color:#fff; -} - -.x-progress-text-back { - color:#396095; -}.x-list-header{ - background-color:#f9f9f9; - background-image:url(../images/default/grid/grid3-hrow.gif); -} - -.x-list-header-inner div em { - border-left-color:#ddd; - font:normal 11px arial, tahoma, helvetica, sans-serif; -} - -.x-list-body dt em { - font:normal 11px arial, tahoma, helvetica, sans-serif; -} - -.x-list-over { - background-color:#eee; -} - -.x-list-selected { - background-color:#dfe8f6; -} - -.x-list-resizer { - border-left-color:#555; - border-right-color:#555; -} - -.x-list-header-inner em.sort-asc, .x-list-header-inner em.sort-desc { - background-image:url(../images/default/grid/sort-hd.gif); - border-color: #99bbe8; -}.x-slider-horz, .x-slider-horz .x-slider-end, .x-slider-horz .x-slider-inner { - background-image:url(../images/default/slider/slider-bg.png); -} - -.x-slider-horz .x-slider-thumb { - background-image:url(../images/default/slider/slider-thumb.png); -} - -.x-slider-vert, .x-slider-vert .x-slider-end, .x-slider-vert .x-slider-inner { - background-image:url(../images/default/slider/slider-v-bg.png); -} - -.x-slider-vert .x-slider-thumb { - background-image:url(../images/default/slider/slider-v-thumb.png); -}.x-window-dlg .ext-mb-text, -.x-window-dlg .x-window-header-text { - font-size:12px; -} - -.x-window-dlg .ext-mb-textarea { - font:normal 12px tahoma,arial,helvetica,sans-serif; -} - -.x-window-dlg .x-msg-box-wait { - background-image:url(../images/default/grid/loading.gif); -} - -.x-window-dlg .ext-mb-info { - background-image:url(../images/default/window/icon-info.gif); -} - -.x-window-dlg .ext-mb-warning { - background-image:url(../images/default/window/icon-warning.gif); -} - -.x-window-dlg .ext-mb-question { - background-image:url(../images/default/window/icon-question.gif); -} - -.x-window-dlg .ext-mb-error { - background-image:url(../images/default/window/icon-error.gif); -} \ No newline at end of file diff --git a/ext-resources/css/gcGeoext.css b/ext-resources/css/gcGeoext.css deleted file mode 100755 index 5f34cdc..0000000 --- a/ext-resources/css/gcGeoext.css +++ /dev/null @@ -1,437 +0,0 @@ - body { - font-family:helvetica,tahoma,verdana,sans-serif; - font-size:13px; - } - .zoomin { - background-image: url(theme/img/silk/magnifier_zoom_in.png) !important; - height:20px !important; - width:20px !important; - } - .zoomout { - background-image: url(theme/img/silk/magnifier_zoom_out.png) !important; - height:20px !important; - width:20px !important; - } - .zoomfull { - background-image:url(theme/img/silk/world.png) !important; - height:20px !important; - width:20px !important; - } - .pan { - background-image:url(theme/img/other/pan.png) !important; - height:20px !important; - width:20px !important; - } - .info { - background-image:url(theme/img/silk/information.png) !important; - height:20px !important; - width:20px !important; - - } - .back { - background-image:url(theme/img/other/navigation_history_active_prev.png) !important; - height:20px !important; - width:20px !important; - - } - .next { - background-image:url(theme/img/other/navigation_history_active_next.png) !important; - height:20px !important; - width:20px !important; - - } - .icon-measure-length{ - background-image:url(theme/img/geosilk/ruler.png) !important; - height:20px !important; - width:20px !important; - } - .icon-measure-area{ - background-image:url(theme/img/geosilk/ruler_square.png) !important; - height:20px !important; - width:20px !important; - } - - .address{ - background-image:url(theme/img/geosilk/ruler_square.png) !important; - height:20px !important; - width:20px !important; - } - .zoomto{ - background-image:url(theme/img/silk/bullet_go.png) !important; - height:20px !important; - width:20px !important; - } - - .drawpoint{ - background-image:url(theme/img/draw_point_on.png) !important; - } - .drawline{ - background-image:url(theme/img/draw_line_on.png) !important; - } - .drawfree{ - background-image:url(theme/img/silk/pencil.png) !important; - } - .drawlabel{ - background-image:url(theme/img/silk/comment.png) !important; - } - .delete{ - background-image:url(theme/img/silk/delete.png) !important; - } - .drawpolygon{ - background-image:url(theme/img/draw_polygon_on.png) !important; - - } - .editgeom{ - background-image:url(../images/icons/edit.png) !important; - } - .deletegeom{ - background-image:url(theme/img/silk/chart_line_delete.png) !important; - } - .queryresult{ - background-image:url(theme/img/silk/table_multiple.png) !important; - } - .pdf{ - background-image:url(theme/img/silk/page_white_acrobat.png) !important; - } - .geotiff{ - background-image:url(theme/img/silk/pictures.png) !important; - } - .printproperties{ - background-image:url(theme/img/silk/application_form.png) !important; - } - .play{ - background-image:url(theme/img/silk/control_play_blue.png) !important; - } - .marker{ - background-image:url(theme/img/marker-gold.png) !important; - margin-left:5px; - margin-top:5px; - height:16px !important; - width:16px !important; - } - .raster{ - background-image:url(theme/img/geosilk/map_wrench.png) !important; - } - .loading-panel{ - background-image:url(theme/img/loading-transparent.gif) !important; - margin-right:5px; - height:16px !important; - width:16px !important; - } - - .upload-icon{ - background-image:url(theme/img/silk/computer_add.png) !important; - margin-left:5px; - margin-top:5px; - height:16px !important; - width:16px !important; - } - .menu-selected{ - background-image:url(theme/img/silk/bullet_black.png) !important; - margin-left:0px; - margin-top:0px; - height:16px !important; - width:16px !important; - } - - .layers-menu{ - background-image:url(theme/img/other/layers.png) !important; - } - - - .olControlLoadingPanelold { - background-image:url(theme/img/other/loading_long.gif); - margin-left: 40%; - margin-top: 20%; - position: relative; - width: 195px; - height: 11px; - background-position:center; - background-repeat:no-repeat; - display: none; - } - .olControlLoadingPanel { - background-image: url(theme/img/loading-transparent.gif); - /* background-image: - url(http://extjs.cachefly.net/ext-3.3.1/resources/images/default/tree/loading.gif); */ - background-repeat: no-repeat; - /* background-color: #E8E8E8; */ - background-color: #D2E0F2; - background-position: 5px; - display: none; - z-index:1000; - color: #000000; - font: normal 12px sans-serif; - margin-left: 300px; - margin-top: 50px; - padding-left: 40px; - padding-top: 16px; - position: relative; - width: 130px; - height: 32px; - border: solid 1px; - border-bottom-color: #aaaaaa; - border-right-color: #aaaaaa; - border-top-color: #ddd; - border-left-color: #ddd; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - box-shadow: 2px 2px 2px #000; - -moz-box-shadow: 2px 2px 2px #000; - -webkit-box-shadow: 2px 2px 2px #000; - } - - .olImageLoadError { - background-image: url(theme/img/missing-tile.png); - background-repeat: no-repeat; - } - - .x-form-file-wrap { - position: relative; - height: 22px; - } - .x-form-file-wrap .x-form-file { - position: absolute; - right: 0; - -moz-opacity: 0; - filter:alpha(opacity: 0); - opacity: 0; - z-index: 2; - height: 22px; - } - .x-form-file-wrap .x-form-file-btn { - position: absolute; - right: 0; - z-index: 1; - } - .x-form-file-wrap .x-form-file-text { - position: absolute; - left: 0; - z-index: 3; - color: #777; - } - .load-image { - background-image: url(theme/img/silk/map_go.png) !important; - } - .center-image { - background-image: url(theme/img/silk/map_magnify.png) !important; - } - .insert-image { - background-image: url(theme/img/silk/map_add.png) !important; - } - .save-feature { - background-image: url(theme/img/silk/disk.png) !important; - } - .clear-feature { - background-image: url(theme/img/geosilk/decline.png) !important; - } - .alert { - background-image: url(theme/img/silk/error.png) !important; - } - .add-feature { - background-image: url(theme/img/geosilk/vector_add.png) !important; - } - .delete-feature { - background-image: url(theme/img/geosilk/vector_delete.png) !important; - } - .edit-feature { - background-image: url(theme/img/geosilk/vector.png) !important; - } - .user-button { - background-image: url(theme/img/silk/user_gray.png) !important; - } - .map-base { - background-image: url(theme/img/silk/map.png) !important; - } - .print { - background-image: url(theme/img/silk/printer_empty.png) !important; - } - .schede { - background-image: url(theme/img/silk/map_go.png) !important; - } - .go-back { - background-image: url(theme/img/geosilk/bullet_goback.png) !important; - } - .add-point{ - background-image:url(theme/img/geosilk/bullet_orange_add.png) !important; - } - .add-polygon{ - background-image:url(theme/img/geosilk/shape_square_orange_add.png) !important; - } - .move{ - background-image:url(theme/img/geosilk/pan.png) !important; - } - .edit-polygon{ - background-image:url(theme/img/silk/chart_curve_edit.png) !important; - } - .menu-color { - background-image: url(theme/img/silk/color_swatch.png) !important; - } - .redline-edit{ - background-image:url(theme/img/silk/chart_curve_edit.png) !important; - } - .redline-delete{ - background-image:url(theme/img/silk/chart_curve_delete.png) !important; - } - .query-box{ - background-image:url(theme/img/other/query-box.png) !important; - } - .query-polygon{ - background-image:url(theme/img/other/query-polygon.png) !important; - } - .query-circle{ - background-image:url(theme/img/other/query-circle.png) !important; - } - .query-area{ - background-image:url(theme/img/other/query-area.png) !important; - } - .clean_selection { - background-image: url(theme/img/geosilk/vector.png) !important; - } - - .menu-title{ - background: #D6E3F2; - border-style: solid; - border-color:#DAE6F4 #99bbe8 #99bbe8 #DAE6F4; - border-width: 1px; - margin:-2px -2px 0; - color:#15428b; - font:bold 10px tahoma,arial,verdana,sans-serif; - display:block; - padding:3px; - } - - - #search-results a { - color: #385F95; - font:bold 11px tahoma, arial, helvetica, sans-serif; - text-decoration:none; - } - #search-results a:hover { - text-decoration:underline; - } - #search-results .search-item { - padding:5px; - } - #search-results p { - margin:3px !important; - } - #search-results { - border-bottom:1px solid #ddd; - margin: 0 1px; - height:300px; - overflow:auto; - } - #search-results .x-toolbar { - border:0 none; - } - -.search-item { - font:normal 11px tahoma, arial, helvetica, sans-serif; - padding:3px 10px 3px 10px; - border:1px solid #fff; - border-bottom:1px solid #eeeeee; - white-space:normal; - color:#555; -} -.search-item h3 { - display:block; - font:inherit; - font-weight:bold; - color:#222; -} - -.search-item h3 span { - float: right; - font-weight:normal; - margin:0 0 5px 5px; - width:100px; - display:block; - clear:none; -} - - .emplWrap { - border: 1px #999999 solid; - margin : 3px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - background-color: #ffffcc; - padding-bottom: 3px; - } - - .emplSelected { - border: 1px #66ff66 solid; - background-color: #ccffcc; - cursor: pointer; - } - - .emplOver { - border: 1px #9999ff solid; - background-color: #ccccff; - cursor: pointer; - } - - .emplName { - font-weight: bold; - margin-left: 5px; - font-size: 14px; - text-decoration: underline; - color: #333333; - } - - .title { - margin-left: 5px; - font-weight: bold; - } - .featureTitle{ - - border: 1px #999999 solid; - margin : 3px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - background-color: #99BBE8; - padding-bottom: 3px; - font-size:14px; - font-color:#ff0000; - font-weight: bold; - } - .featureLink{ - - border: 1px #999999 solid; - margin : 3px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - background-color: #ffffcc; - padding-bottom: 3px; - font-size:12px; - font-color:#ff0000; - cursor: pointer; - } - .featureLink img{ - background-image:url(theme/img/silk/layout_link.png) !important; - margin-right:5px; - margin-top:5px; - height:16px !important; - width:16px !important; - } - - .x-btn .add { - background-image: url("img/add.png"); - } - .x-btn .delete { - background-image: url("img/delete.png"); - } - .x-btn .save { - background-image: url("img/accept.png"); - } - .x-btn .cancel { - background-image: url("img/decline.png"); - } - .x-btn .edit { - background-image: url("img/pencil.png"); - } - .gx-filterbuilder .x-toolbar { - background: none repeat scroll 0 0 transparent; - border: medium none !important; - } diff --git a/ext-resources/css/theme/about.css b/ext-resources/css/theme/about.css deleted file mode 100755 index 1ace43c..0000000 --- a/ext-resources/css/theme/about.css +++ /dev/null @@ -1,35 +0,0 @@ -body { - font-family: tahoma,arial,helvetica,sans-serif; - font-size: 10px; - background-color: white; -} - -h2 { - text-align: center; - font-weight: bold; - font-size: 12px; -} - -div.versioninfo { - text-align: center; -} - -div.logo { - margin-left: auto; - margin-right: auto; - width: 100%; - text-align: center; - height: 70px; - background: url('img/GeoExt_Logo.png') center no-repeat; -} - -h3 { - font-weight: bold; - margin-bottom: 0em; - font-size: 12px; -} - -a { - display: block; -} - diff --git a/ext-resources/css/theme/geoexplorer.css b/ext-resources/css/theme/geoexplorer.css deleted file mode 100755 index cebf54c..0000000 --- a/ext-resources/css/theme/geoexplorer.css +++ /dev/null @@ -1,187 +0,0 @@ -/* setting font fixes combobox rendering issues in IE. See - * http://extjs.com/forum/showthread.php?t=72505 */ -body { - font-family:helvetica,tahoma,verdana,sans-serif; -} - -/* don't wrap lines on any tooltips */ -.x-tip { - white-space: nowrap; -} - -/* get images on buttons with text to line up with those with no text */ -.x-btn-text-icon .x-btn-center .x-btn-text { - background-position: 0 3px; -} - -/* apply some margin when using the row expander */ -.x-grid3-row-body p { - margin: 5px !important; -} - -/* workaround for semi-alpha pixels in IE7: background needs to be the same - * as the toolbar's background color */ -.ext-ie .x-item-disabled .x-btn-text { - background-color: #EAEAEA; -} - -.x-btn .icon-geoexplorer { - background-image: url(img/geoexplorer.png); -} - -.x-btn .icon-addlayers { - background-image: url(img/silk/add.png); -} - -.x-btn .icon-removelayers, .x-menu-item .icon-removelayers { - background-image: url(img/silk/delete.png); -} - -.x-btn .icon-properties, .x-menu-item .icon-properties { - background-image: url(img/silk/wrench.png); -} - -.x-btn .icon-editfeature { - background-image: url(img/silk/map_edit.png); -} - -.x-btn .icon-addfeature { - background-image: url(img/silk/pencil_add.png); -} -.x-btn .icon-save { - background-image: url(img/geosilk/map_save.png); -} - -.x-btn .icon-measure { - background-image: url(img/geosilk/measure.png); -} - -.icon-measure-length { - background-image: url(img/geosilk/ruler.png) !important; -} - -.icon-measure-area { - background-image: url(img/geosilk/ruler_square.png) !important; -} - -.x-btn .icon-zoom-in { - background-image: url(img/silk/magnifier_zoom_in.png); -} - -.x-btn .icon-zoom-out { - background-image: url(img/silk/magnifier_zoom_out.png); -} - -.x-btn .icon-zoom-previous { - background-image: url(img/silk/arrow_left.png); -} - -.x-btn .icon-zoom-next { - background-image: url(img/silk/arrow_right.png); -} - -.x-btn .icon-zoom-visible { - background-image: url(img/silk/arrow_out.png); -} - -.x-btn .icon-zoom-to, .x-menu-item .icon-zoom-to { - background-image: url(img/silk/magnifier.png); -} - -.x-btn .icon-pan { - background-image: url(img/geosilk/pan.png); -} - -.x-btn .icon-find { - background-image: url(img/silk/find.png); -} - -.legend-item { - margin: 0.5em 10px; -} - -div.map-overlay { - z-index: 1000; - position: absolute; - right: 10px; - bottom: 10px; -} - -div.map-overlay div.overlay-element { - display:inline; - float: left; - margin: 5px; -} - -.overlay-scaleline { - bottom: 0px; - left: 0px; - margin-top: 0px; -} - -/* Pan- and Zoom- Panel Styles*/ - -.olControlPanPanel div { - background-image:url(../../ext/resources/images/gray/panel/tool-sprites.gif); - height:15px; - width:15px; - /* workaround for button height in IE */ - font-size:0px; -} - -.olControlPanPanel .olControlPanNorthItemInactive { - background-position:15px -60px; - left:16px -} -.olControlPanPanel .olControlPanEastItemInactive { - background-position:15px -120px; - left: 30px; - top: 16px; -} -.olControlPanPanel .olControlPanSouthItemInactive { - background-position:15px -75px; - left: 16px; - top: 32px; -} -.olControlPanPanel .olControlPanWestItemInactive { - background-position:15px -105px; - left: 2px; - top: 16px; -} - -.olControlZoomPanel { - left:21px; -} - -.olControlZoomPanel div { - background-image:url(../../ext/resources/images/gray/panel/tool-sprites.gif); - height:15px; - width:15px; - /* workaround for button height in IE */ - font-size:0px; -} - -.olControlZoomPanel .olControlZoomInItemInactive { - background-position:15px -240px; -} - -.olControlZoomPanel .olControlZoomToMaxExtentItemInactive { - display: none; -} - -.olControlZoomPanel .olControlZoomOutItemInactive { - background-position:15px -255px; - top: 123px; -} - -.olControlScaleLine { - font-family: tahoma,arial,helvetica,sans-serif; -} - -/* position the zoom slider within map panel */ -.gx-zoomslider { - top: 90px; - left: 17px -} - - diff --git a/ext-resources/css/theme/ie.css b/ext-resources/css/theme/ie.css deleted file mode 100755 index 58db175..0000000 --- a/ext-resources/css/theme/ie.css +++ /dev/null @@ -1,12 +0,0 @@ -div.map-overlay { - width: 240px; -} - -.overlay-scalechooser { - width: 110px; -} - -.overlay-scaleline { - width: 100px; - padding-bottom: 5px; -} diff --git a/ext-resources/css/theme/img/GeoExt_Logo.png b/ext-resources/css/theme/img/GeoExt_Logo.png deleted file mode 100755 index 0636925..0000000 Binary files a/ext-resources/css/theme/img/GeoExt_Logo.png and /dev/null differ diff --git a/ext-resources/css/theme/img/blank.gif b/ext-resources/css/theme/img/blank.gif deleted file mode 100755 index 1d11fa9..0000000 Binary files a/ext-resources/css/theme/img/blank.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/draw_line_on.png b/ext-resources/css/theme/img/draw_line_on.png deleted file mode 100755 index 7500319..0000000 Binary files a/ext-resources/css/theme/img/draw_line_on.png and /dev/null differ diff --git a/ext-resources/css/theme/img/draw_point_on.png b/ext-resources/css/theme/img/draw_point_on.png deleted file mode 100755 index e51302c..0000000 Binary files a/ext-resources/css/theme/img/draw_point_on.png and /dev/null differ diff --git a/ext-resources/css/theme/img/draw_polygon_on.png b/ext-resources/css/theme/img/draw_polygon_on.png deleted file mode 100755 index 11c1789..0000000 Binary files a/ext-resources/css/theme/img/draw_polygon_on.png and /dev/null differ diff --git a/ext-resources/css/theme/img/favicon.ico b/ext-resources/css/theme/img/favicon.ico deleted file mode 100755 index 4d1266e..0000000 Binary files a/ext-resources/css/theme/img/favicon.ico and /dev/null differ diff --git a/ext-resources/css/theme/img/geoexplorer.gif b/ext-resources/css/theme/img/geoexplorer.gif deleted file mode 100755 index 7bf26b4..0000000 Binary files a/ext-resources/css/theme/img/geoexplorer.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/geoexplorer.png b/ext-resources/css/theme/img/geoexplorer.png deleted file mode 100755 index b82fa6f..0000000 Binary files a/ext-resources/css/theme/img/geoexplorer.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/Thumbs.db b/ext-resources/css/theme/img/geosilk/Thumbs.db deleted file mode 100755 index 166c73a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/Thumbs.db and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/_readme.txt b/ext-resources/css/theme/img/geosilk/_readme.txt deleted file mode 100755 index 1acd9af..0000000 --- a/ext-resources/css/theme/img/geosilk/_readme.txt +++ /dev/null @@ -1,96 +0,0 @@ -_________________________________________ -GeoSilk icon set by Rolando Pe–ate -http://projects.opengeo.org/geosilk -_________________________________________ - -The GeoSilk icon set is derived from the Silk -icon set by Mark James, the Silk Companion set -by Damien Guard, and the uDig icons made by -Jody Garnett of Refractions Research. It aims -to extend the Silk icon set to address the -needs of geospatial software. - -_________________________________________ -Silk icon set 1.3 by Mark James -http://www.famfamfam.com/lab/icons/silk -_________________________________________ - -The Silk icon set is licensed under a -Creative Commons Attribution 3.0 License. -[ http://creativecommons.org/licenses/by/3.0/ ] - -The icons can also be used under -Creative Commons Attribution 3.0 License with -the following requirements: "As an author, I -would appreciate a reference to my authorship -of the Silk icon set contents within a readme -file or equivalent documentation for the -software which includes the set or a subset -of the icons contained within." - -This means you may use it for any purpose, -and make any changes you like. -All I ask is that you include a link back -to this page in your credits: -[ http://www.famfamfam.com/lab/icons/silk/ ] - -Are you using this icon set? Send me an email -(including a link or picture if available) to -mjames@gmail.com - -Any other questions about this icon set please -contact mjames@gmail.com - -_________________________________________ -Silk Companion #1 by Damien Guard -http://damieng.com/creative/icons/silk-companion-1-icons -_________________________________________ - -The following icons are included in GeoSilk -but originally part of Damien Guard's Silk -Companion: - -bullet_start.png -bullet_stop.png -compass.png -database_copy.png -database_start.png -database_stop.png -database_wrench.png -database_yellow_start.png -database_yellow_stop.png -database_yellow.png -decline.png -erase.png -server_start.png -server_stop.png -star_grey.png -star_half_grey.png - -They are licensed under a -Creative Commons Attribution 3.0 License. -[ http://creativecommons.org/licenses/by/3.0/ ] - -Any questions about them should be sent to: -damieng@gmail.com - -_________________________________________ -Fugue Icons 2.0 by Yusuke Kamiyamane -http://www.pinvoke.com -_________________________________________ - -The following icons are included in GeoSilk -but originate from Yusuke Kamiyamane's -Fugue Icons: - -marker.png -ruler.png -ruler_square.png -ruler_triangle.png - -They are licensed under a -Creative Commons Attribution 3.0 License. -[ http://creativecommons.org/licenses/by/3.0/ ] - -Any questions about them should be sent to: -yusuke.kamiyamane@gmail.com diff --git a/ext-resources/css/theme/img/geosilk/bullet_arrow_left.png b/ext-resources/css/theme/img/geosilk/bullet_arrow_left.png deleted file mode 100755 index 42cfc9a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_arrow_left.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_arrow_right.png b/ext-resources/css/theme/img/geosilk/bullet_arrow_right.png deleted file mode 100755 index d938eae..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_arrow_right.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_black_add.png b/ext-resources/css/theme/img/geosilk/bullet_black_add.png deleted file mode 100755 index 1cc9737..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_black_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_black_delete.png b/ext-resources/css/theme/img/geosilk/bullet_black_delete.png deleted file mode 100755 index 7624e85..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_black_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_blue_add.png b/ext-resources/css/theme/img/geosilk/bullet_blue_add.png deleted file mode 100755 index b01a709..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_blue_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_blue_delete.png b/ext-resources/css/theme/img/geosilk/bullet_blue_delete.png deleted file mode 100755 index 228aa99..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_blue_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_goback.png b/ext-resources/css/theme/img/geosilk/bullet_goback.png deleted file mode 100755 index 55131c8..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_goback.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_green_add.png b/ext-resources/css/theme/img/geosilk/bullet_green_add.png deleted file mode 100755 index 6a00dd2..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_green_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_green_delete.png b/ext-resources/css/theme/img/geosilk/bullet_green_delete.png deleted file mode 100755 index 16dc3bc..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_green_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_map.png b/ext-resources/css/theme/img/geosilk/bullet_map.png deleted file mode 100755 index b2bbb2f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_map.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_orange_add.png b/ext-resources/css/theme/img/geosilk/bullet_orange_add.png deleted file mode 100755 index b5e0813..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_orange_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_orange_delete.png b/ext-resources/css/theme/img/geosilk/bullet_orange_delete.png deleted file mode 100755 index 11c95ab..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_orange_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_pink_add.png b/ext-resources/css/theme/img/geosilk/bullet_pink_add.png deleted file mode 100755 index f0aace9..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_pink_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_pink_delete.png b/ext-resources/css/theme/img/geosilk/bullet_pink_delete.png deleted file mode 100755 index 3b86bd1..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_pink_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_purple_add.png b/ext-resources/css/theme/img/geosilk/bullet_purple_add.png deleted file mode 100755 index abff712..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_purple_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_purple_delete.png b/ext-resources/css/theme/img/geosilk/bullet_purple_delete.png deleted file mode 100755 index f6d36a9..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_purple_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_raster.png b/ext-resources/css/theme/img/geosilk/bullet_raster.png deleted file mode 100755 index 4b6b8dc..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_raster.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_red_add.png b/ext-resources/css/theme/img/geosilk/bullet_red_add.png deleted file mode 100755 index 2a20e95..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_red_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_red_delete.png b/ext-resources/css/theme/img/geosilk/bullet_red_delete.png deleted file mode 100755 index 088f471..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_red_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_start.png b/ext-resources/css/theme/img/geosilk/bullet_start.png deleted file mode 100755 index 8fc3909..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_start.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_stop.png b/ext-resources/css/theme/img/geosilk/bullet_stop.png deleted file mode 100755 index acb2038..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_vector.png b/ext-resources/css/theme/img/geosilk/bullet_vector.png deleted file mode 100755 index a433839..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_yellow_add.png b/ext-resources/css/theme/img/geosilk/bullet_yellow_add.png deleted file mode 100755 index faf6c0b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_yellow_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/bullet_yellow_delete.png b/ext-resources/css/theme/img/geosilk/bullet_yellow_delete.png deleted file mode 100755 index 2d408cd..0000000 Binary files a/ext-resources/css/theme/img/geosilk/bullet_yellow_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/compass.png b/ext-resources/css/theme/img/geosilk/compass.png deleted file mode 100755 index 178040f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/compass.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_copy.png b/ext-resources/css/theme/img/geosilk/database_copy.png deleted file mode 100755 index a0c379e..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_copy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_oracle.png b/ext-resources/css/theme/img/geosilk/database_oracle.png deleted file mode 100755 index 081403e..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_oracle.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_picture.png b/ext-resources/css/theme/img/geosilk/database_picture.png deleted file mode 100755 index bd619e4..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_raster.png b/ext-resources/css/theme/img/geosilk/database_raster.png deleted file mode 100755 index 6e5547b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_raster.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_start.png b/ext-resources/css/theme/img/geosilk/database_start.png deleted file mode 100755 index 4145bcb..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_start.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_stop.png b/ext-resources/css/theme/img/geosilk/database_stop.png deleted file mode 100755 index 0a8d1d7..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_vector.png b/ext-resources/css/theme/img/geosilk/database_vector.png deleted file mode 100755 index 4fb3de0..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_wrench.png b/ext-resources/css/theme/img/geosilk/database_wrench.png deleted file mode 100755 index c5d5207..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_wrench.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_yellow.png b/ext-resources/css/theme/img/geosilk/database_yellow.png deleted file mode 100755 index de69faa..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_yellow_start.png b/ext-resources/css/theme/img/geosilk/database_yellow_start.png deleted file mode 100755 index 43ea8c5..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_yellow_start.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/database_yellow_stop.png b/ext-resources/css/theme/img/geosilk/database_yellow_stop.png deleted file mode 100755 index d715c7a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/database_yellow_stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/decline.png b/ext-resources/css/theme/img/geosilk/decline.png deleted file mode 100755 index dcda07a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/decline.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/erase.png b/ext-resources/css/theme/img/geosilk/erase.png deleted file mode 100755 index ca1a211..0000000 Binary files a/ext-resources/css/theme/img/geosilk/erase.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/folder_layer.png b/ext-resources/css/theme/img/geosilk/folder_layer.png deleted file mode 100755 index 1967aeb..0000000 Binary files a/ext-resources/css/theme/img/geosilk/folder_layer.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/kml.png b/ext-resources/css/theme/img/geosilk/kml.png deleted file mode 100755 index 0723e2d..0000000 Binary files a/ext-resources/css/theme/img/geosilk/kml.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/layers_delete.png b/ext-resources/css/theme/img/geosilk/layers_delete.png deleted file mode 100755 index 82a715f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/layers_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_blue.png b/ext-resources/css/theme/img/geosilk/line_blue.png deleted file mode 100755 index a332e2d..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_blue_add.png b/ext-resources/css/theme/img/geosilk/line_blue_add.png deleted file mode 100755 index 9625327..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_blue_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_blue_delete.png b/ext-resources/css/theme/img/geosilk/line_blue_delete.png deleted file mode 100755 index cb8eebd..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_blue_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_green.png b/ext-resources/css/theme/img/geosilk/line_green.png deleted file mode 100755 index e67a3b2..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_green_add.png b/ext-resources/css/theme/img/geosilk/line_green_add.png deleted file mode 100755 index 52e6570..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_green_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_green_delete.png b/ext-resources/css/theme/img/geosilk/line_green_delete.png deleted file mode 100755 index 0fc4fe7..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_green_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_orange.png b/ext-resources/css/theme/img/geosilk/line_orange.png deleted file mode 100755 index 55d26a0..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_orange_add.png b/ext-resources/css/theme/img/geosilk/line_orange_add.png deleted file mode 100755 index 67f3faa..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_orange_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_orange_delete.png b/ext-resources/css/theme/img/geosilk/line_orange_delete.png deleted file mode 100755 index 678de17..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_orange_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_pink.png b/ext-resources/css/theme/img/geosilk/line_pink.png deleted file mode 100755 index 9a134b0..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_pink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_pink_add.png b/ext-resources/css/theme/img/geosilk/line_pink_add.png deleted file mode 100755 index abf05c2..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_pink_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_pink_delete.png b/ext-resources/css/theme/img/geosilk/line_pink_delete.png deleted file mode 100755 index 62565bd..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_pink_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_purple.png b/ext-resources/css/theme/img/geosilk/line_purple.png deleted file mode 100755 index e7e3820..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_purple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_purple_add.png b/ext-resources/css/theme/img/geosilk/line_purple_add.png deleted file mode 100755 index 314344b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_purple_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_purple_delete.png b/ext-resources/css/theme/img/geosilk/line_purple_delete.png deleted file mode 100755 index 88071a9..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_purple_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_red.png b/ext-resources/css/theme/img/geosilk/line_red.png deleted file mode 100755 index 174d034..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_red_add.png b/ext-resources/css/theme/img/geosilk/line_red_add.png deleted file mode 100755 index 3133f51..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_red_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_red_delete.png b/ext-resources/css/theme/img/geosilk/line_red_delete.png deleted file mode 100755 index f67061d..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_red_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_yellow.png b/ext-resources/css/theme/img/geosilk/line_yellow.png deleted file mode 100755 index 6de941a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_yellow_add.png b/ext-resources/css/theme/img/geosilk/line_yellow_add.png deleted file mode 100755 index 5e6515b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_yellow_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/line_yellow_delete.png b/ext-resources/css/theme/img/geosilk/line_yellow_delete.png deleted file mode 100755 index c84570a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/line_yellow_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/map_save.png b/ext-resources/css/theme/img/geosilk/map_save.png deleted file mode 100755 index 766a93f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/map_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/map_wrench.png b/ext-resources/css/theme/img/geosilk/map_wrench.png deleted file mode 100755 index 062e1c2..0000000 Binary files a/ext-resources/css/theme/img/geosilk/map_wrench.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/marker.png b/ext-resources/css/theme/img/geosilk/marker.png deleted file mode 100755 index 524e85f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/marker.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/measure.png b/ext-resources/css/theme/img/geosilk/measure.png deleted file mode 100755 index d636b8c..0000000 Binary files a/ext-resources/css/theme/img/geosilk/measure.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/page_white_goback.png b/ext-resources/css/theme/img/geosilk/page_white_goback.png deleted file mode 100755 index aa24bd1..0000000 Binary files a/ext-resources/css/theme/img/geosilk/page_white_goback.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/page_white_map.png b/ext-resources/css/theme/img/geosilk/page_white_map.png deleted file mode 100755 index 64d7f63..0000000 Binary files a/ext-resources/css/theme/img/geosilk/page_white_map.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/page_white_palette.png b/ext-resources/css/theme/img/geosilk/page_white_palette.png deleted file mode 100755 index 5d78b78..0000000 Binary files a/ext-resources/css/theme/img/geosilk/page_white_palette.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/page_white_picture.png b/ext-resources/css/theme/img/geosilk/page_white_picture.png deleted file mode 100755 index 6ae6f22..0000000 Binary files a/ext-resources/css/theme/img/geosilk/page_white_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/page_white_raster.png b/ext-resources/css/theme/img/geosilk/page_white_raster.png deleted file mode 100755 index 2b1d874..0000000 Binary files a/ext-resources/css/theme/img/geosilk/page_white_raster.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/page_white_vector.png b/ext-resources/css/theme/img/geosilk/page_white_vector.png deleted file mode 100755 index 217e476..0000000 Binary files a/ext-resources/css/theme/img/geosilk/page_white_vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/palette_add.png b/ext-resources/css/theme/img/geosilk/palette_add.png deleted file mode 100755 index 8662499..0000000 Binary files a/ext-resources/css/theme/img/geosilk/palette_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/palette_remove.png b/ext-resources/css/theme/img/geosilk/palette_remove.png deleted file mode 100755 index 9a73c5d..0000000 Binary files a/ext-resources/css/theme/img/geosilk/palette_remove.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/pan.png b/ext-resources/css/theme/img/geosilk/pan.png deleted file mode 100755 index 59958f2..0000000 Binary files a/ext-resources/css/theme/img/geosilk/pan.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/postgis.png b/ext-resources/css/theme/img/geosilk/postgis.png deleted file mode 100755 index 34ed874..0000000 Binary files a/ext-resources/css/theme/img/geosilk/postgis.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/raster.png b/ext-resources/css/theme/img/geosilk/raster.png deleted file mode 100755 index 82304c3..0000000 Binary files a/ext-resources/css/theme/img/geosilk/raster.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/raster_add.png b/ext-resources/css/theme/img/geosilk/raster_add.png deleted file mode 100755 index a290097..0000000 Binary files a/ext-resources/css/theme/img/geosilk/raster_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/raster_delete.png b/ext-resources/css/theme/img/geosilk/raster_delete.png deleted file mode 100755 index f51cbce..0000000 Binary files a/ext-resources/css/theme/img/geosilk/raster_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/readme.txt b/ext-resources/css/theme/img/geosilk/readme.txt deleted file mode 100755 index 354a23b..0000000 --- a/ext-resources/css/theme/img/geosilk/readme.txt +++ /dev/null @@ -1,28 +0,0 @@ -GeoSilk icons by Rolando Pe–ate - -The GeoSilk icon set is derived from the Silk -icon set by Mark James and the uDig icons made -by Refractions Research. It aims to extend the -Silk icon set to address the needs of -geospatial software. - -_________________________________________ -Silk icon set 1.3 by Mark James -http://www.famfamfam.com/lab/icons/silk/ -_________________________________________ - -The Silk icon set is licensed under a -Creative Commons Attribution 3.0 License. -[ http://creativecommons.org/licenses/by/3.0/ ] - -This means you may use it for any purpose, -and make any changes you like. -All I ask is that you include a link back -to this page in your credits. - -Are you using this icon set? Send me an email -(including a link or picture if available) to -mjames@gmail.com - -Any other questions about this icon set please -contact mjames@gmail.com \ No newline at end of file diff --git a/ext-resources/css/theme/img/geosilk/ruler.png b/ext-resources/css/theme/img/geosilk/ruler.png deleted file mode 100755 index db98f0d..0000000 Binary files a/ext-resources/css/theme/img/geosilk/ruler.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/ruler_square.png b/ext-resources/css/theme/img/geosilk/ruler_square.png deleted file mode 100755 index b56d175..0000000 Binary files a/ext-resources/css/theme/img/geosilk/ruler_square.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/ruler_triangle.png b/ext-resources/css/theme/img/geosilk/ruler_triangle.png deleted file mode 100755 index 98735e0..0000000 Binary files a/ext-resources/css/theme/img/geosilk/ruler_triangle.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_gear.png b/ext-resources/css/theme/img/geosilk/server_gear.png deleted file mode 100755 index 0b005bb..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_map.png b/ext-resources/css/theme/img/geosilk/server_map.png deleted file mode 100755 index c0fe371..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_map.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_picture.png b/ext-resources/css/theme/img/geosilk/server_picture.png deleted file mode 100755 index db579c1..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_raster.png b/ext-resources/css/theme/img/geosilk/server_raster.png deleted file mode 100755 index 2f8fe0b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_raster.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_start.png b/ext-resources/css/theme/img/geosilk/server_start.png deleted file mode 100755 index d9bb5e2..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_start.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_stop.png b/ext-resources/css/theme/img/geosilk/server_stop.png deleted file mode 100755 index a5516ab..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/server_vector.png b/ext-resources/css/theme/img/geosilk/server_vector.png deleted file mode 100755 index c8b103b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/server_vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_blue.png b/ext-resources/css/theme/img/geosilk/shape_square_blue.png deleted file mode 100755 index 7ca640f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_blue_add.png b/ext-resources/css/theme/img/geosilk/shape_square_blue_add.png deleted file mode 100755 index c620302..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_blue_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_blue_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_blue_delete.png deleted file mode 100755 index bd800c3..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_blue_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_green.png b/ext-resources/css/theme/img/geosilk/shape_square_green.png deleted file mode 100755 index 6dff5c9..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_green_add.png b/ext-resources/css/theme/img/geosilk/shape_square_green_add.png deleted file mode 100755 index 5df07de..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_green_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_green_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_green_delete.png deleted file mode 100755 index d069f45..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_green_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_orange.png b/ext-resources/css/theme/img/geosilk/shape_square_orange.png deleted file mode 100755 index ec6f4da..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_orange_add.png b/ext-resources/css/theme/img/geosilk/shape_square_orange_add.png deleted file mode 100755 index ac3d3bf..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_orange_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_orange_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_orange_delete.png deleted file mode 100755 index c540883..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_orange_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_pink.png b/ext-resources/css/theme/img/geosilk/shape_square_pink.png deleted file mode 100755 index 8abf730..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_pink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_pink_add.png b/ext-resources/css/theme/img/geosilk/shape_square_pink_add.png deleted file mode 100755 index 66d053f..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_pink_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_pink_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_pink_delete.png deleted file mode 100755 index 5d7f6cf..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_pink_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_purple.png b/ext-resources/css/theme/img/geosilk/shape_square_purple.png deleted file mode 100755 index b541f11..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_purple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_purple_add.png b/ext-resources/css/theme/img/geosilk/shape_square_purple_add.png deleted file mode 100755 index a62c73b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_purple_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_purple_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_purple_delete.png deleted file mode 100755 index 851297d..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_purple_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_red.png b/ext-resources/css/theme/img/geosilk/shape_square_red.png deleted file mode 100755 index cafbe3e..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_red_add.png b/ext-resources/css/theme/img/geosilk/shape_square_red_add.png deleted file mode 100755 index 11679fe..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_red_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_red_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_red_delete.png deleted file mode 100755 index 6db9267..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_red_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_yellow.png b/ext-resources/css/theme/img/geosilk/shape_square_yellow.png deleted file mode 100755 index 0bc677b..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_yellow_add.png b/ext-resources/css/theme/img/geosilk/shape_square_yellow_add.png deleted file mode 100755 index 88bf6f3..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_yellow_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/shape_square_yellow_delete.png b/ext-resources/css/theme/img/geosilk/shape_square_yellow_delete.png deleted file mode 100755 index 4cbfe1a..0000000 Binary files a/ext-resources/css/theme/img/geosilk/shape_square_yellow_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/star_grey.png b/ext-resources/css/theme/img/geosilk/star_grey.png deleted file mode 100755 index 3370ca9..0000000 Binary files a/ext-resources/css/theme/img/geosilk/star_grey.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/star_half_grey.png b/ext-resources/css/theme/img/geosilk/star_half_grey.png deleted file mode 100755 index b8cdf8e..0000000 Binary files a/ext-resources/css/theme/img/geosilk/star_half_grey.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/vector.png b/ext-resources/css/theme/img/geosilk/vector.png deleted file mode 100755 index 3f3e301..0000000 Binary files a/ext-resources/css/theme/img/geosilk/vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/vector_add.png b/ext-resources/css/theme/img/geosilk/vector_add.png deleted file mode 100755 index bf91801..0000000 Binary files a/ext-resources/css/theme/img/geosilk/vector_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/geosilk/vector_delete.png b/ext-resources/css/theme/img/geosilk/vector_delete.png deleted file mode 100755 index f335546..0000000 Binary files a/ext-resources/css/theme/img/geosilk/vector_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/icon_key.png b/ext-resources/css/theme/img/icon_key.png deleted file mode 100755 index d76bb2e..0000000 Binary files a/ext-resources/css/theme/img/icon_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/layers.png b/ext-resources/css/theme/img/layers.png deleted file mode 100755 index 00818f6..0000000 Binary files a/ext-resources/css/theme/img/layers.png and /dev/null differ diff --git a/ext-resources/css/theme/img/legend-theme.png b/ext-resources/css/theme/img/legend-theme.png deleted file mode 100755 index 72b7262..0000000 Binary files a/ext-resources/css/theme/img/legend-theme.png and /dev/null differ diff --git a/ext-resources/css/theme/img/loading-transparent.gif b/ext-resources/css/theme/img/loading-transparent.gif deleted file mode 100755 index e846e1d..0000000 Binary files a/ext-resources/css/theme/img/loading-transparent.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/logo.jpg.png b/ext-resources/css/theme/img/logo.jpg.png deleted file mode 100755 index b2129a8..0000000 Binary files a/ext-resources/css/theme/img/logo.jpg.png and /dev/null differ diff --git a/ext-resources/css/theme/img/marker-gold-empty.png b/ext-resources/css/theme/img/marker-gold-empty.png deleted file mode 100755 index d1d09ab..0000000 Binary files a/ext-resources/css/theme/img/marker-gold-empty.png and /dev/null differ diff --git a/ext-resources/css/theme/img/marker-gold.png b/ext-resources/css/theme/img/marker-gold.png deleted file mode 100755 index c3a8379..0000000 Binary files a/ext-resources/css/theme/img/marker-gold.png and /dev/null differ diff --git a/ext-resources/css/theme/img/missing-tile.png b/ext-resources/css/theme/img/missing-tile.png deleted file mode 100644 index 60329ac..0000000 Binary files a/ext-resources/css/theme/img/missing-tile.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/Thumbs.db b/ext-resources/css/theme/img/other/Thumbs.db deleted file mode 100755 index cc495d6..0000000 Binary files a/ext-resources/css/theme/img/other/Thumbs.db and /dev/null differ diff --git a/ext-resources/css/theme/img/other/addrect.png b/ext-resources/css/theme/img/other/addrect.png deleted file mode 100755 index 5d2fd5e..0000000 Binary files a/ext-resources/css/theme/img/other/addrect.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/google_earth.png b/ext-resources/css/theme/img/other/google_earth.png deleted file mode 100755 index 14a5b93..0000000 Binary files a/ext-resources/css/theme/img/other/google_earth.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/icon_loading.gif b/ext-resources/css/theme/img/other/icon_loading.gif deleted file mode 100755 index 83cda07..0000000 Binary files a/ext-resources/css/theme/img/other/icon_loading.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/other/kml.png b/ext-resources/css/theme/img/other/kml.png deleted file mode 100755 index 0723e2d..0000000 Binary files a/ext-resources/css/theme/img/other/kml.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/layers.png b/ext-resources/css/theme/img/other/layers.png deleted file mode 100755 index 3310724..0000000 Binary files a/ext-resources/css/theme/img/other/layers.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/loading.gif b/ext-resources/css/theme/img/other/loading.gif deleted file mode 100755 index aa0f3e1..0000000 Binary files a/ext-resources/css/theme/img/other/loading.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/other/loading_long.gif b/ext-resources/css/theme/img/other/loading_long.gif deleted file mode 100755 index 296340b..0000000 Binary files a/ext-resources/css/theme/img/other/loading_long.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/other/mac.png b/ext-resources/css/theme/img/other/mac.png deleted file mode 100755 index 39e1894..0000000 Binary files a/ext-resources/css/theme/img/other/mac.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/navigation_history_active_next.png b/ext-resources/css/theme/img/other/navigation_history_active_next.png deleted file mode 100755 index bd9f72a..0000000 Binary files a/ext-resources/css/theme/img/other/navigation_history_active_next.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/navigation_history_active_prev.png b/ext-resources/css/theme/img/other/navigation_history_active_prev.png deleted file mode 100755 index 88e27bd..0000000 Binary files a/ext-resources/css/theme/img/other/navigation_history_active_prev.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/navigation_history_inactive_next.png b/ext-resources/css/theme/img/other/navigation_history_inactive_next.png deleted file mode 100755 index ec04b4b..0000000 Binary files a/ext-resources/css/theme/img/other/navigation_history_inactive_next.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/navigation_history_inactive_prev.png b/ext-resources/css/theme/img/other/navigation_history_inactive_prev.png deleted file mode 100755 index 8add232..0000000 Binary files a/ext-resources/css/theme/img/other/navigation_history_inactive_prev.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/pan.png b/ext-resources/css/theme/img/other/pan.png deleted file mode 100755 index 6eb482a..0000000 Binary files a/ext-resources/css/theme/img/other/pan.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/pixel.png b/ext-resources/css/theme/img/other/pixel.png deleted file mode 100755 index bf867a3..0000000 Binary files a/ext-resources/css/theme/img/other/pixel.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/query-area.png b/ext-resources/css/theme/img/other/query-area.png deleted file mode 100755 index ba22d6c..0000000 Binary files a/ext-resources/css/theme/img/other/query-area.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/query-box.png b/ext-resources/css/theme/img/other/query-box.png deleted file mode 100755 index 9ee107c..0000000 Binary files a/ext-resources/css/theme/img/other/query-box.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/query-circle.png b/ext-resources/css/theme/img/other/query-circle.png deleted file mode 100755 index d1918bf..0000000 Binary files a/ext-resources/css/theme/img/other/query-circle.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/query-polygon.png b/ext-resources/css/theme/img/other/query-polygon.png deleted file mode 100755 index 9bf9a5f..0000000 Binary files a/ext-resources/css/theme/img/other/query-polygon.png and /dev/null differ diff --git a/ext-resources/css/theme/img/other/spillo.gif b/ext-resources/css/theme/img/other/spillo.gif deleted file mode 100755 index 57a6643..0000000 Binary files a/ext-resources/css/theme/img/other/spillo.gif and /dev/null differ diff --git a/ext-resources/css/theme/img/other/win.png b/ext-resources/css/theme/img/other/win.png deleted file mode 100755 index 7ffcea7..0000000 Binary files a/ext-resources/css/theme/img/other/win.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/Thumbs.db b/ext-resources/css/theme/img/silk/Thumbs.db deleted file mode 100755 index 36d193e..0000000 Binary files a/ext-resources/css/theme/img/silk/Thumbs.db and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/_readme.html b/ext-resources/css/theme/img/silk/_readme.html deleted file mode 100755 index 810b21b..0000000 --- a/ext-resources/css/theme/img/silk/_readme.html +++ /dev/null @@ -1,1495 +0,0 @@ - - - - - - - famfamfam.com: Silk Icons - - - - - - - - - - - - - - - - - -
-
-
- -

Silk Icons

-

http://www.famfamfam.com/lab/icons/silk/

-

- “Silk” is a smooth icon set, containing 1000 16-by-16 pixel icons in - strokably-soft PNG format. Containing a large variety of icons, you're sure to find something - that tickles your fancy. And all for a low low price of $0.00. You can't say fairer than that. - -
-
- - - - Current version: 1.3

- -

License

-

- - I also love to hear of my work being used, feel encouraged to send an email - with a link or screenshot of the icons in their new home to - mjames  gmail  com. - This work is licensed under a Creative Commons Attribution 2.5 License. - This means you may use it for any purpose, and make any changes you like. - All I ask is that you include a link back to http://www.famfamfam.com/lab/icons/silk/ in your credits (contact me to discuss licencing further). - - - - -

- -

Sightings

- -

- Do you use this set? Contact me!. -

- - -

Icons

- - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
accept accept.pngadd add.pnganchor anchor.pngapplication application.pngapplication add application_add.pngapplication cascade application_cascade.pngapplication delete application_delete.pngapplication double application_double.pngapplication edit application_edit.pngapplication error application_error.pngapplication form application_form.pngapplication form add application_form_add.png
application form delete application_form_delete.pngapplication form edit application_form_edit.pngapplication form magnify application_form_magnify.pngapplication get application_get.pngapplication go application_go.pngapplication home application_home.pngapplication key application_key.pngapplication lightning application_lightning.pngapplication link application_link.pngapplication osx application_osx.pngapplication osx terminal application_osx_terminal.pngapplication put application_put.png
application side boxes application_side_boxes.pngapplication side contract application_side_contract.pngapplication side expand application_side_expand.pngapplication side list application_side_list.pngapplication side tree application_side_tree.pngapplication split application_split.pngapplication tile horizontal application_tile_horizontal.pngapplication tile vertical application_tile_vertical.pngapplication view columns application_view_columns.pngapplication view detail application_view_detail.pngapplication view gallery application_view_gallery.pngapplication view icons application_view_icons.png
application view list application_view_list.pngapplication view tile application_view_tile.pngapplication xp application_xp.pngapplication xp terminal application_xp_terminal.pngarrow branch arrow_branch.pngarrow divide arrow_divide.pngarrow down arrow_down.pngarrow in arrow_in.pngarrow inout arrow_inout.pngarrow join arrow_join.pngarrow left arrow_left.pngarrow merge arrow_merge.png
arrow out arrow_out.pngarrow redo arrow_redo.pngarrow refresh arrow_refresh.pngarrow refresh small arrow_refresh_small.pngarrow right arrow_right.pngarrow rotate anticlockwise arrow_rotate_anticlockwise.pngarrow rotate clockwise arrow_rotate_clockwise.pngarrow switch arrow_switch.pngarrow turn left arrow_turn_left.pngarrow turn right arrow_turn_right.pngarrow undo arrow_undo.pngarrow up arrow_up.png
asterisk orange asterisk_orange.pngasterisk yellow asterisk_yellow.pngattach attach.pngaward star add award_star_add.pngaward star bronze 1 award_star_bronze_1.pngaward star bronze 2 award_star_bronze_2.pngaward star bronze 3 award_star_bronze_3.pngaward star delete award_star_delete.pngaward star gold 1 award_star_gold_1.pngaward star gold 2 award_star_gold_2.pngaward star gold 3 award_star_gold_3.pngaward star silver 1 award_star_silver_1.png
award star silver 2 award_star_silver_2.pngaward star silver 3 award_star_silver_3.pngbasket basket.pngbasket add basket_add.pngbasket delete basket_delete.pngbasket edit basket_edit.pngbasket error basket_error.pngbasket go basket_go.pngbasket put basket_put.pngbasket remove basket_remove.pngbell bell.pngbell add bell_add.png
bell delete bell_delete.pngbell error bell_error.pngbell go bell_go.pngbell link bell_link.pngbin bin.pngbin closed bin_closed.pngbin empty bin_empty.pngbomb bomb.pngbook book.pngbook add book_add.pngbook addresses book_addresses.pngbook delete book_delete.png
book edit book_edit.pngbook error book_error.pngbook go book_go.pngbook key book_key.pngbook link book_link.pngbook next book_next.pngbook open book_open.pngbook previous book_previous.pngbox box.pngbrick brick.pngbrick add brick_add.pngbrick delete brick_delete.png
brick edit brick_edit.pngbrick error brick_error.pngbrick go brick_go.pngbrick link brick_link.pngbricks bricks.pngbriefcase briefcase.pngbug bug.pngbug add bug_add.pngbug delete bug_delete.pngbug edit bug_edit.pngbug error bug_error.pngbug go bug_go.png
bug link bug_link.pngbuilding building.pngbuilding add building_add.pngbuilding delete building_delete.pngbuilding edit building_edit.pngbuilding error building_error.pngbuilding go building_go.pngbuilding key building_key.pngbuilding link building_link.pngbullet add bullet_add.pngbullet arrow bottom bullet_arrow_bottom.pngbullet arrow down bullet_arrow_down.png
bullet arrow top bullet_arrow_top.pngbullet arrow up bullet_arrow_up.pngbullet black bullet_black.pngbullet blue bullet_blue.pngbullet delete bullet_delete.pngbullet disk bullet_disk.pngbullet error bullet_error.pngbullet feed bullet_feed.pngbullet go bullet_go.pngbullet green bullet_green.pngbullet key bullet_key.pngbullet orange bullet_orange.png
bullet picture bullet_picture.pngbullet pink bullet_pink.pngbullet purple bullet_purple.pngbullet red bullet_red.pngbullet star bullet_star.pngbullet toggle minus bullet_toggle_minus.pngbullet toggle plus bullet_toggle_plus.pngbullet white bullet_white.pngbullet wrench bullet_wrench.pngbullet yellow bullet_yellow.pngcake cake.pngcalculator calculator.png
calculator add calculator_add.pngcalculator delete calculator_delete.pngcalculator edit calculator_edit.pngcalculator error calculator_error.pngcalculator link calculator_link.pngcalendar calendar.pngcalendar add calendar_add.pngcalendar delete calendar_delete.pngcalendar edit calendar_edit.pngcalendar link calendar_link.pngcalendar view day calendar_view_day.pngcalendar view month calendar_view_month.png
calendar view week calendar_view_week.pngcamera camera.pngcamera add camera_add.pngcamera delete camera_delete.pngcamera edit camera_edit.pngcamera error camera_error.pngcamera go camera_go.pngcamera link camera_link.pngcamera small camera_small.pngcancel cancel.pngcar car.pngcar add car_add.png
car delete car_delete.pngcart cart.pngcart add cart_add.pngcart delete cart_delete.pngcart edit cart_edit.pngcart error cart_error.pngcart go cart_go.pngcart put cart_put.pngcart remove cart_remove.pngcd cd.pngcd add cd_add.pngcd burn cd_burn.png
cd delete cd_delete.pngcd edit cd_edit.pngcd eject cd_eject.pngcd go cd_go.pngchart bar chart_bar.pngchart bar add chart_bar_add.pngchart bar delete chart_bar_delete.pngchart bar edit chart_bar_edit.pngchart bar error chart_bar_error.pngchart bar link chart_bar_link.pngchart curve chart_curve.pngchart curve add chart_curve_add.png
chart curve delete chart_curve_delete.pngchart curve edit chart_curve_edit.pngchart curve error chart_curve_error.pngchart curve go chart_curve_go.pngchart curve link chart_curve_link.pngchart line chart_line.pngchart line add chart_line_add.pngchart line delete chart_line_delete.pngchart line edit chart_line_edit.pngchart line error chart_line_error.pngchart line link chart_line_link.pngchart organisation chart_organisation.png
chart organisation add chart_organisation_add.pngchart organisation delete chart_organisation_delete.pngchart pie chart_pie.pngchart pie add chart_pie_add.pngchart pie delete chart_pie_delete.pngchart pie edit chart_pie_edit.pngchart pie error chart_pie_error.pngchart pie link chart_pie_link.pngclock clock.pngclock add clock_add.pngclock delete clock_delete.pngclock edit clock_edit.png
clock error clock_error.pngclock go clock_go.pngclock link clock_link.pngclock pause clock_pause.pngclock play clock_play.pngclock red clock_red.pngclock stop clock_stop.pngcog cog.pngcog add cog_add.pngcog delete cog_delete.pngcog edit cog_edit.pngcog error cog_error.png
cog go cog_go.pngcoins coins.pngcoins add coins_add.pngcoins delete coins_delete.pngcolor swatch color_swatch.pngcolor wheel color_wheel.pngcomment comment.pngcomment add comment_add.pngcomment delete comment_delete.pngcomment edit comment_edit.pngcomments comments.pngcomments add comments_add.png
comments delete comments_delete.pngcompress compress.pngcomputer computer.pngcomputer add computer_add.pngcomputer delete computer_delete.pngcomputer edit computer_edit.pngcomputer error computer_error.pngcomputer go computer_go.pngcomputer key computer_key.pngcomputer link computer_link.pngconnect connect.pngcontrast contrast.png
contrast decrease contrast_decrease.pngcontrast high contrast_high.pngcontrast increase contrast_increase.pngcontrast low contrast_low.pngcontrol eject control_eject.pngcontrol eject blue control_eject_blue.pngcontrol end control_end.pngcontrol end blue control_end_blue.pngcontrol equalizer control_equalizer.pngcontrol equalizer blue control_equalizer_blue.pngcontrol fastforward control_fastforward.pngcontrol fastforward blue control_fastforward_blue.png
control pause control_pause.pngcontrol pause blue control_pause_blue.pngcontrol play control_play.pngcontrol play blue control_play_blue.pngcontrol repeat control_repeat.pngcontrol repeat blue control_repeat_blue.pngcontrol rewind control_rewind.pngcontrol rewind blue control_rewind_blue.pngcontrol start control_start.pngcontrol start blue control_start_blue.pngcontrol stop control_stop.pngcontrol stop blue control_stop_blue.png
controller controller.pngcontroller add controller_add.pngcontroller delete controller_delete.pngcontroller error controller_error.pngcreditcards creditcards.pngcross cross.pngcss css.pngcss add css_add.pngcss delete css_delete.pngcss go css_go.pngcss valid css_valid.pngcup cup.png
cup add cup_add.pngcup delete cup_delete.pngcup edit cup_edit.pngcup error cup_error.pngcup go cup_go.pngcup key cup_key.pngcup link cup_link.pngcursor cursor.pngcut cut.pngcut red cut_red.pngdatabase database.pngdatabase add database_add.png
database connect database_connect.pngdatabase delete database_delete.pngdatabase edit database_edit.pngdatabase error database_error.pngdatabase gear database_gear.pngdatabase go database_go.pngdatabase key database_key.pngdatabase lightning database_lightning.pngdatabase link database_link.pngdatabase refresh database_refresh.pngdatabase save database_save.pngdatabase table database_table.png
date date.pngdate add date_add.pngdate delete date_delete.pngdate edit date_edit.pngdate error date_error.pngdate go date_go.pngdate link date_link.pngdate magnify date_magnify.pngdate next date_next.pngdate previous date_previous.pngdelete delete.pngdisconnect disconnect.png
disk disk.pngdisk multiple disk_multiple.pngdoor door.pngdoor in door_in.pngdoor open door_open.pngdoor out door_out.pngdrink drink.pngdrink empty drink_empty.pngdrive drive.pngdrive add drive_add.pngdrive burn drive_burn.pngdrive cd drive_cd.png
drive cd empty drive_cd_empty.pngdrive delete drive_delete.pngdrive disk drive_disk.pngdrive edit drive_edit.pngdrive error drive_error.pngdrive go drive_go.pngdrive key drive_key.pngdrive link drive_link.pngdrive magnify drive_magnify.pngdrive network drive_network.pngdrive rename drive_rename.pngdrive user drive_user.png
drive web drive_web.pngdvd dvd.pngdvd add dvd_add.pngdvd delete dvd_delete.pngdvd edit dvd_edit.pngdvd error dvd_error.pngdvd go dvd_go.pngdvd key dvd_key.pngdvd link dvd_link.pngemail email.pngemail add email_add.pngemail attach email_attach.png
email delete email_delete.pngemail edit email_edit.pngemail error email_error.pngemail go email_go.pngemail link email_link.pngemail open email_open.pngemail open image email_open_image.pngemoticon evilgrin emoticon_evilgrin.pngemoticon grin emoticon_grin.pngemoticon happy emoticon_happy.pngemoticon smile emoticon_smile.pngemoticon surprised emoticon_surprised.png
emoticon tongue emoticon_tongue.pngemoticon unhappy emoticon_unhappy.pngemoticon waii emoticon_waii.pngemoticon wink emoticon_wink.pngerror error.pngerror add error_add.pngerror delete error_delete.pngerror go error_go.pngexclamation exclamation.pngeye eye.pngfeed feed.pngfeed add feed_add.png
feed delete feed_delete.pngfeed disk feed_disk.pngfeed edit feed_edit.pngfeed error feed_error.pngfeed go feed_go.pngfeed key feed_key.pngfeed link feed_link.pngfeed magnify feed_magnify.pngfemale female.pngfilm film.pngfilm add film_add.pngfilm delete film_delete.png
film edit film_edit.pngfilm error film_error.pngfilm go film_go.pngfilm key film_key.pngfilm link film_link.pngfilm save film_save.pngfind find.pngflag blue flag_blue.pngflag green flag_green.pngflag orange flag_orange.pngflag pink flag_pink.pngflag purple flag_purple.png
flag red flag_red.pngflag yellow flag_yellow.pngfolder folder.pngfolder add folder_add.pngfolder bell folder_bell.pngfolder brick folder_brick.pngfolder bug folder_bug.pngfolder camera folder_camera.pngfolder database folder_database.pngfolder delete folder_delete.pngfolder edit folder_edit.pngfolder error folder_error.png
folder explore folder_explore.pngfolder feed folder_feed.pngfolder find folder_find.pngfolder go folder_go.pngfolder heart folder_heart.pngfolder image folder_image.pngfolder key folder_key.pngfolder lightbulb folder_lightbulb.pngfolder link folder_link.pngfolder magnify folder_magnify.pngfolder page folder_page.pngfolder page white folder_page_white.png
folder palette folder_palette.pngfolder picture folder_picture.pngfolder star folder_star.pngfolder table folder_table.pngfolder user folder_user.pngfolder wrench folder_wrench.pngfont font.pngfont add font_add.pngfont delete font_delete.pngfont go font_go.pnggroup group.pnggroup add group_add.png
group delete group_delete.pnggroup edit group_edit.pnggroup error group_error.pnggroup gear group_gear.pnggroup go group_go.pnggroup key group_key.pnggroup link group_link.pngheart heart.pngheart add heart_add.pngheart delete heart_delete.pnghelp help.pnghourglass hourglass.png
hourglass add hourglass_add.pnghourglass delete hourglass_delete.pnghourglass go hourglass_go.pnghourglass link hourglass_link.pnghouse house.pnghouse go house_go.pnghouse link house_link.pnghtml html.pnghtml add html_add.pnghtml delete html_delete.pnghtml go html_go.pnghtml valid html_valid.png
image image.pngimage add image_add.pngimage delete image_delete.pngimage edit image_edit.pngimage link image_link.pngimages images.pnginformation information.pngipod ipod.pngipod cast ipod_cast.pngipod cast add ipod_cast_add.pngipod cast delete ipod_cast_delete.pngipod sound ipod_sound.png
joystick joystick.pngjoystick add joystick_add.pngjoystick delete joystick_delete.pngjoystick error joystick_error.pngkey key.pngkey add key_add.pngkey delete key_delete.pngkey go key_go.pngkeyboard keyboard.pngkeyboard add keyboard_add.pngkeyboard delete keyboard_delete.pngkeyboard magnify keyboard_magnify.png
layers layers.pnglayout layout.pnglayout add layout_add.pnglayout content layout_content.pnglayout delete layout_delete.pnglayout edit layout_edit.pnglayout error layout_error.pnglayout header layout_header.pnglayout link layout_link.pnglayout sidebar layout_sidebar.pnglightbulb lightbulb.pnglightbulb add lightbulb_add.png
lightbulb delete lightbulb_delete.pnglightbulb off lightbulb_off.pnglightning lightning.pnglightning add lightning_add.pnglightning delete lightning_delete.pnglightning go lightning_go.pnglink link.pnglink add link_add.pnglink break link_break.pnglink delete link_delete.pnglink edit link_edit.pnglink error link_error.png
link go link_go.pnglock lock.pnglock add lock_add.pnglock break lock_break.pnglock delete lock_delete.pnglock edit lock_edit.pnglock go lock_go.pnglock open lock_open.pnglorry lorry.pnglorry add lorry_add.pnglorry delete lorry_delete.pnglorry error lorry_error.png
lorry flatbed lorry_flatbed.pnglorry go lorry_go.pnglorry link lorry_link.pngmagifier zoom out magifier_zoom_out.pngmagnifier magnifier.pngmagnifier zoom in magnifier_zoom_in.pngmale male.pngmap map.pngmap add map_add.pngmap delete map_delete.pngmap edit map_edit.pngmap go map_go.png
map magnify map_magnify.pngmedal bronze 1 medal_bronze_1.pngmedal bronze 2 medal_bronze_2.pngmedal bronze 3 medal_bronze_3.pngmedal bronze add medal_bronze_add.pngmedal bronze delete medal_bronze_delete.pngmedal gold 1 medal_gold_1.pngmedal gold 2 medal_gold_2.pngmedal gold 3 medal_gold_3.pngmedal gold add medal_gold_add.pngmedal gold delete medal_gold_delete.pngmedal silver 1 medal_silver_1.png
medal silver 2 medal_silver_2.pngmedal silver 3 medal_silver_3.pngmedal silver add medal_silver_add.pngmedal silver delete medal_silver_delete.pngmoney money.pngmoney add money_add.pngmoney delete money_delete.pngmoney dollar money_dollar.pngmoney euro money_euro.pngmoney pound money_pound.pngmoney yen money_yen.pngmonitor monitor.png
monitor add monitor_add.pngmonitor delete monitor_delete.pngmonitor edit monitor_edit.pngmonitor error monitor_error.pngmonitor go monitor_go.pngmonitor lightning monitor_lightning.pngmonitor link monitor_link.pngmouse mouse.pngmouse add mouse_add.pngmouse delete mouse_delete.pngmouse error mouse_error.pngmusic music.png
new new.pngnewspaper newspaper.pngnewspaper add newspaper_add.pngnewspaper delete newspaper_delete.pngnewspaper go newspaper_go.pngnewspaper link newspaper_link.pngnote note.pngnote add note_add.pngnote delete note_delete.pngnote edit note_edit.pngnote error note_error.pngnote go note_go.png
overlays overlays.pngpackage package.pngpackage add package_add.pngpackage delete package_delete.pngpackage go package_go.pngpackage green package_green.pngpackage link package_link.pngpage page.pngpage add page_add.pngpage attach page_attach.pngpage code page_code.pngpage copy page_copy.png
page delete page_delete.pngpage edit page_edit.pngpage error page_error.pngpage excel page_excel.pngpage find page_find.pngpage gear page_gear.pngpage go page_go.pngpage green page_green.pngpage key page_key.pngpage lightning page_lightning.pngpage link page_link.pngpage paintbrush page_paintbrush.png
page paste page_paste.pngpage red page_red.pngpage refresh page_refresh.pngpage save page_save.pngpage white page_white.pngpage white acrobat page_white_acrobat.pngpage white actionscript page_white_actionscript.pngpage white add page_white_add.pngpage white c page_white_c.pngpage white camera page_white_camera.pngpage white cd page_white_cd.pngpage white code page_white_code.png
page white code red page_white_code_red.pngpage white coldfusion page_white_coldfusion.pngpage white compressed page_white_compressed.pngpage white copy page_white_copy.pngpage white cplusplus page_white_cplusplus.pngpage white csharp page_white_csharp.pngpage white cup page_white_cup.pngpage white database page_white_database.pngpage white delete page_white_delete.pngpage white dvd page_white_dvd.pngpage white edit page_white_edit.pngpage white error page_white_error.png
page white excel page_white_excel.pngpage white find page_white_find.pngpage white flash page_white_flash.pngpage white freehand page_white_freehand.pngpage white gear page_white_gear.pngpage white get page_white_get.pngpage white go page_white_go.pngpage white h page_white_h.pngpage white horizontal page_white_horizontal.pngpage white key page_white_key.pngpage white lightning page_white_lightning.pngpage white link page_white_link.png
page white magnify page_white_magnify.pngpage white medal page_white_medal.pngpage white office page_white_office.pngpage white paint page_white_paint.pngpage white paintbrush page_white_paintbrush.pngpage white paste page_white_paste.pngpage white php page_white_php.pngpage white picture page_white_picture.pngpage white powerpoint page_white_powerpoint.pngpage white put page_white_put.pngpage white ruby page_white_ruby.pngpage white stack page_white_stack.png
page white star page_white_star.pngpage white swoosh page_white_swoosh.pngpage white text page_white_text.pngpage white text width page_white_text_width.pngpage white tux page_white_tux.pngpage white vector page_white_vector.pngpage white visualstudio page_white_visualstudio.pngpage white width page_white_width.pngpage white word page_white_word.pngpage white world page_white_world.pngpage white wrench page_white_wrench.pngpage white zip page_white_zip.png
page word page_word.pngpage world page_world.pngpaintbrush paintbrush.pngpaintcan paintcan.pngpalette palette.pngpaste plain paste_plain.pngpaste word paste_word.pngpencil pencil.pngpencil add pencil_add.pngpencil delete pencil_delete.pngpencil go pencil_go.pngphone phone.png
phone add phone_add.pngphone delete phone_delete.pngphone sound phone_sound.pngphoto photo.pngphoto add photo_add.pngphoto delete photo_delete.pngphoto link photo_link.pngphotos photos.pngpicture picture.pngpicture add picture_add.pngpicture delete picture_delete.pngpicture edit picture_edit.png
picture empty picture_empty.pngpicture error picture_error.pngpicture go picture_go.pngpicture key picture_key.pngpicture link picture_link.pngpicture save picture_save.pngpictures pictures.pngpilcrow pilcrow.pngpill pill.pngpill add pill_add.pngpill delete pill_delete.pngpill go pill_go.png
plugin plugin.pngplugin add plugin_add.pngplugin delete plugin_delete.pngplugin disabled plugin_disabled.pngplugin edit plugin_edit.pngplugin error plugin_error.pngplugin go plugin_go.pngplugin link plugin_link.pngprinter printer.pngprinter add printer_add.pngprinter delete printer_delete.pngprinter empty printer_empty.png
printer error printer_error.pngrainbow rainbow.pngreport report.pngreport add report_add.pngreport delete report_delete.pngreport disk report_disk.pngreport edit report_edit.pngreport go report_go.pngreport key report_key.pngreport link report_link.pngreport magnify report_magnify.pngreport picture report_picture.png
report user report_user.pngreport word report_word.pngresultset first resultset_first.pngresultset last resultset_last.pngresultset next resultset_next.pngresultset previous resultset_previous.pngrosette rosette.pngrss rss.pngrss add rss_add.pngrss delete rss_delete.pngrss go rss_go.pngrss valid rss_valid.png
ruby ruby.pngruby add ruby_add.pngruby delete ruby_delete.pngruby gear ruby_gear.pngruby get ruby_get.pngruby go ruby_go.pngruby key ruby_key.pngruby link ruby_link.pngruby put ruby_put.pngscript script.pngscript add script_add.pngscript code script_code.png
script code red script_code_red.pngscript delete script_delete.pngscript edit script_edit.pngscript error script_error.pngscript gear script_gear.pngscript go script_go.pngscript key script_key.pngscript lightning script_lightning.pngscript link script_link.pngscript palette script_palette.pngscript save script_save.pngserver server.png
server add server_add.pngserver chart server_chart.pngserver compressed server_compressed.pngserver connect server_connect.pngserver database server_database.pngserver delete server_delete.pngserver edit server_edit.pngserver error server_error.pngserver go server_go.pngserver key server_key.pngserver lightning server_lightning.pngserver link server_link.png
server uncompressed server_uncompressed.pngshading shading.pngshape align bottom shape_align_bottom.pngshape align center shape_align_center.pngshape align left shape_align_left.pngshape align middle shape_align_middle.pngshape align right shape_align_right.pngshape align top shape_align_top.pngshape flip horizontal shape_flip_horizontal.pngshape flip vertical shape_flip_vertical.pngshape group shape_group.pngshape handles shape_handles.png
shape move back shape_move_back.pngshape move backwards shape_move_backwards.pngshape move forwards shape_move_forwards.pngshape move front shape_move_front.pngshape rotate anticlockwise shape_rotate_anticlockwise.pngshape rotate clockwise shape_rotate_clockwise.pngshape square shape_square.pngshape square add shape_square_add.pngshape square delete shape_square_delete.pngshape square edit shape_square_edit.pngshape square error shape_square_error.pngshape square go shape_square_go.png
shape square key shape_square_key.pngshape square link shape_square_link.pngshape ungroup shape_ungroup.pngshield shield.pngshield add shield_add.pngshield delete shield_delete.pngshield go shield_go.pngsitemap sitemap.pngsitemap color sitemap_color.pngsound sound.pngsound add sound_add.pngsound delete sound_delete.png
sound low sound_low.pngsound mute sound_mute.pngsound none sound_none.pngspellcheck spellcheck.pngsport 8ball sport_8ball.pngsport basketball sport_basketball.pngsport football sport_football.pngsport golf sport_golf.pngsport raquet sport_raquet.pngsport shuttlecock sport_shuttlecock.pngsport soccer sport_soccer.pngsport tennis sport_tennis.png
star star.pngstatus away status_away.pngstatus busy status_busy.pngstatus offline status_offline.pngstatus online status_online.pngstop stop.pngstyle style.pngstyle add style_add.pngstyle delete style_delete.pngstyle edit style_edit.pngstyle go style_go.pngsum sum.png
tab tab.pngtab add tab_add.pngtab delete tab_delete.pngtab edit tab_edit.pngtab go tab_go.pngtable table.pngtable add table_add.pngtable delete table_delete.pngtable edit table_edit.pngtable error table_error.pngtable gear table_gear.pngtable go table_go.png
table key table_key.pngtable lightning table_lightning.pngtable link table_link.pngtable multiple table_multiple.pngtable refresh table_refresh.pngtable relationship table_relationship.pngtable row delete table_row_delete.pngtable row insert table_row_insert.pngtable save table_save.pngtable sort table_sort.pngtag tag.pngtag blue tag_blue.png
tag blue add tag_blue_add.pngtag blue delete tag_blue_delete.pngtag blue edit tag_blue_edit.pngtag green tag_green.pngtag orange tag_orange.pngtag pink tag_pink.pngtag purple tag_purple.pngtag red tag_red.pngtag yellow tag_yellow.pngtelephone telephone.pngtelephone add telephone_add.pngtelephone delete telephone_delete.png
telephone edit telephone_edit.pngtelephone error telephone_error.pngtelephone go telephone_go.pngtelephone key telephone_key.pngtelephone link telephone_link.pngtelevision television.pngtelevision add television_add.pngtelevision delete television_delete.pngtext align center text_align_center.pngtext align justify text_align_justify.pngtext align left text_align_left.pngtext align right text_align_right.png
text allcaps text_allcaps.pngtext bold text_bold.pngtext columns text_columns.pngtext dropcaps text_dropcaps.pngtext heading 1 text_heading_1.pngtext heading 2 text_heading_2.pngtext heading 3 text_heading_3.pngtext heading 4 text_heading_4.pngtext heading 5 text_heading_5.pngtext heading 6 text_heading_6.pngtext horizontalrule text_horizontalrule.pngtext indent text_indent.png
text indent remove text_indent_remove.pngtext italic text_italic.pngtext kerning text_kerning.pngtext letter omega text_letter_omega.pngtext letterspacing text_letterspacing.pngtext linespacing text_linespacing.pngtext list bullets text_list_bullets.pngtext list numbers text_list_numbers.pngtext lowercase text_lowercase.pngtext padding bottom text_padding_bottom.pngtext padding left text_padding_left.pngtext padding right text_padding_right.png
text padding top text_padding_top.pngtext replace text_replace.pngtext signature text_signature.pngtext smallcaps text_smallcaps.pngtext strikethrough text_strikethrough.pngtext subscript text_subscript.pngtext superscript text_superscript.pngtext underline text_underline.pngtext uppercase text_uppercase.pngtextfield textfield.pngtextfield add textfield_add.pngtextfield delete textfield_delete.png
textfield key textfield_key.pngtextfield rename textfield_rename.pngthumb down thumb_down.pngthumb up thumb_up.pngtick tick.pngtime time.pngtime add time_add.pngtime delete time_delete.pngtime go time_go.pngtimeline marker timeline_marker.pngtransmit transmit.pngtransmit add transmit_add.png
transmit blue transmit_blue.pngtransmit delete transmit_delete.pngtransmit edit transmit_edit.pngtransmit error transmit_error.pngtransmit go transmit_go.pngtux tux.pnguser user.pnguser add user_add.pnguser comment user_comment.pnguser delete user_delete.pnguser edit user_edit.pnguser female user_female.png
user go user_go.pnguser gray user_gray.pnguser green user_green.pnguser orange user_orange.pnguser red user_red.pnguser suit user_suit.pngvcard vcard.pngvcard add vcard_add.pngvcard delete vcard_delete.pngvcard edit vcard_edit.pngvector vector.pngvector add vector_add.png
vector delete vector_delete.pngwand wand.pngweather clouds weather_clouds.pngweather cloudy weather_cloudy.pngweather lightning weather_lightning.pngweather rain weather_rain.pngweather snow weather_snow.pngweather sun weather_sun.pngwebcam webcam.pngwebcam add webcam_add.pngwebcam delete webcam_delete.pngwebcam error webcam_error.png
world world.pngworld add world_add.pngworld delete world_delete.pngworld edit world_edit.pngworld go world_go.pngworld link world_link.pngwrench wrench.pngwrench orange wrench_orange.pngxhtml xhtml.pngxhtml add xhtml_add.pngxhtml delete xhtml_delete.pngxhtml go xhtml_go.png
xhtml valid xhtml_valid.pngzoom zoom.pngzoom in zoom_in.pngzoom out zoom_out.png        
-

- -
- -
- -
- -
- - - - - \ No newline at end of file diff --git a/ext-resources/css/theme/img/silk/_readme.txt b/ext-resources/css/theme/img/silk/_readme.txt deleted file mode 100755 index 2cf67dc..0000000 --- a/ext-resources/css/theme/img/silk/_readme.txt +++ /dev/null @@ -1,22 +0,0 @@ -Silk icon set 1.3 - -_________________________________________ -Mark James -http://www.famfamfam.com/lab/icons/silk/ -_________________________________________ - -This work is licensed under a -Creative Commons Attribution 2.5 License. -[ http://creativecommons.org/licenses/by/2.5/ ] - -This means you may use it for any purpose, -and make any changes you like. -All I ask is that you include a link back -to this page in your credits. - -Are you using this icon set? Send me an email -(including a link or picture if available) to -mjames@gmail.com - -Any other questions about this icon set please -contact mjames@gmail.com \ No newline at end of file diff --git a/ext-resources/css/theme/img/silk/accept.png b/ext-resources/css/theme/img/silk/accept.png deleted file mode 100755 index 89c8129..0000000 Binary files a/ext-resources/css/theme/img/silk/accept.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/add.png b/ext-resources/css/theme/img/silk/add.png deleted file mode 100755 index 6332fef..0000000 Binary files a/ext-resources/css/theme/img/silk/add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/anchor.png b/ext-resources/css/theme/img/silk/anchor.png deleted file mode 100755 index 9b3422c..0000000 Binary files a/ext-resources/css/theme/img/silk/anchor.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application.png b/ext-resources/css/theme/img/silk/application.png deleted file mode 100755 index 1dee9e3..0000000 Binary files a/ext-resources/css/theme/img/silk/application.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_add.png b/ext-resources/css/theme/img/silk/application_add.png deleted file mode 100755 index 2e94507..0000000 Binary files a/ext-resources/css/theme/img/silk/application_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_cascade.png b/ext-resources/css/theme/img/silk/application_cascade.png deleted file mode 100755 index da5c622..0000000 Binary files a/ext-resources/css/theme/img/silk/application_cascade.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_delete.png b/ext-resources/css/theme/img/silk/application_delete.png deleted file mode 100755 index 0a335ac..0000000 Binary files a/ext-resources/css/theme/img/silk/application_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_double.png b/ext-resources/css/theme/img/silk/application_double.png deleted file mode 100755 index 647592f..0000000 Binary files a/ext-resources/css/theme/img/silk/application_double.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_edit.png b/ext-resources/css/theme/img/silk/application_edit.png deleted file mode 100755 index fb2efb8..0000000 Binary files a/ext-resources/css/theme/img/silk/application_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_error.png b/ext-resources/css/theme/img/silk/application_error.png deleted file mode 100755 index b35fa57..0000000 Binary files a/ext-resources/css/theme/img/silk/application_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_form.png b/ext-resources/css/theme/img/silk/application_form.png deleted file mode 100755 index 807b862..0000000 Binary files a/ext-resources/css/theme/img/silk/application_form.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_form_add.png b/ext-resources/css/theme/img/silk/application_form_add.png deleted file mode 100755 index 28c2175..0000000 Binary files a/ext-resources/css/theme/img/silk/application_form_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_form_delete.png b/ext-resources/css/theme/img/silk/application_form_delete.png deleted file mode 100755 index cd305ec..0000000 Binary files a/ext-resources/css/theme/img/silk/application_form_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_form_edit.png b/ext-resources/css/theme/img/silk/application_form_edit.png deleted file mode 100755 index af486c9..0000000 Binary files a/ext-resources/css/theme/img/silk/application_form_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_form_magnify.png b/ext-resources/css/theme/img/silk/application_form_magnify.png deleted file mode 100755 index 7b7fbd1..0000000 Binary files a/ext-resources/css/theme/img/silk/application_form_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_get.png b/ext-resources/css/theme/img/silk/application_get.png deleted file mode 100755 index 28e41ea..0000000 Binary files a/ext-resources/css/theme/img/silk/application_get.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_go.png b/ext-resources/css/theme/img/silk/application_go.png deleted file mode 100755 index 5cc2b0d..0000000 Binary files a/ext-resources/css/theme/img/silk/application_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_home.png b/ext-resources/css/theme/img/silk/application_home.png deleted file mode 100755 index b60d0c8..0000000 Binary files a/ext-resources/css/theme/img/silk/application_home.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_key.png b/ext-resources/css/theme/img/silk/application_key.png deleted file mode 100755 index 998d65c..0000000 Binary files a/ext-resources/css/theme/img/silk/application_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_lightning.png b/ext-resources/css/theme/img/silk/application_lightning.png deleted file mode 100755 index 7e91545..0000000 Binary files a/ext-resources/css/theme/img/silk/application_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_link.png b/ext-resources/css/theme/img/silk/application_link.png deleted file mode 100755 index f8fbb3e..0000000 Binary files a/ext-resources/css/theme/img/silk/application_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_osx.png b/ext-resources/css/theme/img/silk/application_osx.png deleted file mode 100755 index 9f022ec..0000000 Binary files a/ext-resources/css/theme/img/silk/application_osx.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_osx_terminal.png b/ext-resources/css/theme/img/silk/application_osx_terminal.png deleted file mode 100755 index b3d8ce0..0000000 Binary files a/ext-resources/css/theme/img/silk/application_osx_terminal.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_put.png b/ext-resources/css/theme/img/silk/application_put.png deleted file mode 100755 index c30cf59..0000000 Binary files a/ext-resources/css/theme/img/silk/application_put.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_side_boxes.png b/ext-resources/css/theme/img/silk/application_side_boxes.png deleted file mode 100755 index efbf3c4..0000000 Binary files a/ext-resources/css/theme/img/silk/application_side_boxes.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_side_contract.png b/ext-resources/css/theme/img/silk/application_side_contract.png deleted file mode 100755 index 3585f94..0000000 Binary files a/ext-resources/css/theme/img/silk/application_side_contract.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_side_expand.png b/ext-resources/css/theme/img/silk/application_side_expand.png deleted file mode 100755 index 030cf7c..0000000 Binary files a/ext-resources/css/theme/img/silk/application_side_expand.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_side_list.png b/ext-resources/css/theme/img/silk/application_side_list.png deleted file mode 100755 index 248eaf1..0000000 Binary files a/ext-resources/css/theme/img/silk/application_side_list.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_side_tree.png b/ext-resources/css/theme/img/silk/application_side_tree.png deleted file mode 100755 index f04a52b..0000000 Binary files a/ext-resources/css/theme/img/silk/application_side_tree.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_split.png b/ext-resources/css/theme/img/silk/application_split.png deleted file mode 100755 index a91c78a..0000000 Binary files a/ext-resources/css/theme/img/silk/application_split.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_tile_horizontal.png b/ext-resources/css/theme/img/silk/application_tile_horizontal.png deleted file mode 100755 index 8a1191c..0000000 Binary files a/ext-resources/css/theme/img/silk/application_tile_horizontal.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_tile_vertical.png b/ext-resources/css/theme/img/silk/application_tile_vertical.png deleted file mode 100755 index 1d40383..0000000 Binary files a/ext-resources/css/theme/img/silk/application_tile_vertical.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_view_columns.png b/ext-resources/css/theme/img/silk/application_view_columns.png deleted file mode 100755 index dc2e9d5..0000000 Binary files a/ext-resources/css/theme/img/silk/application_view_columns.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_view_detail.png b/ext-resources/css/theme/img/silk/application_view_detail.png deleted file mode 100755 index aba044b..0000000 Binary files a/ext-resources/css/theme/img/silk/application_view_detail.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_view_gallery.png b/ext-resources/css/theme/img/silk/application_view_gallery.png deleted file mode 100755 index 851950d..0000000 Binary files a/ext-resources/css/theme/img/silk/application_view_gallery.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_view_icons.png b/ext-resources/css/theme/img/silk/application_view_icons.png deleted file mode 100755 index 6a93cda..0000000 Binary files a/ext-resources/css/theme/img/silk/application_view_icons.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_view_list.png b/ext-resources/css/theme/img/silk/application_view_list.png deleted file mode 100755 index acc30b8..0000000 Binary files a/ext-resources/css/theme/img/silk/application_view_list.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_view_tile.png b/ext-resources/css/theme/img/silk/application_view_tile.png deleted file mode 100755 index 3bc0bd3..0000000 Binary files a/ext-resources/css/theme/img/silk/application_view_tile.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_xp.png b/ext-resources/css/theme/img/silk/application_xp.png deleted file mode 100755 index d22860a..0000000 Binary files a/ext-resources/css/theme/img/silk/application_xp.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/application_xp_terminal.png b/ext-resources/css/theme/img/silk/application_xp_terminal.png deleted file mode 100755 index c28dd63..0000000 Binary files a/ext-resources/css/theme/img/silk/application_xp_terminal.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_branch.png b/ext-resources/css/theme/img/silk/arrow_branch.png deleted file mode 100755 index 7542db1..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_branch.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_divide.png b/ext-resources/css/theme/img/silk/arrow_divide.png deleted file mode 100755 index 61a7b1d..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_divide.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_down.png b/ext-resources/css/theme/img/silk/arrow_down.png deleted file mode 100755 index 2c4e279..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_down.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_in.png b/ext-resources/css/theme/img/silk/arrow_in.png deleted file mode 100755 index 745c651..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_in.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_inout.png b/ext-resources/css/theme/img/silk/arrow_inout.png deleted file mode 100755 index 1b76367..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_inout.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_join.png b/ext-resources/css/theme/img/silk/arrow_join.png deleted file mode 100755 index a128413..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_join.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_left.png b/ext-resources/css/theme/img/silk/arrow_left.png deleted file mode 100755 index 5dc6967..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_left.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_merge.png b/ext-resources/css/theme/img/silk/arrow_merge.png deleted file mode 100755 index 7502dbb..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_merge.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_out.png b/ext-resources/css/theme/img/silk/arrow_out.png deleted file mode 100755 index 2e9bc42..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_out.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_redo.png b/ext-resources/css/theme/img/silk/arrow_redo.png deleted file mode 100755 index fdc394c..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_redo.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_refresh.png b/ext-resources/css/theme/img/silk/arrow_refresh.png deleted file mode 100755 index 0de2656..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_refresh.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_refresh_small.png b/ext-resources/css/theme/img/silk/arrow_refresh_small.png deleted file mode 100755 index d3087df..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_refresh_small.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_right.png b/ext-resources/css/theme/img/silk/arrow_right.png deleted file mode 100755 index b1a1819..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_right.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_rotate_anticlockwise.png b/ext-resources/css/theme/img/silk/arrow_rotate_anticlockwise.png deleted file mode 100755 index 46c75aa..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_rotate_anticlockwise.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_rotate_clockwise.png b/ext-resources/css/theme/img/silk/arrow_rotate_clockwise.png deleted file mode 100755 index aa65210..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_rotate_clockwise.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_switch.png b/ext-resources/css/theme/img/silk/arrow_switch.png deleted file mode 100755 index 258c16c..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_switch.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_turn_left.png b/ext-resources/css/theme/img/silk/arrow_turn_left.png deleted file mode 100755 index a3d6c9e..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_turn_left.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_turn_right.png b/ext-resources/css/theme/img/silk/arrow_turn_right.png deleted file mode 100755 index 629f20d..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_turn_right.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_undo.png b/ext-resources/css/theme/img/silk/arrow_undo.png deleted file mode 100755 index 6972c5e..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_undo.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/arrow_up.png b/ext-resources/css/theme/img/silk/arrow_up.png deleted file mode 100755 index 1ebb193..0000000 Binary files a/ext-resources/css/theme/img/silk/arrow_up.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/asterisk_orange.png b/ext-resources/css/theme/img/silk/asterisk_orange.png deleted file mode 100755 index 1ebebde..0000000 Binary files a/ext-resources/css/theme/img/silk/asterisk_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/asterisk_yellow.png b/ext-resources/css/theme/img/silk/asterisk_yellow.png deleted file mode 100755 index bab7cc9..0000000 Binary files a/ext-resources/css/theme/img/silk/asterisk_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/attach.png b/ext-resources/css/theme/img/silk/attach.png deleted file mode 100755 index ea897cc..0000000 Binary files a/ext-resources/css/theme/img/silk/attach.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_add.png b/ext-resources/css/theme/img/silk/award_star_add.png deleted file mode 100755 index 9c4be9b..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_bronze_1.png b/ext-resources/css/theme/img/silk/award_star_bronze_1.png deleted file mode 100755 index 658c711..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_bronze_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_bronze_2.png b/ext-resources/css/theme/img/silk/award_star_bronze_2.png deleted file mode 100755 index e47babd..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_bronze_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_bronze_3.png b/ext-resources/css/theme/img/silk/award_star_bronze_3.png deleted file mode 100755 index 396e4b3..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_bronze_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_delete.png b/ext-resources/css/theme/img/silk/award_star_delete.png deleted file mode 100755 index 4721b15..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_gold_1.png b/ext-resources/css/theme/img/silk/award_star_gold_1.png deleted file mode 100755 index 97a22b7..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_gold_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_gold_2.png b/ext-resources/css/theme/img/silk/award_star_gold_2.png deleted file mode 100755 index 0eaa571..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_gold_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_gold_3.png b/ext-resources/css/theme/img/silk/award_star_gold_3.png deleted file mode 100755 index 124c991..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_gold_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_silver_1.png b/ext-resources/css/theme/img/silk/award_star_silver_1.png deleted file mode 100755 index 028a546..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_silver_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_silver_2.png b/ext-resources/css/theme/img/silk/award_star_silver_2.png deleted file mode 100755 index e487c3a..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_silver_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/award_star_silver_3.png b/ext-resources/css/theme/img/silk/award_star_silver_3.png deleted file mode 100755 index 1d72d47..0000000 Binary files a/ext-resources/css/theme/img/silk/award_star_silver_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket.png b/ext-resources/css/theme/img/silk/basket.png deleted file mode 100755 index b0686d7..0000000 Binary files a/ext-resources/css/theme/img/silk/basket.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_add.png b/ext-resources/css/theme/img/silk/basket_add.png deleted file mode 100755 index 3554368..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_delete.png b/ext-resources/css/theme/img/silk/basket_delete.png deleted file mode 100755 index 1349974..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_edit.png b/ext-resources/css/theme/img/silk/basket_edit.png deleted file mode 100755 index 8138bbd..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_error.png b/ext-resources/css/theme/img/silk/basket_error.png deleted file mode 100755 index 3978b29..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_go.png b/ext-resources/css/theme/img/silk/basket_go.png deleted file mode 100755 index ed8b9a5..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_put.png b/ext-resources/css/theme/img/silk/basket_put.png deleted file mode 100755 index be62faa..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_put.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/basket_remove.png b/ext-resources/css/theme/img/silk/basket_remove.png deleted file mode 100755 index 04dd7fd..0000000 Binary files a/ext-resources/css/theme/img/silk/basket_remove.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bell.png b/ext-resources/css/theme/img/silk/bell.png deleted file mode 100755 index 6e0015d..0000000 Binary files a/ext-resources/css/theme/img/silk/bell.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bell_add.png b/ext-resources/css/theme/img/silk/bell_add.png deleted file mode 100755 index 7db01d6..0000000 Binary files a/ext-resources/css/theme/img/silk/bell_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bell_delete.png b/ext-resources/css/theme/img/silk/bell_delete.png deleted file mode 100755 index 23907bb..0000000 Binary files a/ext-resources/css/theme/img/silk/bell_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bell_error.png b/ext-resources/css/theme/img/silk/bell_error.png deleted file mode 100755 index a0ddc00..0000000 Binary files a/ext-resources/css/theme/img/silk/bell_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bell_go.png b/ext-resources/css/theme/img/silk/bell_go.png deleted file mode 100755 index b89bb34..0000000 Binary files a/ext-resources/css/theme/img/silk/bell_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bell_link.png b/ext-resources/css/theme/img/silk/bell_link.png deleted file mode 100755 index b8c64af..0000000 Binary files a/ext-resources/css/theme/img/silk/bell_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bin.png b/ext-resources/css/theme/img/silk/bin.png deleted file mode 100755 index ebad933..0000000 Binary files a/ext-resources/css/theme/img/silk/bin.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bin_closed.png b/ext-resources/css/theme/img/silk/bin_closed.png deleted file mode 100755 index afe22ba..0000000 Binary files a/ext-resources/css/theme/img/silk/bin_closed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bin_empty.png b/ext-resources/css/theme/img/silk/bin_empty.png deleted file mode 100755 index 375b8bf..0000000 Binary files a/ext-resources/css/theme/img/silk/bin_empty.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bomb.png b/ext-resources/css/theme/img/silk/bomb.png deleted file mode 100755 index 1be3797..0000000 Binary files a/ext-resources/css/theme/img/silk/bomb.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book.png b/ext-resources/css/theme/img/silk/book.png deleted file mode 100755 index b0f4dd7..0000000 Binary files a/ext-resources/css/theme/img/silk/book.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_add.png b/ext-resources/css/theme/img/silk/book_add.png deleted file mode 100755 index e2f0847..0000000 Binary files a/ext-resources/css/theme/img/silk/book_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_addresses.png b/ext-resources/css/theme/img/silk/book_addresses.png deleted file mode 100755 index b73419b..0000000 Binary files a/ext-resources/css/theme/img/silk/book_addresses.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_delete.png b/ext-resources/css/theme/img/silk/book_delete.png deleted file mode 100755 index d9a6340..0000000 Binary files a/ext-resources/css/theme/img/silk/book_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_edit.png b/ext-resources/css/theme/img/silk/book_edit.png deleted file mode 100755 index 6e756cc..0000000 Binary files a/ext-resources/css/theme/img/silk/book_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_error.png b/ext-resources/css/theme/img/silk/book_error.png deleted file mode 100755 index f3fbed0..0000000 Binary files a/ext-resources/css/theme/img/silk/book_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_go.png b/ext-resources/css/theme/img/silk/book_go.png deleted file mode 100755 index cd4e196..0000000 Binary files a/ext-resources/css/theme/img/silk/book_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_key.png b/ext-resources/css/theme/img/silk/book_key.png deleted file mode 100755 index d8e23ec..0000000 Binary files a/ext-resources/css/theme/img/silk/book_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_link.png b/ext-resources/css/theme/img/silk/book_link.png deleted file mode 100755 index dd0820e..0000000 Binary files a/ext-resources/css/theme/img/silk/book_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_next.png b/ext-resources/css/theme/img/silk/book_next.png deleted file mode 100755 index ff2ea1a..0000000 Binary files a/ext-resources/css/theme/img/silk/book_next.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_open.png b/ext-resources/css/theme/img/silk/book_open.png deleted file mode 100755 index 7d863f9..0000000 Binary files a/ext-resources/css/theme/img/silk/book_open.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/book_previous.png b/ext-resources/css/theme/img/silk/book_previous.png deleted file mode 100755 index 2e53c69..0000000 Binary files a/ext-resources/css/theme/img/silk/book_previous.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/box.png b/ext-resources/css/theme/img/silk/box.png deleted file mode 100755 index 8443c23..0000000 Binary files a/ext-resources/css/theme/img/silk/box.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick.png b/ext-resources/css/theme/img/silk/brick.png deleted file mode 100755 index 7851cf3..0000000 Binary files a/ext-resources/css/theme/img/silk/brick.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick_add.png b/ext-resources/css/theme/img/silk/brick_add.png deleted file mode 100755 index fac186b..0000000 Binary files a/ext-resources/css/theme/img/silk/brick_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick_delete.png b/ext-resources/css/theme/img/silk/brick_delete.png deleted file mode 100755 index 3a8c373..0000000 Binary files a/ext-resources/css/theme/img/silk/brick_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick_edit.png b/ext-resources/css/theme/img/silk/brick_edit.png deleted file mode 100755 index eb06df3..0000000 Binary files a/ext-resources/css/theme/img/silk/brick_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick_error.png b/ext-resources/css/theme/img/silk/brick_error.png deleted file mode 100755 index 18ab01e..0000000 Binary files a/ext-resources/css/theme/img/silk/brick_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick_go.png b/ext-resources/css/theme/img/silk/brick_go.png deleted file mode 100755 index fe0d335..0000000 Binary files a/ext-resources/css/theme/img/silk/brick_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/brick_link.png b/ext-resources/css/theme/img/silk/brick_link.png deleted file mode 100755 index 9ebf013..0000000 Binary files a/ext-resources/css/theme/img/silk/brick_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bricks.png b/ext-resources/css/theme/img/silk/bricks.png deleted file mode 100755 index 0905f93..0000000 Binary files a/ext-resources/css/theme/img/silk/bricks.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/briefcase.png b/ext-resources/css/theme/img/silk/briefcase.png deleted file mode 100755 index 05c5649..0000000 Binary files a/ext-resources/css/theme/img/silk/briefcase.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug.png b/ext-resources/css/theme/img/silk/bug.png deleted file mode 100755 index 2d5fb90..0000000 Binary files a/ext-resources/css/theme/img/silk/bug.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug_add.png b/ext-resources/css/theme/img/silk/bug_add.png deleted file mode 100755 index ced7817..0000000 Binary files a/ext-resources/css/theme/img/silk/bug_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug_delete.png b/ext-resources/css/theme/img/silk/bug_delete.png deleted file mode 100755 index e81d757..0000000 Binary files a/ext-resources/css/theme/img/silk/bug_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug_edit.png b/ext-resources/css/theme/img/silk/bug_edit.png deleted file mode 100755 index e5c7dc0..0000000 Binary files a/ext-resources/css/theme/img/silk/bug_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug_error.png b/ext-resources/css/theme/img/silk/bug_error.png deleted file mode 100755 index c4e8c28..0000000 Binary files a/ext-resources/css/theme/img/silk/bug_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug_go.png b/ext-resources/css/theme/img/silk/bug_go.png deleted file mode 100755 index 4e4ae99..0000000 Binary files a/ext-resources/css/theme/img/silk/bug_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bug_link.png b/ext-resources/css/theme/img/silk/bug_link.png deleted file mode 100755 index 30e25ab..0000000 Binary files a/ext-resources/css/theme/img/silk/bug_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building.png b/ext-resources/css/theme/img/silk/building.png deleted file mode 100755 index 11a017c..0000000 Binary files a/ext-resources/css/theme/img/silk/building.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_add.png b/ext-resources/css/theme/img/silk/building_add.png deleted file mode 100755 index d88e2b9..0000000 Binary files a/ext-resources/css/theme/img/silk/building_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_delete.png b/ext-resources/css/theme/img/silk/building_delete.png deleted file mode 100755 index db6455d..0000000 Binary files a/ext-resources/css/theme/img/silk/building_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_edit.png b/ext-resources/css/theme/img/silk/building_edit.png deleted file mode 100755 index 646db36..0000000 Binary files a/ext-resources/css/theme/img/silk/building_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_error.png b/ext-resources/css/theme/img/silk/building_error.png deleted file mode 100755 index a342eef..0000000 Binary files a/ext-resources/css/theme/img/silk/building_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_go.png b/ext-resources/css/theme/img/silk/building_go.png deleted file mode 100755 index cdcbcb3..0000000 Binary files a/ext-resources/css/theme/img/silk/building_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_key.png b/ext-resources/css/theme/img/silk/building_key.png deleted file mode 100755 index 8b79e30..0000000 Binary files a/ext-resources/css/theme/img/silk/building_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/building_link.png b/ext-resources/css/theme/img/silk/building_link.png deleted file mode 100755 index a340629..0000000 Binary files a/ext-resources/css/theme/img/silk/building_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_add.png b/ext-resources/css/theme/img/silk/bullet_add.png deleted file mode 100755 index 41ff833..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_arrow_bottom.png b/ext-resources/css/theme/img/silk/bullet_arrow_bottom.png deleted file mode 100755 index 1a28d82..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_arrow_bottom.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_arrow_down.png b/ext-resources/css/theme/img/silk/bullet_arrow_down.png deleted file mode 100755 index 9b23c06..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_arrow_down.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_arrow_top.png b/ext-resources/css/theme/img/silk/bullet_arrow_top.png deleted file mode 100755 index 0ce86d2..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_arrow_top.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_arrow_up.png b/ext-resources/css/theme/img/silk/bullet_arrow_up.png deleted file mode 100755 index 24df0f4..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_arrow_up.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_black.png b/ext-resources/css/theme/img/silk/bullet_black.png deleted file mode 100755 index 5761970..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_black.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_blue.png b/ext-resources/css/theme/img/silk/bullet_blue.png deleted file mode 100755 index a7651ec..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_delete.png b/ext-resources/css/theme/img/silk/bullet_delete.png deleted file mode 100755 index bd6271b..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_disk.png b/ext-resources/css/theme/img/silk/bullet_disk.png deleted file mode 100755 index 209c6a7..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_disk.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_error.png b/ext-resources/css/theme/img/silk/bullet_error.png deleted file mode 100755 index bca2b49..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_feed.png b/ext-resources/css/theme/img/silk/bullet_feed.png deleted file mode 100755 index 1a0e0f1..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_feed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_go.png b/ext-resources/css/theme/img/silk/bullet_go.png deleted file mode 100755 index bc4faa7..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_green.png b/ext-resources/css/theme/img/silk/bullet_green.png deleted file mode 100755 index 058ad26..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_key.png b/ext-resources/css/theme/img/silk/bullet_key.png deleted file mode 100755 index 3d37f2e..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_orange.png b/ext-resources/css/theme/img/silk/bullet_orange.png deleted file mode 100755 index fa63024..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_picture.png b/ext-resources/css/theme/img/silk/bullet_picture.png deleted file mode 100755 index 386cb30..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_pink.png b/ext-resources/css/theme/img/silk/bullet_pink.png deleted file mode 100755 index 0c9f73e..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_pink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_purple.png b/ext-resources/css/theme/img/silk/bullet_purple.png deleted file mode 100755 index 52ba503..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_purple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_red.png b/ext-resources/css/theme/img/silk/bullet_red.png deleted file mode 100755 index 0cd8031..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_star.png b/ext-resources/css/theme/img/silk/bullet_star.png deleted file mode 100755 index fab774a..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_star.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_toggle_minus.png b/ext-resources/css/theme/img/silk/bullet_toggle_minus.png deleted file mode 100755 index b47ce55..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_toggle_minus.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_toggle_plus.png b/ext-resources/css/theme/img/silk/bullet_toggle_plus.png deleted file mode 100755 index 9ab4a89..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_toggle_plus.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_white.png b/ext-resources/css/theme/img/silk/bullet_white.png deleted file mode 100755 index a9af8d4..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_white.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_wrench.png b/ext-resources/css/theme/img/silk/bullet_wrench.png deleted file mode 100755 index 67817e6..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_wrench.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/bullet_yellow.png b/ext-resources/css/theme/img/silk/bullet_yellow.png deleted file mode 100755 index 6469cea..0000000 Binary files a/ext-resources/css/theme/img/silk/bullet_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cake.png b/ext-resources/css/theme/img/silk/cake.png deleted file mode 100755 index 4ef151a..0000000 Binary files a/ext-resources/css/theme/img/silk/cake.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calculator.png b/ext-resources/css/theme/img/silk/calculator.png deleted file mode 100755 index 701a60a..0000000 Binary files a/ext-resources/css/theme/img/silk/calculator.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calculator_add.png b/ext-resources/css/theme/img/silk/calculator_add.png deleted file mode 100755 index fd377bd..0000000 Binary files a/ext-resources/css/theme/img/silk/calculator_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calculator_delete.png b/ext-resources/css/theme/img/silk/calculator_delete.png deleted file mode 100755 index ac96170..0000000 Binary files a/ext-resources/css/theme/img/silk/calculator_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calculator_edit.png b/ext-resources/css/theme/img/silk/calculator_edit.png deleted file mode 100755 index 63b06b9..0000000 Binary files a/ext-resources/css/theme/img/silk/calculator_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calculator_error.png b/ext-resources/css/theme/img/silk/calculator_error.png deleted file mode 100755 index 0bc4288..0000000 Binary files a/ext-resources/css/theme/img/silk/calculator_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calculator_link.png b/ext-resources/css/theme/img/silk/calculator_link.png deleted file mode 100755 index a2a8fe6..0000000 Binary files a/ext-resources/css/theme/img/silk/calculator_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar.png b/ext-resources/css/theme/img/silk/calendar.png deleted file mode 100755 index 6589138..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_add.png b/ext-resources/css/theme/img/silk/calendar_add.png deleted file mode 100755 index 17679db..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_delete.png b/ext-resources/css/theme/img/silk/calendar_delete.png deleted file mode 100755 index 69a3b10..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_edit.png b/ext-resources/css/theme/img/silk/calendar_edit.png deleted file mode 100755 index d1d2d6e..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_link.png b/ext-resources/css/theme/img/silk/calendar_link.png deleted file mode 100755 index 6b106b9..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_view_day.png b/ext-resources/css/theme/img/silk/calendar_view_day.png deleted file mode 100755 index 9740f76..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_view_day.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_view_month.png b/ext-resources/css/theme/img/silk/calendar_view_month.png deleted file mode 100755 index 6cff76c..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_view_month.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/calendar_view_week.png b/ext-resources/css/theme/img/silk/calendar_view_week.png deleted file mode 100755 index 8fe695f..0000000 Binary files a/ext-resources/css/theme/img/silk/calendar_view_week.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera.png b/ext-resources/css/theme/img/silk/camera.png deleted file mode 100755 index 8536d1a..0000000 Binary files a/ext-resources/css/theme/img/silk/camera.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_add.png b/ext-resources/css/theme/img/silk/camera_add.png deleted file mode 100755 index 08b5da9..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_delete.png b/ext-resources/css/theme/img/silk/camera_delete.png deleted file mode 100755 index 3846d74..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_edit.png b/ext-resources/css/theme/img/silk/camera_edit.png deleted file mode 100755 index b5015b1..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_error.png b/ext-resources/css/theme/img/silk/camera_error.png deleted file mode 100755 index 3c1bc95..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_go.png b/ext-resources/css/theme/img/silk/camera_go.png deleted file mode 100755 index 94ce2b2..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_link.png b/ext-resources/css/theme/img/silk/camera_link.png deleted file mode 100755 index d2ac9f9..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/camera_small.png b/ext-resources/css/theme/img/silk/camera_small.png deleted file mode 100755 index 454b0b0..0000000 Binary files a/ext-resources/css/theme/img/silk/camera_small.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cancel.png b/ext-resources/css/theme/img/silk/cancel.png deleted file mode 100755 index c149c2b..0000000 Binary files a/ext-resources/css/theme/img/silk/cancel.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/car.png b/ext-resources/css/theme/img/silk/car.png deleted file mode 100755 index 4f3a770..0000000 Binary files a/ext-resources/css/theme/img/silk/car.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/car_add.png b/ext-resources/css/theme/img/silk/car_add.png deleted file mode 100755 index 1215a51..0000000 Binary files a/ext-resources/css/theme/img/silk/car_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/car_delete.png b/ext-resources/css/theme/img/silk/car_delete.png deleted file mode 100755 index 2803b56..0000000 Binary files a/ext-resources/css/theme/img/silk/car_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart.png b/ext-resources/css/theme/img/silk/cart.png deleted file mode 100755 index 1baf7b9..0000000 Binary files a/ext-resources/css/theme/img/silk/cart.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_add.png b/ext-resources/css/theme/img/silk/cart_add.png deleted file mode 100755 index 45c2900..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_delete.png b/ext-resources/css/theme/img/silk/cart_delete.png deleted file mode 100755 index ac5bce5..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_edit.png b/ext-resources/css/theme/img/silk/cart_edit.png deleted file mode 100755 index b94ff88..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_error.png b/ext-resources/css/theme/img/silk/cart_error.png deleted file mode 100755 index 144c835..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_go.png b/ext-resources/css/theme/img/silk/cart_go.png deleted file mode 100755 index 20ee058..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_put.png b/ext-resources/css/theme/img/silk/cart_put.png deleted file mode 100755 index 3aec353..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_put.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cart_remove.png b/ext-resources/css/theme/img/silk/cart_remove.png deleted file mode 100755 index 360217b..0000000 Binary files a/ext-resources/css/theme/img/silk/cart_remove.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd.png b/ext-resources/css/theme/img/silk/cd.png deleted file mode 100755 index ef43223..0000000 Binary files a/ext-resources/css/theme/img/silk/cd.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd_add.png b/ext-resources/css/theme/img/silk/cd_add.png deleted file mode 100755 index b0254ef..0000000 Binary files a/ext-resources/css/theme/img/silk/cd_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd_burn.png b/ext-resources/css/theme/img/silk/cd_burn.png deleted file mode 100755 index 157cb0b..0000000 Binary files a/ext-resources/css/theme/img/silk/cd_burn.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd_delete.png b/ext-resources/css/theme/img/silk/cd_delete.png deleted file mode 100755 index 7d7b3d5..0000000 Binary files a/ext-resources/css/theme/img/silk/cd_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd_edit.png b/ext-resources/css/theme/img/silk/cd_edit.png deleted file mode 100755 index b0dc194..0000000 Binary files a/ext-resources/css/theme/img/silk/cd_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd_eject.png b/ext-resources/css/theme/img/silk/cd_eject.png deleted file mode 100755 index 762932f..0000000 Binary files a/ext-resources/css/theme/img/silk/cd_eject.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cd_go.png b/ext-resources/css/theme/img/silk/cd_go.png deleted file mode 100755 index 13e0499..0000000 Binary files a/ext-resources/css/theme/img/silk/cd_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_bar.png b/ext-resources/css/theme/img/silk/chart_bar.png deleted file mode 100755 index 9051fbc..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_bar.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_bar_add.png b/ext-resources/css/theme/img/silk/chart_bar_add.png deleted file mode 100755 index d283e84..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_bar_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_bar_delete.png b/ext-resources/css/theme/img/silk/chart_bar_delete.png deleted file mode 100755 index 259f686..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_bar_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_bar_edit.png b/ext-resources/css/theme/img/silk/chart_bar_edit.png deleted file mode 100755 index df64d97..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_bar_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_bar_error.png b/ext-resources/css/theme/img/silk/chart_bar_error.png deleted file mode 100755 index bdacea5..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_bar_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_bar_link.png b/ext-resources/css/theme/img/silk/chart_bar_link.png deleted file mode 100755 index bf18aed..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_bar_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve.png b/ext-resources/css/theme/img/silk/chart_curve.png deleted file mode 100755 index 01e933a..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve_add.png b/ext-resources/css/theme/img/silk/chart_curve_add.png deleted file mode 100755 index f9e2050..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve_delete.png b/ext-resources/css/theme/img/silk/chart_curve_delete.png deleted file mode 100755 index b411391..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve_edit.png b/ext-resources/css/theme/img/silk/chart_curve_edit.png deleted file mode 100755 index bd07673..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve_error.png b/ext-resources/css/theme/img/silk/chart_curve_error.png deleted file mode 100755 index 906dd03..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve_go.png b/ext-resources/css/theme/img/silk/chart_curve_go.png deleted file mode 100755 index ac9eda5..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_curve_link.png b/ext-resources/css/theme/img/silk/chart_curve_link.png deleted file mode 100755 index 144eafe..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_curve_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_line.png b/ext-resources/css/theme/img/silk/chart_line.png deleted file mode 100755 index 85020f3..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_line.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_line_add.png b/ext-resources/css/theme/img/silk/chart_line_add.png deleted file mode 100755 index 5571a5e..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_line_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_line_delete.png b/ext-resources/css/theme/img/silk/chart_line_delete.png deleted file mode 100755 index 5b0aa90..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_line_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_line_edit.png b/ext-resources/css/theme/img/silk/chart_line_edit.png deleted file mode 100755 index 9cf6607..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_line_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_line_error.png b/ext-resources/css/theme/img/silk/chart_line_error.png deleted file mode 100755 index ff23c03..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_line_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_line_link.png b/ext-resources/css/theme/img/silk/chart_line_link.png deleted file mode 100755 index f3727d2..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_line_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_organisation.png b/ext-resources/css/theme/img/silk/chart_organisation.png deleted file mode 100755 index c32d25c..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_organisation.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_organisation_add.png b/ext-resources/css/theme/img/silk/chart_organisation_add.png deleted file mode 100755 index f0dba4a..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_organisation_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_organisation_delete.png b/ext-resources/css/theme/img/silk/chart_organisation_delete.png deleted file mode 100755 index 7dc8dca..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_organisation_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_pie.png b/ext-resources/css/theme/img/silk/chart_pie.png deleted file mode 100755 index fe00fa0..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_pie.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_pie_add.png b/ext-resources/css/theme/img/silk/chart_pie_add.png deleted file mode 100755 index bf0822e..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_pie_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_pie_delete.png b/ext-resources/css/theme/img/silk/chart_pie_delete.png deleted file mode 100755 index 5ab9efd..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_pie_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_pie_edit.png b/ext-resources/css/theme/img/silk/chart_pie_edit.png deleted file mode 100755 index 3debc12..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_pie_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_pie_error.png b/ext-resources/css/theme/img/silk/chart_pie_error.png deleted file mode 100755 index 7344174..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_pie_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/chart_pie_link.png b/ext-resources/css/theme/img/silk/chart_pie_link.png deleted file mode 100755 index c072f8e..0000000 Binary files a/ext-resources/css/theme/img/silk/chart_pie_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock.png b/ext-resources/css/theme/img/silk/clock.png deleted file mode 100755 index e2672c2..0000000 Binary files a/ext-resources/css/theme/img/silk/clock.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_add.png b/ext-resources/css/theme/img/silk/clock_add.png deleted file mode 100755 index 598b839..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_delete.png b/ext-resources/css/theme/img/silk/clock_delete.png deleted file mode 100755 index 8bf9efe..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_edit.png b/ext-resources/css/theme/img/silk/clock_edit.png deleted file mode 100755 index 7d35718..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_error.png b/ext-resources/css/theme/img/silk/clock_error.png deleted file mode 100755 index a7c461b..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_go.png b/ext-resources/css/theme/img/silk/clock_go.png deleted file mode 100755 index a1a24d3..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_link.png b/ext-resources/css/theme/img/silk/clock_link.png deleted file mode 100755 index 481cf04..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_pause.png b/ext-resources/css/theme/img/silk/clock_pause.png deleted file mode 100755 index ba74725..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_pause.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_play.png b/ext-resources/css/theme/img/silk/clock_play.png deleted file mode 100755 index fb4ebc8..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_play.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_red.png b/ext-resources/css/theme/img/silk/clock_red.png deleted file mode 100755 index 2842cc3..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/clock_stop.png b/ext-resources/css/theme/img/silk/clock_stop.png deleted file mode 100755 index 6fe8a6f..0000000 Binary files a/ext-resources/css/theme/img/silk/clock_stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cog.png b/ext-resources/css/theme/img/silk/cog.png deleted file mode 100755 index 67de2c6..0000000 Binary files a/ext-resources/css/theme/img/silk/cog.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cog_add.png b/ext-resources/css/theme/img/silk/cog_add.png deleted file mode 100755 index 04f22ba..0000000 Binary files a/ext-resources/css/theme/img/silk/cog_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cog_delete.png b/ext-resources/css/theme/img/silk/cog_delete.png deleted file mode 100755 index 8ce71c4..0000000 Binary files a/ext-resources/css/theme/img/silk/cog_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cog_edit.png b/ext-resources/css/theme/img/silk/cog_edit.png deleted file mode 100755 index 47b75a4..0000000 Binary files a/ext-resources/css/theme/img/silk/cog_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cog_error.png b/ext-resources/css/theme/img/silk/cog_error.png deleted file mode 100755 index 4766743..0000000 Binary files a/ext-resources/css/theme/img/silk/cog_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cog_go.png b/ext-resources/css/theme/img/silk/cog_go.png deleted file mode 100755 index 3262767..0000000 Binary files a/ext-resources/css/theme/img/silk/cog_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/coins.png b/ext-resources/css/theme/img/silk/coins.png deleted file mode 100755 index 0ca9074..0000000 Binary files a/ext-resources/css/theme/img/silk/coins.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/coins_add.png b/ext-resources/css/theme/img/silk/coins_add.png deleted file mode 100755 index cdff5d3..0000000 Binary files a/ext-resources/css/theme/img/silk/coins_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/coins_delete.png b/ext-resources/css/theme/img/silk/coins_delete.png deleted file mode 100755 index 18e0c0f..0000000 Binary files a/ext-resources/css/theme/img/silk/coins_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/color_swatch.png b/ext-resources/css/theme/img/silk/color_swatch.png deleted file mode 100755 index 6e6e852..0000000 Binary files a/ext-resources/css/theme/img/silk/color_swatch.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/color_wheel.png b/ext-resources/css/theme/img/silk/color_wheel.png deleted file mode 100755 index 809fb00..0000000 Binary files a/ext-resources/css/theme/img/silk/color_wheel.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comment.png b/ext-resources/css/theme/img/silk/comment.png deleted file mode 100755 index 7bc9233..0000000 Binary files a/ext-resources/css/theme/img/silk/comment.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comment_add.png b/ext-resources/css/theme/img/silk/comment_add.png deleted file mode 100755 index 75e78de..0000000 Binary files a/ext-resources/css/theme/img/silk/comment_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comment_delete.png b/ext-resources/css/theme/img/silk/comment_delete.png deleted file mode 100755 index 643fdbe..0000000 Binary files a/ext-resources/css/theme/img/silk/comment_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comment_edit.png b/ext-resources/css/theme/img/silk/comment_edit.png deleted file mode 100755 index 73db110..0000000 Binary files a/ext-resources/css/theme/img/silk/comment_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comments.png b/ext-resources/css/theme/img/silk/comments.png deleted file mode 100755 index 39433cf..0000000 Binary files a/ext-resources/css/theme/img/silk/comments.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comments_add.png b/ext-resources/css/theme/img/silk/comments_add.png deleted file mode 100755 index b325634..0000000 Binary files a/ext-resources/css/theme/img/silk/comments_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/comments_delete.png b/ext-resources/css/theme/img/silk/comments_delete.png deleted file mode 100755 index 6df7376..0000000 Binary files a/ext-resources/css/theme/img/silk/comments_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/compress.png b/ext-resources/css/theme/img/silk/compress.png deleted file mode 100755 index 8606ff0..0000000 Binary files a/ext-resources/css/theme/img/silk/compress.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer.png b/ext-resources/css/theme/img/silk/computer.png deleted file mode 100755 index 9bc37dc..0000000 Binary files a/ext-resources/css/theme/img/silk/computer.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_add.png b/ext-resources/css/theme/img/silk/computer_add.png deleted file mode 100755 index db604ee..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_delete.png b/ext-resources/css/theme/img/silk/computer_delete.png deleted file mode 100755 index 5e9b268..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_edit.png b/ext-resources/css/theme/img/silk/computer_edit.png deleted file mode 100755 index 34c72fe..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_error.png b/ext-resources/css/theme/img/silk/computer_error.png deleted file mode 100755 index b2c3ed5..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_go.png b/ext-resources/css/theme/img/silk/computer_go.png deleted file mode 100755 index 0b26144..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_key.png b/ext-resources/css/theme/img/silk/computer_key.png deleted file mode 100755 index eca5430..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/computer_link.png b/ext-resources/css/theme/img/silk/computer_link.png deleted file mode 100755 index 3859db2..0000000 Binary files a/ext-resources/css/theme/img/silk/computer_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/connect.png b/ext-resources/css/theme/img/silk/connect.png deleted file mode 100755 index 024138e..0000000 Binary files a/ext-resources/css/theme/img/silk/connect.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/contrast.png b/ext-resources/css/theme/img/silk/contrast.png deleted file mode 100755 index adcc004..0000000 Binary files a/ext-resources/css/theme/img/silk/contrast.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/contrast_decrease.png b/ext-resources/css/theme/img/silk/contrast_decrease.png deleted file mode 100755 index 0155bf5..0000000 Binary files a/ext-resources/css/theme/img/silk/contrast_decrease.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/contrast_high.png b/ext-resources/css/theme/img/silk/contrast_high.png deleted file mode 100755 index d87c8cb..0000000 Binary files a/ext-resources/css/theme/img/silk/contrast_high.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/contrast_increase.png b/ext-resources/css/theme/img/silk/contrast_increase.png deleted file mode 100755 index a3e7f52..0000000 Binary files a/ext-resources/css/theme/img/silk/contrast_increase.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/contrast_low.png b/ext-resources/css/theme/img/silk/contrast_low.png deleted file mode 100755 index dc9f4b1..0000000 Binary files a/ext-resources/css/theme/img/silk/contrast_low.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_eject.png b/ext-resources/css/theme/img/silk/control_eject.png deleted file mode 100755 index 924d817..0000000 Binary files a/ext-resources/css/theme/img/silk/control_eject.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_eject_blue.png b/ext-resources/css/theme/img/silk/control_eject_blue.png deleted file mode 100755 index 2bd4963..0000000 Binary files a/ext-resources/css/theme/img/silk/control_eject_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_end.png b/ext-resources/css/theme/img/silk/control_end.png deleted file mode 100755 index 036e04d..0000000 Binary files a/ext-resources/css/theme/img/silk/control_end.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_end_blue.png b/ext-resources/css/theme/img/silk/control_end_blue.png deleted file mode 100755 index 7207935..0000000 Binary files a/ext-resources/css/theme/img/silk/control_end_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_equalizer.png b/ext-resources/css/theme/img/silk/control_equalizer.png deleted file mode 100755 index 4606087..0000000 Binary files a/ext-resources/css/theme/img/silk/control_equalizer.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_equalizer_blue.png b/ext-resources/css/theme/img/silk/control_equalizer_blue.png deleted file mode 100755 index 1b2e6a3..0000000 Binary files a/ext-resources/css/theme/img/silk/control_equalizer_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_fastforward.png b/ext-resources/css/theme/img/silk/control_fastforward.png deleted file mode 100755 index 31f7fd3..0000000 Binary files a/ext-resources/css/theme/img/silk/control_fastforward.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_fastforward_blue.png b/ext-resources/css/theme/img/silk/control_fastforward_blue.png deleted file mode 100755 index 4a2f9d4..0000000 Binary files a/ext-resources/css/theme/img/silk/control_fastforward_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_pause.png b/ext-resources/css/theme/img/silk/control_pause.png deleted file mode 100755 index 2d9ce9c..0000000 Binary files a/ext-resources/css/theme/img/silk/control_pause.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_pause_blue.png b/ext-resources/css/theme/img/silk/control_pause_blue.png deleted file mode 100755 index ec61099..0000000 Binary files a/ext-resources/css/theme/img/silk/control_pause_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_play.png b/ext-resources/css/theme/img/silk/control_play.png deleted file mode 100755 index 0846555..0000000 Binary files a/ext-resources/css/theme/img/silk/control_play.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_play_blue.png b/ext-resources/css/theme/img/silk/control_play_blue.png deleted file mode 100755 index f8c8ec6..0000000 Binary files a/ext-resources/css/theme/img/silk/control_play_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_repeat.png b/ext-resources/css/theme/img/silk/control_repeat.png deleted file mode 100755 index 1c4f57a..0000000 Binary files a/ext-resources/css/theme/img/silk/control_repeat.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_repeat_blue.png b/ext-resources/css/theme/img/silk/control_repeat_blue.png deleted file mode 100755 index 406ec33..0000000 Binary files a/ext-resources/css/theme/img/silk/control_repeat_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_rewind.png b/ext-resources/css/theme/img/silk/control_rewind.png deleted file mode 100755 index c029447..0000000 Binary files a/ext-resources/css/theme/img/silk/control_rewind.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_rewind_blue.png b/ext-resources/css/theme/img/silk/control_rewind_blue.png deleted file mode 100755 index 15d1584..0000000 Binary files a/ext-resources/css/theme/img/silk/control_rewind_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_start.png b/ext-resources/css/theme/img/silk/control_start.png deleted file mode 100755 index 7dd1c07..0000000 Binary files a/ext-resources/css/theme/img/silk/control_start.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_start_blue.png b/ext-resources/css/theme/img/silk/control_start_blue.png deleted file mode 100755 index 6f11fcb..0000000 Binary files a/ext-resources/css/theme/img/silk/control_start_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_stop.png b/ext-resources/css/theme/img/silk/control_stop.png deleted file mode 100755 index 893bb60..0000000 Binary files a/ext-resources/css/theme/img/silk/control_stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/control_stop_blue.png b/ext-resources/css/theme/img/silk/control_stop_blue.png deleted file mode 100755 index e6f75d2..0000000 Binary files a/ext-resources/css/theme/img/silk/control_stop_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/controller.png b/ext-resources/css/theme/img/silk/controller.png deleted file mode 100755 index 5cf76ed..0000000 Binary files a/ext-resources/css/theme/img/silk/controller.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/controller_add.png b/ext-resources/css/theme/img/silk/controller_add.png deleted file mode 100755 index efecb38..0000000 Binary files a/ext-resources/css/theme/img/silk/controller_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/controller_delete.png b/ext-resources/css/theme/img/silk/controller_delete.png deleted file mode 100755 index 3d83bc7..0000000 Binary files a/ext-resources/css/theme/img/silk/controller_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/controller_error.png b/ext-resources/css/theme/img/silk/controller_error.png deleted file mode 100755 index 7f17c0c..0000000 Binary files a/ext-resources/css/theme/img/silk/controller_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/creditcards.png b/ext-resources/css/theme/img/silk/creditcards.png deleted file mode 100755 index 4eae583..0000000 Binary files a/ext-resources/css/theme/img/silk/creditcards.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cross.png b/ext-resources/css/theme/img/silk/cross.png deleted file mode 100755 index 1514d51..0000000 Binary files a/ext-resources/css/theme/img/silk/cross.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/css.png b/ext-resources/css/theme/img/silk/css.png deleted file mode 100755 index 23f3101..0000000 Binary files a/ext-resources/css/theme/img/silk/css.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/css_add.png b/ext-resources/css/theme/img/silk/css_add.png deleted file mode 100755 index e8ea10f..0000000 Binary files a/ext-resources/css/theme/img/silk/css_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/css_delete.png b/ext-resources/css/theme/img/silk/css_delete.png deleted file mode 100755 index 326aba4..0000000 Binary files a/ext-resources/css/theme/img/silk/css_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/css_go.png b/ext-resources/css/theme/img/silk/css_go.png deleted file mode 100755 index 6cdf38c..0000000 Binary files a/ext-resources/css/theme/img/silk/css_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/css_valid.png b/ext-resources/css/theme/img/silk/css_valid.png deleted file mode 100755 index 4c72ca5..0000000 Binary files a/ext-resources/css/theme/img/silk/css_valid.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup.png b/ext-resources/css/theme/img/silk/cup.png deleted file mode 100755 index b7bfcd1..0000000 Binary files a/ext-resources/css/theme/img/silk/cup.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_add.png b/ext-resources/css/theme/img/silk/cup_add.png deleted file mode 100755 index 4ecaece..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_delete.png b/ext-resources/css/theme/img/silk/cup_delete.png deleted file mode 100755 index 59a6d9c..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_edit.png b/ext-resources/css/theme/img/silk/cup_edit.png deleted file mode 100755 index 0b8f1e1..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_error.png b/ext-resources/css/theme/img/silk/cup_error.png deleted file mode 100755 index 6879874..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_go.png b/ext-resources/css/theme/img/silk/cup_go.png deleted file mode 100755 index 9527efb..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_key.png b/ext-resources/css/theme/img/silk/cup_key.png deleted file mode 100755 index 7ae160c..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cup_link.png b/ext-resources/css/theme/img/silk/cup_link.png deleted file mode 100755 index 41d1ace..0000000 Binary files a/ext-resources/css/theme/img/silk/cup_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cursor.png b/ext-resources/css/theme/img/silk/cursor.png deleted file mode 100755 index 532f532..0000000 Binary files a/ext-resources/css/theme/img/silk/cursor.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cut.png b/ext-resources/css/theme/img/silk/cut.png deleted file mode 100755 index f215d6f..0000000 Binary files a/ext-resources/css/theme/img/silk/cut.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/cut_red.png b/ext-resources/css/theme/img/silk/cut_red.png deleted file mode 100755 index 85bb2f0..0000000 Binary files a/ext-resources/css/theme/img/silk/cut_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database.png b/ext-resources/css/theme/img/silk/database.png deleted file mode 100755 index 3d09261..0000000 Binary files a/ext-resources/css/theme/img/silk/database.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_add.png b/ext-resources/css/theme/img/silk/database_add.png deleted file mode 100755 index 802bd6c..0000000 Binary files a/ext-resources/css/theme/img/silk/database_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_connect.png b/ext-resources/css/theme/img/silk/database_connect.png deleted file mode 100755 index 3a11197..0000000 Binary files a/ext-resources/css/theme/img/silk/database_connect.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_delete.png b/ext-resources/css/theme/img/silk/database_delete.png deleted file mode 100755 index cce652e..0000000 Binary files a/ext-resources/css/theme/img/silk/database_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_edit.png b/ext-resources/css/theme/img/silk/database_edit.png deleted file mode 100755 index e501b66..0000000 Binary files a/ext-resources/css/theme/img/silk/database_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_error.png b/ext-resources/css/theme/img/silk/database_error.png deleted file mode 100755 index 578221a..0000000 Binary files a/ext-resources/css/theme/img/silk/database_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_gear.png b/ext-resources/css/theme/img/silk/database_gear.png deleted file mode 100755 index 7c0ab2b..0000000 Binary files a/ext-resources/css/theme/img/silk/database_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_go.png b/ext-resources/css/theme/img/silk/database_go.png deleted file mode 100755 index 61a8556..0000000 Binary files a/ext-resources/css/theme/img/silk/database_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_key.png b/ext-resources/css/theme/img/silk/database_key.png deleted file mode 100755 index 3334147..0000000 Binary files a/ext-resources/css/theme/img/silk/database_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_lightning.png b/ext-resources/css/theme/img/silk/database_lightning.png deleted file mode 100755 index d9eefc2..0000000 Binary files a/ext-resources/css/theme/img/silk/database_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_link.png b/ext-resources/css/theme/img/silk/database_link.png deleted file mode 100755 index 4c8204a..0000000 Binary files a/ext-resources/css/theme/img/silk/database_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_refresh.png b/ext-resources/css/theme/img/silk/database_refresh.png deleted file mode 100755 index ff803be..0000000 Binary files a/ext-resources/css/theme/img/silk/database_refresh.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_save.png b/ext-resources/css/theme/img/silk/database_save.png deleted file mode 100755 index 44c06dd..0000000 Binary files a/ext-resources/css/theme/img/silk/database_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/database_table.png b/ext-resources/css/theme/img/silk/database_table.png deleted file mode 100755 index 693709c..0000000 Binary files a/ext-resources/css/theme/img/silk/database_table.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date.png b/ext-resources/css/theme/img/silk/date.png deleted file mode 100755 index 783c833..0000000 Binary files a/ext-resources/css/theme/img/silk/date.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_add.png b/ext-resources/css/theme/img/silk/date_add.png deleted file mode 100755 index 6a7ae02..0000000 Binary files a/ext-resources/css/theme/img/silk/date_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_delete.png b/ext-resources/css/theme/img/silk/date_delete.png deleted file mode 100755 index 969a6b7..0000000 Binary files a/ext-resources/css/theme/img/silk/date_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_edit.png b/ext-resources/css/theme/img/silk/date_edit.png deleted file mode 100755 index e681065..0000000 Binary files a/ext-resources/css/theme/img/silk/date_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_error.png b/ext-resources/css/theme/img/silk/date_error.png deleted file mode 100755 index 442cd97..0000000 Binary files a/ext-resources/css/theme/img/silk/date_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_go.png b/ext-resources/css/theme/img/silk/date_go.png deleted file mode 100755 index 52dd9f3..0000000 Binary files a/ext-resources/css/theme/img/silk/date_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_link.png b/ext-resources/css/theme/img/silk/date_link.png deleted file mode 100755 index 9f0aada..0000000 Binary files a/ext-resources/css/theme/img/silk/date_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_magnify.png b/ext-resources/css/theme/img/silk/date_magnify.png deleted file mode 100755 index cd05f19..0000000 Binary files a/ext-resources/css/theme/img/silk/date_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_next.png b/ext-resources/css/theme/img/silk/date_next.png deleted file mode 100755 index 48d740a..0000000 Binary files a/ext-resources/css/theme/img/silk/date_next.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/date_previous.png b/ext-resources/css/theme/img/silk/date_previous.png deleted file mode 100755 index e117a83..0000000 Binary files a/ext-resources/css/theme/img/silk/date_previous.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/delete.png b/ext-resources/css/theme/img/silk/delete.png deleted file mode 100755 index 08f2493..0000000 Binary files a/ext-resources/css/theme/img/silk/delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/disconnect.png b/ext-resources/css/theme/img/silk/disconnect.png deleted file mode 100755 index b335cb1..0000000 Binary files a/ext-resources/css/theme/img/silk/disconnect.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/disk.png b/ext-resources/css/theme/img/silk/disk.png deleted file mode 100755 index 99d532e..0000000 Binary files a/ext-resources/css/theme/img/silk/disk.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/disk_multiple.png b/ext-resources/css/theme/img/silk/disk_multiple.png deleted file mode 100755 index fc5a52f..0000000 Binary files a/ext-resources/css/theme/img/silk/disk_multiple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/door.png b/ext-resources/css/theme/img/silk/door.png deleted file mode 100755 index 369fc46..0000000 Binary files a/ext-resources/css/theme/img/silk/door.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/door_in.png b/ext-resources/css/theme/img/silk/door_in.png deleted file mode 100755 index 41676a0..0000000 Binary files a/ext-resources/css/theme/img/silk/door_in.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/door_open.png b/ext-resources/css/theme/img/silk/door_open.png deleted file mode 100755 index 64bab57..0000000 Binary files a/ext-resources/css/theme/img/silk/door_open.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/door_out.png b/ext-resources/css/theme/img/silk/door_out.png deleted file mode 100755 index 2541d2b..0000000 Binary files a/ext-resources/css/theme/img/silk/door_out.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drink.png b/ext-resources/css/theme/img/silk/drink.png deleted file mode 100755 index d98359c..0000000 Binary files a/ext-resources/css/theme/img/silk/drink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drink_empty.png b/ext-resources/css/theme/img/silk/drink_empty.png deleted file mode 100755 index a40211e..0000000 Binary files a/ext-resources/css/theme/img/silk/drink_empty.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive.png b/ext-resources/css/theme/img/silk/drive.png deleted file mode 100755 index 37b7c9b..0000000 Binary files a/ext-resources/css/theme/img/silk/drive.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_add.png b/ext-resources/css/theme/img/silk/drive_add.png deleted file mode 100755 index 29a35d5..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_burn.png b/ext-resources/css/theme/img/silk/drive_burn.png deleted file mode 100755 index 80fd79f..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_burn.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_cd.png b/ext-resources/css/theme/img/silk/drive_cd.png deleted file mode 100755 index 1850b70..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_cd.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_cd_empty.png b/ext-resources/css/theme/img/silk/drive_cd_empty.png deleted file mode 100755 index 8df38d9..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_cd_empty.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_delete.png b/ext-resources/css/theme/img/silk/drive_delete.png deleted file mode 100755 index e6eb186..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_disk.png b/ext-resources/css/theme/img/silk/drive_disk.png deleted file mode 100755 index 5a51e81..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_disk.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_edit.png b/ext-resources/css/theme/img/silk/drive_edit.png deleted file mode 100755 index 7923fad..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_error.png b/ext-resources/css/theme/img/silk/drive_error.png deleted file mode 100755 index 309f639..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_go.png b/ext-resources/css/theme/img/silk/drive_go.png deleted file mode 100755 index fc53379..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_key.png b/ext-resources/css/theme/img/silk/drive_key.png deleted file mode 100755 index d0b3c67..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_link.png b/ext-resources/css/theme/img/silk/drive_link.png deleted file mode 100755 index 8679c4b..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_magnify.png b/ext-resources/css/theme/img/silk/drive_magnify.png deleted file mode 100755 index 0f0f444..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_network.png b/ext-resources/css/theme/img/silk/drive_network.png deleted file mode 100755 index 63d2d5d..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_network.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_rename.png b/ext-resources/css/theme/img/silk/drive_rename.png deleted file mode 100755 index 2a9f38b..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_rename.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_user.png b/ext-resources/css/theme/img/silk/drive_user.png deleted file mode 100755 index 0b4751c..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_user.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/drive_web.png b/ext-resources/css/theme/img/silk/drive_web.png deleted file mode 100755 index 8850a83..0000000 Binary files a/ext-resources/css/theme/img/silk/drive_web.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd.png b/ext-resources/css/theme/img/silk/dvd.png deleted file mode 100755 index 9d94de5..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_add.png b/ext-resources/css/theme/img/silk/dvd_add.png deleted file mode 100755 index 517d112..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_delete.png b/ext-resources/css/theme/img/silk/dvd_delete.png deleted file mode 100755 index 87bed22..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_edit.png b/ext-resources/css/theme/img/silk/dvd_edit.png deleted file mode 100755 index d6330aa..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_error.png b/ext-resources/css/theme/img/silk/dvd_error.png deleted file mode 100755 index 8f6d4be..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_go.png b/ext-resources/css/theme/img/silk/dvd_go.png deleted file mode 100755 index ef6959f..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_key.png b/ext-resources/css/theme/img/silk/dvd_key.png deleted file mode 100755 index da9307f..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/dvd_link.png b/ext-resources/css/theme/img/silk/dvd_link.png deleted file mode 100755 index caad726..0000000 Binary files a/ext-resources/css/theme/img/silk/dvd_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email.png b/ext-resources/css/theme/img/silk/email.png deleted file mode 100755 index 7348aed..0000000 Binary files a/ext-resources/css/theme/img/silk/email.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_add.png b/ext-resources/css/theme/img/silk/email_add.png deleted file mode 100755 index 6c93368..0000000 Binary files a/ext-resources/css/theme/img/silk/email_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_attach.png b/ext-resources/css/theme/img/silk/email_attach.png deleted file mode 100755 index 1f99485..0000000 Binary files a/ext-resources/css/theme/img/silk/email_attach.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_delete.png b/ext-resources/css/theme/img/silk/email_delete.png deleted file mode 100755 index a9932b1..0000000 Binary files a/ext-resources/css/theme/img/silk/email_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_edit.png b/ext-resources/css/theme/img/silk/email_edit.png deleted file mode 100755 index 244f04a..0000000 Binary files a/ext-resources/css/theme/img/silk/email_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_error.png b/ext-resources/css/theme/img/silk/email_error.png deleted file mode 100755 index 8bdd330..0000000 Binary files a/ext-resources/css/theme/img/silk/email_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_go.png b/ext-resources/css/theme/img/silk/email_go.png deleted file mode 100755 index 4a6c5d3..0000000 Binary files a/ext-resources/css/theme/img/silk/email_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_link.png b/ext-resources/css/theme/img/silk/email_link.png deleted file mode 100755 index 2c49f78..0000000 Binary files a/ext-resources/css/theme/img/silk/email_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_open.png b/ext-resources/css/theme/img/silk/email_open.png deleted file mode 100755 index 7b6f981..0000000 Binary files a/ext-resources/css/theme/img/silk/email_open.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/email_open_image.png b/ext-resources/css/theme/img/silk/email_open_image.png deleted file mode 100755 index e588e2f..0000000 Binary files a/ext-resources/css/theme/img/silk/email_open_image.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_evilgrin.png b/ext-resources/css/theme/img/silk/emoticon_evilgrin.png deleted file mode 100755 index 817bd50..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_evilgrin.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_grin.png b/ext-resources/css/theme/img/silk/emoticon_grin.png deleted file mode 100755 index fc60c5e..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_grin.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_happy.png b/ext-resources/css/theme/img/silk/emoticon_happy.png deleted file mode 100755 index 6b7336e..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_happy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_smile.png b/ext-resources/css/theme/img/silk/emoticon_smile.png deleted file mode 100755 index ade4318..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_smile.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_surprised.png b/ext-resources/css/theme/img/silk/emoticon_surprised.png deleted file mode 100755 index 4520cfc..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_surprised.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_tongue.png b/ext-resources/css/theme/img/silk/emoticon_tongue.png deleted file mode 100755 index ecafd2f..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_tongue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_unhappy.png b/ext-resources/css/theme/img/silk/emoticon_unhappy.png deleted file mode 100755 index fd5d030..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_unhappy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_waii.png b/ext-resources/css/theme/img/silk/emoticon_waii.png deleted file mode 100755 index 458f936..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_waii.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/emoticon_wink.png b/ext-resources/css/theme/img/silk/emoticon_wink.png deleted file mode 100755 index a631949..0000000 Binary files a/ext-resources/css/theme/img/silk/emoticon_wink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/error.png b/ext-resources/css/theme/img/silk/error.png deleted file mode 100755 index 628cf2d..0000000 Binary files a/ext-resources/css/theme/img/silk/error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/error_add.png b/ext-resources/css/theme/img/silk/error_add.png deleted file mode 100755 index 4c97484..0000000 Binary files a/ext-resources/css/theme/img/silk/error_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/error_delete.png b/ext-resources/css/theme/img/silk/error_delete.png deleted file mode 100755 index 7f78bcc..0000000 Binary files a/ext-resources/css/theme/img/silk/error_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/error_go.png b/ext-resources/css/theme/img/silk/error_go.png deleted file mode 100755 index caa1838..0000000 Binary files a/ext-resources/css/theme/img/silk/error_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/exclamation.png b/ext-resources/css/theme/img/silk/exclamation.png deleted file mode 100755 index c37bd06..0000000 Binary files a/ext-resources/css/theme/img/silk/exclamation.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/eye.png b/ext-resources/css/theme/img/silk/eye.png deleted file mode 100755 index 564a1a9..0000000 Binary files a/ext-resources/css/theme/img/silk/eye.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed.png b/ext-resources/css/theme/img/silk/feed.png deleted file mode 100755 index 315c4f4..0000000 Binary files a/ext-resources/css/theme/img/silk/feed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_add.png b/ext-resources/css/theme/img/silk/feed_add.png deleted file mode 100755 index e77d46e..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_delete.png b/ext-resources/css/theme/img/silk/feed_delete.png deleted file mode 100755 index 5e332b4..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_disk.png b/ext-resources/css/theme/img/silk/feed_disk.png deleted file mode 100755 index a158c99..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_disk.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_edit.png b/ext-resources/css/theme/img/silk/feed_edit.png deleted file mode 100755 index f1fde7a..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_error.png b/ext-resources/css/theme/img/silk/feed_error.png deleted file mode 100755 index c0a801c..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_go.png b/ext-resources/css/theme/img/silk/feed_go.png deleted file mode 100755 index f2eed1e..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_key.png b/ext-resources/css/theme/img/silk/feed_key.png deleted file mode 100755 index 156bfa9..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_link.png b/ext-resources/css/theme/img/silk/feed_link.png deleted file mode 100755 index c45a534..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/feed_magnify.png b/ext-resources/css/theme/img/silk/feed_magnify.png deleted file mode 100755 index 3023695..0000000 Binary files a/ext-resources/css/theme/img/silk/feed_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/female.png b/ext-resources/css/theme/img/silk/female.png deleted file mode 100755 index f92958e..0000000 Binary files a/ext-resources/css/theme/img/silk/female.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film.png b/ext-resources/css/theme/img/silk/film.png deleted file mode 100755 index b0ce7bb..0000000 Binary files a/ext-resources/css/theme/img/silk/film.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_add.png b/ext-resources/css/theme/img/silk/film_add.png deleted file mode 100755 index 40d681f..0000000 Binary files a/ext-resources/css/theme/img/silk/film_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_delete.png b/ext-resources/css/theme/img/silk/film_delete.png deleted file mode 100755 index 23a2508..0000000 Binary files a/ext-resources/css/theme/img/silk/film_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_edit.png b/ext-resources/css/theme/img/silk/film_edit.png deleted file mode 100755 index af66b73..0000000 Binary files a/ext-resources/css/theme/img/silk/film_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_error.png b/ext-resources/css/theme/img/silk/film_error.png deleted file mode 100755 index 88f3d69..0000000 Binary files a/ext-resources/css/theme/img/silk/film_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_go.png b/ext-resources/css/theme/img/silk/film_go.png deleted file mode 100755 index dd0168e..0000000 Binary files a/ext-resources/css/theme/img/silk/film_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_key.png b/ext-resources/css/theme/img/silk/film_key.png deleted file mode 100755 index 5892162..0000000 Binary files a/ext-resources/css/theme/img/silk/film_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_link.png b/ext-resources/css/theme/img/silk/film_link.png deleted file mode 100755 index 0f24e86..0000000 Binary files a/ext-resources/css/theme/img/silk/film_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/film_save.png b/ext-resources/css/theme/img/silk/film_save.png deleted file mode 100755 index bc8c0d3..0000000 Binary files a/ext-resources/css/theme/img/silk/film_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/find.png b/ext-resources/css/theme/img/silk/find.png deleted file mode 100755 index 1547479..0000000 Binary files a/ext-resources/css/theme/img/silk/find.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_blue.png b/ext-resources/css/theme/img/silk/flag_blue.png deleted file mode 100755 index 003924f..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_green.png b/ext-resources/css/theme/img/silk/flag_green.png deleted file mode 100755 index e4bc611..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_orange.png b/ext-resources/css/theme/img/silk/flag_orange.png deleted file mode 100755 index e632024..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_pink.png b/ext-resources/css/theme/img/silk/flag_pink.png deleted file mode 100755 index 5f15e52..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_pink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_purple.png b/ext-resources/css/theme/img/silk/flag_purple.png deleted file mode 100755 index d069866..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_purple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_red.png b/ext-resources/css/theme/img/silk/flag_red.png deleted file mode 100755 index e8a602d..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/flag_yellow.png b/ext-resources/css/theme/img/silk/flag_yellow.png deleted file mode 100755 index 14c89a5..0000000 Binary files a/ext-resources/css/theme/img/silk/flag_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder.png b/ext-resources/css/theme/img/silk/folder.png deleted file mode 100755 index 784e8fa..0000000 Binary files a/ext-resources/css/theme/img/silk/folder.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_add.png b/ext-resources/css/theme/img/silk/folder_add.png deleted file mode 100755 index 529fe8f..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_bell.png b/ext-resources/css/theme/img/silk/folder_bell.png deleted file mode 100755 index d04dd7f..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_bell.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_brick.png b/ext-resources/css/theme/img/silk/folder_brick.png deleted file mode 100755 index 5dea976..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_brick.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_bug.png b/ext-resources/css/theme/img/silk/folder_bug.png deleted file mode 100755 index 4f791b6..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_bug.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_camera.png b/ext-resources/css/theme/img/silk/folder_camera.png deleted file mode 100755 index c951941..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_camera.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_database.png b/ext-resources/css/theme/img/silk/folder_database.png deleted file mode 100755 index 5193e2e..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_database.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_delete.png b/ext-resources/css/theme/img/silk/folder_delete.png deleted file mode 100755 index 112b016..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_edit.png b/ext-resources/css/theme/img/silk/folder_edit.png deleted file mode 100755 index ad669cc..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_error.png b/ext-resources/css/theme/img/silk/folder_error.png deleted file mode 100755 index 1af8809..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_explore.png b/ext-resources/css/theme/img/silk/folder_explore.png deleted file mode 100755 index 0ba9391..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_explore.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_feed.png b/ext-resources/css/theme/img/silk/folder_feed.png deleted file mode 100755 index d06ee51..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_feed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_find.png b/ext-resources/css/theme/img/silk/folder_find.png deleted file mode 100755 index c64e2ee..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_find.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_go.png b/ext-resources/css/theme/img/silk/folder_go.png deleted file mode 100755 index 34a736f..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_heart.png b/ext-resources/css/theme/img/silk/folder_heart.png deleted file mode 100755 index 56d7da1..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_heart.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_image.png b/ext-resources/css/theme/img/silk/folder_image.png deleted file mode 100755 index d5df75b..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_image.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_key.png b/ext-resources/css/theme/img/silk/folder_key.png deleted file mode 100755 index fb9b4c2..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_lightbulb.png b/ext-resources/css/theme/img/silk/folder_lightbulb.png deleted file mode 100755 index f367a51..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_lightbulb.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_link.png b/ext-resources/css/theme/img/silk/folder_link.png deleted file mode 100755 index b9b75f6..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_magnify.png b/ext-resources/css/theme/img/silk/folder_magnify.png deleted file mode 100755 index 0a3e798..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_page.png b/ext-resources/css/theme/img/silk/folder_page.png deleted file mode 100755 index 1ef6e11..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_page.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_page_white.png b/ext-resources/css/theme/img/silk/folder_page_white.png deleted file mode 100755 index 14d6b61..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_page_white.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_palette.png b/ext-resources/css/theme/img/silk/folder_palette.png deleted file mode 100755 index ba12fe8..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_palette.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_picture.png b/ext-resources/css/theme/img/silk/folder_picture.png deleted file mode 100755 index 052b336..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_star.png b/ext-resources/css/theme/img/silk/folder_star.png deleted file mode 100755 index 448e46f..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_star.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_table.png b/ext-resources/css/theme/img/silk/folder_table.png deleted file mode 100755 index 473cee3..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_table.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_user.png b/ext-resources/css/theme/img/silk/folder_user.png deleted file mode 100755 index f021c3e..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_user.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/folder_wrench.png b/ext-resources/css/theme/img/silk/folder_wrench.png deleted file mode 100755 index ea3404e..0000000 Binary files a/ext-resources/css/theme/img/silk/folder_wrench.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/font.png b/ext-resources/css/theme/img/silk/font.png deleted file mode 100755 index b7960db..0000000 Binary files a/ext-resources/css/theme/img/silk/font.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/font_add.png b/ext-resources/css/theme/img/silk/font_add.png deleted file mode 100755 index b709eba..0000000 Binary files a/ext-resources/css/theme/img/silk/font_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/font_delete.png b/ext-resources/css/theme/img/silk/font_delete.png deleted file mode 100755 index 1d6124d..0000000 Binary files a/ext-resources/css/theme/img/silk/font_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/font_go.png b/ext-resources/css/theme/img/silk/font_go.png deleted file mode 100755 index 75eba80..0000000 Binary files a/ext-resources/css/theme/img/silk/font_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group.png b/ext-resources/css/theme/img/silk/group.png deleted file mode 100755 index 7fb4e1f..0000000 Binary files a/ext-resources/css/theme/img/silk/group.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_add.png b/ext-resources/css/theme/img/silk/group_add.png deleted file mode 100755 index 06c5350..0000000 Binary files a/ext-resources/css/theme/img/silk/group_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_delete.png b/ext-resources/css/theme/img/silk/group_delete.png deleted file mode 100755 index 4489ca2..0000000 Binary files a/ext-resources/css/theme/img/silk/group_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_edit.png b/ext-resources/css/theme/img/silk/group_edit.png deleted file mode 100755 index c88b945..0000000 Binary files a/ext-resources/css/theme/img/silk/group_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_error.png b/ext-resources/css/theme/img/silk/group_error.png deleted file mode 100755 index 7364a13..0000000 Binary files a/ext-resources/css/theme/img/silk/group_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_gear.png b/ext-resources/css/theme/img/silk/group_gear.png deleted file mode 100755 index 2544f2e..0000000 Binary files a/ext-resources/css/theme/img/silk/group_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_go.png b/ext-resources/css/theme/img/silk/group_go.png deleted file mode 100755 index 1f52333..0000000 Binary files a/ext-resources/css/theme/img/silk/group_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_key.png b/ext-resources/css/theme/img/silk/group_key.png deleted file mode 100755 index 257f111..0000000 Binary files a/ext-resources/css/theme/img/silk/group_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/group_link.png b/ext-resources/css/theme/img/silk/group_link.png deleted file mode 100755 index c77ed88..0000000 Binary files a/ext-resources/css/theme/img/silk/group_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/heart.png b/ext-resources/css/theme/img/silk/heart.png deleted file mode 100755 index d9ee53e..0000000 Binary files a/ext-resources/css/theme/img/silk/heart.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/heart_add.png b/ext-resources/css/theme/img/silk/heart_add.png deleted file mode 100755 index d4195ff..0000000 Binary files a/ext-resources/css/theme/img/silk/heart_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/heart_delete.png b/ext-resources/css/theme/img/silk/heart_delete.png deleted file mode 100755 index ce523e3..0000000 Binary files a/ext-resources/css/theme/img/silk/heart_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/help.png b/ext-resources/css/theme/img/silk/help.png deleted file mode 100755 index 5c87017..0000000 Binary files a/ext-resources/css/theme/img/silk/help.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/hourglass.png b/ext-resources/css/theme/img/silk/hourglass.png deleted file mode 100755 index 57b03ce..0000000 Binary files a/ext-resources/css/theme/img/silk/hourglass.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/hourglass_add.png b/ext-resources/css/theme/img/silk/hourglass_add.png deleted file mode 100755 index 170dfff..0000000 Binary files a/ext-resources/css/theme/img/silk/hourglass_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/hourglass_delete.png b/ext-resources/css/theme/img/silk/hourglass_delete.png deleted file mode 100755 index 4b1337b..0000000 Binary files a/ext-resources/css/theme/img/silk/hourglass_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/hourglass_go.png b/ext-resources/css/theme/img/silk/hourglass_go.png deleted file mode 100755 index b2d3a98..0000000 Binary files a/ext-resources/css/theme/img/silk/hourglass_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/hourglass_link.png b/ext-resources/css/theme/img/silk/hourglass_link.png deleted file mode 100755 index ecc59b0..0000000 Binary files a/ext-resources/css/theme/img/silk/hourglass_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/house.png b/ext-resources/css/theme/img/silk/house.png deleted file mode 100755 index fed6221..0000000 Binary files a/ext-resources/css/theme/img/silk/house.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/house_go.png b/ext-resources/css/theme/img/silk/house_go.png deleted file mode 100755 index 5457dbd..0000000 Binary files a/ext-resources/css/theme/img/silk/house_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/house_link.png b/ext-resources/css/theme/img/silk/house_link.png deleted file mode 100755 index be2c271..0000000 Binary files a/ext-resources/css/theme/img/silk/house_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/html.png b/ext-resources/css/theme/img/silk/html.png deleted file mode 100755 index 55d1072..0000000 Binary files a/ext-resources/css/theme/img/silk/html.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/html_add.png b/ext-resources/css/theme/img/silk/html_add.png deleted file mode 100755 index f1c08b7..0000000 Binary files a/ext-resources/css/theme/img/silk/html_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/html_delete.png b/ext-resources/css/theme/img/silk/html_delete.png deleted file mode 100755 index 1bd2848..0000000 Binary files a/ext-resources/css/theme/img/silk/html_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/html_go.png b/ext-resources/css/theme/img/silk/html_go.png deleted file mode 100755 index a95cede..0000000 Binary files a/ext-resources/css/theme/img/silk/html_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/html_valid.png b/ext-resources/css/theme/img/silk/html_valid.png deleted file mode 100755 index 71cec92..0000000 Binary files a/ext-resources/css/theme/img/silk/html_valid.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/image.png b/ext-resources/css/theme/img/silk/image.png deleted file mode 100755 index fc3c393..0000000 Binary files a/ext-resources/css/theme/img/silk/image.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/image_add.png b/ext-resources/css/theme/img/silk/image_add.png deleted file mode 100755 index fc5d613..0000000 Binary files a/ext-resources/css/theme/img/silk/image_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/image_delete.png b/ext-resources/css/theme/img/silk/image_delete.png deleted file mode 100755 index c260e1d..0000000 Binary files a/ext-resources/css/theme/img/silk/image_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/image_edit.png b/ext-resources/css/theme/img/silk/image_edit.png deleted file mode 100755 index 0aa4cc6..0000000 Binary files a/ext-resources/css/theme/img/silk/image_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/image_link.png b/ext-resources/css/theme/img/silk/image_link.png deleted file mode 100755 index 4bdb354..0000000 Binary files a/ext-resources/css/theme/img/silk/image_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/images.png b/ext-resources/css/theme/img/silk/images.png deleted file mode 100755 index 184860d..0000000 Binary files a/ext-resources/css/theme/img/silk/images.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/information.png b/ext-resources/css/theme/img/silk/information.png deleted file mode 100755 index 12cd1ae..0000000 Binary files a/ext-resources/css/theme/img/silk/information.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ipod.png b/ext-resources/css/theme/img/silk/ipod.png deleted file mode 100755 index 3f768da..0000000 Binary files a/ext-resources/css/theme/img/silk/ipod.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ipod_cast.png b/ext-resources/css/theme/img/silk/ipod_cast.png deleted file mode 100755 index 6f6d340..0000000 Binary files a/ext-resources/css/theme/img/silk/ipod_cast.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ipod_cast_add.png b/ext-resources/css/theme/img/silk/ipod_cast_add.png deleted file mode 100755 index c3257f5..0000000 Binary files a/ext-resources/css/theme/img/silk/ipod_cast_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ipod_cast_delete.png b/ext-resources/css/theme/img/silk/ipod_cast_delete.png deleted file mode 100755 index 377ab69..0000000 Binary files a/ext-resources/css/theme/img/silk/ipod_cast_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ipod_sound.png b/ext-resources/css/theme/img/silk/ipod_sound.png deleted file mode 100755 index fef6e8b..0000000 Binary files a/ext-resources/css/theme/img/silk/ipod_sound.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/joystick.png b/ext-resources/css/theme/img/silk/joystick.png deleted file mode 100755 index 62168f5..0000000 Binary files a/ext-resources/css/theme/img/silk/joystick.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/joystick_add.png b/ext-resources/css/theme/img/silk/joystick_add.png deleted file mode 100755 index 77e7107..0000000 Binary files a/ext-resources/css/theme/img/silk/joystick_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/joystick_delete.png b/ext-resources/css/theme/img/silk/joystick_delete.png deleted file mode 100755 index 5d44b59..0000000 Binary files a/ext-resources/css/theme/img/silk/joystick_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/joystick_error.png b/ext-resources/css/theme/img/silk/joystick_error.png deleted file mode 100755 index b32149e..0000000 Binary files a/ext-resources/css/theme/img/silk/joystick_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/key.png b/ext-resources/css/theme/img/silk/key.png deleted file mode 100755 index 4ec1a92..0000000 Binary files a/ext-resources/css/theme/img/silk/key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/key_add.png b/ext-resources/css/theme/img/silk/key_add.png deleted file mode 100755 index d407403..0000000 Binary files a/ext-resources/css/theme/img/silk/key_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/key_delete.png b/ext-resources/css/theme/img/silk/key_delete.png deleted file mode 100755 index 00dec80..0000000 Binary files a/ext-resources/css/theme/img/silk/key_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/key_go.png b/ext-resources/css/theme/img/silk/key_go.png deleted file mode 100755 index 30b0dc3..0000000 Binary files a/ext-resources/css/theme/img/silk/key_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/keyboard.png b/ext-resources/css/theme/img/silk/keyboard.png deleted file mode 100755 index 898d402..0000000 Binary files a/ext-resources/css/theme/img/silk/keyboard.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/keyboard_add.png b/ext-resources/css/theme/img/silk/keyboard_add.png deleted file mode 100755 index 26938dd..0000000 Binary files a/ext-resources/css/theme/img/silk/keyboard_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/keyboard_delete.png b/ext-resources/css/theme/img/silk/keyboard_delete.png deleted file mode 100755 index 1786ed5..0000000 Binary files a/ext-resources/css/theme/img/silk/keyboard_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/keyboard_magnify.png b/ext-resources/css/theme/img/silk/keyboard_magnify.png deleted file mode 100755 index 928fc17..0000000 Binary files a/ext-resources/css/theme/img/silk/keyboard_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layers.png b/ext-resources/css/theme/img/silk/layers.png deleted file mode 100755 index 00818f6..0000000 Binary files a/ext-resources/css/theme/img/silk/layers.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layers16.png b/ext-resources/css/theme/img/silk/layers16.png deleted file mode 100755 index 72b7262..0000000 Binary files a/ext-resources/css/theme/img/silk/layers16.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout.png b/ext-resources/css/theme/img/silk/layout.png deleted file mode 100755 index ea086b0..0000000 Binary files a/ext-resources/css/theme/img/silk/layout.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_add.png b/ext-resources/css/theme/img/silk/layout_add.png deleted file mode 100755 index 6203722..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_content.png b/ext-resources/css/theme/img/silk/layout_content.png deleted file mode 100755 index b4aaad9..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_content.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_delete.png b/ext-resources/css/theme/img/silk/layout_delete.png deleted file mode 100755 index 4bd45f1..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_edit.png b/ext-resources/css/theme/img/silk/layout_edit.png deleted file mode 100755 index ab3100b..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_error.png b/ext-resources/css/theme/img/silk/layout_error.png deleted file mode 100755 index 5b5acea..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_header.png b/ext-resources/css/theme/img/silk/layout_header.png deleted file mode 100755 index c6ea7f2..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_header.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_link.png b/ext-resources/css/theme/img/silk/layout_link.png deleted file mode 100755 index 3445d42..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/layout_sidebar.png b/ext-resources/css/theme/img/silk/layout_sidebar.png deleted file mode 100755 index 3be27bb..0000000 Binary files a/ext-resources/css/theme/img/silk/layout_sidebar.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightbulb.png b/ext-resources/css/theme/img/silk/lightbulb.png deleted file mode 100755 index d22fde8..0000000 Binary files a/ext-resources/css/theme/img/silk/lightbulb.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightbulb_add.png b/ext-resources/css/theme/img/silk/lightbulb_add.png deleted file mode 100755 index 0dd848b..0000000 Binary files a/ext-resources/css/theme/img/silk/lightbulb_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightbulb_delete.png b/ext-resources/css/theme/img/silk/lightbulb_delete.png deleted file mode 100755 index f4781da..0000000 Binary files a/ext-resources/css/theme/img/silk/lightbulb_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightbulb_off.png b/ext-resources/css/theme/img/silk/lightbulb_off.png deleted file mode 100755 index e95b8c5..0000000 Binary files a/ext-resources/css/theme/img/silk/lightbulb_off.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightning.png b/ext-resources/css/theme/img/silk/lightning.png deleted file mode 100755 index 9680afd..0000000 Binary files a/ext-resources/css/theme/img/silk/lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightning_add.png b/ext-resources/css/theme/img/silk/lightning_add.png deleted file mode 100755 index dac3c90..0000000 Binary files a/ext-resources/css/theme/img/silk/lightning_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightning_delete.png b/ext-resources/css/theme/img/silk/lightning_delete.png deleted file mode 100755 index dfe2770..0000000 Binary files a/ext-resources/css/theme/img/silk/lightning_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lightning_go.png b/ext-resources/css/theme/img/silk/lightning_go.png deleted file mode 100755 index 29039e6..0000000 Binary files a/ext-resources/css/theme/img/silk/lightning_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link.png b/ext-resources/css/theme/img/silk/link.png deleted file mode 100755 index 25eacb7..0000000 Binary files a/ext-resources/css/theme/img/silk/link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link_add.png b/ext-resources/css/theme/img/silk/link_add.png deleted file mode 100755 index 00be352..0000000 Binary files a/ext-resources/css/theme/img/silk/link_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link_break.png b/ext-resources/css/theme/img/silk/link_break.png deleted file mode 100755 index 5235753..0000000 Binary files a/ext-resources/css/theme/img/silk/link_break.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link_delete.png b/ext-resources/css/theme/img/silk/link_delete.png deleted file mode 100755 index f66e297..0000000 Binary files a/ext-resources/css/theme/img/silk/link_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link_edit.png b/ext-resources/css/theme/img/silk/link_edit.png deleted file mode 100755 index 5b3aed0..0000000 Binary files a/ext-resources/css/theme/img/silk/link_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link_error.png b/ext-resources/css/theme/img/silk/link_error.png deleted file mode 100755 index ab694b1..0000000 Binary files a/ext-resources/css/theme/img/silk/link_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/link_go.png b/ext-resources/css/theme/img/silk/link_go.png deleted file mode 100755 index ae8cae8..0000000 Binary files a/ext-resources/css/theme/img/silk/link_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock.png b/ext-resources/css/theme/img/silk/lock.png deleted file mode 100755 index 2ebc4f6..0000000 Binary files a/ext-resources/css/theme/img/silk/lock.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock_add.png b/ext-resources/css/theme/img/silk/lock_add.png deleted file mode 100755 index a7b566b..0000000 Binary files a/ext-resources/css/theme/img/silk/lock_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock_break.png b/ext-resources/css/theme/img/silk/lock_break.png deleted file mode 100755 index 13578ab..0000000 Binary files a/ext-resources/css/theme/img/silk/lock_break.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock_delete.png b/ext-resources/css/theme/img/silk/lock_delete.png deleted file mode 100755 index ecb50a9..0000000 Binary files a/ext-resources/css/theme/img/silk/lock_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock_edit.png b/ext-resources/css/theme/img/silk/lock_edit.png deleted file mode 100755 index 116aa5b..0000000 Binary files a/ext-resources/css/theme/img/silk/lock_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock_go.png b/ext-resources/css/theme/img/silk/lock_go.png deleted file mode 100755 index 8c7c89b..0000000 Binary files a/ext-resources/css/theme/img/silk/lock_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lock_open.png b/ext-resources/css/theme/img/silk/lock_open.png deleted file mode 100755 index a471765..0000000 Binary files a/ext-resources/css/theme/img/silk/lock_open.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry.png b/ext-resources/css/theme/img/silk/lorry.png deleted file mode 100755 index 8f95f5a..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry_add.png b/ext-resources/css/theme/img/silk/lorry_add.png deleted file mode 100755 index a2c5124..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry_delete.png b/ext-resources/css/theme/img/silk/lorry_delete.png deleted file mode 100755 index 66217f5..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry_error.png b/ext-resources/css/theme/img/silk/lorry_error.png deleted file mode 100755 index 3619ead..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry_flatbed.png b/ext-resources/css/theme/img/silk/lorry_flatbed.png deleted file mode 100755 index 8b20f55..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry_flatbed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry_go.png b/ext-resources/css/theme/img/silk/lorry_go.png deleted file mode 100755 index 1c296a6..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/lorry_link.png b/ext-resources/css/theme/img/silk/lorry_link.png deleted file mode 100755 index 5e6663e..0000000 Binary files a/ext-resources/css/theme/img/silk/lorry_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/magifier_zoom_out.png b/ext-resources/css/theme/img/silk/magifier_zoom_out.png deleted file mode 100755 index 81f2819..0000000 Binary files a/ext-resources/css/theme/img/silk/magifier_zoom_out.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/magnifier.png b/ext-resources/css/theme/img/silk/magnifier.png deleted file mode 100755 index cf3d97f..0000000 Binary files a/ext-resources/css/theme/img/silk/magnifier.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/magnifier_zoom_in.png b/ext-resources/css/theme/img/silk/magnifier_zoom_in.png deleted file mode 100755 index af4fe07..0000000 Binary files a/ext-resources/css/theme/img/silk/magnifier_zoom_in.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/magnifier_zoom_out.png b/ext-resources/css/theme/img/silk/magnifier_zoom_out.png deleted file mode 100755 index 81f2819..0000000 Binary files a/ext-resources/css/theme/img/silk/magnifier_zoom_out.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/male.png b/ext-resources/css/theme/img/silk/male.png deleted file mode 100755 index 25d6ea9..0000000 Binary files a/ext-resources/css/theme/img/silk/male.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/map.png b/ext-resources/css/theme/img/silk/map.png deleted file mode 100755 index f90ef25..0000000 Binary files a/ext-resources/css/theme/img/silk/map.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/map_add.png b/ext-resources/css/theme/img/silk/map_add.png deleted file mode 100755 index 2b72da0..0000000 Binary files a/ext-resources/css/theme/img/silk/map_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/map_delete.png b/ext-resources/css/theme/img/silk/map_delete.png deleted file mode 100755 index e74402f..0000000 Binary files a/ext-resources/css/theme/img/silk/map_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/map_edit.png b/ext-resources/css/theme/img/silk/map_edit.png deleted file mode 100755 index 93d4d7e..0000000 Binary files a/ext-resources/css/theme/img/silk/map_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/map_go.png b/ext-resources/css/theme/img/silk/map_go.png deleted file mode 100755 index 11eab26..0000000 Binary files a/ext-resources/css/theme/img/silk/map_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/map_magnify.png b/ext-resources/css/theme/img/silk/map_magnify.png deleted file mode 100755 index 7184c9d..0000000 Binary files a/ext-resources/css/theme/img/silk/map_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_bronze_1.png b/ext-resources/css/theme/img/silk/medal_bronze_1.png deleted file mode 100755 index 5f8a6d6..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_bronze_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_bronze_2.png b/ext-resources/css/theme/img/silk/medal_bronze_2.png deleted file mode 100755 index 623d68c..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_bronze_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_bronze_3.png b/ext-resources/css/theme/img/silk/medal_bronze_3.png deleted file mode 100755 index ed3f43e..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_bronze_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_bronze_add.png b/ext-resources/css/theme/img/silk/medal_bronze_add.png deleted file mode 100755 index 8487b2c..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_bronze_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_bronze_delete.png b/ext-resources/css/theme/img/silk/medal_bronze_delete.png deleted file mode 100755 index d32aed7..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_bronze_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_gold_1.png b/ext-resources/css/theme/img/silk/medal_gold_1.png deleted file mode 100755 index 87584dc..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_gold_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_gold_2.png b/ext-resources/css/theme/img/silk/medal_gold_2.png deleted file mode 100755 index fa3a15d..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_gold_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_gold_3.png b/ext-resources/css/theme/img/silk/medal_gold_3.png deleted file mode 100755 index ef1b08b..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_gold_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_gold_add.png b/ext-resources/css/theme/img/silk/medal_gold_add.png deleted file mode 100755 index dcade0d..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_gold_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_gold_delete.png b/ext-resources/css/theme/img/silk/medal_gold_delete.png deleted file mode 100755 index 84b06d5..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_gold_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_silver_1.png b/ext-resources/css/theme/img/silk/medal_silver_1.png deleted file mode 100755 index 75a64da..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_silver_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_silver_2.png b/ext-resources/css/theme/img/silk/medal_silver_2.png deleted file mode 100755 index 2e0fe75..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_silver_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_silver_3.png b/ext-resources/css/theme/img/silk/medal_silver_3.png deleted file mode 100755 index e385b54..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_silver_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_silver_add.png b/ext-resources/css/theme/img/silk/medal_silver_add.png deleted file mode 100755 index b0633fa..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_silver_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/medal_silver_delete.png b/ext-resources/css/theme/img/silk/medal_silver_delete.png deleted file mode 100755 index 06cab46..0000000 Binary files a/ext-resources/css/theme/img/silk/medal_silver_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money.png b/ext-resources/css/theme/img/silk/money.png deleted file mode 100755 index 42c52d0..0000000 Binary files a/ext-resources/css/theme/img/silk/money.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money_add.png b/ext-resources/css/theme/img/silk/money_add.png deleted file mode 100755 index 588fa9d..0000000 Binary files a/ext-resources/css/theme/img/silk/money_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money_delete.png b/ext-resources/css/theme/img/silk/money_delete.png deleted file mode 100755 index eae2c52..0000000 Binary files a/ext-resources/css/theme/img/silk/money_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money_dollar.png b/ext-resources/css/theme/img/silk/money_dollar.png deleted file mode 100755 index 59af163..0000000 Binary files a/ext-resources/css/theme/img/silk/money_dollar.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money_euro.png b/ext-resources/css/theme/img/silk/money_euro.png deleted file mode 100755 index b322ba9..0000000 Binary files a/ext-resources/css/theme/img/silk/money_euro.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money_pound.png b/ext-resources/css/theme/img/silk/money_pound.png deleted file mode 100755 index b711364..0000000 Binary files a/ext-resources/css/theme/img/silk/money_pound.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/money_yen.png b/ext-resources/css/theme/img/silk/money_yen.png deleted file mode 100755 index 228a677..0000000 Binary files a/ext-resources/css/theme/img/silk/money_yen.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor.png b/ext-resources/css/theme/img/silk/monitor.png deleted file mode 100755 index d040bd0..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_add.png b/ext-resources/css/theme/img/silk/monitor_add.png deleted file mode 100755 index a818066..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_delete.png b/ext-resources/css/theme/img/silk/monitor_delete.png deleted file mode 100755 index 3733256..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_edit.png b/ext-resources/css/theme/img/silk/monitor_edit.png deleted file mode 100755 index f772c56..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_error.png b/ext-resources/css/theme/img/silk/monitor_error.png deleted file mode 100755 index 270c501..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_go.png b/ext-resources/css/theme/img/silk/monitor_go.png deleted file mode 100755 index 8af3eda..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_lightning.png b/ext-resources/css/theme/img/silk/monitor_lightning.png deleted file mode 100755 index 06e53a9..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/monitor_link.png b/ext-resources/css/theme/img/silk/monitor_link.png deleted file mode 100755 index a014b02..0000000 Binary files a/ext-resources/css/theme/img/silk/monitor_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/mouse.png b/ext-resources/css/theme/img/silk/mouse.png deleted file mode 100755 index 63a92fa..0000000 Binary files a/ext-resources/css/theme/img/silk/mouse.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/mouse_add.png b/ext-resources/css/theme/img/silk/mouse_add.png deleted file mode 100755 index 65bcab5..0000000 Binary files a/ext-resources/css/theme/img/silk/mouse_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/mouse_delete.png b/ext-resources/css/theme/img/silk/mouse_delete.png deleted file mode 100755 index 7286566..0000000 Binary files a/ext-resources/css/theme/img/silk/mouse_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/mouse_error.png b/ext-resources/css/theme/img/silk/mouse_error.png deleted file mode 100755 index bcc1562..0000000 Binary files a/ext-resources/css/theme/img/silk/mouse_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/music.png b/ext-resources/css/theme/img/silk/music.png deleted file mode 100755 index a8b3ede..0000000 Binary files a/ext-resources/css/theme/img/silk/music.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/new.png b/ext-resources/css/theme/img/silk/new.png deleted file mode 100755 index 6a9bf03..0000000 Binary files a/ext-resources/css/theme/img/silk/new.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/newspaper.png b/ext-resources/css/theme/img/silk/newspaper.png deleted file mode 100755 index 6a2ecce..0000000 Binary files a/ext-resources/css/theme/img/silk/newspaper.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/newspaper_add.png b/ext-resources/css/theme/img/silk/newspaper_add.png deleted file mode 100755 index 8140e8c..0000000 Binary files a/ext-resources/css/theme/img/silk/newspaper_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/newspaper_delete.png b/ext-resources/css/theme/img/silk/newspaper_delete.png deleted file mode 100755 index bde96ce..0000000 Binary files a/ext-resources/css/theme/img/silk/newspaper_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/newspaper_go.png b/ext-resources/css/theme/img/silk/newspaper_go.png deleted file mode 100755 index fd61428..0000000 Binary files a/ext-resources/css/theme/img/silk/newspaper_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/newspaper_link.png b/ext-resources/css/theme/img/silk/newspaper_link.png deleted file mode 100755 index 99e57cb..0000000 Binary files a/ext-resources/css/theme/img/silk/newspaper_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/note.png b/ext-resources/css/theme/img/silk/note.png deleted file mode 100755 index 244e6ca..0000000 Binary files a/ext-resources/css/theme/img/silk/note.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/note_add.png b/ext-resources/css/theme/img/silk/note_add.png deleted file mode 100755 index abdad91..0000000 Binary files a/ext-resources/css/theme/img/silk/note_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/note_delete.png b/ext-resources/css/theme/img/silk/note_delete.png deleted file mode 100755 index 8a1f0ff..0000000 Binary files a/ext-resources/css/theme/img/silk/note_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/note_edit.png b/ext-resources/css/theme/img/silk/note_edit.png deleted file mode 100755 index 291bfc7..0000000 Binary files a/ext-resources/css/theme/img/silk/note_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/note_error.png b/ext-resources/css/theme/img/silk/note_error.png deleted file mode 100755 index 896dadf..0000000 Binary files a/ext-resources/css/theme/img/silk/note_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/note_go.png b/ext-resources/css/theme/img/silk/note_go.png deleted file mode 100755 index 49e54fd..0000000 Binary files a/ext-resources/css/theme/img/silk/note_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/overlays.png b/ext-resources/css/theme/img/silk/overlays.png deleted file mode 100755 index ab3100b..0000000 Binary files a/ext-resources/css/theme/img/silk/overlays.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/package.png b/ext-resources/css/theme/img/silk/package.png deleted file mode 100755 index da3c2a2..0000000 Binary files a/ext-resources/css/theme/img/silk/package.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/package_add.png b/ext-resources/css/theme/img/silk/package_add.png deleted file mode 100755 index 9c8a9da..0000000 Binary files a/ext-resources/css/theme/img/silk/package_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/package_delete.png b/ext-resources/css/theme/img/silk/package_delete.png deleted file mode 100755 index 86f7fbc..0000000 Binary files a/ext-resources/css/theme/img/silk/package_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/package_go.png b/ext-resources/css/theme/img/silk/package_go.png deleted file mode 100755 index aace63a..0000000 Binary files a/ext-resources/css/theme/img/silk/package_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/package_green.png b/ext-resources/css/theme/img/silk/package_green.png deleted file mode 100755 index 25b28bb..0000000 Binary files a/ext-resources/css/theme/img/silk/package_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/package_link.png b/ext-resources/css/theme/img/silk/package_link.png deleted file mode 100755 index 48e7ab5..0000000 Binary files a/ext-resources/css/theme/img/silk/package_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page.png b/ext-resources/css/theme/img/silk/page.png deleted file mode 100755 index 03ddd79..0000000 Binary files a/ext-resources/css/theme/img/silk/page.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_add.png b/ext-resources/css/theme/img/silk/page_add.png deleted file mode 100755 index d5bfa07..0000000 Binary files a/ext-resources/css/theme/img/silk/page_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_attach.png b/ext-resources/css/theme/img/silk/page_attach.png deleted file mode 100755 index 89ee2da..0000000 Binary files a/ext-resources/css/theme/img/silk/page_attach.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_code.png b/ext-resources/css/theme/img/silk/page_code.png deleted file mode 100755 index f7ea904..0000000 Binary files a/ext-resources/css/theme/img/silk/page_code.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_copy.png b/ext-resources/css/theme/img/silk/page_copy.png deleted file mode 100755 index 195dc6d..0000000 Binary files a/ext-resources/css/theme/img/silk/page_copy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_delete.png b/ext-resources/css/theme/img/silk/page_delete.png deleted file mode 100755 index 3141467..0000000 Binary files a/ext-resources/css/theme/img/silk/page_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_edit.png b/ext-resources/css/theme/img/silk/page_edit.png deleted file mode 100755 index 046811e..0000000 Binary files a/ext-resources/css/theme/img/silk/page_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_error.png b/ext-resources/css/theme/img/silk/page_error.png deleted file mode 100755 index f07f449..0000000 Binary files a/ext-resources/css/theme/img/silk/page_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_excel.png b/ext-resources/css/theme/img/silk/page_excel.png deleted file mode 100755 index eb6158e..0000000 Binary files a/ext-resources/css/theme/img/silk/page_excel.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_find.png b/ext-resources/css/theme/img/silk/page_find.png deleted file mode 100755 index 2f19388..0000000 Binary files a/ext-resources/css/theme/img/silk/page_find.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_gear.png b/ext-resources/css/theme/img/silk/page_gear.png deleted file mode 100755 index 8e83281..0000000 Binary files a/ext-resources/css/theme/img/silk/page_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_go.png b/ext-resources/css/theme/img/silk/page_go.png deleted file mode 100755 index 80fe1ed..0000000 Binary files a/ext-resources/css/theme/img/silk/page_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_green.png b/ext-resources/css/theme/img/silk/page_green.png deleted file mode 100755 index de8e003..0000000 Binary files a/ext-resources/css/theme/img/silk/page_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_key.png b/ext-resources/css/theme/img/silk/page_key.png deleted file mode 100755 index d6626cb..0000000 Binary files a/ext-resources/css/theme/img/silk/page_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_lightning.png b/ext-resources/css/theme/img/silk/page_lightning.png deleted file mode 100755 index 7e56870..0000000 Binary files a/ext-resources/css/theme/img/silk/page_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_link.png b/ext-resources/css/theme/img/silk/page_link.png deleted file mode 100755 index 312eab0..0000000 Binary files a/ext-resources/css/theme/img/silk/page_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_paintbrush.png b/ext-resources/css/theme/img/silk/page_paintbrush.png deleted file mode 100755 index 246a2f0..0000000 Binary files a/ext-resources/css/theme/img/silk/page_paintbrush.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_paste.png b/ext-resources/css/theme/img/silk/page_paste.png deleted file mode 100755 index 968f073..0000000 Binary files a/ext-resources/css/theme/img/silk/page_paste.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_red.png b/ext-resources/css/theme/img/silk/page_red.png deleted file mode 100755 index 0b18247..0000000 Binary files a/ext-resources/css/theme/img/silk/page_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_refresh.png b/ext-resources/css/theme/img/silk/page_refresh.png deleted file mode 100755 index cf347c7..0000000 Binary files a/ext-resources/css/theme/img/silk/page_refresh.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_save.png b/ext-resources/css/theme/img/silk/page_save.png deleted file mode 100755 index caea546..0000000 Binary files a/ext-resources/css/theme/img/silk/page_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white.png b/ext-resources/css/theme/img/silk/page_white.png deleted file mode 100755 index 8b8b1ca..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_acrobat.png b/ext-resources/css/theme/img/silk/page_white_acrobat.png deleted file mode 100755 index 8f8095e..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_acrobat.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_actionscript.png b/ext-resources/css/theme/img/silk/page_white_actionscript.png deleted file mode 100755 index 159b240..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_actionscript.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_add.png b/ext-resources/css/theme/img/silk/page_white_add.png deleted file mode 100755 index aa23dde..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_c.png b/ext-resources/css/theme/img/silk/page_white_c.png deleted file mode 100755 index 34a05cc..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_c.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_camera.png b/ext-resources/css/theme/img/silk/page_white_camera.png deleted file mode 100755 index f501a59..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_camera.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_cd.png b/ext-resources/css/theme/img/silk/page_white_cd.png deleted file mode 100755 index 848bdaf..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_cd.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_code.png b/ext-resources/css/theme/img/silk/page_white_code.png deleted file mode 100755 index 0c76bd1..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_code.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_code_red.png b/ext-resources/css/theme/img/silk/page_white_code_red.png deleted file mode 100755 index 87a6914..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_code_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_coldfusion.png b/ext-resources/css/theme/img/silk/page_white_coldfusion.png deleted file mode 100755 index c66011f..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_coldfusion.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_compressed.png b/ext-resources/css/theme/img/silk/page_white_compressed.png deleted file mode 100755 index 2b6b100..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_compressed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_copy.png b/ext-resources/css/theme/img/silk/page_white_copy.png deleted file mode 100755 index a9f31a2..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_copy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_cplusplus.png b/ext-resources/css/theme/img/silk/page_white_cplusplus.png deleted file mode 100755 index a87cf84..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_cplusplus.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_csharp.png b/ext-resources/css/theme/img/silk/page_white_csharp.png deleted file mode 100755 index ffb8fc9..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_csharp.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_cup.png b/ext-resources/css/theme/img/silk/page_white_cup.png deleted file mode 100755 index 0a7d6f4..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_cup.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_database.png b/ext-resources/css/theme/img/silk/page_white_database.png deleted file mode 100755 index bddba1f..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_database.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_delete.png b/ext-resources/css/theme/img/silk/page_white_delete.png deleted file mode 100755 index af1ecaf..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_dvd.png b/ext-resources/css/theme/img/silk/page_white_dvd.png deleted file mode 100755 index 4cc537a..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_dvd.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_edit.png b/ext-resources/css/theme/img/silk/page_white_edit.png deleted file mode 100755 index b93e776..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_error.png b/ext-resources/css/theme/img/silk/page_white_error.png deleted file mode 100755 index 9fc5a0a..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_excel.png b/ext-resources/css/theme/img/silk/page_white_excel.png deleted file mode 100755 index b977d7e..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_excel.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_find.png b/ext-resources/css/theme/img/silk/page_white_find.png deleted file mode 100755 index 5818436..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_find.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_flash.png b/ext-resources/css/theme/img/silk/page_white_flash.png deleted file mode 100755 index 5769120..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_flash.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_freehand.png b/ext-resources/css/theme/img/silk/page_white_freehand.png deleted file mode 100755 index 8d719df..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_freehand.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_gear.png b/ext-resources/css/theme/img/silk/page_white_gear.png deleted file mode 100755 index 106f5aa..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_get.png b/ext-resources/css/theme/img/silk/page_white_get.png deleted file mode 100755 index e4a1ecb..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_get.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_go.png b/ext-resources/css/theme/img/silk/page_white_go.png deleted file mode 100755 index 7e62a92..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_h.png b/ext-resources/css/theme/img/silk/page_white_h.png deleted file mode 100755 index e902abb..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_h.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_horizontal.png b/ext-resources/css/theme/img/silk/page_white_horizontal.png deleted file mode 100755 index 1d2d0a4..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_horizontal.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_key.png b/ext-resources/css/theme/img/silk/page_white_key.png deleted file mode 100755 index d616484..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_lightning.png b/ext-resources/css/theme/img/silk/page_white_lightning.png deleted file mode 100755 index 7215d1e..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_link.png b/ext-resources/css/theme/img/silk/page_white_link.png deleted file mode 100755 index bf7bd1c..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_magnify.png b/ext-resources/css/theme/img/silk/page_white_magnify.png deleted file mode 100755 index f6b74cc..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_medal.png b/ext-resources/css/theme/img/silk/page_white_medal.png deleted file mode 100755 index d3fffb6..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_medal.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_office.png b/ext-resources/css/theme/img/silk/page_white_office.png deleted file mode 100755 index a65bcb3..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_office.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_paint.png b/ext-resources/css/theme/img/silk/page_white_paint.png deleted file mode 100755 index 23a37b8..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_paint.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_paintbrush.png b/ext-resources/css/theme/img/silk/page_white_paintbrush.png deleted file mode 100755 index f907e44..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_paintbrush.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_paste.png b/ext-resources/css/theme/img/silk/page_white_paste.png deleted file mode 100755 index 5b2cbb3..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_paste.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_php.png b/ext-resources/css/theme/img/silk/page_white_php.png deleted file mode 100755 index 7868a25..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_php.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_picture.png b/ext-resources/css/theme/img/silk/page_white_picture.png deleted file mode 100755 index 134b669..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_powerpoint.png b/ext-resources/css/theme/img/silk/page_white_powerpoint.png deleted file mode 100755 index c4eff03..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_powerpoint.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_put.png b/ext-resources/css/theme/img/silk/page_white_put.png deleted file mode 100755 index 884ffd6..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_put.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_ruby.png b/ext-resources/css/theme/img/silk/page_white_ruby.png deleted file mode 100755 index f59b7c4..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_ruby.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_stack.png b/ext-resources/css/theme/img/silk/page_white_stack.png deleted file mode 100755 index 44084ad..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_stack.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_star.png b/ext-resources/css/theme/img/silk/page_white_star.png deleted file mode 100755 index 3a1441c..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_star.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_swoosh.png b/ext-resources/css/theme/img/silk/page_white_swoosh.png deleted file mode 100755 index e770829..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_swoosh.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_text.png b/ext-resources/css/theme/img/silk/page_white_text.png deleted file mode 100755 index 813f712..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_text.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_text_width.png b/ext-resources/css/theme/img/silk/page_white_text_width.png deleted file mode 100755 index d9cf132..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_text_width.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_tux.png b/ext-resources/css/theme/img/silk/page_white_tux.png deleted file mode 100755 index 52699bf..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_tux.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_vector.png b/ext-resources/css/theme/img/silk/page_white_vector.png deleted file mode 100755 index 4a05955..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_visualstudio.png b/ext-resources/css/theme/img/silk/page_white_visualstudio.png deleted file mode 100755 index a0a433d..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_visualstudio.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_width.png b/ext-resources/css/theme/img/silk/page_white_width.png deleted file mode 100755 index 1eb8809..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_width.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_word.png b/ext-resources/css/theme/img/silk/page_white_word.png deleted file mode 100755 index ae8ecbf..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_word.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_world.png b/ext-resources/css/theme/img/silk/page_white_world.png deleted file mode 100755 index 6ed2490..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_world.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_wrench.png b/ext-resources/css/theme/img/silk/page_white_wrench.png deleted file mode 100755 index fecadd0..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_wrench.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_white_zip.png b/ext-resources/css/theme/img/silk/page_white_zip.png deleted file mode 100755 index fd4bbcc..0000000 Binary files a/ext-resources/css/theme/img/silk/page_white_zip.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_word.png b/ext-resources/css/theme/img/silk/page_word.png deleted file mode 100755 index 834cdfa..0000000 Binary files a/ext-resources/css/theme/img/silk/page_word.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/page_world.png b/ext-resources/css/theme/img/silk/page_world.png deleted file mode 100755 index b8895dd..0000000 Binary files a/ext-resources/css/theme/img/silk/page_world.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/paintbrush.png b/ext-resources/css/theme/img/silk/paintbrush.png deleted file mode 100755 index a3ecf87..0000000 Binary files a/ext-resources/css/theme/img/silk/paintbrush.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/paintcan.png b/ext-resources/css/theme/img/silk/paintcan.png deleted file mode 100755 index f82a886..0000000 Binary files a/ext-resources/css/theme/img/silk/paintcan.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/palette.png b/ext-resources/css/theme/img/silk/palette.png deleted file mode 100755 index 73c5b3f..0000000 Binary files a/ext-resources/css/theme/img/silk/palette.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/paste_plain.png b/ext-resources/css/theme/img/silk/paste_plain.png deleted file mode 100755 index c0490eb..0000000 Binary files a/ext-resources/css/theme/img/silk/paste_plain.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/paste_word.png b/ext-resources/css/theme/img/silk/paste_word.png deleted file mode 100755 index f6b87f8..0000000 Binary files a/ext-resources/css/theme/img/silk/paste_word.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pencil.png b/ext-resources/css/theme/img/silk/pencil.png deleted file mode 100755 index 0bfecd5..0000000 Binary files a/ext-resources/css/theme/img/silk/pencil.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pencil_add.png b/ext-resources/css/theme/img/silk/pencil_add.png deleted file mode 100755 index 902bbe6..0000000 Binary files a/ext-resources/css/theme/img/silk/pencil_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pencil_delete.png b/ext-resources/css/theme/img/silk/pencil_delete.png deleted file mode 100755 index d8944e6..0000000 Binary files a/ext-resources/css/theme/img/silk/pencil_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pencil_go.png b/ext-resources/css/theme/img/silk/pencil_go.png deleted file mode 100755 index 937bded..0000000 Binary files a/ext-resources/css/theme/img/silk/pencil_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/phone.png b/ext-resources/css/theme/img/silk/phone.png deleted file mode 100755 index c39f162..0000000 Binary files a/ext-resources/css/theme/img/silk/phone.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/phone_add.png b/ext-resources/css/theme/img/silk/phone_add.png deleted file mode 100755 index d3555e0..0000000 Binary files a/ext-resources/css/theme/img/silk/phone_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/phone_delete.png b/ext-resources/css/theme/img/silk/phone_delete.png deleted file mode 100755 index bbe4f8a..0000000 Binary files a/ext-resources/css/theme/img/silk/phone_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/phone_sound.png b/ext-resources/css/theme/img/silk/phone_sound.png deleted file mode 100755 index 7fdf1c5..0000000 Binary files a/ext-resources/css/theme/img/silk/phone_sound.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/photo.png b/ext-resources/css/theme/img/silk/photo.png deleted file mode 100755 index 6c2aaaa..0000000 Binary files a/ext-resources/css/theme/img/silk/photo.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/photo_add.png b/ext-resources/css/theme/img/silk/photo_add.png deleted file mode 100755 index 63cc355..0000000 Binary files a/ext-resources/css/theme/img/silk/photo_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/photo_delete.png b/ext-resources/css/theme/img/silk/photo_delete.png deleted file mode 100755 index 18b67df..0000000 Binary files a/ext-resources/css/theme/img/silk/photo_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/photo_link.png b/ext-resources/css/theme/img/silk/photo_link.png deleted file mode 100755 index e6bb35f..0000000 Binary files a/ext-resources/css/theme/img/silk/photo_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/photos.png b/ext-resources/css/theme/img/silk/photos.png deleted file mode 100755 index 8836fe6..0000000 Binary files a/ext-resources/css/theme/img/silk/photos.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture.png b/ext-resources/css/theme/img/silk/picture.png deleted file mode 100755 index 4a158fe..0000000 Binary files a/ext-resources/css/theme/img/silk/picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_add.png b/ext-resources/css/theme/img/silk/picture_add.png deleted file mode 100755 index d6d3f85..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_delete.png b/ext-resources/css/theme/img/silk/picture_delete.png deleted file mode 100755 index cca9f53..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_edit.png b/ext-resources/css/theme/img/silk/picture_edit.png deleted file mode 100755 index 9a70c34..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_empty.png b/ext-resources/css/theme/img/silk/picture_empty.png deleted file mode 100755 index abd2b9b..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_empty.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_error.png b/ext-resources/css/theme/img/silk/picture_error.png deleted file mode 100755 index d41d90d..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_go.png b/ext-resources/css/theme/img/silk/picture_go.png deleted file mode 100755 index 27c63c5..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_key.png b/ext-resources/css/theme/img/silk/picture_key.png deleted file mode 100755 index 667086c..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_link.png b/ext-resources/css/theme/img/silk/picture_link.png deleted file mode 100755 index 42dca74..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/picture_save.png b/ext-resources/css/theme/img/silk/picture_save.png deleted file mode 100755 index 777fb5d..0000000 Binary files a/ext-resources/css/theme/img/silk/picture_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pictures.png b/ext-resources/css/theme/img/silk/pictures.png deleted file mode 100755 index d9591c1..0000000 Binary files a/ext-resources/css/theme/img/silk/pictures.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pilcrow.png b/ext-resources/css/theme/img/silk/pilcrow.png deleted file mode 100755 index 95704fb..0000000 Binary files a/ext-resources/css/theme/img/silk/pilcrow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pill.png b/ext-resources/css/theme/img/silk/pill.png deleted file mode 100755 index f2bdef6..0000000 Binary files a/ext-resources/css/theme/img/silk/pill.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pill_add.png b/ext-resources/css/theme/img/silk/pill_add.png deleted file mode 100755 index ac9c2df..0000000 Binary files a/ext-resources/css/theme/img/silk/pill_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pill_delete.png b/ext-resources/css/theme/img/silk/pill_delete.png deleted file mode 100755 index c61592e..0000000 Binary files a/ext-resources/css/theme/img/silk/pill_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/pill_go.png b/ext-resources/css/theme/img/silk/pill_go.png deleted file mode 100755 index e5c07d4..0000000 Binary files a/ext-resources/css/theme/img/silk/pill_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin.png b/ext-resources/css/theme/img/silk/plugin.png deleted file mode 100755 index 6187b15..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_add.png b/ext-resources/css/theme/img/silk/plugin_add.png deleted file mode 100755 index ae43690..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_delete.png b/ext-resources/css/theme/img/silk/plugin_delete.png deleted file mode 100755 index d9c3376..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_disabled.png b/ext-resources/css/theme/img/silk/plugin_disabled.png deleted file mode 100755 index f4f6be5..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_disabled.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_edit.png b/ext-resources/css/theme/img/silk/plugin_edit.png deleted file mode 100755 index b6cb0ec..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_error.png b/ext-resources/css/theme/img/silk/plugin_error.png deleted file mode 100755 index cff65d7..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_go.png b/ext-resources/css/theme/img/silk/plugin_go.png deleted file mode 100755 index 41da991..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/plugin_link.png b/ext-resources/css/theme/img/silk/plugin_link.png deleted file mode 100755 index 445c188..0000000 Binary files a/ext-resources/css/theme/img/silk/plugin_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/printer.png b/ext-resources/css/theme/img/silk/printer.png deleted file mode 100755 index a350d18..0000000 Binary files a/ext-resources/css/theme/img/silk/printer.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/printer_add.png b/ext-resources/css/theme/img/silk/printer_add.png deleted file mode 100755 index d228d05..0000000 Binary files a/ext-resources/css/theme/img/silk/printer_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/printer_delete.png b/ext-resources/css/theme/img/silk/printer_delete.png deleted file mode 100755 index 1d8605f..0000000 Binary files a/ext-resources/css/theme/img/silk/printer_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/printer_empty.png b/ext-resources/css/theme/img/silk/printer_empty.png deleted file mode 100755 index 94e8c16..0000000 Binary files a/ext-resources/css/theme/img/silk/printer_empty.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/printer_error.png b/ext-resources/css/theme/img/silk/printer_error.png deleted file mode 100755 index 279ebb0..0000000 Binary files a/ext-resources/css/theme/img/silk/printer_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rainbow.png b/ext-resources/css/theme/img/silk/rainbow.png deleted file mode 100755 index 5ede989..0000000 Binary files a/ext-resources/css/theme/img/silk/rainbow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/readme.txt b/ext-resources/css/theme/img/silk/readme.txt deleted file mode 100755 index d79e91d..0000000 --- a/ext-resources/css/theme/img/silk/readme.txt +++ /dev/null @@ -1,20 +0,0 @@ -_________________________________________ -Silk icon set 1.3 by Mark James -http://www.famfamfam.com/lab/icons/silk/ -_________________________________________ - -The Silk icon set is licensed under a -Creative Commons Attribution 3.0 License. -[ http://creativecommons.org/licenses/by/3.0/ ] - -This means you may use it for any purpose, -and make any changes you like. -All I ask is that you include a link back -to this page in your credits. - -Are you using this icon set? Send me an email -(including a link or picture if available) to -mjames@gmail.com - -Any other questions about this icon set please -contact mjames@gmail.com \ No newline at end of file diff --git a/ext-resources/css/theme/img/silk/report.png b/ext-resources/css/theme/img/silk/report.png deleted file mode 100755 index 779ad58..0000000 Binary files a/ext-resources/css/theme/img/silk/report.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_add.png b/ext-resources/css/theme/img/silk/report_add.png deleted file mode 100755 index d5eac9b..0000000 Binary files a/ext-resources/css/theme/img/silk/report_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_delete.png b/ext-resources/css/theme/img/silk/report_delete.png deleted file mode 100755 index dcce0b6..0000000 Binary files a/ext-resources/css/theme/img/silk/report_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_disk.png b/ext-resources/css/theme/img/silk/report_disk.png deleted file mode 100755 index 1c856cd..0000000 Binary files a/ext-resources/css/theme/img/silk/report_disk.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_edit.png b/ext-resources/css/theme/img/silk/report_edit.png deleted file mode 100755 index c61a6d8..0000000 Binary files a/ext-resources/css/theme/img/silk/report_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_go.png b/ext-resources/css/theme/img/silk/report_go.png deleted file mode 100755 index f35a979..0000000 Binary files a/ext-resources/css/theme/img/silk/report_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_key.png b/ext-resources/css/theme/img/silk/report_key.png deleted file mode 100755 index 90b758e..0000000 Binary files a/ext-resources/css/theme/img/silk/report_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_link.png b/ext-resources/css/theme/img/silk/report_link.png deleted file mode 100755 index 23f2611..0000000 Binary files a/ext-resources/css/theme/img/silk/report_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_magnify.png b/ext-resources/css/theme/img/silk/report_magnify.png deleted file mode 100755 index aeaa889..0000000 Binary files a/ext-resources/css/theme/img/silk/report_magnify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_picture.png b/ext-resources/css/theme/img/silk/report_picture.png deleted file mode 100755 index 3a9a7e5..0000000 Binary files a/ext-resources/css/theme/img/silk/report_picture.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_user.png b/ext-resources/css/theme/img/silk/report_user.png deleted file mode 100755 index 7766edd..0000000 Binary files a/ext-resources/css/theme/img/silk/report_user.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/report_word.png b/ext-resources/css/theme/img/silk/report_word.png deleted file mode 100755 index 9951342..0000000 Binary files a/ext-resources/css/theme/img/silk/report_word.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/resultset_first.png b/ext-resources/css/theme/img/silk/resultset_first.png deleted file mode 100755 index b03eaf8..0000000 Binary files a/ext-resources/css/theme/img/silk/resultset_first.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/resultset_last.png b/ext-resources/css/theme/img/silk/resultset_last.png deleted file mode 100755 index 8ec8947..0000000 Binary files a/ext-resources/css/theme/img/silk/resultset_last.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/resultset_next.png b/ext-resources/css/theme/img/silk/resultset_next.png deleted file mode 100755 index e252606..0000000 Binary files a/ext-resources/css/theme/img/silk/resultset_next.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/resultset_previous.png b/ext-resources/css/theme/img/silk/resultset_previous.png deleted file mode 100755 index 18f9cc1..0000000 Binary files a/ext-resources/css/theme/img/silk/resultset_previous.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rosette.png b/ext-resources/css/theme/img/silk/rosette.png deleted file mode 100755 index f233bc7..0000000 Binary files a/ext-resources/css/theme/img/silk/rosette.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rss.png b/ext-resources/css/theme/img/silk/rss.png deleted file mode 100755 index 1dc6ff3..0000000 Binary files a/ext-resources/css/theme/img/silk/rss.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rss_add.png b/ext-resources/css/theme/img/silk/rss_add.png deleted file mode 100755 index b590beb..0000000 Binary files a/ext-resources/css/theme/img/silk/rss_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rss_delete.png b/ext-resources/css/theme/img/silk/rss_delete.png deleted file mode 100755 index 9deb738..0000000 Binary files a/ext-resources/css/theme/img/silk/rss_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rss_go.png b/ext-resources/css/theme/img/silk/rss_go.png deleted file mode 100755 index 43a86bf..0000000 Binary files a/ext-resources/css/theme/img/silk/rss_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/rss_valid.png b/ext-resources/css/theme/img/silk/rss_valid.png deleted file mode 100755 index a6d0b0e..0000000 Binary files a/ext-resources/css/theme/img/silk/rss_valid.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby.png b/ext-resources/css/theme/img/silk/ruby.png deleted file mode 100755 index f763a16..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_add.png b/ext-resources/css/theme/img/silk/ruby_add.png deleted file mode 100755 index a2cd648..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_delete.png b/ext-resources/css/theme/img/silk/ruby_delete.png deleted file mode 100755 index 3002263..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_gear.png b/ext-resources/css/theme/img/silk/ruby_gear.png deleted file mode 100755 index 4a10590..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_get.png b/ext-resources/css/theme/img/silk/ruby_get.png deleted file mode 100755 index f5203c7..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_get.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_go.png b/ext-resources/css/theme/img/silk/ruby_go.png deleted file mode 100755 index d8d276e..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_key.png b/ext-resources/css/theme/img/silk/ruby_key.png deleted file mode 100755 index 451cfeb..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_link.png b/ext-resources/css/theme/img/silk/ruby_link.png deleted file mode 100755 index bf4be52..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/ruby_put.png b/ext-resources/css/theme/img/silk/ruby_put.png deleted file mode 100755 index e026323..0000000 Binary files a/ext-resources/css/theme/img/silk/ruby_put.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script.png b/ext-resources/css/theme/img/silk/script.png deleted file mode 100755 index 0f9ed4d..0000000 Binary files a/ext-resources/css/theme/img/silk/script.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_add.png b/ext-resources/css/theme/img/silk/script_add.png deleted file mode 100755 index d650552..0000000 Binary files a/ext-resources/css/theme/img/silk/script_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_code.png b/ext-resources/css/theme/img/silk/script_code.png deleted file mode 100755 index 63fe6ce..0000000 Binary files a/ext-resources/css/theme/img/silk/script_code.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_code_red.png b/ext-resources/css/theme/img/silk/script_code_red.png deleted file mode 100755 index 8fcf0f0..0000000 Binary files a/ext-resources/css/theme/img/silk/script_code_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_delete.png b/ext-resources/css/theme/img/silk/script_delete.png deleted file mode 100755 index e6500ce..0000000 Binary files a/ext-resources/css/theme/img/silk/script_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_edit.png b/ext-resources/css/theme/img/silk/script_edit.png deleted file mode 100755 index b4d31ce..0000000 Binary files a/ext-resources/css/theme/img/silk/script_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_error.png b/ext-resources/css/theme/img/silk/script_error.png deleted file mode 100755 index 0491954..0000000 Binary files a/ext-resources/css/theme/img/silk/script_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_gear.png b/ext-resources/css/theme/img/silk/script_gear.png deleted file mode 100755 index 56fcf84..0000000 Binary files a/ext-resources/css/theme/img/silk/script_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_go.png b/ext-resources/css/theme/img/silk/script_go.png deleted file mode 100755 index 8e154e2..0000000 Binary files a/ext-resources/css/theme/img/silk/script_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_key.png b/ext-resources/css/theme/img/silk/script_key.png deleted file mode 100755 index 49bb24d..0000000 Binary files a/ext-resources/css/theme/img/silk/script_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_lightning.png b/ext-resources/css/theme/img/silk/script_lightning.png deleted file mode 100755 index b3fa18c..0000000 Binary files a/ext-resources/css/theme/img/silk/script_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_link.png b/ext-resources/css/theme/img/silk/script_link.png deleted file mode 100755 index bdeb985..0000000 Binary files a/ext-resources/css/theme/img/silk/script_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_palette.png b/ext-resources/css/theme/img/silk/script_palette.png deleted file mode 100755 index 6d46962..0000000 Binary files a/ext-resources/css/theme/img/silk/script_palette.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/script_save.png b/ext-resources/css/theme/img/silk/script_save.png deleted file mode 100755 index 36216d8..0000000 Binary files a/ext-resources/css/theme/img/silk/script_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server.png b/ext-resources/css/theme/img/silk/server.png deleted file mode 100755 index 720a237..0000000 Binary files a/ext-resources/css/theme/img/silk/server.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_add.png b/ext-resources/css/theme/img/silk/server_add.png deleted file mode 100755 index 3f10a3a..0000000 Binary files a/ext-resources/css/theme/img/silk/server_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_chart.png b/ext-resources/css/theme/img/silk/server_chart.png deleted file mode 100755 index 1128d3f..0000000 Binary files a/ext-resources/css/theme/img/silk/server_chart.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_compressed.png b/ext-resources/css/theme/img/silk/server_compressed.png deleted file mode 100755 index bf49fad..0000000 Binary files a/ext-resources/css/theme/img/silk/server_compressed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_connect.png b/ext-resources/css/theme/img/silk/server_connect.png deleted file mode 100755 index 49b2691..0000000 Binary files a/ext-resources/css/theme/img/silk/server_connect.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_database.png b/ext-resources/css/theme/img/silk/server_database.png deleted file mode 100755 index b24e826..0000000 Binary files a/ext-resources/css/theme/img/silk/server_database.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_delete.png b/ext-resources/css/theme/img/silk/server_delete.png deleted file mode 100755 index 61e740f..0000000 Binary files a/ext-resources/css/theme/img/silk/server_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_edit.png b/ext-resources/css/theme/img/silk/server_edit.png deleted file mode 100755 index dc76253..0000000 Binary files a/ext-resources/css/theme/img/silk/server_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_error.png b/ext-resources/css/theme/img/silk/server_error.png deleted file mode 100755 index f640256..0000000 Binary files a/ext-resources/css/theme/img/silk/server_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_go.png b/ext-resources/css/theme/img/silk/server_go.png deleted file mode 100755 index 540c8e2..0000000 Binary files a/ext-resources/css/theme/img/silk/server_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_key.png b/ext-resources/css/theme/img/silk/server_key.png deleted file mode 100755 index ecd5174..0000000 Binary files a/ext-resources/css/theme/img/silk/server_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_lightning.png b/ext-resources/css/theme/img/silk/server_lightning.png deleted file mode 100755 index b0f4e46..0000000 Binary files a/ext-resources/css/theme/img/silk/server_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_link.png b/ext-resources/css/theme/img/silk/server_link.png deleted file mode 100755 index e8821df..0000000 Binary files a/ext-resources/css/theme/img/silk/server_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/server_uncompressed.png b/ext-resources/css/theme/img/silk/server_uncompressed.png deleted file mode 100755 index 86e8325..0000000 Binary files a/ext-resources/css/theme/img/silk/server_uncompressed.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shading.png b/ext-resources/css/theme/img/silk/shading.png deleted file mode 100755 index 09275f9..0000000 Binary files a/ext-resources/css/theme/img/silk/shading.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_align_bottom.png b/ext-resources/css/theme/img/silk/shape_align_bottom.png deleted file mode 100755 index 55d2694..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_align_bottom.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_align_center.png b/ext-resources/css/theme/img/silk/shape_align_center.png deleted file mode 100755 index efe9a98..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_align_center.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_align_left.png b/ext-resources/css/theme/img/silk/shape_align_left.png deleted file mode 100755 index aaedc41..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_align_left.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_align_middle.png b/ext-resources/css/theme/img/silk/shape_align_middle.png deleted file mode 100755 index d350dd8..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_align_middle.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_align_right.png b/ext-resources/css/theme/img/silk/shape_align_right.png deleted file mode 100755 index ff556b6..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_align_right.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_align_top.png b/ext-resources/css/theme/img/silk/shape_align_top.png deleted file mode 100755 index 1181b43..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_align_top.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_flip_horizontal.png b/ext-resources/css/theme/img/silk/shape_flip_horizontal.png deleted file mode 100755 index 8667c81..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_flip_horizontal.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_flip_vertical.png b/ext-resources/css/theme/img/silk/shape_flip_vertical.png deleted file mode 100755 index 0bd66d1..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_flip_vertical.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_group.png b/ext-resources/css/theme/img/silk/shape_group.png deleted file mode 100755 index bb2ff51..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_group.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_handles.png b/ext-resources/css/theme/img/silk/shape_handles.png deleted file mode 100755 index ce27fe3..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_handles.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_move_back.png b/ext-resources/css/theme/img/silk/shape_move_back.png deleted file mode 100755 index a216ffd..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_move_back.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_move_backwards.png b/ext-resources/css/theme/img/silk/shape_move_backwards.png deleted file mode 100755 index ee3f9b2..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_move_backwards.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_move_forwards.png b/ext-resources/css/theme/img/silk/shape_move_forwards.png deleted file mode 100755 index cfe4493..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_move_forwards.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_move_front.png b/ext-resources/css/theme/img/silk/shape_move_front.png deleted file mode 100755 index b4a4e3b..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_move_front.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_rotate_anticlockwise.png b/ext-resources/css/theme/img/silk/shape_rotate_anticlockwise.png deleted file mode 100755 index 07a3020..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_rotate_anticlockwise.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_rotate_clockwise.png b/ext-resources/css/theme/img/silk/shape_rotate_clockwise.png deleted file mode 100755 index b99db7d..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_rotate_clockwise.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square.png b/ext-resources/css/theme/img/silk/shape_square.png deleted file mode 100755 index 33af046..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_add.png b/ext-resources/css/theme/img/silk/shape_square_add.png deleted file mode 100755 index 31edfce..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_delete.png b/ext-resources/css/theme/img/silk/shape_square_delete.png deleted file mode 100755 index ede912d..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_edit.png b/ext-resources/css/theme/img/silk/shape_square_edit.png deleted file mode 100755 index d28dc6b..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_error.png b/ext-resources/css/theme/img/silk/shape_square_error.png deleted file mode 100755 index 0d0dcfa..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_go.png b/ext-resources/css/theme/img/silk/shape_square_go.png deleted file mode 100755 index 5a2ad90..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_key.png b/ext-resources/css/theme/img/silk/shape_square_key.png deleted file mode 100755 index c34b982..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_square_link.png b/ext-resources/css/theme/img/silk/shape_square_link.png deleted file mode 100755 index b885fcc..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_square_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shape_ungroup.png b/ext-resources/css/theme/img/silk/shape_ungroup.png deleted file mode 100755 index 3a6f369..0000000 Binary files a/ext-resources/css/theme/img/silk/shape_ungroup.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shield.png b/ext-resources/css/theme/img/silk/shield.png deleted file mode 100755 index 3cb4e25..0000000 Binary files a/ext-resources/css/theme/img/silk/shield.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shield_add.png b/ext-resources/css/theme/img/silk/shield_add.png deleted file mode 100755 index e20a1b4..0000000 Binary files a/ext-resources/css/theme/img/silk/shield_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shield_delete.png b/ext-resources/css/theme/img/silk/shield_delete.png deleted file mode 100755 index 22823a7..0000000 Binary files a/ext-resources/css/theme/img/silk/shield_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/shield_go.png b/ext-resources/css/theme/img/silk/shield_go.png deleted file mode 100755 index e9bd852..0000000 Binary files a/ext-resources/css/theme/img/silk/shield_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sitemap.png b/ext-resources/css/theme/img/silk/sitemap.png deleted file mode 100755 index ca779f3..0000000 Binary files a/ext-resources/css/theme/img/silk/sitemap.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sitemap_color.png b/ext-resources/css/theme/img/silk/sitemap_color.png deleted file mode 100755 index c64582b..0000000 Binary files a/ext-resources/css/theme/img/silk/sitemap_color.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sound.png b/ext-resources/css/theme/img/silk/sound.png deleted file mode 100755 index 6056d23..0000000 Binary files a/ext-resources/css/theme/img/silk/sound.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sound_add.png b/ext-resources/css/theme/img/silk/sound_add.png deleted file mode 100755 index 965c503..0000000 Binary files a/ext-resources/css/theme/img/silk/sound_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sound_delete.png b/ext-resources/css/theme/img/silk/sound_delete.png deleted file mode 100755 index ab9577a..0000000 Binary files a/ext-resources/css/theme/img/silk/sound_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sound_low.png b/ext-resources/css/theme/img/silk/sound_low.png deleted file mode 100755 index 4d91863..0000000 Binary files a/ext-resources/css/theme/img/silk/sound_low.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sound_mute.png b/ext-resources/css/theme/img/silk/sound_mute.png deleted file mode 100755 index b652d2a..0000000 Binary files a/ext-resources/css/theme/img/silk/sound_mute.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sound_none.png b/ext-resources/css/theme/img/silk/sound_none.png deleted file mode 100755 index b497ebd..0000000 Binary files a/ext-resources/css/theme/img/silk/sound_none.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/spellcheck.png b/ext-resources/css/theme/img/silk/spellcheck.png deleted file mode 100755 index ebc632d..0000000 Binary files a/ext-resources/css/theme/img/silk/spellcheck.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_8ball.png b/ext-resources/css/theme/img/silk/sport_8ball.png deleted file mode 100755 index 4f627b7..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_8ball.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_basketball.png b/ext-resources/css/theme/img/silk/sport_basketball.png deleted file mode 100755 index f7a000b..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_basketball.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_football.png b/ext-resources/css/theme/img/silk/sport_football.png deleted file mode 100755 index 199f0f7..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_football.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_golf.png b/ext-resources/css/theme/img/silk/sport_golf.png deleted file mode 100755 index e21fa44..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_golf.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_raquet.png b/ext-resources/css/theme/img/silk/sport_raquet.png deleted file mode 100755 index f5e0f0c..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_raquet.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_shuttlecock.png b/ext-resources/css/theme/img/silk/sport_shuttlecock.png deleted file mode 100755 index 917287f..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_shuttlecock.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_soccer.png b/ext-resources/css/theme/img/silk/sport_soccer.png deleted file mode 100755 index 3eb1828..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_soccer.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sport_tennis.png b/ext-resources/css/theme/img/silk/sport_tennis.png deleted file mode 100755 index e88a6ef..0000000 Binary files a/ext-resources/css/theme/img/silk/sport_tennis.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/star.png b/ext-resources/css/theme/img/silk/star.png deleted file mode 100755 index b88c857..0000000 Binary files a/ext-resources/css/theme/img/silk/star.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/status_away.png b/ext-resources/css/theme/img/silk/status_away.png deleted file mode 100755 index 70bcbcc..0000000 Binary files a/ext-resources/css/theme/img/silk/status_away.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/status_busy.png b/ext-resources/css/theme/img/silk/status_busy.png deleted file mode 100755 index 987c806..0000000 Binary files a/ext-resources/css/theme/img/silk/status_busy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/status_offline.png b/ext-resources/css/theme/img/silk/status_offline.png deleted file mode 100755 index a88261a..0000000 Binary files a/ext-resources/css/theme/img/silk/status_offline.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/status_online.png b/ext-resources/css/theme/img/silk/status_online.png deleted file mode 100755 index 947bd4b..0000000 Binary files a/ext-resources/css/theme/img/silk/status_online.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/stop.png b/ext-resources/css/theme/img/silk/stop.png deleted file mode 100755 index 0cfd585..0000000 Binary files a/ext-resources/css/theme/img/silk/stop.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/style.png b/ext-resources/css/theme/img/silk/style.png deleted file mode 100755 index 81e41de..0000000 Binary files a/ext-resources/css/theme/img/silk/style.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/style_add.png b/ext-resources/css/theme/img/silk/style_add.png deleted file mode 100755 index e0369c6..0000000 Binary files a/ext-resources/css/theme/img/silk/style_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/style_delete.png b/ext-resources/css/theme/img/silk/style_delete.png deleted file mode 100755 index 640f187..0000000 Binary files a/ext-resources/css/theme/img/silk/style_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/style_edit.png b/ext-resources/css/theme/img/silk/style_edit.png deleted file mode 100755 index 25bb5b6..0000000 Binary files a/ext-resources/css/theme/img/silk/style_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/style_go.png b/ext-resources/css/theme/img/silk/style_go.png deleted file mode 100755 index 25d6181..0000000 Binary files a/ext-resources/css/theme/img/silk/style_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/sum.png b/ext-resources/css/theme/img/silk/sum.png deleted file mode 100755 index fd7b32e..0000000 Binary files a/ext-resources/css/theme/img/silk/sum.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tab.png b/ext-resources/css/theme/img/silk/tab.png deleted file mode 100755 index 3d8207f..0000000 Binary files a/ext-resources/css/theme/img/silk/tab.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tab_add.png b/ext-resources/css/theme/img/silk/tab_add.png deleted file mode 100755 index d3b9936..0000000 Binary files a/ext-resources/css/theme/img/silk/tab_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tab_delete.png b/ext-resources/css/theme/img/silk/tab_delete.png deleted file mode 100755 index 100da2f..0000000 Binary files a/ext-resources/css/theme/img/silk/tab_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tab_edit.png b/ext-resources/css/theme/img/silk/tab_edit.png deleted file mode 100755 index 4c09c0f..0000000 Binary files a/ext-resources/css/theme/img/silk/tab_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tab_go.png b/ext-resources/css/theme/img/silk/tab_go.png deleted file mode 100755 index 844ce04..0000000 Binary files a/ext-resources/css/theme/img/silk/tab_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table.png b/ext-resources/css/theme/img/silk/table.png deleted file mode 100755 index abcd936..0000000 Binary files a/ext-resources/css/theme/img/silk/table.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_add.png b/ext-resources/css/theme/img/silk/table_add.png deleted file mode 100755 index 2a3e5c4..0000000 Binary files a/ext-resources/css/theme/img/silk/table_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_delete.png b/ext-resources/css/theme/img/silk/table_delete.png deleted file mode 100755 index b85916d..0000000 Binary files a/ext-resources/css/theme/img/silk/table_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_edit.png b/ext-resources/css/theme/img/silk/table_edit.png deleted file mode 100755 index bfcb024..0000000 Binary files a/ext-resources/css/theme/img/silk/table_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_error.png b/ext-resources/css/theme/img/silk/table_error.png deleted file mode 100755 index 589e92b..0000000 Binary files a/ext-resources/css/theme/img/silk/table_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_gear.png b/ext-resources/css/theme/img/silk/table_gear.png deleted file mode 100755 index cfc2702..0000000 Binary files a/ext-resources/css/theme/img/silk/table_gear.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_go.png b/ext-resources/css/theme/img/silk/table_go.png deleted file mode 100755 index 0528dfa..0000000 Binary files a/ext-resources/css/theme/img/silk/table_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_key.png b/ext-resources/css/theme/img/silk/table_key.png deleted file mode 100755 index 34e23e2..0000000 Binary files a/ext-resources/css/theme/img/silk/table_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_lightning.png b/ext-resources/css/theme/img/silk/table_lightning.png deleted file mode 100755 index 612612b..0000000 Binary files a/ext-resources/css/theme/img/silk/table_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_link.png b/ext-resources/css/theme/img/silk/table_link.png deleted file mode 100755 index decac8a..0000000 Binary files a/ext-resources/css/theme/img/silk/table_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_multiple.png b/ext-resources/css/theme/img/silk/table_multiple.png deleted file mode 100755 index d76448e..0000000 Binary files a/ext-resources/css/theme/img/silk/table_multiple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_refresh.png b/ext-resources/css/theme/img/silk/table_refresh.png deleted file mode 100755 index ab92010..0000000 Binary files a/ext-resources/css/theme/img/silk/table_refresh.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_relationship.png b/ext-resources/css/theme/img/silk/table_relationship.png deleted file mode 100755 index 28b8505..0000000 Binary files a/ext-resources/css/theme/img/silk/table_relationship.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_row_delete.png b/ext-resources/css/theme/img/silk/table_row_delete.png deleted file mode 100755 index 54c6969..0000000 Binary files a/ext-resources/css/theme/img/silk/table_row_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_row_insert.png b/ext-resources/css/theme/img/silk/table_row_insert.png deleted file mode 100755 index ff5925e..0000000 Binary files a/ext-resources/css/theme/img/silk/table_row_insert.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_save.png b/ext-resources/css/theme/img/silk/table_save.png deleted file mode 100755 index 25b74d1..0000000 Binary files a/ext-resources/css/theme/img/silk/table_save.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/table_sort.png b/ext-resources/css/theme/img/silk/table_sort.png deleted file mode 100755 index ed6785a..0000000 Binary files a/ext-resources/css/theme/img/silk/table_sort.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag.png b/ext-resources/css/theme/img/silk/tag.png deleted file mode 100755 index e093032..0000000 Binary files a/ext-resources/css/theme/img/silk/tag.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_blue.png b/ext-resources/css/theme/img/silk/tag_blue.png deleted file mode 100755 index 9757fc6..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_blue_add.png b/ext-resources/css/theme/img/silk/tag_blue_add.png deleted file mode 100755 index f135248..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_blue_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_blue_delete.png b/ext-resources/css/theme/img/silk/tag_blue_delete.png deleted file mode 100755 index 9fbae67..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_blue_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_blue_edit.png b/ext-resources/css/theme/img/silk/tag_blue_edit.png deleted file mode 100755 index 2a9f626..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_blue_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_green.png b/ext-resources/css/theme/img/silk/tag_green.png deleted file mode 100755 index 83ec984..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_orange.png b/ext-resources/css/theme/img/silk/tag_orange.png deleted file mode 100755 index 454a59f..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_pink.png b/ext-resources/css/theme/img/silk/tag_pink.png deleted file mode 100755 index 76e2296..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_pink.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_purple.png b/ext-resources/css/theme/img/silk/tag_purple.png deleted file mode 100755 index ebaf0e8..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_purple.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_red.png b/ext-resources/css/theme/img/silk/tag_red.png deleted file mode 100755 index 6ebb37d..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tag_yellow.png b/ext-resources/css/theme/img/silk/tag_yellow.png deleted file mode 100755 index 83d1292..0000000 Binary files a/ext-resources/css/theme/img/silk/tag_yellow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone.png b/ext-resources/css/theme/img/silk/telephone.png deleted file mode 100755 index cecc436..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_add.png b/ext-resources/css/theme/img/silk/telephone_add.png deleted file mode 100755 index 5591cfc..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_delete.png b/ext-resources/css/theme/img/silk/telephone_delete.png deleted file mode 100755 index 0013268..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_edit.png b/ext-resources/css/theme/img/silk/telephone_edit.png deleted file mode 100755 index bcf6d7e..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_error.png b/ext-resources/css/theme/img/silk/telephone_error.png deleted file mode 100755 index d3ec3a1..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_go.png b/ext-resources/css/theme/img/silk/telephone_go.png deleted file mode 100755 index 395c8fb..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_key.png b/ext-resources/css/theme/img/silk/telephone_key.png deleted file mode 100755 index cef5dec..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/telephone_link.png b/ext-resources/css/theme/img/silk/telephone_link.png deleted file mode 100755 index ef1ee5d..0000000 Binary files a/ext-resources/css/theme/img/silk/telephone_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/television.png b/ext-resources/css/theme/img/silk/television.png deleted file mode 100755 index 1738a4f..0000000 Binary files a/ext-resources/css/theme/img/silk/television.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/television_add.png b/ext-resources/css/theme/img/silk/television_add.png deleted file mode 100755 index 2baaad9..0000000 Binary files a/ext-resources/css/theme/img/silk/television_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/television_delete.png b/ext-resources/css/theme/img/silk/television_delete.png deleted file mode 100755 index b9a5860..0000000 Binary files a/ext-resources/css/theme/img/silk/television_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_align_center.png b/ext-resources/css/theme/img/silk/text_align_center.png deleted file mode 100755 index 57beb38..0000000 Binary files a/ext-resources/css/theme/img/silk/text_align_center.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_align_justify.png b/ext-resources/css/theme/img/silk/text_align_justify.png deleted file mode 100755 index 2fbdd69..0000000 Binary files a/ext-resources/css/theme/img/silk/text_align_justify.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_align_left.png b/ext-resources/css/theme/img/silk/text_align_left.png deleted file mode 100755 index 6c8fcc1..0000000 Binary files a/ext-resources/css/theme/img/silk/text_align_left.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_align_right.png b/ext-resources/css/theme/img/silk/text_align_right.png deleted file mode 100755 index a150257..0000000 Binary files a/ext-resources/css/theme/img/silk/text_align_right.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_allcaps.png b/ext-resources/css/theme/img/silk/text_allcaps.png deleted file mode 100755 index 280fd44..0000000 Binary files a/ext-resources/css/theme/img/silk/text_allcaps.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_bold.png b/ext-resources/css/theme/img/silk/text_bold.png deleted file mode 100755 index 889ae80..0000000 Binary files a/ext-resources/css/theme/img/silk/text_bold.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_columns.png b/ext-resources/css/theme/img/silk/text_columns.png deleted file mode 100755 index 97b2e03..0000000 Binary files a/ext-resources/css/theme/img/silk/text_columns.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_dropcaps.png b/ext-resources/css/theme/img/silk/text_dropcaps.png deleted file mode 100755 index dd65786..0000000 Binary files a/ext-resources/css/theme/img/silk/text_dropcaps.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_heading_1.png b/ext-resources/css/theme/img/silk/text_heading_1.png deleted file mode 100755 index 9c122e9..0000000 Binary files a/ext-resources/css/theme/img/silk/text_heading_1.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_heading_2.png b/ext-resources/css/theme/img/silk/text_heading_2.png deleted file mode 100755 index fbd8765..0000000 Binary files a/ext-resources/css/theme/img/silk/text_heading_2.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_heading_3.png b/ext-resources/css/theme/img/silk/text_heading_3.png deleted file mode 100755 index c7836cf..0000000 Binary files a/ext-resources/css/theme/img/silk/text_heading_3.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_heading_4.png b/ext-resources/css/theme/img/silk/text_heading_4.png deleted file mode 100755 index 4e929ea..0000000 Binary files a/ext-resources/css/theme/img/silk/text_heading_4.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_heading_5.png b/ext-resources/css/theme/img/silk/text_heading_5.png deleted file mode 100755 index 30cabeb..0000000 Binary files a/ext-resources/css/theme/img/silk/text_heading_5.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_heading_6.png b/ext-resources/css/theme/img/silk/text_heading_6.png deleted file mode 100755 index 058170a..0000000 Binary files a/ext-resources/css/theme/img/silk/text_heading_6.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_horizontalrule.png b/ext-resources/css/theme/img/silk/text_horizontalrule.png deleted file mode 100755 index 8dd1da1..0000000 Binary files a/ext-resources/css/theme/img/silk/text_horizontalrule.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_indent.png b/ext-resources/css/theme/img/silk/text_indent.png deleted file mode 100755 index 9364532..0000000 Binary files a/ext-resources/css/theme/img/silk/text_indent.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_indent_remove.png b/ext-resources/css/theme/img/silk/text_indent_remove.png deleted file mode 100755 index 1651b07..0000000 Binary files a/ext-resources/css/theme/img/silk/text_indent_remove.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_italic.png b/ext-resources/css/theme/img/silk/text_italic.png deleted file mode 100755 index 8482ac8..0000000 Binary files a/ext-resources/css/theme/img/silk/text_italic.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_kerning.png b/ext-resources/css/theme/img/silk/text_kerning.png deleted file mode 100755 index 377def6..0000000 Binary files a/ext-resources/css/theme/img/silk/text_kerning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_letter_omega.png b/ext-resources/css/theme/img/silk/text_letter_omega.png deleted file mode 100755 index 5075ec6..0000000 Binary files a/ext-resources/css/theme/img/silk/text_letter_omega.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_letterspacing.png b/ext-resources/css/theme/img/silk/text_letterspacing.png deleted file mode 100755 index 41390f5..0000000 Binary files a/ext-resources/css/theme/img/silk/text_letterspacing.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_linespacing.png b/ext-resources/css/theme/img/silk/text_linespacing.png deleted file mode 100755 index 1a91cbd..0000000 Binary files a/ext-resources/css/theme/img/silk/text_linespacing.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_list_bullets.png b/ext-resources/css/theme/img/silk/text_list_bullets.png deleted file mode 100755 index 4a8672b..0000000 Binary files a/ext-resources/css/theme/img/silk/text_list_bullets.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_list_numbers.png b/ext-resources/css/theme/img/silk/text_list_numbers.png deleted file mode 100755 index 33b0b8d..0000000 Binary files a/ext-resources/css/theme/img/silk/text_list_numbers.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_lowercase.png b/ext-resources/css/theme/img/silk/text_lowercase.png deleted file mode 100755 index 382a102..0000000 Binary files a/ext-resources/css/theme/img/silk/text_lowercase.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_padding_bottom.png b/ext-resources/css/theme/img/silk/text_padding_bottom.png deleted file mode 100755 index 4880c43..0000000 Binary files a/ext-resources/css/theme/img/silk/text_padding_bottom.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_padding_left.png b/ext-resources/css/theme/img/silk/text_padding_left.png deleted file mode 100755 index b55482e..0000000 Binary files a/ext-resources/css/theme/img/silk/text_padding_left.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_padding_right.png b/ext-resources/css/theme/img/silk/text_padding_right.png deleted file mode 100755 index 106edae..0000000 Binary files a/ext-resources/css/theme/img/silk/text_padding_right.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_padding_top.png b/ext-resources/css/theme/img/silk/text_padding_top.png deleted file mode 100755 index c5c45b2..0000000 Binary files a/ext-resources/css/theme/img/silk/text_padding_top.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_replace.png b/ext-resources/css/theme/img/silk/text_replace.png deleted file mode 100755 index 877f82f..0000000 Binary files a/ext-resources/css/theme/img/silk/text_replace.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_signature.png b/ext-resources/css/theme/img/silk/text_signature.png deleted file mode 100755 index c72fd80..0000000 Binary files a/ext-resources/css/theme/img/silk/text_signature.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_smallcaps.png b/ext-resources/css/theme/img/silk/text_smallcaps.png deleted file mode 100755 index 5b98a6e..0000000 Binary files a/ext-resources/css/theme/img/silk/text_smallcaps.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_strikethrough.png b/ext-resources/css/theme/img/silk/text_strikethrough.png deleted file mode 100755 index 612058a..0000000 Binary files a/ext-resources/css/theme/img/silk/text_strikethrough.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_subscript.png b/ext-resources/css/theme/img/silk/text_subscript.png deleted file mode 100755 index 1a2b010..0000000 Binary files a/ext-resources/css/theme/img/silk/text_subscript.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_superscript.png b/ext-resources/css/theme/img/silk/text_superscript.png deleted file mode 100755 index 2fb2a7c..0000000 Binary files a/ext-resources/css/theme/img/silk/text_superscript.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_underline.png b/ext-resources/css/theme/img/silk/text_underline.png deleted file mode 100755 index 90d0df2..0000000 Binary files a/ext-resources/css/theme/img/silk/text_underline.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/text_uppercase.png b/ext-resources/css/theme/img/silk/text_uppercase.png deleted file mode 100755 index 8dcc2db..0000000 Binary files a/ext-resources/css/theme/img/silk/text_uppercase.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/textfield.png b/ext-resources/css/theme/img/silk/textfield.png deleted file mode 100755 index d37e730..0000000 Binary files a/ext-resources/css/theme/img/silk/textfield.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/textfield_add.png b/ext-resources/css/theme/img/silk/textfield_add.png deleted file mode 100755 index 204de72..0000000 Binary files a/ext-resources/css/theme/img/silk/textfield_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/textfield_delete.png b/ext-resources/css/theme/img/silk/textfield_delete.png deleted file mode 100755 index c7bd58b..0000000 Binary files a/ext-resources/css/theme/img/silk/textfield_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/textfield_key.png b/ext-resources/css/theme/img/silk/textfield_key.png deleted file mode 100755 index a9d5e4f..0000000 Binary files a/ext-resources/css/theme/img/silk/textfield_key.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/textfield_rename.png b/ext-resources/css/theme/img/silk/textfield_rename.png deleted file mode 100755 index 4e3688e..0000000 Binary files a/ext-resources/css/theme/img/silk/textfield_rename.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/thumb_down.png b/ext-resources/css/theme/img/silk/thumb_down.png deleted file mode 100755 index 3c832d4..0000000 Binary files a/ext-resources/css/theme/img/silk/thumb_down.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/thumb_up.png b/ext-resources/css/theme/img/silk/thumb_up.png deleted file mode 100755 index 2bd16cc..0000000 Binary files a/ext-resources/css/theme/img/silk/thumb_up.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tick.png b/ext-resources/css/theme/img/silk/tick.png deleted file mode 100755 index a9925a0..0000000 Binary files a/ext-resources/css/theme/img/silk/tick.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/time.png b/ext-resources/css/theme/img/silk/time.png deleted file mode 100755 index 911da3f..0000000 Binary files a/ext-resources/css/theme/img/silk/time.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/time_add.png b/ext-resources/css/theme/img/silk/time_add.png deleted file mode 100755 index dcc45cb..0000000 Binary files a/ext-resources/css/theme/img/silk/time_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/time_delete.png b/ext-resources/css/theme/img/silk/time_delete.png deleted file mode 100755 index 5bf8313..0000000 Binary files a/ext-resources/css/theme/img/silk/time_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/time_go.png b/ext-resources/css/theme/img/silk/time_go.png deleted file mode 100755 index d451ee0..0000000 Binary files a/ext-resources/css/theme/img/silk/time_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/timeline_marker.png b/ext-resources/css/theme/img/silk/timeline_marker.png deleted file mode 100755 index a3fbddf..0000000 Binary files a/ext-resources/css/theme/img/silk/timeline_marker.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit.png b/ext-resources/css/theme/img/silk/transmit.png deleted file mode 100755 index f54bf73..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit_add.png b/ext-resources/css/theme/img/silk/transmit_add.png deleted file mode 100755 index b7fd4e6..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit_blue.png b/ext-resources/css/theme/img/silk/transmit_blue.png deleted file mode 100755 index 7b1142f..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit_blue.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit_delete.png b/ext-resources/css/theme/img/silk/transmit_delete.png deleted file mode 100755 index 3d72be2..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit_edit.png b/ext-resources/css/theme/img/silk/transmit_edit.png deleted file mode 100755 index eb9a3dd..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit_error.png b/ext-resources/css/theme/img/silk/transmit_error.png deleted file mode 100755 index fd1d449..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/transmit_go.png b/ext-resources/css/theme/img/silk/transmit_go.png deleted file mode 100755 index 10137e5..0000000 Binary files a/ext-resources/css/theme/img/silk/transmit_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/tux.png b/ext-resources/css/theme/img/silk/tux.png deleted file mode 100755 index bbefe2e..0000000 Binary files a/ext-resources/css/theme/img/silk/tux.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user.png b/ext-resources/css/theme/img/silk/user.png deleted file mode 100755 index 79f35cc..0000000 Binary files a/ext-resources/css/theme/img/silk/user.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_add.png b/ext-resources/css/theme/img/silk/user_add.png deleted file mode 100755 index deae99b..0000000 Binary files a/ext-resources/css/theme/img/silk/user_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_comment.png b/ext-resources/css/theme/img/silk/user_comment.png deleted file mode 100755 index e54ebeb..0000000 Binary files a/ext-resources/css/theme/img/silk/user_comment.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_delete.png b/ext-resources/css/theme/img/silk/user_delete.png deleted file mode 100755 index acbb563..0000000 Binary files a/ext-resources/css/theme/img/silk/user_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_edit.png b/ext-resources/css/theme/img/silk/user_edit.png deleted file mode 100755 index c1974cd..0000000 Binary files a/ext-resources/css/theme/img/silk/user_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_female.png b/ext-resources/css/theme/img/silk/user_female.png deleted file mode 100755 index 7c71de0..0000000 Binary files a/ext-resources/css/theme/img/silk/user_female.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_go.png b/ext-resources/css/theme/img/silk/user_go.png deleted file mode 100755 index 0468cf0..0000000 Binary files a/ext-resources/css/theme/img/silk/user_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_gray.png b/ext-resources/css/theme/img/silk/user_gray.png deleted file mode 100755 index 8fd539e..0000000 Binary files a/ext-resources/css/theme/img/silk/user_gray.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_green.png b/ext-resources/css/theme/img/silk/user_green.png deleted file mode 100755 index 30383c2..0000000 Binary files a/ext-resources/css/theme/img/silk/user_green.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_orange.png b/ext-resources/css/theme/img/silk/user_orange.png deleted file mode 100755 index b818127..0000000 Binary files a/ext-resources/css/theme/img/silk/user_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_red.png b/ext-resources/css/theme/img/silk/user_red.png deleted file mode 100755 index c6f66e8..0000000 Binary files a/ext-resources/css/theme/img/silk/user_red.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/user_suit.png b/ext-resources/css/theme/img/silk/user_suit.png deleted file mode 100755 index b3454e1..0000000 Binary files a/ext-resources/css/theme/img/silk/user_suit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vcard.png b/ext-resources/css/theme/img/silk/vcard.png deleted file mode 100755 index c02f315..0000000 Binary files a/ext-resources/css/theme/img/silk/vcard.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vcard_add.png b/ext-resources/css/theme/img/silk/vcard_add.png deleted file mode 100755 index 2a68453..0000000 Binary files a/ext-resources/css/theme/img/silk/vcard_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vcard_delete.png b/ext-resources/css/theme/img/silk/vcard_delete.png deleted file mode 100755 index b194b97..0000000 Binary files a/ext-resources/css/theme/img/silk/vcard_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vcard_edit.png b/ext-resources/css/theme/img/silk/vcard_edit.png deleted file mode 100755 index ab0f6e7..0000000 Binary files a/ext-resources/css/theme/img/silk/vcard_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vector.png b/ext-resources/css/theme/img/silk/vector.png deleted file mode 100755 index a1291c2..0000000 Binary files a/ext-resources/css/theme/img/silk/vector.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vector_add.png b/ext-resources/css/theme/img/silk/vector_add.png deleted file mode 100755 index 988770f..0000000 Binary files a/ext-resources/css/theme/img/silk/vector_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/vector_delete.png b/ext-resources/css/theme/img/silk/vector_delete.png deleted file mode 100755 index ca139e0..0000000 Binary files a/ext-resources/css/theme/img/silk/vector_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/wand.png b/ext-resources/css/theme/img/silk/wand.png deleted file mode 100755 index 44ccbf8..0000000 Binary files a/ext-resources/css/theme/img/silk/wand.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/weather_clouds.png b/ext-resources/css/theme/img/silk/weather_clouds.png deleted file mode 100755 index 3f73eaa..0000000 Binary files a/ext-resources/css/theme/img/silk/weather_clouds.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/weather_cloudy.png b/ext-resources/css/theme/img/silk/weather_cloudy.png deleted file mode 100755 index 5856e1d..0000000 Binary files a/ext-resources/css/theme/img/silk/weather_cloudy.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/weather_lightning.png b/ext-resources/css/theme/img/silk/weather_lightning.png deleted file mode 100755 index 1d42b36..0000000 Binary files a/ext-resources/css/theme/img/silk/weather_lightning.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/weather_rain.png b/ext-resources/css/theme/img/silk/weather_rain.png deleted file mode 100755 index cb3d54d..0000000 Binary files a/ext-resources/css/theme/img/silk/weather_rain.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/weather_snow.png b/ext-resources/css/theme/img/silk/weather_snow.png deleted file mode 100755 index 45bbdf1..0000000 Binary files a/ext-resources/css/theme/img/silk/weather_snow.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/weather_sun.png b/ext-resources/css/theme/img/silk/weather_sun.png deleted file mode 100755 index 0156c26..0000000 Binary files a/ext-resources/css/theme/img/silk/weather_sun.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/webcam.png b/ext-resources/css/theme/img/silk/webcam.png deleted file mode 100755 index af71c30..0000000 Binary files a/ext-resources/css/theme/img/silk/webcam.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/webcam_add.png b/ext-resources/css/theme/img/silk/webcam_add.png deleted file mode 100755 index f02fcfa..0000000 Binary files a/ext-resources/css/theme/img/silk/webcam_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/webcam_delete.png b/ext-resources/css/theme/img/silk/webcam_delete.png deleted file mode 100755 index bd6277f..0000000 Binary files a/ext-resources/css/theme/img/silk/webcam_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/webcam_error.png b/ext-resources/css/theme/img/silk/webcam_error.png deleted file mode 100755 index 2faa706..0000000 Binary files a/ext-resources/css/theme/img/silk/webcam_error.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/world.png b/ext-resources/css/theme/img/silk/world.png deleted file mode 100755 index 68f21d3..0000000 Binary files a/ext-resources/css/theme/img/silk/world.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/world_add.png b/ext-resources/css/theme/img/silk/world_add.png deleted file mode 100755 index 6d0d7f7..0000000 Binary files a/ext-resources/css/theme/img/silk/world_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/world_delete.png b/ext-resources/css/theme/img/silk/world_delete.png deleted file mode 100755 index ffcd115..0000000 Binary files a/ext-resources/css/theme/img/silk/world_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/world_edit.png b/ext-resources/css/theme/img/silk/world_edit.png deleted file mode 100755 index 00794d4..0000000 Binary files a/ext-resources/css/theme/img/silk/world_edit.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/world_go.png b/ext-resources/css/theme/img/silk/world_go.png deleted file mode 100755 index aee9c97..0000000 Binary files a/ext-resources/css/theme/img/silk/world_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/world_link.png b/ext-resources/css/theme/img/silk/world_link.png deleted file mode 100755 index b8edc12..0000000 Binary files a/ext-resources/css/theme/img/silk/world_link.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/wrench.png b/ext-resources/css/theme/img/silk/wrench.png deleted file mode 100755 index 5c8213f..0000000 Binary files a/ext-resources/css/theme/img/silk/wrench.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/wrench_orange.png b/ext-resources/css/theme/img/silk/wrench_orange.png deleted file mode 100755 index 565a933..0000000 Binary files a/ext-resources/css/theme/img/silk/wrench_orange.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/xhtml.png b/ext-resources/css/theme/img/silk/xhtml.png deleted file mode 100755 index da5dbf2..0000000 Binary files a/ext-resources/css/theme/img/silk/xhtml.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/xhtml_add.png b/ext-resources/css/theme/img/silk/xhtml_add.png deleted file mode 100755 index bbaf784..0000000 Binary files a/ext-resources/css/theme/img/silk/xhtml_add.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/xhtml_delete.png b/ext-resources/css/theme/img/silk/xhtml_delete.png deleted file mode 100755 index 157b520..0000000 Binary files a/ext-resources/css/theme/img/silk/xhtml_delete.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/xhtml_go.png b/ext-resources/css/theme/img/silk/xhtml_go.png deleted file mode 100755 index 43cf814..0000000 Binary files a/ext-resources/css/theme/img/silk/xhtml_go.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/xhtml_valid.png b/ext-resources/css/theme/img/silk/xhtml_valid.png deleted file mode 100755 index d2e1cfb..0000000 Binary files a/ext-resources/css/theme/img/silk/xhtml_valid.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/zoom.png b/ext-resources/css/theme/img/silk/zoom.png deleted file mode 100755 index 908612e..0000000 Binary files a/ext-resources/css/theme/img/silk/zoom.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/zoom_in.png b/ext-resources/css/theme/img/silk/zoom_in.png deleted file mode 100755 index cdf0a52..0000000 Binary files a/ext-resources/css/theme/img/silk/zoom_in.png and /dev/null differ diff --git a/ext-resources/css/theme/img/silk/zoom_out.png b/ext-resources/css/theme/img/silk/zoom_out.png deleted file mode 100755 index 07bf98a..0000000 Binary files a/ext-resources/css/theme/img/silk/zoom_out.png and /dev/null differ diff --git a/ext-resources/images/blank.gif b/ext-resources/images/blank.gif deleted file mode 100755 index 4bcc753..0000000 Binary files a/ext-resources/images/blank.gif and /dev/null differ diff --git a/ext-resources/images/pixel.png b/ext-resources/images/pixel.png deleted file mode 100755 index bf867a3..0000000 Binary files a/ext-resources/images/pixel.png and /dev/null differ diff --git a/ext-resources/jslib/LayerTreeBuilder.js b/ext-resources/jslib/LayerTreeBuilder.js deleted file mode 100755 index 984a0e4..0000000 --- a/ext-resources/jslib/LayerTreeBuilder.js +++ /dev/null @@ -1,472 +0,0 @@ -Ext.namespace("GeoExt.ux.tree"); - -GeoExt.ux.tree.LayerTreeBuilder = Ext.extend(Ext.tree.TreePanel, { - - /* begin i18n */ - /** api: config[title] ``String`` i18n */ - title: "Layers", - - /** api: config[otherLayersText] ``String`` i18n */ - otherLayersText: "Other layers", - - /** api: config[baseLayersText] ``String`` i18n */ - baseLayersText: "Base layers", - /* end i18n */ - - /** api: config[wmsLegendNodes] - * ``Boolean`` - * Defaults to true. Whether WMS layer nodes should have child legend - * nodes or not. - */ - wmsLegendNodes: true, - - /** api: config[vectorLegendNodes] - * ``Boolean`` - * Defaults to true. Whether vector layer nodes should have child legend - * nodes or not. - */ - vectorLegendNodes: true, - - /** api: config[checkableGroupNodes] - * ``Boolean`` - * Defaults to true. Whether LayerContainer and TreeNode nodes used as - * group directories should be checkable or not. - */ - checkableGroupNodes: true, - - /** api: config[layerStore] - * ``GeoExt.data.LayerStore`` - * The layer store containing layers to be displayed in the tree. - * If not provided it will be taken from the MapPanel. - */ - layerStore: null, - - plugins: [{ptype: "gx_treenodecomponent"},new GeoExt.plugins.TreeNodeAutoDisable()], - - loader: { - applyLoader: false, - uiProviders: {"custom_ui": Ext.extend( - GeoExt.tree.LayerNodeUI, - new GeoExt.tree.TreeNodeUIEventMixin() - )} - }, - - root: { - nodeType: "async", - children: [] - }, - - // ABP: make sure tree is populated - onAfterRender : function(self){ - // ABP: what if the store was already populated but the tree is empty? - if(! this.root.childNodes.length && this.layerStore.getRange() ){ - this.onLayerAdded(this.layerStore, this.layerStore.getRange(), 0); - } - }, - - initComponent: function(){ - GeoExt.ux.tree.LayerTreeBuilder.superclass.initComponent.call(this); - - //console.log(this.layerStore); - - if(!this.layerStore) { - this.layerStore = GeoExt.MapPanel.guess().layers; - //console.log( this.layerStore); - } - - this.layerStore.on({ - "add": this.onLayerAdded, - "remove": this.onLayerRemoved, - scope: this - }); - - this.layerStore.treeBuilder = this; - - // ABP: add event handler - this.on('afterrender', this.onAfterRender); - }, - - - onLayerRemoved: function(store, records, index){ - //todo: remove empty groups - }, - - onLayerAdded: function(store, records, index) { - // first, validate all 'group' options - Ext.each(records, function(record, index) { - var layer = record.getLayer(); - - //console.log(layer.map); - - if(layer.displayInLayerSwitcher === false) { - if(layer.group && layer.options && layer.options.group) { - delete layer.group; - delete layer.options.group; - } - return; - } else if(layer.options && layer.options.group === undefined) { - layer.options.group = (layer.isBaseLayer) - ? this.baseLayersText : this.otherLayersText; - } - }, this); - - // then, create the nodes according to the records - Ext.each(records, function(record, index) { - var layer = record.getLayer(); - - if(layer.displayInLayerSwitcher === false) { - return; - } - - var group = layer.options.group.split('/'); - var groupString = layer.options.group; - - // if layer has no GROUP - if (groupString === "") { - var layerNode = { - nodeType: "gx_layer", - layer: layer.name, - layerStore: this.layerStore, - isLeaf: true, - allowDrag: false, - checked: layer.visibility - }; - this.getRootNode().appendChild(layerNode); - } else { - this.addGroupNodes( - group, this.getRootNode(), groupString, record - ); - } - }, this); - }, - - addGroupNodes: function(groups, parentNode, groupString, layerRecord){ - var group = groups.shift(); - var childNode = this.getNodeByText(parentNode, group); - var layer = layerRecord.getLayer(); - - // if the childNode doesn't exist, we need to create and append it - if (!childNode) { - // if that's the last element of the groups array, we need a - // 'LayerContainer' - if (groups.length == 0) { - var createNode; - - // default 'baseLayers' and 'otherLayers' groups don't have - // checkboxes - if (group == this.baseLayersText || - group == this.otherLayersText) - { - createNode = function(attr) { - return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr); - } - } - // WMS and Vector layers can have legend nodes if according - // property is enabled - else if (layer instanceof OpenLayers.Layer.WMS - && this.wmsLegendNodes) - { - createNode = function(attr) { - var layerRecord = this.store.getByLayer(attr.layer); - var layer = layerRecord.getLayer(); - attr.component = { - xtype: "gx_wmslegend", - layerRecord: layerRecord, - showTitle: false, - useScaleParameter: false, - - hidden: !layer.visibility, - cls: "gx-layertreebuilder-legend" - }; - if (this.store.treeBuilder.checkableGroupNodes && - !layer.isBaseLayer) { - Ext.apply(attr, { - listeners: { - checkchange: this.store.treeBuilder.checkChange - } - }); - - } - return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr); - } - } else if (layer instanceof OpenLayers.Layer.Vector - && this.vectorLegendNodes) - { - createNode = function(attr) { - var layerRecord = this.store.getByLayer(attr.layer); - var layer = layerRecord.getLayer(); - attr.component = { - xtype: "gx_vectorlegend", - layerRecord: layerRecord, - showTitle: false, - hidden: !layer.visibility, - cls: "gx-layertreebuilder-legend" - }; - if (this.store.treeBuilder.checkableGroupNodes && - !layer.isBaseLayer) { - Ext.apply(attr, { - listeners: { - checkchange: this.store.treeBuilder.checkChange - } - }); - } - return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr); - } - } else { - createNode = function(attr) { - if (this.store.treeBuilder.checkableGroupNodes && - !layer.isBaseLayer) { - Ext.apply(attr, { - listeners: { - checkchange: this.store.treeBuilder.checkChange - } - }); - } - return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr); - } - } - - childNode = { - text: group, - layerStore: this.layerStore, - allowDrag: false, - nodeType: 'gx_layercontainer', - leaf: false, - listeners: { - insert: this.onLayerContainerNodeInsert, - append: this.onLayerContainerNodeAppend, - scope: this - }, - loader: { - filter: function(record) { - return record.getLayer().options.group == groupString; - }, - baseAttrs: { - uiProvider: "custom_ui" - }, - createNode: createNode - } - }; - } else { - // else, create and append a simple node... - childNode = { - text: group, - leaf: false, - listeners: { - append: this.onTreeNodeAppend, - scope: this - }, - allowDrag: false, - nodeType: "node" - }; - } - - // apply checkbox if option is set - if (this.checkableGroupNodes && group != this.baseLayersText && - group != this.otherLayersText && (!layer || !layer.isBaseLayer)) - { - Ext.apply(childNode, {checked: false}); - Ext.apply(childNode.listeners, { - 'checkchange' : function(node, checked) { - // If a parent node is unchecked, uncheck all - // the children - if (node.getUI().isChecked()) { - node.expand(); - node.eachChild(function(child){ - child.ui.toggleCheck(true); - }); - } - if (!node.getUI().isChecked()) - { - node.expand(); - node.eachChild(function(child) { - child.ui.toggleCheck(false); - }); - } - } - }); - } - - parentNode.appendChild(childNode); - - childNode = this.getNodeByText(parentNode, group); - } - - // if node contains any child or grand-child with a visible layer, - // expand it - if (layer && layer.visibility) { - childNode.expand(); - } - - if (groups.length != 0){ - this.addGroupNodes(groups, childNode, groupString, layerRecord); - } - }, - - getNodeByText: function(node, text){ - for(var i=0; i - */ -OpenLayers.Control.LoadingPanel = OpenLayers.Class(OpenLayers.Control, { - - /** - * Property: counter - * {Integer} A counter for the number of layers loading - */ - counter: 0, - - /** - * Property: maximized - * {Boolean} A boolean indicating whether or not the control is maximized - */ - maximized: false, - - /** - * Property: visible - * {Boolean} A boolean indicating whether or not the control is visible - */ - visible: true, - - /** - * Constructor: OpenLayers.Control.LoadingPanel - * Display a panel across the map that says 'loading'. - * - * Parameters: - * options - {Object} additional options. - */ - initialize: function(options) { - OpenLayers.Control.prototype.initialize.apply(this, [options]); - }, - - /** - * Function: setVisible - * Set the visibility of this control - * - * Parameters: - * visible - {Boolean} should the control be visible or not? - */ - setVisible: function(visible) { - this.visible = visible; - if (visible) { - OpenLayers.Element.show(this.div); - } else { - OpenLayers.Element.hide(this.div); - } - }, - - /** - * Function: getVisible - * Get the visibility of this control - * - * Returns: - * {Boolean} the current visibility of this control - */ - getVisible: function() { - return this.visible; - }, - - /** - * APIMethod: hide - * Hide the loading panel control - */ - hide: function() { - this.setVisible(false); - }, - - /** - * APIMethod: show - * Show the loading panel control - */ - show: function() { - this.setVisible(true); - }, - - /** - * APIMethod: toggle - * Toggle the visibility of the loading panel control - */ - toggle: function() { - this.setVisible(!this.getVisible()); - }, - - /** - * Method: addLayer - * Attach event handlers when new layer gets added to the map - * - * Parameters: - * evt - {Event} - */ - addLayer: function(evt) { - if (evt.layer) { - evt.layer.events.register('loadstart', this, this.increaseCounter); - evt.layer.events.register('loadend', this, this.decreaseCounter); - } - }, - - /** - * Method: setMap - * Set the map property for the control and all handlers. - * - * Parameters: - * map - {} The control's map. - */ - setMap: function(map) { - OpenLayers.Control.prototype.setMap.apply(this, arguments); - this.map.events.register('preaddlayer', this, this.addLayer); - for (var i = 0; i < this.map.layers.length; i++) { - var layer = this.map.layers[i]; - layer.events.register('loadstart', this, this.increaseCounter); - layer.events.register('loadend', this, this.decreaseCounter); - } - }, - - /** - * Method: increaseCounter - * Increase the counter and show control - */ - increaseCounter: function() { - this.counter++; - if (this.counter > 0) { - if (!this.maximized && this.visible) { - this.maximizeControl(); - } - } - }, - - /** - * Method: decreaseCounter - * Decrease the counter and hide the control if finished - */ - decreaseCounter: function() { - if (this.counter > 0) { - this.counter--; - } - if (this.counter == 0) { - if (this.maximized && this.visible) { - this.minimizeControl(); - } - } - }, - - /** - * Method: draw - * Create and return the element to be splashed over the map. - */ - draw: function () { - OpenLayers.Control.prototype.draw.apply(this, arguments); - return this.div; - }, - - /** - * Method: minimizeControl - * Set the display properties of the control to make it disappear. - * - * Parameters: - * evt - {Event} - */ - minimizeControl: function(evt) { - this.div.style.display = "none"; - this.maximized = false; - - if (evt != null) { - OpenLayers.Event.stop(evt); - } - }, - - /** - * Method: maximizeControl - * Make the control visible. - * - * Parameters: - * evt - {Event} - */ - maximizeControl: function(evt) { - this.div.style.display = "block"; - this.maximized = true; - - if (evt != null) { - OpenLayers.Event.stop(evt); - } - }, - - /** - * Method: destroy - * Destroy control. - */ - destroy: function() { - if (this.map) { - this.map.events.unregister('preaddlayer', this, this.addLayer); - if (this.map.layers) { - for (var i = 0; i < this.map.layers.length; i++) { - var layer = this.map.layers[i]; - layer.events.unregister('loadstart', this, - this.increaseCounter); - layer.events.unregister('loadend', this, - this.decreaseCounter); - } - } - } - OpenLayers.Control.prototype.destroy.apply(this, arguments); - }, - - CLASS_NAME: "OpenLayers.Control.LoadingPanel" - -}); diff --git a/ext-resources/jslib/TreeNodeAutoDisable.js b/ext-resources/jslib/TreeNodeAutoDisable.js deleted file mode 100755 index b27e655..0000000 --- a/ext-resources/jslib/TreeNodeAutoDisable.js +++ /dev/null @@ -1,123 +0,0 @@ -/** - * Copyright (c) 2008-2009 The Open Source Geospatial Foundation - * - * Published under the BSD license. - * See http://svn.geoext.org/core/trunk/geoext/license.txt for the full text - * of the license. - */ - -Ext.namespace("GeoExt.plugins"); - -/** api: (define) - * module = GeoExt.plugins - * class = TreeNodeAutoDisable - */ - -/** api: constructor - * A plugin to create tree nodes that will be automatically enabled / - * disabled as its associated layer comes in or out of range. Can be - * plugged into any ``Ext.tree.TreePanel`` and will be applied to all - * nodes that have a ``layer`` atribute with an ``OpenLayers.Layer`` - * (or any subclasses) instance assigned to it. - * - * If a node is configured with a ``autoDisable:false`` attribute, it will never - * be disabled in response to the layer. Layers with ``isBaseLayer:true`` or - * ``alwaysInRange:true`` will never be out of range and the tree node will - * also never be auto-disabled. - */ - -/** api: example - * Sample code to create a tree with auto-disabled nodes: - * - * .. code-block:: javascript - * - * var tree = new Ext.tree.TreePanel({ - * plugins: [new GeoExt.plugins.TreeNodeAutoDisable()], - * rootVisible:false, - * root: { - * nodeType: "node", - * children:[ - * //these layer tree nodes will never auto-disable - * { - * nodeType:"gx_baselayercontainer" - * }, - * //these layer tree nodes will auto-disable based on layer's inRange value - * { - * nodeType:"gx_layer", - * text:"WMS layer with sublayers" - * layer:wms_layer - * loader:{param:"LAYER"} - * }, - * //this layer tree node will not be auto-disabled - * { - * nodeType:"gx_layer", - * autoDisable:false, - * layer:wms_layer - * } - * ] - * } - * }); - * - */ - -GeoExt.plugins.TreeNodeAutoDisable = Ext.extend(Ext.util.Observable, { - - /** private: method[constructor] - * :param config: ``Object`` - */ - constructor: function(config) { - Ext.apply(this.initialConfig, Ext.apply({}, config)); - Ext.apply(this, config); - - GeoExt.plugins.TreeNodeAutoDisable.superclass.constructor.apply(this, arguments); - }, - /** private: method[init] - * :param tree: ``Ext.tree.TreePanel`` The tree. - */ - init: function(tree) { - - tree.on({ - "insert": this.onAddNode, - "append": this.onAddNode, - "rendernode": this.onRenderNode, - scope: this - }); - }, - /** private: method[onAddNode] - * :param tree: ``Ext.tree.TreePanel`` - * :param pnode: ``Ext.tree.TreeNode`` - * :param node: ``Ext.tree.TreeNode`` - * :param ref: ``Ext.tree.TreeNode`` or ``integer`` - */ - onAddNode: function(tree,pnode,node,ref) { - var uiClass = node.attributes.uiProvider || node.defaultUI || Ext.tree.TreeNodeUI; - node.attributes.uiProvider = Ext.extend(uiClass,new GeoExt.tree.TreeNodeUIEventMixin()); - node.ui = new node.attributes.uiProvider(node); - }, - onRenderNode: function(node){ - var attr = node.attributes; - var layer = node.layer; - if (layer && layer instanceof OpenLayers.Layer) { - //don't even attach a moveend listener for nodes which won't auto disable - if (!(attr.autoDisable === false || layer.isBaseLayer || layer.alwaysInRange)) { - //attach event listener - layer.map.events.register("moveend", node, function(){ - var bleck='blah'; - this.layer.inRange ? this.enable() : this.disable(); - }); - //start nodes enabled/disabled appropiately - (layer.inRange || layer.calculateInRange()) ? node.enable() : node.disable(); - } - } - }, - /** private: method[destroy] - */ - destroy: function() { - tree.un("insert", this.onAddNode, this); - tree.un("append", this.onAddNode, this); - tree.un("rendernode",this.onRenderNode, this); - } -}); - -/** api: ptype = gx_treenodeautodisable */ -Ext.preg && Ext.preg("gx_treenodeautodisable", GeoExt.plugins.TreeNodeAutoDisable); \ No newline at end of file diff --git a/ext-resources/jslib/TriStateTree.js b/ext-resources/jslib/TriStateTree.js deleted file mode 100755 index e5b8c80..0000000 --- a/ext-resources/jslib/TriStateTree.js +++ /dev/null @@ -1,329 +0,0 @@ -/* --------------- TriStateTree Node UI -------------------- */ - -Ext.tree.TriStateNodeUI = Ext.extend(Ext.tree.TreeNodeUI, { - onCheckChange :function(){ - Ext.tree.TriStateNodeUI.superclass.onCheckChange.apply(this, arguments); - var p = this.node; - while((p = p.parentNode) && p.getUI().updateParent && p.getUI().checkbox && !p.getUI().isUpdating) { - p.getUI().updateParent(); - } - }, - toggleCheck :function(){ - var checked = Ext.tree.TriStateNodeUI.superclass.toggleCheck.apply(this, arguments); - this.updateChild(checked); - return checked; - }, - renderElements :function(n, a, targetNode, bulkRender){ - Ext.tree.TriStateNodeUI.superclass.renderElements.apply(this, arguments); - this.updateChild(this.node.attributes.checked); - }, - updateParent :function(){ - var checked; - this.node.eachChild(function(n){ - if(checked === undefined){ - checked = n.attributes.checked; - }else if (checked !== n.attributes.checked) { - checked = this.grayedValue; - return false; - } - }, this); - this.toggleCheck(checked); - }, - updateChild:function(checked){ - if(typeof checked == 'boolean'){ - this.isUpdating = true; - this.node.eachChild(function(n){ - n.getUI().toggleCheck(checked); - }, this); - delete this.isUpdating; - } - } -}); -Ext.tree.AsynchTriStateNodeUI = Ext.extend(Ext.tree.TriStateNodeUI, { - updateChild:function(checked){ - if(this.checkbox){ - if(checked === true){ - Ext.fly(this.ctNode).replaceClass('x-tree-branch-unchecked', 'x-tree-branch-checked'); - } else if(checked === false){ - Ext.fly(this.ctNode).replaceClass('x-tree-branch-checked', 'x-tree-branch-unchecked'); - } else { - Ext.fly(this.ctNode).removeClass(['x-tree-branch-checked', 'x-tree-branch-unchecked']); - } - } - }, - getChecked: function() { - var checked = this.node.parentNode ? this.node.parentNode.ui.getChecked() : this.grayedValue; - return typeof checked == 'boolean' ? checked : Ext.tree.TriStateNodeUI.superclass.getChecked.call(this); - } -}); - - -/* --------------- TreeCheckox -------------------- */ - -Ext.override(Ext.tree.TreeNodeUI, { - grayedValue:null, - onDisableChange :function(node, state){ - this.disabled = state; - this[state ? 'addClass' :'removeClass']("x-tree-node-disabled"); - }, - initEvents :function(){ - this.node.on("move", this.onMove, this); - if(this.node.disabled){ - this.disabled = true; - this.addClass("x-tree-node-disabled"); - } - if(this.node.hidden){ - this.hide(); - } - var ot = this.node.getOwnerTree(); - var dd = ot.enableDD || ot.enableDrag || ot.enableDrop; - if(dd && (!this.node.isRoot || ot.rootVisible)){ - Ext.dd.Registry.register(this.elNode, { - node:this.node, - handles:this.getDDHandles(), - isHandle:false - }); - } - }, - onDblClick :function(e){ - e.preventDefault(); - if(this.disabled){ - return; - } - if(!this.animating && this.node.isExpandable() && !e.getTarget('.x-tree-checkbox', 1)){ - this.node.toggle(); - } - this.fireEvent("dblclick", this.node, e); - }, - onCheckChange :function(){ - var checked = this.isChecked(); - if(checked !== this.node.attributes.checked){ - this.node.attributes.checked = checked; - this.fireEvent('checkchange', this.node, checked); - } - }, - toggleCheck :function(checked){ - var cb = this.checkbox; - if(!cb){ - return false; - } - if(checked === undefined){ - checked = this.isChecked() === false; - } - if(checked === true){ - Ext.fly(cb).replaceClass('x-tree-node-grayed', 'x-tree-node-checked'); - } else if(checked !== false){ - Ext.fly(cb).replaceClass('x-tree-node-checked', 'x-tree-node-grayed'); - } else { - Ext.fly(cb).removeClass(['x-tree-node-checked', 'x-tree-node-grayed']); - } - this.onCheckChange(); - return checked; - }, - onCheckboxClick:function() { - if(!this.disabled){ - this.toggleCheck(); - } - // Modified code, AN - var isChecked = this.node.attributes.checked == null ? false : !this.node.attributes.checked; - var isParent = !this.node.isLeaf(); - - if(isParent) { - if(isChecked && !this.node.isExpanded()) { - this.node.expand(true, false, function(node) { - node.ownerTree.fireEvent('leafschange', this); - }); - this.node.collapse(true,false); - } - else { - var i = 0; - this.node.cascade(function(node) { - if(i == this.node.childNodes.length) this.node.ownerTree.fireEvent('leafschange'); - i++; - }, this); - } - } - else { - isChecked ? this.node.ownerTree.checkedLeafs.push(this.node) : this.node.ownerTree.checkedLeafs.remove(this.node); - this.node.ownerTree.fireEvent('leafschange'); - } - // End of Modified code, AN - }, - onCheckboxOver:function() { - this.addClass('x-tree-checkbox-over'); - }, - onCheckboxOut:function() { - this.removeClass('x-tree-checkbox-over'); - }, - onCheckboxDown:function() { - this.addClass('x-tree-checkbox-down'); - }, - onCheckboxUp:function() { - this.removeClass('x-tree-checkbox-down'); - }, - renderElements :function(n, a, targetNode, bulkRender){ - this.indentMarkup = n.parentNode ? n.parentNode.ui.getChildIndent() :''; - var cb = a.checked !== undefined; - var href = a.href ? a.href :Ext.isGecko ? "" :"#"; - var buf = ['
  • ', - '',this.indentMarkup,"", - '', - '', - cb ? ('') :'', - '',n.text,"
    ", - '', - "
  • "].join(''); - var nel; - if(bulkRender !== true && n.nextSibling && (nel = n.nextSibling.ui.getEl())){ - this.wrap = Ext.DomHelper.insertHtml("beforeBegin", nel, buf); - }else{ - this.wrap = Ext.DomHelper.insertHtml("beforeEnd", targetNode, buf); - } - this.elNode = this.wrap.childNodes[0]; - this.ctNode = this.wrap.childNodes[1]; - var cs = this.elNode.childNodes; - this.indentNode = cs[0]; - this.ecNode = cs[1]; - this.iconNode = cs[2]; - var index = 3; - if(cb){ - this.checkbox = cs[3]; - index++; - } - this.anchor = cs[index]; - this.textNode = cs[index].firstChild; - }, - isChecked :function(){ - return this.checkbox - ? (Ext.fly(this.checkbox).hasClass('x-tree-node-checked') - ? true - :Ext.fly(this.checkbox).hasClass('x-tree-node-grayed') - ? this.grayedValue - :false) - :false; - }, - getChecked: function() { - return this.node.attributes.checked; - } -}); -Ext.override(Ext.tree.TreeEventModel, { - initEvents :function(){ - var el = this.tree.getTreeEl(); - el.on('click', this.delegateClick, this); - if(this.tree.trackMouseOver !== false){ - el.on('mouseover', this.delegateOver, this); - el.on('mouseout', this.delegateOut, this); - } - el.on('mousedown', this.delegateDown, this); - el.on('mouseup', this.delegateUp, this); - el.on('dblclick', this.delegateDblClick, this); - el.on('contextmenu', this.delegateContextMenu, this); - }, - delegateOver :function(e, t){ - if(!this.beforeEvent(e)){ - return; - } - if(this.lastEcOver){ - this.onIconOut(e, this.lastEcOver); - delete this.lastEcOver; - } - if(this.lastCbOver){ - this.onCheckboxOut(e, this.lastCbOver); - delete this.lastCbOver; - } - if(e.getTarget('.x-tree-ec-icon', 1)){ - this.lastEcOver = this.getNode(e); - this.onIconOver(e, this.lastEcOver); - } - else if(e.getTarget('.x-tree-checkbox', 1)){ - this.lastCbOver = this.getNode(e); - this.onCheckboxOver(e, this.lastCbOver); - } - if(this.getNodeTarget(e)){ - this.onNodeOver(e, this.getNode(e)); - } - }, - delegateOut :function(e, t){ - if(!this.beforeEvent(e)){ - return; - } - var n; - if(e.getTarget('.x-tree-ec-icon', 1)){ - n = this.getNode(e); - this.onIconOut(e, n); - if(n == this.lastEcOver){ - delete this.lastEcOver; - } - } - else if(e.getTarget('.x-tree-checkbox', 1)){ - n = this.getNode(e); - this.onCheckboxOut(e, n); - if(n == this.lastCbOver){ - delete this.lastCbOver; - } - } - t = this.getNodeTarget(e); - if(t && !e.within(t, true)){ - this.onNodeOut(e, this.getNode(e)); - } - }, - delegateDown :function(e, t){ - if(!this.beforeEvent(e)){ - return; - } - if(e.getTarget('.x-tree-checkbox', 1)){ - this.onCheckboxDown(e, this.getNode(e)); - } - }, - delegateUp :function(e, t){ - if(!this.beforeEvent(e)){ - return; - } - if(e.getTarget('.x-tree-checkbox', 1)){ - this.onCheckboxUp(e, this.getNode(e)); - } - }, - delegateClick :function(e, t){ - if(!this.beforeEvent(e)){ - return; - } - if(e.getTarget('.x-tree-checkbox', 1)){ - this.onCheckboxClick(e, this.getNode(e)); - } - else if(e.getTarget('.x-tree-ec-icon', 1)){ - this.onIconClick(e, this.getNode(e)); - } - else if(this.getNodeTarget(e)){ - this.onNodeClick(e, this.getNode(e)); - } - }, - onCheckboxClick :function(e, node){ - node.ui.onCheckboxClick(); - }, - onCheckboxOver :function(e, node){ - node.ui.onCheckboxOver(); - }, - onCheckboxOut :function(e, node){ - node.ui.onCheckboxOut(); - }, - onCheckboxDown :function(e, node){ - node.ui.onCheckboxDown(); - }, - onCheckboxUp :function(e, node){ - node.ui.onCheckboxUp(); - } -}); -Ext.override(Ext.tree.TreePanel, { - getChecked : function(a, startNode){ - startNode = startNode || this.root; - var r = []; - var f = function(){ - if(this.ui.getChecked()){ - r.push(!a ? this : (a == 'id' ? this.id : this.attributes[a])); - } - }; - startNode.cascade(f); - return r; - } -}); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/adapter/ext/ext-base-debug.js b/ext-resources/jslib/ext-3.4.0/adapter/ext/ext-base-debug.js deleted file mode 100755 index 2950952..0000000 --- a/ext-resources/jslib/ext-3.4.0/adapter/ext/ext-base-debug.js +++ /dev/null @@ -1,2909 +0,0 @@ -/*! - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -// for old browsers -window.undefined = window.undefined; - -/** - * @class Ext - * Ext core utilities and functions. - * @singleton - */ - -Ext = { - /** - * The version of the framework - * @type String - */ - version : '3.4.0', - versionDetail : { - major : 3, - minor : 4, - patch : 0 - } -}; - -/** - * Copies all the properties of config to obj. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @param {Object} defaults A different object that will also be applied for default values - * @return {Object} returns obj - * @member Ext apply - */ -Ext.apply = function(o, c, defaults){ - // no "this" reference for friendly out of scope calls - if(defaults){ - Ext.apply(o, defaults); - } - if(o && c && typeof c == 'object'){ - for(var p in c){ - o[p] = c[p]; - } - } - return o; -}; - -(function(){ - var idSeed = 0, - toString = Object.prototype.toString, - ua = navigator.userAgent.toLowerCase(), - check = function(r){ - return r.test(ua); - }, - DOC = document, - docMode = DOC.documentMode, - isStrict = DOC.compatMode == "CSS1Compat", - isOpera = check(/opera/), - isChrome = check(/\bchrome\b/), - isWebKit = check(/webkit/), - isSafari = !isChrome && check(/safari/), - isSafari2 = isSafari && check(/applewebkit\/4/), // unique to Safari 2 - isSafari3 = isSafari && check(/version\/3/), - isSafari4 = isSafari && check(/version\/4/), - isIE = !isOpera && check(/msie/), - isIE7 = isIE && (check(/msie 7/) || docMode == 7), - isIE8 = isIE && (check(/msie 8/) && docMode != 7), - isIE9 = isIE && check(/msie 9/), - isIE6 = isIE && !isIE7 && !isIE8 && !isIE9, - isGecko = !isWebKit && check(/gecko/), - isGecko2 = isGecko && check(/rv:1\.8/), - isGecko3 = isGecko && check(/rv:1\.9/), - isBorderBox = isIE && !isStrict, - isWindows = check(/windows|win32/), - isMac = check(/macintosh|mac os x/), - isAir = check(/adobeair/), - isLinux = check(/linux/), - isSecure = /^https/i.test(window.location.protocol); - - // remove css image flicker - if(isIE6){ - try{ - DOC.execCommand("BackgroundImageCache", false, true); - }catch(e){} - } - - Ext.apply(Ext, { - /** - * URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent - * the IE insecure content warning ('about:blank', except for IE in secure mode, which is 'javascript:""'). - * @type String - */ - SSL_SECURE_URL : isSecure && isIE ? 'javascript:""' : 'about:blank', - /** - * True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode - * @type Boolean - */ - isStrict : isStrict, - /** - * True if the page is running over SSL - * @type Boolean - */ - isSecure : isSecure, - /** - * True when the document is fully initialized and ready for action - * @type Boolean - */ - isReady : false, - - /** - * True if the {@link Ext.Fx} Class is available - * @type Boolean - * @property enableFx - */ - - /** - * HIGHLY EXPERIMENTAL - * True to force css based border-box model override and turning off javascript based adjustments. This is a - * runtime configuration and must be set before onReady. - * @type Boolean - */ - enableForcedBoxModel : false, - - /** - * True to automatically uncache orphaned Ext.Elements periodically (defaults to true) - * @type Boolean - */ - enableGarbageCollector : true, - - /** - * True to automatically purge event listeners during garbageCollection (defaults to false). - * @type Boolean - */ - enableListenerCollection : false, - - /** - * EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed. - * Currently not optimized for performance. - * @type Boolean - */ - enableNestedListenerRemoval : false, - - /** - * Indicates whether to use native browser parsing for JSON methods. - * This option is ignored if the browser does not support native JSON methods. - * Note: Native JSON methods will not work with objects that have functions. - * Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) - * @type Boolean - */ - USE_NATIVE_JSON : false, - - /** - * Copies all the properties of config to obj if they don't already exist. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @return {Object} returns obj - */ - applyIf : function(o, c){ - if(o){ - for(var p in c){ - if(!Ext.isDefined(o[p])){ - o[p] = c[p]; - } - } - } - return o; - }, - - /** - * Generates unique ids. If the element already has an id, it is unchanged - * @param {Mixed} el (optional) The element to generate an id for - * @param {String} prefix (optional) Id prefix (defaults "ext-gen") - * @return {String} The generated Id. - */ - id : function(el, prefix){ - el = Ext.getDom(el, true) || {}; - if (!el.id) { - el.id = (prefix || "ext-gen") + (++idSeed); - } - return el.id; - }, - - /** - *

    Extends one class to create a subclass and optionally overrides members with the passed literal. This method - * also adds the function "override()" to the subclass that can be used to override members of the class.

    - * For example, to create a subclass of Ext GridPanel: - *
    
    -MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
    -    constructor: function(config) {
    -
    -//      Create configuration for this Grid.
    -        var store = new Ext.data.Store({...});
    -        var colModel = new Ext.grid.ColumnModel({...});
    -
    -//      Create a new config object containing our computed properties
    -//      *plus* whatever was in the config parameter.
    -        config = Ext.apply({
    -            store: store,
    -            colModel: colModel
    -        }, config);
    -
    -        MyGridPanel.superclass.constructor.call(this, config);
    -
    -//      Your postprocessing here
    -    },
    -
    -    yourMethod: function() {
    -        // etc.
    -    }
    -});
    -
    - * - *

    This function also supports a 3-argument call in which the subclass's constructor is - * passed as an argument. In this form, the parameters are as follows:

    - *
      - *
    • subclass : Function
      The subclass constructor.
    • - *
    • superclass : Function
      The constructor of class being extended
    • - *
    • overrides : Object
      A literal with members which are copied into the subclass's - * prototype, and are therefore shared among all instances of the new class.
    • - *
    - * - * @param {Function} superclass The constructor of class being extended. - * @param {Object} overrides

    A literal with members which are copied into the subclass's - * prototype, and are therefore shared between all instances of the new class.

    - *

    This may contain a special member named constructor. This is used - * to define the constructor of the new class, and is returned. If this property is - * not specified, a constructor is generated and returned which just calls the - * superclass's constructor passing on its parameters.

    - *

    It is essential that you call the superclass constructor in any provided constructor. See example code.

    - * @return {Function} The subclass constructor from the overrides parameter, or a generated one if not provided. - */ - extend : function(){ - // inline overrides - var io = function(o){ - for(var m in o){ - this[m] = o[m]; - } - }; - var oc = Object.prototype.constructor; - - return function(sb, sp, overrides){ - if(typeof sp == 'object'){ - overrides = sp; - sp = sb; - sb = overrides.constructor != oc ? overrides.constructor : function(){sp.apply(this, arguments);}; - } - var F = function(){}, - sbp, - spp = sp.prototype; - - F.prototype = spp; - sbp = sb.prototype = new F(); - sbp.constructor=sb; - sb.superclass=spp; - if(spp.constructor == oc){ - spp.constructor=sp; - } - sb.override = function(o){ - Ext.override(sb, o); - }; - sbp.superclass = sbp.supr = (function(){ - return spp; - }); - sbp.override = io; - Ext.override(sb, overrides); - sb.extend = function(o){return Ext.extend(sb, o);}; - return sb; - }; - }(), - - /** - * Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name. - * Usage:
    
    -Ext.override(MyClass, {
    -    newMethod1: function(){
    -        // etc.
    -    },
    -    newMethod2: function(foo){
    -        // etc.
    -    }
    -});
    -
    - * @param {Object} origclass The class to override - * @param {Object} overrides The list of functions to add to origClass. This should be specified as an object literal - * containing one or more methods. - * @method override - */ - override : function(origclass, overrides){ - if(overrides){ - var p = origclass.prototype; - Ext.apply(p, overrides); - if(Ext.isIE && overrides.hasOwnProperty('toString')){ - p.toString = overrides.toString; - } - } - }, - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method namespace - */ - namespace : function(){ - var len1 = arguments.length, - i = 0, - len2, - j, - main, - ns, - sub, - current; - - for(; i < len1; ++i) { - main = arguments[i]; - ns = arguments[i].split('.'); - current = window[ns[0]]; - if (current === undefined) { - current = window[ns[0]] = {}; - } - sub = ns.slice(1); - len2 = sub.length; - for(j = 0; j < len2; ++j) { - current = current[sub[j]] = current[sub[j]] || {}; - } - } - return current; - }, - - /** - * Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value. - * @param {Object} o - * @param {String} pre (optional) A prefix to add to the url encoded string - * @return {String} - */ - urlEncode : function(o, pre){ - var empty, - buf = [], - e = encodeURIComponent; - - Ext.iterate(o, function(key, item){ - empty = Ext.isEmpty(item); - Ext.each(empty ? key : item, function(val){ - buf.push('&', e(key), '=', (!Ext.isEmpty(val) && (val != key || !empty)) ? (Ext.isDate(val) ? Ext.encode(val).replace(/"/g, '') : e(val)) : ''); - }); - }); - if(!pre){ - buf.shift(); - pre = ''; - } - return pre + buf.join(''); - }, - - /** - * Takes an encoded URL and and converts it to an object. Example:
    
    -Ext.urlDecode("foo=1&bar=2"); // returns {foo: "1", bar: "2"}
    -Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); // returns {foo: "1", bar: ["2", "3", "4"]}
    -
    - * @param {String} string - * @param {Boolean} overwrite (optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false). - * @return {Object} A literal with members - */ - urlDecode : function(string, overwrite){ - if(Ext.isEmpty(string)){ - return {}; - } - var obj = {}, - pairs = string.split('&'), - d = decodeURIComponent, - name, - value; - Ext.each(pairs, function(pair) { - pair = pair.split('='); - name = d(pair[0]); - value = d(pair[1]); - obj[name] = overwrite || !obj[name] ? value : - [].concat(obj[name]).concat(value); - }); - return obj; - }, - - /** - * Appends content to the query string of a URL, handling logic for whether to place - * a question mark or ampersand. - * @param {String} url The URL to append to. - * @param {String} s The content to append to the URL. - * @return (String) The resulting URL - */ - urlAppend : function(url, s){ - if(!Ext.isEmpty(s)){ - return url + (url.indexOf('?') === -1 ? '?' : '&') + s; - } - return url; - }, - - /** - * Converts any iterable (numeric indices and a length property) into a true array - * Don't use this on strings. IE doesn't support "abc"[0] which this implementation depends on. - * For strings, use this instead: "abc".match(/./g) => [a,b,c]; - * @param {Iterable} the iterable object to be turned into a true Array. - * @return (Array) array - */ - toArray : function(){ - return isIE ? - function(a, i, j, res){ - res = []; - for(var x = 0, len = a.length; x < len; x++) { - res.push(a[x]); - } - return res.slice(i || 0, j || res.length); - } : - function(a, i, j){ - return Array.prototype.slice.call(a, i || 0, j || a.length); - }; - }(), - - isIterable : function(v){ - //check for array or arguments - if(Ext.isArray(v) || v.callee){ - return true; - } - //check for node list type - if(/NodeList|HTMLCollection/.test(toString.call(v))){ - return true; - } - //NodeList has an item and length property - //IXMLDOMNodeList has nextNode method, needs to be checked first. - return ((typeof v.nextNode != 'undefined' || v.item) && Ext.isNumber(v.length)); - }, - - /** - * Iterates an array calling the supplied function. - * @param {Array/NodeList/Mixed} array The array to be iterated. If this - * argument is not really an array, the supplied function is called once. - * @param {Function} fn The function to be called with each item. If the - * supplied function returns false, iteration stops and this method returns - * the current index. This function is called with - * the following arguments: - *
      - *
    • item : Mixed - *
      The item at the current index - * in the passed array
    • - *
    • index : Number - *
      The current index within the array
    • - *
    • allItems : Array - *
      The array passed as the first - * argument to Ext.each.
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. - * Defaults to the item at the current index - * within the passed array. - * @return See description for the fn parameter. - */ - each : function(array, fn, scope){ - if(Ext.isEmpty(array, true)){ - return; - } - if(!Ext.isIterable(array) || Ext.isPrimitive(array)){ - array = [array]; - } - for(var i = 0, len = array.length; i < len; i++){ - if(fn.call(scope || array[i], array[i], i, array) === false){ - return i; - }; - } - }, - - /** - * Iterates either the elements in an array, or each of the properties in an object. - * Note: If you are only iterating arrays, it is better to call {@link #each}. - * @param {Object/Array} object The object or array to be iterated - * @param {Function} fn The function to be called for each iteration. - * The iteration will stop if the supplied function returns false, or - * all array elements / object properties have been covered. The signature - * varies depending on the type of object being interated: - *
      - *
    • Arrays : (Object item, Number index, Array allItems) - *
      - * When iterating an array, the supplied function is called with each item.
    • - *
    • Objects : (String key, Object value, Object) - *
      - * When iterating an object, the supplied function is called with each key-value pair in - * the object, and the iterated object
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. Defaults to - * the object being iterated. - */ - iterate : function(obj, fn, scope){ - if(Ext.isEmpty(obj)){ - return; - } - if(Ext.isIterable(obj)){ - Ext.each(obj, fn, scope); - return; - }else if(typeof obj == 'object'){ - for(var prop in obj){ - if(obj.hasOwnProperty(prop)){ - if(fn.call(scope || obj, prop, obj[prop], obj) === false){ - return; - }; - } - } - } - }, - - /** - * Return the dom node for the passed String (id), dom node, or Ext.Element. - * Optional 'strict' flag is needed for IE since it can return 'name' and - * 'id' elements by using getElementById. - * Here are some examples: - *
    
    -// gets dom node based on id
    -var elDom = Ext.getDom('elId');
    -// gets dom node based on the dom node
    -var elDom1 = Ext.getDom(elDom);
    -
    -// If we don't know if we are working with an
    -// Ext.Element or a dom node use Ext.getDom
    -function(el){
    -    var dom = Ext.getDom(el);
    -    // do something with the dom node
    -}
    -         * 
    - * Note: the dom node to be found actually needs to exist (be rendered, etc) - * when this method is called to be successful. - * @param {Mixed} el - * @return HTMLElement - */ - getDom : function(el, strict){ - if(!el || !DOC){ - return null; - } - if (el.dom){ - return el.dom; - } else { - if (typeof el == 'string') { - var e = DOC.getElementById(el); - // IE returns elements with the 'name' and 'id' attribute. - // we do a strict check to return the element with only the id attribute - if (e && isIE && strict) { - if (el == e.getAttribute('id')) { - return e; - } else { - return null; - } - } - return e; - } else { - return el; - } - } - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getBody : function(){ - return Ext.get(DOC.body || DOC.documentElement); - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getHead : function() { - var head; - - return function() { - if (head == undefined) { - head = Ext.get(DOC.getElementsByTagName("head")[0]); - } - - return head; - }; - }(), - - /** - * Removes a DOM node from the document. - */ - /** - *

    Removes this element from the document, removes all DOM event listeners, and deletes the cache reference. - * All DOM event listeners are removed from this element. If {@link Ext#enableNestedListenerRemoval} is - * true, then DOM event listeners are also removed from all child nodes. The body node - * will be ignored if passed in.

    - * @param {HTMLElement} node The node to remove - */ - removeNode : isIE && !isIE8 ? function(){ - var d; - return function(n){ - if(n && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - d = d || DOC.createElement('div'); - d.appendChild(n); - d.innerHTML = ''; - delete Ext.elCache[n.id]; - } - }; - }() : function(n){ - if(n && n.parentNode && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - n.parentNode.removeChild(n); - delete Ext.elCache[n.id]; - } - }, - - /** - *

    Returns true if the passed value is empty.

    - *

    The value is deemed to be empty if it is

      - *
    • null
    • - *
    • undefined
    • - *
    • an empty array
    • - *
    • a zero length string (Unless the allowBlank parameter is true)
    • - *
    - * @param {Mixed} value The value to test - * @param {Boolean} allowBlank (optional) true to allow empty strings (defaults to false) - * @return {Boolean} - */ - isEmpty : function(v, allowBlank){ - return v === null || v === undefined || ((Ext.isArray(v) && !v.length)) || (!allowBlank ? v === '' : false); - }, - - /** - * Returns true if the passed value is a JavaScript array, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isArray : function(v){ - return toString.apply(v) === '[object Array]'; - }, - - /** - * Returns true if the passed object is a JavaScript date object, otherwise false. - * @param {Object} object The object to test - * @return {Boolean} - */ - isDate : function(v){ - return toString.apply(v) === '[object Date]'; - }, - - /** - * Returns true if the passed value is a JavaScript Object, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isObject : function(v){ - return !!v && Object.prototype.toString.call(v) === '[object Object]'; - }, - - /** - * Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isPrimitive : function(v){ - return Ext.isString(v) || Ext.isNumber(v) || Ext.isBoolean(v); - }, - - /** - * Returns true if the passed value is a JavaScript Function, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isFunction : function(v){ - return toString.apply(v) === '[object Function]'; - }, - - /** - * Returns true if the passed value is a number. Returns false for non-finite numbers. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isNumber : function(v){ - return typeof v === 'number' && isFinite(v); - }, - - /** - * Returns true if the passed value is a string. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isString : function(v){ - return typeof v === 'string'; - }, - - /** - * Returns true if the passed value is a boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isBoolean : function(v){ - return typeof v === 'boolean'; - }, - - /** - * Returns true if the passed value is an HTMLElement - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isElement : function(v) { - return v ? !!v.tagName : false; - }, - - /** - * Returns true if the passed value is not undefined. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isDefined : function(v){ - return typeof v !== 'undefined'; - }, - - /** - * True if the detected browser is Opera. - * @type Boolean - */ - isOpera : isOpera, - /** - * True if the detected browser uses WebKit. - * @type Boolean - */ - isWebKit : isWebKit, - /** - * True if the detected browser is Chrome. - * @type Boolean - */ - isChrome : isChrome, - /** - * True if the detected browser is Safari. - * @type Boolean - */ - isSafari : isSafari, - /** - * True if the detected browser is Safari 3.x. - * @type Boolean - */ - isSafari3 : isSafari3, - /** - * True if the detected browser is Safari 4.x. - * @type Boolean - */ - isSafari4 : isSafari4, - /** - * True if the detected browser is Safari 2.x. - * @type Boolean - */ - isSafari2 : isSafari2, - /** - * True if the detected browser is Internet Explorer. - * @type Boolean - */ - isIE : isIE, - /** - * True if the detected browser is Internet Explorer 6.x. - * @type Boolean - */ - isIE6 : isIE6, - /** - * True if the detected browser is Internet Explorer 7.x. - * @type Boolean - */ - isIE7 : isIE7, - /** - * True if the detected browser is Internet Explorer 8.x. - * @type Boolean - */ - isIE8 : isIE8, - /** - * True if the detected browser is Internet Explorer 9.x. - * @type Boolean - */ - isIE9 : isIE9, - /** - * True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox). - * @type Boolean - */ - isGecko : isGecko, - /** - * True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x). - * @type Boolean - */ - isGecko2 : isGecko2, - /** - * True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x). - * @type Boolean - */ - isGecko3 : isGecko3, - /** - * True if the detected browser is Internet Explorer running in non-strict mode. - * @type Boolean - */ - isBorderBox : isBorderBox, - /** - * True if the detected platform is Linux. - * @type Boolean - */ - isLinux : isLinux, - /** - * True if the detected platform is Windows. - * @type Boolean - */ - isWindows : isWindows, - /** - * True if the detected platform is Mac OS. - * @type Boolean - */ - isMac : isMac, - /** - * True if the detected platform is Adobe Air. - * @type Boolean - */ - isAir : isAir - }); - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method ns - */ - Ext.ns = Ext.namespace; -})(); - -Ext.ns('Ext.util', 'Ext.lib', 'Ext.data', 'Ext.supports'); - -Ext.elCache = {}; - -/** - * @class Function - * These functions are available on every Function object (any JavaScript function). - */ -Ext.apply(Function.prototype, { - /** - * Creates an interceptor function. The passed function is called before the original one. If it returns false, - * the original one is not called. The resulting function returns the results of the original function. - * The passed function is called with the parameters of the original function. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -sayHi('Fred'); // alerts "Hi, Fred"
    -
    -// create a new function that validates input without
    -// directly modifying the original function:
    -var sayHiToFriend = sayHi.createInterceptor(function(name){
    -    return name == 'Brian';
    -});
    -
    -sayHiToFriend('Fred');  // no alert
    -sayHiToFriend('Brian'); // alerts "Hi, Brian"
    -
    - * @param {Function} fcn The function to call before the original - * @param {Object} scope (optional) The scope (this reference) in which the passed function is executed. - * If omitted, defaults to the scope in which the original function is called or the browser window. - * @return {Function} The new function - */ - createInterceptor : function(fcn, scope){ - var method = this; - return !Ext.isFunction(fcn) ? - this : - function() { - var me = this, - args = arguments; - fcn.target = me; - fcn.method = method; - return (fcn.apply(scope || me || window, args) !== false) ? - method.apply(me || window, args) : - null; - }; - }, - - /** - * Creates a callback that passes arguments[0], arguments[1], arguments[2], ... - * Call directly on any function. Example: myFunction.createCallback(arg1, arg2) - * Will create a function that is bound to those 2 args. If a specific scope is required in the - * callback, use {@link #createDelegate} instead. The function returned by createCallback always - * executes in the window scope. - *

    This method is required when you want to pass arguments to a callback function. If no arguments - * are needed, you can simply pass a reference to the function as a callback (e.g., callback: myFn). - * However, if you tried to pass a function with arguments (e.g., callback: myFn(arg1, arg2)) the function - * would simply execute immediately when the code is parsed. Example usage: - *

    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// clicking the button alerts "Hi, Fred"
    -new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody(),
    -    handler: sayHi.createCallback('Fred')
    -});
    -
    - * @return {Function} The new function - */ - createCallback : function(/*args...*/){ - // make args available, in function below - var args = arguments, - method = this; - return function() { - return method.apply(window, args); - }; - }, - - /** - * Creates a delegate (callback) that sets the scope to obj. - * Call directly on any function. Example: this.myFunction.createDelegate(this, [arg1, arg2]) - * Will create a function that is automatically scoped to obj so that the this variable inside the - * callback points to obj. Example usage: - *
    
    -var sayHi = function(name){
    -    // Note this use of "this.text" here.  This function expects to
    -    // execute within a scope that contains a text property.  In this
    -    // example, the "this" variable is pointing to the btn object that
    -    // was passed in createDelegate below.
    -    alert('Hi, ' + name + '. You clicked the "' + this.text + '" button.');
    -}
    -
    -var btn = new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody()
    -});
    -
    -// This callback will execute in the scope of the
    -// button instance. Clicking the button alerts
    -// "Hi, Fred. You clicked the "Say Hi" button."
    -btn.on('click', sayHi.createDelegate(btn, ['Fred']));
    -
    - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Function} The new function - */ - createDelegate : function(obj, args, appendArgs){ - var method = this; - return function() { - var callArgs = args || arguments; - if (appendArgs === true){ - callArgs = Array.prototype.slice.call(arguments, 0); - callArgs = callArgs.concat(args); - }else if (Ext.isNumber(appendArgs)){ - callArgs = Array.prototype.slice.call(arguments, 0); // copy arguments first - var applyArgs = [appendArgs, 0].concat(args); // create method call params - Array.prototype.splice.apply(callArgs, applyArgs); // splice them in - } - return method.apply(obj || window, callArgs); - }; - }, - - /** - * Calls this function after the number of millseconds specified, optionally in a specific scope. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// executes immediately:
    -sayHi('Fred');
    -
    -// executes after 2 seconds:
    -sayHi.defer(2000, this, ['Fred']);
    -
    -// this syntax is sometimes useful for deferring
    -// execution of an anonymous function:
    -(function(){
    -    alert('Anonymous');
    -}).defer(100);
    -
    - * @param {Number} millis The number of milliseconds for the setTimeout call (if less than or equal to 0 the function is executed immediately) - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Number} The timeout id that can be used with clearTimeout - */ - defer : function(millis, obj, args, appendArgs){ - var fn = this.createDelegate(obj, args, appendArgs); - if(millis > 0){ - return setTimeout(fn, millis); - } - fn(); - return 0; - } -}); - -/** - * @class String - * These functions are available on every String object. - */ -Ext.applyIf(String, { - /** - * Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each - * token must be unique, and must increment in the format {0}, {1}, etc. Example usage: - *
    
    -var cls = 'my-class', text = 'Some text';
    -var s = String.format('<div class="{0}">{1}</div>', cls, text);
    -// s now contains the string: '<div class="my-class">Some text</div>'
    -     * 
    - * @param {String} string The tokenized string to be formatted - * @param {String} value1 The value to replace token {0} - * @param {String} value2 Etc... - * @return {String} The formatted string - * @static - */ - format : function(format){ - var args = Ext.toArray(arguments, 1); - return format.replace(/\{(\d+)\}/g, function(m, i){ - return args[i]; - }); - } -}); - -/** - * @class Array - */ -Ext.applyIf(Array.prototype, { - /** - * Checks whether or not the specified object exists in the array. - * @param {Object} o The object to check for - * @param {Number} from (Optional) The index at which to begin the search - * @return {Number} The index of o in the array (or -1 if it is not found) - */ - indexOf : function(o, from){ - var len = this.length; - from = from || 0; - from += (from < 0) ? len : 0; - for (; from < len; ++from){ - if(this[from] === o){ - return from; - } - } - return -1; - }, - - /** - * Removes the specified object from the array. If the object is not found nothing happens. - * @param {Object} o The object to remove - * @return {Array} this array - */ - remove : function(o){ - var index = this.indexOf(o); - if(index != -1){ - this.splice(index, 1); - } - return this; - } -}); -/** - * @class Ext.util.TaskRunner - * Provides the ability to execute one or more arbitrary tasks in a multithreaded - * manner. Generally, you can use the singleton {@link Ext.TaskMgr} instead, but - * if needed, you can create separate instances of TaskRunner. Any number of - * separate tasks can be started at any time and will run independently of each - * other. Example usage: - *
    
    -// Start a simple clock task that updates a div once per second
    -var updateClock = function(){
    -    Ext.fly('clock').update(new Date().format('g:i:s A'));
    -} 
    -var task = {
    -    run: updateClock,
    -    interval: 1000 //1 second
    -}
    -var runner = new Ext.util.TaskRunner();
    -runner.start(task);
    -
    -// equivalent using TaskMgr
    -Ext.TaskMgr.start({
    -    run: updateClock,
    -    interval: 1000
    -});
    -
    - * 
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * Also see {@link Ext.util.DelayedTask}. - * - * @constructor - * @param {Number} interval (optional) The minimum precision in milliseconds supported by this TaskRunner instance - * (defaults to 10) - */ -Ext.util.TaskRunner = function(interval){ - interval = interval || 10; - var tasks = [], - removeQueue = [], - id = 0, - running = false, - - // private - stopThread = function(){ - running = false; - clearInterval(id); - id = 0; - }, - - // private - startThread = function(){ - if(!running){ - running = true; - id = setInterval(runTasks, interval); - } - }, - - // private - removeTask = function(t){ - removeQueue.push(t); - if(t.onStop){ - t.onStop.apply(t.scope || t); - } - }, - - // private - runTasks = function(){ - var rqLen = removeQueue.length, - now = new Date().getTime(); - - if(rqLen > 0){ - for(var i = 0; i < rqLen; i++){ - tasks.remove(removeQueue[i]); - } - removeQueue = []; - if(tasks.length < 1){ - stopThread(); - return; - } - } - for(var i = 0, t, itime, rt, len = tasks.length; i < len; ++i){ - t = tasks[i]; - itime = now - t.taskRunTime; - if(t.interval <= itime){ - rt = t.run.apply(t.scope || t, t.args || [++t.taskRunCount]); - t.taskRunTime = now; - if(rt === false || t.taskRunCount === t.repeat){ - removeTask(t); - return; - } - } - if(t.duration && t.duration <= (now - t.taskStartTime)){ - removeTask(t); - } - } - }; - - /** - * Starts a new task. - * @method start - * @param {Object} task

    A config object that supports the following properties:

      - *
    • run : Function

      The function to execute each time the task is invoked. The - * function will be called at each interval and passed the args argument if specified, and the - * current invocation count if not.

      - *

      If a particular scope (this reference) is required, be sure to specify it using the scope argument.

      - *

      Return false from this function to terminate the task.

    • - *
    • interval : Number
      The frequency in milliseconds with which the task - * should be invoked.
    • - *
    • args : Array
      (optional) An array of arguments to be passed to the function - * specified by run. If not specified, the current invocation count is passed.
    • - *
    • scope : Object
      (optional) The scope (this reference) in which to execute the - * run function. Defaults to the task config object.
    • - *
    • duration : Number
      (optional) The length of time in milliseconds to invoke - * the task before stopping automatically (defaults to indefinite).
    • - *
    • repeat : Number
      (optional) The number of times to invoke the task before - * stopping automatically (defaults to indefinite).
    • - *

    - *

    Before each invocation, Ext injects the property taskRunCount into the task object so - * that calculations based on the repeat count can be performed.

    - * @return {Object} The task - */ - this.start = function(task){ - tasks.push(task); - task.taskStartTime = new Date().getTime(); - task.taskRunTime = 0; - task.taskRunCount = 0; - startThread(); - return task; - }; - - /** - * Stops an existing running task. - * @method stop - * @param {Object} task The task to stop - * @return {Object} The task - */ - this.stop = function(task){ - removeTask(task); - return task; - }; - - /** - * Stops all tasks that are currently running. - * @method stopAll - */ - this.stopAll = function(){ - stopThread(); - for(var i = 0, len = tasks.length; i < len; i++){ - if(tasks[i].onStop){ - tasks[i].onStop(); - } - } - tasks = []; - removeQueue = []; - }; -}; - -/** - * @class Ext.TaskMgr - * @extends Ext.util.TaskRunner - * A static {@link Ext.util.TaskRunner} instance that can be used to start and stop arbitrary tasks. See - * {@link Ext.util.TaskRunner} for supported methods and task config properties. - *
    
    -// Start a simple clock task that updates a div once per second
    -var task = {
    -    run: function(){
    -        Ext.fly('clock').update(new Date().format('g:i:s A'));
    -    },
    -    interval: 1000 //1 second
    -}
    -Ext.TaskMgr.start(task);
    -
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * @singleton - */ -Ext.TaskMgr = new Ext.util.TaskRunner();(function(){ - var libFlyweight; - - function fly(el) { - if (!libFlyweight) { - libFlyweight = new Ext.Element.Flyweight(); - } - libFlyweight.dom = el; - return libFlyweight; - } - - (function(){ - var doc = document, - isCSS1 = doc.compatMode == "CSS1Compat", - MAX = Math.max, - ROUND = Math.round, - PARSEINT = parseInt; - - Ext.lib.Dom = { - isAncestor : function(p, c) { - var ret = false; - - p = Ext.getDom(p); - c = Ext.getDom(c); - if (p && c) { - if (p.contains) { - return p.contains(c); - } else if (p.compareDocumentPosition) { - return !!(p.compareDocumentPosition(c) & 16); - } else { - while (c = c.parentNode) { - ret = c == p || ret; - } - } - } - return ret; - }, - - getViewWidth : function(full) { - return full ? this.getDocumentWidth() : this.getViewportWidth(); - }, - - getViewHeight : function(full) { - return full ? this.getDocumentHeight() : this.getViewportHeight(); - }, - - getDocumentHeight: function() { - return MAX(!isCSS1 ? doc.body.scrollHeight : doc.documentElement.scrollHeight, this.getViewportHeight()); - }, - - getDocumentWidth: function() { - return MAX(!isCSS1 ? doc.body.scrollWidth : doc.documentElement.scrollWidth, this.getViewportWidth()); - }, - - getViewportHeight: function(){ - return Ext.isIE ? - (Ext.isStrict ? doc.documentElement.clientHeight : doc.body.clientHeight) : - self.innerHeight; - }, - - getViewportWidth : function() { - return !Ext.isStrict && !Ext.isOpera ? doc.body.clientWidth : - Ext.isIE ? doc.documentElement.clientWidth : self.innerWidth; - }, - - getY : function(el) { - return this.getXY(el)[1]; - }, - - getX : function(el) { - return this.getXY(el)[0]; - }, - - getXY : function(el) { - var p, - pe, - b, - bt, - bl, - dbd, - x = 0, - y = 0, - scroll, - hasAbsolute, - bd = (doc.body || doc.documentElement), - ret = [0,0]; - - el = Ext.getDom(el); - - if(el != bd){ - if (el.getBoundingClientRect) { - b = el.getBoundingClientRect(); - scroll = fly(document).getScroll(); - ret = [ROUND(b.left + scroll.left), ROUND(b.top + scroll.top)]; - } else { - p = el; - hasAbsolute = fly(el).isStyle("position", "absolute"); - - while (p) { - pe = fly(p); - x += p.offsetLeft; - y += p.offsetTop; - - hasAbsolute = hasAbsolute || pe.isStyle("position", "absolute"); - - if (Ext.isGecko) { - y += bt = PARSEINT(pe.getStyle("borderTopWidth"), 10) || 0; - x += bl = PARSEINT(pe.getStyle("borderLeftWidth"), 10) || 0; - - if (p != el && !pe.isStyle('overflow','visible')) { - x += bl; - y += bt; - } - } - p = p.offsetParent; - } - - if (Ext.isSafari && hasAbsolute) { - x -= bd.offsetLeft; - y -= bd.offsetTop; - } - - if (Ext.isGecko && !hasAbsolute) { - dbd = fly(bd); - x += PARSEINT(dbd.getStyle("borderLeftWidth"), 10) || 0; - y += PARSEINT(dbd.getStyle("borderTopWidth"), 10) || 0; - } - - p = el.parentNode; - while (p && p != bd) { - if (!Ext.isOpera || (p.tagName != 'TR' && !fly(p).isStyle("display", "inline"))) { - x -= p.scrollLeft; - y -= p.scrollTop; - } - p = p.parentNode; - } - ret = [x,y]; - } - } - return ret; - }, - - setXY : function(el, xy) { - (el = Ext.fly(el, '_setXY')).position(); - - var pts = el.translatePoints(xy), - style = el.dom.style, - pos; - - for (pos in pts) { - if (!isNaN(pts[pos])) { - style[pos] = pts[pos] + "px"; - } - } - }, - - setX : function(el, x) { - this.setXY(el, [x, false]); - }, - - setY : function(el, y) { - this.setXY(el, [false, y]); - } - }; -})();Ext.lib.Event = function() { - var loadComplete = false, - unloadListeners = {}, - retryCount = 0, - onAvailStack = [], - _interval, - locked = false, - win = window, - doc = document, - - // constants - POLL_RETRYS = 200, - POLL_INTERVAL = 20, - TYPE = 0, - FN = 1, - OBJ = 2, - ADJ_SCOPE = 3, - SCROLLLEFT = 'scrollLeft', - SCROLLTOP = 'scrollTop', - UNLOAD = 'unload', - MOUSEOVER = 'mouseover', - MOUSEOUT = 'mouseout', - // private - doAdd = function() { - var ret; - if (win.addEventListener) { - ret = function(el, eventName, fn, capture) { - if (eventName == 'mouseenter') { - fn = fn.createInterceptor(checkRelatedTarget); - el.addEventListener(MOUSEOVER, fn, (capture)); - } else if (eventName == 'mouseleave') { - fn = fn.createInterceptor(checkRelatedTarget); - el.addEventListener(MOUSEOUT, fn, (capture)); - } else { - el.addEventListener(eventName, fn, (capture)); - } - return fn; - }; - } else if (win.attachEvent) { - ret = function(el, eventName, fn, capture) { - el.attachEvent("on" + eventName, fn); - return fn; - }; - } else { - ret = function(){}; - } - return ret; - }(), - // private - doRemove = function(){ - var ret; - if (win.removeEventListener) { - ret = function (el, eventName, fn, capture) { - if (eventName == 'mouseenter') { - eventName = MOUSEOVER; - } else if (eventName == 'mouseleave') { - eventName = MOUSEOUT; - } - el.removeEventListener(eventName, fn, (capture)); - }; - } else if (win.detachEvent) { - ret = function (el, eventName, fn) { - el.detachEvent("on" + eventName, fn); - }; - } else { - ret = function(){}; - } - return ret; - }(); - - function checkRelatedTarget(e) { - return !elContains(e.currentTarget, pub.getRelatedTarget(e)); - } - - function elContains(parent, child) { - if(parent && parent.firstChild){ - while(child) { - if(child === parent) { - return true; - } - child = child.parentNode; - if(child && (child.nodeType != 1)) { - child = null; - } - } - } - return false; - } - - // private - function _tryPreloadAttach() { - var ret = false, - notAvail = [], - element, i, v, override, - tryAgain = !loadComplete || (retryCount > 0); - - if(!locked){ - locked = true; - - for(i = 0; i < onAvailStack.length; ++i){ - v = onAvailStack[i]; - if(v && (element = doc.getElementById(v.id))){ - if(!v.checkReady || loadComplete || element.nextSibling || (doc && doc.body)) { - override = v.override; - element = override ? (override === true ? v.obj : override) : element; - v.fn.call(element, v.obj); - onAvailStack.remove(v); - --i; - }else{ - notAvail.push(v); - } - } - } - - retryCount = (notAvail.length === 0) ? 0 : retryCount - 1; - - if (tryAgain) { - startInterval(); - } else { - clearInterval(_interval); - _interval = null; - } - ret = !(locked = false); - } - return ret; - } - - // private - function startInterval() { - if(!_interval){ - var callback = function() { - _tryPreloadAttach(); - }; - _interval = setInterval(callback, POLL_INTERVAL); - } - } - - // private - function getScroll() { - var dd = doc.documentElement, - db = doc.body; - if(dd && (dd[SCROLLTOP] || dd[SCROLLLEFT])){ - return [dd[SCROLLLEFT], dd[SCROLLTOP]]; - }else if(db){ - return [db[SCROLLLEFT], db[SCROLLTOP]]; - }else{ - return [0, 0]; - } - } - - // private - function getPageCoord (ev, xy) { - ev = ev.browserEvent || ev; - var coord = ev['page' + xy]; - if (!coord && coord !== 0) { - coord = ev['client' + xy] || 0; - - if (Ext.isIE) { - coord += getScroll()[xy == "X" ? 0 : 1]; - } - } - - return coord; - } - - var pub = { - extAdapter: true, - onAvailable : function(p_id, p_fn, p_obj, p_override) { - onAvailStack.push({ - id: p_id, - fn: p_fn, - obj: p_obj, - override: p_override, - checkReady: false }); - - retryCount = POLL_RETRYS; - startInterval(); - }, - - // This function should ALWAYS be called from Ext.EventManager - addListener: function(el, eventName, fn) { - el = Ext.getDom(el); - if (el && fn) { - if (eventName == UNLOAD) { - if (unloadListeners[el.id] === undefined) { - unloadListeners[el.id] = []; - } - unloadListeners[el.id].push([eventName, fn]); - return fn; - } - return doAdd(el, eventName, fn, false); - } - return false; - }, - - // This function should ALWAYS be called from Ext.EventManager - removeListener: function(el, eventName, fn) { - el = Ext.getDom(el); - var i, len, li, lis; - if (el && fn) { - if(eventName == UNLOAD){ - if((lis = unloadListeners[el.id]) !== undefined){ - for(i = 0, len = lis.length; i < len; i++){ - if((li = lis[i]) && li[TYPE] == eventName && li[FN] == fn){ - unloadListeners[el.id].splice(i, 1); - } - } - } - return; - } - doRemove(el, eventName, fn, false); - } - }, - - getTarget : function(ev) { - ev = ev.browserEvent || ev; - return this.resolveTextNode(ev.target || ev.srcElement); - }, - - resolveTextNode : Ext.isGecko ? function(node){ - if(!node){ - return; - } - // work around firefox bug, https://bugzilla.mozilla.org/show_bug.cgi?id=101197 - var s = HTMLElement.prototype.toString.call(node); - if(s == '[xpconnect wrapped native prototype]' || s == '[object XULElement]'){ - return; - } - return node.nodeType == 3 ? node.parentNode : node; - } : function(node){ - return node && node.nodeType == 3 ? node.parentNode : node; - }, - - getRelatedTarget : function(ev) { - ev = ev.browserEvent || ev; - return this.resolveTextNode(ev.relatedTarget || - (/(mouseout|mouseleave)/.test(ev.type) ? ev.toElement : - /(mouseover|mouseenter)/.test(ev.type) ? ev.fromElement : null)); - }, - - getPageX : function(ev) { - return getPageCoord(ev, "X"); - }, - - getPageY : function(ev) { - return getPageCoord(ev, "Y"); - }, - - - getXY : function(ev) { - return [this.getPageX(ev), this.getPageY(ev)]; - }, - - stopEvent : function(ev) { - this.stopPropagation(ev); - this.preventDefault(ev); - }, - - stopPropagation : function(ev) { - ev = ev.browserEvent || ev; - if (ev.stopPropagation) { - ev.stopPropagation(); - } else { - ev.cancelBubble = true; - } - }, - - preventDefault : function(ev) { - ev = ev.browserEvent || ev; - if (ev.preventDefault) { - ev.preventDefault(); - } else { - if (ev.keyCode) { - ev.keyCode = 0; - } - ev.returnValue = false; - } - }, - - getEvent : function(e) { - e = e || win.event; - if (!e) { - var c = this.getEvent.caller; - while (c) { - e = c.arguments[0]; - if (e && Event == e.constructor) { - break; - } - c = c.caller; - } - } - return e; - }, - - getCharCode : function(ev) { - ev = ev.browserEvent || ev; - return ev.charCode || ev.keyCode || 0; - }, - - //clearCache: function() {}, - // deprecated, call from EventManager - getListeners : function(el, eventName) { - Ext.EventManager.getListeners(el, eventName); - }, - - // deprecated, call from EventManager - purgeElement : function(el, recurse, eventName) { - Ext.EventManager.purgeElement(el, recurse, eventName); - }, - - _load : function(e) { - loadComplete = true; - - if (Ext.isIE && e !== true) { - // IE8 complains that _load is null or not an object - // so lets remove self via arguments.callee - doRemove(win, "load", arguments.callee); - } - }, - - _unload : function(e) { - var EU = Ext.lib.Event, - i, v, ul, id, len, scope; - - for (id in unloadListeners) { - ul = unloadListeners[id]; - for (i = 0, len = ul.length; i < len; i++) { - v = ul[i]; - if (v) { - try{ - scope = v[ADJ_SCOPE] ? (v[ADJ_SCOPE] === true ? v[OBJ] : v[ADJ_SCOPE]) : win; - v[FN].call(scope, EU.getEvent(e), v[OBJ]); - }catch(ex){} - } - } - }; - - Ext.EventManager._unload(); - - doRemove(win, UNLOAD, EU._unload); - } - }; - - // Initialize stuff. - pub.on = pub.addListener; - pub.un = pub.removeListener; - if (doc && doc.body) { - pub._load(true); - } else { - doAdd(win, "load", pub._load); - } - doAdd(win, UNLOAD, pub._unload); - _tryPreloadAttach(); - - return pub; -}(); -/* -* Portions of this file are based on pieces of Yahoo User Interface Library -* Copyright (c) 2007, Yahoo! Inc. All rights reserved. -* YUI licensed under the BSD License: -* http://developer.yahoo.net/yui/license.txt -*/ -Ext.lib.Ajax = function() { - var activeX = ['Msxml2.XMLHTTP.6.0', - 'Msxml2.XMLHTTP.3.0', - 'Msxml2.XMLHTTP'], - CONTENTTYPE = 'Content-Type'; - - // private - function setHeader(o) { - var conn = o.conn, - prop, - headers = {}; - - function setTheHeaders(conn, headers){ - for (prop in headers) { - if (headers.hasOwnProperty(prop)) { - conn.setRequestHeader(prop, headers[prop]); - } - } - } - - Ext.apply(headers, pub.headers, pub.defaultHeaders); - setTheHeaders(conn, headers); - delete pub.headers; - } - - // private - function createExceptionObject(tId, callbackArg, isAbort, isTimeout) { - return { - tId : tId, - status : isAbort ? -1 : 0, - statusText : isAbort ? 'transaction aborted' : 'communication failure', - isAbort: isAbort, - isTimeout: isTimeout, - argument : callbackArg - }; - } - - // private - function initHeader(label, value) { - (pub.headers = pub.headers || {})[label] = value; - } - - // private - function createResponseObject(o, callbackArg) { - var headerObj = {}, - headerStr, - conn = o.conn, - t, - s, - // see: https://prototype.lighthouseapp.com/projects/8886/tickets/129-ie-mangles-http-response-status-code-204-to-1223 - isBrokenStatus = conn.status == 1223; - - try { - headerStr = o.conn.getAllResponseHeaders(); - Ext.each(headerStr.replace(/\r\n/g, '\n').split('\n'), function(v){ - t = v.indexOf(':'); - if(t >= 0){ - s = v.substr(0, t).toLowerCase(); - if(v.charAt(t + 1) == ' '){ - ++t; - } - headerObj[s] = v.substr(t + 1); - } - }); - } catch(e) {} - - return { - tId : o.tId, - // Normalize the status and statusText when IE returns 1223, see the above link. - status : isBrokenStatus ? 204 : conn.status, - statusText : isBrokenStatus ? 'No Content' : conn.statusText, - getResponseHeader : function(header){return headerObj[header.toLowerCase()];}, - getAllResponseHeaders : function(){return headerStr;}, - responseText : conn.responseText, - responseXML : conn.responseXML, - argument : callbackArg - }; - } - - // private - function releaseObject(o) { - if (o.tId) { - pub.conn[o.tId] = null; - } - o.conn = null; - o = null; - } - - // private - function handleTransactionResponse(o, callback, isAbort, isTimeout) { - if (!callback) { - releaseObject(o); - return; - } - - var httpStatus, responseObject; - - try { - if (o.conn.status !== undefined && o.conn.status != 0) { - httpStatus = o.conn.status; - } - else { - httpStatus = 13030; - } - } - catch(e) { - httpStatus = 13030; - } - - if ((httpStatus >= 200 && httpStatus < 300) || (Ext.isIE && httpStatus == 1223)) { - responseObject = createResponseObject(o, callback.argument); - if (callback.success) { - if (!callback.scope) { - callback.success(responseObject); - } - else { - callback.success.apply(callback.scope, [responseObject]); - } - } - } - else { - switch (httpStatus) { - case 12002: - case 12029: - case 12030: - case 12031: - case 12152: - case 13030: - responseObject = createExceptionObject(o.tId, callback.argument, (isAbort ? isAbort : false), isTimeout); - if (callback.failure) { - if (!callback.scope) { - callback.failure(responseObject); - } - else { - callback.failure.apply(callback.scope, [responseObject]); - } - } - break; - default: - responseObject = createResponseObject(o, callback.argument); - if (callback.failure) { - if (!callback.scope) { - callback.failure(responseObject); - } - else { - callback.failure.apply(callback.scope, [responseObject]); - } - } - } - } - - releaseObject(o); - responseObject = null; - } - - function checkResponse(o, callback, conn, tId, poll, cbTimeout){ - if (conn && conn.readyState == 4) { - clearInterval(poll[tId]); - poll[tId] = null; - - if (cbTimeout) { - clearTimeout(pub.timeout[tId]); - pub.timeout[tId] = null; - } - handleTransactionResponse(o, callback); - } - } - - function checkTimeout(o, callback){ - pub.abort(o, callback, true); - } - - - // private - function handleReadyState(o, callback){ - callback = callback || {}; - var conn = o.conn, - tId = o.tId, - poll = pub.poll, - cbTimeout = callback.timeout || null; - - if (cbTimeout) { - pub.conn[tId] = conn; - pub.timeout[tId] = setTimeout(checkTimeout.createCallback(o, callback), cbTimeout); - } - poll[tId] = setInterval(checkResponse.createCallback(o, callback, conn, tId, poll, cbTimeout), pub.pollInterval); - } - - // private - function asyncRequest(method, uri, callback, postData) { - var o = getConnectionObject() || null; - - if (o) { - o.conn.open(method, uri, true); - - if (pub.useDefaultXhrHeader) { - initHeader('X-Requested-With', pub.defaultXhrHeader); - } - - if(postData && pub.useDefaultHeader && (!pub.headers || !pub.headers[CONTENTTYPE])){ - initHeader(CONTENTTYPE, pub.defaultPostHeader); - } - - if (pub.defaultHeaders || pub.headers) { - setHeader(o); - } - - handleReadyState(o, callback); - o.conn.send(postData || null); - } - return o; - } - - // private - function getConnectionObject() { - var o; - - try { - if (o = createXhrObject(pub.transactionId)) { - pub.transactionId++; - } - } catch(e) { - } finally { - return o; - } - } - - // private - function createXhrObject(transactionId) { - var http; - - try { - http = new XMLHttpRequest(); - } catch(e) { - for (var i = Ext.isIE6 ? 1 : 0; i < activeX.length; ++i) { - try { - http = new ActiveXObject(activeX[i]); - break; - } catch(e) {} - } - } finally { - return {conn : http, tId : transactionId}; - } - } - - var pub = { - request : function(method, uri, cb, data, options) { - if(options){ - var me = this, - xmlData = options.xmlData, - jsonData = options.jsonData, - hs; - - Ext.applyIf(me, options); - - if(xmlData || jsonData){ - hs = me.headers; - if(!hs || !hs[CONTENTTYPE]){ - initHeader(CONTENTTYPE, xmlData ? 'text/xml' : 'application/json'); - } - data = xmlData || (!Ext.isPrimitive(jsonData) ? Ext.encode(jsonData) : jsonData); - } - } - return asyncRequest(method || options.method || "POST", uri, cb, data); - }, - - serializeForm : function(form) { - var fElements = form.elements || (document.forms[form] || Ext.getDom(form)).elements, - hasSubmit = false, - encoder = encodeURIComponent, - name, - data = '', - type, - hasValue; - - Ext.each(fElements, function(element){ - name = element.name; - type = element.type; - - if (!element.disabled && name) { - if (/select-(one|multiple)/i.test(type)) { - Ext.each(element.options, function(opt){ - if (opt.selected) { - hasValue = opt.hasAttribute ? opt.hasAttribute('value') : opt.getAttributeNode('value').specified; - data += String.format("{0}={1}&", encoder(name), encoder(hasValue ? opt.value : opt.text)); - } - }); - } else if (!(/file|undefined|reset|button/i.test(type))) { - if (!(/radio|checkbox/i.test(type) && !element.checked) && !(type == 'submit' && hasSubmit)) { - data += encoder(name) + '=' + encoder(element.value) + '&'; - hasSubmit = /submit/i.test(type); - } - } - } - }); - return data.substr(0, data.length - 1); - }, - - useDefaultHeader : true, - defaultPostHeader : 'application/x-www-form-urlencoded; charset=UTF-8', - useDefaultXhrHeader : true, - defaultXhrHeader : 'XMLHttpRequest', - poll : {}, - timeout : {}, - conn: {}, - pollInterval : 50, - transactionId : 0, - -// This is never called - Is it worth exposing this? -// setProgId : function(id) { -// activeX.unshift(id); -// }, - -// This is never called - Is it worth exposing this? -// setDefaultPostHeader : function(b) { -// this.useDefaultHeader = b; -// }, - -// This is never called - Is it worth exposing this? -// setDefaultXhrHeader : function(b) { -// this.useDefaultXhrHeader = b; -// }, - -// This is never called - Is it worth exposing this? -// setPollingInterval : function(i) { -// if (typeof i == 'number' && isFinite(i)) { -// this.pollInterval = i; -// } -// }, - -// This is never called - Is it worth exposing this? -// resetDefaultHeaders : function() { -// this.defaultHeaders = null; -// }, - - abort : function(o, callback, isTimeout) { - var me = this, - tId = o.tId, - isAbort = false; - - if (me.isCallInProgress(o)) { - o.conn.abort(); - clearInterval(me.poll[tId]); - me.poll[tId] = null; - clearTimeout(pub.timeout[tId]); - me.timeout[tId] = null; - - handleTransactionResponse(o, callback, (isAbort = true), isTimeout); - } - return isAbort; - }, - - isCallInProgress : function(o) { - // if there is a connection and readyState is not 0 or 4 - return o.conn && !{0:true,4:true}[o.conn.readyState]; - } - }; - return pub; -}();(function(){ - var EXTLIB = Ext.lib, - noNegatives = /width|height|opacity|padding/i, - offsetAttribute = /^((width|height)|(top|left))$/, - defaultUnit = /width|height|top$|bottom$|left$|right$/i, - offsetUnit = /\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i, - isset = function(v){ - return typeof v !== 'undefined'; - }, - now = function(){ - return new Date(); - }; - - EXTLIB.Anim = { - motion : function(el, args, duration, easing, cb, scope) { - return this.run(el, args, duration, easing, cb, scope, Ext.lib.Motion); - }, - - run : function(el, args, duration, easing, cb, scope, type) { - type = type || Ext.lib.AnimBase; - if (typeof easing == "string") { - easing = Ext.lib.Easing[easing]; - } - var anim = new type(el, args, duration, easing); - anim.animateX(function() { - if(Ext.isFunction(cb)){ - cb.call(scope); - } - }); - return anim; - } - }; - - EXTLIB.AnimBase = function(el, attributes, duration, method) { - if (el) { - this.init(el, attributes, duration, method); - } - }; - - EXTLIB.AnimBase.prototype = { - doMethod: function(attr, start, end) { - var me = this; - return me.method(me.curFrame, start, end - start, me.totalFrames); - }, - - - setAttr: function(attr, val, unit) { - if (noNegatives.test(attr) && val < 0) { - val = 0; - } - Ext.fly(this.el, '_anim').setStyle(attr, val + unit); - }, - - - getAttr: function(attr) { - var el = Ext.fly(this.el), - val = el.getStyle(attr), - a = offsetAttribute.exec(attr) || []; - - if (val !== 'auto' && !offsetUnit.test(val)) { - return parseFloat(val); - } - - return (!!(a[2]) || (el.getStyle('position') == 'absolute' && !!(a[3]))) ? el.dom['offset' + a[0].charAt(0).toUpperCase() + a[0].substr(1)] : 0; - }, - - - getDefaultUnit: function(attr) { - return defaultUnit.test(attr) ? 'px' : ''; - }, - - animateX : function(callback, scope) { - var me = this, - f = function() { - me.onComplete.removeListener(f); - if (Ext.isFunction(callback)) { - callback.call(scope || me, me); - } - }; - me.onComplete.addListener(f, me); - me.animate(); - }, - - - setRunAttr: function(attr) { - var me = this, - a = this.attributes[attr], - to = a.to, - by = a.by, - from = a.from, - unit = a.unit, - ra = (this.runAttrs[attr] = {}), - end; - - if (!isset(to) && !isset(by)){ - return false; - } - - var start = isset(from) ? from : me.getAttr(attr); - if (isset(to)) { - end = to; - }else if(isset(by)) { - if (Ext.isArray(start)){ - end = []; - for(var i=0,len=start.length; i 0 && isFinite(tweak)){ - if(tween.curFrame + tweak >= frames){ - tweak = frames - (frame + 1); - } - tween.curFrame += tweak; - } - }; - }; - - EXTLIB.Bezier = new function() { - - this.getPosition = function(points, t) { - var n = points.length, - tmp = [], - c = 1 - t, - i, - j; - - for (i = 0; i < n; ++i) { - tmp[i] = [points[i][0], points[i][1]]; - } - - for (j = 1; j < n; ++j) { - for (i = 0; i < n - j; ++i) { - tmp[i][0] = c * tmp[i][0] + t * tmp[parseInt(i + 1, 10)][0]; - tmp[i][1] = c * tmp[i][1] + t * tmp[parseInt(i + 1, 10)][1]; - } - } - - return [ tmp[0][0], tmp[0][1] ]; - - }; - }; - - - EXTLIB.Easing = { - easeNone: function (t, b, c, d) { - return c * t / d + b; - }, - - - easeIn: function (t, b, c, d) { - return c * (t /= d) * t + b; - }, - - - easeOut: function (t, b, c, d) { - return -c * (t /= d) * (t - 2) + b; - } - }; - - (function() { - EXTLIB.Motion = function(el, attributes, duration, method) { - if (el) { - EXTLIB.Motion.superclass.constructor.call(this, el, attributes, duration, method); - } - }; - - Ext.extend(EXTLIB.Motion, Ext.lib.AnimBase); - - var superclass = EXTLIB.Motion.superclass, - pointsRe = /^points$/i; - - Ext.apply(EXTLIB.Motion.prototype, { - setAttr: function(attr, val, unit){ - var me = this, - setAttr = superclass.setAttr; - - if (pointsRe.test(attr)) { - unit = unit || 'px'; - setAttr.call(me, 'left', val[0], unit); - setAttr.call(me, 'top', val[1], unit); - } else { - setAttr.call(me, attr, val, unit); - } - }, - - getAttr: function(attr){ - var me = this, - getAttr = superclass.getAttr; - - return pointsRe.test(attr) ? [getAttr.call(me, 'left'), getAttr.call(me, 'top')] : getAttr.call(me, attr); - }, - - doMethod: function(attr, start, end){ - var me = this; - - return pointsRe.test(attr) - ? EXTLIB.Bezier.getPosition(me.runAttrs[attr], me.method(me.curFrame, 0, 100, me.totalFrames) / 100) - : superclass.doMethod.call(me, attr, start, end); - }, - - setRunAttr: function(attr){ - if(pointsRe.test(attr)){ - - var me = this, - el = this.el, - points = this.attributes.points, - control = points.control || [], - from = points.from, - to = points.to, - by = points.by, - DOM = EXTLIB.Dom, - start, - i, - end, - len, - ra; - - - if(control.length > 0 && !Ext.isArray(control[0])){ - control = [control]; - }else{ - /* - var tmp = []; - for (i = 0,len = control.length; i < len; ++i) { - tmp[i] = control[i]; - } - control = tmp; - */ - } - - Ext.fly(el, '_anim').position(); - DOM.setXY(el, isset(from) ? from : DOM.getXY(el)); - start = me.getAttr('points'); - - - if(isset(to)){ - end = translateValues.call(me, to, start); - for (i = 0,len = control.length; i < len; ++i) { - control[i] = translateValues.call(me, control[i], start); - } - } else if (isset(by)) { - end = [start[0] + by[0], start[1] + by[1]]; - - for (i = 0,len = control.length; i < len; ++i) { - control[i] = [ start[0] + control[i][0], start[1] + control[i][1] ]; - } - } - - ra = this.runAttrs[attr] = [start]; - if (control.length > 0) { - ra = ra.concat(control); - } - - ra[ra.length] = end; - }else{ - superclass.setRunAttr.call(this, attr); - } - } - }); - - var translateValues = function(val, start) { - var pageXY = EXTLIB.Dom.getXY(this.el); - return [val[0] - pageXY[0] + start[0], val[1] - pageXY[1] + start[1]]; - }; - })(); -})();// Easing functions -(function(){ - // shortcuts to aid compression - var abs = Math.abs, - pi = Math.PI, - asin = Math.asin, - pow = Math.pow, - sin = Math.sin, - EXTLIB = Ext.lib; - - Ext.apply(EXTLIB.Easing, { - - easeBoth: function (t, b, c, d) { - return ((t /= d / 2) < 1) ? c / 2 * t * t + b : -c / 2 * ((--t) * (t - 2) - 1) + b; - }, - - easeInStrong: function (t, b, c, d) { - return c * (t /= d) * t * t * t + b; - }, - - easeOutStrong: function (t, b, c, d) { - return -c * ((t = t / d - 1) * t * t * t - 1) + b; - }, - - easeBothStrong: function (t, b, c, d) { - return ((t /= d / 2) < 1) ? c / 2 * t * t * t * t + b : -c / 2 * ((t -= 2) * t * t * t - 2) + b; - }, - - elasticIn: function (t, b, c, d, a, p) { - if (t == 0 || (t /= d) == 1) { - return t == 0 ? b : b + c; - } - p = p || (d * .3); - - var s; - if (a >= abs(c)) { - s = p / (2 * pi) * asin(c / a); - } else { - a = c; - s = p / 4; - } - - return -(a * pow(2, 10 * (t -= 1)) * sin((t * d - s) * (2 * pi) / p)) + b; - - }, - - elasticOut: function (t, b, c, d, a, p) { - if (t == 0 || (t /= d) == 1) { - return t == 0 ? b : b + c; - } - p = p || (d * .3); - - var s; - if (a >= abs(c)) { - s = p / (2 * pi) * asin(c / a); - } else { - a = c; - s = p / 4; - } - - return a * pow(2, -10 * t) * sin((t * d - s) * (2 * pi) / p) + c + b; - }, - - elasticBoth: function (t, b, c, d, a, p) { - if (t == 0 || (t /= d / 2) == 2) { - return t == 0 ? b : b + c; - } - - p = p || (d * (.3 * 1.5)); - - var s; - if (a >= abs(c)) { - s = p / (2 * pi) * asin(c / a); - } else { - a = c; - s = p / 4; - } - - return t < 1 ? - -.5 * (a * pow(2, 10 * (t -= 1)) * sin((t * d - s) * (2 * pi) / p)) + b : - a * pow(2, -10 * (t -= 1)) * sin((t * d - s) * (2 * pi) / p) * .5 + c + b; - }, - - backIn: function (t, b, c, d, s) { - s = s || 1.70158; - return c * (t /= d) * t * ((s + 1) * t - s) + b; - }, - - - backOut: function (t, b, c, d, s) { - if (!s) { - s = 1.70158; - } - return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b; - }, - - - backBoth: function (t, b, c, d, s) { - s = s || 1.70158; - - return ((t /= d / 2 ) < 1) ? - c / 2 * (t * t * (((s *= (1.525)) + 1) * t - s)) + b : - c / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2) + b; - }, - - - bounceIn: function (t, b, c, d) { - return c - EXTLIB.Easing.bounceOut(d - t, 0, c, d) + b; - }, - - - bounceOut: function (t, b, c, d) { - if ((t /= d) < (1 / 2.75)) { - return c * (7.5625 * t * t) + b; - } else if (t < (2 / 2.75)) { - return c * (7.5625 * (t -= (1.5 / 2.75)) * t + .75) + b; - } else if (t < (2.5 / 2.75)) { - return c * (7.5625 * (t -= (2.25 / 2.75)) * t + .9375) + b; - } - return c * (7.5625 * (t -= (2.625 / 2.75)) * t + .984375) + b; - }, - - - bounceBoth: function (t, b, c, d) { - return (t < d / 2) ? - EXTLIB.Easing.bounceIn(t * 2, 0, c, d) * .5 + b : - EXTLIB.Easing.bounceOut(t * 2 - d, 0, c, d) * .5 + c * .5 + b; - } - }); -})(); - -(function() { - var EXTLIB = Ext.lib; - // Color Animation - EXTLIB.Anim.color = function(el, args, duration, easing, cb, scope) { - return EXTLIB.Anim.run(el, args, duration, easing, cb, scope, EXTLIB.ColorAnim); - }; - - EXTLIB.ColorAnim = function(el, attributes, duration, method) { - EXTLIB.ColorAnim.superclass.constructor.call(this, el, attributes, duration, method); - }; - - Ext.extend(EXTLIB.ColorAnim, EXTLIB.AnimBase); - - var superclass = EXTLIB.ColorAnim.superclass, - colorRE = /color$/i, - transparentRE = /^transparent|rgba\(0, 0, 0, 0\)$/, - rgbRE = /^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i, - hexRE= /^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i, - hex3RE = /^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i, - isset = function(v){ - return typeof v !== 'undefined'; - }; - - // private - function parseColor(s) { - var pi = parseInt, - base, - out = null, - c; - - if (s.length == 3) { - return s; - } - - Ext.each([hexRE, rgbRE, hex3RE], function(re, idx){ - base = (idx % 2 == 0) ? 16 : 10; - c = re.exec(s); - if(c && c.length == 4){ - out = [pi(c[1], base), pi(c[2], base), pi(c[3], base)]; - return false; - } - }); - return out; - } - - Ext.apply(EXTLIB.ColorAnim.prototype, { - getAttr : function(attr) { - var me = this, - el = me.el, - val; - if(colorRE.test(attr)){ - while(el && transparentRE.test(val = Ext.fly(el).getStyle(attr))){ - el = el.parentNode; - val = "fff"; - } - }else{ - val = superclass.getAttr.call(me, attr); - } - return val; - }, - - doMethod : function(attr, start, end) { - var me = this, - val, - floor = Math.floor, - i, - len, - v; - - if(colorRE.test(attr)){ - val = []; - end = end || []; - - for(i = 0, len = start.length; i < len; i++) { - v = start[i]; - val[i] = superclass.doMethod.call(me, attr, v, end[i]); - } - val = 'rgb(' + floor(val[0]) + ',' + floor(val[1]) + ',' + floor(val[2]) + ')'; - }else{ - val = superclass.doMethod.call(me, attr, start, end); - } - return val; - }, - - setRunAttr : function(attr) { - var me = this, - a = me.attributes[attr], - to = a.to, - by = a.by, - ra; - - superclass.setRunAttr.call(me, attr); - ra = me.runAttrs[attr]; - if(colorRE.test(attr)){ - var start = parseColor(ra.start), - end = parseColor(ra.end); - - if(!isset(to) && isset(by)){ - end = parseColor(by); - for(var i=0,len=start.length; i0){return setTimeout(d,c)}d();return 0}});Ext.applyIf(String,{format:function(b){var a=Ext.toArray(arguments,1);return b.replace(/\{(\d+)\}/g,function(c,d){return a[d]})}});Ext.applyIf(Array.prototype,{indexOf:function(b,c){var a=this.length;c=c||0;c+=(c<0)?a:0;for(;c0){for(var p=0;p0);if(!A){A=true;for(I=0;I=0){B=s.substr(0,A).toLowerCase();if(s.charAt(A+1)==" "){++A}C[B]=s.substr(A+1)}})}catch(z){}return{tId:u.tId,status:v?204:w.status,statusText:v?"No Content":w.statusText,getResponseHeader:function(s){return C[s.toLowerCase()]},getAllResponseHeaders:function(){return x},responseText:w.responseText,responseXML:w.responseXML,argument:y}}function o(s){if(s.tId){k.conn[s.tId]=null}s.conn=null;s=null}function f(x,y,t,s){if(!y){o(x);return}var v,u;try{if(x.conn.status!==undefined&&x.conn.status!=0){v=x.conn.status}else{v=13030}}catch(w){v=13030}if((v>=200&&v<300)||(Ext.isIE&&v==1223)){u=p(x,y.argument);if(y.success){if(!y.scope){y.success(u)}else{y.success.apply(y.scope,[u])}}}else{switch(v){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:u=e(x.tId,y.argument,(t?t:false),s);if(y.failure){if(!y.scope){y.failure(u)}else{y.failure.apply(y.scope,[u])}}break;default:u=p(x,y.argument);if(y.failure){if(!y.scope){y.failure(u)}else{y.failure.apply(y.scope,[u])}}}}o(x);u=null}function m(u,x,s,w,t,v){if(s&&s.readyState==4){clearInterval(t[w]);t[w]=null;if(v){clearTimeout(k.timeout[w]);k.timeout[w]=null}f(u,x)}}function r(s,t){k.abort(s,t,true)}function n(u,x){x=x||{};var s=u.conn,w=u.tId,t=k.poll,v=x.timeout||null;if(v){k.conn[w]=s;k.timeout[w]=setTimeout(r.createCallback(u,x),v)}t[w]=setInterval(m.createCallback(u,x,s,w,t,v),k.pollInterval)}function i(w,t,v,s){var u=l()||null;if(u){u.conn.open(w,t,true);if(k.useDefaultXhrHeader){j("X-Requested-With",k.defaultXhrHeader)}if(s&&k.useDefaultHeader&&(!k.headers||!k.headers[d])){j(d,k.defaultPostHeader)}if(k.defaultHeaders||k.headers){h(u)}n(u,v);u.conn.send(s||null)}return u}function l(){var t;try{if(t=q(k.transactionId)){k.transactionId++}}catch(s){}finally{return t}}function q(v){var s;try{s=new XMLHttpRequest()}catch(u){for(var t=Ext.isIE6?1:0;t0&&isFinite(w)){if(r.curFrame+w>=v){w=v-(u+1)}r.curFrame+=w}}};g.Bezier=new function(){this.getPosition=function(p,o){var r=p.length,m=[],q=1-o,l,k;for(l=0;l0&&!Ext.isArray(s[0])){s=[s]}else{}Ext.fly(p,"_anim").position();A.setXY(p,j(x)?x:A.getXY(p));o=w.getAttr("points");if(j(y)){q=k.call(w,y,o);for(r=0,t=s.length;r0){n=n.concat(s)}n[n.length]=q}else{m.setRunAttr.call(this,u)}}});var k=function(n,p){var o=g.Dom.getXY(this.el);return[n[0]-o[0]+p[0],n[1]-o[1]+p[1]]}})()})();(function(){var d=Math.abs,i=Math.PI,h=Math.asin,g=Math.pow,e=Math.sin,f=Ext.lib;Ext.apply(f.Easing,{easeBoth:function(k,j,m,l){return((k/=l/2)<1)?m/2*k*k+j:-m/2*((--k)*(k-2)-1)+j},easeInStrong:function(k,j,m,l){return m*(k/=l)*k*k*k+j},easeOutStrong:function(k,j,m,l){return -m*((k=k/l-1)*k*k*k-1)+j},easeBothStrong:function(k,j,m,l){return((k/=l/2)<1)?m/2*k*k*k*k+j:-m/2*((k-=2)*k*k*k-2)+j},elasticIn:function(l,j,q,o,k,n){if(l==0||(l/=o)==1){return l==0?j:j+q}n=n||(o*0.3);var m;if(k>=d(q)){m=n/(2*i)*h(q/k)}else{k=q;m=n/4}return -(k*g(2,10*(l-=1))*e((l*o-m)*(2*i)/n))+j},elasticOut:function(l,j,q,o,k,n){if(l==0||(l/=o)==1){return l==0?j:j+q}n=n||(o*0.3);var m;if(k>=d(q)){m=n/(2*i)*h(q/k)}else{k=q;m=n/4}return k*g(2,-10*l)*e((l*o-m)*(2*i)/n)+q+j},elasticBoth:function(l,j,q,o,k,n){if(l==0||(l/=o/2)==2){return l==0?j:j+q}n=n||(o*(0.3*1.5));var m;if(k>=d(q)){m=n/(2*i)*h(q/k)}else{k=q;m=n/4}return l<1?-0.5*(k*g(2,10*(l-=1))*e((l*o-m)*(2*i)/n))+j:k*g(2,-10*(l-=1))*e((l*o-m)*(2*i)/n)*0.5+q+j},backIn:function(k,j,n,m,l){l=l||1.70158;return n*(k/=m)*k*((l+1)*k-l)+j},backOut:function(k,j,n,m,l){if(!l){l=1.70158}return n*((k=k/m-1)*k*((l+1)*k+l)+1)+j},backBoth:function(k,j,n,m,l){l=l||1.70158;return((k/=m/2)<1)?n/2*(k*k*(((l*=(1.525))+1)*k-l))+j:n/2*((k-=2)*k*(((l*=(1.525))+1)*k+l)+2)+j},bounceIn:function(k,j,m,l){return m-f.Easing.bounceOut(l-k,0,m,l)+j},bounceOut:function(k,j,m,l){if((k/=l)<(1/2.75)){return m*(7.5625*k*k)+j}else{if(k<(2/2.75)){return m*(7.5625*(k-=(1.5/2.75))*k+0.75)+j}else{if(k<(2.5/2.75)){return m*(7.5625*(k-=(2.25/2.75))*k+0.9375)+j}}}return m*(7.5625*(k-=(2.625/2.75))*k+0.984375)+j},bounceBoth:function(k,j,m,l){return(k'about:blank', except for IE in secure mode, which is 'javascript:""'). - * @type String - */ - SSL_SECURE_URL : isSecure && isIE ? 'javascript:""' : 'about:blank', - /** - * True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode - * @type Boolean - */ - isStrict : isStrict, - /** - * True if the page is running over SSL - * @type Boolean - */ - isSecure : isSecure, - /** - * True when the document is fully initialized and ready for action - * @type Boolean - */ - isReady : false, - - /** - * True if the {@link Ext.Fx} Class is available - * @type Boolean - * @property enableFx - */ - - /** - * HIGHLY EXPERIMENTAL - * True to force css based border-box model override and turning off javascript based adjustments. This is a - * runtime configuration and must be set before onReady. - * @type Boolean - */ - enableForcedBoxModel : false, - - /** - * True to automatically uncache orphaned Ext.Elements periodically (defaults to true) - * @type Boolean - */ - enableGarbageCollector : true, - - /** - * True to automatically purge event listeners during garbageCollection (defaults to false). - * @type Boolean - */ - enableListenerCollection : false, - - /** - * EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed. - * Currently not optimized for performance. - * @type Boolean - */ - enableNestedListenerRemoval : false, - - /** - * Indicates whether to use native browser parsing for JSON methods. - * This option is ignored if the browser does not support native JSON methods. - * Note: Native JSON methods will not work with objects that have functions. - * Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) - * @type Boolean - */ - USE_NATIVE_JSON : false, - - /** - * Copies all the properties of config to obj if they don't already exist. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @return {Object} returns obj - */ - applyIf : function(o, c){ - if(o){ - for(var p in c){ - if(!Ext.isDefined(o[p])){ - o[p] = c[p]; - } - } - } - return o; - }, - - /** - * Generates unique ids. If the element already has an id, it is unchanged - * @param {Mixed} el (optional) The element to generate an id for - * @param {String} prefix (optional) Id prefix (defaults "ext-gen") - * @return {String} The generated Id. - */ - id : function(el, prefix){ - el = Ext.getDom(el, true) || {}; - if (!el.id) { - el.id = (prefix || "ext-gen") + (++idSeed); - } - return el.id; - }, - - /** - *

    Extends one class to create a subclass and optionally overrides members with the passed literal. This method - * also adds the function "override()" to the subclass that can be used to override members of the class.

    - * For example, to create a subclass of Ext GridPanel: - *
    
    -MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
    -    constructor: function(config) {
    -
    -//      Create configuration for this Grid.
    -        var store = new Ext.data.Store({...});
    -        var colModel = new Ext.grid.ColumnModel({...});
    -
    -//      Create a new config object containing our computed properties
    -//      *plus* whatever was in the config parameter.
    -        config = Ext.apply({
    -            store: store,
    -            colModel: colModel
    -        }, config);
    -
    -        MyGridPanel.superclass.constructor.call(this, config);
    -
    -//      Your postprocessing here
    -    },
    -
    -    yourMethod: function() {
    -        // etc.
    -    }
    -});
    -
    - * - *

    This function also supports a 3-argument call in which the subclass's constructor is - * passed as an argument. In this form, the parameters are as follows:

    - *
      - *
    • subclass : Function
      The subclass constructor.
    • - *
    • superclass : Function
      The constructor of class being extended
    • - *
    • overrides : Object
      A literal with members which are copied into the subclass's - * prototype, and are therefore shared among all instances of the new class.
    • - *
    - * - * @param {Function} superclass The constructor of class being extended. - * @param {Object} overrides

    A literal with members which are copied into the subclass's - * prototype, and are therefore shared between all instances of the new class.

    - *

    This may contain a special member named constructor. This is used - * to define the constructor of the new class, and is returned. If this property is - * not specified, a constructor is generated and returned which just calls the - * superclass's constructor passing on its parameters.

    - *

    It is essential that you call the superclass constructor in any provided constructor. See example code.

    - * @return {Function} The subclass constructor from the overrides parameter, or a generated one if not provided. - */ - extend : function(){ - // inline overrides - var io = function(o){ - for(var m in o){ - this[m] = o[m]; - } - }; - var oc = Object.prototype.constructor; - - return function(sb, sp, overrides){ - if(typeof sp == 'object'){ - overrides = sp; - sp = sb; - sb = overrides.constructor != oc ? overrides.constructor : function(){sp.apply(this, arguments);}; - } - var F = function(){}, - sbp, - spp = sp.prototype; - - F.prototype = spp; - sbp = sb.prototype = new F(); - sbp.constructor=sb; - sb.superclass=spp; - if(spp.constructor == oc){ - spp.constructor=sp; - } - sb.override = function(o){ - Ext.override(sb, o); - }; - sbp.superclass = sbp.supr = (function(){ - return spp; - }); - sbp.override = io; - Ext.override(sb, overrides); - sb.extend = function(o){return Ext.extend(sb, o);}; - return sb; - }; - }(), - - /** - * Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name. - * Usage:
    
    -Ext.override(MyClass, {
    -    newMethod1: function(){
    -        // etc.
    -    },
    -    newMethod2: function(foo){
    -        // etc.
    -    }
    -});
    -
    - * @param {Object} origclass The class to override - * @param {Object} overrides The list of functions to add to origClass. This should be specified as an object literal - * containing one or more methods. - * @method override - */ - override : function(origclass, overrides){ - if(overrides){ - var p = origclass.prototype; - Ext.apply(p, overrides); - if(Ext.isIE && overrides.hasOwnProperty('toString')){ - p.toString = overrides.toString; - } - } - }, - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method namespace - */ - namespace : function(){ - var len1 = arguments.length, - i = 0, - len2, - j, - main, - ns, - sub, - current; - - for(; i < len1; ++i) { - main = arguments[i]; - ns = arguments[i].split('.'); - current = window[ns[0]]; - if (current === undefined) { - current = window[ns[0]] = {}; - } - sub = ns.slice(1); - len2 = sub.length; - for(j = 0; j < len2; ++j) { - current = current[sub[j]] = current[sub[j]] || {}; - } - } - return current; - }, - - /** - * Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value. - * @param {Object} o - * @param {String} pre (optional) A prefix to add to the url encoded string - * @return {String} - */ - urlEncode : function(o, pre){ - var empty, - buf = [], - e = encodeURIComponent; - - Ext.iterate(o, function(key, item){ - empty = Ext.isEmpty(item); - Ext.each(empty ? key : item, function(val){ - buf.push('&', e(key), '=', (!Ext.isEmpty(val) && (val != key || !empty)) ? (Ext.isDate(val) ? Ext.encode(val).replace(/"/g, '') : e(val)) : ''); - }); - }); - if(!pre){ - buf.shift(); - pre = ''; - } - return pre + buf.join(''); - }, - - /** - * Takes an encoded URL and and converts it to an object. Example:
    
    -Ext.urlDecode("foo=1&bar=2"); // returns {foo: "1", bar: "2"}
    -Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); // returns {foo: "1", bar: ["2", "3", "4"]}
    -
    - * @param {String} string - * @param {Boolean} overwrite (optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false). - * @return {Object} A literal with members - */ - urlDecode : function(string, overwrite){ - if(Ext.isEmpty(string)){ - return {}; - } - var obj = {}, - pairs = string.split('&'), - d = decodeURIComponent, - name, - value; - Ext.each(pairs, function(pair) { - pair = pair.split('='); - name = d(pair[0]); - value = d(pair[1]); - obj[name] = overwrite || !obj[name] ? value : - [].concat(obj[name]).concat(value); - }); - return obj; - }, - - /** - * Appends content to the query string of a URL, handling logic for whether to place - * a question mark or ampersand. - * @param {String} url The URL to append to. - * @param {String} s The content to append to the URL. - * @return (String) The resulting URL - */ - urlAppend : function(url, s){ - if(!Ext.isEmpty(s)){ - return url + (url.indexOf('?') === -1 ? '?' : '&') + s; - } - return url; - }, - - /** - * Converts any iterable (numeric indices and a length property) into a true array - * Don't use this on strings. IE doesn't support "abc"[0] which this implementation depends on. - * For strings, use this instead: "abc".match(/./g) => [a,b,c]; - * @param {Iterable} the iterable object to be turned into a true Array. - * @return (Array) array - */ - toArray : function(){ - return isIE ? - function(a, i, j, res){ - res = []; - for(var x = 0, len = a.length; x < len; x++) { - res.push(a[x]); - } - return res.slice(i || 0, j || res.length); - } : - function(a, i, j){ - return Array.prototype.slice.call(a, i || 0, j || a.length); - }; - }(), - - isIterable : function(v){ - //check for array or arguments - if(Ext.isArray(v) || v.callee){ - return true; - } - //check for node list type - if(/NodeList|HTMLCollection/.test(toString.call(v))){ - return true; - } - //NodeList has an item and length property - //IXMLDOMNodeList has nextNode method, needs to be checked first. - return ((typeof v.nextNode != 'undefined' || v.item) && Ext.isNumber(v.length)); - }, - - /** - * Iterates an array calling the supplied function. - * @param {Array/NodeList/Mixed} array The array to be iterated. If this - * argument is not really an array, the supplied function is called once. - * @param {Function} fn The function to be called with each item. If the - * supplied function returns false, iteration stops and this method returns - * the current index. This function is called with - * the following arguments: - *
      - *
    • item : Mixed - *
      The item at the current index - * in the passed array
    • - *
    • index : Number - *
      The current index within the array
    • - *
    • allItems : Array - *
      The array passed as the first - * argument to Ext.each.
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. - * Defaults to the item at the current index - * within the passed array. - * @return See description for the fn parameter. - */ - each : function(array, fn, scope){ - if(Ext.isEmpty(array, true)){ - return; - } - if(!Ext.isIterable(array) || Ext.isPrimitive(array)){ - array = [array]; - } - for(var i = 0, len = array.length; i < len; i++){ - if(fn.call(scope || array[i], array[i], i, array) === false){ - return i; - }; - } - }, - - /** - * Iterates either the elements in an array, or each of the properties in an object. - * Note: If you are only iterating arrays, it is better to call {@link #each}. - * @param {Object/Array} object The object or array to be iterated - * @param {Function} fn The function to be called for each iteration. - * The iteration will stop if the supplied function returns false, or - * all array elements / object properties have been covered. The signature - * varies depending on the type of object being interated: - *
      - *
    • Arrays : (Object item, Number index, Array allItems) - *
      - * When iterating an array, the supplied function is called with each item.
    • - *
    • Objects : (String key, Object value, Object) - *
      - * When iterating an object, the supplied function is called with each key-value pair in - * the object, and the iterated object
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. Defaults to - * the object being iterated. - */ - iterate : function(obj, fn, scope){ - if(Ext.isEmpty(obj)){ - return; - } - if(Ext.isIterable(obj)){ - Ext.each(obj, fn, scope); - return; - }else if(typeof obj == 'object'){ - for(var prop in obj){ - if(obj.hasOwnProperty(prop)){ - if(fn.call(scope || obj, prop, obj[prop], obj) === false){ - return; - }; - } - } - } - }, - - /** - * Return the dom node for the passed String (id), dom node, or Ext.Element. - * Optional 'strict' flag is needed for IE since it can return 'name' and - * 'id' elements by using getElementById. - * Here are some examples: - *
    
    -// gets dom node based on id
    -var elDom = Ext.getDom('elId');
    -// gets dom node based on the dom node
    -var elDom1 = Ext.getDom(elDom);
    -
    -// If we don't know if we are working with an
    -// Ext.Element or a dom node use Ext.getDom
    -function(el){
    -    var dom = Ext.getDom(el);
    -    // do something with the dom node
    -}
    -         * 
    - * Note: the dom node to be found actually needs to exist (be rendered, etc) - * when this method is called to be successful. - * @param {Mixed} el - * @return HTMLElement - */ - getDom : function(el, strict){ - if(!el || !DOC){ - return null; - } - if (el.dom){ - return el.dom; - } else { - if (typeof el == 'string') { - var e = DOC.getElementById(el); - // IE returns elements with the 'name' and 'id' attribute. - // we do a strict check to return the element with only the id attribute - if (e && isIE && strict) { - if (el == e.getAttribute('id')) { - return e; - } else { - return null; - } - } - return e; - } else { - return el; - } - } - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getBody : function(){ - return Ext.get(DOC.body || DOC.documentElement); - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getHead : function() { - var head; - - return function() { - if (head == undefined) { - head = Ext.get(DOC.getElementsByTagName("head")[0]); - } - - return head; - }; - }(), - - /** - * Removes a DOM node from the document. - */ - /** - *

    Removes this element from the document, removes all DOM event listeners, and deletes the cache reference. - * All DOM event listeners are removed from this element. If {@link Ext#enableNestedListenerRemoval} is - * true, then DOM event listeners are also removed from all child nodes. The body node - * will be ignored if passed in.

    - * @param {HTMLElement} node The node to remove - */ - removeNode : isIE && !isIE8 ? function(){ - var d; - return function(n){ - if(n && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - d = d || DOC.createElement('div'); - d.appendChild(n); - d.innerHTML = ''; - delete Ext.elCache[n.id]; - } - }; - }() : function(n){ - if(n && n.parentNode && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - n.parentNode.removeChild(n); - delete Ext.elCache[n.id]; - } - }, - - /** - *

    Returns true if the passed value is empty.

    - *

    The value is deemed to be empty if it is

      - *
    • null
    • - *
    • undefined
    • - *
    • an empty array
    • - *
    • a zero length string (Unless the allowBlank parameter is true)
    • - *
    - * @param {Mixed} value The value to test - * @param {Boolean} allowBlank (optional) true to allow empty strings (defaults to false) - * @return {Boolean} - */ - isEmpty : function(v, allowBlank){ - return v === null || v === undefined || ((Ext.isArray(v) && !v.length)) || (!allowBlank ? v === '' : false); - }, - - /** - * Returns true if the passed value is a JavaScript array, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isArray : function(v){ - return toString.apply(v) === '[object Array]'; - }, - - /** - * Returns true if the passed object is a JavaScript date object, otherwise false. - * @param {Object} object The object to test - * @return {Boolean} - */ - isDate : function(v){ - return toString.apply(v) === '[object Date]'; - }, - - /** - * Returns true if the passed value is a JavaScript Object, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isObject : function(v){ - return !!v && Object.prototype.toString.call(v) === '[object Object]'; - }, - - /** - * Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isPrimitive : function(v){ - return Ext.isString(v) || Ext.isNumber(v) || Ext.isBoolean(v); - }, - - /** - * Returns true if the passed value is a JavaScript Function, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isFunction : function(v){ - return toString.apply(v) === '[object Function]'; - }, - - /** - * Returns true if the passed value is a number. Returns false for non-finite numbers. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isNumber : function(v){ - return typeof v === 'number' && isFinite(v); - }, - - /** - * Returns true if the passed value is a string. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isString : function(v){ - return typeof v === 'string'; - }, - - /** - * Returns true if the passed value is a boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isBoolean : function(v){ - return typeof v === 'boolean'; - }, - - /** - * Returns true if the passed value is an HTMLElement - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isElement : function(v) { - return v ? !!v.tagName : false; - }, - - /** - * Returns true if the passed value is not undefined. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isDefined : function(v){ - return typeof v !== 'undefined'; - }, - - /** - * True if the detected browser is Opera. - * @type Boolean - */ - isOpera : isOpera, - /** - * True if the detected browser uses WebKit. - * @type Boolean - */ - isWebKit : isWebKit, - /** - * True if the detected browser is Chrome. - * @type Boolean - */ - isChrome : isChrome, - /** - * True if the detected browser is Safari. - * @type Boolean - */ - isSafari : isSafari, - /** - * True if the detected browser is Safari 3.x. - * @type Boolean - */ - isSafari3 : isSafari3, - /** - * True if the detected browser is Safari 4.x. - * @type Boolean - */ - isSafari4 : isSafari4, - /** - * True if the detected browser is Safari 2.x. - * @type Boolean - */ - isSafari2 : isSafari2, - /** - * True if the detected browser is Internet Explorer. - * @type Boolean - */ - isIE : isIE, - /** - * True if the detected browser is Internet Explorer 6.x. - * @type Boolean - */ - isIE6 : isIE6, - /** - * True if the detected browser is Internet Explorer 7.x. - * @type Boolean - */ - isIE7 : isIE7, - /** - * True if the detected browser is Internet Explorer 8.x. - * @type Boolean - */ - isIE8 : isIE8, - /** - * True if the detected browser is Internet Explorer 9.x. - * @type Boolean - */ - isIE9 : isIE9, - /** - * True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox). - * @type Boolean - */ - isGecko : isGecko, - /** - * True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x). - * @type Boolean - */ - isGecko2 : isGecko2, - /** - * True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x). - * @type Boolean - */ - isGecko3 : isGecko3, - /** - * True if the detected browser is Internet Explorer running in non-strict mode. - * @type Boolean - */ - isBorderBox : isBorderBox, - /** - * True if the detected platform is Linux. - * @type Boolean - */ - isLinux : isLinux, - /** - * True if the detected platform is Windows. - * @type Boolean - */ - isWindows : isWindows, - /** - * True if the detected platform is Mac OS. - * @type Boolean - */ - isMac : isMac, - /** - * True if the detected platform is Adobe Air. - * @type Boolean - */ - isAir : isAir - }); - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method ns - */ - Ext.ns = Ext.namespace; -})(); - -Ext.ns('Ext.util', 'Ext.lib', 'Ext.data', 'Ext.supports'); - -Ext.elCache = {}; - -/** - * @class Function - * These functions are available on every Function object (any JavaScript function). - */ -Ext.apply(Function.prototype, { - /** - * Creates an interceptor function. The passed function is called before the original one. If it returns false, - * the original one is not called. The resulting function returns the results of the original function. - * The passed function is called with the parameters of the original function. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -sayHi('Fred'); // alerts "Hi, Fred"
    -
    -// create a new function that validates input without
    -// directly modifying the original function:
    -var sayHiToFriend = sayHi.createInterceptor(function(name){
    -    return name == 'Brian';
    -});
    -
    -sayHiToFriend('Fred');  // no alert
    -sayHiToFriend('Brian'); // alerts "Hi, Brian"
    -
    - * @param {Function} fcn The function to call before the original - * @param {Object} scope (optional) The scope (this reference) in which the passed function is executed. - * If omitted, defaults to the scope in which the original function is called or the browser window. - * @return {Function} The new function - */ - createInterceptor : function(fcn, scope){ - var method = this; - return !Ext.isFunction(fcn) ? - this : - function() { - var me = this, - args = arguments; - fcn.target = me; - fcn.method = method; - return (fcn.apply(scope || me || window, args) !== false) ? - method.apply(me || window, args) : - null; - }; - }, - - /** - * Creates a callback that passes arguments[0], arguments[1], arguments[2], ... - * Call directly on any function. Example: myFunction.createCallback(arg1, arg2) - * Will create a function that is bound to those 2 args. If a specific scope is required in the - * callback, use {@link #createDelegate} instead. The function returned by createCallback always - * executes in the window scope. - *

    This method is required when you want to pass arguments to a callback function. If no arguments - * are needed, you can simply pass a reference to the function as a callback (e.g., callback: myFn). - * However, if you tried to pass a function with arguments (e.g., callback: myFn(arg1, arg2)) the function - * would simply execute immediately when the code is parsed. Example usage: - *

    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// clicking the button alerts "Hi, Fred"
    -new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody(),
    -    handler: sayHi.createCallback('Fred')
    -});
    -
    - * @return {Function} The new function - */ - createCallback : function(/*args...*/){ - // make args available, in function below - var args = arguments, - method = this; - return function() { - return method.apply(window, args); - }; - }, - - /** - * Creates a delegate (callback) that sets the scope to obj. - * Call directly on any function. Example: this.myFunction.createDelegate(this, [arg1, arg2]) - * Will create a function that is automatically scoped to obj so that the this variable inside the - * callback points to obj. Example usage: - *
    
    -var sayHi = function(name){
    -    // Note this use of "this.text" here.  This function expects to
    -    // execute within a scope that contains a text property.  In this
    -    // example, the "this" variable is pointing to the btn object that
    -    // was passed in createDelegate below.
    -    alert('Hi, ' + name + '. You clicked the "' + this.text + '" button.');
    -}
    -
    -var btn = new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody()
    -});
    -
    -// This callback will execute in the scope of the
    -// button instance. Clicking the button alerts
    -// "Hi, Fred. You clicked the "Say Hi" button."
    -btn.on('click', sayHi.createDelegate(btn, ['Fred']));
    -
    - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Function} The new function - */ - createDelegate : function(obj, args, appendArgs){ - var method = this; - return function() { - var callArgs = args || arguments; - if (appendArgs === true){ - callArgs = Array.prototype.slice.call(arguments, 0); - callArgs = callArgs.concat(args); - }else if (Ext.isNumber(appendArgs)){ - callArgs = Array.prototype.slice.call(arguments, 0); // copy arguments first - var applyArgs = [appendArgs, 0].concat(args); // create method call params - Array.prototype.splice.apply(callArgs, applyArgs); // splice them in - } - return method.apply(obj || window, callArgs); - }; - }, - - /** - * Calls this function after the number of millseconds specified, optionally in a specific scope. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// executes immediately:
    -sayHi('Fred');
    -
    -// executes after 2 seconds:
    -sayHi.defer(2000, this, ['Fred']);
    -
    -// this syntax is sometimes useful for deferring
    -// execution of an anonymous function:
    -(function(){
    -    alert('Anonymous');
    -}).defer(100);
    -
    - * @param {Number} millis The number of milliseconds for the setTimeout call (if less than or equal to 0 the function is executed immediately) - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Number} The timeout id that can be used with clearTimeout - */ - defer : function(millis, obj, args, appendArgs){ - var fn = this.createDelegate(obj, args, appendArgs); - if(millis > 0){ - return setTimeout(fn, millis); - } - fn(); - return 0; - } -}); - -/** - * @class String - * These functions are available on every String object. - */ -Ext.applyIf(String, { - /** - * Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each - * token must be unique, and must increment in the format {0}, {1}, etc. Example usage: - *
    
    -var cls = 'my-class', text = 'Some text';
    -var s = String.format('<div class="{0}">{1}</div>', cls, text);
    -// s now contains the string: '<div class="my-class">Some text</div>'
    -     * 
    - * @param {String} string The tokenized string to be formatted - * @param {String} value1 The value to replace token {0} - * @param {String} value2 Etc... - * @return {String} The formatted string - * @static - */ - format : function(format){ - var args = Ext.toArray(arguments, 1); - return format.replace(/\{(\d+)\}/g, function(m, i){ - return args[i]; - }); - } -}); - -/** - * @class Array - */ -Ext.applyIf(Array.prototype, { - /** - * Checks whether or not the specified object exists in the array. - * @param {Object} o The object to check for - * @param {Number} from (Optional) The index at which to begin the search - * @return {Number} The index of o in the array (or -1 if it is not found) - */ - indexOf : function(o, from){ - var len = this.length; - from = from || 0; - from += (from < 0) ? len : 0; - for (; from < len; ++from){ - if(this[from] === o){ - return from; - } - } - return -1; - }, - - /** - * Removes the specified object from the array. If the object is not found nothing happens. - * @param {Object} o The object to remove - * @return {Array} this array - */ - remove : function(o){ - var index = this.indexOf(o); - if(index != -1){ - this.splice(index, 1); - } - return this; - } -}); -/** - * @class Ext.util.TaskRunner - * Provides the ability to execute one or more arbitrary tasks in a multithreaded - * manner. Generally, you can use the singleton {@link Ext.TaskMgr} instead, but - * if needed, you can create separate instances of TaskRunner. Any number of - * separate tasks can be started at any time and will run independently of each - * other. Example usage: - *
    
    -// Start a simple clock task that updates a div once per second
    -var updateClock = function(){
    -    Ext.fly('clock').update(new Date().format('g:i:s A'));
    -} 
    -var task = {
    -    run: updateClock,
    -    interval: 1000 //1 second
    -}
    -var runner = new Ext.util.TaskRunner();
    -runner.start(task);
    -
    -// equivalent using TaskMgr
    -Ext.TaskMgr.start({
    -    run: updateClock,
    -    interval: 1000
    -});
    -
    - * 
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * Also see {@link Ext.util.DelayedTask}. - * - * @constructor - * @param {Number} interval (optional) The minimum precision in milliseconds supported by this TaskRunner instance - * (defaults to 10) - */ -Ext.util.TaskRunner = function(interval){ - interval = interval || 10; - var tasks = [], - removeQueue = [], - id = 0, - running = false, - - // private - stopThread = function(){ - running = false; - clearInterval(id); - id = 0; - }, - - // private - startThread = function(){ - if(!running){ - running = true; - id = setInterval(runTasks, interval); - } - }, - - // private - removeTask = function(t){ - removeQueue.push(t); - if(t.onStop){ - t.onStop.apply(t.scope || t); - } - }, - - // private - runTasks = function(){ - var rqLen = removeQueue.length, - now = new Date().getTime(); - - if(rqLen > 0){ - for(var i = 0; i < rqLen; i++){ - tasks.remove(removeQueue[i]); - } - removeQueue = []; - if(tasks.length < 1){ - stopThread(); - return; - } - } - for(var i = 0, t, itime, rt, len = tasks.length; i < len; ++i){ - t = tasks[i]; - itime = now - t.taskRunTime; - if(t.interval <= itime){ - rt = t.run.apply(t.scope || t, t.args || [++t.taskRunCount]); - t.taskRunTime = now; - if(rt === false || t.taskRunCount === t.repeat){ - removeTask(t); - return; - } - } - if(t.duration && t.duration <= (now - t.taskStartTime)){ - removeTask(t); - } - } - }; - - /** - * Starts a new task. - * @method start - * @param {Object} task

    A config object that supports the following properties:

      - *
    • run : Function

      The function to execute each time the task is invoked. The - * function will be called at each interval and passed the args argument if specified, and the - * current invocation count if not.

      - *

      If a particular scope (this reference) is required, be sure to specify it using the scope argument.

      - *

      Return false from this function to terminate the task.

    • - *
    • interval : Number
      The frequency in milliseconds with which the task - * should be invoked.
    • - *
    • args : Array
      (optional) An array of arguments to be passed to the function - * specified by run. If not specified, the current invocation count is passed.
    • - *
    • scope : Object
      (optional) The scope (this reference) in which to execute the - * run function. Defaults to the task config object.
    • - *
    • duration : Number
      (optional) The length of time in milliseconds to invoke - * the task before stopping automatically (defaults to indefinite).
    • - *
    • repeat : Number
      (optional) The number of times to invoke the task before - * stopping automatically (defaults to indefinite).
    • - *

    - *

    Before each invocation, Ext injects the property taskRunCount into the task object so - * that calculations based on the repeat count can be performed.

    - * @return {Object} The task - */ - this.start = function(task){ - tasks.push(task); - task.taskStartTime = new Date().getTime(); - task.taskRunTime = 0; - task.taskRunCount = 0; - startThread(); - return task; - }; - - /** - * Stops an existing running task. - * @method stop - * @param {Object} task The task to stop - * @return {Object} The task - */ - this.stop = function(task){ - removeTask(task); - return task; - }; - - /** - * Stops all tasks that are currently running. - * @method stopAll - */ - this.stopAll = function(){ - stopThread(); - for(var i = 0, len = tasks.length; i < len; i++){ - if(tasks[i].onStop){ - tasks[i].onStop(); - } - } - tasks = []; - removeQueue = []; - }; -}; - -/** - * @class Ext.TaskMgr - * @extends Ext.util.TaskRunner - * A static {@link Ext.util.TaskRunner} instance that can be used to start and stop arbitrary tasks. See - * {@link Ext.util.TaskRunner} for supported methods and task config properties. - *
    
    -// Start a simple clock task that updates a div once per second
    -var task = {
    -    run: function(){
    -        Ext.fly('clock').update(new Date().format('g:i:s A'));
    -    },
    -    interval: 1000 //1 second
    -}
    -Ext.TaskMgr.start(task);
    -
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * @singleton - */ -Ext.TaskMgr = new Ext.util.TaskRunner();if(typeof jQuery == "undefined"){ - throw "Unable to load Ext, jQuery not found."; -} - -(function(){ -var libFlyweight; - -Ext.lib.Dom = { - getViewWidth : function(full){ - // jQuery doesn't report full window size on document query, so max both - return full ? Math.max(jQuery(document).width(),jQuery(window).width()) : jQuery(window).width(); - }, - - getViewHeight : function(full){ - // jQuery doesn't report full window size on document query, so max both - return full ? Math.max(jQuery(document).height(),jQuery(window).height()) : jQuery(window).height(); - }, - - isAncestor : function(p, c){ - var ret = false; - - p = Ext.getDom(p); - c = Ext.getDom(c); - if (p && c) { - if (p.contains) { - return p.contains(c); - } else if (p.compareDocumentPosition) { - return !!(p.compareDocumentPosition(c) & 16); - } else { - while (c = c.parentNode) { - ret = c == p || ret; - } - } - } - return ret; - }, - - getRegion : function(el){ - return Ext.lib.Region.getRegion(el); - }, - - ////////////////////////////////////////////////////////////////////////////////////// - // Use of jQuery.offset() removed to promote consistent behavior across libs. - // JVS 05/23/07 - ////////////////////////////////////////////////////////////////////////////////////// - - getY : function(el){ - return this.getXY(el)[1]; - }, - - getX : function(el){ - return this.getXY(el)[0]; - }, - - getXY : function(el) { - var p, pe, b, scroll, bd = (document.body || document.documentElement); - el = Ext.getDom(el); - - if(el == bd){ - return [0, 0]; - } - - if (el.getBoundingClientRect) { - b = el.getBoundingClientRect(); - scroll = fly(document).getScroll(); - return [Math.round(b.left + scroll.left), Math.round(b.top + scroll.top)]; - } - var x = 0, y = 0; - - p = el; - - var hasAbsolute = fly(el).getStyle("position") == "absolute"; - - while (p) { - - x += p.offsetLeft; - y += p.offsetTop; - - if (!hasAbsolute && fly(p).getStyle("position") == "absolute") { - hasAbsolute = true; - } - - if (Ext.isGecko) { - pe = fly(p); - - var bt = parseInt(pe.getStyle("borderTopWidth"), 10) || 0; - var bl = parseInt(pe.getStyle("borderLeftWidth"), 10) || 0; - - - x += bl; - y += bt; - - - if (p != el && pe.getStyle('overflow') != 'visible') { - x += bl; - y += bt; - } - } - p = p.offsetParent; - } - - if (Ext.isSafari && hasAbsolute) { - x -= bd.offsetLeft; - y -= bd.offsetTop; - } - - if (Ext.isGecko && !hasAbsolute) { - var dbd = fly(bd); - x += parseInt(dbd.getStyle("borderLeftWidth"), 10) || 0; - y += parseInt(dbd.getStyle("borderTopWidth"), 10) || 0; - } - - p = el.parentNode; - while (p && p != bd) { - if (!Ext.isOpera || (p.tagName != 'TR' && fly(p).getStyle("display") != "inline")) { - x -= p.scrollLeft; - y -= p.scrollTop; - } - p = p.parentNode; - } - return [x, y]; - }, - - setXY : function(el, xy){ - el = Ext.fly(el, '_setXY'); - el.position(); - var pts = el.translatePoints(xy); - if(xy[0] !== false){ - el.dom.style.left = pts.left + "px"; - } - if(xy[1] !== false){ - el.dom.style.top = pts.top + "px"; - } - }, - - setX : function(el, x){ - this.setXY(el, [x, false]); - }, - - setY : function(el, y){ - this.setXY(el, [false, y]); - } -}; - -// all lib flyweight calls use their own flyweight to prevent collisions with developer flyweights -function fly(el){ - if(!libFlyweight){ - libFlyweight = new Ext.Element.Flyweight(); - } - libFlyweight.dom = el; - return libFlyweight; -} -Ext.lib.Event = { - getPageX : function(e){ - e = e.browserEvent || e; - return e.pageX; - }, - - getPageY : function(e){ - e = e.browserEvent || e; - return e.pageY; - }, - - getXY : function(e){ - e = e.browserEvent || e; - return [e.pageX, e.pageY]; - }, - - getTarget : function(e){ - return e.target; - }, - - // all Ext events will go through event manager which provides scoping - on : function(el, eventName, fn, scope, override){ - jQuery(el).bind(eventName, fn); - }, - - un : function(el, eventName, fn){ - jQuery(el).unbind(eventName, fn); - }, - - purgeElement : function(el){ - jQuery(el).unbind(); - }, - - preventDefault : function(e){ - e = e.browserEvent || e; - if(e.preventDefault){ - e.preventDefault(); - }else{ - e.returnValue = false; - } - }, - - stopPropagation : function(e){ - e = e.browserEvent || e; - if(e.stopPropagation){ - e.stopPropagation(); - }else{ - e.cancelBubble = true; - } - }, - - stopEvent : function(e){ - this.preventDefault(e); - this.stopPropagation(e); - }, - - onAvailable : function(id, fn, scope){ - var start = new Date(); - var f = function(){ - if(start.getElapsed() > 10000){ - clearInterval(iid); - } - var el = document.getElementById(id); - if(el){ - clearInterval(iid); - fn.call(scope||window, el); - } - }; - var iid = setInterval(f, 50); - }, - - resolveTextNode: Ext.isGecko ? function(node){ - if(!node){ - return; - } - var s = HTMLElement.prototype.toString.call(node); - if(s == '[xpconnect wrapped native prototype]' || s == '[object XULElement]'){ - return; - } - return node.nodeType == 3 ? node.parentNode : node; - } : function(node){ - return node && node.nodeType == 3 ? node.parentNode : node; - }, - - getRelatedTarget: function(ev) { - ev = ev.browserEvent || ev; - var t = ev.relatedTarget; - if (!t) { - if (ev.type == "mouseout") { - t = ev.toElement; - } else if (ev.type == "mouseover") { - t = ev.fromElement; - } - } - - return this.resolveTextNode(t); - } -}; - -Ext.lib.Ajax = function(){ - var createComplete = function(cb){ - return function(xhr, status){ - if((status == 'error' || status == 'timeout') && cb.failure){ - cb.failure.call(cb.scope||window, createResponse(cb, xhr)); - }else if(cb.success){ - cb.success.call(cb.scope||window, createResponse(cb, xhr)); - } - }; - }; - - var createResponse = function(cb, xhr){ - var headerObj = {}, - headerStr, - t, - s; - - try { - headerStr = xhr.getAllResponseHeaders(); - Ext.each(headerStr.replace(/\r\n/g, '\n').split('\n'), function(v){ - t = v.indexOf(':'); - if(t >= 0){ - s = v.substr(0, t).toLowerCase(); - if(v.charAt(t + 1) == ' '){ - ++t; - } - headerObj[s] = v.substr(t + 1); - } - }); - } catch(e) {} - - return { - responseText: xhr.responseText, - responseXML : xhr.responseXML, - argument: cb.argument, - status: xhr.status, - statusText: xhr.statusText, - getResponseHeader : function(header){ - return headerObj[header.toLowerCase()]; - }, - getAllResponseHeaders : function(){ - return headerStr; - } - }; - }; - return { - request : function(method, uri, cb, data, options){ - var o = { - type: method, - url: uri, - data: data, - timeout: cb.timeout, - complete: createComplete(cb) - }; - - if(options){ - var hs = options.headers; - if(options.xmlData){ - o.data = options.xmlData; - o.processData = false; - o.type = (method ? method : (options.method ? options.method : 'POST')); - if (!hs || !hs['Content-Type']){ - o.contentType = 'text/xml'; - } - }else if(options.jsonData){ - o.data = typeof options.jsonData == 'object' ? Ext.encode(options.jsonData) : options.jsonData; - o.processData = false; - o.type = (method ? method : (options.method ? options.method : 'POST')); - if (!hs || !hs['Content-Type']){ - o.contentType = 'application/json'; - } - } - if(hs){ - o.beforeSend = function(xhr){ - for (var h in hs) { - if (hs.hasOwnProperty(h)) { - xhr.setRequestHeader(h, hs[h]); - } - } - }; - } - } - jQuery.ajax(o); - }, - - formRequest : function(form, uri, cb, data, isUpload, sslUri){ - jQuery.ajax({ - type: Ext.getDom(form).method ||'POST', - url: uri, - data: jQuery(form).serialize()+(data?'&'+data:''), - timeout: cb.timeout, - complete: createComplete(cb) - }); - }, - - isCallInProgress : function(trans){ - return false; - }, - - abort : function(trans){ - return false; - }, - - serializeForm : function(form){ - return jQuery(form.dom||form).serialize(); - } - }; -}(); - -Ext.lib.Anim = function(){ - var createAnim = function(cb, scope){ - var animated = true; - return { - stop : function(skipToLast){ - // do nothing - }, - - isAnimated : function(){ - return animated; - }, - - proxyCallback : function(){ - animated = false; - Ext.callback(cb, scope); - } - }; - }; - return { - scroll : function(el, args, duration, easing, cb, scope){ - // scroll anim not supported so just scroll immediately - var anim = createAnim(cb, scope); - el = Ext.getDom(el); - if(typeof args.scroll.to[0] == 'number'){ - el.scrollLeft = args.scroll.to[0]; - } - if(typeof args.scroll.to[1] == 'number'){ - el.scrollTop = args.scroll.to[1]; - } - anim.proxyCallback(); - return anim; - }, - - motion : function(el, args, duration, easing, cb, scope){ - return this.run(el, args, duration, easing, cb, scope); - }, - - color : function(el, args, duration, easing, cb, scope){ - // color anim not supported, so execute callback immediately - var anim = createAnim(cb, scope); - anim.proxyCallback(); - return anim; - }, - - run : function(el, args, duration, easing, cb, scope, type){ - var anim = createAnim(cb, scope), e = Ext.fly(el, '_animrun'); - var o = {}; - for(var k in args){ - switch(k){ // jquery doesn't support, so convert - case 'points': - var by, pts; - e.position(); - if(by = args.points.by){ - var xy = e.getXY(); - pts = e.translatePoints([xy[0]+by[0], xy[1]+by[1]]); - }else{ - pts = e.translatePoints(args.points.to); - } - o.left = pts.left; - o.top = pts.top; - if(!parseInt(e.getStyle('left'), 10)){ // auto bug - e.setLeft(0); - } - if(!parseInt(e.getStyle('top'), 10)){ - e.setTop(0); - } - if(args.points.from){ - e.setXY(args.points.from); - } - break; - case 'width': - o.width = args.width.to; - if (args.width.from) - e.setWidth(args.width.from); - break; - case 'height': - o.height = args.height.to; - if (args.height.from) - e.setHeight(args.height.from); - break; - case 'opacity': - o.opacity = args.opacity.to; - if (args.opacity.from) - e.setOpacity(args.opacity.from); - break; - case 'left': - o.left = args.left.to; - if (args.left.from) - e.setLeft(args.left.from); - break; - case 'top': - o.top = args.top.to; - if (args.top.from) - e.setTop(args.top.from); - break; - // jQuery can't handle callback, scope, and xy arguments, so break here - case 'callback': - case 'scope': - case 'xy': - break; - - default: - o[k] = args[k].to; - if (args[k].from) - e.setStyle(k, args[k].from); - break; - } - } - // TODO: find out about easing plug in? - jQuery(el).animate(o, duration*1000, undefined, anim.proxyCallback); - return anim; - } - }; -}(); - - -Ext.lib.Region = function(t, r, b, l) { - this.top = t; - this[1] = t; - this.right = r; - this.bottom = b; - this.left = l; - this[0] = l; -}; - -Ext.lib.Region.prototype = { - contains : function(region) { - return ( region.left >= this.left && - region.right <= this.right && - region.top >= this.top && - region.bottom <= this.bottom ); - - }, - - getArea : function() { - return ( (this.bottom - this.top) * (this.right - this.left) ); - }, - - intersect : function(region) { - var t = Math.max( this.top, region.top ); - var r = Math.min( this.right, region.right ); - var b = Math.min( this.bottom, region.bottom ); - var l = Math.max( this.left, region.left ); - - if (b >= t && r >= l) { - return new Ext.lib.Region(t, r, b, l); - } else { - return null; - } - }, - union : function(region) { - var t = Math.min( this.top, region.top ); - var r = Math.max( this.right, region.right ); - var b = Math.max( this.bottom, region.bottom ); - var l = Math.min( this.left, region.left ); - - return new Ext.lib.Region(t, r, b, l); - }, - - constrainTo : function(r) { - this.top = this.top.constrain(r.top, r.bottom); - this.bottom = this.bottom.constrain(r.top, r.bottom); - this.left = this.left.constrain(r.left, r.right); - this.right = this.right.constrain(r.left, r.right); - return this; - }, - - adjust : function(t, l, b, r){ - this.top += t; - this.left += l; - this.right += r; - this.bottom += b; - return this; - } -}; - -Ext.lib.Region.getRegion = function(el) { - var p = Ext.lib.Dom.getXY(el); - - var t = p[1]; - var r = p[0] + el.offsetWidth; - var b = p[1] + el.offsetHeight; - var l = p[0]; - - return new Ext.lib.Region(t, r, b, l); -}; - -Ext.lib.Point = function(x, y) { - if (Ext.isArray(x)) { - y = x[1]; - x = x[0]; - } - this.x = this.right = this.left = this[0] = x; - this.y = this.top = this.bottom = this[1] = y; -}; - -Ext.lib.Point.prototype = new Ext.lib.Region(); - -// prevent IE leaks -if(Ext.isIE) { - function fnCleanUp() { - var p = Function.prototype; - delete p.createSequence; - delete p.defer; - delete p.createDelegate; - delete p.createCallback; - delete p.createInterceptor; - - window.detachEvent("onunload", fnCleanUp); - } - window.attachEvent("onunload", fnCleanUp); -} -})(); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/adapter/jquery/ext-jquery-adapter.js b/ext-resources/jslib/ext-3.4.0/adapter/jquery/ext-jquery-adapter.js deleted file mode 100755 index 3b86959..0000000 --- a/ext-resources/jslib/ext-3.4.0/adapter/jquery/ext-jquery-adapter.js +++ /dev/null @@ -1,7 +0,0 @@ -/* - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -window.undefined=window.undefined;Ext={version:"3.4.0",versionDetail:{major:3,minor:4,patch:0}};Ext.apply=function(d,e,b){if(b){Ext.apply(d,b)}if(d&&e&&typeof e=="object"){for(var a in e){d[a]=e[a]}}return d};(function(){var g=0,u=Object.prototype.toString,v=navigator.userAgent.toLowerCase(),A=function(e){return e.test(v)},i=document,n=i.documentMode,l=i.compatMode=="CSS1Compat",C=A(/opera/),h=A(/\bchrome\b/),w=A(/webkit/),z=!h&&A(/safari/),f=z&&A(/applewebkit\/4/),b=z&&A(/version\/3/),D=z&&A(/version\/4/),t=!C&&A(/msie/),r=t&&(A(/msie 7/)||n==7),q=t&&(A(/msie 8/)&&n!=7),p=t&&A(/msie 9/),s=t&&!r&&!q&&!p,o=!w&&A(/gecko/),d=o&&A(/rv:1\.8/),a=o&&A(/rv:1\.9/),x=t&&!l,B=A(/windows|win32/),k=A(/macintosh|mac os x/),j=A(/adobeair/),m=A(/linux/),c=/^https/i.test(window.location.protocol);if(s){try{i.execCommand("BackgroundImageCache",false,true)}catch(y){}}Ext.apply(Ext,{SSL_SECURE_URL:c&&t?'javascript:""':"about:blank",isStrict:l,isSecure:c,isReady:false,enableForcedBoxModel:false,enableGarbageCollector:true,enableListenerCollection:false,enableNestedListenerRemoval:false,USE_NATIVE_JSON:false,applyIf:function(E,F){if(E){for(var e in F){if(!Ext.isDefined(E[e])){E[e]=F[e]}}}return E},id:function(e,E){e=Ext.getDom(e,true)||{};if(!e.id){e.id=(E||"ext-gen")+(++g)}return e.id},extend:function(){var E=function(G){for(var F in G){this[F]=G[F]}};var e=Object.prototype.constructor;return function(L,I,K){if(typeof I=="object"){K=I;I=L;L=K.constructor!=e?K.constructor:function(){I.apply(this,arguments)}}var H=function(){},J,G=I.prototype;H.prototype=G;J=L.prototype=new H();J.constructor=L;L.superclass=G;if(G.constructor==e){G.constructor=I}L.override=function(F){Ext.override(L,F)};J.superclass=J.supr=(function(){return G});J.override=E;Ext.override(L,K);L.extend=function(F){return Ext.extend(L,F)};return L}}(),override:function(e,F){if(F){var E=e.prototype;Ext.apply(E,F);if(Ext.isIE&&F.hasOwnProperty("toString")){E.toString=F.toString}}},namespace:function(){var G=arguments.length,H=0,E,F,e,J,I,K;for(;H0){return setTimeout(d,c)}d();return 0}});Ext.applyIf(String,{format:function(b){var a=Ext.toArray(arguments,1);return b.replace(/\{(\d+)\}/g,function(c,d){return a[d]})}});Ext.applyIf(Array.prototype,{indexOf:function(b,c){var a=this.length;c=c||0;c+=(c<0)?a:0;for(;c0){for(var p=0;p10000){clearInterval(h)}var f=document.getElementById(j);if(f){clearInterval(h);e.call(d||window,f)}};var h=setInterval(g,50)},resolveTextNode:Ext.isGecko?function(e){if(!e){return}var d=HTMLElement.prototype.toString.call(e);if(d=="[xpconnect wrapped native prototype]"||d=="[object XULElement]"){return}return e.nodeType==3?e.parentNode:e}:function(d){return d&&d.nodeType==3?d.parentNode:d},getRelatedTarget:function(e){e=e.browserEvent||e;var d=e.relatedTarget;if(!d){if(e.type=="mouseout"){d=e.toElement}else{if(e.type=="mouseover"){d=e.fromElement}}}return this.resolveTextNode(d)}};Ext.lib.Ajax=function(){var d=function(f){return function(h,g){if((g=="error"||g=="timeout")&&f.failure){f.failure.call(f.scope||window,e(f,h))}else{if(f.success){f.success.call(f.scope||window,e(f,h))}}}};var e=function(f,l){var h={},j,g,i;try{j=l.getAllResponseHeaders();Ext.each(j.replace(/\r\n/g,"\n").split("\n"),function(m){g=m.indexOf(":");if(g>=0){i=m.substr(0,g).toLowerCase();if(m.charAt(g+1)==" "){++g}h[i]=m.substr(g+1)}})}catch(k){}return{responseText:l.responseText,responseXML:l.responseXML,argument:f.argument,status:l.status,statusText:l.statusText,getResponseHeader:function(m){return h[m.toLowerCase()]},getAllResponseHeaders:function(){return j}}};return{request:function(l,i,f,j,g){var k={type:l,url:i,data:j,timeout:f.timeout,complete:d(f)};if(g){var h=g.headers;if(g.xmlData){k.data=g.xmlData;k.processData=false;k.type=(l?l:(g.method?g.method:"POST"));if(!h||!h["Content-Type"]){k.contentType="text/xml"}}else{if(g.jsonData){k.data=typeof g.jsonData=="object"?Ext.encode(g.jsonData):g.jsonData;k.processData=false;k.type=(l?l:(g.method?g.method:"POST"));if(!h||!h["Content-Type"]){k.contentType="application/json"}}}if(h){k.beforeSend=function(n){for(var m in h){if(h.hasOwnProperty(m)){n.setRequestHeader(m,h[m])}}}}}jQuery.ajax(k)},formRequest:function(j,i,g,k,f,h){jQuery.ajax({type:Ext.getDom(j).method||"POST",url:i,data:jQuery(j).serialize()+(k?"&"+k:""),timeout:g.timeout,complete:d(g)})},isCallInProgress:function(f){return false},abort:function(f){return false},serializeForm:function(f){return jQuery(f.dom||f).serialize()}}}();Ext.lib.Anim=function(){var d=function(e,f){var g=true;return{stop:function(h){},isAnimated:function(){return g},proxyCallback:function(){g=false;Ext.callback(e,f)}}};return{scroll:function(h,f,j,k,e,g){var i=d(e,g);h=Ext.getDom(h);if(typeof f.scroll.to[0]=="number"){h.scrollLeft=f.scroll.to[0]}if(typeof f.scroll.to[1]=="number"){h.scrollTop=f.scroll.to[1]}i.proxyCallback();return i},motion:function(h,f,i,j,e,g){return this.run(h,f,i,j,e,g)},color:function(h,f,j,k,e,g){var i=d(e,g);i.proxyCallback();return i},run:function(g,q,j,p,h,s,r){var l=d(h,s),m=Ext.fly(g,"_animrun");var f={};for(var i in q){switch(i){case"points":var n,u;m.position();if(n=q.points.by){var t=m.getXY();u=m.translatePoints([t[0]+n[0],t[1]+n[1]])}else{u=m.translatePoints(q.points.to)}f.left=u.left;f.top=u.top;if(!parseInt(m.getStyle("left"),10)){m.setLeft(0)}if(!parseInt(m.getStyle("top"),10)){m.setTop(0)}if(q.points.from){m.setXY(q.points.from)}break;case"width":f.width=q.width.to;if(q.width.from){m.setWidth(q.width.from)}break;case"height":f.height=q.height.to;if(q.height.from){m.setHeight(q.height.from)}break;case"opacity":f.opacity=q.opacity.to;if(q.opacity.from){m.setOpacity(q.opacity.from)}break;case"left":f.left=q.left.to;if(q.left.from){m.setLeft(q.left.from)}break;case"top":f.top=q.top.to;if(q.top.from){m.setTop(q.top.from)}break;case"callback":case"scope":case"xy":break;default:f[i]=q[i].to;if(q[i].from){m.setStyle(i,q[i].from)}break}}jQuery(g).animate(f,j*1000,undefined,l.proxyCallback);return l}}}();Ext.lib.Region=function(f,g,d,e){this.top=f;this[1]=f;this.right=g;this.bottom=d;this.left=e;this[0]=e};Ext.lib.Region.prototype={contains:function(d){return(d.left>=this.left&&d.right<=this.right&&d.top>=this.top&&d.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(h){var f=Math.max(this.top,h.top);var g=Math.min(this.right,h.right);var d=Math.min(this.bottom,h.bottom);var e=Math.max(this.left,h.left);if(d>=f&&g>=e){return new Ext.lib.Region(f,g,d,e)}else{return null}},union:function(h){var f=Math.min(this.top,h.top);var g=Math.max(this.right,h.right);var d=Math.max(this.bottom,h.bottom);var e=Math.min(this.left,h.left);return new Ext.lib.Region(f,g,d,e)},constrainTo:function(d){this.top=this.top.constrain(d.top,d.bottom);this.bottom=this.bottom.constrain(d.top,d.bottom);this.left=this.left.constrain(d.left,d.right);this.right=this.right.constrain(d.left,d.right);return this},adjust:function(f,e,d,g){this.top+=f;this.left+=e;this.right+=g;this.bottom+=d;return this}};Ext.lib.Region.getRegion=function(g){var i=Ext.lib.Dom.getXY(g);var f=i[1];var h=i[0]+g.offsetWidth;var d=i[1]+g.offsetHeight;var e=i[0];return new Ext.lib.Region(f,h,d,e)};Ext.lib.Point=function(d,e){if(Ext.isArray(d)){e=d[1];d=d[0]}this.x=this.right=this.left=this[0]=d;this.y=this.top=this.bottom=this[1]=e};Ext.lib.Point.prototype=new Ext.lib.Region();if(Ext.isIE){function a(){var d=Function.prototype;delete d.createSequence;delete d.defer;delete d.createDelegate;delete d.createCallback;delete d.createInterceptor;window.detachEvent("onunload",a)}window.attachEvent("onunload",a)}})(); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/adapter/prototype/ext-prototype-adapter-debug.js b/ext-resources/jslib/ext-3.4.0/adapter/prototype/ext-prototype-adapter-debug.js deleted file mode 100755 index d23741b..0000000 --- a/ext-resources/jslib/ext-3.4.0/adapter/prototype/ext-prototype-adapter-debug.js +++ /dev/null @@ -1,1846 +0,0 @@ -/*! - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -// for old browsers -window.undefined = window.undefined; - -/** - * @class Ext - * Ext core utilities and functions. - * @singleton - */ - -Ext = { - /** - * The version of the framework - * @type String - */ - version : '3.4.0', - versionDetail : { - major : 3, - minor : 4, - patch : 0 - } -}; - -/** - * Copies all the properties of config to obj. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @param {Object} defaults A different object that will also be applied for default values - * @return {Object} returns obj - * @member Ext apply - */ -Ext.apply = function(o, c, defaults){ - // no "this" reference for friendly out of scope calls - if(defaults){ - Ext.apply(o, defaults); - } - if(o && c && typeof c == 'object'){ - for(var p in c){ - o[p] = c[p]; - } - } - return o; -}; - -(function(){ - var idSeed = 0, - toString = Object.prototype.toString, - ua = navigator.userAgent.toLowerCase(), - check = function(r){ - return r.test(ua); - }, - DOC = document, - docMode = DOC.documentMode, - isStrict = DOC.compatMode == "CSS1Compat", - isOpera = check(/opera/), - isChrome = check(/\bchrome\b/), - isWebKit = check(/webkit/), - isSafari = !isChrome && check(/safari/), - isSafari2 = isSafari && check(/applewebkit\/4/), // unique to Safari 2 - isSafari3 = isSafari && check(/version\/3/), - isSafari4 = isSafari && check(/version\/4/), - isIE = !isOpera && check(/msie/), - isIE7 = isIE && (check(/msie 7/) || docMode == 7), - isIE8 = isIE && (check(/msie 8/) && docMode != 7), - isIE9 = isIE && check(/msie 9/), - isIE6 = isIE && !isIE7 && !isIE8 && !isIE9, - isGecko = !isWebKit && check(/gecko/), - isGecko2 = isGecko && check(/rv:1\.8/), - isGecko3 = isGecko && check(/rv:1\.9/), - isBorderBox = isIE && !isStrict, - isWindows = check(/windows|win32/), - isMac = check(/macintosh|mac os x/), - isAir = check(/adobeair/), - isLinux = check(/linux/), - isSecure = /^https/i.test(window.location.protocol); - - // remove css image flicker - if(isIE6){ - try{ - DOC.execCommand("BackgroundImageCache", false, true); - }catch(e){} - } - - Ext.apply(Ext, { - /** - * URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent - * the IE insecure content warning ('about:blank', except for IE in secure mode, which is 'javascript:""'). - * @type String - */ - SSL_SECURE_URL : isSecure && isIE ? 'javascript:""' : 'about:blank', - /** - * True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode - * @type Boolean - */ - isStrict : isStrict, - /** - * True if the page is running over SSL - * @type Boolean - */ - isSecure : isSecure, - /** - * True when the document is fully initialized and ready for action - * @type Boolean - */ - isReady : false, - - /** - * True if the {@link Ext.Fx} Class is available - * @type Boolean - * @property enableFx - */ - - /** - * HIGHLY EXPERIMENTAL - * True to force css based border-box model override and turning off javascript based adjustments. This is a - * runtime configuration and must be set before onReady. - * @type Boolean - */ - enableForcedBoxModel : false, - - /** - * True to automatically uncache orphaned Ext.Elements periodically (defaults to true) - * @type Boolean - */ - enableGarbageCollector : true, - - /** - * True to automatically purge event listeners during garbageCollection (defaults to false). - * @type Boolean - */ - enableListenerCollection : false, - - /** - * EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed. - * Currently not optimized for performance. - * @type Boolean - */ - enableNestedListenerRemoval : false, - - /** - * Indicates whether to use native browser parsing for JSON methods. - * This option is ignored if the browser does not support native JSON methods. - * Note: Native JSON methods will not work with objects that have functions. - * Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) - * @type Boolean - */ - USE_NATIVE_JSON : false, - - /** - * Copies all the properties of config to obj if they don't already exist. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @return {Object} returns obj - */ - applyIf : function(o, c){ - if(o){ - for(var p in c){ - if(!Ext.isDefined(o[p])){ - o[p] = c[p]; - } - } - } - return o; - }, - - /** - * Generates unique ids. If the element already has an id, it is unchanged - * @param {Mixed} el (optional) The element to generate an id for - * @param {String} prefix (optional) Id prefix (defaults "ext-gen") - * @return {String} The generated Id. - */ - id : function(el, prefix){ - el = Ext.getDom(el, true) || {}; - if (!el.id) { - el.id = (prefix || "ext-gen") + (++idSeed); - } - return el.id; - }, - - /** - *

    Extends one class to create a subclass and optionally overrides members with the passed literal. This method - * also adds the function "override()" to the subclass that can be used to override members of the class.

    - * For example, to create a subclass of Ext GridPanel: - *
    
    -MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
    -    constructor: function(config) {
    -
    -//      Create configuration for this Grid.
    -        var store = new Ext.data.Store({...});
    -        var colModel = new Ext.grid.ColumnModel({...});
    -
    -//      Create a new config object containing our computed properties
    -//      *plus* whatever was in the config parameter.
    -        config = Ext.apply({
    -            store: store,
    -            colModel: colModel
    -        }, config);
    -
    -        MyGridPanel.superclass.constructor.call(this, config);
    -
    -//      Your postprocessing here
    -    },
    -
    -    yourMethod: function() {
    -        // etc.
    -    }
    -});
    -
    - * - *

    This function also supports a 3-argument call in which the subclass's constructor is - * passed as an argument. In this form, the parameters are as follows:

    - *
      - *
    • subclass : Function
      The subclass constructor.
    • - *
    • superclass : Function
      The constructor of class being extended
    • - *
    • overrides : Object
      A literal with members which are copied into the subclass's - * prototype, and are therefore shared among all instances of the new class.
    • - *
    - * - * @param {Function} superclass The constructor of class being extended. - * @param {Object} overrides

    A literal with members which are copied into the subclass's - * prototype, and are therefore shared between all instances of the new class.

    - *

    This may contain a special member named constructor. This is used - * to define the constructor of the new class, and is returned. If this property is - * not specified, a constructor is generated and returned which just calls the - * superclass's constructor passing on its parameters.

    - *

    It is essential that you call the superclass constructor in any provided constructor. See example code.

    - * @return {Function} The subclass constructor from the overrides parameter, or a generated one if not provided. - */ - extend : function(){ - // inline overrides - var io = function(o){ - for(var m in o){ - this[m] = o[m]; - } - }; - var oc = Object.prototype.constructor; - - return function(sb, sp, overrides){ - if(typeof sp == 'object'){ - overrides = sp; - sp = sb; - sb = overrides.constructor != oc ? overrides.constructor : function(){sp.apply(this, arguments);}; - } - var F = function(){}, - sbp, - spp = sp.prototype; - - F.prototype = spp; - sbp = sb.prototype = new F(); - sbp.constructor=sb; - sb.superclass=spp; - if(spp.constructor == oc){ - spp.constructor=sp; - } - sb.override = function(o){ - Ext.override(sb, o); - }; - sbp.superclass = sbp.supr = (function(){ - return spp; - }); - sbp.override = io; - Ext.override(sb, overrides); - sb.extend = function(o){return Ext.extend(sb, o);}; - return sb; - }; - }(), - - /** - * Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name. - * Usage:
    
    -Ext.override(MyClass, {
    -    newMethod1: function(){
    -        // etc.
    -    },
    -    newMethod2: function(foo){
    -        // etc.
    -    }
    -});
    -
    - * @param {Object} origclass The class to override - * @param {Object} overrides The list of functions to add to origClass. This should be specified as an object literal - * containing one or more methods. - * @method override - */ - override : function(origclass, overrides){ - if(overrides){ - var p = origclass.prototype; - Ext.apply(p, overrides); - if(Ext.isIE && overrides.hasOwnProperty('toString')){ - p.toString = overrides.toString; - } - } - }, - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method namespace - */ - namespace : function(){ - var len1 = arguments.length, - i = 0, - len2, - j, - main, - ns, - sub, - current; - - for(; i < len1; ++i) { - main = arguments[i]; - ns = arguments[i].split('.'); - current = window[ns[0]]; - if (current === undefined) { - current = window[ns[0]] = {}; - } - sub = ns.slice(1); - len2 = sub.length; - for(j = 0; j < len2; ++j) { - current = current[sub[j]] = current[sub[j]] || {}; - } - } - return current; - }, - - /** - * Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value. - * @param {Object} o - * @param {String} pre (optional) A prefix to add to the url encoded string - * @return {String} - */ - urlEncode : function(o, pre){ - var empty, - buf = [], - e = encodeURIComponent; - - Ext.iterate(o, function(key, item){ - empty = Ext.isEmpty(item); - Ext.each(empty ? key : item, function(val){ - buf.push('&', e(key), '=', (!Ext.isEmpty(val) && (val != key || !empty)) ? (Ext.isDate(val) ? Ext.encode(val).replace(/"/g, '') : e(val)) : ''); - }); - }); - if(!pre){ - buf.shift(); - pre = ''; - } - return pre + buf.join(''); - }, - - /** - * Takes an encoded URL and and converts it to an object. Example:
    
    -Ext.urlDecode("foo=1&bar=2"); // returns {foo: "1", bar: "2"}
    -Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); // returns {foo: "1", bar: ["2", "3", "4"]}
    -
    - * @param {String} string - * @param {Boolean} overwrite (optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false). - * @return {Object} A literal with members - */ - urlDecode : function(string, overwrite){ - if(Ext.isEmpty(string)){ - return {}; - } - var obj = {}, - pairs = string.split('&'), - d = decodeURIComponent, - name, - value; - Ext.each(pairs, function(pair) { - pair = pair.split('='); - name = d(pair[0]); - value = d(pair[1]); - obj[name] = overwrite || !obj[name] ? value : - [].concat(obj[name]).concat(value); - }); - return obj; - }, - - /** - * Appends content to the query string of a URL, handling logic for whether to place - * a question mark or ampersand. - * @param {String} url The URL to append to. - * @param {String} s The content to append to the URL. - * @return (String) The resulting URL - */ - urlAppend : function(url, s){ - if(!Ext.isEmpty(s)){ - return url + (url.indexOf('?') === -1 ? '?' : '&') + s; - } - return url; - }, - - /** - * Converts any iterable (numeric indices and a length property) into a true array - * Don't use this on strings. IE doesn't support "abc"[0] which this implementation depends on. - * For strings, use this instead: "abc".match(/./g) => [a,b,c]; - * @param {Iterable} the iterable object to be turned into a true Array. - * @return (Array) array - */ - toArray : function(){ - return isIE ? - function(a, i, j, res){ - res = []; - for(var x = 0, len = a.length; x < len; x++) { - res.push(a[x]); - } - return res.slice(i || 0, j || res.length); - } : - function(a, i, j){ - return Array.prototype.slice.call(a, i || 0, j || a.length); - }; - }(), - - isIterable : function(v){ - //check for array or arguments - if(Ext.isArray(v) || v.callee){ - return true; - } - //check for node list type - if(/NodeList|HTMLCollection/.test(toString.call(v))){ - return true; - } - //NodeList has an item and length property - //IXMLDOMNodeList has nextNode method, needs to be checked first. - return ((typeof v.nextNode != 'undefined' || v.item) && Ext.isNumber(v.length)); - }, - - /** - * Iterates an array calling the supplied function. - * @param {Array/NodeList/Mixed} array The array to be iterated. If this - * argument is not really an array, the supplied function is called once. - * @param {Function} fn The function to be called with each item. If the - * supplied function returns false, iteration stops and this method returns - * the current index. This function is called with - * the following arguments: - *
      - *
    • item : Mixed - *
      The item at the current index - * in the passed array
    • - *
    • index : Number - *
      The current index within the array
    • - *
    • allItems : Array - *
      The array passed as the first - * argument to Ext.each.
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. - * Defaults to the item at the current index - * within the passed array. - * @return See description for the fn parameter. - */ - each : function(array, fn, scope){ - if(Ext.isEmpty(array, true)){ - return; - } - if(!Ext.isIterable(array) || Ext.isPrimitive(array)){ - array = [array]; - } - for(var i = 0, len = array.length; i < len; i++){ - if(fn.call(scope || array[i], array[i], i, array) === false){ - return i; - }; - } - }, - - /** - * Iterates either the elements in an array, or each of the properties in an object. - * Note: If you are only iterating arrays, it is better to call {@link #each}. - * @param {Object/Array} object The object or array to be iterated - * @param {Function} fn The function to be called for each iteration. - * The iteration will stop if the supplied function returns false, or - * all array elements / object properties have been covered. The signature - * varies depending on the type of object being interated: - *
      - *
    • Arrays : (Object item, Number index, Array allItems) - *
      - * When iterating an array, the supplied function is called with each item.
    • - *
    • Objects : (String key, Object value, Object) - *
      - * When iterating an object, the supplied function is called with each key-value pair in - * the object, and the iterated object
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. Defaults to - * the object being iterated. - */ - iterate : function(obj, fn, scope){ - if(Ext.isEmpty(obj)){ - return; - } - if(Ext.isIterable(obj)){ - Ext.each(obj, fn, scope); - return; - }else if(typeof obj == 'object'){ - for(var prop in obj){ - if(obj.hasOwnProperty(prop)){ - if(fn.call(scope || obj, prop, obj[prop], obj) === false){ - return; - }; - } - } - } - }, - - /** - * Return the dom node for the passed String (id), dom node, or Ext.Element. - * Optional 'strict' flag is needed for IE since it can return 'name' and - * 'id' elements by using getElementById. - * Here are some examples: - *
    
    -// gets dom node based on id
    -var elDom = Ext.getDom('elId');
    -// gets dom node based on the dom node
    -var elDom1 = Ext.getDom(elDom);
    -
    -// If we don't know if we are working with an
    -// Ext.Element or a dom node use Ext.getDom
    -function(el){
    -    var dom = Ext.getDom(el);
    -    // do something with the dom node
    -}
    -         * 
    - * Note: the dom node to be found actually needs to exist (be rendered, etc) - * when this method is called to be successful. - * @param {Mixed} el - * @return HTMLElement - */ - getDom : function(el, strict){ - if(!el || !DOC){ - return null; - } - if (el.dom){ - return el.dom; - } else { - if (typeof el == 'string') { - var e = DOC.getElementById(el); - // IE returns elements with the 'name' and 'id' attribute. - // we do a strict check to return the element with only the id attribute - if (e && isIE && strict) { - if (el == e.getAttribute('id')) { - return e; - } else { - return null; - } - } - return e; - } else { - return el; - } - } - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getBody : function(){ - return Ext.get(DOC.body || DOC.documentElement); - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getHead : function() { - var head; - - return function() { - if (head == undefined) { - head = Ext.get(DOC.getElementsByTagName("head")[0]); - } - - return head; - }; - }(), - - /** - * Removes a DOM node from the document. - */ - /** - *

    Removes this element from the document, removes all DOM event listeners, and deletes the cache reference. - * All DOM event listeners are removed from this element. If {@link Ext#enableNestedListenerRemoval} is - * true, then DOM event listeners are also removed from all child nodes. The body node - * will be ignored if passed in.

    - * @param {HTMLElement} node The node to remove - */ - removeNode : isIE && !isIE8 ? function(){ - var d; - return function(n){ - if(n && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - d = d || DOC.createElement('div'); - d.appendChild(n); - d.innerHTML = ''; - delete Ext.elCache[n.id]; - } - }; - }() : function(n){ - if(n && n.parentNode && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - n.parentNode.removeChild(n); - delete Ext.elCache[n.id]; - } - }, - - /** - *

    Returns true if the passed value is empty.

    - *

    The value is deemed to be empty if it is

      - *
    • null
    • - *
    • undefined
    • - *
    • an empty array
    • - *
    • a zero length string (Unless the allowBlank parameter is true)
    • - *
    - * @param {Mixed} value The value to test - * @param {Boolean} allowBlank (optional) true to allow empty strings (defaults to false) - * @return {Boolean} - */ - isEmpty : function(v, allowBlank){ - return v === null || v === undefined || ((Ext.isArray(v) && !v.length)) || (!allowBlank ? v === '' : false); - }, - - /** - * Returns true if the passed value is a JavaScript array, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isArray : function(v){ - return toString.apply(v) === '[object Array]'; - }, - - /** - * Returns true if the passed object is a JavaScript date object, otherwise false. - * @param {Object} object The object to test - * @return {Boolean} - */ - isDate : function(v){ - return toString.apply(v) === '[object Date]'; - }, - - /** - * Returns true if the passed value is a JavaScript Object, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isObject : function(v){ - return !!v && Object.prototype.toString.call(v) === '[object Object]'; - }, - - /** - * Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isPrimitive : function(v){ - return Ext.isString(v) || Ext.isNumber(v) || Ext.isBoolean(v); - }, - - /** - * Returns true if the passed value is a JavaScript Function, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isFunction : function(v){ - return toString.apply(v) === '[object Function]'; - }, - - /** - * Returns true if the passed value is a number. Returns false for non-finite numbers. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isNumber : function(v){ - return typeof v === 'number' && isFinite(v); - }, - - /** - * Returns true if the passed value is a string. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isString : function(v){ - return typeof v === 'string'; - }, - - /** - * Returns true if the passed value is a boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isBoolean : function(v){ - return typeof v === 'boolean'; - }, - - /** - * Returns true if the passed value is an HTMLElement - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isElement : function(v) { - return v ? !!v.tagName : false; - }, - - /** - * Returns true if the passed value is not undefined. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isDefined : function(v){ - return typeof v !== 'undefined'; - }, - - /** - * True if the detected browser is Opera. - * @type Boolean - */ - isOpera : isOpera, - /** - * True if the detected browser uses WebKit. - * @type Boolean - */ - isWebKit : isWebKit, - /** - * True if the detected browser is Chrome. - * @type Boolean - */ - isChrome : isChrome, - /** - * True if the detected browser is Safari. - * @type Boolean - */ - isSafari : isSafari, - /** - * True if the detected browser is Safari 3.x. - * @type Boolean - */ - isSafari3 : isSafari3, - /** - * True if the detected browser is Safari 4.x. - * @type Boolean - */ - isSafari4 : isSafari4, - /** - * True if the detected browser is Safari 2.x. - * @type Boolean - */ - isSafari2 : isSafari2, - /** - * True if the detected browser is Internet Explorer. - * @type Boolean - */ - isIE : isIE, - /** - * True if the detected browser is Internet Explorer 6.x. - * @type Boolean - */ - isIE6 : isIE6, - /** - * True if the detected browser is Internet Explorer 7.x. - * @type Boolean - */ - isIE7 : isIE7, - /** - * True if the detected browser is Internet Explorer 8.x. - * @type Boolean - */ - isIE8 : isIE8, - /** - * True if the detected browser is Internet Explorer 9.x. - * @type Boolean - */ - isIE9 : isIE9, - /** - * True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox). - * @type Boolean - */ - isGecko : isGecko, - /** - * True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x). - * @type Boolean - */ - isGecko2 : isGecko2, - /** - * True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x). - * @type Boolean - */ - isGecko3 : isGecko3, - /** - * True if the detected browser is Internet Explorer running in non-strict mode. - * @type Boolean - */ - isBorderBox : isBorderBox, - /** - * True if the detected platform is Linux. - * @type Boolean - */ - isLinux : isLinux, - /** - * True if the detected platform is Windows. - * @type Boolean - */ - isWindows : isWindows, - /** - * True if the detected platform is Mac OS. - * @type Boolean - */ - isMac : isMac, - /** - * True if the detected platform is Adobe Air. - * @type Boolean - */ - isAir : isAir - }); - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method ns - */ - Ext.ns = Ext.namespace; -})(); - -Ext.ns('Ext.util', 'Ext.lib', 'Ext.data', 'Ext.supports'); - -Ext.elCache = {}; - -/** - * @class Function - * These functions are available on every Function object (any JavaScript function). - */ -Ext.apply(Function.prototype, { - /** - * Creates an interceptor function. The passed function is called before the original one. If it returns false, - * the original one is not called. The resulting function returns the results of the original function. - * The passed function is called with the parameters of the original function. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -sayHi('Fred'); // alerts "Hi, Fred"
    -
    -// create a new function that validates input without
    -// directly modifying the original function:
    -var sayHiToFriend = sayHi.createInterceptor(function(name){
    -    return name == 'Brian';
    -});
    -
    -sayHiToFriend('Fred');  // no alert
    -sayHiToFriend('Brian'); // alerts "Hi, Brian"
    -
    - * @param {Function} fcn The function to call before the original - * @param {Object} scope (optional) The scope (this reference) in which the passed function is executed. - * If omitted, defaults to the scope in which the original function is called or the browser window. - * @return {Function} The new function - */ - createInterceptor : function(fcn, scope){ - var method = this; - return !Ext.isFunction(fcn) ? - this : - function() { - var me = this, - args = arguments; - fcn.target = me; - fcn.method = method; - return (fcn.apply(scope || me || window, args) !== false) ? - method.apply(me || window, args) : - null; - }; - }, - - /** - * Creates a callback that passes arguments[0], arguments[1], arguments[2], ... - * Call directly on any function. Example: myFunction.createCallback(arg1, arg2) - * Will create a function that is bound to those 2 args. If a specific scope is required in the - * callback, use {@link #createDelegate} instead. The function returned by createCallback always - * executes in the window scope. - *

    This method is required when you want to pass arguments to a callback function. If no arguments - * are needed, you can simply pass a reference to the function as a callback (e.g., callback: myFn). - * However, if you tried to pass a function with arguments (e.g., callback: myFn(arg1, arg2)) the function - * would simply execute immediately when the code is parsed. Example usage: - *

    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// clicking the button alerts "Hi, Fred"
    -new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody(),
    -    handler: sayHi.createCallback('Fred')
    -});
    -
    - * @return {Function} The new function - */ - createCallback : function(/*args...*/){ - // make args available, in function below - var args = arguments, - method = this; - return function() { - return method.apply(window, args); - }; - }, - - /** - * Creates a delegate (callback) that sets the scope to obj. - * Call directly on any function. Example: this.myFunction.createDelegate(this, [arg1, arg2]) - * Will create a function that is automatically scoped to obj so that the this variable inside the - * callback points to obj. Example usage: - *
    
    -var sayHi = function(name){
    -    // Note this use of "this.text" here.  This function expects to
    -    // execute within a scope that contains a text property.  In this
    -    // example, the "this" variable is pointing to the btn object that
    -    // was passed in createDelegate below.
    -    alert('Hi, ' + name + '. You clicked the "' + this.text + '" button.');
    -}
    -
    -var btn = new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody()
    -});
    -
    -// This callback will execute in the scope of the
    -// button instance. Clicking the button alerts
    -// "Hi, Fred. You clicked the "Say Hi" button."
    -btn.on('click', sayHi.createDelegate(btn, ['Fred']));
    -
    - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Function} The new function - */ - createDelegate : function(obj, args, appendArgs){ - var method = this; - return function() { - var callArgs = args || arguments; - if (appendArgs === true){ - callArgs = Array.prototype.slice.call(arguments, 0); - callArgs = callArgs.concat(args); - }else if (Ext.isNumber(appendArgs)){ - callArgs = Array.prototype.slice.call(arguments, 0); // copy arguments first - var applyArgs = [appendArgs, 0].concat(args); // create method call params - Array.prototype.splice.apply(callArgs, applyArgs); // splice them in - } - return method.apply(obj || window, callArgs); - }; - }, - - /** - * Calls this function after the number of millseconds specified, optionally in a specific scope. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// executes immediately:
    -sayHi('Fred');
    -
    -// executes after 2 seconds:
    -sayHi.defer(2000, this, ['Fred']);
    -
    -// this syntax is sometimes useful for deferring
    -// execution of an anonymous function:
    -(function(){
    -    alert('Anonymous');
    -}).defer(100);
    -
    - * @param {Number} millis The number of milliseconds for the setTimeout call (if less than or equal to 0 the function is executed immediately) - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Number} The timeout id that can be used with clearTimeout - */ - defer : function(millis, obj, args, appendArgs){ - var fn = this.createDelegate(obj, args, appendArgs); - if(millis > 0){ - return setTimeout(fn, millis); - } - fn(); - return 0; - } -}); - -/** - * @class String - * These functions are available on every String object. - */ -Ext.applyIf(String, { - /** - * Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each - * token must be unique, and must increment in the format {0}, {1}, etc. Example usage: - *
    
    -var cls = 'my-class', text = 'Some text';
    -var s = String.format('<div class="{0}">{1}</div>', cls, text);
    -// s now contains the string: '<div class="my-class">Some text</div>'
    -     * 
    - * @param {String} string The tokenized string to be formatted - * @param {String} value1 The value to replace token {0} - * @param {String} value2 Etc... - * @return {String} The formatted string - * @static - */ - format : function(format){ - var args = Ext.toArray(arguments, 1); - return format.replace(/\{(\d+)\}/g, function(m, i){ - return args[i]; - }); - } -}); - -/** - * @class Array - */ -Ext.applyIf(Array.prototype, { - /** - * Checks whether or not the specified object exists in the array. - * @param {Object} o The object to check for - * @param {Number} from (Optional) The index at which to begin the search - * @return {Number} The index of o in the array (or -1 if it is not found) - */ - indexOf : function(o, from){ - var len = this.length; - from = from || 0; - from += (from < 0) ? len : 0; - for (; from < len; ++from){ - if(this[from] === o){ - return from; - } - } - return -1; - }, - - /** - * Removes the specified object from the array. If the object is not found nothing happens. - * @param {Object} o The object to remove - * @return {Array} this array - */ - remove : function(o){ - var index = this.indexOf(o); - if(index != -1){ - this.splice(index, 1); - } - return this; - } -}); -/** - * @class Ext.util.TaskRunner - * Provides the ability to execute one or more arbitrary tasks in a multithreaded - * manner. Generally, you can use the singleton {@link Ext.TaskMgr} instead, but - * if needed, you can create separate instances of TaskRunner. Any number of - * separate tasks can be started at any time and will run independently of each - * other. Example usage: - *
    
    -// Start a simple clock task that updates a div once per second
    -var updateClock = function(){
    -    Ext.fly('clock').update(new Date().format('g:i:s A'));
    -} 
    -var task = {
    -    run: updateClock,
    -    interval: 1000 //1 second
    -}
    -var runner = new Ext.util.TaskRunner();
    -runner.start(task);
    -
    -// equivalent using TaskMgr
    -Ext.TaskMgr.start({
    -    run: updateClock,
    -    interval: 1000
    -});
    -
    - * 
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * Also see {@link Ext.util.DelayedTask}. - * - * @constructor - * @param {Number} interval (optional) The minimum precision in milliseconds supported by this TaskRunner instance - * (defaults to 10) - */ -Ext.util.TaskRunner = function(interval){ - interval = interval || 10; - var tasks = [], - removeQueue = [], - id = 0, - running = false, - - // private - stopThread = function(){ - running = false; - clearInterval(id); - id = 0; - }, - - // private - startThread = function(){ - if(!running){ - running = true; - id = setInterval(runTasks, interval); - } - }, - - // private - removeTask = function(t){ - removeQueue.push(t); - if(t.onStop){ - t.onStop.apply(t.scope || t); - } - }, - - // private - runTasks = function(){ - var rqLen = removeQueue.length, - now = new Date().getTime(); - - if(rqLen > 0){ - for(var i = 0; i < rqLen; i++){ - tasks.remove(removeQueue[i]); - } - removeQueue = []; - if(tasks.length < 1){ - stopThread(); - return; - } - } - for(var i = 0, t, itime, rt, len = tasks.length; i < len; ++i){ - t = tasks[i]; - itime = now - t.taskRunTime; - if(t.interval <= itime){ - rt = t.run.apply(t.scope || t, t.args || [++t.taskRunCount]); - t.taskRunTime = now; - if(rt === false || t.taskRunCount === t.repeat){ - removeTask(t); - return; - } - } - if(t.duration && t.duration <= (now - t.taskStartTime)){ - removeTask(t); - } - } - }; - - /** - * Starts a new task. - * @method start - * @param {Object} task

    A config object that supports the following properties:

      - *
    • run : Function

      The function to execute each time the task is invoked. The - * function will be called at each interval and passed the args argument if specified, and the - * current invocation count if not.

      - *

      If a particular scope (this reference) is required, be sure to specify it using the scope argument.

      - *

      Return false from this function to terminate the task.

    • - *
    • interval : Number
      The frequency in milliseconds with which the task - * should be invoked.
    • - *
    • args : Array
      (optional) An array of arguments to be passed to the function - * specified by run. If not specified, the current invocation count is passed.
    • - *
    • scope : Object
      (optional) The scope (this reference) in which to execute the - * run function. Defaults to the task config object.
    • - *
    • duration : Number
      (optional) The length of time in milliseconds to invoke - * the task before stopping automatically (defaults to indefinite).
    • - *
    • repeat : Number
      (optional) The number of times to invoke the task before - * stopping automatically (defaults to indefinite).
    • - *

    - *

    Before each invocation, Ext injects the property taskRunCount into the task object so - * that calculations based on the repeat count can be performed.

    - * @return {Object} The task - */ - this.start = function(task){ - tasks.push(task); - task.taskStartTime = new Date().getTime(); - task.taskRunTime = 0; - task.taskRunCount = 0; - startThread(); - return task; - }; - - /** - * Stops an existing running task. - * @method stop - * @param {Object} task The task to stop - * @return {Object} The task - */ - this.stop = function(task){ - removeTask(task); - return task; - }; - - /** - * Stops all tasks that are currently running. - * @method stopAll - */ - this.stopAll = function(){ - stopThread(); - for(var i = 0, len = tasks.length; i < len; i++){ - if(tasks[i].onStop){ - tasks[i].onStop(); - } - } - tasks = []; - removeQueue = []; - }; -}; - -/** - * @class Ext.TaskMgr - * @extends Ext.util.TaskRunner - * A static {@link Ext.util.TaskRunner} instance that can be used to start and stop arbitrary tasks. See - * {@link Ext.util.TaskRunner} for supported methods and task config properties. - *
    
    -// Start a simple clock task that updates a div once per second
    -var task = {
    -    run: function(){
    -        Ext.fly('clock').update(new Date().format('g:i:s A'));
    -    },
    -    interval: 1000 //1 second
    -}
    -Ext.TaskMgr.start(task);
    -
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * @singleton - */ -Ext.TaskMgr = new Ext.util.TaskRunner();(function(){ - -var libFlyweight, - version = Prototype.Version.split('.'), - mouseEnterSupported = (parseInt(version[0], 10) >= 2) || (parseInt(version[1], 10) >= 7) || (parseInt(version[2], 10) >= 1), - mouseCache = {}, - elContains = function(parent, child) { - if(parent && parent.firstChild){ - while(child) { - if(child === parent) { - return true; - } - child = child.parentNode; - if(child && (child.nodeType != 1)) { - child = null; - } - } - } - return false; - }, - checkRelatedTarget = function(e) { - return !elContains(e.currentTarget, Ext.lib.Event.getRelatedTarget(e)); - }; - -Ext.lib.Dom = { - getViewWidth : function(full){ - return full ? this.getDocumentWidth() : this.getViewportWidth(); - }, - - getViewHeight : function(full){ - return full ? this.getDocumentHeight() : this.getViewportHeight(); - }, - - getDocumentHeight: function() { // missing from prototype? - var scrollHeight = (document.compatMode != "CSS1Compat") ? document.body.scrollHeight : document.documentElement.scrollHeight; - return Math.max(scrollHeight, this.getViewportHeight()); - }, - - getDocumentWidth: function() { // missing from prototype? - var scrollWidth = (document.compatMode != "CSS1Compat") ? document.body.scrollWidth : document.documentElement.scrollWidth; - return Math.max(scrollWidth, this.getViewportWidth()); - }, - - getViewportHeight: function() { // missing from prototype? - var height = self.innerHeight; - var mode = document.compatMode; - - if ( (mode || Ext.isIE) && !Ext.isOpera ) { - height = (mode == "CSS1Compat") ? - document.documentElement.clientHeight : // Standards - document.body.clientHeight; // Quirks - } - - return height; - }, - - getViewportWidth: function() { // missing from prototype? - var width = self.innerWidth; // Safari - var mode = document.compatMode; - - if (mode || Ext.isIE) { // IE, Gecko, Opera - width = (mode == "CSS1Compat") ? - document.documentElement.clientWidth : // Standards - document.body.clientWidth; // Quirks - } - return width; - }, - - isAncestor : function(p, c){ // missing from prototype? - var ret = false; - - p = Ext.getDom(p); - c = Ext.getDom(c); - if (p && c) { - if (p.contains) { - return p.contains(c); - } else if (p.compareDocumentPosition) { - return !!(p.compareDocumentPosition(c) & 16); - } else { - while (c = c.parentNode) { - ret = c == p || ret; - } - } - } - return ret; - }, - - getRegion : function(el){ - return Ext.lib.Region.getRegion(el); - }, - - getY : function(el){ - return this.getXY(el)[1]; - }, - - getX : function(el){ - return this.getXY(el)[0]; - }, - - getXY : function(el){ // this initially used Position.cumulativeOffset but it is not accurate enough - var p, pe, b, scroll, bd = (document.body || document.documentElement); - el = Ext.getDom(el); - - if(el == bd){ - return [0, 0]; - } - - if (el.getBoundingClientRect) { - b = el.getBoundingClientRect(); - scroll = fly(document).getScroll(); - return [Math.round(b.left + scroll.left), Math.round(b.top + scroll.top)]; - } - var x = 0, y = 0; - - p = el; - - var hasAbsolute = fly(el).getStyle("position") == "absolute"; - - while (p) { - - x += p.offsetLeft; - y += p.offsetTop; - - if (!hasAbsolute && fly(p).getStyle("position") == "absolute") { - hasAbsolute = true; - } - - if (Ext.isGecko) { - pe = fly(p); - - var bt = parseInt(pe.getStyle("borderTopWidth"), 10) || 0; - var bl = parseInt(pe.getStyle("borderLeftWidth"), 10) || 0; - - - x += bl; - y += bt; - - - if (p != el && pe.getStyle('overflow') != 'visible') { - x += bl; - y += bt; - } - } - p = p.offsetParent; - } - - if (Ext.isSafari && hasAbsolute) { - x -= bd.offsetLeft; - y -= bd.offsetTop; - } - - if (Ext.isGecko && !hasAbsolute) { - var dbd = fly(bd); - x += parseInt(dbd.getStyle("borderLeftWidth"), 10) || 0; - y += parseInt(dbd.getStyle("borderTopWidth"), 10) || 0; - } - - p = el.parentNode; - while (p && p != bd) { - if (!Ext.isOpera || (p.tagName != 'TR' && fly(p).getStyle("display") != "inline")) { - x -= p.scrollLeft; - y -= p.scrollTop; - } - p = p.parentNode; - } - return [x, y]; - }, - - setXY : function(el, xy){ // this initially used Position.cumulativeOffset but it is not accurate enough - el = Ext.fly(el, '_setXY'); - el.position(); - var pts = el.translatePoints(xy); - if(xy[0] !== false){ - el.dom.style.left = pts.left + "px"; - } - if(xy[1] !== false){ - el.dom.style.top = pts.top + "px"; - } - }, - - setX : function(el, x){ - this.setXY(el, [x, false]); - }, - - setY : function(el, y){ - this.setXY(el, [false, y]); - } -}; - -Ext.lib.Event = { - getPageX : function(e){ - return Event.pointerX(e.browserEvent || e); - }, - - getPageY : function(e){ - return Event.pointerY(e.browserEvent || e); - }, - - getXY : function(e){ - e = e.browserEvent || e; - return [Event.pointerX(e), Event.pointerY(e)]; - }, - - getTarget : function(e){ - return Event.element(e.browserEvent || e); - }, - - resolveTextNode: Ext.isGecko ? function(node){ - if(!node){ - return; - } - var s = HTMLElement.prototype.toString.call(node); - if(s == '[xpconnect wrapped native prototype]' || s == '[object XULElement]'){ - return; - } - return node.nodeType == 3 ? node.parentNode : node; - } : function(node){ - return node && node.nodeType == 3 ? node.parentNode : node; - }, - - getRelatedTarget: function(ev) { // missing from prototype? - ev = ev.browserEvent || ev; - var t = ev.relatedTarget; - if (!t) { - if (ev.type == "mouseout") { - t = ev.toElement; - } else if (ev.type == "mouseover") { - t = ev.fromElement; - } - } - - return this.resolveTextNode(t); - }, - - on : function(el, eventName, fn){ - if((eventName == 'mouseenter' || eventName == 'mouseleave') && !mouseEnterSupported){ - var item = mouseCache[el.id] || (mouseCache[el.id] = {}); - item[eventName] = fn; - fn = fn.createInterceptor(checkRelatedTarget); - eventName = (eventName == 'mouseenter') ? 'mouseover' : 'mouseout'; - } - Event.observe(el, eventName, fn, false); - }, - - un : function(el, eventName, fn){ - if((eventName == 'mouseenter' || eventName == 'mouseleave') && !mouseEnterSupported){ - var item = mouseCache[el.id], - ev = item && item[eventName]; - - if(ev){ - fn = ev.fn; - delete item[eventName]; - eventName = (eventName == 'mouseenter') ? 'mouseover' : 'mouseout'; - } - } - Event.stopObserving(el, eventName, fn, false); - }, - - purgeElement : function(el){ - // no equiv? - }, - - preventDefault : function(e){ // missing from prototype? - e = e.browserEvent || e; - if(e.preventDefault) { - e.preventDefault(); - } else { - e.returnValue = false; - } - }, - - stopPropagation : function(e){ // missing from prototype? - e = e.browserEvent || e; - if(e.stopPropagation) { - e.stopPropagation(); - } else { - e.cancelBubble = true; - } - }, - - stopEvent : function(e){ - Event.stop(e.browserEvent || e); - }, - - onAvailable : function(id, fn, scope){ // no equiv - var start = new Date(), iid; - var f = function(){ - if(start.getElapsed() > 10000){ - clearInterval(iid); - } - var el = document.getElementById(id); - if(el){ - clearInterval(iid); - fn.call(scope||window, el); - } - }; - iid = setInterval(f, 50); - } -}; - -Ext.lib.Ajax = function(){ - var createSuccess = function(cb){ - return cb.success ? function(xhr){ - cb.success.call(cb.scope||window, createResponse(cb, xhr)); - } : Ext.emptyFn; - }; - var createFailure = function(cb){ - return cb.failure ? function(xhr){ - cb.failure.call(cb.scope||window, createResponse(cb, xhr)); - } : Ext.emptyFn; - }; - var createResponse = function(cb, xhr){ - var headerObj = {}, - headerStr, - t, - s; - - try { - headerStr = xhr.getAllResponseHeaders(); - Ext.each(headerStr.replace(/\r\n/g, '\n').split('\n'), function(v){ - t = v.indexOf(':'); - if(t >= 0){ - s = v.substr(0, t).toLowerCase(); - if(v.charAt(t + 1) == ' '){ - ++t; - } - headerObj[s] = v.substr(t + 1); - } - }); - } catch(e) {} - - return { - responseText: xhr.responseText, - responseXML : xhr.responseXML, - argument: cb.argument, - status: xhr.status, - statusText: xhr.statusText, - getResponseHeader : function(header){ - return headerObj[header.toLowerCase()]; - }, - getAllResponseHeaders : function(){ - return headerStr; - } - }; - }; - return { - request : function(method, uri, cb, data, options){ - var o = { - method: method, - parameters: data || '', - timeout: cb.timeout, - onSuccess: createSuccess(cb), - onFailure: createFailure(cb) - }; - if(options){ - var hs = options.headers; - if(hs){ - o.requestHeaders = hs; - } - if(options.xmlData){ - method = (method ? method : (options.method ? options.method : 'POST')); - if (!hs || !hs['Content-Type']){ - o.contentType = 'text/xml'; - } - o.postBody = options.xmlData; - delete o.parameters; - } - if(options.jsonData){ - method = (method ? method : (options.method ? options.method : 'POST')); - if (!hs || !hs['Content-Type']){ - o.contentType = 'application/json'; - } - o.postBody = typeof options.jsonData == 'object' ? Ext.encode(options.jsonData) : options.jsonData; - delete o.parameters; - } - } - new Ajax.Request(uri, o); - }, - - formRequest : function(form, uri, cb, data, isUpload, sslUri){ - new Ajax.Request(uri, { - method: Ext.getDom(form).method ||'POST', - parameters: Form.serialize(form)+(data?'&'+data:''), - timeout: cb.timeout, - onSuccess: createSuccess(cb), - onFailure: createFailure(cb) - }); - }, - - isCallInProgress : function(trans){ - return false; - }, - - abort : function(trans){ - return false; - }, - - serializeForm : function(form){ - return Form.serialize(form.dom||form); - } - }; -}(); - - -Ext.lib.Anim = function(){ - - var easings = { - easeOut: function(pos) { - return 1-Math.pow(1-pos,2); - }, - easeIn: function(pos) { - return 1-Math.pow(1-pos,2); - } - }; - var createAnim = function(cb, scope){ - return { - stop : function(skipToLast){ - this.effect.cancel(); - }, - - isAnimated : function(){ - return this.effect.state == 'running'; - }, - - proxyCallback : function(){ - Ext.callback(cb, scope); - } - }; - }; - return { - scroll : function(el, args, duration, easing, cb, scope){ - // not supported so scroll immediately? - var anim = createAnim(cb, scope); - el = Ext.getDom(el); - if(typeof args.scroll.to[0] == 'number'){ - el.scrollLeft = args.scroll.to[0]; - } - if(typeof args.scroll.to[1] == 'number'){ - el.scrollTop = args.scroll.to[1]; - } - anim.proxyCallback(); - return anim; - }, - - motion : function(el, args, duration, easing, cb, scope){ - return this.run(el, args, duration, easing, cb, scope); - }, - - color : function(el, args, duration, easing, cb, scope){ - return this.run(el, args, duration, easing, cb, scope); - }, - - run : function(el, args, duration, easing, cb, scope, type){ - var o = {}; - for(var k in args){ - switch(k){ // scriptaculous doesn't support, so convert these - case 'points': - var by, pts, e = Ext.fly(el, '_animrun'); - e.position(); - if(by = args.points.by){ - var xy = e.getXY(); - pts = e.translatePoints([xy[0]+by[0], xy[1]+by[1]]); - }else{ - pts = e.translatePoints(args.points.to); - } - o.left = pts.left+'px'; - o.top = pts.top+'px'; - break; - case 'width': - o.width = args.width.to+'px'; - break; - case 'height': - o.height = args.height.to+'px'; - break; - case 'opacity': - o.opacity = String(args.opacity.to); - break; - default: - o[k] = String(args[k].to); - break; - } - } - var anim = createAnim(cb, scope); - anim.effect = new Effect.Morph(Ext.id(el), { - duration: duration, - afterFinish: anim.proxyCallback, - transition: easings[easing] || Effect.Transitions.linear, - style: o - }); - return anim; - } - }; -}(); - - -// all lib flyweight calls use their own flyweight to prevent collisions with developer flyweights -function fly(el){ - if(!libFlyweight){ - libFlyweight = new Ext.Element.Flyweight(); - } - libFlyweight.dom = el; - return libFlyweight; -} - -Ext.lib.Region = function(t, r, b, l) { - this.top = t; - this[1] = t; - this.right = r; - this.bottom = b; - this.left = l; - this[0] = l; -}; - -Ext.lib.Region.prototype = { - contains : function(region) { - return ( region.left >= this.left && - region.right <= this.right && - region.top >= this.top && - region.bottom <= this.bottom ); - - }, - - getArea : function() { - return ( (this.bottom - this.top) * (this.right - this.left) ); - }, - - intersect : function(region) { - var t = Math.max( this.top, region.top ); - var r = Math.min( this.right, region.right ); - var b = Math.min( this.bottom, region.bottom ); - var l = Math.max( this.left, region.left ); - - if (b >= t && r >= l) { - return new Ext.lib.Region(t, r, b, l); - } else { - return null; - } - }, - union : function(region) { - var t = Math.min( this.top, region.top ); - var r = Math.max( this.right, region.right ); - var b = Math.max( this.bottom, region.bottom ); - var l = Math.min( this.left, region.left ); - - return new Ext.lib.Region(t, r, b, l); - }, - - constrainTo : function(r) { - this.top = this.top.constrain(r.top, r.bottom); - this.bottom = this.bottom.constrain(r.top, r.bottom); - this.left = this.left.constrain(r.left, r.right); - this.right = this.right.constrain(r.left, r.right); - return this; - }, - - adjust : function(t, l, b, r){ - this.top += t; - this.left += l; - this.right += r; - this.bottom += b; - return this; - } -}; - -Ext.lib.Region.getRegion = function(el) { - var p = Ext.lib.Dom.getXY(el); - - var t = p[1]; - var r = p[0] + el.offsetWidth; - var b = p[1] + el.offsetHeight; - var l = p[0]; - - return new Ext.lib.Region(t, r, b, l); -}; - -Ext.lib.Point = function(x, y) { - if (Ext.isArray(x)) { - y = x[1]; - x = x[0]; - } - this.x = this.right = this.left = this[0] = x; - this.y = this.top = this.bottom = this[1] = y; -}; - -Ext.lib.Point.prototype = new Ext.lib.Region(); - - -// prevent IE leaks -if(Ext.isIE) { - function fnCleanUp() { - var p = Function.prototype; - delete p.createSequence; - delete p.defer; - delete p.createDelegate; - delete p.createCallback; - delete p.createInterceptor; - - window.detachEvent("onunload", fnCleanUp); - } - window.attachEvent("onunload", fnCleanUp); -} -})(); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/adapter/prototype/ext-prototype-adapter.js b/ext-resources/jslib/ext-3.4.0/adapter/prototype/ext-prototype-adapter.js deleted file mode 100755 index eb1ebb8..0000000 --- a/ext-resources/jslib/ext-3.4.0/adapter/prototype/ext-prototype-adapter.js +++ /dev/null @@ -1,7 +0,0 @@ -/* - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -window.undefined=window.undefined;Ext={version:"3.4.0",versionDetail:{major:3,minor:4,patch:0}};Ext.apply=function(d,e,b){if(b){Ext.apply(d,b)}if(d&&e&&typeof e=="object"){for(var a in e){d[a]=e[a]}}return d};(function(){var g=0,u=Object.prototype.toString,v=navigator.userAgent.toLowerCase(),A=function(e){return e.test(v)},i=document,n=i.documentMode,l=i.compatMode=="CSS1Compat",C=A(/opera/),h=A(/\bchrome\b/),w=A(/webkit/),z=!h&&A(/safari/),f=z&&A(/applewebkit\/4/),b=z&&A(/version\/3/),D=z&&A(/version\/4/),t=!C&&A(/msie/),r=t&&(A(/msie 7/)||n==7),q=t&&(A(/msie 8/)&&n!=7),p=t&&A(/msie 9/),s=t&&!r&&!q&&!p,o=!w&&A(/gecko/),d=o&&A(/rv:1\.8/),a=o&&A(/rv:1\.9/),x=t&&!l,B=A(/windows|win32/),k=A(/macintosh|mac os x/),j=A(/adobeair/),m=A(/linux/),c=/^https/i.test(window.location.protocol);if(s){try{i.execCommand("BackgroundImageCache",false,true)}catch(y){}}Ext.apply(Ext,{SSL_SECURE_URL:c&&t?'javascript:""':"about:blank",isStrict:l,isSecure:c,isReady:false,enableForcedBoxModel:false,enableGarbageCollector:true,enableListenerCollection:false,enableNestedListenerRemoval:false,USE_NATIVE_JSON:false,applyIf:function(E,F){if(E){for(var e in F){if(!Ext.isDefined(E[e])){E[e]=F[e]}}}return E},id:function(e,E){e=Ext.getDom(e,true)||{};if(!e.id){e.id=(E||"ext-gen")+(++g)}return e.id},extend:function(){var E=function(G){for(var F in G){this[F]=G[F]}};var e=Object.prototype.constructor;return function(L,I,K){if(typeof I=="object"){K=I;I=L;L=K.constructor!=e?K.constructor:function(){I.apply(this,arguments)}}var H=function(){},J,G=I.prototype;H.prototype=G;J=L.prototype=new H();J.constructor=L;L.superclass=G;if(G.constructor==e){G.constructor=I}L.override=function(F){Ext.override(L,F)};J.superclass=J.supr=(function(){return G});J.override=E;Ext.override(L,K);L.extend=function(F){return Ext.extend(L,F)};return L}}(),override:function(e,F){if(F){var E=e.prototype;Ext.apply(E,F);if(Ext.isIE&&F.hasOwnProperty("toString")){E.toString=F.toString}}},namespace:function(){var G=arguments.length,H=0,E,F,e,J,I,K;for(;H0){return setTimeout(d,c)}d();return 0}});Ext.applyIf(String,{format:function(b){var a=Ext.toArray(arguments,1);return b.replace(/\{(\d+)\}/g,function(c,d){return a[d]})}});Ext.applyIf(Array.prototype,{indexOf:function(b,c){var a=this.length;c=c||0;c+=(c<0)?a:0;for(;c0){for(var p=0;p=2)||(parseInt(a[1],10)>=7)||(parseInt(a[2],10)>=1),g={},d=function(i,j){if(i&&i.firstChild){while(j){if(j===i){return true}j=j.parentNode;if(j&&(j.nodeType!=1)){j=null}}}return false},b=function(i){return !d(i.currentTarget,Ext.lib.Event.getRelatedTarget(i))};Ext.lib.Dom={getViewWidth:function(i){return i?this.getDocumentWidth():this.getViewportWidth()},getViewHeight:function(i){return i?this.getDocumentHeight():this.getViewportHeight()},getDocumentHeight:function(){var i=(document.compatMode!="CSS1Compat")?document.body.scrollHeight:document.documentElement.scrollHeight;return Math.max(i,this.getViewportHeight())},getDocumentWidth:function(){var i=(document.compatMode!="CSS1Compat")?document.body.scrollWidth:document.documentElement.scrollWidth;return Math.max(i,this.getViewportWidth())},getViewportHeight:function(){var i=self.innerHeight;var j=document.compatMode;if((j||Ext.isIE)&&!Ext.isOpera){i=(j=="CSS1Compat")?document.documentElement.clientHeight:document.body.clientHeight}return i},getViewportWidth:function(){var i=self.innerWidth;var j=document.compatMode;if(j||Ext.isIE){i=(j=="CSS1Compat")?document.documentElement.clientWidth:document.body.clientWidth}return i},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},getRegion:function(i){return Ext.lib.Region.getRegion(i)},getY:function(i){return this.getXY(i)[1]},getX:function(i){return this.getXY(i)[0]},getXY:function(k){var j,o,r,s,n=(document.body||document.documentElement);k=Ext.getDom(k);if(k==n){return[0,0]}if(k.getBoundingClientRect){r=k.getBoundingClientRect();s=f(document).getScroll();return[Math.round(r.left+s.left),Math.round(r.top+s.top)]}var t=0,q=0;j=k;var i=f(k).getStyle("position")=="absolute";while(j){t+=j.offsetLeft;q+=j.offsetTop;if(!i&&f(j).getStyle("position")=="absolute"){i=true}if(Ext.isGecko){o=f(j);var u=parseInt(o.getStyle("borderTopWidth"),10)||0;var l=parseInt(o.getStyle("borderLeftWidth"),10)||0;t+=l;q+=u;if(j!=k&&o.getStyle("overflow")!="visible"){t+=l;q+=u}}j=j.offsetParent}if(Ext.isSafari&&i){t-=n.offsetLeft;q-=n.offsetTop}if(Ext.isGecko&&!i){var m=f(n);t+=parseInt(m.getStyle("borderLeftWidth"),10)||0;q+=parseInt(m.getStyle("borderTopWidth"),10)||0}j=k.parentNode;while(j&&j!=n){if(!Ext.isOpera||(j.tagName!="TR"&&f(j).getStyle("display")!="inline")){t-=j.scrollLeft;q-=j.scrollTop}j=j.parentNode}return[t,q]},setXY:function(i,j){i=Ext.fly(i,"_setXY");i.position();var k=i.translatePoints(j);if(j[0]!==false){i.dom.style.left=k.left+"px"}if(j[1]!==false){i.dom.style.top=k.top+"px"}},setX:function(j,i){this.setXY(j,[i,false])},setY:function(i,j){this.setXY(i,[false,j])}};Ext.lib.Event={getPageX:function(i){return Event.pointerX(i.browserEvent||i)},getPageY:function(i){return Event.pointerY(i.browserEvent||i)},getXY:function(i){i=i.browserEvent||i;return[Event.pointerX(i),Event.pointerY(i)]},getTarget:function(i){return Event.element(i.browserEvent||i)},resolveTextNode:Ext.isGecko?function(j){if(!j){return}var i=HTMLElement.prototype.toString.call(j);if(i=="[xpconnect wrapped native prototype]"||i=="[object XULElement]"){return}return j.nodeType==3?j.parentNode:j}:function(i){return i&&i.nodeType==3?i.parentNode:i},getRelatedTarget:function(j){j=j.browserEvent||j;var i=j.relatedTarget;if(!i){if(j.type=="mouseout"){i=j.toElement}else{if(j.type=="mouseover"){i=j.fromElement}}}return this.resolveTextNode(i)},on:function(k,i,j){if((i=="mouseenter"||i=="mouseleave")&&!h){var l=g[k.id]||(g[k.id]={});l[i]=j;j=j.createInterceptor(b);i=(i=="mouseenter")?"mouseover":"mouseout"}Event.observe(k,i,j,false)},un:function(k,i,j){if((i=="mouseenter"||i=="mouseleave")&&!h){var m=g[k.id],l=m&&m[i];if(l){j=l.fn;delete m[i];i=(i=="mouseenter")?"mouseover":"mouseout"}}Event.stopObserving(k,i,j,false)},purgeElement:function(i){},preventDefault:function(i){i=i.browserEvent||i;if(i.preventDefault){i.preventDefault()}else{i.returnValue=false}},stopPropagation:function(i){i=i.browserEvent||i;if(i.stopPropagation){i.stopPropagation()}else{i.cancelBubble=true}},stopEvent:function(i){Event.stop(i.browserEvent||i)},onAvailable:function(n,j,i){var m=new Date(),l;var k=function(){if(m.getElapsed()>10000){clearInterval(l)}var o=document.getElementById(n);if(o){clearInterval(l);j.call(i||window,o)}};l=setInterval(k,50)}};Ext.lib.Ajax=function(){var k=function(l){return l.success?function(m){l.success.call(l.scope||window,i(l,m))}:Ext.emptyFn};var j=function(l){return l.failure?function(m){l.failure.call(l.scope||window,i(l,m))}:Ext.emptyFn};var i=function(l,r){var n={},p,m,o;try{p=r.getAllResponseHeaders();Ext.each(p.replace(/\r\n/g,"\n").split("\n"),function(s){m=s.indexOf(":");if(m>=0){o=s.substr(0,m).toLowerCase();if(s.charAt(m+1)==" "){++m}n[o]=s.substr(m+1)}})}catch(q){}return{responseText:r.responseText,responseXML:r.responseXML,argument:l.argument,status:r.status,statusText:r.statusText,getResponseHeader:function(s){return n[s.toLowerCase()]},getAllResponseHeaders:function(){return p}}};return{request:function(s,p,l,q,m){var r={method:s,parameters:q||"",timeout:l.timeout,onSuccess:k(l),onFailure:j(l)};if(m){var n=m.headers;if(n){r.requestHeaders=n}if(m.xmlData){s=(s?s:(m.method?m.method:"POST"));if(!n||!n["Content-Type"]){r.contentType="text/xml"}r.postBody=m.xmlData;delete r.parameters}if(m.jsonData){s=(s?s:(m.method?m.method:"POST"));if(!n||!n["Content-Type"]){r.contentType="application/json"}r.postBody=typeof m.jsonData=="object"?Ext.encode(m.jsonData):m.jsonData;delete r.parameters}}new Ajax.Request(p,r)},formRequest:function(p,o,m,q,l,n){new Ajax.Request(o,{method:Ext.getDom(p).method||"POST",parameters:Form.serialize(p)+(q?"&"+q:""),timeout:m.timeout,onSuccess:k(m),onFailure:j(m)})},isCallInProgress:function(l){return false},abort:function(l){return false},serializeForm:function(l){return Form.serialize(l.dom||l)}}}();Ext.lib.Anim=function(){var i={easeOut:function(k){return 1-Math.pow(1-k,2)},easeIn:function(k){return 1-Math.pow(1-k,2)}};var j=function(k,l){return{stop:function(m){this.effect.cancel()},isAnimated:function(){return this.effect.state=="running"},proxyCallback:function(){Ext.callback(k,l)}}};return{scroll:function(n,l,p,q,k,m){var o=j(k,m);n=Ext.getDom(n);if(typeof l.scroll.to[0]=="number"){n.scrollLeft=l.scroll.to[0]}if(typeof l.scroll.to[1]=="number"){n.scrollTop=l.scroll.to[1]}o.proxyCallback();return o},motion:function(n,l,o,p,k,m){return this.run(n,l,o,p,k,m)},color:function(n,l,o,p,k,m){return this.run(n,l,o,p,k,m)},run:function(m,v,r,u,n,x,w){var l={};for(var q in v){switch(q){case"points":var t,z,s=Ext.fly(m,"_animrun");s.position();if(t=v.points.by){var y=s.getXY();z=s.translatePoints([y[0]+t[0],y[1]+t[1]])}else{z=s.translatePoints(v.points.to)}l.left=z.left+"px";l.top=z.top+"px";break;case"width":l.width=v.width.to+"px";break;case"height":l.height=v.height.to+"px";break;case"opacity":l.opacity=String(v.opacity.to);break;default:l[q]=String(v[q].to);break}}var p=j(n,x);p.effect=new Effect.Morph(Ext.id(m),{duration:r,afterFinish:p.proxyCallback,transition:i[u]||Effect.Transitions.linear,style:l});return p}}}();function f(i){if(!e){e=new Ext.Element.Flyweight()}e.dom=i;return e}Ext.lib.Region=function(k,m,i,j){this.top=k;this[1]=k;this.right=m;this.bottom=i;this.left=j;this[0]=j};Ext.lib.Region.prototype={contains:function(i){return(i.left>=this.left&&i.right<=this.right&&i.top>=this.top&&i.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(n){var k=Math.max(this.top,n.top);var m=Math.min(this.right,n.right);var i=Math.min(this.bottom,n.bottom);var j=Math.max(this.left,n.left);if(i>=k&&m>=j){return new Ext.lib.Region(k,m,i,j)}else{return null}},union:function(n){var k=Math.min(this.top,n.top);var m=Math.max(this.right,n.right);var i=Math.max(this.bottom,n.bottom);var j=Math.min(this.left,n.left);return new Ext.lib.Region(k,m,i,j)},constrainTo:function(i){this.top=this.top.constrain(i.top,i.bottom);this.bottom=this.bottom.constrain(i.top,i.bottom);this.left=this.left.constrain(i.left,i.right);this.right=this.right.constrain(i.left,i.right);return this},adjust:function(k,j,i,m){this.top+=k;this.left+=j;this.right+=m;this.bottom+=i;return this}};Ext.lib.Region.getRegion=function(m){var o=Ext.lib.Dom.getXY(m);var k=o[1];var n=o[0]+m.offsetWidth;var i=o[1]+m.offsetHeight;var j=o[0];return new Ext.lib.Region(k,n,i,j)};Ext.lib.Point=function(i,j){if(Ext.isArray(i)){j=i[1];i=i[0]}this.x=this.right=this.left=this[0]=i;this.y=this.top=this.bottom=this[1]=j};Ext.lib.Point.prototype=new Ext.lib.Region();if(Ext.isIE){function c(){var i=Function.prototype;delete i.createSequence;delete i.defer;delete i.createDelegate;delete i.createCallback;delete i.createInterceptor;window.detachEvent("onunload",c)}window.attachEvent("onunload",c)}})(); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/adapter/yui/ext-yui-adapter-debug.js b/ext-resources/jslib/ext-3.4.0/adapter/yui/ext-yui-adapter-debug.js deleted file mode 100755 index 621ad03..0000000 --- a/ext-resources/jslib/ext-3.4.0/adapter/yui/ext-yui-adapter-debug.js +++ /dev/null @@ -1,1612 +0,0 @@ -/*! - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -// for old browsers -window.undefined = window.undefined; - -/** - * @class Ext - * Ext core utilities and functions. - * @singleton - */ - -Ext = { - /** - * The version of the framework - * @type String - */ - version : '3.4.0', - versionDetail : { - major : 3, - minor : 4, - patch : 0 - } -}; - -/** - * Copies all the properties of config to obj. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @param {Object} defaults A different object that will also be applied for default values - * @return {Object} returns obj - * @member Ext apply - */ -Ext.apply = function(o, c, defaults){ - // no "this" reference for friendly out of scope calls - if(defaults){ - Ext.apply(o, defaults); - } - if(o && c && typeof c == 'object'){ - for(var p in c){ - o[p] = c[p]; - } - } - return o; -}; - -(function(){ - var idSeed = 0, - toString = Object.prototype.toString, - ua = navigator.userAgent.toLowerCase(), - check = function(r){ - return r.test(ua); - }, - DOC = document, - docMode = DOC.documentMode, - isStrict = DOC.compatMode == "CSS1Compat", - isOpera = check(/opera/), - isChrome = check(/\bchrome\b/), - isWebKit = check(/webkit/), - isSafari = !isChrome && check(/safari/), - isSafari2 = isSafari && check(/applewebkit\/4/), // unique to Safari 2 - isSafari3 = isSafari && check(/version\/3/), - isSafari4 = isSafari && check(/version\/4/), - isIE = !isOpera && check(/msie/), - isIE7 = isIE && (check(/msie 7/) || docMode == 7), - isIE8 = isIE && (check(/msie 8/) && docMode != 7), - isIE9 = isIE && check(/msie 9/), - isIE6 = isIE && !isIE7 && !isIE8 && !isIE9, - isGecko = !isWebKit && check(/gecko/), - isGecko2 = isGecko && check(/rv:1\.8/), - isGecko3 = isGecko && check(/rv:1\.9/), - isBorderBox = isIE && !isStrict, - isWindows = check(/windows|win32/), - isMac = check(/macintosh|mac os x/), - isAir = check(/adobeair/), - isLinux = check(/linux/), - isSecure = /^https/i.test(window.location.protocol); - - // remove css image flicker - if(isIE6){ - try{ - DOC.execCommand("BackgroundImageCache", false, true); - }catch(e){} - } - - Ext.apply(Ext, { - /** - * URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent - * the IE insecure content warning ('about:blank', except for IE in secure mode, which is 'javascript:""'). - * @type String - */ - SSL_SECURE_URL : isSecure && isIE ? 'javascript:""' : 'about:blank', - /** - * True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode - * @type Boolean - */ - isStrict : isStrict, - /** - * True if the page is running over SSL - * @type Boolean - */ - isSecure : isSecure, - /** - * True when the document is fully initialized and ready for action - * @type Boolean - */ - isReady : false, - - /** - * True if the {@link Ext.Fx} Class is available - * @type Boolean - * @property enableFx - */ - - /** - * HIGHLY EXPERIMENTAL - * True to force css based border-box model override and turning off javascript based adjustments. This is a - * runtime configuration and must be set before onReady. - * @type Boolean - */ - enableForcedBoxModel : false, - - /** - * True to automatically uncache orphaned Ext.Elements periodically (defaults to true) - * @type Boolean - */ - enableGarbageCollector : true, - - /** - * True to automatically purge event listeners during garbageCollection (defaults to false). - * @type Boolean - */ - enableListenerCollection : false, - - /** - * EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed. - * Currently not optimized for performance. - * @type Boolean - */ - enableNestedListenerRemoval : false, - - /** - * Indicates whether to use native browser parsing for JSON methods. - * This option is ignored if the browser does not support native JSON methods. - * Note: Native JSON methods will not work with objects that have functions. - * Also, property names must be quoted, otherwise the data will not parse. (Defaults to false) - * @type Boolean - */ - USE_NATIVE_JSON : false, - - /** - * Copies all the properties of config to obj if they don't already exist. - * @param {Object} obj The receiver of the properties - * @param {Object} config The source of the properties - * @return {Object} returns obj - */ - applyIf : function(o, c){ - if(o){ - for(var p in c){ - if(!Ext.isDefined(o[p])){ - o[p] = c[p]; - } - } - } - return o; - }, - - /** - * Generates unique ids. If the element already has an id, it is unchanged - * @param {Mixed} el (optional) The element to generate an id for - * @param {String} prefix (optional) Id prefix (defaults "ext-gen") - * @return {String} The generated Id. - */ - id : function(el, prefix){ - el = Ext.getDom(el, true) || {}; - if (!el.id) { - el.id = (prefix || "ext-gen") + (++idSeed); - } - return el.id; - }, - - /** - *

    Extends one class to create a subclass and optionally overrides members with the passed literal. This method - * also adds the function "override()" to the subclass that can be used to override members of the class.

    - * For example, to create a subclass of Ext GridPanel: - *
    
    -MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
    -    constructor: function(config) {
    -
    -//      Create configuration for this Grid.
    -        var store = new Ext.data.Store({...});
    -        var colModel = new Ext.grid.ColumnModel({...});
    -
    -//      Create a new config object containing our computed properties
    -//      *plus* whatever was in the config parameter.
    -        config = Ext.apply({
    -            store: store,
    -            colModel: colModel
    -        }, config);
    -
    -        MyGridPanel.superclass.constructor.call(this, config);
    -
    -//      Your postprocessing here
    -    },
    -
    -    yourMethod: function() {
    -        // etc.
    -    }
    -});
    -
    - * - *

    This function also supports a 3-argument call in which the subclass's constructor is - * passed as an argument. In this form, the parameters are as follows:

    - *
      - *
    • subclass : Function
      The subclass constructor.
    • - *
    • superclass : Function
      The constructor of class being extended
    • - *
    • overrides : Object
      A literal with members which are copied into the subclass's - * prototype, and are therefore shared among all instances of the new class.
    • - *
    - * - * @param {Function} superclass The constructor of class being extended. - * @param {Object} overrides

    A literal with members which are copied into the subclass's - * prototype, and are therefore shared between all instances of the new class.

    - *

    This may contain a special member named constructor. This is used - * to define the constructor of the new class, and is returned. If this property is - * not specified, a constructor is generated and returned which just calls the - * superclass's constructor passing on its parameters.

    - *

    It is essential that you call the superclass constructor in any provided constructor. See example code.

    - * @return {Function} The subclass constructor from the overrides parameter, or a generated one if not provided. - */ - extend : function(){ - // inline overrides - var io = function(o){ - for(var m in o){ - this[m] = o[m]; - } - }; - var oc = Object.prototype.constructor; - - return function(sb, sp, overrides){ - if(typeof sp == 'object'){ - overrides = sp; - sp = sb; - sb = overrides.constructor != oc ? overrides.constructor : function(){sp.apply(this, arguments);}; - } - var F = function(){}, - sbp, - spp = sp.prototype; - - F.prototype = spp; - sbp = sb.prototype = new F(); - sbp.constructor=sb; - sb.superclass=spp; - if(spp.constructor == oc){ - spp.constructor=sp; - } - sb.override = function(o){ - Ext.override(sb, o); - }; - sbp.superclass = sbp.supr = (function(){ - return spp; - }); - sbp.override = io; - Ext.override(sb, overrides); - sb.extend = function(o){return Ext.extend(sb, o);}; - return sb; - }; - }(), - - /** - * Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name. - * Usage:
    
    -Ext.override(MyClass, {
    -    newMethod1: function(){
    -        // etc.
    -    },
    -    newMethod2: function(foo){
    -        // etc.
    -    }
    -});
    -
    - * @param {Object} origclass The class to override - * @param {Object} overrides The list of functions to add to origClass. This should be specified as an object literal - * containing one or more methods. - * @method override - */ - override : function(origclass, overrides){ - if(overrides){ - var p = origclass.prototype; - Ext.apply(p, overrides); - if(Ext.isIE && overrides.hasOwnProperty('toString')){ - p.toString = overrides.toString; - } - } - }, - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method namespace - */ - namespace : function(){ - var len1 = arguments.length, - i = 0, - len2, - j, - main, - ns, - sub, - current; - - for(; i < len1; ++i) { - main = arguments[i]; - ns = arguments[i].split('.'); - current = window[ns[0]]; - if (current === undefined) { - current = window[ns[0]] = {}; - } - sub = ns.slice(1); - len2 = sub.length; - for(j = 0; j < len2; ++j) { - current = current[sub[j]] = current[sub[j]] || {}; - } - } - return current; - }, - - /** - * Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value. - * @param {Object} o - * @param {String} pre (optional) A prefix to add to the url encoded string - * @return {String} - */ - urlEncode : function(o, pre){ - var empty, - buf = [], - e = encodeURIComponent; - - Ext.iterate(o, function(key, item){ - empty = Ext.isEmpty(item); - Ext.each(empty ? key : item, function(val){ - buf.push('&', e(key), '=', (!Ext.isEmpty(val) && (val != key || !empty)) ? (Ext.isDate(val) ? Ext.encode(val).replace(/"/g, '') : e(val)) : ''); - }); - }); - if(!pre){ - buf.shift(); - pre = ''; - } - return pre + buf.join(''); - }, - - /** - * Takes an encoded URL and and converts it to an object. Example:
    
    -Ext.urlDecode("foo=1&bar=2"); // returns {foo: "1", bar: "2"}
    -Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); // returns {foo: "1", bar: ["2", "3", "4"]}
    -
    - * @param {String} string - * @param {Boolean} overwrite (optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false). - * @return {Object} A literal with members - */ - urlDecode : function(string, overwrite){ - if(Ext.isEmpty(string)){ - return {}; - } - var obj = {}, - pairs = string.split('&'), - d = decodeURIComponent, - name, - value; - Ext.each(pairs, function(pair) { - pair = pair.split('='); - name = d(pair[0]); - value = d(pair[1]); - obj[name] = overwrite || !obj[name] ? value : - [].concat(obj[name]).concat(value); - }); - return obj; - }, - - /** - * Appends content to the query string of a URL, handling logic for whether to place - * a question mark or ampersand. - * @param {String} url The URL to append to. - * @param {String} s The content to append to the URL. - * @return (String) The resulting URL - */ - urlAppend : function(url, s){ - if(!Ext.isEmpty(s)){ - return url + (url.indexOf('?') === -1 ? '?' : '&') + s; - } - return url; - }, - - /** - * Converts any iterable (numeric indices and a length property) into a true array - * Don't use this on strings. IE doesn't support "abc"[0] which this implementation depends on. - * For strings, use this instead: "abc".match(/./g) => [a,b,c]; - * @param {Iterable} the iterable object to be turned into a true Array. - * @return (Array) array - */ - toArray : function(){ - return isIE ? - function(a, i, j, res){ - res = []; - for(var x = 0, len = a.length; x < len; x++) { - res.push(a[x]); - } - return res.slice(i || 0, j || res.length); - } : - function(a, i, j){ - return Array.prototype.slice.call(a, i || 0, j || a.length); - }; - }(), - - isIterable : function(v){ - //check for array or arguments - if(Ext.isArray(v) || v.callee){ - return true; - } - //check for node list type - if(/NodeList|HTMLCollection/.test(toString.call(v))){ - return true; - } - //NodeList has an item and length property - //IXMLDOMNodeList has nextNode method, needs to be checked first. - return ((typeof v.nextNode != 'undefined' || v.item) && Ext.isNumber(v.length)); - }, - - /** - * Iterates an array calling the supplied function. - * @param {Array/NodeList/Mixed} array The array to be iterated. If this - * argument is not really an array, the supplied function is called once. - * @param {Function} fn The function to be called with each item. If the - * supplied function returns false, iteration stops and this method returns - * the current index. This function is called with - * the following arguments: - *
      - *
    • item : Mixed - *
      The item at the current index - * in the passed array
    • - *
    • index : Number - *
      The current index within the array
    • - *
    • allItems : Array - *
      The array passed as the first - * argument to Ext.each.
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. - * Defaults to the item at the current index - * within the passed array. - * @return See description for the fn parameter. - */ - each : function(array, fn, scope){ - if(Ext.isEmpty(array, true)){ - return; - } - if(!Ext.isIterable(array) || Ext.isPrimitive(array)){ - array = [array]; - } - for(var i = 0, len = array.length; i < len; i++){ - if(fn.call(scope || array[i], array[i], i, array) === false){ - return i; - }; - } - }, - - /** - * Iterates either the elements in an array, or each of the properties in an object. - * Note: If you are only iterating arrays, it is better to call {@link #each}. - * @param {Object/Array} object The object or array to be iterated - * @param {Function} fn The function to be called for each iteration. - * The iteration will stop if the supplied function returns false, or - * all array elements / object properties have been covered. The signature - * varies depending on the type of object being interated: - *
      - *
    • Arrays : (Object item, Number index, Array allItems) - *
      - * When iterating an array, the supplied function is called with each item.
    • - *
    • Objects : (String key, Object value, Object) - *
      - * When iterating an object, the supplied function is called with each key-value pair in - * the object, and the iterated object
    • - *
    - * @param {Object} scope The scope (this reference) in which the specified function is executed. Defaults to - * the object being iterated. - */ - iterate : function(obj, fn, scope){ - if(Ext.isEmpty(obj)){ - return; - } - if(Ext.isIterable(obj)){ - Ext.each(obj, fn, scope); - return; - }else if(typeof obj == 'object'){ - for(var prop in obj){ - if(obj.hasOwnProperty(prop)){ - if(fn.call(scope || obj, prop, obj[prop], obj) === false){ - return; - }; - } - } - } - }, - - /** - * Return the dom node for the passed String (id), dom node, or Ext.Element. - * Optional 'strict' flag is needed for IE since it can return 'name' and - * 'id' elements by using getElementById. - * Here are some examples: - *
    
    -// gets dom node based on id
    -var elDom = Ext.getDom('elId');
    -// gets dom node based on the dom node
    -var elDom1 = Ext.getDom(elDom);
    -
    -// If we don't know if we are working with an
    -// Ext.Element or a dom node use Ext.getDom
    -function(el){
    -    var dom = Ext.getDom(el);
    -    // do something with the dom node
    -}
    -         * 
    - * Note: the dom node to be found actually needs to exist (be rendered, etc) - * when this method is called to be successful. - * @param {Mixed} el - * @return HTMLElement - */ - getDom : function(el, strict){ - if(!el || !DOC){ - return null; - } - if (el.dom){ - return el.dom; - } else { - if (typeof el == 'string') { - var e = DOC.getElementById(el); - // IE returns elements with the 'name' and 'id' attribute. - // we do a strict check to return the element with only the id attribute - if (e && isIE && strict) { - if (el == e.getAttribute('id')) { - return e; - } else { - return null; - } - } - return e; - } else { - return el; - } - } - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getBody : function(){ - return Ext.get(DOC.body || DOC.documentElement); - }, - - /** - * Returns the current document body as an {@link Ext.Element}. - * @return Ext.Element The document body - */ - getHead : function() { - var head; - - return function() { - if (head == undefined) { - head = Ext.get(DOC.getElementsByTagName("head")[0]); - } - - return head; - }; - }(), - - /** - * Removes a DOM node from the document. - */ - /** - *

    Removes this element from the document, removes all DOM event listeners, and deletes the cache reference. - * All DOM event listeners are removed from this element. If {@link Ext#enableNestedListenerRemoval} is - * true, then DOM event listeners are also removed from all child nodes. The body node - * will be ignored if passed in.

    - * @param {HTMLElement} node The node to remove - */ - removeNode : isIE && !isIE8 ? function(){ - var d; - return function(n){ - if(n && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - d = d || DOC.createElement('div'); - d.appendChild(n); - d.innerHTML = ''; - delete Ext.elCache[n.id]; - } - }; - }() : function(n){ - if(n && n.parentNode && n.tagName != 'BODY'){ - (Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n); - n.parentNode.removeChild(n); - delete Ext.elCache[n.id]; - } - }, - - /** - *

    Returns true if the passed value is empty.

    - *

    The value is deemed to be empty if it is

      - *
    • null
    • - *
    • undefined
    • - *
    • an empty array
    • - *
    • a zero length string (Unless the allowBlank parameter is true)
    • - *
    - * @param {Mixed} value The value to test - * @param {Boolean} allowBlank (optional) true to allow empty strings (defaults to false) - * @return {Boolean} - */ - isEmpty : function(v, allowBlank){ - return v === null || v === undefined || ((Ext.isArray(v) && !v.length)) || (!allowBlank ? v === '' : false); - }, - - /** - * Returns true if the passed value is a JavaScript array, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isArray : function(v){ - return toString.apply(v) === '[object Array]'; - }, - - /** - * Returns true if the passed object is a JavaScript date object, otherwise false. - * @param {Object} object The object to test - * @return {Boolean} - */ - isDate : function(v){ - return toString.apply(v) === '[object Date]'; - }, - - /** - * Returns true if the passed value is a JavaScript Object, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isObject : function(v){ - return !!v && Object.prototype.toString.call(v) === '[object Object]'; - }, - - /** - * Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isPrimitive : function(v){ - return Ext.isString(v) || Ext.isNumber(v) || Ext.isBoolean(v); - }, - - /** - * Returns true if the passed value is a JavaScript Function, otherwise false. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isFunction : function(v){ - return toString.apply(v) === '[object Function]'; - }, - - /** - * Returns true if the passed value is a number. Returns false for non-finite numbers. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isNumber : function(v){ - return typeof v === 'number' && isFinite(v); - }, - - /** - * Returns true if the passed value is a string. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isString : function(v){ - return typeof v === 'string'; - }, - - /** - * Returns true if the passed value is a boolean. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isBoolean : function(v){ - return typeof v === 'boolean'; - }, - - /** - * Returns true if the passed value is an HTMLElement - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isElement : function(v) { - return v ? !!v.tagName : false; - }, - - /** - * Returns true if the passed value is not undefined. - * @param {Mixed} value The value to test - * @return {Boolean} - */ - isDefined : function(v){ - return typeof v !== 'undefined'; - }, - - /** - * True if the detected browser is Opera. - * @type Boolean - */ - isOpera : isOpera, - /** - * True if the detected browser uses WebKit. - * @type Boolean - */ - isWebKit : isWebKit, - /** - * True if the detected browser is Chrome. - * @type Boolean - */ - isChrome : isChrome, - /** - * True if the detected browser is Safari. - * @type Boolean - */ - isSafari : isSafari, - /** - * True if the detected browser is Safari 3.x. - * @type Boolean - */ - isSafari3 : isSafari3, - /** - * True if the detected browser is Safari 4.x. - * @type Boolean - */ - isSafari4 : isSafari4, - /** - * True if the detected browser is Safari 2.x. - * @type Boolean - */ - isSafari2 : isSafari2, - /** - * True if the detected browser is Internet Explorer. - * @type Boolean - */ - isIE : isIE, - /** - * True if the detected browser is Internet Explorer 6.x. - * @type Boolean - */ - isIE6 : isIE6, - /** - * True if the detected browser is Internet Explorer 7.x. - * @type Boolean - */ - isIE7 : isIE7, - /** - * True if the detected browser is Internet Explorer 8.x. - * @type Boolean - */ - isIE8 : isIE8, - /** - * True if the detected browser is Internet Explorer 9.x. - * @type Boolean - */ - isIE9 : isIE9, - /** - * True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox). - * @type Boolean - */ - isGecko : isGecko, - /** - * True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x). - * @type Boolean - */ - isGecko2 : isGecko2, - /** - * True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x). - * @type Boolean - */ - isGecko3 : isGecko3, - /** - * True if the detected browser is Internet Explorer running in non-strict mode. - * @type Boolean - */ - isBorderBox : isBorderBox, - /** - * True if the detected platform is Linux. - * @type Boolean - */ - isLinux : isLinux, - /** - * True if the detected platform is Windows. - * @type Boolean - */ - isWindows : isWindows, - /** - * True if the detected platform is Mac OS. - * @type Boolean - */ - isMac : isMac, - /** - * True if the detected platform is Adobe Air. - * @type Boolean - */ - isAir : isAir - }); - - /** - * Creates namespaces to be used for scoping variables and classes so that they are not global. - * Specifying the last node of a namespace implicitly creates all other nodes. Usage: - *
    
    -Ext.namespace('Company', 'Company.data');
    -Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    -Company.Widget = function() { ... }
    -Company.data.CustomStore = function(config) { ... }
    -
    - * @param {String} namespace1 - * @param {String} namespace2 - * @param {String} etc - * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created) - * @method ns - */ - Ext.ns = Ext.namespace; -})(); - -Ext.ns('Ext.util', 'Ext.lib', 'Ext.data', 'Ext.supports'); - -Ext.elCache = {}; - -/** - * @class Function - * These functions are available on every Function object (any JavaScript function). - */ -Ext.apply(Function.prototype, { - /** - * Creates an interceptor function. The passed function is called before the original one. If it returns false, - * the original one is not called. The resulting function returns the results of the original function. - * The passed function is called with the parameters of the original function. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -sayHi('Fred'); // alerts "Hi, Fred"
    -
    -// create a new function that validates input without
    -// directly modifying the original function:
    -var sayHiToFriend = sayHi.createInterceptor(function(name){
    -    return name == 'Brian';
    -});
    -
    -sayHiToFriend('Fred');  // no alert
    -sayHiToFriend('Brian'); // alerts "Hi, Brian"
    -
    - * @param {Function} fcn The function to call before the original - * @param {Object} scope (optional) The scope (this reference) in which the passed function is executed. - * If omitted, defaults to the scope in which the original function is called or the browser window. - * @return {Function} The new function - */ - createInterceptor : function(fcn, scope){ - var method = this; - return !Ext.isFunction(fcn) ? - this : - function() { - var me = this, - args = arguments; - fcn.target = me; - fcn.method = method; - return (fcn.apply(scope || me || window, args) !== false) ? - method.apply(me || window, args) : - null; - }; - }, - - /** - * Creates a callback that passes arguments[0], arguments[1], arguments[2], ... - * Call directly on any function. Example: myFunction.createCallback(arg1, arg2) - * Will create a function that is bound to those 2 args. If a specific scope is required in the - * callback, use {@link #createDelegate} instead. The function returned by createCallback always - * executes in the window scope. - *

    This method is required when you want to pass arguments to a callback function. If no arguments - * are needed, you can simply pass a reference to the function as a callback (e.g., callback: myFn). - * However, if you tried to pass a function with arguments (e.g., callback: myFn(arg1, arg2)) the function - * would simply execute immediately when the code is parsed. Example usage: - *

    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// clicking the button alerts "Hi, Fred"
    -new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody(),
    -    handler: sayHi.createCallback('Fred')
    -});
    -
    - * @return {Function} The new function - */ - createCallback : function(/*args...*/){ - // make args available, in function below - var args = arguments, - method = this; - return function() { - return method.apply(window, args); - }; - }, - - /** - * Creates a delegate (callback) that sets the scope to obj. - * Call directly on any function. Example: this.myFunction.createDelegate(this, [arg1, arg2]) - * Will create a function that is automatically scoped to obj so that the this variable inside the - * callback points to obj. Example usage: - *
    
    -var sayHi = function(name){
    -    // Note this use of "this.text" here.  This function expects to
    -    // execute within a scope that contains a text property.  In this
    -    // example, the "this" variable is pointing to the btn object that
    -    // was passed in createDelegate below.
    -    alert('Hi, ' + name + '. You clicked the "' + this.text + '" button.');
    -}
    -
    -var btn = new Ext.Button({
    -    text: 'Say Hi',
    -    renderTo: Ext.getBody()
    -});
    -
    -// This callback will execute in the scope of the
    -// button instance. Clicking the button alerts
    -// "Hi, Fred. You clicked the "Say Hi" button."
    -btn.on('click', sayHi.createDelegate(btn, ['Fred']));
    -
    - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Function} The new function - */ - createDelegate : function(obj, args, appendArgs){ - var method = this; - return function() { - var callArgs = args || arguments; - if (appendArgs === true){ - callArgs = Array.prototype.slice.call(arguments, 0); - callArgs = callArgs.concat(args); - }else if (Ext.isNumber(appendArgs)){ - callArgs = Array.prototype.slice.call(arguments, 0); // copy arguments first - var applyArgs = [appendArgs, 0].concat(args); // create method call params - Array.prototype.splice.apply(callArgs, applyArgs); // splice them in - } - return method.apply(obj || window, callArgs); - }; - }, - - /** - * Calls this function after the number of millseconds specified, optionally in a specific scope. Example usage: - *
    
    -var sayHi = function(name){
    -    alert('Hi, ' + name);
    -}
    -
    -// executes immediately:
    -sayHi('Fred');
    -
    -// executes after 2 seconds:
    -sayHi.defer(2000, this, ['Fred']);
    -
    -// this syntax is sometimes useful for deferring
    -// execution of an anonymous function:
    -(function(){
    -    alert('Anonymous');
    -}).defer(100);
    -
    - * @param {Number} millis The number of milliseconds for the setTimeout call (if less than or equal to 0 the function is executed immediately) - * @param {Object} scope (optional) The scope (this reference) in which the function is executed. - * If omitted, defaults to the browser window. - * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller) - * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding, - * if a number the args are inserted at the specified position - * @return {Number} The timeout id that can be used with clearTimeout - */ - defer : function(millis, obj, args, appendArgs){ - var fn = this.createDelegate(obj, args, appendArgs); - if(millis > 0){ - return setTimeout(fn, millis); - } - fn(); - return 0; - } -}); - -/** - * @class String - * These functions are available on every String object. - */ -Ext.applyIf(String, { - /** - * Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens. Each - * token must be unique, and must increment in the format {0}, {1}, etc. Example usage: - *
    
    -var cls = 'my-class', text = 'Some text';
    -var s = String.format('<div class="{0}">{1}</div>', cls, text);
    -// s now contains the string: '<div class="my-class">Some text</div>'
    -     * 
    - * @param {String} string The tokenized string to be formatted - * @param {String} value1 The value to replace token {0} - * @param {String} value2 Etc... - * @return {String} The formatted string - * @static - */ - format : function(format){ - var args = Ext.toArray(arguments, 1); - return format.replace(/\{(\d+)\}/g, function(m, i){ - return args[i]; - }); - } -}); - -/** - * @class Array - */ -Ext.applyIf(Array.prototype, { - /** - * Checks whether or not the specified object exists in the array. - * @param {Object} o The object to check for - * @param {Number} from (Optional) The index at which to begin the search - * @return {Number} The index of o in the array (or -1 if it is not found) - */ - indexOf : function(o, from){ - var len = this.length; - from = from || 0; - from += (from < 0) ? len : 0; - for (; from < len; ++from){ - if(this[from] === o){ - return from; - } - } - return -1; - }, - - /** - * Removes the specified object from the array. If the object is not found nothing happens. - * @param {Object} o The object to remove - * @return {Array} this array - */ - remove : function(o){ - var index = this.indexOf(o); - if(index != -1){ - this.splice(index, 1); - } - return this; - } -}); -/** - * @class Ext.util.TaskRunner - * Provides the ability to execute one or more arbitrary tasks in a multithreaded - * manner. Generally, you can use the singleton {@link Ext.TaskMgr} instead, but - * if needed, you can create separate instances of TaskRunner. Any number of - * separate tasks can be started at any time and will run independently of each - * other. Example usage: - *
    
    -// Start a simple clock task that updates a div once per second
    -var updateClock = function(){
    -    Ext.fly('clock').update(new Date().format('g:i:s A'));
    -} 
    -var task = {
    -    run: updateClock,
    -    interval: 1000 //1 second
    -}
    -var runner = new Ext.util.TaskRunner();
    -runner.start(task);
    -
    -// equivalent using TaskMgr
    -Ext.TaskMgr.start({
    -    run: updateClock,
    -    interval: 1000
    -});
    -
    - * 
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * Also see {@link Ext.util.DelayedTask}. - * - * @constructor - * @param {Number} interval (optional) The minimum precision in milliseconds supported by this TaskRunner instance - * (defaults to 10) - */ -Ext.util.TaskRunner = function(interval){ - interval = interval || 10; - var tasks = [], - removeQueue = [], - id = 0, - running = false, - - // private - stopThread = function(){ - running = false; - clearInterval(id); - id = 0; - }, - - // private - startThread = function(){ - if(!running){ - running = true; - id = setInterval(runTasks, interval); - } - }, - - // private - removeTask = function(t){ - removeQueue.push(t); - if(t.onStop){ - t.onStop.apply(t.scope || t); - } - }, - - // private - runTasks = function(){ - var rqLen = removeQueue.length, - now = new Date().getTime(); - - if(rqLen > 0){ - for(var i = 0; i < rqLen; i++){ - tasks.remove(removeQueue[i]); - } - removeQueue = []; - if(tasks.length < 1){ - stopThread(); - return; - } - } - for(var i = 0, t, itime, rt, len = tasks.length; i < len; ++i){ - t = tasks[i]; - itime = now - t.taskRunTime; - if(t.interval <= itime){ - rt = t.run.apply(t.scope || t, t.args || [++t.taskRunCount]); - t.taskRunTime = now; - if(rt === false || t.taskRunCount === t.repeat){ - removeTask(t); - return; - } - } - if(t.duration && t.duration <= (now - t.taskStartTime)){ - removeTask(t); - } - } - }; - - /** - * Starts a new task. - * @method start - * @param {Object} task

    A config object that supports the following properties:

      - *
    • run : Function

      The function to execute each time the task is invoked. The - * function will be called at each interval and passed the args argument if specified, and the - * current invocation count if not.

      - *

      If a particular scope (this reference) is required, be sure to specify it using the scope argument.

      - *

      Return false from this function to terminate the task.

    • - *
    • interval : Number
      The frequency in milliseconds with which the task - * should be invoked.
    • - *
    • args : Array
      (optional) An array of arguments to be passed to the function - * specified by run. If not specified, the current invocation count is passed.
    • - *
    • scope : Object
      (optional) The scope (this reference) in which to execute the - * run function. Defaults to the task config object.
    • - *
    • duration : Number
      (optional) The length of time in milliseconds to invoke - * the task before stopping automatically (defaults to indefinite).
    • - *
    • repeat : Number
      (optional) The number of times to invoke the task before - * stopping automatically (defaults to indefinite).
    • - *

    - *

    Before each invocation, Ext injects the property taskRunCount into the task object so - * that calculations based on the repeat count can be performed.

    - * @return {Object} The task - */ - this.start = function(task){ - tasks.push(task); - task.taskStartTime = new Date().getTime(); - task.taskRunTime = 0; - task.taskRunCount = 0; - startThread(); - return task; - }; - - /** - * Stops an existing running task. - * @method stop - * @param {Object} task The task to stop - * @return {Object} The task - */ - this.stop = function(task){ - removeTask(task); - return task; - }; - - /** - * Stops all tasks that are currently running. - * @method stopAll - */ - this.stopAll = function(){ - stopThread(); - for(var i = 0, len = tasks.length; i < len; i++){ - if(tasks[i].onStop){ - tasks[i].onStop(); - } - } - tasks = []; - removeQueue = []; - }; -}; - -/** - * @class Ext.TaskMgr - * @extends Ext.util.TaskRunner - * A static {@link Ext.util.TaskRunner} instance that can be used to start and stop arbitrary tasks. See - * {@link Ext.util.TaskRunner} for supported methods and task config properties. - *
    
    -// Start a simple clock task that updates a div once per second
    -var task = {
    -    run: function(){
    -        Ext.fly('clock').update(new Date().format('g:i:s A'));
    -    },
    -    interval: 1000 //1 second
    -}
    -Ext.TaskMgr.start(task);
    -
    - *

    See the {@link #start} method for details about how to configure a task object.

    - * @singleton - */ -Ext.TaskMgr = new Ext.util.TaskRunner();if(typeof YAHOO == "undefined"){ - throw "Unable to load Ext, core YUI utilities (yahoo, dom, event) not found."; -} - -(function(){ - var E = YAHOO.util.Event, - D = YAHOO.util.Dom, - CN = YAHOO.util.Connect, - ES = YAHOO.util.Easing, - A = YAHOO.util.Anim, - libFlyweight, - version = YAHOO.env.getVersion('yahoo').version.split('.'), - mouseEnterSupported = parseInt(version[0], 10) >= 3, - mouseCache = {}, - elContains = function(parent, child){ - if(parent && parent.firstChild){ - while(child){ - if(child === parent){ - return true; - } - child = child.parentNode; - if(child && (child.nodeType != 1)){ - child = null; - } - } - } - return false; - }, checkRelatedTarget = function(e){ - return !elContains(e.currentTarget, Ext.lib.Event.getRelatedTarget(e)); - }; - -Ext.lib.Dom = { - getViewWidth : function(full){ - return full ? D.getDocumentWidth() : D.getViewportWidth(); - }, - - getViewHeight : function(full){ - return full ? D.getDocumentHeight() : D.getViewportHeight(); - }, - - isAncestor : function(haystack, needle){ - return D.isAncestor(haystack, needle); - }, - - getRegion : function(el){ - return D.getRegion(el); - }, - - getY : function(el){ - return this.getXY(el)[1]; - }, - - getX : function(el){ - return this.getXY(el)[0]; - }, - - // original version based on YahooUI getXY - // this version fixes several issues in Safari and FF - // and boosts performance by removing the batch overhead, repetitive dom lookups and array index calls - getXY : function(el){ - var p, pe, b, scroll, bd = (document.body || document.documentElement); - el = Ext.getDom(el); - - if(el == bd){ - return [0, 0]; - } - - if (el.getBoundingClientRect) { - b = el.getBoundingClientRect(); - scroll = fly(document).getScroll(); - return [Math.round(b.left + scroll.left), Math.round(b.top + scroll.top)]; - } - var x = 0, y = 0; - - p = el; - - var hasAbsolute = fly(el).getStyle("position") == "absolute"; - - while (p) { - - x += p.offsetLeft; - y += p.offsetTop; - - if (!hasAbsolute && fly(p).getStyle("position") == "absolute") { - hasAbsolute = true; - } - - if (Ext.isGecko) { - pe = fly(p); - - var bt = parseInt(pe.getStyle("borderTopWidth"), 10) || 0; - var bl = parseInt(pe.getStyle("borderLeftWidth"), 10) || 0; - - - x += bl; - y += bt; - - - if (p != el && pe.getStyle('overflow') != 'visible') { - x += bl; - y += bt; - } - } - p = p.offsetParent; - } - - if (Ext.isSafari && hasAbsolute) { - x -= bd.offsetLeft; - y -= bd.offsetTop; - } - - if (Ext.isGecko && !hasAbsolute) { - var dbd = fly(bd); - x += parseInt(dbd.getStyle("borderLeftWidth"), 10) || 0; - y += parseInt(dbd.getStyle("borderTopWidth"), 10) || 0; - } - - p = el.parentNode; - while (p && p != bd) { - if (!Ext.isOpera || (p.tagName != 'TR' && fly(p).getStyle("display") != "inline")) { - x -= p.scrollLeft; - y -= p.scrollTop; - } - p = p.parentNode; - } - return [x, y]; - }, - - setXY : function(el, xy){ - el = Ext.fly(el, '_setXY'); - el.position(); - var pts = el.translatePoints(xy); - if(xy[0] !== false){ - el.dom.style.left = pts.left + "px"; - } - if(xy[1] !== false){ - el.dom.style.top = pts.top + "px"; - } - }, - - setX : function(el, x){ - this.setXY(el, [x, false]); - }, - - setY : function(el, y){ - this.setXY(el, [false, y]); - } -}; - -Ext.lib.Event = { - getPageX : function(e){ - return E.getPageX(e.browserEvent || e); - }, - - getPageY : function(e){ - return E.getPageY(e.browserEvent || e); - }, - - getXY : function(e){ - return E.getXY(e.browserEvent || e); - }, - - getTarget : function(e){ - return E.getTarget(e.browserEvent || e); - }, - - getRelatedTarget : function(e){ - return E.getRelatedTarget(e.browserEvent || e); - }, - - on : function(el, eventName, fn, scope, override){ - if((eventName == 'mouseenter' || eventName == 'mouseleave') && !mouseEnterSupported){ - var item = mouseCache[el.id] || (mouseCache[el.id] = {}); - item[eventName] = fn; - fn = fn.createInterceptor(checkRelatedTarget); - eventName = (eventName == 'mouseenter') ? 'mouseover' : 'mouseout'; - } - E.on(el, eventName, fn, scope, override); - }, - - un : function(el, eventName, fn){ - if((eventName == 'mouseenter' || eventName == 'mouseleave') && !mouseEnterSupported){ - var item = mouseCache[el.id], - ev = item && item[eventName]; - - if(ev){ - fn = ev.fn; - delete item[eventName]; - eventName = (eventName == 'mouseenter') ? 'mouseover' : 'mouseout'; - } - } - E.removeListener(el, eventName, fn);; - }, - - purgeElement : function(el){ - E.purgeElement(el); - }, - - preventDefault : function(e){ - E.preventDefault(e.browserEvent || e); - }, - - stopPropagation : function(e){ - E.stopPropagation(e.browserEvent || e); - }, - - stopEvent : function(e){ - E.stopEvent(e.browserEvent || e); - }, - - onAvailable : function(el, fn, scope, override){ - return E.onAvailable(el, fn, scope, override); - } -}; - -Ext.lib.Ajax = { - request : function(method, uri, cb, data, options){ - if(options){ - var hs = options.headers; - if(hs){ - for(var h in hs){ - if(hs.hasOwnProperty(h)){ - CN.initHeader(h, hs[h], false); - } - } - } - if(options.xmlData){ - if (!hs || !hs['Content-Type']){ - CN.initHeader('Content-Type', 'text/xml', false); - } - method = (method ? method : (options.method ? options.method : 'POST')); - data = options.xmlData; - }else if(options.jsonData){ - if (!hs || !hs['Content-Type']){ - CN.initHeader('Content-Type', 'application/json', false); - } - method = (method ? method : (options.method ? options.method : 'POST')); - data = typeof options.jsonData == 'object' ? Ext.encode(options.jsonData) : options.jsonData; - } - } - return CN.asyncRequest(method, uri, cb, data); - }, - - formRequest : function(form, uri, cb, data, isUpload, sslUri){ - CN.setForm(form, isUpload, sslUri); - return CN.asyncRequest(Ext.getDom(form).method ||'POST', uri, cb, data); - }, - - isCallInProgress : function(trans){ - return CN.isCallInProgress(trans); - }, - - abort : function(trans){ - return CN.abort(trans); - }, - - serializeForm : function(form){ - var d = CN.setForm(form.dom || form); - CN.resetFormState(); - return d; - } -}; - -Ext.lib.Region = YAHOO.util.Region; -Ext.lib.Point = YAHOO.util.Point; - - -Ext.lib.Anim = { - scroll : function(el, args, duration, easing, cb, scope){ - this.run(el, args, duration, easing, cb, scope, YAHOO.util.Scroll); - }, - - motion : function(el, args, duration, easing, cb, scope){ - this.run(el, args, duration, easing, cb, scope, YAHOO.util.Motion); - }, - - color : function(el, args, duration, easing, cb, scope){ - this.run(el, args, duration, easing, cb, scope, YAHOO.util.ColorAnim); - }, - - run : function(el, args, duration, easing, cb, scope, type){ - type = type || YAHOO.util.Anim; - if(typeof easing == "string"){ - easing = YAHOO.util.Easing[easing]; - } - var anim = new type(el, args, duration, easing); - anim.animateX(function(){ - Ext.callback(cb, scope); - }); - return anim; - } -}; - -// all lib flyweight calls use their own flyweight to prevent collisions with developer flyweights -function fly(el){ - if(!libFlyweight){ - libFlyweight = new Ext.Element.Flyweight(); - } - libFlyweight.dom = el; - return libFlyweight; -} - -// prevent IE leaks -if(Ext.isIE) { - function fnCleanUp() { - var p = Function.prototype; - delete p.createSequence; - delete p.defer; - delete p.createDelegate; - delete p.createCallback; - delete p.createInterceptor; - - window.detachEvent("onunload", fnCleanUp); - } - window.attachEvent("onunload", fnCleanUp); -} -// various overrides - -// add ability for callbacks with animations -if(YAHOO.util.Anim){ - YAHOO.util.Anim.prototype.animateX = function(callback, scope){ - var f = function(){ - this.onComplete.unsubscribe(f); - if(typeof callback == "function"){ - callback.call(scope || this, this); - } - }; - this.onComplete.subscribe(f, this, true); - this.animate(); - }; -} - -if(YAHOO.util.DragDrop && Ext.dd.DragDrop){ - YAHOO.util.DragDrop.defaultPadding = Ext.dd.DragDrop.defaultPadding; - YAHOO.util.DragDrop.constrainTo = Ext.dd.DragDrop.constrainTo; -} - -YAHOO.util.Dom.getXY = function(el) { - var f = function(el) { - return Ext.lib.Dom.getXY(el); - }; - return YAHOO.util.Dom.batch(el, f, YAHOO.util.Dom, true); -}; - - -// workaround for Safari anim duration speed problems -if(YAHOO.util.AnimMgr){ - YAHOO.util.AnimMgr.fps = 1000; -} - -YAHOO.util.Region.prototype.adjust = function(t, l, b, r){ - this.top += t; - this.left += l; - this.right += r; - this.bottom += b; - return this; -}; - -YAHOO.util.Region.prototype.constrainTo = function(r) { - this.top = this.top.constrain(r.top, r.bottom); - this.bottom = this.bottom.constrain(r.top, r.bottom); - this.left = this.left.constrain(r.left, r.right); - this.right = this.right.constrain(r.left, r.right); - return this; -}; - - -})(); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/adapter/yui/ext-yui-adapter.js b/ext-resources/jslib/ext-3.4.0/adapter/yui/ext-yui-adapter.js deleted file mode 100755 index 222610e..0000000 --- a/ext-resources/jslib/ext-3.4.0/adapter/yui/ext-yui-adapter.js +++ /dev/null @@ -1,7 +0,0 @@ -/* - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -window.undefined=window.undefined;Ext={version:"3.4.0",versionDetail:{major:3,minor:4,patch:0}};Ext.apply=function(d,e,b){if(b){Ext.apply(d,b)}if(d&&e&&typeof e=="object"){for(var a in e){d[a]=e[a]}}return d};(function(){var g=0,u=Object.prototype.toString,v=navigator.userAgent.toLowerCase(),A=function(e){return e.test(v)},i=document,n=i.documentMode,l=i.compatMode=="CSS1Compat",C=A(/opera/),h=A(/\bchrome\b/),w=A(/webkit/),z=!h&&A(/safari/),f=z&&A(/applewebkit\/4/),b=z&&A(/version\/3/),D=z&&A(/version\/4/),t=!C&&A(/msie/),r=t&&(A(/msie 7/)||n==7),q=t&&(A(/msie 8/)&&n!=7),p=t&&A(/msie 9/),s=t&&!r&&!q&&!p,o=!w&&A(/gecko/),d=o&&A(/rv:1\.8/),a=o&&A(/rv:1\.9/),x=t&&!l,B=A(/windows|win32/),k=A(/macintosh|mac os x/),j=A(/adobeair/),m=A(/linux/),c=/^https/i.test(window.location.protocol);if(s){try{i.execCommand("BackgroundImageCache",false,true)}catch(y){}}Ext.apply(Ext,{SSL_SECURE_URL:c&&t?'javascript:""':"about:blank",isStrict:l,isSecure:c,isReady:false,enableForcedBoxModel:false,enableGarbageCollector:true,enableListenerCollection:false,enableNestedListenerRemoval:false,USE_NATIVE_JSON:false,applyIf:function(E,F){if(E){for(var e in F){if(!Ext.isDefined(E[e])){E[e]=F[e]}}}return E},id:function(e,E){e=Ext.getDom(e,true)||{};if(!e.id){e.id=(E||"ext-gen")+(++g)}return e.id},extend:function(){var E=function(G){for(var F in G){this[F]=G[F]}};var e=Object.prototype.constructor;return function(L,I,K){if(typeof I=="object"){K=I;I=L;L=K.constructor!=e?K.constructor:function(){I.apply(this,arguments)}}var H=function(){},J,G=I.prototype;H.prototype=G;J=L.prototype=new H();J.constructor=L;L.superclass=G;if(G.constructor==e){G.constructor=I}L.override=function(F){Ext.override(L,F)};J.superclass=J.supr=(function(){return G});J.override=E;Ext.override(L,K);L.extend=function(F){return Ext.extend(L,F)};return L}}(),override:function(e,F){if(F){var E=e.prototype;Ext.apply(E,F);if(Ext.isIE&&F.hasOwnProperty("toString")){E.toString=F.toString}}},namespace:function(){var G=arguments.length,H=0,E,F,e,J,I,K;for(;H0){return setTimeout(d,c)}d();return 0}});Ext.applyIf(String,{format:function(b){var a=Ext.toArray(arguments,1);return b.replace(/\{(\d+)\}/g,function(c,d){return a[d]})}});Ext.applyIf(Array.prototype,{indexOf:function(b,c){var a=this.length;c=c||0;c+=(c<0)?a:0;for(;c0){for(var p=0;p=3,l={},e=function(n,o){if(n&&n.firstChild){while(o){if(o===n){return true}o=o.parentNode;if(o&&(o.nodeType!=1)){o=null}}}return false},i=function(n){return !e(n.currentTarget,Ext.lib.Event.getRelatedTarget(n))};Ext.lib.Dom={getViewWidth:function(n){return n?b.getDocumentWidth():b.getViewportWidth()},getViewHeight:function(n){return n?b.getDocumentHeight():b.getViewportHeight()},isAncestor:function(n,o){return b.isAncestor(n,o)},getRegion:function(n){return b.getRegion(n)},getY:function(n){return this.getXY(n)[1]},getX:function(n){return this.getXY(n)[0]},getXY:function(q){var o,u,w,z,t=(document.body||document.documentElement);q=Ext.getDom(q);if(q==t){return[0,0]}if(q.getBoundingClientRect){w=q.getBoundingClientRect();z=g(document).getScroll();return[Math.round(w.left+z.left),Math.round(w.top+z.top)]}var A=0,v=0;o=q;var n=g(q).getStyle("position")=="absolute";while(o){A+=o.offsetLeft;v+=o.offsetTop;if(!n&&g(o).getStyle("position")=="absolute"){n=true}if(Ext.isGecko){u=g(o);var B=parseInt(u.getStyle("borderTopWidth"),10)||0;var r=parseInt(u.getStyle("borderLeftWidth"),10)||0;A+=r;v+=B;if(o!=q&&u.getStyle("overflow")!="visible"){A+=r;v+=B}}o=o.offsetParent}if(Ext.isSafari&&n){A-=t.offsetLeft;v-=t.offsetTop}if(Ext.isGecko&&!n){var s=g(t);A+=parseInt(s.getStyle("borderLeftWidth"),10)||0;v+=parseInt(s.getStyle("borderTopWidth"),10)||0}o=q.parentNode;while(o&&o!=t){if(!Ext.isOpera||(o.tagName!="TR"&&g(o).getStyle("display")!="inline")){A-=o.scrollLeft;v-=o.scrollTop}o=o.parentNode}return[A,v]},setXY:function(n,o){n=Ext.fly(n,"_setXY");n.position();var p=n.translatePoints(o);if(o[0]!==false){n.dom.style.left=p.left+"px"}if(o[1]!==false){n.dom.style.top=p.top+"px"}},setX:function(o,n){this.setXY(o,[n,false])},setY:function(n,o){this.setXY(n,[false,o])}};Ext.lib.Event={getPageX:function(n){return m.getPageX(n.browserEvent||n)},getPageY:function(n){return m.getPageY(n.browserEvent||n)},getXY:function(n){return m.getXY(n.browserEvent||n)},getTarget:function(n){return m.getTarget(n.browserEvent||n)},getRelatedTarget:function(n){return m.getRelatedTarget(n.browserEvent||n)},on:function(r,n,q,p,o){if((n=="mouseenter"||n=="mouseleave")&&!a){var s=l[r.id]||(l[r.id]={});s[n]=q;q=q.createInterceptor(i);n=(n=="mouseenter")?"mouseover":"mouseout"}m.on(r,n,q,p,o)},un:function(p,n,o){if((n=="mouseenter"||n=="mouseleave")&&!a){var r=l[p.id],q=r&&r[n];if(q){o=q.fn;delete r[n];n=(n=="mouseenter")?"mouseover":"mouseout"}}m.removeListener(p,n,o)},purgeElement:function(n){m.purgeElement(n)},preventDefault:function(n){m.preventDefault(n.browserEvent||n)},stopPropagation:function(n){m.stopPropagation(n.browserEvent||n)},stopEvent:function(n){m.stopEvent(n.browserEvent||n)},onAvailable:function(q,p,o,n){return m.onAvailable(q,p,o,n)}};Ext.lib.Ajax={request:function(t,r,n,s,o){if(o){var p=o.headers;if(p){for(var q in p){if(p.hasOwnProperty(q)){f.initHeader(q,p[q],false)}}}if(o.xmlData){if(!p||!p["Content-Type"]){f.initHeader("Content-Type","text/xml",false)}t=(t?t:(o.method?o.method:"POST"));s=o.xmlData}else{if(o.jsonData){if(!p||!p["Content-Type"]){f.initHeader("Content-Type","application/json",false)}t=(t?t:(o.method?o.method:"POST"));s=typeof o.jsonData=="object"?Ext.encode(o.jsonData):o.jsonData}}}return f.asyncRequest(t,r,n,s)},formRequest:function(r,q,o,s,n,p){f.setForm(r,n,p);return f.asyncRequest(Ext.getDom(r).method||"POST",q,o,s)},isCallInProgress:function(n){return f.isCallInProgress(n)},abort:function(n){return f.abort(n)},serializeForm:function(n){var o=f.setForm(n.dom||n);f.resetFormState();return o}};Ext.lib.Region=YAHOO.util.Region;Ext.lib.Point=YAHOO.util.Point;Ext.lib.Anim={scroll:function(q,o,r,s,n,p){this.run(q,o,r,s,n,p,YAHOO.util.Scroll)},motion:function(q,o,r,s,n,p){this.run(q,o,r,s,n,p,YAHOO.util.Motion)},color:function(q,o,r,s,n,p){this.run(q,o,r,s,n,p,YAHOO.util.ColorAnim)},run:function(r,o,t,u,n,q,p){p=p||YAHOO.util.Anim;if(typeof u=="string"){u=YAHOO.util.Easing[u]}var s=new p(r,o,t,u);s.animateX(function(){Ext.callback(n,q)});return s}};function g(n){if(!j){j=new Ext.Element.Flyweight()}j.dom=n;return j}if(Ext.isIE){function d(){var n=Function.prototype;delete n.createSequence;delete n.defer;delete n.createDelegate;delete n.createCallback;delete n.createInterceptor;window.detachEvent("onunload",d)}window.attachEvent("onunload",d)}if(YAHOO.util.Anim){YAHOO.util.Anim.prototype.animateX=function(p,n){var o=function(){this.onComplete.unsubscribe(o);if(typeof p=="function"){p.call(n||this,this)}};this.onComplete.subscribe(o,this,true);this.animate()}}if(YAHOO.util.DragDrop&&Ext.dd.DragDrop){YAHOO.util.DragDrop.defaultPadding=Ext.dd.DragDrop.defaultPadding;YAHOO.util.DragDrop.constrainTo=Ext.dd.DragDrop.constrainTo}YAHOO.util.Dom.getXY=function(n){var o=function(p){return Ext.lib.Dom.getXY(p)};return YAHOO.util.Dom.batch(n,o,YAHOO.util.Dom,true)};if(YAHOO.util.AnimMgr){YAHOO.util.AnimMgr.fps=1000}YAHOO.util.Region.prototype.adjust=function(p,o,n,q){this.top+=p;this.left+=o;this.right+=q;this.bottom+=n;return this};YAHOO.util.Region.prototype.constrainTo=function(n){this.top=this.top.constrain(n.top,n.bottom);this.bottom=this.bottom.constrain(n.top,n.bottom);this.left=this.left.constrain(n.left,n.right);this.right=this.right.constrain(n.left,n.right);return this}})(); \ No newline at end of file diff --git a/ext-resources/jslib/ext-3.4.0/ext-all.js b/ext-resources/jslib/ext-3.4.0/ext-all.js deleted file mode 100755 index 5b0034a..0000000 --- a/ext-resources/jslib/ext-3.4.0/ext-all.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Ext JS Library 3.4.0 - * Copyright(c) 2006-2011 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ -(function(){var h=Ext.util,j=Ext.each,g=true,i=false;h.Observable=function(){var k=this,l=k.events;if(k.listeners){k.on(k.listeners);delete k.listeners}k.events=l||{}};h.Observable.prototype={filterOptRe:/^(?:scope|delay|buffer|single)$/,fireEvent:function(){var k=Array.prototype.slice.call(arguments,0),m=k[0].toLowerCase(),n=this,l=g,p=n.events[m],s,o,r;if(n.eventsSuspended===g){if(o=n.eventQueue){o.push(k)}}else{if(typeof p=="object"){if(p.bubble){if(p.fire.apply(p,k.slice(1))===i){return i}r=n.getBubbleTarget&&n.getBubbleTarget();if(r&&r.enableBubble){s=r.events[m];if(!s||typeof s!="object"||!s.bubble){r.enableBubble(m)}return r.fireEvent.apply(r,k)}}else{k.shift();l=p.fire.apply(p,k)}}}return l},addListener:function(k,m,l,r){var n=this,q,s,p;if(typeof k=="object"){r=k;for(q in r){s=r[q];if(!n.filterOptRe.test(q)){n.addListener(q,s.fn||s,s.scope||r.scope,s.fn?s:r)}}}else{k=k.toLowerCase();p=n.events[k]||g;if(typeof p=="boolean"){n.events[k]=p=new h.Event(n,k)}p.addListener(m,l,typeof r=="object"?r:{})}},removeListener:function(k,m,l){var n=this.events[k.toLowerCase()];if(typeof n=="object"){n.removeListener(m,l)}},purgeListeners:function(){var m=this.events,k,l;for(l in m){k=m[l];if(typeof k=="object"){k.clearListeners()}}},addEvents:function(n){var m=this;m.events=m.events||{};if(typeof n=="string"){var k=arguments,l=k.length;while(l--){m.events[k[l]]=m.events[k[l]]||g}}else{Ext.applyIf(m.events,n)}},hasListener:function(k){var l=this.events[k.toLowerCase()];return typeof l=="object"&&l.listeners.length>0},suspendEvents:function(k){this.eventsSuspended=g;if(k&&!this.eventQueue){this.eventQueue=[]}},resumeEvents:function(){var k=this,l=k.eventQueue||[];k.eventsSuspended=i;delete k.eventQueue;j(l,function(m){k.fireEvent.apply(k,m)})}};var d=h.Observable.prototype;d.on=d.addListener;d.un=d.removeListener;h.Observable.releaseCapture=function(k){k.fireEvent=d.fireEvent};function e(l,m,k){return function(){if(m.target==arguments[0]){l.apply(k,Array.prototype.slice.call(arguments,0))}}}function b(n,p,k,m){k.task=new h.DelayedTask();return function(){k.task.delay(p.buffer,n,m,Array.prototype.slice.call(arguments,0))}}function c(m,n,l,k){return function(){n.removeListener(l,k);return m.apply(k,arguments)}}function a(n,p,k,m){return function(){var l=new h.DelayedTask(),o=Array.prototype.slice.call(arguments,0);if(!k.tasks){k.tasks=[]}k.tasks.push(l);l.delay(p.delay||10,function(){k.tasks.remove(l);n.apply(m,o)},m)}}h.Event=function(l,k){this.name=k;this.obj=l;this.listeners=[]};h.Event.prototype={addListener:function(o,n,m){var p=this,k;n=n||p.obj;if(!p.isListening(o,n)){k=p.createListener(o,n,m);if(p.firing){p.listeners=p.listeners.slice(0)}p.listeners.push(k)}},createListener:function(p,n,q){q=q||{};n=n||this.obj;var k={fn:p,scope:n,options:q},m=p;if(q.target){m=e(m,q,n)}if(q.delay){m=a(m,q,k,n)}if(q.single){m=c(m,this,p,n)}if(q.buffer){m=b(m,q,k,n)}k.fireFn=m;return k},findListener:function(o,n){var p=this.listeners,m=p.length,k;n=n||this.obj;while(m--){k=p[m];if(k){if(k.fn==o&&k.scope==n){return m}}}return -1},isListening:function(l,k){return this.findListener(l,k)!=-1},removeListener:function(r,q){var p,m,n,s=this,o=i;if((p=s.findListener(r,q))!=-1){if(s.firing){s.listeners=s.listeners.slice(0)}m=s.listeners[p];if(m.task){m.task.cancel();delete m.task}n=m.tasks&&m.tasks.length;if(n){while(n--){m.tasks[n].cancel()}delete m.tasks}s.listeners.splice(p,1);o=g}return o},clearListeners:function(){var n=this,k=n.listeners,m=k.length;while(m--){n.removeListener(k[m].fn,k[m].scope)}},fire:function(){var q=this,p=q.listeners,k=p.length,o=0,m;if(k>0){q.firing=g;var n=Array.prototype.slice.call(arguments,0);for(;o",i="",b=a+"",j=""+i,l=b+"",w=""+j;function h(B,D,C,E,A,y){var z=r.insertHtml(E,Ext.getDom(B),u(D));return C?Ext.get(z,true):z}function u(D){var z="",y,C,B,E;if(typeof D=="string"){z=D}else{if(Ext.isArray(D)){for(var A=0;A"}}}return z}function g(F,C,B,D){x.innerHTML=[C,B,D].join("");var y=-1,A=x,z;while(++y "'+D+'"'},insertBefore:function(y,A,z){return h(y,A,z,c)},insertAfter:function(y,A,z){return h(y,A,z,p,"nextSibling")},insertFirst:function(y,A,z){return h(y,A,z,n,"firstChild")},append:function(y,A,z){return h(y,A,z,q,"",true)},overwrite:function(y,A,z){y=Ext.getDom(y);y.innerHTML=u(A);return z?Ext.get(y.firstChild):y.firstChild},createHtml:u};return r}();Ext.Template=function(h){var j=this,c=arguments,e=[],d;if(Ext.isArray(h)){h=h.join("")}else{if(c.length>1){for(var g=0,b=c.length;g+~]\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.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?(["']?)(.*?)\4)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{5}", "{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;Ext.util.DelayedTask=function(d,c,a){var e=this,g,b=function(){clearInterval(g);g=null;d.apply(c,a||[])};e.delay=function(i,k,j,h){e.cancel();d=k||d;c=j||c;a=h||a;g=setInterval(b,i)};e.cancel=function(){if(g){clearInterval(g);g=null}}};(function(){var h=document;Ext.Element=function(l,m){var n=typeof l=="string"?h.getElementById(l):l,o;if(!n){return null}o=n.id;if(!m&&o&&Ext.elCache[o]){return Ext.elCache[o].el}this.dom=n;this.id=o||Ext.id(n)};var d=Ext.DomHelper,e=Ext.Element,a=Ext.elCache;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(o,n){var l=this,n=n||l.dom;try{if(Number(o)){l.focus.defer(o,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,o,n,m){Ext.EventManager.on(this.dom,l,o,n||this,m);return this},removeListener:function(l,n,m){Ext.EventManager.removeListener(this.dom,l,n,m||this);return this},removeAllListeners:function(){Ext.EventManager.removeAll(this.dom);return this},purgeAllListeners:function(){Ext.EventManager.purgeElement(this,true);return this},addUnits:function(l){if(l===""||l=="auto"||l===undefined){l=l||""}else{if(!isNaN(l)||!i.test(l)){l=l+(this.defaultUnit||"px")}}return l},load:function(m,n,l){Ext.Ajax.request(Ext.apply({params:n,url:m.url||m,callback:l,el:this.dom,indicatorText:m.indicatorText||""},Ext.isObject(m)?m:{}));return this},isBorderBox:function(){return Ext.isBorderBox||Ext.isForcedBorderBox||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,o,n){var p=this;p.on("mouseenter",m,o||p.dom,n);p.on("mouseleave",l,o||p.dom,n);return p},contains:function(l){return !l?false:Ext.lib.Dom.isAncestor(this.dom,l.dom?l.dom:l)},getAttributeNS:function(m,l){return this.getAttribute(l,m)},getAttribute:(function(){var p=document.createElement("table"),o=false,m="getAttribute" in p,l=/undefined|unknown/;if(m){try{p.getAttribute("ext:qtip")}catch(n){o=true}return function(q,s){var r=this.dom,t;if(r.getAttributeNS){t=r.getAttributeNS(s,q)||null}if(t==null){if(s){if(o&&r.tagName.toUpperCase()=="TABLE"){try{t=r.getAttribute(s+":"+q)}catch(u){t=""}}else{t=r.getAttribute(s+":"+q)}}else{t=r.getAttribute(q)||r[q]}}return t||""}}else{return function(q,s){var r=this.om,u,t;if(s){t=r[s+":"+q];u=l.test(typeof t)?undefined:t}else{u=r[q]}return u||""}}p=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.autoBoxAdjust=true;var i=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,c;e.get=function(m){var l,p,o;if(!m){return null}if(typeof m=="string"){if(!(p=h.getElementById(m))){return null}if(a[m]&&a[m].el){l=a[m].el;l.dom=p}else{l=e.addToCache(new e(p))}return l}else{if(m.tagName){if(!(o=m.id)){o=Ext.id(m)}if(a[o]&&a[o].el){l=a[o].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){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 o=a[m.id].data;if(arguments.length==2){return o[l]}else{return(o[l]=n)}};function j(){if(!Ext.enableGarbageCollector){clearInterval(e.collectorThreadId)}else{var l,n,q,p;for(l in a){p=a[l];if(p.skipGC){continue}n=p.el;q=n.dom;if(!q||!q.parentNode||(!q.offsetParent&&!h.getElementById(l))){if(Ext.enableListenerCollection){Ext.EventManager.removeAll(q)}delete a[l]}}if(Ext.isIE){var m={};for(l in a){m[l]=a[l]}a=Ext.elCache=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";if(n=Ext.getDom(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.Element.addMethods(function(){var d="parentNode",b="nextSibling",c="previousSibling",e=Ext.DomQuery,a=Ext.get;return{findParent:function(m,l,h){var j=this.dom,g=document.body,k=0,i;if(Ext.isGecko&&Object.prototype.toString.call(j)=="[object XULElement]"){return null}l=l||50;if(isNaN(l)){i=Ext.getDom(l);l=Number.MAX_VALUE}while(j&&j.nodeType==1&&k "+g,this.dom);return h?i:a(i)},parent:function(g,h){return this.matchNode(d,d,g,h)},next:function(g,h){return this.matchNode(b,b,g,h)},prev:function(g,h){return this.matchNode(c,c,g,h)},first:function(g,h){return this.matchNode(b,"firstChild",g,h)},last:function(g,h){return this.matchNode(c,"lastChild",g,h)},matchNode:function(h,k,g,i){var j=this.dom[k];while(j){if(j.nodeType==1&&(!g||e.is(j,g))){return !i?a(j):j}j=j[h]}return null}}}());Ext.Element.addMethods(function(){var c=Ext.getDom,a=Ext.get,b=Ext.DomHelper;return{appendChild:function(d){return a(d).appendTo(this)},appendTo:function(d){c(d).appendChild(this.dom);return this},insertBefore:function(d){(d=c(d)).parentNode.insertBefore(this.dom,d);return this},insertAfter:function(d){(d=c(d)).parentNode.insertBefore(this.dom,d.nextSibling);return this},insertFirst:function(e,d){e=e||{};if(e.nodeType||e.dom||typeof e=="string"){e=c(e);this.dom.insertBefore(e,this.dom.firstChild);return !d?a(e):e}else{return this.createChild(e,this.dom.firstChild,d)}},replace:function(d){d=a(d);this.insertBefore(d);d.remove();return this},replaceWith:function(d){var e=this;if(d.nodeType||d.dom||typeof d=="string"){d=c(d);e.dom.parentNode.insertBefore(d,e.dom)}else{d=b.insertBefore(e.dom,d)}delete Ext.elCache[e.id];Ext.removeNode(e.dom);e.id=Ext.id(e.dom=d);Ext.Element.addToCache(e.isFlyweight?new Ext.Element(e.dom):e);return e},createChild:function(e,d,g){e=e||{tag:"div"};return d?b.insertBefore(d,e,g!==true):b[!this.dom.firstChild?"overwrite":"append"](this.dom,e,g!==true)},wrap:function(d,e){var g=b.insertBefore(this.dom,d||{tag:"div"},!e);g.dom?g.dom.appendChild(this.dom):g.appendChild(this.dom);return g},insertHtml:function(e,g,d){var h=b.insertHtml(e,this.dom,g);return d?Ext.get(h):h}}}());Ext.Element.addMethods(function(){var A=Ext.supports,h={},x=/(-[a-z])/gi,s=document.defaultView,D=/alpha\(opacity=(.*)\)/i,l=/^\s+|\s+$/g,B=Ext.Element,u=/\s+/,b=/\w/g,d="padding",c="margin",y="border",t="-left",q="-right",w="-top",o="-bottom",j="-width",r=Math,z="hidden",e="isClipped",k="overflow",n="overflow-x",m="overflow-y",C="originalClip",i={l:y+t+j,r:y+q+j,t:y+w+j,b:y+o+j},g={l:d+t,r:d+q,t:d+w,b:d+o},a={l:c+t,r:c+q,t:c+w,b:c+o},E=Ext.Element.data;function p(F,G){return G.charAt(1).toUpperCase()}function v(F){return h[F]||(h[F]=F=="float"?(A.cssFloat?"cssFloat":"styleFloat"):F.replace(x,p))}return{adjustWidth:function(F){var G=this;var H=(typeof F=="number");if(H&&G.autoBoxAdjust&&!G.isBorderBox()){F-=(G.getBorderWidth("lr")+G.getPadding("lr"))}return(H&&F<0)?0:F},adjustHeight:function(F){var G=this;var H=(typeof F=="number");if(H&&G.autoBoxAdjust&&!G.isBorderBox()){F-=(G.getBorderWidth("tb")+G.getPadding("tb"))}return(H&&F<0)?0:F},addClass:function(J){var K=this,I,F,H,G=[];if(!Ext.isArray(J)){if(typeof J=="string"&&!this.hasClass(J)){K.dom.className+=" "+J}}else{for(I=0,F=J.length;I5?H.toLowerCase():G)},setStyle:function(I,H){var F,G;if(typeof I!="object"){F={};F[I]=H;I=F}for(G in I){H=I[G];G=="opacity"?this.setOpacity(H):this.dom.style[v(G)]=H}return this},setOpacity:function(G,F){var J=this,H=J.dom.style;if(!F||!J.anim){if(Ext.isIE){var I=G<1?"alpha(opacity="+G*100+")":"",K=H.filter.replace(D,"").replace(l,"");H.zoom=1;H.filter=K+(K.length>0?" ":"")+I}else{H.opacity=G}}else{J.anim({opacity:{to:G}},J.preanim(arguments,1),null,0.35,"easeIn")}return J},clearOpacity:function(){var F=this.dom.style;if(Ext.isIE){if(!Ext.isEmpty(F.filter)){F.filter=F.filter.replace(D,"").replace(l,"")}}else{F.opacity=F["-moz-opacity"]=F["-khtml-opacity"]=""}return this},getHeight:function(H){var G=this,J=G.dom,I=Ext.isIE&&G.isStyle("display","none"),F=r.max(J.offsetHeight,I?0:J.clientHeight)||0;F=!H?F:F-G.getBorderWidth("tb")-G.getPadding("tb");return F<0?0:F},getWidth:function(G){var H=this,J=H.dom,I=Ext.isIE&&H.isStyle("display","none"),F=r.max(J.offsetWidth,I?0:J.clientWidth)||0;F=!G?F:F-H.getBorderWidth("lr")-H.getPadding("lr");return F<0?0:F},setWidth:function(G,F){var H=this;G=H.adjustWidth(G);!F||!H.anim?H.dom.style.width=H.addUnits(G):H.anim({width:{to:G}},H.preanim(arguments,1));return H},setHeight:function(F,G){var H=this;F=H.adjustHeight(F);!G||!H.anim?H.dom.style.height=H.addUnits(F):H.anim({height:{to:F}},H.preanim(arguments,1));return H},getBorderWidth:function(F){return this.addStyles(F,i)},getPadding:function(F){return this.addStyles(F,g)},clip:function(){var F=this,G=F.dom;if(!E(G,e)){E(G,e,true);E(G,C,{o:F.getStyle(k),x:F.getStyle(n),y:F.getStyle(m)});F.setStyle(k,z);F.setStyle(n,z);F.setStyle(m,z)}return F},unclip:function(){var F=this,H=F.dom;if(E(H,e)){E(H,e,false);var G=E(H,C);if(G.o){F.setStyle(k,G.o)}if(G.x){F.setStyle(n,G.x)}if(G.y){F.setStyle(m,G.y)}}return F},addStyles:function(M,L){var J=0,K=M.match(b),I,H,G,F=K.length;for(G=0;Ga.clientHeight||a.scrollWidth>a.clientWidth},scrollTo:function(a,b){this.dom["scroll"+(/top/i.test(a)?"Top":"Left")]=b;return this},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}});Ext.Element.VISIBILITY=1;Ext.Element.DISPLAY=2;Ext.Element.OFFSETS=3;Ext.Element.ASCLASS=4;Ext.Element.visibilityCls="x-hide-nosize";Ext.Element.addMethods(function(){var e=Ext.Element,p="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(r){var q=i(r,b);if(q===undefined){i(r,b,q="")}return q},o=function(r){var q=i(r,c);if(q===undefined){i(r,c,q=1)}return q};return{originalDisplay:"",visibilityMode:1,setVisibilityMode:function(q){i(this.dom,c,q);return this},animate:function(r,t,s,u,q){this.anim(r,{duration:t,callback:s,easing:u},q);return this},anim:function(t,u,r,w,s,q){r=r||"run";u=u||{};var v=this,x=Ext.lib.Anim[r](v.dom,t,(u.duration||w)||0.35,(u.easing||s)||"easeOut",function(){if(q){q.call(v)}if(u.callback){u.callback.call(u.scope||v,v,u)}},v);u.anim=x;return x},preanim:function(q,r){return !q[r]?false:(typeof q[r]=="object"?q[r]:{duration:q[r+1],callback:q[r+2],easing:q[r+3]})},isVisible:function(){var q=this,s=q.dom,r=i(s,h);if(typeof r=="boolean"){return r}r=!q.isStyle(j,d)&&!q.isStyle(g,m)&&!((o(s)==e.ASCLASS)&&q.hasClass(q.visibilityCls||e.visibilityCls));i(s,h,r);return r},setVisible:function(t,q){var w=this,r,y,x,v,u=w.dom,s=o(u);if(typeof q=="string"){switch(q){case g:s=e.DISPLAY;break;case j:s=e.VISIBILITY;break;case n:s=e.OFFSETS;break;case a:case k:s=e.ASCLASS;break}w.setVisibilityMode(s);q=false}if(!q||!w.anim){if(s==e.ASCLASS){w[t?"removeClass":"addClass"](w.visibilityCls||e.visibilityCls)}else{if(s==e.DISPLAY){return w.setDisplayed(t)}else{if(s==e.OFFSETS){if(!t){w.hideModeStyles={position:w.getStyle("position"),top:w.getStyle("top"),left:w.getStyle("left")};w.applyStyles({position:"absolute",top:"-10000px",left:"-10000px"})}else{w.applyStyles(w.hideModeStyles||{position:"",top:"",left:""});delete w.hideModeStyles}}else{w.fixDisplay();u.style.visibility=t?"visible":d}}}}else{if(t){w.setOpacity(0.01);w.setVisible(true)}w.anim({opacity:{to:(t?1:0)}},w.preanim(arguments,1),null,0.35,"easeIn",function(){t||w.setVisible(false).setOpacity(1)})}i(u,h,t);return w},hasMetrics:function(){var q=this.dom;return this.isVisible()||(o(q)==e.VISIBILITY)},toggle:function(q){var r=this;r.setVisible(!r.isVisible(),r.preanim(arguments,0));return r},setDisplayed:function(q){if(typeof q=="boolean"){q=q?l(this.dom):m}this.setStyle(g,q);return this},fixDisplay:function(){var q=this;if(q.isStyle(g,m)){q.setStyle(j,d);q.setStyle(g,l(this.dom));if(q.isStyle(g,m)){q.setStyle(g,"block")}}},hide:function(q){if(typeof q=="string"){this.setVisible(false,q);return this}this.setVisible(false,this.preanim(arguments,0));return this},show:function(q){if(typeof q=="string"){this.setVisible(true,q);return this}this.setVisible(true,this.preanim(arguments,0));return this}}}());(function(){var y=null,A=undefined,k=true,t=false,j="setX",h="setY",a="setXY",n="left",l="bottom",s="top",m="right",q="height",g="width",i="points",w="hidden",z="absolute",u="visible",e="motion",o="position",r="easeOut",d=new Ext.Element.Flyweight(),v={},x=function(B){return B||{}},p=function(B){d.dom=B;d.id=Ext.id(B);return d},c=function(B){if(!v[B]){v[B]=[]}return v[B]},b=function(C,B){v[C]=B};Ext.enableFx=k;Ext.Fx={switchStatements:function(C,D,B){return D.apply(this,B[C])},slideIn:function(H,E){E=x(E);var J=this,G=J.dom,M=G.style,O,B,L,D,C,M,I,N,K,F;H=H||"t";J.queueFx(E,function(){O=p(G).getXY();p(G).fixDisplay();B=p(G).getFxRestore();L={x:O[0],y:O[1],0:O[0],1:O[1],width:G.offsetWidth,height:G.offsetHeight};L.right=L.x+L.width;L.bottom=L.y+L.height;p(G).setWidth(L.width).setHeight(L.height);D=p(G).fxWrap(B.pos,E,w);M.visibility=u;M.position=z;function P(){p(G).fxUnwrap(D,B.pos,E);M.width=B.width;M.height=B.height;p(G).afterFx(E)}N={to:[L.x,L.y]};K={to:L.width};F={to:L.height};function Q(U,R,V,S,X,Z,ac,ab,aa,W,T){var Y={};p(U).setWidth(V).setHeight(S);if(p(U)[X]){p(U)[X](Z)}R[ac]=R[ab]="0";if(aa){Y.width=aa}if(W){Y.height=W}if(T){Y.points=T}return Y}I=p(G).switchStatements(H.toLowerCase(),Q,{t:[D,M,L.width,0,y,y,n,l,y,F,y],l:[D,M,0,L.height,y,y,m,s,K,y,y],r:[D,M,L.width,L.height,j,L.right,n,s,y,y,N],b:[D,M,L.width,L.height,h,L.bottom,n,s,y,F,N],tl:[D,M,0,0,y,y,m,l,K,F,N],bl:[D,M,0,0,h,L.y+L.height,m,s,K,F,N],br:[D,M,0,0,a,[L.right,L.bottom],n,s,K,F,N],tr:[D,M,0,0,j,L.x+L.width,n,l,K,F,N]});M.visibility=u;p(D).show();arguments.callee.anim=p(D).fxanim(I,E,e,0.5,r,P)});return J},slideOut:function(F,D){D=x(D);var H=this,E=H.dom,K=E.style,L=H.getXY(),C,B,I,J,G={to:0};F=F||"t";H.queueFx(D,function(){B=p(E).getFxRestore();I={x:L[0],y:L[1],0:L[0],1:L[1],width:E.offsetWidth,height:E.offsetHeight};I.right=I.x+I.width;I.bottom=I.y+I.height;p(E).setWidth(I.width).setHeight(I.height);C=p(E).fxWrap(B.pos,D,u);K.visibility=u;K.position=z;p(C).setWidth(I.width).setHeight(I.height);function M(){D.useDisplay?p(E).setDisplayed(t):p(E).hide();p(E).fxUnwrap(C,B.pos,D);K.width=B.width;K.height=B.height;p(E).afterFx(D)}function N(O,W,U,X,S,V,R,T,Q){var P={};O[W]=O[U]="0";P[X]=S;if(V){P[V]=R}if(T){P[T]=Q}return P}J=p(E).switchStatements(F.toLowerCase(),N,{t:[K,n,l,q,G],l:[K,m,s,g,G],r:[K,n,s,g,G,i,{to:[I.right,I.y]}],b:[K,n,s,q,G,i,{to:[I.x,I.bottom]}],tl:[K,m,l,g,G,q,G],bl:[K,m,s,g,G,q,G,i,{to:[I.x,I.bottom]}],br:[K,n,s,g,G,q,G,i,{to:[I.x+I.width,I.bottom]}],tr:[K,n,l,g,G,q,G,i,{to:[I.right,I.y]}]});arguments.callee.anim=p(C).fxanim(J,D,e,0.5,r,M)});return H},puff:function(H){H=x(H);var F=this,G=F.dom,C=G.style,D,B,E;F.queueFx(H,function(){D=p(G).getWidth();B=p(G).getHeight();p(G).clearOpacity();p(G).show();E=p(G).getFxRestore();function I(){H.useDisplay?p(G).setDisplayed(t):p(G).hide();p(G).clearOpacity();p(G).setPositioning(E.pos);C.width=E.width;C.height=E.height;C.fontSize="";p(G).afterFx(H)}arguments.callee.anim=p(G).fxanim({width:{to:p(G).adjustWidth(D*2)},height:{to:p(G).adjustHeight(B*2)},points:{by:[-D*0.5,-B*0.5]},opacity:{to:0},fontSize:{to:200,unit:"%"}},H,e,0.5,r,I)});return F},switchOff:function(F){F=x(F);var D=this,E=D.dom,B=E.style,C;D.queueFx(F,function(){p(E).clearOpacity();p(E).clip();C=p(E).getFxRestore();function G(){F.useDisplay?p(E).setDisplayed(t):p(E).hide();p(E).clearOpacity();p(E).setPositioning(C.pos);B.width=C.width;B.height=C.height;p(E).afterFx(F)}p(E).fxanim({opacity:{to:0.3}},y,y,0.1,y,function(){p(E).clearOpacity();(function(){p(E).fxanim({height:{to:1},points:{by:[0,p(E).getHeight()*0.5]}},F,e,0.3,"easeIn",G)}).defer(100)})});return D},highlight:function(D,H){H=x(H);var F=this,G=F.dom,B=H.attr||"backgroundColor",C={},E;F.queueFx(H,function(){p(G).clearOpacity();p(G).show();function I(){G.style[B]=E;p(G).afterFx(H)}E=G.style[B];C[B]={from:D||"ffff9c",to:H.endColor||p(G).getColor(B)||"ffffff"};arguments.callee.anim=p(G).fxanim(C,H,"color",1,"easeIn",I)});return F},frame:function(B,E,H){H=x(H);var D=this,G=D.dom,C,F;D.queueFx(H,function(){B=B||"#C3DAF9";if(B.length==6){B="#"+B}E=E||1;p(G).show();var L=p(G).getXY(),J={x:L[0],y:L[1],0:L[0],1:L[1],width:G.offsetWidth,height:G.offsetHeight},I=function(){C=p(document.body||document.documentElement).createChild({style:{position:z,"z-index":35000,border:"0px solid "+B}});return C.queueFx({},K)};arguments.callee.anim={isAnimated:true,stop:function(){E=0;C.stopFx()}};function K(){var M=Ext.isBorderBox?2:1;F=C.anim({top:{from:J.y,to:J.y-20},left:{from:J.x,to:J.x-20},borderWidth:{from:0,to:10},opacity:{from:1,to:0},height:{from:J.height,to:J.height+20*M},width:{from:J.width,to:J.width+20*M}},{duration:H.duration||1,callback:function(){C.remove();--E>0?I():p(G).afterFx(H)}});arguments.callee.anim={isAnimated:true,stop:function(){F.stop()}}}I()});return D},pause:function(D){var C=this.dom,B;this.queueFx({},function(){B=setTimeout(function(){p(C).afterFx({})},D*1000);arguments.callee.anim={isAnimated:true,stop:function(){clearTimeout(B);p(C).afterFx({})}}});return this},fadeIn:function(D){D=x(D);var B=this,C=B.dom,E=D.endOpacity||1;B.queueFx(D,function(){p(C).setOpacity(0);p(C).fixDisplay();C.style.visibility=u;arguments.callee.anim=p(C).fxanim({opacity:{to:E}},D,y,0.5,r,function(){if(E==1){p(C).clearOpacity()}p(C).afterFx(D)})});return B},fadeOut:function(E){E=x(E);var C=this,D=C.dom,B=D.style,F=E.endOpacity||0;C.queueFx(E,function(){arguments.callee.anim=p(D).fxanim({opacity:{to:F}},E,y,0.5,r,function(){if(F==0){Ext.Element.data(D,"visibilityMode")==Ext.Element.DISPLAY||E.useDisplay?B.display="none":B.visibility=w;p(D).clearOpacity()}p(D).afterFx(E)})});return C},scale:function(B,C,D){this.shift(Ext.apply({},D,{width:B,height:C}));return this},shift:function(D){D=x(D);var C=this.dom,B={};this.queueFx(D,function(){for(var E in D){if(D[E]!=A){B[E]={to:D[E]}}}B.width?B.width.to=p(C).adjustWidth(D.width):B;B.height?B.height.to=p(C).adjustWidth(D.height):B;if(B.x||B.y||B.xy){B.points=B.xy||{to:[B.x?B.x.to:p(C).getX(),B.y?B.y.to:p(C).getY()]}}arguments.callee.anim=p(C).fxanim(B,D,e,0.35,r,function(){p(C).afterFx(D)})});return this},ghost:function(E,C){C=x(C);var G=this,D=G.dom,J=D.style,H={opacity:{to:0},points:{}},K=H.points,B,I,F;E=E||"b";G.queueFx(C,function(){B=p(D).getFxRestore();I=p(D).getWidth();F=p(D).getHeight();function L(){C.useDisplay?p(D).setDisplayed(t):p(D).hide();p(D).clearOpacity();p(D).setPositioning(B.pos);J.width=B.width;J.height=B.height;p(D).afterFx(C)}K.by=p(D).switchStatements(E.toLowerCase(),function(N,M){return[N,M]},{t:[0,-F],l:[-I,0],r:[I,0],b:[0,F],tl:[-I,-F],bl:[-I,F],br:[I,F],tr:[I,-F]});arguments.callee.anim=p(D).fxanim(H,C,e,0.5,r,L)});return G},syncFx:function(){var B=this;B.fxDefaults=Ext.apply(B.fxDefaults||{},{block:t,concurrent:k,stopFx:t});return B},sequenceFx:function(){var B=this;B.fxDefaults=Ext.apply(B.fxDefaults||{},{block:t,concurrent:t,stopFx:t});return B},nextFx:function(){var B=c(this.dom.id)[0];if(B){B.call(this)}},hasActiveFx:function(){return c(this.dom.id)[0]},stopFx:function(B){var C=this,E=C.dom.id;if(C.hasActiveFx()){var D=c(E)[0];if(D&&D.anim){if(D.anim.isAnimated){b(E,[D]);D.anim.stop(B!==undefined?B:k)}else{b(E,[])}}}return C},beforeFx:function(B){if(this.hasActiveFx()&&!B.concurrent){if(B.stopFx){this.stopFx();return k}return t}return k},hasFxBlock:function(){var B=c(this.dom.id);return B&&B[0]&&B[0].block},queueFx:function(E,B){var C=p(this.dom);if(!C.hasFxBlock()){Ext.applyIf(E,C.fxDefaults);if(!E.concurrent){var D=C.beforeFx(E);B.block=E.block;c(C.dom.id).push(B);if(D){C.nextFx()}}else{B.call(C)}}return C},fxWrap:function(H,F,D){var E=this.dom,C,B;if(!F.wrap||!(C=Ext.getDom(F.wrap))){if(F.fixPosition){B=p(E).getXY()}var G=document.createElement("div");G.style.visibility=D;C=E.parentNode.insertBefore(G,E);p(C).setPositioning(H);if(p(C).isStyle(o,"static")){p(C).position("relative")}p(E).clearPositioning("auto");p(C).clip();C.appendChild(E);if(B){p(C).setXY(B)}}return C},fxUnwrap:function(C,F,E){var D=this.dom;p(D).clearPositioning();p(D).setPositioning(F);if(!E.wrap){var B=p(C).dom.parentNode;B.insertBefore(D,C);p(C).remove()}},getFxRestore:function(){var B=this.dom.style;return{pos:this.getPositioning(),width:B.width,height:B.height}},afterFx:function(C){var B=this.dom,D=B.id;if(C.afterStyle){p(B).setStyle(C.afterStyle)}if(C.afterCls){p(B).addClass(C.afterCls)}if(C.remove==k){p(B).remove()}if(C.callback){C.callback.call(C.scope,p(B))}if(!C.concurrent){c(D).shift();p(B).nextFx()}},fxanim:function(E,F,C,G,D,B){C=C||"run";F=F||{};var H=Ext.lib.Anim[C](this.dom,E,(F.duration||G)||0.35,(F.easing||D)||r,B,this);F.anim=H;return H}};Ext.Fx.resize=Ext.Fx.scale;Ext.Element.addMethods(Ext.Fx)})();Ext.CompositeElementLite=function(b,a){this.elements=[];this.add(b,a);this.el=new Ext.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.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)}this.elements.splice(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.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.Element.selectorFunction=Ext.DomQuery.select}Ext.Element.select=function(a,b){var c;if(typeof a=="string"){c=Ext.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{throw"Invalid selector"}}return new Ext.CompositeElementLite(c)};Ext.select=Ext.Element.select;(function(){var b="beforerequest",e="requestcomplete",d="requestexception",h=undefined,c="load",i="POST",a="GET",g=window;Ext.data.Connection=function(j){Ext.apply(this,j);this.addEvents(b,e,d);Ext.data.Connection.superclass.constructor.call(this)};Ext.extend(Ext.data.Connection,Ext.util.Observable,{timeout:30000,autoAbort:false,disableCaching:true,disableCachingParam:"_dc",request:function(n){var s=this;if(s.fireEvent(b,s,n)){if(n.el){if(!Ext.isEmpty(n.indicatorText)){s.indicatorText='
    '+n.indicatorText+"
    "}if(s.indicatorText){Ext.getDom(n.el).innerHTML=s.indicatorText}n.success=(Ext.isFunction(n.success)?n.success:function(){}).createInterceptor(function(o){Ext.getDom(n.el).innerHTML=o.responseText})}var l=n.params,k=n.url||s.url,j,q={success:s.handleResponse,failure:s.handleFailure,scope:s,argument:{options:n},timeout:Ext.num(n.timeout,s.timeout)},m,t;if(Ext.isFunction(l)){l=l.call(n.scope||g,n)}l=Ext.urlEncode(s.extraParams,Ext.isObject(l)?Ext.urlEncode(l):l);if(Ext.isFunction(k)){k=k.call(n.scope||g,n)}if((m=Ext.getDom(n.form))){k=k||m.action;if(n.isUpload||(/multipart\/form-data/i.test(m.getAttribute("enctype")))){return s.doFormUpload.call(s,n,l,k)}t=Ext.lib.Ajax.serializeForm(m);l=l?(l+"&"+t):t}j=n.method||s.method||((l||n.xmlData||n.jsonData)?i:a);if(j===a&&(s.disableCaching&&n.disableCaching!==false)||n.disableCaching===true){var r=n.disableCachingParam||s.disableCachingParam;k=Ext.urlAppend(k,r+"="+(new Date().getTime()))}n.headers=Ext.applyIf(n.headers||{},s.defaultHeaders||{});if(n.autoAbort===true||s.autoAbort){s.abort()}if((j==a||n.xmlData||n.jsonData)&&l){k=Ext.urlAppend(k,l);l=""}return(s.transId=Ext.lib.Ajax.request(j,k,q,l,n))}else{return n.callback?n.callback.apply(n.scope,[n,h,h]):null}},isLoading:function(j){return j?Ext.lib.Ajax.isCallInProgress(j):!!this.transId},abort:function(j){if(j||this.isLoading()){Ext.lib.Ajax.abort(j||this.transId)}},handleResponse:function(j){this.transId=false;var k=j.argument.options;j.argument=k?k.argument:null;this.fireEvent(e,this,j,k);if(k.success){k.success.call(k.scope,j,k)}if(k.callback){k.callback.call(k.scope,k,true,j)}},handleFailure:function(j,l){this.transId=false;var k=j.argument.options;j.argument=k?k.argument:null;this.fireEvent(d,this,j,k,l);if(k.failure){k.failure.call(k.scope,j,k)}if(k.callback){k.callback.call(k.scope,k,false,j)}},doFormUpload:function(q,j,k){var l=Ext.id(),v=document,r=v.createElement("iframe"),m=Ext.getDom(q.form),u=[],t,p="multipart/form-data",n={target:m.target,method:m.method,encoding:m.encoding,enctype:m.enctype,action:m.action};Ext.fly(r).set({id:l,name:l,cls:"x-hidden",src:Ext.SSL_SECURE_URL});v.body.appendChild(r);if(Ext.isIE){document.frames[l].name=l}Ext.fly(m).set({target:l,method:i,enctype:p,encoding:p,action:k||n.action});Ext.iterate(Ext.urlDecode(j,false),function(w,o){t=v.createElement("input");Ext.fly(t).set({type:"hidden",value:o,name:w});m.appendChild(t);u.push(t)});function s(){var x=this,w={responseText:"",responseXML:null,argument:q.argument},A,z;try{A=r.contentWindow.document||r.contentDocument||g.frames[l].document;if(A){if(A.body){if(/textarea/i.test((z=A.body.firstChild||{}).tagName)){w.responseText=z.value}else{w.responseText=A.body.innerHTML}}w.responseXML=A.XMLDocument||A}}catch(y){}Ext.EventManager.removeListener(r,c,s,x);x.fireEvent(e,x,w,q);function o(D,C,B){if(Ext.isFunction(D)){D.apply(C,B)}}o(q.success,q.scope,[w,q]);o(q.callback,q.scope,[q,true,w]);if(!x.debugUploads){setTimeout(function(){Ext.removeNode(r)},100)}}Ext.EventManager.on(r,c,s,this);m.submit();Ext.fly(m).set(n);Ext.each(u,function(o){Ext.removeNode(o)})}})})();Ext.Ajax=new Ext.data.Connection({autoAbort:false,serializeForm:function(a){return Ext.lib.Ajax.serializeForm(a)}});Ext.util.JSON=new (function(){var useHasOwn=!!{}.hasOwnProperty,isNative=function(){var useNative=null;return function(){if(useNative===null){useNative=Ext.USE_NATIVE_JSON&&window.JSON&&JSON.toString()=="[object JSON]"}return useNative}}(),pad=function(n){return n<10?"0"+n:n},doDecode=function(json){return json?eval("("+json+")"):""},doEncode=function(o){if(!Ext.isDefined(o)||o===null){return"null"}else{if(Ext.isArray(o)){return encodeArray(o)}else{if(Ext.isDate(o)){return Ext.util.JSON.encodeDate(o)}else{if(Ext.isString(o)){return encodeString(o)}else{if(typeof o=="number"){return isFinite(o)?String(o):"null"}else{if(Ext.isBoolean(o)){return String(o)}else{var a=["{"],b,i,v;for(i in o){if(!o.getElementsByTagName){if(!useHasOwn||o.hasOwnProperty(i)){v=o[i];switch(typeof v){case"undefined":case"function":case"unknown":break;default:if(b){a.push(",")}a.push(doEncode(i),":",v===null?"null":doEncode(v));b=true}}}}a.push("}");return a.join("")}}}}}}},m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},encodeString=function(s){if(/["\\\x00-\x1f]/.test(s)){return'"'+s.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c}c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"'}return'"'+s+'"'},encodeArray=function(o){var a=["["],b,i,l=o.length,v;for(i=0;i
    ';e.body.appendChild(g);d=g.lastChild;if((c=e.defaultView)){if(c.getComputedStyle(g.firstChild.firstChild,null).marginRight!="0px"){b.correctRightMargin=false}if(c.getComputedStyle(d,null).backgroundColor!="transparent"){b.correctTransparentColor=false}}b.cssFloat=!!d.style.cssFloat;e.body.removeChild(g)};if(Ext.isReady){a()}else{Ext.onReady(a)}})();Ext.EventObject=function(){var b=Ext.lib.Event,c=/(dbl)?click/,a={3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35},d=Ext.isIE?{1:0,4:1,2:2}:{0:0,1:1,2:2};Ext.EventObjectImpl=function(g){if(g){this.setEvent(g.browserEvent||g)}};Ext.EventObjectImpl.prototype={setEvent:function(h){var g=this;if(h==g||(h&&h.browserEvent)){return h}g.browserEvent=h;if(h){g.button=h.button?d[h.button]:(h.which?h.which-1:-1);if(c.test(h.type)&&g.button==-1){g.button=0}g.type=h.type;g.shiftKey=h.shiftKey;g.ctrlKey=h.ctrlKey||h.metaKey||false;g.altKey=h.altKey;g.keyCode=h.keyCode;g.charCode=h.charCode;g.target=b.getTarget(h);g.xy=b.getXY(h)}else{g.button=-1;g.shiftKey=false;g.ctrlKey=false;g.altKey=false;g.keyCode=0;g.charCode=0;g.target=null;g.xy=[0,0]}return g},stopEvent:function(){var e=this;if(e.browserEvent){if(e.browserEvent.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(e)}b.stopEvent(e.browserEvent)}},preventDefault:function(){if(this.browserEvent){b.preventDefault(this.browserEvent)}},stopPropagation:function(){var e=this;if(e.browserEvent){if(e.browserEvent.type=="mousedown"){Ext.EventManager.stoppedMouseDownEvent.fire(e)}b.stopPropagation(e.browserEvent)}},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){return this.normalizeKey(this.keyCode||this.charCode)},normalizeKey:function(e){return Ext.isSafari?(a[e]||e):e},getPageX:function(){return this.xy[0]},getPageY:function(){return this.xy[1]},getXY:function(){return this.xy},getTarget:function(g,h,e){return g?Ext.fly(this.target).findParent(g,h,e):(e?Ext.get(this.target):this.target)},getRelatedTarget:function(){return this.browserEvent?b.getRelatedTarget(this.browserEvent):null},getWheelDelta:function(){var g=this.browserEvent;var h=0;if(g.wheelDelta){h=g.wheelDelta/120}else{if(g.detail){h=-g.detail/3}}return h},within:function(h,i,e){if(h){var g=this[i?"getRelatedTarget":"getTarget"]();return g&&((e?(g==Ext.getDom(h)):false)||Ext.fly(h).contains(g))}return false}};return new Ext.EventObjectImpl()}();Ext.Loader=Ext.apply({},{load:function(j,i,k,c){var k=k||this,g=document.getElementsByTagName("head")[0],b=document.createDocumentFragment(),a=j.length,h=0,e=this;var l=function(m){g.appendChild(e.buildScriptTag(j[m],d))};var d=function(){h++;if(a==h&&typeof i=="function"){i.call(k)}else{if(c===true){l(h)}}};if(c===true){l.call(this,0)}else{Ext.each(j,function(n,m){b.appendChild(this.buildScriptTag(n,d))},this);g.appendChild(b)}},buildScriptTag:function(b,c){var a=document.createElement("script");a.type="text/javascript";a.src=b;if(a.readyState){a.onreadystatechange=function(){if(a.readyState=="loaded"||a.readyState=="complete"){a.onreadystatechange=null;c()}}}else{a.onload=c}return a}});Ext.ns("Ext.grid","Ext.list","Ext.dd","Ext.tree","Ext.form","Ext.menu","Ext.state","Ext.layout.boxOverflow","Ext.app","Ext.ux","Ext.chart","Ext.direct","Ext.slider");Ext.apply(Ext,function(){var c=Ext,a=0,b=null;return{emptyFn:function(){},BLANK_IMAGE_URL:Ext.isIE6||Ext.isIE7||Ext.isAir?"http://www.extjs.com/s.gif":"data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",extendX:function(d,e){return Ext.extend(d,e(d.prototype))},getDoc:function(){return Ext.get(document)},num:function(e,d){e=Number(Ext.isEmpty(e)||Ext.isArray(e)||typeof e=="boolean"||(typeof e=="string"&&e.trim().length==0)?NaN:e);return isNaN(e)?d:e},value:function(g,d,e){return Ext.isEmpty(g,e)?d:g},escapeRe:function(d){return d.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},sequence:function(h,d,g,e){h[d]=h[d].createSequence(g,e)},addBehaviors:function(i){if(!Ext.isReady){Ext.onReady(function(){Ext.addBehaviors(i)})}else{var e={},h,d,g;for(d in i){if((h=d.split("@"))[1]){g=h[0];if(!e[g]){e[g]=Ext.select(g)}e[g].on(h[1],i[d])}}e=null}},getScrollBarWidth:function(g){if(!Ext.isReady){return 0}if(g===true||b===null){var i=Ext.getBody().createChild('
    '),h=i.child("div",true);var e=h.offsetWidth;i.setStyle("overflow",(Ext.isWebKit||Ext.isGecko)?"auto":"scroll");var d=h.offsetWidth;i.remove();b=e-d+2}return b},combine:function(){var g=arguments,e=g.length,j=[];for(var h=0;hh?1:-1};Ext.each(d,function(h){g=e(g,h)==1?g:h});return g},mean:function(d){return d.length>0?Ext.sum(d)/d.length:undefined},sum:function(d){var e=0;Ext.each(d,function(g){e+=g});return e},partition:function(d,e){var g=[[],[]];Ext.each(d,function(j,k,h){g[(e&&e(j,k,h))||(!e&&j)?0:1].push(j)});return g},invoke:function(d,e){var h=[],g=Array.prototype.slice.call(arguments,2);Ext.each(d,function(j,k){if(j&&typeof j[e]=="function"){h.push(j[e].apply(j,g))}else{h.push(undefined)}});return h},pluck:function(d,g){var e=[];Ext.each(d,function(h){e.push(h[g])});return e},zip:function(){var n=Ext.partition(arguments,function(i){return typeof i!="function"}),k=n[0],m=n[1][0],d=Ext.max(Ext.pluck(k,"length")),h=[];for(var l=0;l=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom)},getArea:function(){var a=this;return((a.bottom-a.top)*(a.right-a.left))},intersect:function(h){var g=this,d=Math.max(g.top,h.top),e=Math.min(g.right,h.right),a=Math.min(g.bottom,h.bottom),c=Math.max(g.left,h.left);if(a>=d&&e>=c){return new Ext.lib.Region(d,e,a,c)}},union:function(h){var g=this,d=Math.min(g.top,h.top),e=Math.max(g.right,h.right),a=Math.max(g.bottom,h.bottom),c=Math.min(g.left,h.left);return new Ext.lib.Region(d,e,a,c)},constrainTo:function(b){var a=this;a.top=a.top.constrain(b.top,b.bottom);a.bottom=a.bottom.constrain(b.top,b.bottom);a.left=a.left.constrain(b.left,b.right);a.right=a.right.constrain(b.left,b.right);return a},adjust:function(d,c,a,g){var e=this;e.top+=d;e.left+=c;e.right+=g;e.bottom+=a;return e}};Ext.lib.Region.getRegion=function(e){var h=Ext.lib.Dom.getXY(e),d=h[1],g=h[0]+e.offsetWidth,a=h[1]+e.offsetHeight,c=h[0];return new Ext.lib.Region(d,g,a,c)};Ext.lib.Point=function(a,c){if(Ext.isArray(a)){c=a[1];a=a[0]}var b=this;b.x=b.right=b.left=b[0]=a;b.y=b.top=b.bottom=b[1]=c};Ext.lib.Point.prototype=new Ext.lib.Region();Ext.apply(Ext.DomHelper,function(){var e,a="afterbegin",h="afterend",i="beforebegin",d="beforeend",b=/tag|children|cn|html$/i;function g(m,p,n,q,l,j){m=Ext.getDom(m);var k;if(e.useDom){k=c(p,null);if(j){m.appendChild(k)}else{(l=="firstChild"?m:m.parentNode).insertBefore(k,m[l]||m)}}else{k=Ext.DomHelper.insertHtml(q,m,Ext.DomHelper.createHtml(p))}return n?Ext.get(k,true):k}function c(j,r){var k,u=document,p,s,m,t;if(Ext.isArray(j)){k=u.createDocumentFragment();for(var q=0,n=j.length;q0){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}}}};Ext.defer=Ext.util.Functions.defer;Ext.createInterceptor=Ext.util.Functions.createInterceptor;Ext.createSequence=Ext.util.Functions.createSequence;Ext.createDelegate=Ext.util.Functions.createDelegate;Ext.apply(Ext.util.Observable.prototype,function(){function a(j){var i=(this.methodEvents=this.methodEvents||{})[j],d,c,g,h=this;if(!i){this.methodEvents[j]=i={};i.originalFn=this[j];i.methodName=j;i.before=[];i.after=[];var b=function(l,k,e){if((c=l.apply(k||h,e))!==undefined){if(typeof c=="object"){if(c.returnValue!==undefined){d=c.returnValue}else{d=c}g=!!c.cancel}else{if(c===false){g=true}else{d=c}}}};this[j]=function(){var l=Array.prototype.slice.call(arguments,0),k;d=c=undefined;g=false;for(var m=0,e=i.before.length;m=525:!((Ext.isGecko&&!Ext.isWindows)||Ext.isOpera);return{_unload:function(){Ext.EventManager.un(window,"resize",this.fireWindowResize,this);c.call(Ext.EventManager)},doResizeEvent:function(){var m=a.getViewHeight(),l=a.getViewWidth();if(h!=m||i!=l){d.fire(i=l,h=m)}},onWindowResize:function(n,m,l){if(!d){d=new Ext.util.Event();k=new Ext.util.DelayedTask(this.doResizeEvent);Ext.EventManager.on(window,"resize",this.fireWindowResize,this)}d.addListener(n,m,l)},fireWindowResize:function(){if(d){k.delay(100)}},onTextResize:function(o,n,l){if(!g){g=new Ext.util.Event();var m=new Ext.Element(document.createElement("div"));m.dom.className="x-text-resize";m.dom.innerHTML="X";m.appendTo(document.body);b=m.dom.offsetHeight;setInterval(function(){if(m.dom.offsetHeight!=b){g.fire(b,b=m.dom.offsetHeight)}},this.textResizeInterval)}g.addListener(o,n,l)},removeResizeListener:function(m,l){if(d){d.removeListener(m,l)}},fireResize:function(){if(d){d.fire(a.getViewWidth(),a.getViewHeight())}},textResizeInterval:50,ieDeferSrc:false,getKeyEvent:function(){return e?"keydown":"keypress"},useKeydown:e}}());Ext.EventManager.on=Ext.EventManager.addListener;Ext.apply(Ext.EventObjectImpl.prototype,{BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,CONTROL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGEUP:33,PAGE_DOWN:34,PAGEDOWN: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,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(){return new Ext.lib.Point(this.xy[0],this.xy[1])},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)}});Ext.Element.addMethods({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,c=-1;if(Ext.Element.data(e,"isCleaned")&&b!==true){return d}while(g){var a=g.nextSibling;if(g.nodeType==3&&!(/\S/.test(g.nodeValue))){e.removeChild(g)}else{g.nodeIndex=++c}g=a}Ext.Element.data(e,"isCleaned",true);return d},load:function(){var a=this.getUpdater();a.update.apply(a,arguments);return this},getUpdater:function(){return this.updateManager||(this.updateManager=new Ext.Updater(this))},update:function(html,loadScripts,callback){if(!this.dom){return this}html=html||"";if(loadScripts!==true){this.dom.innerHTML=html;if(typeof callback=="function"){callback()}return this}var id=Ext.id(),dom=this.dom;html+='';Ext.lib.Event.onAvailable(id,function(){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)}if(typeof callback=="function"){callback()}});dom.innerHTML=html.replace(/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,"");return this},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.DomHelper.append(e,a,true):Ext.DomHelper.insertBefore(c.dom,a,true);if(d&&c.setBox&&c.getBox){b.setBox(c.getBox())}return b}});Ext.Element.prototype.getUpdateManager=Ext.Element.prototype.getUpdater;Ext.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.lib.Dom.getViewWidth():k.getWidth(),i=q.height||b?Ext.lib.Dom.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.Element.data,c=this.dom;if(!c){return}var a=b(c,"_anchor");if(!a){a=b(c,"_anchor",{})}return a},getAlignToXY:function(g,A,B){g=Ext.get(g);if(!g||!g.dom){throw"Element.alignToXY with an element that doesn't exist"}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.lib.Dom.getViewWidth()-10,G=Ext.lib.Dom.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){throw"Element.alignTo with an invalid alignment "+A}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(lB){p=B-q;m=true}if((o+C)>g){o=g-C;m=true}if(p"+String.format(Ext.Element.boxMarkup,c)+"
    "));Ext.DomQuery.selectNode("."+c+"-mc",d.dom).appendChild(this.dom);return d},setSize:function(e,c,d){var g=this;if(typeof e=="object"){c=e.height;e=e.width}e=g.adjustWidth(e);c=g.adjustHeight(c);if(!d||!g.anim){g.dom.style.width=g.addUnits(e);g.dom.style.height=g.addUnits(c)}else{g.anim({width:{to:e},height:{to:c}},g.preanim(arguments,2))}return g},getComputedHeight:function(){var d=this,c=Math.max(d.dom.offsetHeight,d.dom.clientHeight);if(!c){c=parseFloat(d.getStyle("height"))||0;if(!d.isBorderBox()){c+=d.getFrameWidth("tb")}}return c},getComputedWidth:function(){var c=Math.max(this.dom.offsetWidth,this.dom.clientWidth);if(!c){c=parseFloat(this.getStyle("width"))||0;if(!this.isBorderBox()){c+=this.getFrameWidth("lr")}}return c},getFrameWidth:function(d,c){return c&&this.isBorderBox()?0:(this.getPadding(d)+this.getBorderWidth(d))},addClassOnOver:function(c){this.hover(function(){Ext.fly(this,a).addClass(c)},function(){Ext.fly(this,a).removeClass(c)});return this},addClassOnFocus:function(c){this.on("focus",function(){Ext.fly(this,a).addClass(c)},this.dom);this.on("blur",function(){Ext.fly(this,a).removeClass(c)},this.dom);return this},addClassOnClick:function(c){var d=this.dom;this.on("mousedown",function(){Ext.fly(d,a).addClass(c);var g=Ext.getDoc(),e=function(){Ext.fly(d,a).removeClass(c);g.removeListener("mouseup",e)};g.on("mouseup",e)});return this},getViewSize:function(){var g=document,h=this.dom,c=(h==g||h==g.body);if(c){var e=Ext.lib.Dom;return{width:e.getViewWidth(),height:e.getViewHeight()}}else{return{width:h.clientWidth,height:h.clientHeight}}},getStyleSize:function(){var j=this,c,i,l=document,m=this.dom,e=(m==l||m==l.body),g=m.style;if(e){var k=Ext.lib.Dom;return{width:k.getViewWidth(),height:k.getViewHeight()}}if(g.width&&g.width!="auto"){c=parseFloat(g.width);if(j.isBorderBox()){c-=j.getFrameWidth("lr")}}if(g.height&&g.height!="auto"){i=parseFloat(g.height);if(j.isBorderBox()){i-=j.getFrameWidth("tb")}}return{width:c||j.getWidth(true),height:i||j.getHeight(true)}},getSize:function(c){return{width:this.getWidth(c),height:this.getHeight(c)}},repaint:function(){var c=this.dom;this.addClass("x-repaint");setTimeout(function(){Ext.fly(c).removeClass("x-repaint")},1);return this},unselectable:function(){this.dom.unselectable="on";return this.swallowEvent("selectstart",true).applyStyles("-moz-user-select:none;-khtml-user-select:none;").addClass("x-unselectable")},getMargins:function(d){var e=this,c,g={t:"top",l:"left",r:"right",b:"bottom"},h={};if(!d){for(c in e.margins){h[g[c]]=parseFloat(e.getStyle(e.margins[c]))||0}return h}else{return e.addStyles.call(e,d,e.margins)}}}}());Ext.Element.addMethods({setBox:function(e,g,b){var d=this,a=e.width,c=e.height;if((g&&!d.autoBoxAdjust)&&!d.isBorderBox()){a-=(d.getBorderWidth("lr")+d.getPadding("lr"));c-=(d.getBorderWidth("tb")+d.getPadding("tb"))}d.setBounds(e.x,e.y,a,c,d.animTest.call(d,arguments,b,2));return d},getBox:function(j,p){var m=this,v,e,o,d=m.getBorderWidth,q=m.getPadding,g,a,u,n;if(!p){v=m.getXY()}else{e=parseInt(m.getStyle("left"),10)||0;o=parseInt(m.getStyle("top"),10)||0;v=[e,o]}var c=m.dom,s=c.offsetWidth,i=c.offsetHeight,k;if(!j){k={x:v[0],y:v[1],0:v[0],1:v[1],width:s,height:i}}else{g=d.call(m,"l")+q.call(m,"l");a=d.call(m,"r")+q.call(m,"r");u=d.call(m,"t")+q.call(m,"t");n=d.call(m,"b")+q.call(m,"b");k={x:v[0]+g,y:v[1]+u,0:v[0]+g,1:v[1]+u,width:s-(g+a),height:i-(u+n)}}k.right=k.x+k.width;k.bottom=k.y+k.height;return k},move:function(j,b,c){var g=this,m=g.getXY(),k=m[0],i=m[1],d=[k-b,i],l=[k+b,i],h=[k,i-b],a=[k,i+b],e={l:d,left:d,r:l,right:l,t:h,top:h,up:h,b:a,bottom:a,down:a};j=j.toLowerCase();g.moveTo(e[j][0],e[j][1],g.animTest.call(g,arguments,c,2))},setLeftTop:function(d,c){var b=this,a=b.dom.style;a.left=b.addUnits(d);a.top=b.addUnits(c);return b},getRegion:function(){return Ext.lib.Dom.getRegion(this.dom)},setBounds:function(b,g,d,a,c){var e=this;if(!c||!e.anim){e.setSize(d,a);e.setLocation(b,g)}else{e.anim({points:{to:[b,g]},width:{to:e.adjustWidth(d)},height:{to:e.adjustHeight(a)}},e.preanim(arguments,4),"motion")}return e},setRegion:function(b,a){return this.setBounds(b.left,b.top,b.right-b.left,b.bottom-b.top,this.animTest.call(this,arguments,a,1))}});Ext.Element.addMethods({scrollTo:function(b,d,a){var e=/top/i.test(b),c=this,g=c.dom,h;if(!a||!c.anim){h="scroll"+(e?"Top":"Left");g[h]=d}else{h="scroll"+(e?"Left":"Top");c.anim({scroll:{to:e?[g[h],d]:[d,g[h]]}},c.preanim(arguments,2),"scroll")}return c},scrollIntoView:function(e,i){var p=Ext.getDom(e)||Ext.getBody().dom,h=this.dom,g=this.getOffsetsTo(p),k=g[0]+p.scrollLeft,u=g[1]+p.scrollTop,q=u+h.offsetHeight,d=k+h.offsetWidth,a=p.clientHeight,m=parseInt(p.scrollTop,10),s=parseInt(p.scrollLeft,10),j=m+a,n=s+p.clientWidth;if(h.offsetHeight>a||uj){p.scrollTop=q-a}}p.scrollTop=p.scrollTop;if(i!==false){if(h.offsetWidth>p.clientWidth||kn){p.scrollLeft=d-p.clientWidth}}p.scrollLeft=p.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,p=e.scrollTop,n=e.scrollWidth,k=e.scrollHeight,i=e.clientWidth,a=e.clientHeight,c=false,o,j={l:Math.min(g+b,n-i),r:o=Math.max(g-b,0),t:Math.max(p-b,0),b:Math.min(p+b,k-a)};j.d=j.b;j.u=j.t;m=m.substr(0,1);if((o=j[m])>-1){c=true;this.scrollTo(m=="l"||m=="r"?"left":"top",o,this.preanim(arguments,2))}return c}});Ext.Element.addMethods(function(){var d="visibility",b="display",a="hidden",h="none",c="x-masked",g="x-masked-relative",e=Ext.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.Element.DISPLAY);if(!Ext.isEmpty(i)){e(this.dom,"originalDisplay",i)}return this},mask:function(j,n){var p=this,l=p.dom,o=Ext.DomHelper,m="ext-el-mask-msg",i,q;if(!/^body/i.test(l.tagName)&&p.getStyle("position")=="static"){p.addClass(g)}if(i=e(l,"maskMsg")){i.remove()}if(i=e(l,"mask")){i.remove()}q=o.append(l,{cls:"ext-el-mask"},true);e(l,"mask",q);p.addClass(c);q.setDisplayed(true);if(typeof j=="string"){var k=o.append(l,{cls:m,cn:{tag:"div"}},true);e(l,"maskMsg",k);k.dom.className=n?m+" "+n:m;k.dom.firstChild.innerHTML=j;k.setDisplayed(true);k.center(p)}if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict)&&p.getStyle("height")=="auto"){q.setSize(undefined,p.getHeight())}return q},unmask:function(){var k=this,l=k.dom,i=e(l,"mask"),j=e(l,"maskMsg");if(i){if(j){j.remove();e(l,"maskMsg",undefined)}i.remove();e(l,"mask",undefined);k.removeClass([c,g])}},isMasked:function(){var i=e(this.dom,"mask");return i&&i.isVisible()},createShim:function(){var i=document.createElement("iframe"),j;i.frameBorder="0";i.className="ext-shim";i.src=Ext.SSL_SECURE_URL;j=Ext.get(this.dom.parentNode.insertBefore(i,this.dom));j.autoBoxAdjust=false;return j}}}());Ext.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 new Ext.KeyMap(this,a)},addKeyMap:function(a){return new Ext.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.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)}}a.splice(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.Element.select=function(a,d,b){var c;if(typeof a=="string"){c=Ext.Element.selectorFunction(a,b)}else{if(a.length!==undefined){c=a}else{throw"Invalid selector"}}return(d===true)?new Ext.CompositeElement(c):new Ext.CompositeElementLite(c)};Ext.select=Ext.Element.select;Ext.UpdateManager=Ext.Updater=Ext.extend(Ext.util.Observable,function(){var b="beforeupdate",d="update",c="failure";function a(h){var i=this;i.transaction=null;if(h.argument.form&&h.argument.reset){try{h.argument.form.reset()}catch(j){}}if(i.loadScripts){i.renderer.render(i.el,h,i,g.createDelegate(i,[h]))}else{i.renderer.render(i.el,h,i);g.call(i,h)}}function g(h,i,j){this.fireEvent(i||d,this.el,h);if(Ext.isFunction(h.argument.callback)){h.argument.callback.call(h.argument.scope,this.el,Ext.isEmpty(j)?true:false,h,h.argument.options)}}function e(h){g.call(this,h,c,!!(this.transaction=null))}return{constructor:function(i,h){var j=this;i=Ext.get(i);if(!h&&i.updateManager){return i.updateManager}j.el=i;j.defaultUrl=null;j.addEvents(b,d,c);Ext.apply(j,Ext.Updater.defaults);j.transaction=null;j.refreshDelegate=j.refresh.createDelegate(j);j.updateDelegate=j.update.createDelegate(j);j.formUpdateDelegate=(j.formUpdate||function(){}).createDelegate(j);j.renderer=j.renderer||j.getDefaultRenderer();Ext.Updater.superclass.constructor.call(j)},setRenderer:function(h){this.renderer=h},getRenderer:function(){return this.renderer},getDefaultRenderer:function(){return new Ext.Updater.BasicRenderer()},setDefaultUrl:function(h){this.defaultUrl=h},getEl:function(){return this.el},update:function(i,n,p,l){var k=this,h,j;if(k.fireEvent(b,k.el,i,n)!==false){if(Ext.isObject(i)){h=i;i=h.url;n=n||h.params;p=p||h.callback;l=l||h.discardUrl;j=h.scope;if(!Ext.isEmpty(h.nocache)){k.disableCaching=h.nocache}if(!Ext.isEmpty(h.text)){k.indicatorText='
    '+h.text+"
    "}if(!Ext.isEmpty(h.scripts)){k.loadScripts=h.scripts}if(!Ext.isEmpty(h.timeout)){k.timeout=h.timeout}}k.showLoading();if(!l){k.defaultUrl=i}if(Ext.isFunction(i)){i=i.call(k)}var m=Ext.apply({},{url:i,params:(Ext.isFunction(n)&&j)?n.createDelegate(j):n,success:a,failure:e,scope:k,callback:undefined,timeout:(k.timeout*1000),disableCaching:k.disableCaching,argument:{options:h,url:i,form:null,callback:p,scope:j||window,params:n}},h);k.transaction=Ext.Ajax.request(m)}},formUpdate:function(k,h,j,l){var i=this;if(i.fireEvent(b,i.el,k,h)!==false){if(Ext.isFunction(h)){h=h.call(i)}k=Ext.getDom(k);i.transaction=Ext.Ajax.request({form:k,url:h,success:a,failure:e,scope:i,timeout:(i.timeout*1000),argument:{url:h,form:k,callback:l,reset:j}});i.showLoading.defer(1,i)}},startAutoRefresh:function(i,j,l,m,h){var k=this;if(h){k.update(j||k.defaultUrl,l,m,true)}if(k.autoRefreshProcId){clearInterval(k.autoRefreshProcId)}k.autoRefreshProcId=setInterval(k.update.createDelegate(k,[j||k.defaultUrl,l,m,true]),i*1000)},stopAutoRefresh:function(){if(this.autoRefreshProcId){clearInterval(this.autoRefreshProcId);delete this.autoRefreshProcId}},isAutoRefreshing:function(){return !!this.autoRefreshProcId},showLoading:function(){if(this.showLoadIndicator){this.el.dom.innerHTML=this.indicatorText}},abort:function(){if(this.transaction){Ext.Ajax.abort(this.transaction)}},isUpdating:function(){return this.transaction?Ext.Ajax.isLoading(this.transaction):false},refresh:function(h){if(this.defaultUrl){this.update(this.defaultUrl,null,h,true)}}}}());Ext.Updater.defaults={timeout:30,disableCaching:false,showLoadIndicator:true,indicatorText:'
    Loading...
    ',loadScripts:false,sslBlankUrl:Ext.SSL_SECURE_URL};Ext.Updater.updateElement=function(d,c,e,b){var a=Ext.get(d).getUpdater();Ext.apply(a,b);a.update(c,e,b?b.callback:null)};Ext.Updater.BasicRenderer=function(){};Ext.Updater.BasicRenderer.prototype={render:function(c,a,b,d){c.update(a.responseText,b.loadScripts,d)}};(function(){Date.useStrict=false;function b(d){var c=Array.prototype.slice.call(arguments,1);return d.replace(/\{(\d+)\}/g,function(e,g){return c[g]})}Date.formatCodeToRegex=function(d,c){var e=Date.parseCodes[d];if(e){e=typeof e=="function"?e():e;Date.parseCodes[d]=e}return e?Ext.applyIf({c:e.c?b(e.c,c||"{0}"):e.c},e):{g:0,c:null,s:Ext.escapeRe(d)}};var a=Date.formatCodeToRegex;Ext.apply(Date,{parseFunctions:{"M$":function(d,c){var e=new RegExp("\\/Date\\(([-+])?(\\d+)(?:[+-]\\d{4})?\\)\\/");var g=(d||"").match(e);return g?new Date(((g[1]||"")+g[2])*1):null}},parseRegexes:[],formatFunctions:{"M$":function(){return"\\/Date("+this.getTime()+")\\/"}},y2kYear:50,MILLI:"ms",SECOND:"s",MINUTE:"mi",HOUR:"h",DAY:"d",MONTH:"mo",YEAR:"y",defaults:{},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNumbers:{Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},getShortMonthName:function(c){return Date.monthNames[c].substring(0,3)},getShortDayName:function(c){return Date.dayNames[c].substring(0,3)},getMonthNumber:function(c){return Date.monthNumbers[c.substring(0,1).toUpperCase()+c.substring(1,3).toLowerCase()]},formatContainsHourInfo:(function(){var d=/(\\.)/g,c=/([gGhHisucUOPZ]|M\$)/;return function(e){return c.test(e.replace(d,""))}})(),formatCodes:{d:"String.leftPad(this.getDate(), 2, '0')",D:"Date.getShortDayName(this.getDay())",j:"this.getDate()",l:"Date.dayNames[this.getDay()]",N:"(this.getDay() ? this.getDay() : 7)",S:"this.getSuffix()",w:"this.getDay()",z:"this.getDayOfYear()",W:"String.leftPad(this.getWeekOfYear(), 2, '0')",F:"Date.monthNames[this.getMonth()]",m:"String.leftPad(this.getMonth() + 1, 2, '0')",M:"Date.getShortMonthName(this.getMonth())",n:"(this.getMonth() + 1)",t:"this.getDaysInMonth()",L:"(this.isLeapYear() ? 1 : 0)",o:"(this.getFullYear() + (this.getWeekOfYear() == 1 && this.getMonth() > 0 ? +1 : (this.getWeekOfYear() >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"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:"String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"String.leftPad(this.getHours(), 2, '0')",i:"String.leftPad(this.getMinutes(), 2, '0')",s:"String.leftPad(this.getSeconds(), 2, '0')",u:"String.leftPad(this.getMilliseconds(), 3, '0')",O:"this.getGMTOffset()",P:"this.getGMTOffset(true)",T:"this.getTimezone()",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 = new Date(y < 100 ? 100 : y, 0, 1, h, i, s, ms).add(Date.YEAR, y < 100 ? y - 100 : 0);","v = !strict? v : (strict === true && (z <= 364 || (v.isLeapYear() && z <= 365))? v.add(Date.DAY, z) : null);","}else if(strict === true && !Date.isValid(y, m + 1, d, h, i, s, ms)){","v = null;","}else{","v = new Date(y < 100 ? 100 : y, m, d, h, i, s, ms).add(Date.YEAR, y < 100 ? y - 100 : 0);","}","}","}","if(v){","if(zz != null){","v = v.add(Date.SECOND, -v.getTimezoneOffset() * 60 - zz);","}else if(o){","v = v.add(Date.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn));","}","}","return v;"].join("\n");return function(m){var e=Date.parseRegexes.length,o=1,g=[],l=[],k=false,d="",j=0,h,n;for(;j Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:function(){return a("A")},A:{calcLast:true,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("G")},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(\\d{1,2})"},h:function(){return a("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 + String.leftPad(hr, 2, '0') + 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 + String.leftPad(hr, 2, '0') + 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("Y",1),a("m",2),a("d",3),a("h",4),a("i",5),a("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("P",8).c,"}else{",a("O",8).c,"}","}"].join("\n")}];for(var g=0,d=c.length;g0?"-":"+")+String.leftPad(Math.floor(Math.abs(this.getTimezoneOffset())/60),2,"0")+(a?":":"")+String.leftPad(Math.abs(this.getTimezoneOffset()%60),2,"0")},getDayOfYear:function(){var b=0,e=this.clone(),a=this.getMonth(),c;for(c=0,e.setDate(1),e.setMonth(0);c28){a=Math.min(a,this.getFirstDateOfMonth().add("mo",c).getLastDateOfMonth().getDate())}e.setDate(a);e.setMonth(this.getMonth()+c);break;case Date.YEAR:e.setFullYear(this.getFullYear()+c);break}return e},between:function(c,a){var b=this.getTime();return c.getTime()<=b&&b<=a.getTime()}});Date.prototype.format=Date.prototype.dateFormat;if(Ext.isSafari&&(navigator.userAgent.match(/WebKit\/(\d+)/)[1]||NaN)<420){Ext.apply(Date.prototype,{_xMonth:Date.prototype.setMonth,_xDate:Date.prototype.setDate,setMonth:function(a){if(a<=-1){var d=Math.ceil(-a),c=Math.ceil(d/12),b=(d%12)?12-d%12:0;this.setFullYear(this.getFullYear()-c);return this._xMonth(b)}else{return this._xMonth(a)}},setDate:function(a){return this.setTime(this.getTime()-(this.getDate()-a)*86400000)}})}Ext.util.MixedCollection=function(b,a){this.items=[];this.map={};this.keys=[];this.length=0;this.addEvents("clear","add","replace","remove","sort");this.allowFunctions=b===true;if(a){this.getKey=a}Ext.util.MixedCollection.superclass.constructor.call(this)};Ext.extend(Ext.util.MixedCollection,Ext.util.Observable,{allowFunctions:false,add:function(b,c){if(arguments.length==1){c=arguments[0];b=this.getKey(c)}if(typeof b!="undefined"&&b!==null){var a=this.map[b];if(typeof a!="undefined"){return this.replace(b,c)}this.map[b]=c}this.length++;this.items.push(c);this.keys.push(b);this.fireEvent("add",this.length-1,c,b);return c},getKey:function(a){return a.id},replace:function(c,d){if(arguments.length==1){d=arguments[0];c=this.getKey(d)}var a=this.map[c];if(typeof c=="undefined"||c===null||typeof a=="undefined"){return this.add(c,d)}var b=this.indexOfKey(c);this.items[b]=d;this.map[c]=d;this.fireEvent("replace",c,a,d);return d},addAll:function(e){if(arguments.length>1||Ext.isArray(e)){var b=arguments.length>1?arguments:e;for(var d=0,a=b.length;d=this.length){return this.add(b,c)}this.length++;this.items.splice(a,0,c);if(typeof b!="undefined"&&b!==null){this.map[b]=c}this.keys.splice(a,0,b);this.fireEvent("add",a,c,b);return c},remove:function(a){return this.removeAt(this.indexOf(a))},removeAt:function(a){if(a=0){this.length--;var c=this.items[a];this.items.splice(a,1);var b=this.keys[a];if(typeof b!="undefined"){delete this.map[b]}this.keys.splice(a,1);this.fireEvent("remove",c,b);return c}return false},removeKey:function(a){return this.removeAt(this.indexOfKey(a))},getCount:function(){return this.length},indexOf:function(a){return this.items.indexOf(a)},indexOfKey:function(a){return this.keys.indexOf(a)},item:function(b){var a=this.map[b],c=a!==undefined?a:(typeof b=="number")?this.items[b]:undefined;return typeof c!="function"||this.allowFunctions?c:null},itemAt:function(a){return this.items[a]},key:function(a){return this.map[a]},contains:function(a){return this.indexOf(a)!=-1},containsKey:function(a){return typeof this.map[a]!="undefined"},clear:function(){this.length=0;this.items=[];this.keys=[];this.map={};this.fireEvent("clear")},first:function(){return this.items[0]},last:function(){return this.items[this.length-1]},_sort:function(k,a,j){var d,e,b=String(a).toUpperCase()=="DESC"?-1:1,h=[],l=this.keys,g=this.items;j=j||function(i,c){return i-c};for(d=0,e=g.length;de?1:(g=a;c--){d[d.length]=b[c]}}return d},filter:function(c,b,d,a){if(Ext.isEmpty(b,false)){return this.clone()}b=this.createValueMatcher(b,d,a);return this.filterBy(function(e){return e&&b.test(e[c])})},filterBy:function(g,e){var h=new Ext.util.MixedCollection();h.getKey=this.getKey;var b=this.keys,d=this.items;for(var c=0,a=d.length;c]+>/gi,stripScriptsRe=/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,nl2brRe=/\r?\n/g;return{ellipsis:function(value,len,word){if(value&&value.length>len){if(word){var vs=value.substr(0,len-2),index=Math.max(vs.lastIndexOf(" "),vs.lastIndexOf("."),vs.lastIndexOf("!"),vs.lastIndexOf("?"));if(index==-1||index<(len-15)){return value.substr(0,len-3)+"..."}else{return vs.substr(0,index)+"..."}}else{return value.substr(0,len-3)+"..."}}return value},undef:function(value){return value!==undefined?value:""},defaultValue:function(value,defaultValue){return value!==undefined&&value!==""?value:defaultValue},htmlEncode:function(value){return !value?value:String(value).replace(/&/g,"&").replace(/>/g,">").replace(/").replace(/</g,"<").replace(/"/g,'"').replace(/&/g,"&")},trim:function(value){return String(value).replace(trimRe,"")},substr:function(value,start,length){return String(value).substr(start,length)},lowercase:function(value){return String(value).toLowerCase()},uppercase:function(value){return String(value).toUpperCase()},capitalize:function(value){return !value?value:value.charAt(0).toUpperCase()+value.substr(1).toLowerCase()},call:function(value,fn){if(arguments.length>2){var args=Array.prototype.slice.call(arguments,2);args.unshift(value);return eval(fn).apply(window,args)}else{return eval(fn).call(window,value)}},usMoney:function(v){v=(Math.round((v-0)*100))/100;v=(v==Math.floor(v))?v+".00":((v*10==Math.floor(v*10))?v+"0":v);v=String(v);var ps=v.split("."),whole=ps[0],sub=ps[1]?"."+ps[1]:".00",r=/(\d+)(\d{3})/;while(r.test(whole)){whole=whole.replace(r,"$1,$2")}v=whole+sub;if(v.charAt(0)=="-"){return"-$"+v.substr(1)}return"$"+v},date:function(v,format){if(!v){return""}if(!Ext.isDate(v)){v=new Date(Date.parse(v))}return v.dateFormat(format||"m/d/Y")},dateRenderer:function(format){return function(v){return Ext.util.Format.date(v,format)}},stripTags:function(v){return !v?v:String(v).replace(stripTagsRE,"")},stripScripts:function(v){return !v?v:String(v).replace(stripScriptsRe,"")},fileSize:function(size){if(size<1024){return size+" bytes"}else{if(size<1048576){return(Math.round(((size*10)/1024))/10)+" KB"}else{return(Math.round(((size*10)/1048576))/10)+" MB"}}},math:function(){var fns={};return function(v,a){if(!fns[a]){fns[a]=new Function("v","return v "+a+";")}return fns[a](v)}}(),round:function(value,precision){var result=Number(value);if(typeof precision=="number"){precision=Math.pow(10,precision);result=Math.round(value*precision)/precision}return result},number:function(v,format){if(!format){return v}v=Ext.num(v,NaN);if(isNaN(v)){return""}var comma=",",dec=".",i18n=false,neg=v<0;v=Math.abs(v);if(format.substr(format.length-2)=="/i"){format=format.substr(0,format.length-2);i18n=true;comma=".";dec=","}var hasComma=format.indexOf(comma)!=-1,psplit=(i18n?format.replace(/[^\d\,]/g,""):format.replace(/[^\d\.]/g,"")).split(dec);if(1")}}}();Ext.XTemplate=function(){Ext.XTemplate.superclass.constructor.apply(this,arguments);var y=this,j=y.html,q=/]*>((?:(?=([^<]+))\2|<(?!tpl\b[^>]*>))*?)<\/tpl>/,d=/^]*?for="(.*?)"/,v=/^]*?if="(.*?)"/,x=/^]*?exec="(.*?)"/,r,p=0,k=[],o="values",w="parent",l="xindex",n="xcount",e="return ",c="with(values){ ";j=["",j,""].join("");while((r=j.match(q))){var b=r[0].match(d),a=r[0].match(v),A=r[0].match(x),g=null,h=null,t=null,z=b&&b[1]?b[1]:"";if(a){g=a&&a[1]?a[1]:null;if(g){h=new Function(o,w,l,n,c+e+(Ext.util.Format.htmlDecode(g))+"; }")}}if(A){g=A&&A[1]?A[1]:null;if(g){t=new Function(o,w,l,n,c+(Ext.util.Format.htmlDecode(g))+"; }")}}if(z){switch(z){case".":z=new Function(o,w,c+e+o+"; }");break;case"..":z=new Function(o,w,c+e+w+"; }");break;default:z=new Function(o,w,c+e+z+"; }")}}k.push({id:p,target:z,exec:t,test:h,body:r[1]||""});j=j.replace(r[0],"{xtpl"+p+"}");++p}for(var u=k.length-1;u>=0;--u){y.compileTpl(k[u])}y.master=k[k.length-1];y.tpls=k};Ext.extend(Ext.XTemplate,Ext.Template,{re:/\{([\w\-\.\#]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?(\s?[\+\-\*\\]\s?[\d\.\+\-\*\\\(\)]+)?\}/g,codeRe:/\{\[((?:\\\]|.|\n)*?)\]\}/g,applySubTemplate:function(a,k,j,d,c){var h=this,g,m=h.tpls[a],l,b=[];if((m.test&&!m.test.call(h,k,j,d,c))||(m.exec&&m.exec.call(h,k,j,d,c))){return""}l=m.target?m.target.call(h,k,j):k;g=l.length;j=m.target?k:j;if(m.target&&Ext.isArray(l)){for(var e=0,g=l.length;e=0;--g){d[k[g].selectorText.toLowerCase()]=k[g]}}catch(i){}},getRules:function(h){if(d===null||h){d={};var k=c.styleSheets;for(var j=0,g=k.length;j=37&&a<=40){b.stopEvent()}},destroy:function(){this.disable()},enable:function(){if(this.disabled){if(Ext.isSafari2){this.el.on("keyup",this.stopKeyUp,this)}this.el.on(this.isKeydown()?"keydown":"keypress",this.relay,this);this.disabled=false}},disable:function(){if(!this.disabled){if(Ext.isSafari2){this.el.un("keyup",this.stopKeyUp,this)}this.el.un(this.isKeydown()?"keydown":"keypress",this.relay,this);this.disabled=true}},setDisabled:function(a){this[a?"disable":"enable"]()},isKeydown:function(){return this.forceKeyDown||Ext.EventManager.useKeydown}};Ext.KeyMap=function(c,b,a){this.el=Ext.get(c);this.eventName=a||"keydown";this.bindings=[];if(b){this.addBinding(b)}this.enable()};Ext.KeyMap.prototype={stopEvent:false,addBinding:function(b){if(Ext.isArray(b)){Ext.each(b,function(j){this.addBinding(j)},this);return}var k=b.key,g=b.fn||b.handler,l=b.scope;if(b.stopEvent){this.stopEvent=b.stopEvent}if(typeof k=="string"){var h=[];var e=k.toUpperCase();for(var c=0,d=e.length;c2)?a[2]:null;var h=(i>3)?a[3]:"/";var d=(i>4)?a[4]:null;var 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+"=";var g=b.length;var a=document.cookie.length;var e=0;var c=0;while(e0){return this.ownerCt.items.itemAt(a-1)}}return null},getBubbleTarget:function(){return this.ownerCt}});Ext.reg("component",Ext.Component);Ext.Action=Ext.extend(Object,{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},setIconClass:function(a){this.initialConfig.iconCls=a;this.callEach("setIconClass",[a])},getIconClass: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,b){var d=this.items;for(var c=0,a=d.length;cj+o.left){k=j-l-c;g=true}if((i+e)>d+o.top){i=d-e-c;g=true}if(k=m){i=m-e-5}}n=[k,i];this.storeXY(n);a.setXY.call(this,n);this.sync()}}return this},getConstrainOffset:function(){return this.shadowOffset},isVisible:function(){return this.visible},showAction:function(){this.visible=true;if(this.useDisplay===true){this.setDisplayed("")}else{if(this.lastXY){a.setXY.call(this,this.lastXY)}else{if(this.lastLT){a.setLeftTop.call(this,this.lastLT[0],this.lastLT[1])}}}},hideAction:function(){this.visible=false;if(this.useDisplay===true){this.setDisplayed(false)}else{this.setLeftTop(-10000,-10000)}},setVisible:function(i,h,k,l,j){if(i){this.showAction()}if(h&&i){var g=function(){this.sync(true);if(l){l()}}.createDelegate(this);a.setVisible.call(this,true,true,k,g,j)}else{if(!i){this.hideUnders(true)}var g=l;if(h){g=function(){this.hideAction();if(l){l()}}.createDelegate(this)}a.setVisible.call(this,i,h,k,g,j);if(i){this.sync(true)}else{if(!h){this.hideAction()}}}return this},storeXY:function(c){delete this.lastLT;this.lastXY=c},storeLeftTop:function(d,c){delete this.lastXY;this.lastLT=[d,c]},beforeFx:function(){this.beforeAction();return Ext.Layer.superclass.beforeFx.apply(this,arguments)},afterFx:function(){Ext.Layer.superclass.afterFx.apply(this,arguments);this.sync(this.isVisible())},beforeAction:function(){if(!this.updating&&this.shadow){this.shadow.hide()}},setLeft:function(c){this.storeLeftTop(c,this.getTop(true));a.setLeft.apply(this,arguments);this.sync();return this},setTop:function(c){this.storeLeftTop(this.getLeft(true),c);a.setTop.apply(this,arguments);this.sync();return this},setLeftTop:function(d,c){this.storeLeftTop(d,c);a.setLeftTop.apply(this,arguments);this.sync();return this},setXY:function(j,h,k,l,i){this.fixDisplay();this.beforeAction();this.storeXY(j);var g=this.createCB(l);a.setXY.call(this,j,h,k,g,i);if(!h){g()}return this},createCB:function(e){var d=this;return function(){d.constrainXY();d.sync(true);if(e){e()}}},setX:function(g,h,j,k,i){this.setXY([g,this.getY()],h,j,k,i);return this},setY:function(k,g,i,j,h){this.setXY([this.getX(),k],g,i,j,h);return this},setSize:function(j,k,i,m,n,l){this.beforeAction();var g=this.createCB(n);a.setSize.call(this,j,k,i,m,g,l);if(!i){g()}return this},setWidth:function(i,h,k,l,j){this.beforeAction();var g=this.createCB(l);a.setWidth.call(this,i,h,k,g,j);if(!h){g()}return this},setHeight:function(j,i,l,m,k){this.beforeAction();var g=this.createCB(m);a.setHeight.call(this,j,i,l,g,k);if(!i){g()}return this},setBounds:function(o,m,p,i,n,k,l,j){this.beforeAction();var g=this.createCB(l);if(!n){this.storeXY([o,m]);a.setXY.call(this,[o,m]);a.setSize.call(this,p,i,n,k,g,j);g()}else{a.setBounds.call(this,o,m,p,i,n,k,g,j)}return this},setZIndex:function(c){this.zindex=c;this.setStyle("z-index",c+2);if(this.shadow){this.shadow.setZIndex(c+1)}if(this.shim){this.shim.setStyle("z-index",c)}return this}})})();Ext.Shadow=function(d){Ext.apply(this,d);if(typeof this.mode!="string"){this.mode=this.defaultMode}var e=this.offset,c={h:0},b=Math.floor(this.offset/2);switch(this.mode.toLowerCase()){case"drop":c.w=0;c.l=c.t=e;c.t-=1;if(Ext.isIE){c.l-=this.offset+b;c.t-=this.offset+b;c.w-=b;c.h-=b;c.t+=1}break;case"sides":c.w=(e*2);c.l=-e;c.t=e-1;if(Ext.isIE){c.l-=(this.offset-b);c.t-=this.offset+b;c.l+=1;c.w-=(this.offset-b)*2;c.w-=b+1;c.h-=1}break;case"frame":c.w=c.h=(e*2);c.l=c.t=-e;c.t+=1;c.h-=2;if(Ext.isIE){c.l-=(this.offset-b);c.t-=(this.offset-b);c.l+=1;c.w-=(this.offset+b+1);c.h-=(this.offset+b);c.h+=1}break}this.adjusts=c};Ext.Shadow.prototype={offset:4,defaultMode:"drop",show:function(a){a=Ext.get(a);if(!this.el){this.el=Ext.Shadow.Pool.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){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,r,q,g){if(!this.el){return}var n=this.adjusts,k=this.el.dom,u=k.style,i=0,p=(q+n.w),e=(g+n.h),j=p+"px",o=e+"px",m,c;u.left=(b+n.l)+"px";u.top=(r+n.t)+"px";if(u.width!=j||u.height!=o){u.width=j;u.height=o;if(!Ext.isIE){m=k.childNodes;c=Math.max(0,(p-12))+"px";m[0].childNodes[1].style.width=c;m[1].childNodes[1].style.width=c;m[2].childNodes[1].style.width=c;m[1].style.height=Math.max(0,(e-12))+"px"}}},hide:function(){if(this.el){this.el.dom.style.display="none";Ext.Shadow.Pool.push(this.el);delete this.el}},setZIndex:function(a){this.zIndex=a;if(this.el){this.el.setStyle("z-index",a)}}};Ext.Shadow.Pool=function(){var b=[],a=Ext.isIE?'
    ':'
    ';return{pull:function(){var c=b.shift();if(!c){c=Ext.get(Ext.DomHelper.insertHtml("beforeBegin",document.body.firstChild,a));c.autoBoxAdjust=false}return c},push:function(c){b.push(c)}}}();Ext.BoxComponent=Ext.extend(Ext.Component,{initComponent:function(){Ext.BoxComponent.superclass.initComponent.call(this);this.addEvents("resize","move")},boxReady:false,deferHeight:false,setSize:function(b,d){if(typeof b=="object"){d=b.height;b=b.width}if(Ext.isDefined(b)&&Ext.isDefined(this.boxMinWidth)&&(bthis.boxMaxWidth)){b=this.boxMaxWidth}if(Ext.isDefined(d)&&Ext.isDefined(this.boxMaxHeight)&&(d>this.boxMaxHeight)){d=this.boxMaxHeight}if(!this.boxReady){this.width=b;this.height=d;return this}if(this.cacheSizes!==false&&this.lastSize&&this.lastSize.width==b&&this.lastSize.height==d){return this}this.lastSize={width:b,height:d};var c=this.adjustSize(b,d),g=c.width,a=c.height,e;if(g!==undefined||a!==undefined){e=this.getResizeEl();if(!this.deferHeight&&g!==undefined&&a!==undefined){e.setSize(g,a)}else{if(!this.deferHeight&&a!==undefined){e.setHeight(a)}else{if(g!==undefined){e.setWidth(g)}}}this.onResize(g,a,b,d);this.fireEvent("resize",this,g,a,b,d)}return this},setWidth:function(a){return this.setSize(a)},setHeight:function(a){return this.setSize(undefined,a)},getSize:function(){return this.getResizeEl().getSize()},getWidth:function(){return this.getResizeEl().getWidth()},getHeight:function(){return this.getResizeEl().getHeight()},getOuterSize:function(){var a=this.getResizeEl();return{width:a.getWidth()+a.getMargins("lr"),height:a.getHeight()+a.getMargins("tb")}},getPosition:function(a){var b=this.getPositionEl();if(a===true){return[b.getLeft(true),b.getTop(true)]}return this.xy||b.getXY()},getBox:function(a){var c=this.getPosition(a);var b=this.getSize();b.x=c[0];b.y=c[1];return b},updateBox:function(a){this.setSize(a.width,a.height);this.setPagePosition(a.x,a.y);return this},getResizeEl:function(){return this.resizeEl||this.el},setAutoScroll:function(a){if(this.rendered){this.getContentTarget().setOverflow(a?"auto":"")}this.autoScroll=a;return this},setPosition:function(a,g){if(a&&typeof a[1]=="number"){g=a[1];a=a[0]}this.x=a;this.y=g;if(!this.boxReady){return this}var b=this.adjustPosition(a,g);var e=b.x,d=b.y;var c=this.getPositionEl();if(e!==undefined||d!==undefined){if(e!==undefined&&d!==undefined){c.setLeftTop(e,d)}else{if(e!==undefined){c.setLeft(e)}else{if(d!==undefined){c.setTop(d)}}}this.onPosition(e,d);this.fireEvent("move",this,e,d)}return this},setPagePosition:function(a,c){if(a&&typeof a[1]=="number"){c=a[1];a=a[0]}this.pageX=a;this.pageY=c;if(!this.boxReady){return}if(a===undefined||c===undefined){return}var b=this.getPositionEl().translatePoints(a,c);this.setPosition(b.left,b.top);return this},afterRender:function(){Ext.BoxComponent.superclass.afterRender.call(this);if(this.resizeEl){this.resizeEl=Ext.get(this.resizeEl)}if(this.positionEl){this.positionEl=Ext.get(this.positionEl)}this.boxReady=true;Ext.isDefined(this.autoScroll)&&this.setAutoScroll(this.autoScroll);this.setSize(this.width,this.height);if(this.x||this.y){this.setPosition(this.x,this.y)}else{if(this.pageX||this.pageY){this.setPagePosition(this.pageX,this.pageY)}}},syncSize:function(){delete this.lastSize;this.setSize(this.autoWidth?undefined:this.getResizeEl().getWidth(),this.autoHeight?undefined:this.getResizeEl().getHeight());return this},onResize:function(d,b,a,c){},onPosition:function(a,b){},adjustSize:function(a,b){if(this.autoWidth){a="auto"}if(this.autoHeight){b="auto"}return{width:a,height:b}},adjustPosition:function(a,b){return{x:a,y:b}}});Ext.reg("box",Ext.BoxComponent);Ext.Spacer=Ext.extend(Ext.BoxComponent,{autoEl:"div"});Ext.reg("spacer",Ext.Spacer);Ext.SplitBar=function(c,e,b,d,a){this.el=Ext.get(c,true);this.el.dom.unselectable="on";this.resizingEl=Ext.get(e,true);this.orientation=b||Ext.SplitBar.HORIZONTAL;this.minSize=0;this.maxSize=2000;this.animate=false;this.useShim=false;this.shim=null;if(!a){this.proxy=Ext.SplitBar.createProxy(this.orientation)}else{this.proxy=Ext.get(a).dom}this.dd=new Ext.dd.DDProxy(this.el.dom.id,"XSplitBars",{dragElId:this.proxy.id});this.dd.b4StartDrag=this.onStartProxyDrag.createDelegate(this);this.dd.endDrag=this.onEndProxyDrag.createDelegate(this);this.dragSpecs={};this.adapter=new Ext.SplitBar.BasicLayoutAdapter();this.adapter.init(this);if(this.orientation==Ext.SplitBar.HORIZONTAL){this.placement=d||(this.el.getX()>this.resizingEl.getX()?Ext.SplitBar.LEFT:Ext.SplitBar.RIGHT);this.el.addClass("x-splitbar-h")}else{this.placement=d||(this.el.getY()>this.resizingEl.getY()?Ext.SplitBar.TOP:Ext.SplitBar.BOTTOM);this.el.addClass("x-splitbar-v")}this.addEvents("resize","moved","beforeresize","beforeapply");Ext.SplitBar.superclass.constructor.call(this)};Ext.extend(Ext.SplitBar,Ext.util.Observable,{onStartProxyDrag:function(a,e){this.fireEvent("beforeresize",this);this.overlay=Ext.DomHelper.append(document.body,{cls:"x-drag-overlay",html:" "},true);this.overlay.unselectable();this.overlay.setSize(Ext.lib.Dom.getViewWidth(true),Ext.lib.Dom.getViewHeight(true));this.overlay.show();Ext.get(this.proxy).setDisplayed("block");var c=this.adapter.getElementSize(this);this.activeMinSize=this.getMinimumSize();this.activeMaxSize=this.getMaximumSize();var d=c-this.activeMinSize;var b=Math.max(this.activeMaxSize-c,0);if(this.orientation==Ext.SplitBar.HORIZONTAL){this.dd.resetConstraints();this.dd.setXConstraint(this.placement==Ext.SplitBar.LEFT?d:b,this.placement==Ext.SplitBar.LEFT?b:d,this.tickSize);this.dd.setYConstraint(0,0)}else{this.dd.resetConstraints();this.dd.setXConstraint(0,0);this.dd.setYConstraint(this.placement==Ext.SplitBar.TOP?d:b,this.placement==Ext.SplitBar.TOP?b:d,this.tickSize)}this.dragSpecs.startSize=c;this.dragSpecs.startPoint=[a,e];Ext.dd.DDProxy.prototype.b4StartDrag.call(this.dd,a,e)},onEndProxyDrag:function(c){Ext.get(this.proxy).setDisplayed(false);var b=Ext.lib.Event.getXY(c);if(this.overlay){Ext.destroy(this.overlay);delete this.overlay}var a;if(this.orientation==Ext.SplitBar.HORIZONTAL){a=this.dragSpecs.startSize+(this.placement==Ext.SplitBar.LEFT?b[0]-this.dragSpecs.startPoint[0]:this.dragSpecs.startPoint[0]-b[0])}else{a=this.dragSpecs.startSize+(this.placement==Ext.SplitBar.TOP?b[1]-this.dragSpecs.startPoint[1]:this.dragSpecs.startPoint[1]-b[1])}a=Math.min(Math.max(a,this.activeMinSize),this.activeMaxSize);if(a!=this.dragSpecs.startSize){if(this.fireEvent("beforeapply",this,a)!==false){this.adapter.setElementSize(this,a);this.fireEvent("moved",this,a);this.fireEvent("resize",this,a)}}},getAdapter:function(){return this.adapter},setAdapter:function(a){this.adapter=a;this.adapter.init(this)},getMinimumSize:function(){return this.minSize},setMinimumSize:function(a){this.minSize=a},getMaximumSize:function(){return this.maxSize},setMaximumSize:function(a){this.maxSize=a},setCurrentSize:function(b){var a=this.animate;this.animate=false;this.adapter.setElementSize(this,b);this.animate=a},destroy:function(a){Ext.destroy(this.shim,Ext.get(this.proxy));this.dd.unreg();if(a){this.el.remove()}this.purgeListeners()}});Ext.SplitBar.createProxy=function(b){var c=new Ext.Element(document.createElement("div"));document.body.appendChild(c.dom);c.unselectable();var a="x-splitbar-proxy";c.addClass(a+" "+(b==Ext.SplitBar.HORIZONTAL?a+"-h":a+"-v"));return c.dom};Ext.SplitBar.BasicLayoutAdapter=function(){};Ext.SplitBar.BasicLayoutAdapter.prototype={init:function(a){},getElementSize:function(a){if(a.orientation==Ext.SplitBar.HORIZONTAL){return a.resizingEl.getWidth()}else{return a.resizingEl.getHeight()}},setElementSize:function(b,a,c){if(b.orientation==Ext.SplitBar.HORIZONTAL){if(!b.animate){b.resizingEl.setWidth(a);if(c){c(b,a)}}else{b.resizingEl.setWidth(a,true,0.1,c,"easeOut")}}else{if(!b.animate){b.resizingEl.setHeight(a);if(c){c(b,a)}}else{b.resizingEl.setHeight(a,true,0.1,c,"easeOut")}}}};Ext.SplitBar.AbsoluteLayoutAdapter=function(a){this.basic=new Ext.SplitBar.BasicLayoutAdapter();this.container=Ext.get(a)};Ext.SplitBar.AbsoluteLayoutAdapter.prototype={init:function(a){this.basic.init(a)},getElementSize:function(a){return this.basic.getElementSize(a)},setElementSize:function(b,a,c){this.basic.setElementSize(b,a,this.moveSplitter.createDelegate(this,[b]))},moveSplitter:function(a){var b=Ext.SplitBar;switch(a.placement){case b.LEFT:a.el.setX(a.resizingEl.getRight());break;case b.RIGHT:a.el.setStyle("right",(this.container.getWidth()-a.resizingEl.getLeft())+"px");break;case b.TOP:a.el.setY(a.resizingEl.getBottom());break;case b.BOTTOM:a.el.setY(a.resizingEl.getTop()-a.el.getHeight());break}}};Ext.SplitBar.VERTICAL=1;Ext.SplitBar.HORIZONTAL=2;Ext.SplitBar.LEFT=1;Ext.SplitBar.RIGHT=2;Ext.SplitBar.TOP=3;Ext.SplitBar.BOTTOM=4;Ext.Container=Ext.extend(Ext.BoxComponent,{bufferResize:50,autoDestroy:true,forceLayout:false,defaultType:"panel",resizeEvent:"resize",bubbleEvents:["add","remove"],initComponent:function(){Ext.Container.superclass.initComponent.call(this);this.addEvents("afterlayout","beforeadd","beforeremove","add","remove");var a=this.items;if(a){delete this.items;this.add(a)}},initItems:function(){if(!this.items){this.items=new Ext.util.MixedCollection(false,this.getComponentId);this.getLayout()}},setLayout:function(a){if(this.layout&&this.layout!=a){this.layout.setContainer(null)}this.layout=a;this.initItems();a.setContainer(this)},afterRender:function(){Ext.Container.superclass.afterRender.call(this);if(!this.layout){this.layout="auto"}if(Ext.isObject(this.layout)&&!this.layout.layout){this.layoutConfig=this.layout;this.layout=this.layoutConfig.type}if(Ext.isString(this.layout)){this.layout=new Ext.Container.LAYOUTS[this.layout.toLowerCase()](this.layoutConfig)}this.setLayout(this.layout);if(this.activeItem!==undefined&&this.layout.setActiveItem){var a=this.activeItem;delete this.activeItem;this.layout.setActiveItem(a)}if(!this.ownerCt){this.doLayout(false,true)}if(this.monitorResize===true){Ext.EventManager.onWindowResize(this.doLayout,this,[false])}},getLayoutTarget:function(){return this.el},getComponentId:function(a){return a.getItemId()},add:function(b){this.initItems();var e=arguments.length>1;if(e||Ext.isArray(b)){var a=[];Ext.each(e?arguments:b,function(h){a.push(this.add(h))},this);return a}var g=this.lookupComponent(this.applyDefaults(b));var d=this.items.length;if(this.fireEvent("beforeadd",this,g,d)!==false&&this.onBeforeAdd(g)!==false){this.items.add(g);g.onAdded(this,d);this.onAdd(g);this.fireEvent("add",this,g,d)}return g},onAdd:function(a){},onAdded:function(a,b){this.ownerCt=a;this.initRef();this.cascade(function(d){d.initRef()});this.fireEvent("added",this,a,b)},insert:function(e,b){var d=arguments,h=d.length,a=[],g,j;this.initItems();if(h>2){for(g=h-1;g>=1;--g){a.push(this.insert(e,d[g]))}return a}j=this.lookupComponent(this.applyDefaults(b));e=Math.min(e,this.items.length);if(this.fireEvent("beforeadd",this,j,e)!==false&&this.onBeforeAdd(j)!==false){if(j.ownerCt==this){this.items.remove(j)}this.items.insert(e,j);j.onAdded(this,e);this.onAdd(j);this.fireEvent("add",this,j,e)}return j},applyDefaults:function(b){var a=this.defaults;if(a){if(Ext.isFunction(a)){a=a.call(this,b)}if(Ext.isString(b)){b=Ext.ComponentMgr.get(b);Ext.apply(b,a)}else{if(!b.events){Ext.applyIf(b.isAction?b.initialConfig:b,a)}else{Ext.apply(b,a)}}}return b},onBeforeAdd:function(a){if(a.ownerCt){a.ownerCt.remove(a,false)}if(this.hideBorders===true){a.border=(a.border===true)}},remove:function(a,b){this.initItems();var d=this.getComponent(a);if(d&&this.fireEvent("beforeremove",this,d)!==false){this.doRemove(d,b);this.fireEvent("remove",this,d)}return d},onRemove:function(a){},doRemove:function(e,d){var b=this.layout,a=b&&this.rendered;if(a){b.onRemove(e)}this.items.remove(e);e.onRemoved();this.onRemove(e);if(d===true||(d!==false&&this.autoDestroy)){e.destroy()}if(a){b.afterRemove(e)}},removeAll:function(c){this.initItems();var e,g=[],b=[];this.items.each(function(h){g.push(h)});for(var d=0,a=g.length;d','','
    ','
    ',"");a.disableFormats=true;return a.compile()})(),destroy:function(){if(this.resizeTask&&this.resizeTask.cancel){this.resizeTask.cancel()}if(this.container){this.container.un(this.container.resizeEvent,this.onResize,this)}if(!Ext.isEmpty(this.targetCls)){var a=this.container.getLayoutTarget();if(a){a.removeClass(this.targetCls)}}}});Ext.layout.AutoLayout=Ext.extend(Ext.layout.ContainerLayout,{type:"auto",monitorResize:true,onLayout:function(d,g){Ext.layout.AutoLayout.superclass.onLayout.call(this,d,g);var e=this.getRenderedItems(d),a=e.length,b,h;for(b=0;b0){b.setSize(a)}}});Ext.Container.LAYOUTS.fit=Ext.layout.FitLayout;Ext.layout.CardLayout=Ext.extend(Ext.layout.FitLayout,{deferredRender:false,layoutOnCardChange:false,renderHidden:true,type:"card",setActiveItem:function(d){var a=this.activeItem,b=this.container;d=b.getComponent(d);if(d&&a!=d){if(a){a.hide();if(a.hidden!==true){return false}a.fireEvent("deactivate",a)}var c=d.doLayout&&(this.layoutOnCardChange||!d.rendered);this.activeItem=d;delete d.deferLayout;d.show();this.layout();if(c){d.doLayout()}d.fireEvent("activate",d)}},renderAll:function(a,b){if(this.deferredRender){this.renderItem(this.activeItem,undefined,b)}else{Ext.layout.CardLayout.superclass.renderAll.call(this,a,b)}}});Ext.Container.LAYOUTS.card=Ext.layout.CardLayout;Ext.layout.AnchorLayout=Ext.extend(Ext.layout.ContainerLayout,{monitorResize:true,type:"anchor",defaultAnchor:"100%",parseAnchorRE:/^(r|right|b|bottom)$/i,getLayoutTargetSize:function(){var b=this.container.getLayoutTarget(),a={};if(b){a=b.getViewSize();if(Ext.isIE&&Ext.isStrict&&a.width==0){a=b.getStyleSize()}a.width-=b.getPadding("lr");a.height-=b.getPadding("tb")}return a},onLayout:function(m,w){Ext.layout.AnchorLayout.superclass.onLayout.call(this,m,w);var p=this.getLayoutTargetSize(),k=p.width,o=p.height,q=w.getStyle("overflow"),n=this.getRenderedItems(m),t=n.length,g=[],j,a,v,l,h,c,e,d,u=0,s,b;if(k<20&&o<20){return}if(m.anchorSize){if(typeof m.anchorSize=="number"){a=m.anchorSize}else{a=m.anchorSize.width;v=m.anchorSize.height}}else{a=m.initialConfig.width;v=m.initialConfig.height}for(s=0;s ');b.disableFormats=true;b.compile();Ext.layout.BorderLayout.Region.prototype.toolTemplate=b}this.collapsedEl=this.targetEl.createChild({cls:"x-layout-collapsed x-layout-collapsed-"+this.position,id:this.panel.id+"-xcollapsed"});this.collapsedEl.enableDisplayMode("block");if(this.collapseMode=="mini"){this.collapsedEl.addClass("x-layout-cmini-"+this.position);this.miniCollapsedEl=this.collapsedEl.createChild({cls:"x-layout-mini x-layout-mini-"+this.position,html:" "});this.miniCollapsedEl.addClassOnOver("x-layout-mini-over");this.collapsedEl.addClassOnOver("x-layout-collapsed-over");this.collapsedEl.on("click",this.onExpandClick,this,{stopEvent:true})}else{if(this.collapsible!==false&&!this.hideCollapseTool){var a=this.expandToolEl=this.toolTemplate.append(this.collapsedEl.dom,{id:"expand-"+this.position},true);a.addClassOnOver("x-tool-expand-"+this.position+"-over");a.on("click",this.onExpandClick,this,{stopEvent:true})}if(this.floatable!==false||this.titleCollapse){this.collapsedEl.addClassOnOver("x-layout-collapsed-over");this.collapsedEl.on("click",this[this.floatable?"collapseClick":"onExpandClick"],this)}}}return this.collapsedEl},onExpandClick:function(a){if(this.isSlid){this.panel.expand(false)}else{this.panel.expand()}},onCollapseClick:function(a){this.panel.collapse()},beforeCollapse:function(c,a){this.lastAnim=a;if(this.splitEl){this.splitEl.hide()}this.getCollapsedEl().show();var b=this.panel.getEl();this.originalZIndex=b.getStyle("z-index");b.setStyle("z-index",100);this.isCollapsed=true;this.layout.layout()},onCollapse:function(a){this.panel.el.setStyle("z-index",1);if(this.lastAnim===false||this.panel.animCollapse===false){this.getCollapsedEl().dom.style.visibility="visible"}else{this.getCollapsedEl().slideIn(this.panel.slideAnchor,{duration:0.2})}this.state.collapsed=true;this.panel.saveState()},beforeExpand:function(a){if(this.isSlid){this.afterSlideIn()}var b=this.getCollapsedEl();this.el.show();if(this.position=="east"||this.position=="west"){this.panel.setSize(undefined,b.getHeight())}else{this.panel.setSize(b.getWidth(),undefined)}b.hide();b.dom.style.visibility="hidden";this.panel.el.setStyle("z-index",this.floatingZIndex)},onExpand:function(){this.isCollapsed=false;if(this.splitEl){this.splitEl.show()}this.layout.layout();this.panel.el.setStyle("z-index",this.originalZIndex);this.state.collapsed=false;this.panel.saveState()},collapseClick:function(a){if(this.isSlid){a.stopPropagation();this.slideIn()}else{a.stopPropagation();this.slideOut()}},onHide:function(){if(this.isCollapsed){this.getCollapsedEl().hide()}else{if(this.splitEl){this.splitEl.hide()}}},onShow:function(){if(this.isCollapsed){this.getCollapsedEl().show()}else{if(this.splitEl){this.splitEl.show()}}},isVisible:function(){return !this.panel.hidden},getMargins:function(){return this.isCollapsed&&this.cmargins?this.cmargins:this.margins},getSize:function(){return this.isCollapsed?this.getCollapsedEl().getSize():this.panel.getSize()},setPanel:function(a){this.panel=a},getMinWidth:function(){return this.minWidth},getMinHeight:function(){return this.minHeight},applyLayoutCollapsed:function(a){var b=this.getCollapsedEl();b.setLeftTop(a.x,a.y);b.setSize(a.width,a.height)},applyLayout:function(a){if(this.isCollapsed){this.applyLayoutCollapsed(a)}else{this.panel.setPosition(a.x,a.y);this.panel.setSize(a.width,a.height)}},beforeSlide:function(){this.panel.beforeEffect()},afterSlide:function(){this.panel.afterEffect()},initAutoHide:function(){if(this.autoHide!==false){if(!this.autoHideHd){this.autoHideSlideTask=new Ext.util.DelayedTask(this.slideIn,this);this.autoHideHd={mouseout:function(a){if(!a.within(this.el,true)){this.autoHideSlideTask.delay(500)}},mouseover:function(a){this.autoHideSlideTask.cancel()},scope:this}}this.el.on(this.autoHideHd);this.collapsedEl.on(this.autoHideHd)}},clearAutoHide:function(){if(this.autoHide!==false){this.el.un("mouseout",this.autoHideHd.mouseout);this.el.un("mouseover",this.autoHideHd.mouseover);this.collapsedEl.un("mouseout",this.autoHideHd.mouseout);this.collapsedEl.un("mouseover",this.autoHideHd.mouseover)}},clearMonitor:function(){Ext.getDoc().un("click",this.slideInIf,this)},slideOut:function(){if(this.isSlid||this.el.hasActiveFx()){return}this.isSlid=true;var b=this.panel.tools,c,a;if(b&&b.toggle){b.toggle.hide()}this.el.show();a=this.panel.collapsed;this.panel.collapsed=false;if(this.position=="east"||this.position=="west"){c=this.panel.deferHeight;this.panel.deferHeight=false;this.panel.setSize(undefined,this.collapsedEl.getHeight());this.panel.deferHeight=c}else{this.panel.setSize(this.collapsedEl.getWidth(),undefined)}this.panel.collapsed=a;this.restoreLT=[this.el.dom.style.left,this.el.dom.style.top];this.el.alignTo(this.collapsedEl,this.getCollapseAnchor());this.el.setStyle("z-index",this.floatingZIndex+2);this.panel.el.replaceClass("x-panel-collapsed","x-panel-floating");if(this.animFloat!==false){this.beforeSlide();this.el.slideIn(this.getSlideAnchor(),{callback:function(){this.afterSlide();this.initAutoHide();Ext.getDoc().on("click",this.slideInIf,this)},scope:this,block:true})}else{this.initAutoHide();Ext.getDoc().on("click",this.slideInIf,this)}},afterSlideIn:function(){this.clearAutoHide();this.isSlid=false;this.clearMonitor();this.el.setStyle("z-index","");this.panel.el.replaceClass("x-panel-floating","x-panel-collapsed");this.el.dom.style.left=this.restoreLT[0];this.el.dom.style.top=this.restoreLT[1];var a=this.panel.tools;if(a&&a.toggle){a.toggle.show()}},slideIn:function(a){if(!this.isSlid||this.el.hasActiveFx()){Ext.callback(a);return}this.isSlid=false;if(this.animFloat!==false){this.beforeSlide();this.el.slideOut(this.getSlideAnchor(),{callback:function(){this.el.hide();this.afterSlide();this.afterSlideIn();Ext.callback(a)},scope:this,block:true})}else{this.el.hide();this.afterSlideIn()}},slideInIf:function(a){if(!a.within(this.el)){this.slideIn()}},anchors:{west:"left",east:"right",north:"top",south:"bottom"},sanchors:{west:"l",east:"r",north:"t",south:"b"},canchors:{west:"tl-tr",east:"tr-tl",north:"tl-bl",south:"bl-tl"},getAnchor:function(){return this.anchors[this.position]},getCollapseAnchor:function(){return this.canchors[this.position]},getSlideAnchor:function(){return this.sanchors[this.position]},getAlignAdj:function(){var a=this.cmargins;switch(this.position){case"west":return[0,0];break;case"east":return[0,0];break;case"north":return[0,0];break;case"south":return[0,0];break}},getExpandAdj:function(){var b=this.collapsedEl,a=this.cmargins;switch(this.position){case"west":return[-(a.right+b.getWidth()+a.left),0];break;case"east":return[a.right+b.getWidth()+a.left,0];break;case"north":return[0,-(a.top+a.bottom+b.getHeight())];break;case"south":return[0,a.top+a.bottom+b.getHeight()];break}},destroy:function(){if(this.autoHideSlideTask&&this.autoHideSlideTask.cancel){this.autoHideSlideTask.cancel()}Ext.destroyMembers(this,"miniCollapsedEl","collapsedEl","expandToolEl")}};Ext.layout.BorderLayout.SplitRegion=function(b,a,c){Ext.layout.BorderLayout.SplitRegion.superclass.constructor.call(this,b,a,c);this.applyLayout=this.applyFns[c]};Ext.extend(Ext.layout.BorderLayout.SplitRegion,Ext.layout.BorderLayout.Region,{splitTip:"Drag to resize.",collapsibleSplitTip:"Drag to resize. Double click to hide.",useSplitTips:false,splitSettings:{north:{orientation:Ext.SplitBar.VERTICAL,placement:Ext.SplitBar.TOP,maxFn:"getVMaxSize",minProp:"minHeight",maxProp:"maxHeight"},south:{orientation:Ext.SplitBar.VERTICAL,placement:Ext.SplitBar.BOTTOM,maxFn:"getVMaxSize",minProp:"minHeight",maxProp:"maxHeight"},east:{orientation:Ext.SplitBar.HORIZONTAL,placement:Ext.SplitBar.RIGHT,maxFn:"getHMaxSize",minProp:"minWidth",maxProp:"maxWidth"},west:{orientation:Ext.SplitBar.HORIZONTAL,placement:Ext.SplitBar.LEFT,maxFn:"getHMaxSize",minProp:"minWidth",maxProp:"maxWidth"}},applyFns:{west:function(c){if(this.isCollapsed){return this.applyLayoutCollapsed(c)}var d=this.splitEl.dom,b=d.style;this.panel.setPosition(c.x,c.y);var a=d.offsetWidth;b.left=(c.x+c.width-a)+"px";b.top=(c.y)+"px";b.height=Math.max(0,c.height)+"px";this.panel.setSize(c.width-a,c.height)},east:function(c){if(this.isCollapsed){return this.applyLayoutCollapsed(c)}var d=this.splitEl.dom,b=d.style;var a=d.offsetWidth;this.panel.setPosition(c.x+a,c.y);b.left=(c.x)+"px";b.top=(c.y)+"px";b.height=Math.max(0,c.height)+"px";this.panel.setSize(c.width-a,c.height)},north:function(c){if(this.isCollapsed){return this.applyLayoutCollapsed(c)}var d=this.splitEl.dom,b=d.style;var a=d.offsetHeight;this.panel.setPosition(c.x,c.y);b.left=(c.x)+"px";b.top=(c.y+c.height-a)+"px";b.width=Math.max(0,c.width)+"px";this.panel.setSize(c.width,c.height-a)},south:function(c){if(this.isCollapsed){return this.applyLayoutCollapsed(c)}var d=this.splitEl.dom,b=d.style;var a=d.offsetHeight;this.panel.setPosition(c.x,c.y+a);b.left=(c.x)+"px";b.top=(c.y)+"px";b.width=Math.max(0,c.width)+"px";this.panel.setSize(c.width,c.height-a)}},render:function(a,c){Ext.layout.BorderLayout.SplitRegion.superclass.render.call(this,a,c);var d=this.position;this.splitEl=a.createChild({cls:"x-layout-split x-layout-split-"+d,html:" ",id:this.panel.id+"-xsplit"});if(this.collapseMode=="mini"){this.miniSplitEl=this.splitEl.createChild({cls:"x-layout-mini x-layout-mini-"+d,html:" "});this.miniSplitEl.addClassOnOver("x-layout-mini-over");this.miniSplitEl.on("click",this.onCollapseClick,this,{stopEvent:true})}var b=this.splitSettings[d];this.split=new Ext.SplitBar(this.splitEl.dom,c.el,b.orientation);this.split.tickSize=this.tickSize;this.split.placement=b.placement;this.split.getMaximumSize=this[b.maxFn].createDelegate(this);this.split.minSize=this.minSize||this[b.minProp];this.split.on("beforeapply",this.onSplitMove,this);this.split.useShim=this.useShim===true;this.maxSize=this.maxSize||this[b.maxProp];if(c.hidden){this.splitEl.hide()}if(this.useSplitTips){this.splitEl.dom.title=this.collapsible?this.collapsibleSplitTip:this.splitTip}if(this.collapsible){this.splitEl.on("dblclick",this.onCollapseClick,this)}},getSize:function(){if(this.isCollapsed){return this.collapsedEl.getSize()}var a=this.panel.getSize();if(this.position=="north"||this.position=="south"){a.height+=this.splitEl.dom.offsetHeight}else{a.width+=this.splitEl.dom.offsetWidth}return a},getHMaxSize:function(){var b=this.maxSize||10000;var a=this.layout.center;return Math.min(b,(this.el.getWidth()+a.el.getWidth())-a.getMinWidth())},getVMaxSize:function(){var b=this.maxSize||10000;var a=this.layout.center;return Math.min(b,(this.el.getHeight()+a.el.getHeight())-a.getMinHeight())},onSplitMove:function(b,a){var c=this.panel.getSize();this.lastSplitSize=a;if(this.position=="north"||this.position=="south"){this.panel.setSize(c.width,a);this.state.height=a}else{this.panel.setSize(a,c.height);this.state.width=a}this.layout.layout();this.panel.saveState();return false},getSplitBar:function(){return this.split},destroy:function(){Ext.destroy(this.miniSplitEl,this.split,this.splitEl);Ext.layout.BorderLayout.SplitRegion.superclass.destroy.call(this)}});Ext.Container.LAYOUTS.border=Ext.layout.BorderLayout;Ext.layout.FormLayout=Ext.extend(Ext.layout.AnchorLayout,{labelSeparator:":",trackLabels:true,type:"form",onRemove:function(d){Ext.layout.FormLayout.superclass.onRemove.call(this,d);if(this.trackLabels){d.un("show",this.onFieldShow,this);d.un("hide",this.onFieldHide,this)}var b=d.getPositionEl(),a=d.getItemCt&&d.getItemCt();if(d.rendered&&a){if(b&&b.dom){b.insertAfter(a)}Ext.destroy(a);Ext.destroyMembers(d,"label","itemCt");if(d.customItemCt){Ext.destroyMembers(d,"getItemCt","customItemCt")}}},setContainer:function(a){Ext.layout.FormLayout.superclass.setContainer.call(this,a);if(a.labelAlign){a.addClass("x-form-label-"+a.labelAlign)}if(a.hideLabels){Ext.apply(this,{labelStyle:"display:none",elementStyle:"padding-left:0;",labelAdjust:0})}else{this.labelSeparator=Ext.isDefined(a.labelSeparator)?a.labelSeparator:this.labelSeparator;a.labelWidth=a.labelWidth||100;if(Ext.isNumber(a.labelWidth)){var b=Ext.isNumber(a.labelPad)?a.labelPad:5;Ext.apply(this,{labelAdjust:a.labelWidth+b,labelStyle:"width:"+a.labelWidth+"px;",elementStyle:"padding-left:"+(a.labelWidth+b)+"px"})}if(a.labelAlign=="top"){Ext.apply(this,{labelStyle:"width:auto;",labelAdjust:0,elementStyle:"padding-left:0;"})}}},isHide:function(a){return a.hideLabel||this.container.hideLabels},onFieldShow:function(a){a.getItemCt().removeClass("x-hide-"+a.hideMode);if(a.isComposite){a.doLayout()}},onFieldHide:function(a){a.getItemCt().addClass("x-hide-"+a.hideMode)},getLabelStyle:function(e){var b="",c=[this.labelStyle,e];for(var d=0,a=c.length;d=b)||(this.cells[c]&&this.cells[c][a])){if(b&&a>=b){c++;a=0}else{a++}}return[a,c]},renderItem:function(e,a,d){if(!this.table){this.table=d.createChild(Ext.apply({tag:"table",cls:"x-table-layout",cellspacing:0,cn:{tag:"tbody"}},this.tableAttrs),null,true)}if(e&&!e.rendered){e.render(this.getNextCell(e));this.configureItem(e)}else{if(e&&!this.isValidParent(e,d)){var b=this.getNextCell(e);b.insertBefore(e.getPositionEl().dom,null);e.container=Ext.get(b);this.configureItem(e)}}},isValidParent:function(b,a){return b.getPositionEl().up("table",5).dom.parentNode===(a.dom||a)},destroy:function(){delete this.table;Ext.layout.TableLayout.superclass.destroy.call(this)}});Ext.Container.LAYOUTS.table=Ext.layout.TableLayout;Ext.layout.AbsoluteLayout=Ext.extend(Ext.layout.AnchorLayout,{extraCls:"x-abs-layout-item",type:"absolute",onLayout:function(a,b){b.position();this.paddingLeft=b.getPadding("l");this.paddingTop=b.getPadding("t");Ext.layout.AbsoluteLayout.superclass.onLayout.call(this,a,b)},adjustWidthAnchor:function(b,a){return b?b-a.getPosition(true)[0]+this.paddingLeft:b},adjustHeightAnchor:function(b,a){return b?b-a.getPosition(true)[1]+this.paddingTop:b}});Ext.Container.LAYOUTS.absolute=Ext.layout.AbsoluteLayout;Ext.layout.BoxLayout=Ext.extend(Ext.layout.ContainerLayout,{defaultMargins:{left:0,top:0,right:0,bottom:0},padding:"0",pack:"start",monitorResize:true,type:"box",scrollOffset:0,extraCls:"x-box-item",targetCls:"x-box-layout-ct",innerCls:"x-box-inner",constructor:function(a){Ext.layout.BoxLayout.superclass.constructor.call(this,a);if(Ext.isString(this.defaultMargins)){this.defaultMargins=this.parseMargins(this.defaultMargins)}var d=this.overflowHandler;if(typeof d=="string"){d={type:d}}var c="none";if(d&&d.type!=undefined){c=d.type}var b=Ext.layout.boxOverflow[c];if(b[this.type]){b=b[this.type]}this.overflowHandler=new b(this,d)},onLayout:function(b,h){Ext.layout.BoxLayout.superclass.onLayout.call(this,b,h);var d=this.getLayoutTargetSize(),i=this.getVisibleItems(b),c=this.calculateChildBoxes(i,d),g=c.boxes,j=c.meta;if(d.width>0){var k=this.overflowHandler,a=j.tooNarrow?"handleOverflow":"clearOverflow";var e=k[a](c,d);if(e){if(e.targetSize){d=e.targetSize}if(e.recalculate){i=this.getVisibleItems(b);c=this.calculateChildBoxes(i,d);g=c.boxes}}}this.layoutTargetLastSize=d;this.childBoxCache=c;this.updateInnerCtSize(d,c);this.updateChildBoxes(g);this.handleTargetOverflow(d,b,h)},updateChildBoxes:function(c){for(var b=0,e=c.length;b(None)',constructor:function(a){Ext.layout.boxOverflow.Menu.superclass.constructor.apply(this,arguments);this.menuItems=[]},createInnerElements:function(){if(!this.afterCt){this.afterCt=this.layout.innerCt.insertSibling({cls:this.afterCls},"before")}},clearOverflow:function(a,g){var e=g.width+(this.afterCt?this.afterCt.getWidth():0),b=this.menuItems;this.hideTrigger();for(var c=0,d=b.length;ci.width;return l}},handleOverflow:function(d,h){this.showTrigger();var k=h.width-this.afterCt.getWidth(),l=d.boxes,e=0,r=false;for(var o=0,c=l.length;o=0;j--){var q=l[j].component,p=l[j].left+l[j].width;if(p>=k){this.menuItems.unshift({component:q,width:l[j].width});q.hide()}else{break}}}if(this.menuItems.length==0){this.hideTrigger()}return{targetSize:{height:h.height,width:k},recalculate:r}}});Ext.layout.boxOverflow.menu.hbox=Ext.layout.boxOverflow.HorizontalMenu;Ext.layout.boxOverflow.Scroller=Ext.extend(Ext.layout.boxOverflow.None,{animateScroll:true,scrollIncrement:100,wheelIncrement:3,scrollRepeatInterval:400,scrollDuration:0.4,beforeCls:"x-strip-left",afterCls:"x-strip-right",scrollerCls:"x-strip-scroller",beforeScrollerCls:"x-strip-scroller-left",afterScrollerCls:"x-strip-scroller-right",createWheelListener:function(){this.layout.innerCt.on({scope:this,mousewheel:function(a){a.stopEvent();this.scrollBy(a.getWheelDelta()*this.wheelIncrement*-1,false)}})},handleOverflow:function(a,b){this.createInnerElements();this.showScrollers()},clearOverflow:function(){this.hideScrollers()},showScrollers:function(){this.createScrollers();this.beforeScroller.show();this.afterScroller.show();this.updateScrollButtons()},hideScrollers:function(){if(this.beforeScroller!=undefined){this.beforeScroller.hide();this.afterScroller.hide()}},createScrollers:function(){if(!this.beforeScroller&&!this.afterScroller){var a=this.beforeCt.createChild({cls:String.format("{0} {1} ",this.scrollerCls,this.beforeScrollerCls)});var b=this.afterCt.createChild({cls:String.format("{0} {1}",this.scrollerCls,this.afterScrollerCls)});a.addClassOnOver(this.beforeScrollerCls+"-hover");b.addClassOnOver(this.afterScrollerCls+"-hover");a.setVisibilityMode(Ext.Element.DISPLAY);b.setVisibilityMode(Ext.Element.DISPLAY);this.beforeRepeater=new Ext.util.ClickRepeater(a,{interval:this.scrollRepeatInterval,handler:this.scrollLeft,scope:this});this.afterRepeater=new Ext.util.ClickRepeater(b,{interval:this.scrollRepeatInterval,handler:this.scrollRight,scope:this});this.beforeScroller=a;this.afterScroller=b}},destroy:function(){Ext.destroy(this.beforeScroller,this.afterScroller,this.beforeRepeater,this.afterRepeater,this.beforeCt,this.afterCt)},scrollBy:function(b,a){this.scrollTo(this.getScrollPosition()+b,a)},getItem:function(a){if(Ext.isString(a)){a=Ext.getCmp(a)}else{if(Ext.isNumber(a)){a=this.items[a]}}return 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()?"addClass":"removeClass",c=this.atExtremeAfter()?"addClass":"removeClass",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(a){this.scrollBy(-this.scrollIncrement,a)},scrollRight:function(a){this.scrollBy(this.scrollIncrement,a)},scrollToItem:function(d,b){d=this.getItem(d);if(d!=undefined){var a=this.getItemVisibility(d);if(!a.fullyVisible){var c=d.getBox(true,true),e=c.x;if(a.hiddenRight){e-=(this.layout.innerCt.getWidth()-c.width)}this.scrollTo(e,b)}}},getItemVisibility:function(e){var d=this.getItem(e).getBox(true,true),a=d.x,c=d.x+d.width,g=this.getScrollPosition(),b=this.layout.innerCt.getWidth()+g;return{hiddenLeft:ab,fullyVisible:a>g&&c=this.getMaxScrollBottom()}});Ext.layout.boxOverflow.scroller.vbox=Ext.layout.boxOverflow.VerticalScroller;Ext.layout.boxOverflow.HorizontalScroller=Ext.extend(Ext.layout.boxOverflow.Scroller,{handleOverflow:function(a,b){Ext.layout.boxOverflow.HorizontalScroller.superclass.handleOverflow.apply(this,arguments);return{targetSize:{height:b.height,width:b.width-(this.beforeCt.getWidth()+this.afterCt.getWidth())}}},createInnerElements:function(){var a=this.layout.innerCt;if(!this.beforeCt){this.afterCt=a.insertSibling({cls:this.afterCls},"before");this.beforeCt=a.insertSibling({cls:this.beforeCls},"before");this.createWheelListener()}},scrollTo:function(a,b){var d=this.getScrollPosition(),c=a.constrain(0,this.getMaxScrollRight());if(c!=d&&!this.scrolling){if(b==undefined){b=this.animateScroll}this.layout.innerCt.scrollTo("left",c,b?this.getScrollAnim():false);if(b){this.scrolling=true}else{this.scrolling=false;this.updateScrollButtons()}}},getScrollPosition:function(){return parseInt(this.layout.innerCt.dom.scrollLeft,10)||0},getMaxScrollRight:function(){return this.layout.innerCt.dom.scrollWidth-this.layout.innerCt.getWidth()},atExtremeAfter:function(){return this.getScrollPosition()>=this.getMaxScrollRight()}});Ext.layout.boxOverflow.scroller.hbox=Ext.layout.boxOverflow.HorizontalScroller;Ext.layout.HBoxLayout=Ext.extend(Ext.layout.BoxLayout,{align:"top",type:"hbox",calculateChildBoxes:function(r,b){var F=r.length,R=this.padding,D=R.top,U=R.left,y=D+R.bottom,O=U+R.right,a=b.width-this.scrollOffset,e=b.height,o=Math.max(0,e-y),P=this.pack=="start",W=this.pack=="center",A=this.pack=="end",L=0,Q=0,T=0,l=0,X=0,H=[],k,J,M,V,w,j,S,I,c,x,q,N;for(S=0;Sa;var n=Math.max(0,a-L-O);if(p){for(S=0;S0){var C=[];for(var E=0,v=F;Ei.available?1:-1});for(var S=0,v=C.length;S0){I.top=D+q+(z/2)}}U+=I.width+w.right}return{boxes:H,meta:{maxHeight:Q,nonFlexWidth:L,desiredWidth:l,minimumWidth:X,shortfall:l-a,tooNarrow:p}}}});Ext.Container.LAYOUTS.hbox=Ext.layout.HBoxLayout;Ext.layout.VBoxLayout=Ext.extend(Ext.layout.BoxLayout,{align:"left",type:"vbox",calculateChildBoxes:function(o,b){var E=o.length,R=this.padding,C=R.top,V=R.left,x=C+R.bottom,O=V+R.right,a=b.width-this.scrollOffset,c=b.height,K=Math.max(0,a-O),P=this.pack=="start",X=this.pack=="center",z=this.pack=="end",k=0,u=0,U=0,L=0,m=0,G=[],h,I,N,W,t,g,T,H,S,w,n,d,r;for(T=0;Tc;var q=Math.max(0,(c-k-x));if(l){for(T=0,r=E;T0){var J=[];for(var D=0,r=E;Di.available?1:-1});for(var T=0,r=J.length;T0){H.left=V+w+(y/2)}}C+=H.height+t.bottom}return{boxes:G,meta:{maxWidth:u,nonFlexHeight:k,desiredHeight:L,minimumHeight:m,shortfall:L-c,tooNarrow:l}}}});Ext.Container.LAYOUTS.vbox=Ext.layout.VBoxLayout;Ext.layout.ToolbarLayout=Ext.extend(Ext.layout.ContainerLayout,{monitorResize:true,type:"toolbar",triggerWidth:18,noItemsMenuText:'
    (None)
    ',lastOverflow:false,tableHTML:['',"","",'",'","","","
    ','',"",'',"","
    ","
    ','',"","","","","","","
    ",'',"",'',"","
    ","
    ",'',"",'',"","
    ","
    ","
    "].join(""),onLayout:function(e,j){if(!this.leftTr){var h=e.buttonAlign=="center"?"center":"left";j.addClass("x-toolbar-layout-ct");j.insertHtml("beforeEnd",String.format(this.tableHTML,h));this.leftTr=j.child("tr.x-toolbar-left-row",true);this.rightTr=j.child("tr.x-toolbar-right-row",true);this.extrasTr=j.child("tr.x-toolbar-extras-row",true);if(this.hiddenItem==undefined){this.hiddenItems=[]}}var k=e.buttonAlign=="right"?this.rightTr:this.leftTr,l=e.items.items,d=0;for(var b=0,g=l.length,m;b=0&&(d=e[a]);a--){if(!d.firstChild){b.removeChild(d)}}},insertCell:function(e,b,a){var d=document.createElement("td");d.className="x-toolbar-cell";b.insertBefore(d,b.childNodes[a]||null);return d},hideItem:function(a){this.hiddenItems.push(a);a.xtbHidden=true;a.xtbWidth=a.getPositionEl().dom.parentNode.offsetWidth;a.hide()},unhideItem:function(a){a.show();a.xtbHidden=false;this.hiddenItems.remove(a)},getItemWidth:function(a){return a.hidden?(a.xtbWidth||0):a.getPositionEl().dom.parentNode.offsetWidth},fitToSize:function(k){if(this.container.enableOverflow===false){return}var b=k.dom.clientWidth,j=k.dom.firstChild.offsetWidth,m=b-this.triggerWidth,a=this.lastWidth||0,c=this.hiddenItems,e=c.length!=0,n=b>=a;this.lastWidth=b;if(j>b||(e&&n)){var l=this.container.items.items,h=l.length,d=0,o;for(var g=0;gm){if(!(o.hidden||o.xtbHidden)){this.hideItem(o)}}else{if(o.xtbHidden){this.unhideItem(o)}}}}}e=c.length!=0;if(e){this.initMore();if(!this.lastOverflow){this.container.fireEvent("overflowchange",this.container,true);this.lastOverflow=true}}else{if(this.more){this.clearMenu();this.more.destroy();delete this.more;if(this.lastOverflow){this.container.fireEvent("overflowchange",this.container,false);this.lastOverflow=false}}}},createMenuConfig:function(c,a){var b=Ext.apply({},c.initialConfig),d=c.toggleGroup;Ext.copyTo(b,c,["iconCls","icon","itemId","disabled","handler","scope","menu"]);Ext.apply(b,{text:c.overflowText||c.text,hideOnClick:a});if(d||c.enableToggle){Ext.apply(b,{group:d,checked:c.pressed,listeners:{checkchange:function(g,e){c.toggle(e)}}})}delete b.ownerCt;delete b.xtype;delete b.id;return b},addComponentToMenu:function(b,a){if(a instanceof Ext.Toolbar.Separator){b.add("-")}else{if(Ext.isFunction(a.isXType)){if(a.isXType("splitbutton")){b.add(this.createMenuConfig(a,true))}else{if(a.isXType("button")){b.add(this.createMenuConfig(a,!a.menu))}else{if(a.isXType("buttongroup")){a.items.each(function(c){this.addComponentToMenu(b,c)},this)}}}}}},clearMenu:function(){var a=this.moreMenu;if(a&&a.items){a.items.each(function(b){delete b.menu})}},beforeMoreShow:function(h){var b=this.container.items.items,a=b.length,g,e;var c=function(j,i){return j.isXType("buttongroup")&&!(i instanceof Ext.Toolbar.Separator)};this.clearMenu();h.removeAll();for(var d=0;d','','{altText}',"","")}if(g&&!g.rendered){if(Ext.isNumber(b)){b=e.dom.childNodes[b]}var d=this.getItemArgs(g);g.render(g.positionEl=b?this.itemTpl.insertBefore(b,d,true):this.itemTpl.append(e,d,true));g.positionEl.menuItemId=g.getItemId();if(!d.isMenuItem&&d.needsIcon){g.positionEl.addClass("x-menu-list-item-indent")}this.configureItem(g)}else{if(g&&!this.isValidParent(g,e)){if(Ext.isNumber(b)){b=e.dom.childNodes[b]}e.dom.insertBefore(g.getActionEl().dom,b||null)}}},getItemArgs:function(d){var a=d instanceof Ext.menu.Item,b=!(a||d instanceof Ext.menu.Separator);return{isMenuItem:a,needsIcon:b&&(d.icon||d.iconCls),icon:d.icon||Ext.BLANK_IMAGE_URL,iconCls:"x-menu-item-icon "+(d.iconCls||""),itemId:"x-menu-el-"+d.id,itemCls:"x-menu-list-item ",altText:d.altText||""}},isValidParent:function(b,a){return b.el.up("li.x-menu-list-item",5).dom.parentNode===(a.dom||a)},onLayout:function(a,b){Ext.layout.MenuLayout.superclass.onLayout.call(this,a,b);this.doAutoSize()},doAutoSize:function(){var c=this.container,a=c.width;if(c.floating){if(a){c.setWidth(a)}else{if(Ext.isIE){c.setWidth(Ext.isStrict&&(Ext.isIE7||Ext.isIE8||Ext.isIE9)?"auto":c.minWidth);var d=c.getEl(),b=d.dom.offsetWidth;c.setWidth(c.getLayoutTarget().getWidth()+d.getFrameWidth("lr"))}}}}});Ext.Container.LAYOUTS.menu=Ext.layout.MenuLayout;Ext.Viewport=Ext.extend(Ext.Container,{initComponent:function(){Ext.Viewport.superclass.initComponent.call(this);document.getElementsByTagName("html")[0].className+=" x-viewport";this.el=Ext.getBody();this.el.setHeight=Ext.emptyFn;this.el.setWidth=Ext.emptyFn;this.el.setSize=Ext.emptyFn;this.el.dom.scroll="no";this.allowDomMove=false;this.autoWidth=true;this.autoHeight=true;Ext.EventManager.onWindowResize(this.fireResize,this);this.renderTo=this.el},fireResize:function(a,b){this.fireEvent("resize",this,a,b,a,b)}});Ext.reg("viewport",Ext.Viewport);Ext.Panel=Ext.extend(Ext.Container,{baseCls:"x-panel",collapsedCls:"x-panel-collapsed",maskDisabled:true,animCollapse:Ext.enableFx,headerAsText:true,buttonAlign:"right",collapsed:false,collapseFirst:true,minButtonWidth:75,elements:"body",preventBodyReset:false,padding:undefined,resizeEvent:"bodyresize",toolTarget:"header",collapseEl:"bwrap",slideAnchor:"t",disabledClass:"",deferHeight:true,expandDefaults:{duration:0.25},collapseDefaults:{duration:0.25},initComponent:function(){Ext.Panel.superclass.initComponent.call(this);this.addEvents("bodyresize","titlechange","iconchange","collapse","expand","beforecollapse","beforeexpand","beforeclose","close","activate","deactivate");if(this.unstyled){this.baseCls="x-plain"}this.toolbars=[];if(this.tbar){this.elements+=",tbar";this.topToolbar=this.createToolbar(this.tbar);this.tbar=null}if(this.bbar){this.elements+=",bbar";this.bottomToolbar=this.createToolbar(this.bbar);this.bbar=null}if(this.header===true){this.elements+=",header";this.header=null}else{if(this.headerCfg||(this.title&&this.header!==false)){this.elements+=",header"}}if(this.footerCfg||this.footer===true){this.elements+=",footer";this.footer=null}if(this.buttons){this.fbar=this.buttons;this.buttons=null}if(this.fbar){this.createFbar(this.fbar)}if(this.autoLoad){this.on("render",this.doAutoLoad,this,{delay:10})}},createFbar:function(b){var a=this.minButtonWidth;this.elements+=",footer";this.fbar=this.createToolbar(b,{buttonAlign:this.buttonAlign,toolbarCls:"x-panel-fbar",enableOverflow:false,defaults:function(d){return{minWidth:d.minWidth||a}}});this.fbar.items.each(function(d){d.minWidth=d.minWidth||this.minButtonWidth},this);this.buttons=this.fbar.items.items},createToolbar:function(b,c){var a;if(Ext.isArray(b)){b={items:b}}a=b.events?Ext.apply(b,c):this.createComponent(Ext.apply({},b,c),"toolbar");this.toolbars.push(a);return a},createElement:function(a,c){if(this[a]){c.appendChild(this[a].dom);return}if(a==="bwrap"||this.elements.indexOf(a)!=-1){if(this[a+"Cfg"]){this[a]=Ext.fly(c).createChild(this[a+"Cfg"])}else{var b=document.createElement("div");b.className=this[a+"Cls"];this[a]=Ext.get(c.appendChild(b))}if(this[a+"CssClass"]){this[a].addClass(this[a+"CssClass"])}if(this[a+"Style"]){this[a].applyStyles(this[a+"Style"])}}},onRender:function(g,e){Ext.Panel.superclass.onRender.call(this,g,e);this.createClasses();var a=this.el,h=a.dom,k,i;if(this.collapsible&&!this.hideCollapseTool){this.tools=this.tools?this.tools.slice(0):[];this.tools[this.collapseFirst?"unshift":"push"]({id:"toggle",handler:this.toggleCollapse,scope:this})}if(this.tools){i=this.tools;this.elements+=(this.header!==false)?",header":""}this.tools={};a.addClass(this.baseCls);if(h.firstChild){this.header=a.down("."+this.headerCls);this.bwrap=a.down("."+this.bwrapCls);var j=this.bwrap?this.bwrap:a;this.tbar=j.down("."+this.tbarCls);this.body=j.down("."+this.bodyCls);this.bbar=j.down("."+this.bbarCls);this.footer=j.down("."+this.footerCls);this.fromMarkup=true}if(this.preventBodyReset===true){a.addClass("x-panel-reset")}if(this.cls){a.addClass(this.cls)}if(this.buttons){this.elements+=",footer"}if(this.frame){a.insertHtml("afterBegin",String.format(Ext.Element.boxMarkup,this.baseCls));this.createElement("header",h.firstChild.firstChild.firstChild);this.createElement("bwrap",h);k=this.bwrap.dom;var c=h.childNodes[1],b=h.childNodes[2];k.appendChild(c);k.appendChild(b);var l=k.firstChild.firstChild.firstChild;this.createElement("tbar",l);this.createElement("body",l);this.createElement("bbar",l);this.createElement("footer",k.lastChild.firstChild.firstChild);if(!this.footer){this.bwrap.dom.lastChild.className+=" x-panel-nofooter"}this.ft=Ext.get(this.bwrap.dom.lastChild);this.mc=Ext.get(l)}else{this.createElement("header",h);this.createElement("bwrap",h);k=this.bwrap.dom;this.createElement("tbar",k);this.createElement("body",k);this.createElement("bbar",k);this.createElement("footer",k);if(!this.header){this.body.addClass(this.bodyCls+"-noheader");if(this.tbar){this.tbar.addClass(this.tbarCls+"-noheader")}}}if(Ext.isDefined(this.padding)){this.body.setStyle("padding",this.body.addUnits(this.padding))}if(this.border===false){this.el.addClass(this.baseCls+"-noborder");this.body.addClass(this.bodyCls+"-noborder");if(this.header){this.header.addClass(this.headerCls+"-noborder")}if(this.footer){this.footer.addClass(this.footerCls+"-noborder")}if(this.tbar){this.tbar.addClass(this.tbarCls+"-noborder")}if(this.bbar){this.bbar.addClass(this.bbarCls+"-noborder")}}if(this.bodyBorder===false){this.body.addClass(this.bodyCls+"-noborder")}this.bwrap.enableDisplayMode("block");if(this.header){this.header.unselectable();if(this.headerAsText){this.header.dom.innerHTML=''+this.header.dom.innerHTML+"";if(this.iconCls){this.setIconClass(this.iconCls)}}}if(this.floating){this.makeFloating(this.floating)}if(this.collapsible&&this.titleCollapse&&this.header){this.mon(this.header,"click",this.toggleCollapse,this);this.header.setStyle("cursor","pointer")}if(i){this.addTool.apply(this,i)}if(this.fbar){this.footer.addClass("x-panel-btns");this.fbar.ownerCt=this;this.fbar.render(this.footer);this.footer.createChild({cls:"x-clear"})}if(this.tbar&&this.topToolbar){this.topToolbar.ownerCt=this;this.topToolbar.render(this.tbar)}if(this.bbar&&this.bottomToolbar){this.bottomToolbar.ownerCt=this;this.bottomToolbar.render(this.bbar)}},setIconClass:function(b){var a=this.iconCls;this.iconCls=b;if(this.rendered&&this.header){if(this.frame){this.header.addClass("x-panel-icon");this.header.replaceClass(a,this.iconCls)}else{var e=this.header,c=e.child("img.x-panel-inline-icon");if(c){Ext.fly(c).replaceClass(a,this.iconCls)}else{var d=e.child("span."+this.headerTextCls);if(d){Ext.DomHelper.insertBefore(d.dom,{tag:"img",alt:"",src:Ext.BLANK_IMAGE_URL,cls:"x-panel-inline-icon "+this.iconCls})}}}}this.fireEvent("iconchange",this,b,a)},makeFloating:function(a){this.floating=true;this.el=new Ext.Layer(Ext.apply({},a,{shadow:Ext.isDefined(this.shadow)?this.shadow:"sides",shadowOffset:this.shadowOffset,constrain:false,shim:this.shim===false?false:undefined}),this.el)},getTopToolbar:function(){return this.topToolbar},getBottomToolbar:function(){return this.bottomToolbar},getFooterToolbar:function(){return this.fbar},addButton:function(a,c,b){if(!this.fbar){this.createFbar([])}if(c){if(Ext.isString(a)){a={text:a}}a=Ext.apply({handler:c,scope:b},a)}return this.fbar.add(a)},addTool:function(){if(!this.rendered){if(!this.tools){this.tools=[]}Ext.each(arguments,function(a){this.tools.push(a)},this);return}if(!this[this.toolTarget]){return}if(!this.toolTemplate){var h=new Ext.Template('
     
    ');h.disableFormats=true;h.compile();Ext.Panel.prototype.toolTemplate=h}for(var g=0,d=arguments,c=d.length;g0){Ext.each(this.toolbars,function(c){c.doLayout(undefined,a)});this.syncHeight()}},syncHeight:function(){var b=this.toolbarHeight,c=this.body,a=this.lastSize.height,d;if(this.autoHeight||!Ext.isDefined(a)||a=="auto"){return}if(b!=this.getToolbarHeight()){b=Math.max(0,a-this.getFrameHeight());c.setHeight(b);d=c.getSize();this.toolbarHeight=this.getToolbarHeight();this.onBodyResize(d.width,d.height)}},onShow:function(){if(this.floating){return this.el.show()}Ext.Panel.superclass.onShow.call(this)},onHide:function(){if(this.floating){return this.el.hide()}Ext.Panel.superclass.onHide.call(this)},createToolHandler:function(c,a,d,b){return function(g){c.removeClass(d);if(a.stopEvent!==false){g.stopEvent()}if(a.handler){a.handler.call(a.scope||c,g,c,b,a)}}},afterRender:function(){if(this.floating&&!this.hidden){this.el.show()}if(this.title){this.setTitle(this.title)}Ext.Panel.superclass.afterRender.call(this);if(this.collapsed){this.collapsed=false;this.collapse(false)}this.initEvents()},getKeyMap:function(){if(!this.keyMap){this.keyMap=new Ext.KeyMap(this.el,this.keys)}return this.keyMap},initEvents:function(){if(this.keys){this.getKeyMap()}if(this.draggable){this.initDraggable()}if(this.toolbars.length>0){Ext.each(this.toolbars,function(a){a.doLayout();a.on({scope:this,afterlayout:this.syncHeight,remove:this.syncHeight})},this);this.syncHeight()}},initDraggable:function(){this.dd=new Ext.Panel.DD(this,Ext.isBoolean(this.draggable)?null:this.draggable)},beforeEffect:function(a){if(this.floating){this.el.beforeAction()}if(a!==false){this.el.addClass("x-panel-animated")}},afterEffect:function(a){this.syncShadow();this.el.removeClass("x-panel-animated")},createEffect:function(c,b,d){var e={scope:d,block:true};if(c===true){e.callback=b;return e}else{if(!c.callback){e.callback=b}else{e.callback=function(){b.call(d);Ext.callback(c.callback,c.scope)}}}return Ext.applyIf(e,c)},collapse:function(b){if(this.collapsed||this.el.hasFxBlock()||this.fireEvent("beforecollapse",this,b)===false){return}var a=b===true||(b!==false&&this.animCollapse);this.beforeEffect(a);this.onCollapse(a,b);return this},onCollapse:function(a,b){if(a){this[this.collapseEl].slideOut(this.slideAnchor,Ext.apply(this.createEffect(b||true,this.afterCollapse,this),this.collapseDefaults))}else{this[this.collapseEl].hide(this.hideMode);this.afterCollapse(false)}},afterCollapse:function(a){this.collapsed=true;this.el.addClass(this.collapsedCls);if(a!==false){this[this.collapseEl].hide(this.hideMode)}this.afterEffect(a);this.cascade(function(b){if(b.lastSize){b.lastSize={width:undefined,height:undefined}}});this.fireEvent("collapse",this)},expand:function(b){if(!this.collapsed||this.el.hasFxBlock()||this.fireEvent("beforeexpand",this,b)===false){return}var a=b===true||(b!==false&&this.animCollapse);this.el.removeClass(this.collapsedCls);this.beforeEffect(a);this.onExpand(a,b);return this},onExpand:function(a,b){if(a){this[this.collapseEl].slideIn(this.slideAnchor,Ext.apply(this.createEffect(b||true,this.afterExpand,this),this.expandDefaults))}else{this[this.collapseEl].show(this.hideMode);this.afterExpand(false)}},afterExpand:function(a){this.collapsed=false;if(a!==false){this[this.collapseEl].show(this.hideMode)}this.afterEffect(a);if(this.deferLayout){delete this.deferLayout;this.doLayout(true)}this.fireEvent("expand",this)},toggleCollapse:function(a){this[this.collapsed?"expand":"collapse"](a);return this},onDisable:function(){if(this.rendered&&this.maskDisabled){this.el.mask()}Ext.Panel.superclass.onDisable.call(this)},onEnable:function(){if(this.rendered&&this.maskDisabled){this.el.unmask()}Ext.Panel.superclass.onEnable.call(this)},onResize:function(g,d,c,e){var a=g,b=d;if(Ext.isDefined(a)||Ext.isDefined(b)){if(!this.collapsed){if(Ext.isNumber(a)){this.body.setWidth(a=this.adjustBodyWidth(a-this.getFrameWidth()))}else{if(a=="auto"){a=this.body.setWidth("auto").dom.offsetWidth}else{a=this.body.dom.offsetWidth}}if(this.tbar){this.tbar.setWidth(a);if(this.topToolbar){this.topToolbar.setSize(a)}}if(this.bbar){this.bbar.setWidth(a);if(this.bottomToolbar){this.bottomToolbar.setSize(a);if(Ext.isIE){this.bbar.setStyle("position","static");this.bbar.setStyle("position","")}}}if(this.footer){this.footer.setWidth(a);if(this.fbar){this.fbar.setSize(Ext.isIE?(a-this.footer.getFrameWidth("lr")):"auto")}}if(Ext.isNumber(b)){b=Math.max(0,b-this.getFrameHeight());this.body.setHeight(b)}else{if(b=="auto"){this.body.setHeight(b)}}if(this.disabled&&this.el._mask){this.el._mask.setSize(this.el.dom.clientWidth,this.el.getHeight())}}else{this.queuedBodySize={width:a,height:b};if(!this.queuedExpand&&this.allowQueuedExpand!==false){this.queuedExpand=true;this.on("expand",function(){delete this.queuedExpand;this.onResize(this.queuedBodySize.width,this.queuedBodySize.height)},this,{single:true})}}this.onBodyResize(a,b)}this.syncShadow();Ext.Panel.superclass.onResize.call(this,g,d,c,e)},onBodyResize:function(a,b){this.fireEvent("bodyresize",this,a,b)},getToolbarHeight:function(){var a=0;if(this.rendered){Ext.each(this.toolbars,function(b){a+=b.getHeight()},this)}return a},adjustBodyHeight:function(a){return a},adjustBodyWidth:function(a){return a},onPosition:function(){this.syncShadow()},getFrameWidth:function(){var b=this.el.getFrameWidth("lr")+this.bwrap.getFrameWidth("lr");if(this.frame){var a=this.bwrap.dom.firstChild;b+=(Ext.fly(a).getFrameWidth("l")+Ext.fly(a.firstChild).getFrameWidth("r"));b+=this.mc.getFrameWidth("lr")}return b},getFrameHeight:function(){var a=this.el.getFrameWidth("tb")+this.bwrap.getFrameWidth("tb");a+=(this.tbar?this.tbar.getHeight():0)+(this.bbar?this.bbar.getHeight():0);if(this.frame){a+=this.el.dom.firstChild.offsetHeight+this.ft.dom.offsetHeight+this.mc.getFrameWidth("tb")}else{a+=(this.header?this.header.getHeight():0)+(this.footer?this.footer.getHeight():0)}return a},getInnerWidth:function(){return this.getSize().width-this.getFrameWidth()},getInnerHeight:function(){return this.body.getHeight()},syncShadow:function(){if(this.floating){this.el.sync(true)}},getLayoutTarget:function(){return this.body},getContentTarget:function(){return this.body},setTitle:function(b,a){this.title=b;if(this.header&&this.headerAsText){this.header.child("span").update(b)}if(a){this.setIconClass(a)}this.fireEvent("titlechange",this,b);return this},getUpdater:function(){return this.body.getUpdater()},load:function(){var a=this.body.getUpdater();a.update.apply(a,arguments);return this},beforeDestroy:function(){Ext.Panel.superclass.beforeDestroy.call(this);if(this.header){this.header.removeAllListeners()}if(this.tools){for(var a in this.tools){Ext.destroy(this.tools[a])}}if(this.toolbars.length>0){Ext.each(this.toolbars,function(b){b.un("afterlayout",this.syncHeight,this);b.un("remove",this.syncHeight,this)},this)}if(Ext.isArray(this.buttons)){while(this.buttons.length){Ext.destroy(this.buttons[0])}}if(this.rendered){Ext.destroy(this.ft,this.header,this.footer,this.tbar,this.bbar,this.body,this.mc,this.bwrap,this.dd);if(this.fbar){Ext.destroy(this.fbar,this.fbar.el)}}Ext.destroy(this.toolbars)},createClasses:function(){this.headerCls=this.baseCls+"-header";this.headerTextCls=this.baseCls+"-header-text";this.bwrapCls=this.baseCls+"-bwrap";this.tbarCls=this.baseCls+"-tbar";this.bodyCls=this.baseCls+"-body";this.bbarCls=this.baseCls+"-bbar";this.footerCls=this.baseCls+"-footer"},createGhost:function(a,e,b){var d=document.createElement("div");d.className="x-panel-ghost "+(a?a:"");if(this.header){d.appendChild(this.el.dom.firstChild.cloneNode(true))}Ext.fly(d.appendChild(document.createElement("ul"))).setHeight(this.bwrap.getHeight());d.style.width=this.el.dom.offsetWidth+"px";if(!b){this.container.dom.appendChild(d)}else{Ext.getDom(b).appendChild(d)}if(e!==false&&this.el.useShim!==false){var c=new Ext.Layer({shadow:false,useDisplay:true,constrain:false},d);c.show();return c}else{return new Ext.Element(d)}},doAutoLoad:function(){var a=this.body.getUpdater();if(this.renderer){a.setRenderer(this.renderer)}a.update(Ext.isObject(this.autoLoad)?this.autoLoad:{url:this.autoLoad})},getTool:function(a){return this.tools[a]}});Ext.reg("panel",Ext.Panel);Ext.Editor=function(b,a){if(b.field){this.field=Ext.create(b.field,"textfield");a=Ext.apply({},b);delete a.field}else{this.field=b}Ext.Editor.superclass.constructor.call(this,a)};Ext.extend(Ext.Editor,Ext.Component,{allowBlur:true,value:"",alignment:"c-c?",offsets:[0,0],shadow:"frame",constrain:false,swallowKeys:true,completeOnEnter:true,cancelOnEsc:true,updateEl:false,initComponent:function(){Ext.Editor.superclass.initComponent.call(this);this.addEvents("beforestartedit","startedit","beforecomplete","complete","canceledit","specialkey")},onRender:function(b,a){this.el=new Ext.Layer({shadow:this.shadow,cls:"x-editor",parentEl:b,shim:this.shim,shadowOffset:this.shadowOffset||4,id:this.id,constrain:this.constrain});if(this.zIndex){this.el.setZIndex(this.zIndex)}this.el.setStyle("overflow",Ext.isGecko?"auto":"hidden");if(this.field.msgTarget!="title"){this.field.msgTarget="qtip"}this.field.inEditor=true;this.mon(this.field,{scope:this,blur:this.onBlur,specialkey:this.onSpecialKey});if(this.field.grow){this.mon(this.field,"autosize",this.el.sync,this.el,{delay:1})}this.field.render(this.el).show();this.field.getEl().dom.name="";if(this.swallowKeys){this.field.el.swallowEvent(["keypress","keydown"])}},onSpecialKey:function(g,d){var b=d.getKey(),a=this.completeOnEnter&&b==d.ENTER,c=this.cancelOnEsc&&b==d.ESC;if(a||c){d.stopEvent();if(a){this.completeEdit()}else{this.cancelEdit()}if(g.triggerBlur){g.triggerBlur()}}this.fireEvent("specialkey",g,d)},startEdit:function(b,c){if(this.editing){this.completeEdit()}this.boundEl=Ext.get(b);var a=c!==undefined?c:this.boundEl.dom.innerHTML;if(!this.rendered){this.render(this.parentEl||document.body)}if(this.fireEvent("beforestartedit",this,this.boundEl,a)!==false){this.startValue=a;this.field.reset();this.field.setValue(a);this.realign(true);this.editing=true;this.show()}},doAutoSize:function(){if(this.autoSize){var b=this.boundEl.getSize(),a=this.field.getSize();switch(this.autoSize){case"width":this.setSize(b.width,a.height);break;case"height":this.setSize(a.width,b.height);break;case"none":this.setSize(a.width,a.height);break;default:this.setSize(b.width,b.height)}}},setSize:function(a,b){delete this.field.lastSize;this.field.setSize(a,b);if(this.el){if(Ext.isGecko2||Ext.isOpera||(Ext.isIE7&&Ext.isStrict)){this.el.setSize(a,b)}this.el.sync()}},realign:function(a){if(a===true){this.doAutoSize()}this.el.alignTo(this.boundEl,this.alignment,this.offsets)},completeEdit:function(a){if(!this.editing){return}if(this.field.assertValue){this.field.assertValue()}var b=this.getValue();if(!this.field.isValid()){if(this.revertInvalid!==false){this.cancelEdit(a)}return}if(String(b)===String(this.startValue)&&this.ignoreNoChange){this.hideEdit(a);return}if(this.fireEvent("beforecomplete",this,b,this.startValue)!==false){b=this.getValue();if(this.updateEl&&this.boundEl){this.boundEl.update(b)}this.hideEdit(a);this.fireEvent("complete",this,b,this.startValue)}},onShow:function(){this.el.show();if(this.hideEl!==false){this.boundEl.hide()}this.field.show().focus(false,true);this.fireEvent("startedit",this.boundEl,this.startValue)},cancelEdit:function(a){if(this.editing){var b=this.getValue();this.setValue(this.startValue);this.hideEdit(a);this.fireEvent("canceledit",this,b,this.startValue)}},hideEdit:function(a){if(a!==true){this.editing=false;this.hide()}},onBlur:function(){if(this.allowBlur===true&&this.editing&&this.selectSameEditor!==true){this.completeEdit()}},onHide:function(){if(this.editing){this.completeEdit();return}this.field.blur();if(this.field.collapse){this.field.collapse()}this.el.hide();if(this.hideEl!==false){this.boundEl.show()}},setValue:function(a){this.field.setValue(a)},getValue:function(){return this.field.getValue()},beforeDestroy:function(){Ext.destroyMembers(this,"field");delete this.parentEl;delete this.boundEl}});Ext.reg("editor",Ext.Editor);Ext.ColorPalette=Ext.extend(Ext.Component,{itemCls:"x-color-palette",value:null,clickEvent:"click",ctype:"Ext.ColorPalette",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"],initComponent:function(){Ext.ColorPalette.superclass.initComponent.call(this);this.addEvents("select");if(this.handler){this.on("select",this.handler,this.scope,true)}},onRender:function(b,a){this.autoEl={tag:"div",cls:this.itemCls};Ext.ColorPalette.superclass.onRender.call(this,b,a);var c=this.tpl||new Ext.XTemplate(' ');c.overwrite(this.el,this.colors);this.mon(this.el,this.clickEvent,this.handleClick,this,{delegate:"a"});if(this.clickEvent!="click"){this.mon(this.el,"click",Ext.emptyFn,this,{delegate:"a",preventDefault:true})}},afterRender:function(){Ext.ColorPalette.superclass.afterRender.call(this);if(this.value){var a=this.value;this.value=null;this.select(a,true)}},handleClick:function(b,a){b.preventDefault();if(!this.disabled){var d=a.className.match(/(?:^|\s)color-(.{6})(?:\s|$)/)[1];this.select(d.toUpperCase())}},select:function(b,a){b=b.replace("#","");if(b!=this.value||this.allowReselect){var c=this.el;if(this.value){c.child("a.color-"+this.value).removeClass("x-color-palette-sel")}c.child("a.color-"+b).addClass("x-color-palette-sel");this.value=b;if(a!==true){this.fireEvent("select",this,b)}}}});Ext.reg("colorpalette",Ext.ColorPalette);Ext.DatePicker=Ext.extend(Ext.BoxComponent,{todayText:"Today",okText:" OK ",cancelText:"Cancel",todayTip:"{0} (Spacebar)",minText:"This date is before the minimum date",maxText:"This date is after the maximum date",format:"m/d/y",disabledDaysText:"Disabled",disabledDatesText:"Disabled",monthNames:Date.monthNames,dayNames:Date.dayNames,nextText:"Next Month (Control+Right)",prevText:"Previous Month (Control+Left)",monthYearText:"Choose a month (Control+Up/Down to move years)",startDay:0,showToday:true,focusOnSelect:true,initHour:12,initComponent:function(){Ext.DatePicker.superclass.initComponent.call(this);this.value=this.value?this.value.clearTime(true):new Date().clearTime();this.addEvents("select");if(this.handler){this.on("select",this.handler,this.scope||this)}this.initDisabledDays()},initDisabledDays:function(){if(!this.disabledDatesRE&&this.disabledDates){var b=this.disabledDates,a=b.length-1,c="(?:";Ext.each(b,function(g,e){c+=Ext.isDate(g)?"^"+Ext.escapeRe(g.dateFormat(this.format))+"$":b[e];if(e!=a){c+="|"}},this);this.disabledDatesRE=new RegExp(c+")")}},setDisabledDates:function(a){if(Ext.isArray(a)){this.disabledDates=a;this.disabledDatesRE=null}else{this.disabledDatesRE=a}this.initDisabledDays();this.update(this.value,true)},setDisabledDays:function(a){this.disabledDays=a;this.update(this.value,true)},setMinDate:function(a){this.minDate=a;this.update(this.value,true)},setMaxDate:function(a){this.maxDate=a;this.update(this.value,true)},setValue:function(a){this.value=a.clearTime(true);this.update(this.value)},getValue:function(){return this.value},focus:function(){this.update(this.activeDate)},onEnable:function(a){Ext.DatePicker.superclass.onEnable.call(this);this.doDisabled(false);this.update(a?this.value:this.activeDate);if(Ext.isIE){this.el.repaint()}},onDisable:function(){Ext.DatePicker.superclass.onDisable.call(this);this.doDisabled(true);if(Ext.isIE&&!Ext.isIE8){Ext.each([].concat(this.textNodes,this.el.query("th span")),function(a){Ext.fly(a).repaint()})}},doDisabled:function(a){this.keyNav.setDisabled(a);this.prevRepeater.setDisabled(a);this.nextRepeater.setDisabled(a);if(this.showToday){this.todayKeyListener.setDisabled(a);this.todayBtn.setDisabled(a)}},onRender:function(e,b){var a=['','','",this.showToday?'':"",'
      
    '],c=this.dayNames,h;for(h=0;h<7;h++){var k=this.startDay+h;if(k>6){k=k-7}a.push("")}a[a.length]="";for(h=0;h<42;h++){if(h%7===0&&h!==0){a[a.length]=""}a[a.length]=''}a.push("
    ",c[k].substr(0,1),"
    ');var j=document.createElement("div");j.className="x-date-picker";j.innerHTML=a.join("");e.dom.insertBefore(j,b);this.el=Ext.get(j);this.eventEl=Ext.get(j.firstChild);this.prevRepeater=new Ext.util.ClickRepeater(this.el.child("td.x-date-left a"),{handler:this.showPrevMonth,scope:this,preventDefault:true,stopDefault:true});this.nextRepeater=new Ext.util.ClickRepeater(this.el.child("td.x-date-right a"),{handler:this.showNextMonth,scope:this,preventDefault:true,stopDefault:true});this.monthPicker=this.el.down("div.x-date-mp");this.monthPicker.enableDisplayMode("block");this.keyNav=new Ext.KeyNav(this.eventEl,{left:function(d){if(d.ctrlKey){this.showPrevMonth()}else{this.update(this.activeDate.add("d",-1))}},right:function(d){if(d.ctrlKey){this.showNextMonth()}else{this.update(this.activeDate.add("d",1))}},up:function(d){if(d.ctrlKey){this.showNextYear()}else{this.update(this.activeDate.add("d",-7))}},down:function(d){if(d.ctrlKey){this.showPrevYear()}else{this.update(this.activeDate.add("d",7))}},pageUp:function(d){this.showNextMonth()},pageDown:function(d){this.showPrevMonth()},enter:function(d){d.stopPropagation();return true},scope:this});this.el.unselectable();this.cells=this.el.select("table.x-date-inner tbody td");this.textNodes=this.el.query("table.x-date-inner tbody span");this.mbtn=new Ext.Button({text:" ",tooltip:this.monthYearText,renderTo:this.el.child("td.x-date-middle",true)});this.mbtn.el.child("em").addClass("x-btn-arrow");if(this.showToday){this.todayKeyListener=this.eventEl.addKeyListener(Ext.EventObject.SPACE,this.selectToday,this);var g=(new Date()).dateFormat(this.format);this.todayBtn=new Ext.Button({renderTo:this.el.child("td.x-date-bottom",true),text:String.format(this.todayText,g),tooltip:String.format(this.todayTip,g),handler:this.selectToday,scope:this})}this.mon(this.eventEl,"mousewheel",this.handleMouseWheel,this);this.mon(this.eventEl,"click",this.handleDateClick,this,{delegate:"a.x-date-date"});this.mon(this.mbtn,"click",this.showMonthPicker,this);this.onEnable(true)},createMonthPicker:function(){if(!this.monthPicker.dom.firstChild){var a=[''];for(var b=0;b<6;b++){a.push('",'",b===0?'':'')}a.push('","
    ',Date.getShortMonthName(b),"',Date.getShortMonthName(b+6),"
    ");this.monthPicker.update(a.join(""));this.mon(this.monthPicker,"click",this.onMonthClick,this);this.mon(this.monthPicker,"dblclick",this.onMonthDblClick,this);this.mpMonths=this.monthPicker.select("td.x-date-mp-month");this.mpYears=this.monthPicker.select("td.x-date-mp-year");this.mpMonths.each(function(c,d,e){e+=1;if((e%2)===0){c.dom.xmonth=5+Math.round(e*0.5)}else{c.dom.xmonth=Math.round((e-1)*0.5)}})}},showMonthPicker:function(){if(!this.disabled){this.createMonthPicker();var a=this.el.getSize();this.monthPicker.setSize(a);this.monthPicker.child("table").setSize(a);this.mpSelMonth=(this.activeDate||this.value).getMonth();this.updateMPMonth(this.mpSelMonth);this.mpSelYear=(this.activeDate||this.value).getFullYear();this.updateMPYear(this.mpSelYear);this.monthPicker.slideIn("t",{duration:0.2})}},updateMPYear:function(e){this.mpyear=e;var c=this.mpYears.elements;for(var b=1;b<=10;b++){var d=c[b-1],a;if((b%2)===0){a=e+Math.round(b*0.5);d.firstChild.innerHTML=a;d.xyear=a}else{a=e-(5-Math.round(b*0.5));d.firstChild.innerHTML=a;d.xyear=a}this.mpYears.item(b-1)[a==this.mpSelYear?"addClass":"removeClass"]("x-date-mp-sel")}},updateMPMonth:function(a){this.mpMonths.each(function(b,c,d){b[b.dom.xmonth==a?"addClass":"removeClass"]("x-date-mp-sel")})},selectMPMonth:function(a){},onMonthClick:function(g,b){g.stopEvent();var c=new Ext.Element(b),a;if(c.is("button.x-date-mp-cancel")){this.hideMonthPicker()}else{if(c.is("button.x-date-mp-ok")){var h=new Date(this.mpSelYear,this.mpSelMonth,(this.activeDate||this.value).getDate());if(h.getMonth()!=this.mpSelMonth){h=new Date(this.mpSelYear,this.mpSelMonth,1).getLastDateOfMonth()}this.update(h);this.hideMonthPicker()}else{if((a=c.up("td.x-date-mp-month",2))){this.mpMonths.removeClass("x-date-mp-sel");a.addClass("x-date-mp-sel");this.mpSelMonth=a.dom.xmonth}else{if((a=c.up("td.x-date-mp-year",2))){this.mpYears.removeClass("x-date-mp-sel");a.addClass("x-date-mp-sel");this.mpSelYear=a.dom.xyear}else{if(c.is("a.x-date-mp-prev")){this.updateMPYear(this.mpyear-10)}else{if(c.is("a.x-date-mp-next")){this.updateMPYear(this.mpyear+10)}}}}}}},onMonthDblClick:function(d,b){d.stopEvent();var c=new Ext.Element(b),a;if((a=c.up("td.x-date-mp-month",2))){this.update(new Date(this.mpSelYear,a.dom.xmonth,(this.activeDate||this.value).getDate()));this.hideMonthPicker()}else{if((a=c.up("td.x-date-mp-year",2))){this.update(new Date(a.dom.xyear,this.mpSelMonth,(this.activeDate||this.value).getDate()));this.hideMonthPicker()}}},hideMonthPicker:function(a){if(this.monthPicker){if(a===true){this.monthPicker.hide()}else{this.monthPicker.slideOut("t",{duration:0.2})}}},showPrevMonth:function(a){this.update(this.activeDate.add("mo",-1))},showNextMonth:function(a){this.update(this.activeDate.add("mo",1))},showPrevYear:function(){this.update(this.activeDate.add("y",-1))},showNextYear:function(){this.update(this.activeDate.add("y",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(b,a){b.stopEvent();if(!this.disabled&&a.dateValue&&!Ext.fly(a.parentNode).hasClass("x-date-disabled")){this.cancelFocus=this.focusOnSelect===false;this.setValue(new Date(a.dateValue));delete this.cancelFocus;this.fireEvent("select",this,this.value)}},selectToday:function(){if(this.todayBtn&&!this.todayBtn.disabled){this.setValue(new Date().clearTime());this.fireEvent("select",this,this.value)}},update:function(G,A){if(this.rendered){var a=this.activeDate,p=this.isVisible();this.activeDate=G;if(!A&&a&&this.el){var o=G.getTime();if(a.getMonth()==G.getMonth()&&a.getFullYear()==G.getFullYear()){this.cells.removeClass("x-date-selected");this.cells.each(function(d){if(d.dom.firstChild.dateValue==o){d.addClass("x-date-selected");if(p&&!this.cancelFocus){Ext.fly(d.dom.firstChild).focus(50)}return false}},this);return}}var k=G.getDaysInMonth(),q=G.getFirstDateOfMonth(),g=q.getDay()-this.startDay;if(g<0){g+=7}k+=g;var B=G.add("mo",-1),h=B.getDaysInMonth()-g,e=this.cells.elements,r=this.textNodes,D=(new Date(B.getFullYear(),B.getMonth(),h,this.initHour)),C=new Date().clearTime().getTime(),v=G.clearTime(true).getTime(),u=this.minDate?this.minDate.clearTime(true):Number.NEGATIVE_INFINITY,y=this.maxDate?this.maxDate.clearTime(true):Number.POSITIVE_INFINITY,F=this.disabledDatesRE,s=this.disabledDatesText,I=this.disabledDays?this.disabledDays.join(""):false,E=this.disabledDaysText,z=this.format;if(this.showToday){var m=new Date().clearTime(),c=(my||(F&&z&&F.test(m.dateFormat(z)))||(I&&I.indexOf(m.getDay())!=-1));if(!this.disabled){this.todayBtn.setDisabled(c);this.todayKeyListener[c?"disable":"enable"]()}}var l=function(J,d){d.title="";var i=D.clearTime(true).getTime();d.firstChild.dateValue=i;if(i==C){d.className+=" x-date-today";d.title=J.todayText}if(i==v){d.className+=" x-date-selected";if(p){Ext.fly(d.firstChild).focus(50)}}if(iy){d.className=" x-date-disabled";d.title=J.maxText;return}if(I){if(I.indexOf(D.getDay())!=-1){d.title=E;d.className=" x-date-disabled"}}if(F&&z){var w=D.dateFormat(z);if(F.test(w)){d.title=s.replace("%0",w);d.className=" x-date-disabled"}}};var x=0;for(;x=a.value){d=a.value}}c.setValue(b,d,false);c.fireEvent("drag",c,g,this)},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(c){var a=this.slider,b=this.value;this.el.removeClass("x-slider-thumb-drag");this.dragging=false;a.fireEvent("dragend",a,c);if(this.dragStartValue!=b){a.fireEvent("changecomplete",a,b,this)}},destroy:function(){Ext.destroyMembers(this,"tracker","el")}});Ext.slider.MultiSlider=Ext.extend(Ext.BoxComponent,{vertical:false,minValue:0,maxValue:100,decimalPrecision:0,keyIncrement:1,increment:0,clickRange:[5,15],clickToChange:true,animate:true,constrainThumbs:true,topThumbZIndex:10000,initComponent:function(){if(!Ext.isDefined(this.value)){this.value=this.minValue}this.thumbs=[];Ext.slider.MultiSlider.superclass.initComponent.call(this);this.keyIncrement=Math.max(this.increment,this.keyIncrement);this.addEvents("beforechange","change","changecomplete","dragstart","drag","dragend");if(this.values==undefined||Ext.isEmpty(this.values)){this.values=[0]}var a=this.values;for(var b=0;bthis.clickRange[0]&&c.top=c){d+=c}else{if(a*2<-c){d-=c}}}return d.constrain(this.minValue,this.maxValue)},afterRender:function(){Ext.slider.MultiSlider.superclass.afterRender.apply(this,arguments);for(var c=0;ce?e:c.value}this.syncThumb()},setValue:function(d,c,b,g){var a=this.thumbs[d],e=a.el;c=this.normalizeValue(c);if(c!==a.value&&this.fireEvent("beforechange",this,c,a.value,a)!==false){a.value=c;if(this.rendered){this.moveThumb(d,this.translateValue(c),b!==false);this.fireEvent("change",this,c,a);if(g){this.fireEvent("changecomplete",this,c,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},moveThumb:function(d,c,b){var a=this.thumbs[d].el;if(!b||this.animate===false){a.setLeft(c)}else{a.shift({left:c,stopFx:true,duration:0.35})}},focus:function(){this.focusEl.focus(10)},onResize:function(c,e){var b=this.thumbs,a=b.length,d=0;for(;dthis.clickRange[0]&&c.left','
    ','
    ','
    ',"
     
    ","
    ","
    ",'
    ',"
     
    ","
    ","
    ","");this.el=a?c.insertBefore(a,{cls:this.baseCls},true):c.append(d,{cls:this.baseCls},true);if(this.id){this.el.dom.id=this.id}var b=this.el.dom.firstChild;this.progressBar=Ext.get(b.firstChild);if(this.textEl){this.textEl=Ext.get(this.textEl);delete this.textTopEl}else{this.textTopEl=Ext.get(this.progressBar.dom.firstChild);var e=Ext.get(b.childNodes[1]);this.textTopEl.setStyle("z-index",99).addClass("x-hidden");this.textEl=new Ext.CompositeElement([this.textTopEl.dom.firstChild,e.dom.firstChild]);this.textEl.setWidth(b.offsetWidth)}this.progressBar.setHeight(b.offsetHeight)},afterRender:function(){Ext.ProgressBar.superclass.afterRender.call(this);if(this.value){this.updateProgress(this.value,this.text)}else{this.updateText(this.text)}},updateProgress:function(c,d,b){this.value=c||0;if(d){this.updateText(d)}if(this.rendered&&!this.isDestroyed){var a=Math.floor(c*this.el.dom.firstChild.offsetWidth);this.progressBar.setWidth(a,b===true||(b!==false&&this.animate));if(this.textTopEl){this.textTopEl.removeClass("x-hidden").setWidth(a)}}this.fireEvent("update",this,c,d);return this},wait:function(b){if(!this.waitTimer){var a=this;b=b||{};this.updateText(b.text);this.waitTimer=Ext.TaskMgr.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},updateText:function(a){this.text=a||" ";if(this.rendered){this.textEl.update(this.text)}return this},syncProgressBar:function(){if(this.value){this.updateProgress(this.value,this.text)}return this},setSize:function(a,c){Ext.ProgressBar.superclass.setSize.call(this,a,c);if(this.textTopEl){var b=this.el.dom.firstChild;this.textEl.setSize(b.offsetWidth,b.offsetHeight)}this.syncProgressBar();return this},reset:function(a){this.updateProgress(0);if(this.textTopEl){this.textTopEl.addClass("x-hidden")}this.clearTimer();if(a===true){this.hide()}return this},clearTimer:function(){if(this.waitTimer){this.waitTimer.onStop=null;Ext.TaskMgr.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")}Ext.ProgressBar.superclass.onDestroy.call(this)}});Ext.reg("progress",Ext.ProgressBar);(function(){var a=Ext.EventManager;var b=Ext.lib.Dom;Ext.dd.DragDrop=function(e,c,d){if(e){this.init(e,c,d)}};Ext.dd.DragDrop.prototype={id:null,config:null,dragElId:null,handleElId:null,invalidHandleTypes:null,invalidHandleIds:null,invalidHandleClasses:null,startPageX:0,startPageY:0,groups:null,locked:false,lock:function(){this.locked=true},moveOnly:false,unlock:function(){this.locked=false},isTarget:true,padding:null,_domRef:null,__ygDragDrop:true,constrainX:false,constrainY:false,minX:0,maxX:0,minY:0,maxY:0,maintainOffset:false,xTicks:null,yTicks:null,primaryButtonOnly:true,available:false,hasOuterHandles:false,b4StartDrag:function(c,d){},startDrag:function(c,d){},b4Drag:function(c){},onDrag:function(c){},onDragEnter:function(c,d){},b4DragOver:function(c){},onDragOver:function(c,d){},b4DragOut:function(c){},onDragOut:function(c,d){},b4DragDrop:function(c){},onDragDrop:function(c,d){},onInvalidDrop:function(c){},b4EndDrag:function(c){},endDrag:function(c){},b4MouseDown:function(c){},onMouseDown:function(c){},onMouseUp:function(c){},onAvailable:function(){},defaultPadding:{left:0,right:0,top:0,bottom:0},constrainTo:function(j,h,o){if(Ext.isNumber(h)){h={left:h,right:h,top:h,bottom:h}}h=h||this.defaultPadding;var l=Ext.get(this.getEl()).getBox(),d=Ext.get(j),n=d.getScroll(),k,e=d.dom;if(e==document.body){k={x:n.left,y:n.top,width:Ext.lib.Dom.getViewWidth(),height:Ext.lib.Dom.getViewHeight()}}else{var m=d.getXY();k={x:m[0],y:m[1],width:e.clientWidth,height:e.clientHeight}}var i=l.y-k.y,g=l.x-k.x;this.resetConstraints();this.setXConstraint(g-(h.left||0),k.width-g-l.width-(h.right||0),this.xTickSize);this.setYConstraint(i-(h.top||0),k.height-i-l.height-(h.bottom||0),this.yTickSize)},getEl:function(){if(!this._domRef){this._domRef=Ext.getDom(this.id)}return this._domRef},getDragEl:function(){return Ext.getDom(this.dragElId)},init:function(e,c,d){this.initTarget(e,c,d);a.on(this.id,"mousedown",this.handleMouseDown,this)},initTarget:function(e,c,d){this.config=d||{};this.DDM=Ext.dd.DDM;this.groups={};if(typeof e!=="string"){e=Ext.id(e)}this.id=e;this.addToGroup((c)?c:"default");this.handleElId=e;this.setDragElId(e);this.invalidHandleTypes={A:"A"};this.invalidHandleIds={};this.invalidHandleClasses=[];this.applyConfig();this.handleOnAvailable()},applyConfig:function(){this.padding=this.config.padding||[0,0,0,0];this.isTarget=(this.config.isTarget!==false);this.maintainOffset=(this.config.maintainOffset);this.primaryButtonOnly=(this.config.primaryButtonOnly!==false)},handleOnAvailable:function(){this.available=true;this.resetConstraints();this.onAvailable()},setPadding:function(e,c,g,d){if(!c&&0!==c){this.padding=[e,e,e,e]}else{if(!g&&0!==g){this.padding=[e,c,e,c]}else{this.padding=[e,c,g,d]}}},setInitPosition:function(g,e){var h=this.getEl();if(!this.DDM.verifyEl(h)){return}var d=g||0;var c=e||0;var i=b.getXY(h);this.initPageX=i[0]-d;this.initPageY=i[1]-c;this.lastPageX=i[0];this.lastPageY=i[1];this.setStartPosition(i)},setStartPosition:function(d){var c=d||b.getXY(this.getEl());this.deltaSetXY=null;this.startPageX=c[0];this.startPageY=c[1]},addToGroup:function(c){this.groups[c]=true;this.DDM.regDragDrop(this,c)},removeFromGroup:function(c){if(this.groups[c]){delete this.groups[c]}this.DDM.removeDDFromGroup(this,c)},setDragElId:function(c){this.dragElId=c},setHandleElId:function(c){if(typeof c!=="string"){c=Ext.id(c)}this.handleElId=c;this.DDM.regHandle(this.id,c)},setOuterHandleElId:function(c){if(typeof c!=="string"){c=Ext.id(c)}a.on(c,"mousedown",this.handleMouseDown,this);this.setHandleElId(c);this.hasOuterHandles=true},unreg:function(){a.un(this.id,"mousedown",this.handleMouseDown);this._domRef=null;this.DDM._remove(this)},destroy:function(){this.unreg()},isLocked:function(){return(this.DDM.isLocked()||this.locked)},handleMouseDown:function(g,d){if(this.primaryButtonOnly&&g.button!=0){return}if(this.isLocked()){return}this.DDM.refreshCache(this.groups);var c=new Ext.lib.Point(Ext.lib.Event.getPageX(g),Ext.lib.Event.getPageY(g));if(!this.hasOuterHandles&&!this.DDM.isOverTarget(c,this)){}else{if(this.clickValidator(g)){this.setStartPosition();this.b4MouseDown(g);this.onMouseDown(g);this.DDM.handleMouseDown(g,this);this.DDM.stopEvent(g)}else{}}},clickValidator:function(d){var c=d.getTarget();return(this.isValidHandleChild(c)&&(this.id==this.handleElId||this.DDM.handleWasClicked(c,this.id)))},addInvalidHandleType:function(c){var d=c.toUpperCase();this.invalidHandleTypes[d]=d},addInvalidHandleId:function(c){if(typeof c!=="string"){c=Ext.id(c)}this.invalidHandleIds[c]=c},addInvalidHandleClass:function(c){this.invalidHandleClasses.push(c)},removeInvalidHandleType:function(c){var d=c.toUpperCase();delete this.invalidHandleTypes[d]},removeInvalidHandleId:function(c){if(typeof c!=="string"){c=Ext.id(c)}delete this.invalidHandleIds[c]},removeInvalidHandleClass:function(d){for(var e=0,c=this.invalidHandleClasses.length;e=this.minX;d=d-c){if(!e[d]){this.xTicks[this.xTicks.length]=d;e[d]=true}}for(d=this.initPageX;d<=this.maxX;d=d+c){if(!e[d]){this.xTicks[this.xTicks.length]=d;e[d]=true}}this.xTicks.sort(this.DDM.numericSort)},setYTicks:function(g,c){this.yTicks=[];this.yTickSize=c;var e={};for(var d=this.initPageY;d>=this.minY;d=d-c){if(!e[d]){this.yTicks[this.yTicks.length]=d;e[d]=true}}for(d=this.initPageY;d<=this.maxY;d=d+c){if(!e[d]){this.yTicks[this.yTicks.length]=d;e[d]=true}}this.yTicks.sort(this.DDM.numericSort)},setXConstraint:function(e,d,c){this.leftConstraint=e;this.rightConstraint=d;this.minX=this.initPageX-e;this.maxX=this.initPageX+d;if(c){this.setXTicks(this.initPageX,c)}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(c,e,d){this.topConstraint=c;this.bottomConstraint=e;this.minY=this.initPageY-c;this.maxY=this.initPageY+e;if(d){this.setYTicks(this.initPageY,d)}this.constrainY=true},resetConstraints:function(){if(this.initPageX||this.initPageX===0){var d=(this.maintainOffset)?this.lastPageX-this.initPageX:0;var c=(this.maintainOffset)?this.lastPageY-this.initPageY:0;this.setInitPosition(d,c)}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(k,g){if(!g){return k}else{if(g[0]>=k){return g[0]}else{for(var d=0,c=g.length;d=k){var j=k-g[d];var h=g[e]-k;return(h>j)?g[d]:g[e]}}return g[g.length-1]}}},toString:function(){return("DragDrop "+this.id)}}})();if(!Ext.dd.DragDropMgr){Ext.dd.DragDropMgr=function(){var a=Ext.EventManager;return{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(d,c){for(var e in this.ids){for(var b in this.ids[e]){var g=this.ids[e][b];if(!this.isTypeOfDD(g)){continue}g[d].apply(g,c)}}},_onLoad:function(){this.init();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(b){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(c,b){if(!this.initialized){this.init()}if(!this.ids[b]){this.ids[b]={}}this.ids[b][c.id]=c},removeDDFromGroup:function(d,b){if(!this.ids[b]){this.ids[b]={}}var c=this.ids[b];if(c&&c[d.id]){delete c[d.id]}},_remove:function(c){for(var b in c.groups){if(b&&this.ids[b]&&this.ids[b][c.id]){delete this.ids[b][c.id]}}delete this.handleIds[c.id]},regHandle:function(c,b){if(!this.handleIds[c]){this.handleIds[c]={}}this.handleIds[c][b]=b},isDragDrop:function(b){return(this.getDDById(b))?true:false},getRelated:function(h,c){var g=[];for(var e in h.groups){for(var d in this.ids[e]){var b=this.ids[e][d];if(!this.isTypeOfDD(b)){continue}if(!c||b.isTarget){g[g.length]=b}}}return g},isLegalTarget:function(g,e){var c=this.getRelated(g,true);for(var d=0,b=c.length;dthis.clickPixelThresh||b>this.clickPixelThresh){this.startDrag(this.startX,this.startY)}}if(this.dragThreshMet){this.dragCurrent.b4Drag(d);this.dragCurrent.onDrag(d);if(!this.dragCurrent.moveOnly){this.fireEvents(d,false)}}this.stopEvent(d);return true},fireEvents:function(n,o){var q=this.dragCurrent;if(!q||q.isLocked()){return}var r=n.getPoint();var b=[];var g=[];var l=[];var j=[];var d=[];for(var h in this.dragOvers){var c=this.dragOvers[h];if(!this.isTypeOfDD(c)){continue}if(!this.isOverTarget(r,c,this.mode)){g.push(c)}b[h]=true;delete this.dragOvers[h]}for(var p in q.groups){if("string"!=typeof p){continue}for(h in this.ids[p]){var k=this.ids[p][h];if(!this.isTypeOfDD(k)){continue}if(k.isTarget&&!k.isLocked()&&((k!=q)||(q.ignoreSelf===false))){if(this.isOverTarget(r,k,this.mode)){if(o){j.push(k)}else{if(!b[k.id]){d.push(k)}else{l.push(k)}this.dragOvers[k.id]=k}}}}}if(this.mode){if(g.length){q.b4DragOut(n,g);q.onDragOut(n,g)}if(d.length){q.onDragEnter(n,d)}if(l.length){q.b4DragOver(n,l);q.onDragOver(n,l)}if(j.length){q.b4DragDrop(n,j);q.onDragDrop(n,j)}}else{var m=0;for(h=0,m=g.length;h2000){}else{setTimeout(b._addListeners,10);if(document&&document.body){b._timeoutCount+=1}}}},handleWasClicked:function(b,d){if(this.isHandle(d,b.id)){return true}else{var c=b.parentNode;while(c){if(this.isHandle(d,c.id)){return true}else{c=c.parentNode}}}return false}}}();Ext.dd.DDM=Ext.dd.DragDropMgr;Ext.dd.DDM._addListeners()}Ext.dd.DD=function(c,a,b){if(c){this.init(c,a,b)}};Ext.extend(Ext.dd.DD,Ext.dd.DragDrop,{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(c,h,g){var e=this.getTargetCoord(h,g);var b=c.dom?c:Ext.fly(c,"_dd");if(!this.deltaSetXY){var i=[e.x,e.y];b.setXY(i);var d=b.getLeft(true);var a=b.getTop(true);this.deltaSetXY=[d-e.x,a-e.y]}else{b.setLeftTop(e.x+this.deltaSetXY[0],e.y+this.deltaSetXY[1])}this.cachePosition(e.x,e.y);this.autoScroll(e.x,e.y,c.offsetHeight,c.offsetWidth);return e},cachePosition:function(b,a){if(b){this.lastPageX=b;this.lastPageY=a}else{var c=Ext.lib.Dom.getXY(this.getEl());this.lastPageX=c[0];this.lastPageY=c[1]}},autoScroll:function(l,k,e,m){if(this.scroll){var n=Ext.lib.Dom.getViewHeight();var b=Ext.lib.Dom.getViewWidth();var p=this.DDM.getScrollTop();var d=this.DDM.getScrollLeft();var j=e+k;var o=m+l;var i=(n+p-k-this.deltaY);var g=(b+d-l-this.deltaX);var c=40;var a=(document.all)?80:30;if(j>n&&i0&&k-pb&&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(){Ext.dd.DD.superclass.applyConfig.call(this);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.dd.DDProxy=function(c,a,b){if(c){this.init(c,a,b);this.initFrame()}};Ext.dd.DDProxy.dragElId="ygddfdiv";Ext.extend(Ext.dd.DDProxy,Ext.dd.DD,{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(){Ext.dd.DDProxy.superclass.applyConfig.call(this);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.dd.DDTarget=function(c,a,b){if(c){this.initTarget(c,a,b)}};Ext.extend(Ext.dd.DDTarget,Ext.dd.DragDrop,{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.dd.DragTracker=Ext.extend(Ext.util.Observable,{active:false,tolerance:5,autoStart:false,constructor:function(a){Ext.apply(this,a);this.addEvents("mousedown","mouseup","mousemove","dragstart","dragend","drag");this.dragRegion=new Ext.lib.Region(0,0,0,0);if(this.el){this.initEl(this.el)}Ext.dd.DragTracker.superclass.constructor.call(this,a)},initEl:function(a){this.el=Ext.get(a);a.on("mousedown",this.onMouseDown,this,this.delegate?{delegate:this.delegate}:undefined)},destroy:function(){this.el.un("mousedown",this.onMouseDown,this);delete this.el},onMouseDown:function(b,a){if(this.fireEvent("mousedown",this,b)!==false&&this.onBeforeStart(b)!==false){this.startXY=this.lastXY=b.getXY();this.dragTarget=this.delegate?a:this.el.dom;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=this.triggerStart.defer(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.abs(a[0]-b[0])>this.tolerance||Math.abs(a[1]-b[1])>this.tolerance){this.triggerStart(d)}else{return}}this.fireEvent("mousemove",this,d);this.onDrag(d);this.fireEvent("drag",this,d)},onMouseUp: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);c.preventDefault();this.clearStart();this.active=false;delete this.elRegion;this.fireEvent("mouseup",this,c);if(a){this.onEnd(c);this.fireEvent("dragend",this,c)}},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},getXY:function(a){return a?this.constrainModes[a].call(this,this.lastXY):this.lastXY},getOffset:function(c){var b=this.getXY(c),a=this.startXY;return[a[0]-b[0],a[1]-b[1]]},constrainModes:{point:function(b){if(!this.elRegion){this.elRegion=this.getDragCt().getRegion()}var a=this.dragRegion;a.left=b[0];a.top=b[1];a.right=b[0];a.bottom=b[1];a.constrainTo(this.elRegion);return[a.left,a.top]}}});Ext.dd.ScrollManager=function(){var c=Ext.dd.DragDropMgr;var e={};var b=null;var i={};var h=function(l){b=null;a()};var j=function(){if(c.dragCurrent){c.refreshCache(c.dragCurrent.groups)}};var d=function(){if(c.dragCurrent){var l=Ext.dd.ScrollManager;var m=i.el.ddScrollConfig?i.el.ddScrollConfig.increment:l.increment;if(!l.animate){if(i.el.scroll(i.dir,m)){j()}}else{i.el.scroll(i.dir,m,true,l.animDuration,j)}}};var a=function(){if(i.id){clearInterval(i.id)}i.id=0;i.el=null;i.dir=""};var g=function(m,l){a();i.el=m;i.dir=l;var o=m.ddScrollConfig?m.ddScrollConfig.ddGroup:undefined,n=(m.ddScrollConfig&&m.ddScrollConfig.frequency)?m.ddScrollConfig.frequency:Ext.dd.ScrollManager.frequency;if(o===undefined||c.dragCurrent.ddGroup==o){i.id=setInterval(d,n)}};var k=function(o,q){if(q||!c.dragCurrent){return}var s=Ext.dd.ScrollManager;if(!b||b!=c.dragCurrent){b=c.dragCurrent;s.refreshCache()}var t=Ext.lib.Event.getXY(o);var u=new Ext.lib.Point(t[0],t[1]);for(var m in e){var n=e[m],l=n._region;var p=n.ddScrollConfig?n.ddScrollConfig:s;if(l&&l.contains(u)&&n.isScrollable()){if(l.bottom-u.y<=p.vthresh){if(i.el!=n){g(n,"down")}return}else{if(l.right-u.x<=p.hthresh){if(i.el!=n){g(n,"left")}return}else{if(u.y-l.top<=p.vthresh){if(i.el!=n){g(n,"up")}return}else{if(u.x-l.left<=p.hthresh){if(i.el!=n){g(n,"right")}return}}}}}}a()};c.fireEvents=c.fireEvents.createSequence(k,c);c.stopDrag=c.stopDrag.createSequence(h,c);return{register:function(n){if(Ext.isArray(n)){for(var m=0,l=n.length;m]+>/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.data.Record=function(a,b){this.id=(b||b===0)?b:Ext.data.Record.id(this);this.data=a||{}};Ext.data.Record.create=function(e){var c=Ext.extend(Ext.data.Record,{});var d=c.prototype;d.fields=new Ext.util.MixedCollection(false,function(g){return g.name});for(var b=0,a=e.length;b-1){a.join(null);this.data.removeAt(b)}if(this.pruneModifiedRecords){this.modified.remove(a)}if(this.snapshot){this.snapshot.remove(a)}if(b>-1){this.fireEvent("remove",this,a,b)}},removeAt:function(a){this.remove(this.getAt(a))},removeAll:function(b){var a=[];this.each(function(c){a.push(c)});this.clearData();if(this.snapshot){this.snapshot.clear()}if(this.pruneModifiedRecords){this.modified=[]}if(b!==true){this.fireEvent("clear",this,a)}},onClear:function(b,a){Ext.each(a,function(d,c){this.destroyRecord(this,d,c)},this)},insert:function(d,c){var e,a,b;c=[].concat(c);for(e=0,a=c.length;e=0;d--){if(b[d].phantom===true){var a=b.splice(d,1).shift();if(a.isValid()){g.push(a)}}else{if(!b[d].isValid()){b.splice(d,1)}}}if(g.length){h.push(["create",g])}if(b.length){h.push(["update",b])}}j=h.length;if(j){e=++this.batchCounter;for(d=0;d=0;b--){this.modified.splice(this.modified.indexOf(a[b]),1)}}else{this.modified.splice(this.modified.indexOf(a),1)}},reMap:function(b){if(Ext.isArray(b)){for(var d=0,a=b.length;d=0;c--){this.insert(b[c].lastIndex,b[c])}}},handleException:function(a){Ext.handleError(a)},reload:function(a){this.load(Ext.applyIf(a||{},this.lastOptions))},loadRecords:function(b,l,h){var e,g;if(this.isDestroyed===true){return}if(!b||h===false){if(h!==false){this.fireEvent("load",this,[],l)}if(l.callback){l.callback.call(l.scope||this,[],l,false,b)}return}var a=b.records,j=b.totalRecords||a.length;if(!l||l.add!==true){if(this.pruneModifiedRecords){this.modified=[]}for(e=0,g=a.length;e-1){this.doUpdate(d)}else{k.push(d);++c}}this.totalLength=Math.max(j,this.data.length+c);this.add(k)}this.fireEvent("load",this,a,l);if(l.callback){l.callback.call(l.scope||this,a,l,true)}},loadData:function(c,a){var b=this.reader.readRecords(c);this.loadRecords(b,{add:a},true)},getCount:function(){return this.data.length||0},getTotalCount:function(){return this.totalLength||0},getSortState:function(){return this.sortInfo},applySort:function(){if((this.sortInfo||this.multiSortInfo)&&!this.remoteSort){this.sortData()}},sortData:function(){var a=this.hasMultiSort?this.multiSortInfo:this.sortInfo,k=a.direction||"ASC",h=a.sorters,c=[];if(!this.hasMultiSort){h=[{direction:k,field:a.field}]}for(var d=0,b=h.length;d1){for(var p=1,o=c.length;ph?1:(i=0;b--){if(Ext.isArray(c)){this.realize(a.splice(b,1).shift(),c.splice(b,1).shift())}else{this.realize(a.splice(b,1).shift(),c)}}}else{if(Ext.isArray(c)&&c.length==1){c=c.shift()}if(!this.isData(c)){throw new Ext.data.DataReader.Error("realize",a)}a.phantom=false;a._phid=a.id;a.id=this.getId(c);a.data=c;a.commit();a.store.reMap(a)}},update:function(a,c){if(Ext.isArray(a)){for(var b=a.length-1;b>=0;b--){if(Ext.isArray(c)){this.update(a.splice(b,1).shift(),c.splice(b,1).shift())}else{this.update(a.splice(b,1).shift(),c)}}}else{if(Ext.isArray(c)&&c.length==1){c=c.shift()}if(this.isData(c)){a.data=Ext.apply(a.data,c)}a.commit()}},extractData:function(k,a){var j=(this instanceof Ext.data.JsonReader)?"json":"node";var c=[];if(this.isData(k)&&!(this instanceof Ext.data.XmlReader)){k=[k]}var h=this.recordType.prototype.fields,o=h.items,m=h.length,c=[];if(a===true){var l=this.recordType;for(var e=0;e=0){return new Function("obj","return obj"+(b>0?".":"")+c)}return function(d){return d[c]}}}(),extractValues:function(h,d,a){var g,c={};for(var e=0;e<\u003fxml version="{version}" encoding="{encoding}"\u003f><{documentRoot}><{name}>{value}<{root}><{parent.record}><{name}>{value}',render:function(b,c,a){c=this.toArray(c);b.xmlData=this.tpl.applyTemplate({version:this.xmlVersion,encoding:this.xmlEncoding,documentRoot:(c.length>0||this.forceDocumentRoot===true)?this.documentRoot:false,record:this.meta.record,root:this.root,baseParams:c,records:(Ext.isArray(a[0]))?a:[a]})},createRecord:function(a){return this.toArray(this.toHash(a))},updateRecord:function(a){return this.toArray(this.toHash(a))},destroyRecord:function(b){var a={};a[this.meta.idProperty]=b.id;return this.toArray(a)}});Ext.data.XmlReader=function(a,b){a=a||{};Ext.applyIf(a,{idProperty:a.idProperty||a.idPath||a.id,successProperty:a.successProperty||a.success});Ext.data.XmlReader.superclass.constructor.call(this,a,b||a.fields)};Ext.extend(Ext.data.XmlReader,Ext.data.DataReader,{read:function(a){var b=a.responseXML;if(!b){throw {message:"XmlReader.read: XML Document not available"}}return this.readRecords(b)},readRecords:function(d){this.xmlData=d;var a=d.documentElement||d,c=Ext.DomQuery,g=0,e=true;if(this.meta.totalProperty){g=this.getTotal(a,0)}if(this.meta.successProperty){e=this.getSuccess(a)}var b=this.extractData(c.select(this.meta.record,a),true);return{success:e,records:b,totalRecords:g||b.length}},readResponse:function(g,b){var e=Ext.DomQuery,h=b.responseXML,a=h.documentElement||h;var c=new Ext.data.Response({action:g,success:this.getSuccess(a),message:this.getMessage(a),data:this.extractData(e.select(this.meta.record,a)||e.select(this.meta.root,a),false),raw:h});if(Ext.isEmpty(c.success)){throw new Ext.data.DataReader.Error("successProperty-response",this.meta.successProperty)}if(g===Ext.data.Api.actions.create){var d=Ext.isDefined(c.data);if(d&&Ext.isEmpty(c.data)){throw new Ext.data.JsonReader.Error("root-empty",this.meta.root)}else{if(!d){throw new Ext.data.JsonReader.Error("root-undefined-response",this.meta.root)}}}return c},getSuccess:function(){return true},buildExtractors:function(){if(this.ef){return}var l=this.meta,h=this.recordType,e=h.prototype.fields,k=e.items,j=e.length;if(l.totalProperty){this.getTotal=this.createAccessor(l.totalProperty)}if(l.successProperty){this.getSuccess=this.createAccessor(l.successProperty)}if(l.messageProperty){this.getMessage=this.createAccessor(l.messageProperty)}this.getRoot=function(g){return(!Ext.isEmpty(g[this.meta.record]))?g[this.meta.record]:g[this.meta.root]};if(l.idPath||l.idProperty){var d=this.createAccessor(l.idPath||l.idProperty);this.getId=function(g){var i=d(g)||g.id;return(i===undefined||i==="")?null:i}}else{this.getId=function(){return null}}var c=[];for(var b=0;b0&&c[0].field==this.groupField){c.shift()}this.groupField=e;this.groupDir=d;this.applyGroupField();var b=function(){this.fireEvent("groupchange",this,this.getGroupState())};if(this.groupOnSort){this.sort(e,d);b.call(this);return}if(this.remoteGroup){this.on("load",b,this,{single:true});this.reload()}else{this.sort(c);b.call(this)}},sort:function(h,c){if(this.remoteSort){return Ext.data.GroupingStore.superclass.sort.call(this,h,c)}var g=[];if(Ext.isArray(arguments[0])){g=arguments[0]}else{if(h==undefined){g=this.sortInfo?[this.sortInfo]:[]}else{var e=this.fields.get(h);if(!e){return false}var b=e.name,a=this.sortInfo||null,d=this.sortToggle?this.sortToggle[b]:null;if(!c){if(a&&a.field==b){c=(this.sortToggle[b]||"ASC").toggle("ASC","DESC")}else{c=e.sortDir}}this.sortToggle[b]=c;this.sortInfo={field:b,direction:c};g=[this.sortInfo]}}if(this.groupField){g.unshift({direction:this.groupDir,field:this.groupField})}return this.multiSort.call(this,g,c)},applyGroupField:function(){if(this.remoteGroup){if(!this.baseParams){this.baseParams={}}Ext.apply(this.baseParams,{groupBy:this.groupField,groupDir:this.groupDir});var a=this.lastOptions;if(a&&a.params){a.params.groupDir=this.groupDir;delete a.params.groupBy}}},applyGrouping:function(a){if(this.groupField!==false){this.groupBy(this.groupField,true,this.groupDir);return true}else{if(a===true){this.fireEvent("datachanged",this)}return false}},getGroupState:function(){return this.groupOnSort&&this.groupField!==false?(this.sortInfo?this.sortInfo.field:undefined):this.groupField}});Ext.reg("groupingstore",Ext.data.GroupingStore);Ext.data.DirectProxy=function(a){Ext.apply(this,a);if(typeof this.paramOrder=="string"){this.paramOrder=this.paramOrder.split(/[\s,|]/)}Ext.data.DirectProxy.superclass.constructor.call(this,a)};Ext.extend(Ext.data.DirectProxy,Ext.data.DataProxy,{paramOrder:undefined,paramsAsHash:true,directFn:undefined,doRequest:function(b,c,a,e,k,l,n){var j=[],h=this.api[b]||this.directFn;switch(b){case Ext.data.Api.actions.create:j.push(a.jsonData);break;case Ext.data.Api.actions.read:if(h.directCfg.method.len>0){if(this.paramOrder){for(var d=0,g=this.paramOrder.length;d1){for(var d=0,b=c.length;d0){this.doSend(a==1?this.callBuffer[0]:this.callBuffer);this.callBuffer=[]}},queueTransaction:function(a){if(a.form){this.processForm(a);return}this.callBuffer.push(a);if(this.enableBuffer){if(!this.callTask){this.callTask=new Ext.util.DelayedTask(this.combineAndSend,this)}this.callTask.delay(Ext.isNumber(this.enableBuffer)?this.enableBuffer:10)}else{this.combineAndSend()}},doCall:function(i,a,b){var h=null,e=b[a.len],g=b[a.len+1];if(a.len!==0){h=b.slice(0,a.len)}var d=new Ext.Direct.Transaction({provider:this,args:b,action:i,method:a.name,data:h,cb:g&&Ext.isFunction(e)?e.createDelegate(g):e});if(this.fireEvent("beforecall",this,d,a)!==false){Ext.Direct.addTransaction(d);this.queueTransaction(d);this.fireEvent("call",this,d,a)}},doForm:function(j,b,g,i,e){var d=new Ext.Direct.Transaction({provider:this,action:j,method:b.name,args:[g,i,e],cb:e&&Ext.isFunction(i)?i.createDelegate(e):i,isForm:true});if(this.fireEvent("beforecall",this,d,b)!==false){Ext.Direct.addTransaction(d);var a=String(g.getAttribute("enctype")).toLowerCase()=="multipart/form-data",h={extTID:d.tid,extAction:j,extMethod:b.name,extType:"rpc",extUpload:String(a)};Ext.apply(d,{form:Ext.getDom(g),isUpload:a,params:i&&Ext.isObject(i.params)?Ext.apply(h,i.params):h});this.fireEvent("call",this,d,b);this.processForm(d)}},processForm:function(a){Ext.Ajax.request({url:this.url,params:a.params,callback:this.onData,scope:this,form:a.form,isUpload:a.isUpload,ts:a})},createMethod:function(d,a){var b;if(!a.formHandler){b=function(){this.doCall(d,a,Array.prototype.slice.call(arguments,0))}.createDelegate(this)}else{b=function(e,g,c){this.doForm(d,a,e,g,c)}.createDelegate(this)}b.directCfg={action:d,method:a};return b},getTransaction:function(a){return a&&a.tid?Ext.Direct.getTransaction(a.tid):null},doCallback:function(c,g){var d=g.status?"success":"failure";if(c&&c.cb){var b=c.cb,a=Ext.isDefined(g.result)?g.result:g.data;if(Ext.isFunction(b)){b(a,g)}else{Ext.callback(b[d],b.scope,[a,g]);Ext.callback(b.callback,b.scope,[a,g])}}}});Ext.Direct.PROVIDERS.remoting=Ext.direct.RemotingProvider;Ext.Resizable=Ext.extend(Ext.util.Observable,{constructor:function(d,e){this.el=Ext.get(d);if(e&&e.wrap){e.resizeChild=this.el;this.el=this.el.wrap(typeof e.wrap=="object"?e.wrap:{cls:"xresizable-wrap"});this.el.id=this.el.dom.id=e.resizeChild.id+"-rzwrap";this.el.setStyle("overflow","hidden");this.el.setPositioning(e.resizeChild.getPositioning());e.resizeChild.clearPositioning();if(!e.width||!e.height){var g=e.resizeChild.getSize();this.el.setSize(g.width,g.height)}if(e.pinned&&!e.adjustments){e.adjustments="auto"}}this.proxy=this.el.createProxy({tag:"div",cls:"x-resizable-proxy",id:this.el.id+"-rzproxy"},Ext.getBody());this.proxy.unselectable();this.proxy.enableDisplayMode("block");Ext.apply(this,e);if(this.pinned){this.disableTrackOver=true;this.el.addClass("x-resizable-pinned")}var k=this.el.getStyle("position");if(k!="absolute"&&k!="fixed"){this.el.setStyle("position","relative")}if(!this.handles){this.handles="s,e,se";if(this.multiDirectional){this.handles+=",n,w"}}if(this.handles=="all"){this.handles="n s e w ne nw se sw"}var o=this.handles.split(/\s*?[,;]\s*?| /);var c=Ext.Resizable.positions;for(var j=0,l=o.length;j0){if(a>(e/2)){d=c+(e-a)}else{d=c-a}}return Math.max(b,d)},resizeElement:function(){var a=this.proxy.getBox();if(this.updateBox){this.el.setBox(a,false,this.animate,this.duration,null,this.easing)}else{this.el.setSize(a.width,a.height,this.animate,this.duration,null,this.easing)}this.updateChildSize();if(!this.dynamic){this.proxy.hide()}if(this.draggable&&this.constrainTo){this.dd.resetConstraints();this.dd.constrainTo(this.constrainTo)}return a},constrain:function(b,c,a,d){if(b-cd){c=b-d}}return c},onMouseMove:function(z){if(this.enabled&&this.activeHandle){try{if(this.resizeRegion&&!this.resizeRegion.contains(z.getPoint())){return}var t=this.curSize||this.startBox,l=this.startBox.x,k=this.startBox.y,c=l,b=k,m=t.width,u=t.height,d=m,o=u,n=this.minWidth,A=this.minHeight,s=this.maxWidth,D=this.maxHeight,i=this.widthIncrement,a=this.heightIncrement,B=z.getXY(),r=-(this.startPoint[0]-Math.max(this.minX,B[0])),p=-(this.startPoint[1]-Math.max(this.minY,B[1])),j=this.activeHandle.position,E,g;switch(j){case"east":m+=r;m=Math.min(Math.max(n,m),s);break;case"south":u+=p;u=Math.min(Math.max(A,u),D);break;case"southeast":m+=r;u+=p;m=Math.min(Math.max(n,m),s);u=Math.min(Math.max(A,u),D);break;case"north":p=this.constrain(u,p,A,D);k+=p;u-=p;break;case"west":r=this.constrain(m,r,n,s);l+=r;m-=r;break;case"northeast":m+=r;m=Math.min(Math.max(n,m),s);p=this.constrain(u,p,A,D);k+=p;u-=p;break;case"northwest":r=this.constrain(m,r,n,s);p=this.constrain(u,p,A,D);k+=p;u-=p;l+=r;m-=r;break;case"southwest":r=this.constrain(m,r,n,s);u+=p;u=Math.min(Math.max(A,u),D);l+=r;m-=r;break}var q=this.snap(m,i,n);var C=this.snap(u,a,A);if(q!=m||C!=u){switch(j){case"northeast":k-=C-u;break;case"north":k-=C-u;break;case"southwest":l-=q-m;break;case"west":l-=q-m;break;case"northwest":l-=q-m;k-=C-u;break}m=q;u=C}if(this.preserveRatio){switch(j){case"southeast":case"east":u=o*(m/d);u=Math.min(Math.max(A,u),D);m=d*(u/o);break;case"south":m=d*(u/o);m=Math.min(Math.max(n,m),s);u=o*(m/d);break;case"northeast":m=d*(u/o);m=Math.min(Math.max(n,m),s);u=o*(m/d);break;case"north":E=m;m=d*(u/o);m=Math.min(Math.max(n,m),s);u=o*(m/d);l+=(E-m)/2;break;case"southwest":u=o*(m/d);u=Math.min(Math.max(A,u),D);E=m;m=d*(u/o);l+=E-m;break;case"west":g=u;u=o*(m/d);u=Math.min(Math.max(A,u),D);k+=(g-u)/2;E=m;m=d*(u/o);l+=E-m;break;case"northwest":E=m;g=u;u=o*(m/d);u=Math.min(Math.max(A,u),D);m=d*(u/o);k+=g-u;l+=E-m;break}}this.proxy.setBounds(l,k,m,u);if(this.dynamic){this.resizeElement()}}catch(v){}}},handleOver:function(){if(this.enabled){this.el.addClass("x-resizable-over")}},handleOut:function(){if(!this.resizing){this.el.removeClass("x-resizable-over")}},getEl:function(){return this.el},getResizeChild:function(){return this.resizeChild},destroy:function(b){Ext.destroy(this.dd,this.overlay,this.proxy);this.overlay=null;this.proxy=null;var c=Ext.Resizable.positions;for(var a in c){if(typeof c[a]!="function"&&this[c[a]]){this[c[a]].destroy()}}if(b){this.el.update("");Ext.destroy(this.el);this.el=null}this.purgeListeners()},syncHandleHeight:function(){var a=this.el.getHeight(true);if(this.west){this.west.el.setHeight(a)}if(this.east){this.east.el.setHeight(a)}}});Ext.Resizable.positions={n:"north",s:"south",e:"east",w:"west",se:"southeast",sw:"southwest",nw:"northwest",ne:"northeast"};Ext.Resizable.Handle=Ext.extend(Object,{constructor:function(d,g,c,e,a){if(!this.tpl){var b=Ext.DomHelper.createTemplate({tag:"div",cls:"x-resizable-handle x-resizable-handle-{0}"});b.compile();Ext.Resizable.Handle.prototype.tpl=b}this.position=g;this.rz=d;this.el=this.tpl.append(d.el.dom,[this.position],true);this.el.unselectable();if(e){this.el.setOpacity(0)}if(!Ext.isEmpty(a)){this.el.addClass(a)}this.el.on("mousedown",this.onMouseDown,this);if(!c){this.el.on({scope:this,mouseover:this.onMouseOver,mouseout:this.onMouseOut})}},afterResize:function(a){},onMouseDown:function(a){this.rz.onMouseDown(this,a)},onMouseOver:function(a){this.rz.handleOver(this,a)},onMouseOut:function(a){this.rz.handleOut(this,a)},destroy:function(){Ext.destroy(this.el);this.el=null}});Ext.Window=Ext.extend(Ext.Panel,{baseCls:"x-window",resizable:true,draggable:true,closable:true,closeAction:"close",constrain:false,constrainHeader:false,plain:false,minimizable:false,maximizable:false,minHeight:100,minWidth:200,expandOnShow:true,showAnimDuration:0.25,hideAnimDuration:0.25,collapsible:false,initHidden:undefined,hidden:true,elements:"header,body",frame:true,floating:true,initComponent:function(){this.initTools();Ext.Window.superclass.initComponent.call(this);this.addEvents("resize","maximize","minimize","restore");if(Ext.isDefined(this.initHidden)){this.hidden=this.initHidden}if(this.hidden===false){this.hidden=true;this.show()}},getState:function(){return Ext.apply(Ext.Window.superclass.getState.call(this)||{},this.getBox(true))},onRender:function(b,a){Ext.Window.superclass.onRender.call(this,b,a);if(this.plain){this.el.addClass("x-window-plain")}this.focusEl=this.el.createChild({tag:"a",href:"#",cls:"x-dlg-focus",tabIndex:"-1",html:" "});this.focusEl.swallowEvent("click",true);this.proxy=this.el.createProxy("x-window-proxy");this.proxy.enableDisplayMode("block");if(this.modal){this.mask=this.container.createChild({cls:"ext-el-mask"},this.el.dom);this.mask.enableDisplayMode("block");this.mask.hide();this.mon(this.mask,"click",this.focus,this)}if(this.maximizable){this.mon(this.header,"dblclick",this.toggleMaximize,this)}},initEvents:function(){Ext.Window.superclass.initEvents.call(this);if(this.animateTarget){this.setAnimateTarget(this.animateTarget)}if(this.resizable){this.resizer=new Ext.Resizable(this.el,{minWidth:this.minWidth,minHeight:this.minHeight,handles:this.resizeHandles||"all",pinned:true,resizeElement:this.resizerAction,handleCls:"x-window-handle"});this.resizer.window=this;this.mon(this.resizer,"beforeresize",this.beforeResize,this)}if(this.draggable){this.header.addClass("x-window-draggable")}this.mon(this.el,"mousedown",this.toFront,this);this.manager=this.manager||Ext.WindowMgr;this.manager.register(this);if(this.maximized){this.maximized=false;this.maximize()}if(this.closable){var a=this.getKeyMap();a.on(27,this.onEsc,this);a.disable()}},initDraggable:function(){this.dd=new Ext.Window.DD(this)},onEsc:function(a,b){if(this.activeGhost){this.unghost()}b.stopEvent();this[this.closeAction]()},beforeDestroy:function(){if(this.rendered){this.hide();this.clearAnchor();Ext.destroy(this.focusEl,this.resizer,this.dd,this.proxy,this.mask)}Ext.Window.superclass.beforeDestroy.call(this)},onDestroy:function(){if(this.manager){this.manager.unregister(this)}Ext.Window.superclass.onDestroy.call(this)},initTools:function(){if(this.minimizable){this.addTool({id:"minimize",handler:this.minimize.createDelegate(this,[])})}if(this.maximizable){this.addTool({id:"maximize",handler:this.maximize.createDelegate(this,[])});this.addTool({id:"restore",handler:this.restore.createDelegate(this,[]),hidden:true})}if(this.closable){this.addTool({id:"close",handler:this[this.closeAction].createDelegate(this,[])})}},resizerAction:function(){var a=this.proxy.getBox();this.proxy.hide();this.window.handleResize(a);return a},beforeResize:function(){this.resizer.minHeight=Math.max(this.minHeight,this.getFrameHeight()+40);this.resizer.minWidth=Math.max(this.minWidth,this.getFrameWidth()+40);this.resizeBox=this.el.getBox()},updateHandles:function(){if(Ext.isIE&&this.resizer){this.resizer.syncHandleHeight();this.el.repaint()}},handleResize:function(b){var a=this.resizeBox;if(a.x!=b.x||a.y!=b.y){this.updateBox(b)}else{this.setSize(b);if(Ext.isIE6&&Ext.isStrict){this.doLayout()}}this.focus();this.updateHandles();this.saveState()},focus:function(){var e=this.focusEl,a=this.defaultButton,c=typeof a,d,b;if(Ext.isDefined(a)){if(Ext.isNumber(a)&&this.fbar){e=this.fbar.items.get(a)}else{if(Ext.isString(a)){e=Ext.getCmp(a)}else{e=a}}d=e.getEl();b=Ext.getDom(this.container);if(d&&b){if(b!=document.body&&!Ext.lib.Region.getRegion(b).contains(Ext.lib.Region.getRegion(d.dom))){return}}}e=e||this.focusEl;e.focus.defer(10,e)},setAnimateTarget:function(a){a=Ext.get(a);this.animateTarget=a},beforeShow:function(){delete this.el.lastXY;delete this.el.lastLT;if(this.x===undefined||this.y===undefined){var a=this.el.getAlignToXY(this.container,"c-c");var b=this.el.translatePoints(a[0],a[1]);this.x=this.x===undefined?b.left:this.x;this.y=this.y===undefined?b.top:this.y}this.el.setLeftTop(this.x,this.y);if(this.expandOnShow){this.expand(false)}if(this.modal){Ext.getBody().addClass("x-body-masked");this.mask.setSize(Ext.lib.Dom.getViewWidth(true),Ext.lib.Dom.getViewHeight(true));this.mask.show()}},show:function(c,a,b){if(!this.rendered){this.render(Ext.getBody())}if(this.hidden===false){this.toFront();return this}if(this.fireEvent("beforeshow",this)===false){return this}if(a){this.on("show",a,b,{single:true})}this.hidden=false;if(Ext.isDefined(c)){this.setAnimateTarget(c)}this.beforeShow();if(this.animateTarget){this.animShow()}else{this.afterShow()}return this},afterShow:function(b){if(this.isDestroyed){return false}this.proxy.hide();this.el.setStyle("display","block");this.el.show();if(this.maximized){this.fitContainer()}if(Ext.isMac&&Ext.isGecko2){this.cascade(this.setAutoScroll)}if(this.monitorResize||this.modal||this.constrain||this.constrainHeader){Ext.EventManager.onWindowResize(this.onWindowResize,this)}this.doConstrain();this.doLayout();if(this.keyMap){this.keyMap.enable()}this.toFront();this.updateHandles();if(b&&(Ext.isIE||Ext.isWebKit)){var a=this.getSize();this.onResize(a.width,a.height)}this.onShow();this.fireEvent("show",this)},animShow:function(){this.proxy.show();this.proxy.setBox(this.animateTarget.getBox());this.proxy.setOpacity(0);var a=this.getBox();this.el.setStyle("display","none");this.proxy.shift(Ext.apply(a,{callback:this.afterShow.createDelegate(this,[true],false),scope:this,easing:"easeNone",duration:this.showAnimDuration,opacity:0.5}))},hide:function(c,a,b){if(this.hidden||this.fireEvent("beforehide",this)===false){return this}if(a){this.on("hide",a,b,{single:true})}this.hidden=true;if(c!==undefined){this.setAnimateTarget(c)}if(this.modal){this.mask.hide();Ext.getBody().removeClass("x-body-masked")}if(this.animateTarget){this.animHide()}else{this.el.hide();this.afterHide()}return this},afterHide:function(){this.proxy.hide();if(this.monitorResize||this.modal||this.constrain||this.constrainHeader){Ext.EventManager.removeResizeListener(this.onWindowResize,this)}if(this.keyMap){this.keyMap.disable()}this.onHide();this.fireEvent("hide",this)},animHide:function(){this.proxy.setOpacity(0.5);this.proxy.show();var a=this.getBox(false);this.proxy.setBox(a);this.el.hide();this.proxy.shift(Ext.apply(this.animateTarget.getBox(),{callback:this.afterHide,scope:this,duration:this.hideAnimDuration,easing:"easeNone",opacity:0}))},onShow:Ext.emptyFn,onHide:Ext.emptyFn,onWindowResize:function(){if(this.maximized){this.fitContainer()}if(this.modal){this.mask.setSize("100%","100%");var a=this.mask.dom.offsetHeight;this.mask.setSize(Ext.lib.Dom.getViewWidth(true),Ext.lib.Dom.getViewHeight(true))}this.doConstrain()},doConstrain:function(){if(this.constrain||this.constrainHeader){var b;if(this.constrain){b={right:this.el.shadowOffset,left:this.el.shadowOffset,bottom:this.el.shadowOffset}}else{var a=this.getSize();b={right:-(a.width-100),bottom:-(a.height-25+this.el.getConstrainOffset())}}var c=this.el.getConstrainToXY(this.container,true,b);if(c){this.setPosition(c[0],c[1])}}},ghost:function(a){var c=this.createGhost(a);var b=this.getBox(true);c.setLeftTop(b.x,b.y);c.setWidth(b.width);this.el.hide();this.activeGhost=c;return c},unghost:function(b,a){if(!this.activeGhost){return}if(b!==false){this.el.show();this.focus.defer(10,this);if(Ext.isMac&&Ext.isGecko2){this.cascade(this.setAutoScroll)}}if(a!==false){this.setPosition(this.activeGhost.getLeft(true),this.activeGhost.getTop(true))}this.activeGhost.hide();this.activeGhost.remove();delete this.activeGhost},minimize:function(){this.fireEvent("minimize",this);return this},close:function(){if(this.fireEvent("beforeclose",this)!==false){if(this.hidden){this.doClose()}else{this.hide(null,this.doClose,this)}}},doClose:function(){this.fireEvent("close",this);this.destroy()},maximize:function(){if(!this.maximized){this.expand(false);this.restoreSize=this.getSize();this.restorePos=this.getPosition(true);if(this.maximizable){this.tools.maximize.hide();this.tools.restore.show()}this.maximized=true;this.el.disableShadow();if(this.dd){this.dd.lock()}if(this.collapsible){this.tools.toggle.hide()}this.el.addClass("x-window-maximized");this.container.addClass("x-window-maximized-ct");this.setPosition(0,0);this.fitContainer();this.fireEvent("maximize",this)}return this},restore:function(){if(this.maximized){var a=this.tools;this.el.removeClass("x-window-maximized");if(a.restore){a.restore.hide()}if(a.maximize){a.maximize.show()}this.setPosition(this.restorePos[0],this.restorePos[1]);this.setSize(this.restoreSize.width,this.restoreSize.height);delete this.restorePos;delete this.restoreSize;this.maximized=false;this.el.enableShadow(true);if(this.dd){this.dd.unlock()}if(this.collapsible&&a.toggle){a.toggle.show()}this.container.removeClass("x-window-maximized-ct");this.doConstrain();this.fireEvent("restore",this)}return this},toggleMaximize:function(){return this[this.maximized?"restore":"maximize"]()},fitContainer:function(){var a=this.container.getViewSize(false);this.setSize(a.width,a.height)},setZIndex:function(a){if(this.modal){this.mask.setStyle("z-index",a)}this.el.setZIndex(++a);a+=5;if(this.resizer){this.resizer.proxy.setStyle("z-index",++a)}this.lastZIndex=a},alignTo:function(b,a,c){var d=this.el.getAlignToXY(b,a,c);this.setPagePosition(d[0],d[1]);return this},anchorTo:function(c,e,d,b){this.clearAnchor();this.anchorTarget={el:c,alignment:e,offsets:d};Ext.EventManager.onWindowResize(this.doAnchor,this);var a=typeof b;if(a!="undefined"){Ext.EventManager.on(window,"scroll",this.doAnchor,this,{buffer:a=="number"?b:50})}return this.doAnchor()},doAnchor:function(){var a=this.anchorTarget;this.alignTo(a.el,a.alignment,a.offsets);return this},clearAnchor:function(){if(this.anchorTarget){Ext.EventManager.removeResizeListener(this.doAnchor,this);Ext.EventManager.un(window,"scroll",this.doAnchor,this);delete this.anchorTarget}return this},toFront:function(a){if(this.manager.bringToFront(this)){if(!a||!a.getTarget().focus){this.focus()}}return this},setActive:function(a){if(a){if(!this.maximized){this.el.enableShadow(true)}this.fireEvent("activate",this)}else{this.el.disableShadow();this.fireEvent("deactivate",this)}},toBack:function(){this.manager.sendToBack(this);return this},center:function(){var a=this.el.getAlignToXY(this.container,"c-c");this.setPagePosition(a[0],a[1]);return this}});Ext.reg("window",Ext.Window);Ext.Window.DD=Ext.extend(Ext.dd.DD,{constructor:function(a){this.win=a;Ext.Window.DD.superclass.constructor.call(this,a.el.id,"WindowDD-"+a.id);this.setHandleElId(a.header.id);this.scroll=false},moveOnly:true,headerOffsets:[100,25],startDrag:function(){var a=this.win;this.proxy=a.ghost(a.initialConfig.cls);if(a.constrain!==false){var c=a.el.shadowOffset;this.constrainTo(a.container,{right:c,left:c,bottom:c})}else{if(a.constrainHeader!==false){var b=this.proxy.getSize();this.constrainTo(a.container,{right:-(b.width-this.headerOffsets[0]),bottom:-(b.height-this.headerOffsets[1])})}}},b4Drag:Ext.emptyFn,onDrag:function(a){this.alignElWithMouse(this.proxy,a.getPageX(),a.getPageY())},endDrag:function(a){this.win.unghost();this.win.saveState()}});Ext.WindowGroup=function(){var g={};var d=[];var e=null;var c=function(j,i){return(!j._lastAccess||j._lastAccess0){l.sort(c);var k=l[0].manager.zseed;for(var m=0;m=0;--j){if(!d[j].hidden){b(d[j]);return}}b(null)};return{zseed:9000,register:function(i){if(i.manager){i.manager.unregister(i)}i.manager=this;g[i.id]=i;d.push(i);i.on("hide",a)},unregister:function(i){delete i.manager;delete g[i.id];i.un("hide",a);d.remove(i)},get:function(i){return typeof i=="object"?i:g[i]},bringToFront:function(i){i=this.get(i);if(i!=e){i._lastAccess=new Date().getTime();h();return true}return false},sendToBack:function(i){i=this.get(i);i._lastAccess=-(new Date().getTime());h();return i},hideAll:function(){for(var i in g){if(g[i]&&typeof g[i]!="function"&&g[i].isVisible()){g[i].hide()}}},getActive:function(){return e},getBy:function(l,k){var m=[];for(var j=d.length-1;j>=0;--j){var n=d[j];if(l.call(k||n,n)!==false){m.push(n)}}return m},each:function(j,i){for(var k in g){if(g[k]&&typeof g[k]!="function"){if(j.call(i||g[k],g[k])===false){return}}}}}};Ext.WindowMgr=new Ext.WindowGroup();Ext.MessageBox=function(){var u,b,q,t,h,l,s,a,n,p,j,g,r,v,o,i="",d="",m=["ok","yes","no","cancel"];var c=function(x){r[x].blur();if(u.isVisible()){u.hide();w();Ext.callback(b.fn,b.scope||window,[x,v.dom.value,b],1)}};var w=function(){if(b&&b.cls){u.el.removeClass(b.cls)}n.reset()};var e=function(z,x,y){if(b&&b.closable!==false){u.hide();w()}if(y){y.stopEvent()}};var k=function(x){var z=0,y;if(!x){Ext.each(m,function(A){r[A].hide()});return z}u.footer.dom.style.display="";Ext.iterate(r,function(A,B){y=x[A];if(y){B.show();B.setText(Ext.isString(y)?y:Ext.MessageBox.buttonText[A]);z+=B.getEl().getWidth()+15}else{B.hide()}});return z};return{getDialog:function(x){if(!u){var z=[];r={};Ext.each(m,function(A){z.push(r[A]=new Ext.Button({text:this.buttonText[A],handler:c.createCallback(A),hideMode:"offsets"}))},this);u=new Ext.Window({autoCreate:true,title:x,resizable:false,constrain:true,constrainHeader:true,minimizable:false,maximizable:false,stateful:false,modal:true,shim:true,buttonAlign:"center",width:400,height:100,minHeight:80,plain:true,footer:true,closable:true,close:function(){if(b&&b.buttons&&b.buttons.no&&!b.buttons.cancel){c("no")}else{c("cancel")}},fbar:new Ext.Toolbar({items:z,enableOverflow:false})});u.render(document.body);u.getEl().addClass("x-window-dlg");q=u.mask;h=u.body.createChild({html:'

    '});j=Ext.get(h.dom.firstChild);var y=h.dom.childNodes[1];l=Ext.get(y.firstChild);s=Ext.get(y.childNodes[2].firstChild);s.enableDisplayMode();s.addKeyListener([10,13],function(){if(u.isVisible()&&b&&b.buttons){if(b.buttons.ok){c("ok")}else{if(b.buttons.yes){c("yes")}}}});a=Ext.get(y.childNodes[2].childNodes[1]);a.enableDisplayMode();n=new Ext.ProgressBar({renderTo:h});h.createChild({cls:"x-clear"})}return u},updateText:function(A){if(!u.isVisible()&&!b.width){u.setSize(this.maxWidth,100)}l.update(A?A+" ":" ");var y=d!=""?(j.getWidth()+j.getMargins("lr")):0,C=l.getWidth()+l.getMargins("lr"),z=u.getFrameWidth("lr"),B=u.body.getFrameWidth("lr"),x;x=Math.max(Math.min(b.width||y+C+z+B,b.maxWidth||this.maxWidth),Math.max(b.minWidth||this.minWidth,o||0));if(b.prompt===true){v.setWidth(x-y-z-B)}if(b.progress===true||b.wait===true){n.setSize(x-y-z-B)}if(Ext.isIE&&x==o){x+=4}l.update(A||" ");u.setSize(x,"auto").center();return this},updateProgress:function(y,x,z){n.updateProgress(y,x);if(z){this.updateText(z)}return this},isVisible:function(){return u&&u.isVisible()},hide:function(){var x=u?u.activeGhost:null;if(this.isVisible()||x){u.hide();w();if(x){u.unghost(false,false)}}return this},show:function(A){if(this.isVisible()){this.hide()}b=A;var B=this.getDialog(b.title||" ");B.setTitle(b.title||" ");var x=(b.closable!==false&&b.progress!==true&&b.wait!==true);B.tools.close.setDisplayed(x);v=s;b.prompt=b.prompt||(b.multiline?true:false);if(b.prompt){if(b.multiline){s.hide();a.show();a.setHeight(Ext.isNumber(b.multiline)?b.multiline:this.defaultTextHeight);v=a}else{s.show();a.hide()}}else{s.hide();a.hide()}v.dom.value=b.value||"";if(b.prompt){B.focusEl=v}else{var z=b.buttons;var y=null;if(z&&z.ok){y=r.ok}else{if(z&&z.yes){y=r.yes}}if(y){B.focusEl=y}}if(Ext.isDefined(b.iconCls)){B.setIconClass(b.iconCls)}this.setIcon(Ext.isDefined(b.icon)?b.icon:i);o=k(b.buttons);n.setVisible(b.progress===true||b.wait===true);this.updateProgress(0,b.progressText);this.updateText(b.msg);if(b.cls){B.el.addClass(b.cls)}B.proxyDrag=b.proxyDrag===true;B.modal=b.modal!==false;B.mask=b.modal!==false?q:false;if(!B.isVisible()){document.body.appendChild(u.el.dom);B.setAnimateTarget(b.animEl);B.on("show",function(){if(x===true){B.keyMap.enable()}else{B.keyMap.disable()}},this,{single:true});B.show(b.animEl)}if(b.wait===true){n.wait(b.waitConfig)}return this},setIcon:function(x){if(!u){i=x;return}i=undefined;if(x&&x!=""){j.removeClass("x-hidden");j.replaceClass(d,x);h.addClass("x-dlg-icon");d=x}else{j.replaceClass(d,"x-hidden");h.removeClass("x-dlg-icon");d=""}return this},progress:function(z,y,x){this.show({title:z,msg:y,buttons:false,progress:true,closable:false,minWidth:this.minProgressWidth,progressText:x});return this},wait:function(z,y,x){this.show({title:y,msg:z,buttons:false,closable:false,wait:true,modal:true,minWidth:this.minProgressWidth,waitConfig:x});return this},alert:function(A,z,y,x){this.show({title:A,msg:z,buttons:this.OK,fn:y,scope:x,minWidth:this.minWidth});return this},confirm:function(A,z,y,x){this.show({title:A,msg:z,buttons:this.YESNO,fn:y,scope:x,icon:this.QUESTION,minWidth:this.minWidth});return this},prompt:function(C,B,z,y,x,A){this.show({title:C,msg:B,buttons:this.OKCANCEL,fn:z,minWidth:this.minPromptWidth,scope:y,prompt:true,multiline:x,value:A});return this},OK:{ok:true},CANCEL:{cancel:true},OKCANCEL:{ok:true,cancel:true},YESNO:{yes:true,no:true},YESNOCANCEL:{yes:true,no:true,cancel:true},INFO:"ext-mb-info",WARNING:"ext-mb-warning",QUESTION:"ext-mb-question",ERROR:"ext-mb-error",defaultTextHeight:75,maxWidth:600,minWidth:100,minProgressWidth:250,minPromptWidth:250,buttonText:{ok:"OK",cancel:"Cancel",yes:"Yes",no:"No"}}}();Ext.Msg=Ext.MessageBox;Ext.dd.PanelProxy=Ext.extend(Object,{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},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.el.dom.style.display="";this.ghost.remove();delete this.ghost}},show:function(){if(!this.ghost){this.ghost=this.panel.createGhost(this.panel.initialConfig.cls,undefined,Ext.getBody());this.ghost.setXY(this.panel.el.getXY());if(this.insertProxy){this.proxy=this.panel.el.insertSibling({cls:"x-panel-dd-spacer"});this.proxy.setSize(this.panel.getSize())}this.panel.el.dom.style.display="none"}},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.Panel.DD=Ext.extend(Ext.dd.DragSource,{constructor:function(b,a){this.panel=b;this.dragData={panel:b};this.proxy=new Ext.dd.PanelProxy(b,a);Ext.Panel.DD.superclass.constructor.call(this,b.el,a);var d=b.header,c=b.body;if(d){this.setHandleElId(d.id);c=b.header}c.setStyle("cursor","move");this.scroll=false},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.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.state.Provider=Ext.extend(Ext.util.Observable,{constructor:function(){this.addEvents("statechange");this.state={};Ext.state.Provider.superclass.constructor.call(this)},get:function(b,a){return typeof this.state[b]=="undefined"?a:this.state[b]},clear:function(a){delete this.state[a];this.fireEvent("statechange",this,a,null)},set:function(a,b){this.state[a]=b;this.fireEvent("statechange",this,a,b)},decodeValue:function(b){var e=/^(a|n|d|b|s|o|e)\:(.*)$/,h=e.exec(unescape(b)),d,c,a,g;if(!h||!h[1]){return}c=h[1];a=h[2];switch(c){case"e":return null;case"n":return parseFloat(a);case"d":return new Date(Date.parse(a));case"b":return(a=="1");case"a":d=[];if(a!=""){Ext.each(a.split("^"),function(i){d.push(this.decodeValue(i))},this)}return d;case"o":d={};if(a!=""){Ext.each(a.split("^"),function(i){g=i.split("=");d[g[0]]=this.decodeValue(g[1])},this)}return d;default:return a}},encodeValue:function(c){var b,g="",e=0,a,d;if(c==null){return"e:1"}else{if(typeof c=="number"){b="n:"+c}else{if(typeof c=="boolean"){b="b:"+(c?"1":"0")}else{if(Ext.isDate(c)){b="d:"+c.toGMTString()}else{if(Ext.isArray(c)){for(a=c.length;e-1){var e=this.isSelected(b),c=this.all.elements[b],d=this.bufferRender([a],b)[0];this.all.replaceElement(b,d,true);if(e){this.selected.replaceElement(c,d);this.all.item(b).addClass(this.selectedClass)}this.updateIndexes(b,b)}},onAdd:function(g,d,e){if(this.all.getCount()===0){this.refresh();return}var c=this.bufferRender(d,e),h,b=this.all.elements;if(e0){if(!b){this.selected.removeClass(this.selectedClass)}this.selected.clear();this.last=false;if(!a){this.fireEvent("selectionchange",this,this.selected.elements)}}},isSelected:function(a){return this.selected.contains(this.getNode(a))},deselect:function(a){if(this.isSelected(a)){a=this.getNode(a);this.selected.removeElement(a);if(this.last==a.viewIndex){this.last=false}Ext.fly(a).removeClass(this.selectedClass);this.fireEvent("selectionchange",this,this.selected.elements)}},select:function(d,g,b){if(Ext.isArray(d)){if(!g){this.clearSelections(true)}for(var c=0,a=d.length;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)},onBeforeLoad:function(){if(this.loadingText){this.clearSelections(false,true);this.getTemplateTarget().update('
    '+this.loadingText+"
    ");this.all.clear()}},onDestroy:function(){this.all.clear();this.selected.clear();Ext.DataView.superclass.onDestroy.call(this);this.bindStore(null)}});Ext.DataView.prototype.setStore=Ext.DataView.prototype.bindStore;Ext.reg("dataview",Ext.DataView);Ext.list.ListView=Ext.extend(Ext.DataView,{itemSelector:"dl",selectedClass:"x-list-selected",overClass:"x-list-over",scrollOffset:undefined,columnResize:true,columnSort:true,maxColumnWidth:Ext.isIE?99:100,initComponent:function(){if(this.columnResize){this.colResizer=new Ext.list.ColumnResizer(this.colResizer);this.colResizer.init(this)}if(this.columnSort){this.colSorter=new Ext.list.Sorter(this.columnSort);this.colSorter.init(this)}if(!this.internalTpl){this.internalTpl=new Ext.XTemplate('
    ','','
    ',"{header}","
    ","
    ",'
    ',"
    ",'
    ',"
    ")}if(!this.tpl){this.tpl=new Ext.XTemplate('',"
    ",'','
    ',' class="{cls}">',"{[values.tpl.apply(parent)]}","
    ","
    ",'
    ',"
    ","
    ")}var l=this.columns,h=0,k=0,m=l.length,b=[];for(var g=0;gthis.maxColumnWidth){n.width-=(h-this.maxColumnWidth)/100}k++}b.push(n)}l=this.columns=b;if(k10)){b.style.width=d;g.style.width=d}else{b.style.width=c+"px";g.style.width=c+"px";setTimeout(function(){if((a.offsetWidth-a.clientWidth)>10){b.style.width=d;g.style.width=d}},10)}}if(Ext.isNumber(e)){a.style.height=Math.max(0,e-g.parentNode.offsetHeight)+"px"}},updateIndexes:function(){Ext.list.ListView.superclass.updateIndexes.apply(this,arguments);this.verifyInternalSize()},findHeaderIndex:function(g){g=g.dom||g;var a=g.parentNode,d=a.parentNode.childNodes,b=0,e;for(;e=d[b];b++){if(e==a){return b}}return -1},setHdWidths:function(){var d=this.innerHd.dom.getElementsByTagName("div"),c=0,b=this.columns,a=b.length;for(;c','','{text}',"");d.disableFormats=true;d.compile();Ext.TabPanel.prototype.itemTpl=d}this.items.each(this.initTab,this)},afterRender:function(){Ext.TabPanel.superclass.afterRender.call(this);if(this.autoTabs){this.readTabs(false)}if(this.activeTab!==undefined){var a=Ext.isObject(this.activeTab)?this.activeTab:this.items.get(this.activeTab);delete this.activeTab;this.setActiveTab(a)}},initEvents:function(){Ext.TabPanel.superclass.initEvents.call(this);this.mon(this.strip,{scope:this,mousedown:this.onStripMouseDown,contextmenu:this.onStripContextMenu});if(this.enableTabScroll){this.mon(this.strip,"mousewheel",this.onWheel,this)}},findTargets:function(c){var b=null,a=c.getTarget("li:not(.x-tab-edge)",this.strip);if(a){b=this.getComponent(a.id.split(this.idDelimiter)[1]);if(b.disabled){return{close:null,item:null,el:null}}}return{close:c.getTarget(".x-tab-strip-close",this.strip),item:b,el:a}},onStripMouseDown:function(b){if(b.button!==0){return}b.preventDefault();var a=this.findTargets(b);if(a.close){if(a.item.fireEvent("beforeclose",a.item)!==false){a.item.fireEvent("close",a.item);this.remove(a.item)}return}if(a.item&&a.item!=this.activeTab){this.setActiveTab(a.item)}},onStripContextMenu:function(b){b.preventDefault();var a=this.findTargets(b);if(a.item){this.fireEvent("contextmenu",this,a.item,b)}},readTabs:function(d){if(d===true){this.items.each(function(h){this.remove(h)},this)}var c=this.el.query(this.autoTabSelector);for(var b=0,a=c.length;b0){this.setActiveTab(0)}else{this.setActiveTab(null)}}}if(!this.destroying){this.delegateUpdates()}},onBeforeShowItem:function(a){if(a!=this.activeTab){this.setActiveTab(a);return false}},onItemDisabled:function(b){var a=this.getTabEl(b);if(a){Ext.fly(a).addClass("x-item-disabled")}this.stack.remove(b)},onItemEnabled:function(b){var a=this.getTabEl(b);if(a){Ext.fly(a).removeClass("x-item-disabled")}},onItemTitleChanged:function(b){var a=this.getTabEl(b);if(a){Ext.fly(a).child("span.x-tab-strip-text",true).innerHTML=b.title}},onItemIconChanged:function(d,a,c){var b=this.getTabEl(d);if(b){b=Ext.get(b);b.child("span.x-tab-strip-text").replaceClass(c,a);b[Ext.isEmpty(a)?"removeClass":"addClass"]("x-tab-with-icon")}},getTabEl:function(a){var b=this.getComponent(a);return b?b.tabEl:null},onResize:function(){Ext.TabPanel.superclass.onResize.apply(this,arguments);this.delegateUpdates()},beginUpdate:function(){this.suspendUpdates=true},endUpdate:function(){this.suspendUpdates=false;this.delegateUpdates()},hideTabStripItem:function(b){b=this.getComponent(b);var a=this.getTabEl(b);if(a){a.style.display="none";this.delegateUpdates()}this.stack.remove(b)},unhideTabStripItem:function(b){b=this.getComponent(b);var a=this.getTabEl(b);if(a){a.style.display="";this.delegateUpdates()}},delegateUpdates:function(){var a=this.rendered;if(this.suspendUpdates){return}if(this.resizeTabs&&a){this.autoSizeTabs()}if(this.enableTabScroll&&a){this.autoScrollTabs()}},autoSizeTabs:function(){var h=this.items.length,b=this.tabPosition!="bottom"?"header":"footer",c=this[b].dom.offsetWidth,a=this[b].dom.clientWidth;if(!this.resizeTabs||h<1||!a){return}var k=Math.max(Math.min(Math.floor((a-4)/h)-this.tabMargin,this.tabWidth),this.minTabWidth);this.lastTabWidth=k;var m=this.strip.query("li:not(.x-tab-edge)");for(var e=0,j=m.length;e20?c:20);if(!this.scrolling){if(!this.scrollLeft){this.createScrollers()}else{this.scrollLeft.show();this.scrollRight.show()}}this.scrolling=true;if(i>(a-c)){e.scrollLeft=a-c}else{this.scrollToTab(this.activeTab,false)}this.updateScrollButtons()}},createScrollers:function(){this.pos.addClass("x-tab-scrolling-"+this.tabPosition);var c=this.stripWrap.dom.offsetHeight;var a=this.pos.insertFirst({cls:"x-tab-scroller-left"});a.setHeight(c);a.addClassOnOver("x-tab-scroller-left-over");this.leftRepeater=new Ext.util.ClickRepeater(a,{interval:this.scrollRepeatInterval,handler:this.onScrollLeft,scope:this});this.scrollLeft=a;var b=this.pos.insertFirst({cls:"x-tab-scroller-right"});b.setHeight(c);b.addClassOnOver("x-tab-scroller-right-over");this.rightRepeater=new Ext.util.ClickRepeater(b,{interval:this.scrollRepeatInterval,handler:this.onScrollRight,scope:this});this.scrollRight=b},getScrollWidth:function(){return this.edge.getOffsetsTo(this.stripWrap)[0]+this.getScrollPos()},getScrollPos:function(){return parseInt(this.stripWrap.dom.scrollLeft,10)||0},getScrollArea:function(){return parseInt(this.stripWrap.dom.clientWidth,10)||0},getScrollAnim:function(){return{duration:this.scrollDuration,callback:this.updateScrollButtons,scope:this}},getScrollIncrement:function(){return this.scrollIncrement||(this.resizeTabs?this.lastTabWidth+2:100)},scrollToTab:function(e,a){if(!e){return}var c=this.getTabEl(e),h=this.getScrollPos(),d=this.getScrollArea(),g=Ext.fly(c).getOffsetsTo(this.stripWrap)[0]+h,b=g+c.offsetWidth;if(g(h+d)){this.scrollTo(b-d,a)}}},scrollTo:function(b,a){this.stripWrap.scrollTo("left",b,a?this.getScrollAnim():false);if(!a){this.updateScrollButtons()}},onWheel:function(g){var h=g.getWheelDelta()*this.wheelIncrement*-1;g.stopEvent();var i=this.getScrollPos(),c=i+h,a=this.getScrollWidth()-this.getScrollArea();var b=Math.max(0,Math.min(a,c));if(b!=i){this.scrollTo(b,false)}},onScrollRight:function(){var a=this.getScrollWidth()-this.getScrollArea(),c=this.getScrollPos(),b=Math.min(a,c+this.getScrollIncrement());if(b!=c){this.scrollTo(b,this.animScroll)}},onScrollLeft:function(){var b=this.getScrollPos(),a=Math.max(0,b-this.getScrollIncrement());if(a!=b){this.scrollTo(a,this.animScroll)}},updateScrollButtons:function(){var a=this.getScrollPos();this.scrollLeft[a===0?"addClass":"removeClass"]("x-tab-scroller-left-disabled");this.scrollRight[a>=(this.getScrollWidth()-this.getScrollArea())?"addClass":"removeClass"]("x-tab-scroller-right-disabled")},beforeDestroy:function(){Ext.destroy(this.leftRepeater,this.rightRepeater);this.deleteMembers("strip","edge","scrollLeft","scrollRight","stripWrap");this.activeTab=null;Ext.TabPanel.superclass.beforeDestroy.apply(this)}});Ext.reg("tabpanel",Ext.TabPanel);Ext.TabPanel.prototype.activate=Ext.TabPanel.prototype.setActiveTab;Ext.TabPanel.AccessStack=function(){var a=[];return{add:function(b){a.push(b);if(a.length>10){a.shift()}},remove:function(e){var d=[];for(var c=0,b=a.length;c','  ','  ','  ',"");Ext.Button.buttonTemplate.compile()}this.template=Ext.Button.buttonTemplate}var b,d=this.getTemplateArgs();if(a){b=this.template.insertBefore(a,d,true)}else{b=this.template.append(c,d,true)}this.btnEl=b.child(this.buttonSelector);this.mon(this.btnEl,{scope:this,focus:this.onFocus,blur:this.onBlur});this.initButtonEl(b,this.btnEl);Ext.ButtonToggleMgr.register(this)},initButtonEl:function(b,c){this.el=b;this.setIcon(this.icon);this.setText(this.text);this.setIconClass(this.iconCls);if(Ext.isDefined(this.tabIndex)){c.dom.tabIndex=this.tabIndex}if(this.tooltip){this.setTooltip(this.tooltip,true)}if(this.handleMouseEvents){this.mon(b,{scope:this,mouseover:this.onMouseOver,mousedown:this.onMouseDown})}if(this.menu){this.mon(this.menu,{scope:this,show:this.onMenuShow,hide:this.onMenuHide})}if(this.repeat){var a=new Ext.util.ClickRepeater(b,Ext.isObject(this.repeat)?this.repeat:{});this.mon(a,"click",this.onRepeatClick,this)}else{this.mon(b,this.clickEvent,this.onClick,this)}},afterRender:function(){Ext.Button.superclass.afterRender.call(this);this.useSetClass=true;this.setButtonClass();this.doc=Ext.getDoc();this.doAutoWidth()},setIconClass:function(a){this.iconCls=a;if(this.el){this.btnEl.dom.className="";this.btnEl.addClass(["x-btn-text",a||""]);this.setButtonClass()}return this},setTooltip:function(b,a){if(this.rendered){if(!a){this.clearTip()}if(Ext.isObject(b)){Ext.QuickTips.register(Ext.apply({target:this.btnEl.id},b));this.tooltip=b}else{this.btnEl.dom[this.tooltipType]=b}}else{this.tooltip=b}return this},clearTip:function(){if(Ext.isObject(this.tooltip)){Ext.QuickTips.unregister(this.btnEl)}},beforeDestroy:function(){if(this.rendered){this.clearTip()}if(this.menu&&this.destroyMenu!==false){Ext.destroy(this.btnEl,this.menu)}Ext.destroy(this.repeater)},onDestroy:function(){if(this.rendered){this.doc.un("mouseover",this.monitorMouseOver,this);this.doc.un("mouseup",this.onMouseUp,this);delete this.doc;delete this.btnEl;Ext.ButtonToggleMgr.unregister(this)}Ext.Button.superclass.onDestroy.call(this)},doAutoWidth:function(){if(this.autoWidth!==false&&this.el&&this.text&&this.width===undefined){this.el.setWidth("auto");if(Ext.isIE7&&Ext.isStrict){var a=this.btnEl;if(a&&a.getWidth()>20){a.clip();a.setWidth(Ext.util.TextMetrics.measure(a,this.text).width+a.getFrameWidth("lr"))}}if(this.minWidth){if(this.el.getWidth()a}else{return c.getPageY()>this.btnEl.getRegion().bottom}},onClick:function(b,a){b.preventDefault();if(!this.disabled){if(this.isClickOnArrow(b)){if(this.menu&&!this.menu.isVisible()&&!this.ignoreNextClick){this.showMenu()}this.fireEvent("arrowclick",this,b);if(this.arrowHandler){this.arrowHandler.call(this.scope||this,this,b)}}else{this.doToggle();this.fireEvent("click",this,b);if(this.handler){this.handler.call(this.scope||this,this,b)}}}},isMenuTriggerOver:function(a){return this.menu&&a.target.tagName==this.arrowSelector},isMenuTriggerOut:function(b,a){return this.menu&&b.target.tagName!=this.arrowSelector}});Ext.reg("splitbutton",Ext.SplitButton);Ext.CycleButton=Ext.extend(Ext.SplitButton,{getItemText:function(a){if(a&&this.showText===true){var b="";if(this.prependText){b+=this.prependText}b+=a.text;return b}return undefined},setActiveItem:function(c,a){if(!Ext.isObject(c)){c=this.menu.getComponent(c)}if(c){if(!this.rendered){this.text=this.getItemText(c);this.iconCls=c.iconCls}else{var b=this.getItemText(c);if(b){this.setText(b)}this.setIconClass(c.iconCls)}this.activeItem=c;if(!c.checked){c.setChecked(true,a)}if(this.forceIcon){this.setIconClass(this.forceIcon)}if(!a){this.fireEvent("change",this,c)}}},getActiveItem:function(){return this.activeItem},initComponent:function(){this.addEvents("change");if(this.changeHandler){this.on("change",this.changeHandler,this.scope||this);delete this.changeHandler}this.itemCount=this.items.length;this.menu={cls:"x-cycle-menu",items:[]};var a=0;Ext.each(this.items,function(c,b){Ext.apply(c,{group:c.group||this.id,itemIndex:b,checkHandler:this.checkHandler,scope:this,checked:c.checked||false});this.menu.items.push(c);if(c.checked){a=b}},this);Ext.CycleButton.superclass.initComponent.call(this);this.on("click",this.toggleSelected,this);this.setActiveItem(a,true)},checkHandler:function(a,b){if(b){this.setActiveItem(a)}},toggleSelected:function(){var a=this.menu;a.render();if(!a.hasLayout){a.doLayout()}var d,b;for(var c=1;c"){b=new a.Fill()}else{b=new a.TextItem(b)}}}this.applyDefaults(b)}else{if(b.isFormField||b.render){b=this.createComponent(b)}else{if(b.tag){b=new a.Item({autoEl:b})}else{if(b.tagName){b=new a.Item({el:b})}else{if(Ext.isObject(b)){b=b.xtype?this.createComponent(b):this.constructButton(b)}}}}}return b},applyDefaults:function(e){if(!Ext.isString(e)){e=Ext.Toolbar.superclass.applyDefaults.call(this,e);var b=this.internalDefaults;if(e.events){Ext.applyIf(e.initialConfig,b);Ext.apply(e,b)}else{Ext.applyIf(e,b)}}return e},addSeparator:function(){return this.add(new a.Separator())},addSpacer:function(){return this.add(new a.Spacer())},addFill:function(){this.add(new a.Fill())},addElement:function(b){return this.addItem(new a.Item({el:b}))},addItem:function(b){return this.add.apply(this,arguments)},addButton:function(c){if(Ext.isArray(c)){var e=[];for(var d=0,b=c.length;d");this.items.push(this.displayItem=new a.TextItem({}))}Ext.PagingToolbar.superclass.initComponent.call(this);this.addEvents("change","beforechange");this.on("afterlayout",this.onFirstLayout,this,{single:true});this.cursor=0;this.bindStore(this.store,true)},onFirstLayout:function(){if(this.dsLoaded){this.onLoad.apply(this,this.dsLoaded)}},updateInfo:function(){if(this.displayItem){var b=this.store.getCount();var c=b==0?this.emptyMsg:String.format(this.displayMsg,this.cursor+1,this.cursor+b,this.store.getTotalCount());this.displayItem.setText(c)}},onLoad:function(b,e,j){if(!this.rendered){this.dsLoaded=[b,e,j];return}var g=this.getParams();this.cursor=(j.params&&j.params[g.start])?j.params[g.start]:0;var i=this.getPageData(),c=i.activePage,h=i.pages;this.afterTextItem.setText(String.format(this.afterPageText,i.pages));this.inputItem.setValue(c);this.first.setDisabled(c==1);this.prev.setDisabled(c==1);this.next.setDisabled(c==h);this.last.setDisabled(c==h);this.refresh.enable();this.updateInfo();this.fireEvent("change",this,i)},getPageData:function(){var b=this.store.getTotalCount();return{total:b,activePage:Math.ceil((this.cursor+this.pageSize)/this.pageSize),pages:b=1&g<=j.pages){i.setValue(g)}}}}}},getParams:function(){return this.paramNames||this.store.paramNames},beforeLoad:function(){if(this.rendered&&this.refresh){this.refresh.disable()}},doLoad:function(d){var c={},b=this.getParams();c[b.start]=d;c[b.limit]=this.pageSize;if(this.fireEvent("beforechange",this,c)!==false){this.store.load({params:c})}},moveFirst:function(){this.doLoad(0)},movePrevious:function(){this.doLoad(Math.max(0,this.cursor-this.pageSize))},moveNext:function(){this.doLoad(this.cursor+this.pageSize)},moveLast:function(){var c=this.store.getTotalCount(),b=c%this.pageSize;this.doLoad(b?(c-b):c-this.pageSize)},doRefresh:function(){this.doLoad(this.cursor)},bindStore:function(c,d){var b;if(!d&&this.store){if(c!==this.store&&this.store.autoDestroy){this.store.destroy()}else{this.store.un("beforeload",this.beforeLoad,this);this.store.un("load",this.onLoad,this);this.store.un("exception",this.onLoadError,this)}if(!c){this.store=null}}if(c){c=Ext.StoreMgr.lookup(c);c.on({scope:this,beforeload:this.beforeLoad,load:this.onLoad,exception:this.onLoadError});b=true}this.store=c;if(b){this.onLoad(c,null,{})}},unbind:function(b){this.bindStore(null)},bind:function(b){this.bindStore(b)},onDestroy:function(){this.bindStore(null);Ext.PagingToolbar.superclass.onDestroy.call(this)}})})();Ext.reg("paging",Ext.PagingToolbar);Ext.History=(function(){var e,c;var k=false;var d;function g(){var l=location.href,m=l.indexOf("#"),n=m>=0?l.substr(m+1):null;if(Ext.isGecko){n=decodeURIComponent(n)}return n}function a(){c.value=d}function h(l){d=l;Ext.History.fireEvent("change",l)}function i(m){var l=['
    ',Ext.util.Format.htmlEncode(m),"
    "].join("");try{var o=e.contentWindow.document;o.open();o.write(l);o.close();return true}catch(n){return false}}function b(){if(!e.contentWindow||!e.contentWindow.document){setTimeout(b,10);return}var o=e.contentWindow.document;var m=o.getElementById("state");var l=m?m.innerText:null;var n=g();setInterval(function(){o=e.contentWindow.document;m=o.getElementById("state");var q=m?m.innerText:null;var p=g();if(q!==l){l=q;h(l);location.hash=l;n=l;a()}else{if(p!==n){n=p;i(p)}}},50);k=true;Ext.History.fireEvent("ready",Ext.History)}function j(){d=c.value?c.value:g();if(Ext.isIE){b()}else{var l=g();setInterval(function(){var m=g();if(m!==l){l=m;h(l);a()}},50);k=true;Ext.History.fireEvent("ready",Ext.History)}}return{fieldId:"x-history-field",iframeId:"x-history-frame",events:{},init:function(m,l){if(k){Ext.callback(m,l,[this]);return}if(!Ext.isReady){Ext.onReady(function(){Ext.History.init(m,l)});return}c=Ext.getDom(Ext.History.fieldId);if(Ext.isIE){e=Ext.getDom(Ext.History.iframeId)}this.addEvents("ready","change");if(m){this.on("ready",m,l,{single:true})}j()},add:function(l,m){if(m!==false){if(this.getToken()==l){return true}}if(Ext.isIE){return i(l)}else{location.hash=l;return true}},back:function(){history.go(-1)},forward:function(){history.go(1)},getToken:function(){return k?d:g()}}})();Ext.apply(Ext.History,new Ext.util.Observable());Ext.Tip=Ext.extend(Ext.Panel,{minWidth:40,maxWidth:300,shadow:"sides",defaultAlign:"tl-bl?",autoRender:true,quickShowInterval:250,frame:true,hidden:true,baseCls:"x-tip",floating:{shadow:true,shim:true,useDisplay:true,constrain:false},autoHeight:true,closeAction:"hide",initComponent:function(){Ext.Tip.superclass.initComponent.call(this);if(this.closable&&!this.title){this.elements+=",header"}},afterRender:function(){Ext.Tip.superclass.afterRender.call(this);if(this.closable){this.addTool({id:"close",handler:this[this.closeAction],scope:this})}},showAt:function(a){Ext.Tip.superclass.show.call(this);if(this.measureWidth!==false&&(!this.initialConfig||typeof this.initialConfig.width!="number")){this.doAutoWidth()}if(this.constrainPosition){a=this.el.adjustForConstraints(a)}this.setPagePosition(a[0],a[1])},doAutoWidth:function(a){a=a||0;var b=this.body.getTextWidth();if(this.title){b=Math.max(b,this.header.child("span").getTextWidth(this.title))}b+=this.getFrameWidth()+(this.closable?20:0)+this.body.getPadding("lr")+a;this.setWidth(b.constrain(this.minWidth,this.maxWidth));if(Ext.isIE7&&!this.repainted){this.el.repaint();this.repainted=true}},showBy:function(a,b){if(!this.rendered){this.render(Ext.getBody())}this.showAt(this.el.getAlignToXY(a,b||this.defaultAlign))},initDraggable:function(){this.dd=new Ext.Tip.DD(this,typeof this.draggable=="boolean"?null:this.draggable);this.header.addClass("x-tip-draggable")}});Ext.reg("tip",Ext.Tip);Ext.Tip.DD=function(b,a){Ext.apply(this,a);this.tip=b;Ext.Tip.DD.superclass.constructor.call(this,b.el.id,"WindowDD-"+b.id);this.setHandleElId(b.header.id);this.scroll=false};Ext.extend(Ext.Tip.DD,Ext.dd.DD,{moveOnly:true,scroll:false,headerOffsets:[100,25],startDrag:function(){this.tip.el.disableShadow()},endDrag:function(a){this.tip.el.enableShadow(true)}});Ext.ToolTip=Ext.extend(Ext.Tip,{showDelay:500,hideDelay:200,dismissDelay:5000,trackMouse:false,anchorToTarget:true,anchorOffset:0,targetCounter:0,constrainPosition:false,initComponent:function(){Ext.ToolTip.superclass.initComponent.call(this);this.lastActive=new Date();this.initTarget(this.target);this.origAnchor=this.anchor},onRender:function(b,a){Ext.ToolTip.superclass.onRender.call(this,b,a);this.anchorCls="x-tip-anchor-"+this.getAnchorPosition();this.anchorEl=this.el.createChild({cls:"x-tip-anchor "+this.anchorCls})},afterRender:function(){Ext.ToolTip.superclass.afterRender.call(this);this.anchorEl.setStyle("z-index",this.el.getZIndex()+1).setVisibilityMode(Ext.Element.DISPLAY)},initTarget:function(c){var a;if((a=Ext.get(c))){if(this.target){var b=Ext.get(this.target);this.mun(b,"mouseover",this.onTargetOver,this);this.mun(b,"mouseout",this.onTargetOut,this);this.mun(b,"mousemove",this.onMouseMove,this)}this.mon(a,{mouseover:this.onTargetOver,mouseout:this.onTargetOut,mousemove:this.onMouseMove,scope:this});this.target=a}if(this.anchor){this.anchorTarget=this.target}},onMouseMove:function(b){var a=this.delegate?b.getTarget(this.delegate):this.triggerElement=true;if(a){this.targetXY=b.getXY();if(a===this.triggerElement){if(!this.hidden&&this.trackMouse){this.setPagePosition(this.getTargetXY())}}else{this.hide();this.lastActive=new Date(0);this.onTargetOver(b)}}else{if(!this.closable&&this.isVisible()){this.hide()}}},getTargetXY:function(){if(this.delegate){this.anchorTarget=this.triggerElement}if(this.anchor){this.targetCounter++;var c=this.getOffsets(),l=(this.anchorToTarget&&!this.trackMouse)?this.el.getAlignToXY(this.anchorTarget,this.getAnchorAlign()):this.targetXY,a=Ext.lib.Dom.getViewWidth()-5,h=Ext.lib.Dom.getViewHeight()-5,i=document.documentElement,e=document.body,k=(i.scrollLeft||e.scrollLeft||0)+5,j=(i.scrollTop||e.scrollTop||0)+5,b=[l[0]+c[0],l[1]+c[1]],g=this.getSize();this.anchorEl.removeClass(this.anchorCls);if(this.targetCounter<2){if(b[0]a){if(this.anchorToTarget){this.defaultAlign="r-l";if(this.mouseOffset){this.mouseOffset[0]*=-1}}this.anchor="right";return this.getTargetXY()}if(b[1]h){if(this.anchorToTarget){this.defaultAlign="b-t";if(this.mouseOffset){this.mouseOffset[1]*=-1}}this.anchor="bottom";return this.getTargetXY()}}this.anchorCls="x-tip-anchor-"+this.getAnchorPosition();this.anchorEl.addClass(this.anchorCls);this.targetCounter=0;return b}else{var d=this.getMouseOffset();return[this.targetXY[0]+d[0],this.targetXY[1]+d[1]]}},getMouseOffset:function(){var a=this.anchor?[0,0]:[15,18];if(this.mouseOffset){a[0]+=this.mouseOffset[0];a[1]+=this.mouseOffset[1]}return a},getAnchorPosition:function(){if(this.anchor){this.tipAnchor=this.anchor.charAt(0)}else{var a=this.defaultAlign.match(/^([a-z]+)-([a-z]+)(\?)?$/);if(!a){throw"AnchorTip.defaultAlign is invalid"}this.tipAnchor=a[1].charAt(0)}switch(this.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 b,a=this.getAnchorPosition().charAt(0);if(this.anchorToTarget&&!this.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-this.anchorOffset,30];break;case"b":b=[-19-this.anchorOffset,-13-this.el.dom.offsetHeight];break;case"r":b=[-15-this.el.dom.offsetWidth,-13-this.anchorOffset];break;default:b=[25,-13-this.anchorOffset];break}}var c=this.getMouseOffset();b[0]+=c[0];b[1]+=c[1];return b},onTargetOver:function(b){if(this.disabled||b.within(this.target.dom,true)){return}var a=b.getTarget(this.delegate);if(a){this.triggerElement=a;this.clearTimer("hide");this.targetXY=b.getXY();this.delayShow()}},delayShow:function(){if(this.hidden&&!this.showTimer){if(this.lastActive.getElapsed()=c){d=c-b-5}}return{x:a,y:d}},beforeDestroy:function(){this.clearTimers();Ext.destroy(this.anchorEl);delete this.anchorEl;delete this.target;delete this.anchorTarget;delete this.triggerElement;Ext.ToolTip.superclass.beforeDestroy.call(this)},onDestroy:function(){Ext.getDoc().un("mousedown",this.onDocMouseDown,this);Ext.ToolTip.superclass.onDestroy.call(this)}});Ext.reg("tooltip",Ext.ToolTip);Ext.QuickTip=Ext.extend(Ext.ToolTip,{interceptTitles:false,tagConfig:{namespace:"ext",attribute:"qtip",width:"qwidth",target:"target",title:"qtitle",hide:"hide",cls:"qclass",align:"qalign",anchor:"anchor"},initComponent:function(){this.target=this.target||Ext.getDoc();this.targets=this.targets||{};Ext.QuickTip.superclass.initComponent.call(this)},register:function(e){var h=Ext.isArray(e)?e:arguments;for(var g=0,a=h.length;g1){var d=function(i,h){if(i&&h){var j=h.findChild(a,b);if(j){j.select();if(g){g(true,j)}}else{if(g){g(false,j)}}}else{if(g){g(false,j)}}};this.expandPath(c.join(this.pathSeparator),a,d)}else{this.root.select();if(g){g(true,this.root)}}},getTreeEl:function(){return this.body},onRender:function(b,a){Ext.tree.TreePanel.superclass.onRender.call(this,b,a);this.el.addClass("x-tree");this.innerCt=this.body.createChild({tag:"ul",cls:"x-tree-root-ct "+(this.useArrows?"x-tree-arrows":this.lines?"x-tree-lines":"x-tree-no-lines")})},initEvents:function(){Ext.tree.TreePanel.superclass.initEvents.call(this);if(this.containerScroll){Ext.dd.ScrollManager.register(this.body)}if((this.enableDD||this.enableDrop)&&!this.dropZone){this.dropZone=new Ext.tree.TreeDropZone(this,this.dropConfig||{ddGroup:this.ddGroup||"TreeDD",appendOnly:this.ddAppendOnly===true})}if((this.enableDD||this.enableDrag)&&!this.dragZone){this.dragZone=new Ext.tree.TreeDragZone(this,this.dragConfig||{ddGroup:this.ddGroup||"TreeDD",scroll:this.ddScroll})}this.getSelectionModel().init(this)},afterRender:function(){Ext.tree.TreePanel.superclass.afterRender.call(this);this.renderRoot()},beforeDestroy:function(){if(this.rendered){Ext.dd.ScrollManager.unregister(this.body);Ext.destroy(this.dropZone,this.dragZone)}this.destroyRoot();Ext.destroy(this.loader);this.nodeHash=this.root=this.loader=null;Ext.tree.TreePanel.superclass.beforeDestroy.call(this)},destroyRoot:function(){if(this.root&&this.root.destroy){this.root.destroy(true)}}});Ext.tree.TreePanel.nodeTypes={};Ext.reg("treepanel",Ext.tree.TreePanel);Ext.tree.TreeEventModel=function(a){this.tree=a;this.tree.on("render",this.initEvents,this)};Ext.tree.TreeEventModel.prototype={initEvents:function(){var a=this.tree;if(a.trackMouseOver!==false){a.mon(a.innerCt,{scope:this,mouseover:this.delegateOver,mouseout:this.delegateOut})}a.mon(a.getTreeEl(),{scope:this,click:this.delegateClick,dblclick:this.delegateDblClick,contextmenu:this.delegateContextMenu})},getNode:function(b){var a;if(a=b.getTarget(".x-tree-node-el",10)){var c=Ext.fly(a,"_treeEvents").getAttribute("tree-node-id","ext");if(c){return this.tree.getNodeById(c)}}return null},getNodeTarget:function(b){var a=b.getTarget(".x-tree-node-icon",1);if(!a){a=b.getTarget(".x-tree-node-el",6)}return a},delegateOut:function(b,a){if(!this.beforeEvent(b)){return}if(b.getTarget(".x-tree-ec-icon",1)){var c=this.getNode(b);this.onIconOut(b,c);if(c==this.lastEcOver){delete this.lastEcOver}}if((a=this.getNodeTarget(b))&&!b.within(a,true)){this.onNodeOut(b,this.getNode(b))}},delegateOver:function(b,a){if(!this.beforeEvent(b)){return}if(Ext.isGecko&&!this.trackingDoc){Ext.getBody().on("mouseover",this.trackExit,this);this.trackingDoc=true}if(this.lastEcOver){this.onIconOut(b,this.lastEcOver);delete this.lastEcOver}if(b.getTarget(".x-tree-ec-icon",1)){this.lastEcOver=this.getNode(b);this.onIconOver(b,this.lastEcOver)}if(a=this.getNodeTarget(b)){this.onNodeOver(b,this.getNode(b))}},trackExit:function(a){if(this.lastOverNode){if(this.lastOverNode.ui&&!a.within(this.lastOverNode.ui.getEl())){this.onNodeOut(a,this.lastOverNode)}delete this.lastOverNode;Ext.getBody().un("mouseover",this.trackExit,this);this.trackingDoc=false}},delegateClick:function(b,a){if(this.beforeEvent(b)){if(b.getTarget("input[type=checkbox]",1)){this.onCheckboxClick(b,this.getNode(b))}else{if(b.getTarget(".x-tree-ec-icon",1)){this.onIconClick(b,this.getNode(b))}else{if(this.getNodeTarget(b)){this.onNodeClick(b,this.getNode(b))}}}}else{this.checkContainerEvent(b,"click")}},delegateDblClick:function(b,a){if(this.beforeEvent(b)){if(this.getNodeTarget(b)){this.onNodeDblClick(b,this.getNode(b))}}else{this.checkContainerEvent(b,"dblclick")}},delegateContextMenu:function(b,a){if(this.beforeEvent(b)){if(this.getNodeTarget(b)){this.onNodeContextMenu(b,this.getNode(b))}}else{this.checkContainerEvent(b,"contextmenu")}},checkContainerEvent:function(b,a){if(this.disabled){b.stopEvent();return false}this.onContainerEvent(b,a)},onContainerEvent:function(b,a){this.tree.fireEvent("container"+a,this.tree,b)},onNodeClick:function(b,a){a.ui.onClick(b)},onNodeOver:function(b,a){this.lastOverNode=a;a.ui.onOver(b)},onNodeOut:function(b,a){a.ui.onOut(b)},onIconOver:function(b,a){a.ui.addClass("x-tree-ec-over")},onIconOut:function(b,a){a.ui.removeClass("x-tree-ec-over")},onIconClick:function(b,a){a.ui.ecClick(b)},onCheckboxClick:function(b,a){a.ui.onCheckChange(b)},onNodeDblClick:function(b,a){a.ui.onDblClick(b)},onNodeContextMenu:function(b,a){a.ui.onContextMenu(b)},beforeEvent:function(b){var a=this.getNode(b);if(this.disabled||!a||!a.ui){b.stopEvent();return false}return true},disable:function(){this.disabled=true},enable:function(){this.disabled=false}};Ext.tree.DefaultSelectionModel=Ext.extend(Ext.util.Observable,{constructor:function(a){this.selNode=null;this.addEvents("selectionchange","beforeselect");Ext.apply(this,a);Ext.tree.DefaultSelectionModel.superclass.constructor.call(this)},init:function(a){this.tree=a;a.mon(a.getTreeEl(),"keydown",this.onKeyDown,this);a.on("click",this.onNodeClick,this)},onNodeClick:function(a,b){this.select(a)},select:function(c,a){if(!Ext.fly(c.ui.wrap).isVisible()&&a){return a.call(this,c)}var b=this.selNode;if(c==b){c.ui.onSelectedChange(true)}else{if(this.fireEvent("beforeselect",this,c,b)!==false){if(b&&b.ui){b.ui.onSelectedChange(false)}this.selNode=c;c.ui.onSelectedChange(true);this.fireEvent("selectionchange",this,c,b)}}return c},unselect:function(b,a){if(this.selNode==b){this.clearSelections(a)}},clearSelections:function(a){var b=this.selNode;if(b){b.ui.onSelectedChange(false);this.selNode=null;if(a!==true){this.fireEvent("selectionchange",this,null)}}return b},getSelectedNode:function(){return this.selNode},isSelected:function(a){return this.selNode==a},selectPrevious:function(a){if(!(a=a||this.selNode||this.lastSelNode)){return null}var c=a.previousSibling;if(c){if(!c.isExpanded()||c.childNodes.length<1){return this.select(c,this.selectPrevious)}else{var b=c.lastChild;while(b&&b.isExpanded()&&Ext.fly(b.ui.wrap).isVisible()&&b.childNodes.length>0){b=b.lastChild}return this.select(b,this.selectPrevious)}}else{if(a.parentNode&&(this.tree.rootVisible||!a.parentNode.isRoot)){return this.select(a.parentNode,this.selectPrevious)}}return null},selectNext:function(b){if(!(b=b||this.selNode||this.lastSelNode)){return null}if(b.firstChild&&b.isExpanded()&&Ext.fly(b.ui.wrap).isVisible()){return this.select(b.firstChild,this.selectNext)}else{if(b.nextSibling){return this.select(b.nextSibling,this.selectNext)}else{if(b.parentNode){var a=null;b.parentNode.bubble(function(){if(this.nextSibling){a=this.getOwnerTree().selModel.select(this.nextSibling,this.selectNext);return false}});return a}}}return null},onKeyDown:function(c){var b=this.selNode||this.lastSelNode;var d=this;if(!b){return}var a=c.getKey();switch(a){case c.DOWN:c.stopEvent();this.selectNext();break;case c.UP:c.stopEvent();this.selectPrevious();break;case c.RIGHT:c.preventDefault();if(b.hasChildNodes()){if(!b.isExpanded()){b.expand()}else{if(b.firstChild){this.select(b.firstChild,c)}}}break;case c.LEFT:c.preventDefault();if(b.hasChildNodes()&&b.isExpanded()){b.collapse()}else{if(b.parentNode&&(this.tree.rootVisible||b.parentNode!=this.tree.getRootNode())){this.select(b.parentNode,c)}}break}}});Ext.tree.MultiSelectionModel=Ext.extend(Ext.util.Observable,{constructor:function(a){this.selNodes=[];this.selMap={};this.addEvents("selectionchange");Ext.apply(this,a);Ext.tree.MultiSelectionModel.superclass.constructor.call(this)},init:function(a){this.tree=a;a.mon(a.getTreeEl(),"keydown",this.onKeyDown,this);a.on("click",this.onNodeClick,this)},onNodeClick:function(a,b){if(b.ctrlKey&&this.isSelected(a)){this.unselect(a)}else{this.select(a,b,b.ctrlKey)}},select:function(a,c,b){if(b!==true){this.clearSelections(true)}if(this.isSelected(a)){this.lastSelNode=a;return a}this.selNodes.push(a);this.selMap[a.id]=a;this.lastSelNode=a;a.ui.onSelectedChange(true);this.fireEvent("selectionchange",this,this.selNodes);return a},unselect:function(b){if(this.selMap[b.id]){b.ui.onSelectedChange(false);var c=this.selNodes;var a=c.indexOf(b);if(a!=-1){this.selNodes.splice(a,1)}delete this.selMap[b.id];this.fireEvent("selectionchange",this,this.selNodes)}},clearSelections:function(b){var d=this.selNodes;if(d.length>0){for(var c=0,a=d.length;c0},isExpandable:function(){return this.attributes.expandable||this.hasChildNodes()},appendChild:function(e){var g=false;if(Ext.isArray(e)){g=e}else{if(arguments.length>1){g=arguments}}if(g){for(var d=0,a=g.length;d0){var g=d?function(){e.apply(d,arguments)}:e;c.sort(g);for(var b=0;b
    ','',this.indentMarkup,"",'','',g?('':"/>")):"",'',e.text,"
    ",'',""].join("");if(l!==true&&e.nextSibling&&(b=e.nextSibling.ui.getEl())){this.wrap=Ext.DomHelper.insertHtml("beforeBegin",b,d)}else{this.wrap=Ext.DomHelper.insertHtml("beforeEnd",j,d)}this.elNode=this.wrap.childNodes[0];this.ctNode=this.wrap.childNodes[1];var i=this.elNode.childNodes;this.indentNode=i[0];this.ecNode=i[1];this.iconNode=i[2];var h=3;if(g){this.checkbox=i[3];this.checkbox.defaultChecked=this.checkbox.checked;h++}this.anchor=i[h];this.textNode=i[h].firstChild},getHref:function(a){return Ext.isEmpty(a)?(Ext.isGecko?"":"#"):a},getAnchor:function(){return this.anchor},getTextEl:function(){return this.textNode},getIconEl:function(){return this.iconNode},isChecked:function(){return this.checkbox?this.checkbox.checked:false},updateExpandIcon:function(){if(this.rendered){var g=this.node,d,c,a=g.isLast()?"x-tree-elbow-end":"x-tree-elbow",e=g.hasChildNodes();if(e||g.attributes.expandable){if(g.expanded){a+="-minus";d="x-tree-node-collapsed";c="x-tree-node-expanded"}else{a+="-plus";d="x-tree-node-expanded";c="x-tree-node-collapsed"}if(this.wasLeaf){this.removeClass("x-tree-node-leaf");this.wasLeaf=false}if(this.c1!=d||this.c2!=c){Ext.fly(this.elNode).replaceClass(d,c);this.c1=d;this.c2=c}}else{if(!this.wasLeaf){Ext.fly(this.elNode).replaceClass("x-tree-node-expanded","x-tree-node-collapsed");delete this.c1;delete this.c2;this.wasLeaf=true}}var b="x-tree-ec-icon "+a;if(this.ecc!=b){this.ecNode.className=b;this.ecc=b}}},onIdChange:function(a){if(this.rendered){this.elNode.setAttribute("ext:tree-node-id",a)}},getChildIndent:function(){if(!this.childIndent){var a=[],b=this.node;while(b){if(!b.isRoot||(b.isRoot&&b.ownerTree.rootVisible)){if(!b.isLast()){a.unshift('')}else{a.unshift('')}}b=b.parentNode}this.childIndent=a.join("")}return this.childIndent},renderIndent:function(){if(this.rendered){var a="",b=this.node.parentNode;if(b){a=b.ui.getChildIndent()}if(this.indentMarkup!=a){this.indentNode.innerHTML=a;this.indentMarkup=a}this.updateExpandIcon()}},destroy:function(){if(this.elNode){Ext.dd.Registry.unregister(this.elNode.id)}Ext.each(["textnode","anchor","checkbox","indentNode","ecNode","iconNode","elNode","ctNode","wrap","holder"],function(a){if(this[a]){Ext.fly(this[a]).remove();delete this[a]}},this);delete this.node}});Ext.tree.RootTreeNodeUI=Ext.extend(Ext.tree.TreeNodeUI,{render:function(){if(!this.rendered){var a=this.node.ownerTree.innerCt.dom;this.node.expanded=true;a.innerHTML='
    ';this.wrap=this.ctNode=a.firstChild}},collapse:Ext.emptyFn,expand:Ext.emptyFn});Ext.tree.TreeLoader=function(a){this.baseParams={};Ext.apply(this,a);this.addEvents("beforeload","load","loadexception");Ext.tree.TreeLoader.superclass.constructor.call(this);if(Ext.isString(this.paramOrder)){this.paramOrder=this.paramOrder.split(/[\s,|]/)}};Ext.extend(Ext.tree.TreeLoader,Ext.util.Observable,{uiProviders:{},clearOnLoad:true,paramOrder:undefined,paramsAsHash:false,nodeParameter:"node",directFn:undefined,load:function(b,c,a){if(this.clearOnLoad){while(b.firstChild){b.removeChild(b.firstChild)}}if(this.doPreload(b)){this.runCallback(c,a||b,[b])}else{if(this.directFn||this.dataUrl||this.url){this.requestData(b,c,a||b)}}},doPreload:function(d){if(d.attributes.children){if(d.childNodes.length<1){var c=d.attributes.children;d.beginUpdate();for(var b=0,a=c.length;b-1){c=[]}for(var d=0,a=b.length;dp){return e?-1:1}}return 0}},doSort:function(a){a.sort(this.sortFn)},updateSort:function(a,b){if(b.childrenRendered){this.doSort.defer(1,this,[b])}},updateSortParent:function(a){var b=a.parentNode;if(b&&b.childrenRendered){this.doSort.defer(1,this,[b])}}});if(Ext.dd.DropZone){Ext.tree.TreeDropZone=function(a,b){this.allowParentInsert=b.allowParentInsert||false;this.allowContainerDrop=b.allowContainerDrop||false;this.appendOnly=b.appendOnly||false;Ext.tree.TreeDropZone.superclass.constructor.call(this,a.getTreeEl(),b);this.tree=a;this.dragOverData={};this.lastInsertClass="x-tree-no-status"};Ext.extend(Ext.tree.TreeDropZone,Ext.dd.DropZone,{ddGroup:"TreeDD",expandDelay:1000,expandNode:function(a){if(a.hasChildNodes()&&!a.isExpanded()){a.expand(false,null,this.triggerCacheRefresh.createDelegate(this))}},queueExpand:function(a){this.expandProcId=this.expandNode.defer(this.expandDelay,this,[a])},cancelExpand:function(){if(this.expandProcId){clearTimeout(this.expandProcId);this.expandProcId=false}},isValidDropPoint:function(a,k,i,d,c){if(!a||!c){return false}var g=a.node;var h=c.node;if(!(g&&g.isTarget&&k)){return false}if(k=="append"&&g.allowChildren===false){return false}if((k=="above"||k=="below")&&(g.parentNode&&g.parentNode.allowChildren===false)){return false}if(h&&(g==h||h.contains(g))){return false}var b=this.dragOverData;b.tree=this.tree;b.target=g;b.data=c;b.point=k;b.source=i;b.rawEvent=d;b.dropNode=h;b.cancel=false;var j=this.tree.fireEvent("nodedragover",b);return b.cancel===false&&j!==false},getDropPoint:function(h,g,l){var m=g.node;if(m.isRoot){return m.allowChildren!==false?"append":false}var c=g.ddel;var o=Ext.lib.Dom.getY(c),j=o+c.offsetHeight;var i=Ext.lib.Event.getPageY(h);var k=m.allowChildren===false||m.isLeaf();if(this.appendOnly||m.parentNode.allowChildren===false){return k?false:"append"}var d=false;if(!this.allowParentInsert){d=m.hasChildNodes()&&m.isExpanded()}var a=(j-o)/(k?2:3);if(i>=o&&i<(o+a)){return"above"}else{if(!d&&(k||i>=j-a&&i<=j)){return"below"}else{return"append"}}},onNodeEnter:function(d,a,c,b){this.cancelExpand()},onContainerOver:function(a,c,b){if(this.allowContainerDrop&&this.isValidDropPoint({ddel:this.tree.getRootNode().ui.elNode,node:this.tree.getRootNode()},"append",a,c,b)){return this.dropAllowed}return this.dropNotAllowed},onNodeOver:function(b,i,h,g){var k=this.getDropPoint(h,b,i);var c=b.node;if(!this.expandProcId&&k=="append"&&c.hasChildNodes()&&!b.node.isExpanded()){this.queueExpand(c)}else{if(k!="append"){this.cancelExpand()}}var d=this.dropNotAllowed;if(this.isValidDropPoint(b,k,i,h,g)){if(k){var a=b.ddel;var j;if(k=="above"){d=b.node.isFirst()?"x-tree-drop-ok-above":"x-tree-drop-ok-between";j="x-tree-drag-insert-above"}else{if(k=="below"){d=b.node.isLast()?"x-tree-drop-ok-below":"x-tree-drop-ok-between";j="x-tree-drag-insert-below"}else{d="x-tree-drop-ok-append";j="x-tree-drag-append"}}if(this.lastInsertClass!=j){Ext.fly(a).replaceClass(this.lastInsertClass,j);this.lastInsertClass=j}}}return d},onNodeOut:function(d,a,c,b){this.cancelExpand();this.removeDropIndicators(d)},onNodeDrop:function(i,b,h,d){var a=this.getDropPoint(h,i,b);var g=i.node;g.ui.startDrop();if(!this.isValidDropPoint(i,a,b,h,d)){g.ui.endDrop();return false}var c=d.node||(b.getTreeNode?b.getTreeNode(d,g,a,h):null);return this.processDrop(g,d,a,b,h,c)},onContainerDrop:function(a,g,c){if(this.allowContainerDrop&&this.isValidDropPoint({ddel:this.tree.getRootNode().ui.elNode,node:this.tree.getRootNode()},"append",a,g,c)){var d=this.tree.getRootNode();d.ui.startDrop();var b=c.node||(a.getTreeNode?a.getTreeNode(c,d,"append",g):null);return this.processDrop(d,c,"append",a,g,b)}return false},processDrop:function(j,h,b,a,i,d){var g={tree:this.tree,target:j,data:h,point:b,source:a,rawEvent:i,dropNode:d,cancel:!d,dropStatus:false};var c=this.tree.fireEvent("beforenodedrop",g);if(c===false||g.cancel===true||!g.dropNode){j.ui.endDrop();return g.dropStatus}j=g.target;if(b=="append"&&!j.isExpanded()){j.expand(false,null,function(){this.completeDrop(g)}.createDelegate(this))}else{this.completeDrop(g)}return true},completeDrop:function(h){var d=h.dropNode,e=h.point,c=h.target;if(!Ext.isArray(d)){d=[d]}var g;for(var b=0,a=d.length;bd.offsetLeft){e.scrollLeft=d.offsetLeft}var a=Math.min(this.maxWidth,(e.clientWidth>20?e.clientWidth:e.offsetWidth)-Math.max(0,d.offsetLeft-e.scrollLeft)-5);this.setSize(a,"")},triggerEdit:function(a,c){this.completeEdit();if(a.attributes.editable!==false){this.editNode=a;if(this.tree.autoScroll){Ext.fly(a.ui.getEl()).scrollIntoView(this.tree.body)}var b=a.text||"";if(!Ext.isGecko&&Ext.isEmpty(a.text)){a.setText(" ")}this.autoEditTimer=this.startEdit.defer(this.editDelay,this,[a.ui.textNode,b]);return false}},bindScroll:function(){this.tree.getTreeEl().on("scroll",this.cancelEdit,this)},beforeNodeClick:function(a,b){clearTimeout(this.autoEditTimer);if(this.tree.getSelectionModel().isSelected(a)){b.stopEvent();return this.triggerEdit(a)}},onNodeDblClick:function(a,b){clearTimeout(this.autoEditTimer)},updateNode:function(a,b){this.tree.getTreeEl().un("scroll",this.cancelEdit,this);this.editNode.setText(b)},onHide:function(){Ext.tree.TreeEditor.superclass.onHide.call(this);if(this.editNode){this.editNode.ui.focus.defer(50,this.editNode.ui)}},onSpecialKey:function(c,b){var a=b.getKey();if(a==b.ESC){b.stopEvent();this.cancelEdit()}else{if(a==b.ENTER&&!b.hasModifier()){b.stopEvent();this.completeEdit()}}},onDestroy:function(){clearTimeout(this.autoEditTimer);Ext.tree.TreeEditor.superclass.onDestroy.call(this);var a=this.tree;a.un("beforeclick",this.beforeNodeClick,this);a.un("dblclick",this.onNodeDblClick,this)}}); -/* SWFObject v2.2 - is released under the MIT License -*/ -var swfobject=function(){var E="undefined",s="object",T="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",r="application/x-shockwave-flash",S="SWFObjectExprInst",y="onreadystatechange",P=window,k=document,u=navigator,U=false,V=[i],p=[],O=[],J=[],m,R,F,C,K=false,a=false,o,H,n=true,N=function(){var ab=typeof k.getElementById!=E&&typeof k.getElementsByTagName!=E&&typeof k.createElement!=E,ai=u.userAgent.toLowerCase(),Z=u.platform.toLowerCase(),af=Z?(/win/).test(Z):/win/.test(ai),ad=Z?(/mac/).test(Z):/mac/.test(ai),ag=/webkit/.test(ai)?parseFloat(ai.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,Y=!+"\v1",ah=[0,0,0],ac=null;if(typeof u.plugins!=E&&typeof u.plugins[T]==s){ac=u.plugins[T].description;if(ac&&!(typeof u.mimeTypes!=E&&u.mimeTypes[r]&&!u.mimeTypes[r].enabledPlugin)){U=true;Y=false;ac=ac.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ah[0]=parseInt(ac.replace(/^(.*)\..*$/,"$1"),10);ah[1]=parseInt(ac.replace(/^.*\.(.*)\s.*$/,"$1"),10);ah[2]=/[a-zA-Z]/.test(ac)?parseInt(ac.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof P.ActiveXObject!=E){try{var ae=new ActiveXObject(X);if(ae){ac=ae.GetVariable("$version");if(ac){Y=true;ac=ac.split(" ")[1].split(",");ah=[parseInt(ac[0],10),parseInt(ac[1],10),parseInt(ac[2],10)]}}}catch(aa){}}}return{w3:ab,pv:ah,wk:ag,ie:Y,win:af,mac:ad}}(),l=function(){if(!N.w3){return}if((typeof k.readyState!=E&&k.readyState=="complete")||(typeof k.readyState==E&&(k.getElementsByTagName("body")[0]||k.body))){g()}if(!K){if(typeof k.addEventListener!=E){k.addEventListener("DOMContentLoaded",g,false)}if(N.ie&&N.win){k.attachEvent(y,function(){if(k.readyState=="complete"){k.detachEvent(y,arguments.callee);g()}});if(P==top){(function(){if(K){return}try{k.documentElement.doScroll("left")}catch(Y){setTimeout(arguments.callee,0);return}g()})()}}if(N.wk){(function(){if(K){return}if(!(/loaded|complete/).test(k.readyState)){setTimeout(arguments.callee,0);return}g()})()}t(g)}}();function g(){if(K){return}try{var aa=k.getElementsByTagName("body")[0].appendChild(D("span"));aa.parentNode.removeChild(aa)}catch(ab){return}K=true;var Y=V.length;for(var Z=0;Z0){for(var ag=0;ag0){var af=c(Z);if(af){if(G(p[ag].swfVersion)&&!(N.wk&&N.wk<312)){x(Z,true);if(ac){ab.success=true;ab.ref=A(Z);ac(ab)}}else{if(p[ag].expressInstall&&B()){var aj={};aj.data=p[ag].expressInstall;aj.width=af.getAttribute("width")||"0";aj.height=af.getAttribute("height")||"0";if(af.getAttribute("class")){aj.styleclass=af.getAttribute("class")}if(af.getAttribute("align")){aj.align=af.getAttribute("align")}var ai={};var Y=af.getElementsByTagName("param");var ad=Y.length;for(var ae=0;ae'}}ab.outerHTML='"+ag+"";O[O.length]=aj.id;Y=c(aj.id)}else{var aa=D(s);aa.setAttribute("type",r);for(var ad in aj){if(aj[ad]!=Object.prototype[ad]){if(ad.toLowerCase()=="styleclass"){aa.setAttribute("class",aj[ad])}else{if(ad.toLowerCase()!="classid"){aa.setAttribute(ad,aj[ad])}}}}for(var ac in ah){if(ah[ac]!=Object.prototype[ac]&&ac.toLowerCase()!="movie"){e(aa,ac,ah[ac])}}ab.parentNode.replaceChild(aa,ab);Y=aa}}return Y}function e(aa,Y,Z){var ab=D("param");ab.setAttribute("name",Y);ab.setAttribute("value",Z);aa.appendChild(ab)}function z(Z){var Y=c(Z);if(Y&&Y.nodeName=="OBJECT"){if(N.ie&&N.win){Y.style.display="none";(function(){if(Y.readyState==4){b(Z)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.removeChild(Y)}}}function b(aa){var Z=c(aa);if(Z){for(var Y in Z){if(typeof Z[Y]=="function"){Z[Y]=null}}Z.parentNode.removeChild(Z)}}function c(aa){var Y=null;try{Y=k.getElementById(aa)}catch(Z){}return Y}function D(Y){return k.createElement(Y)}function j(aa,Y,Z){aa.attachEvent(Y,Z);J[J.length]=[aa,Y,Z]}function G(aa){var Z=N.pv,Y=aa.split(".");Y[0]=parseInt(Y[0],10);Y[1]=parseInt(Y[1],10)||0;Y[2]=parseInt(Y[2],10)||0;return(Z[0]>Y[0]||(Z[0]==Y[0]&&Z[1]>Y[1])||(Z[0]==Y[0]&&Z[1]==Y[1]&&Z[2]>=Y[2]))?true:false}function w(ad,Z,ae,ac){if(N.ie&&N.mac){return}var ab=k.getElementsByTagName("head")[0];if(!ab){return}var Y=(ae&&typeof ae=="string")?ae:"screen";if(ac){o=null;H=null}if(!o||H!=Y){var aa=D("style");aa.setAttribute("type","text/css");aa.setAttribute("media",Y);o=ab.appendChild(aa);if(N.ie&&N.win&&typeof k.styleSheets!=E&&k.styleSheets.length>0){o=k.styleSheets[k.styleSheets.length-1]}H=Y}if(N.ie&&N.win){if(o&&typeof o.addRule==s){o.addRule(ad,Z)}}else{if(o&&typeof k.createTextNode!=E){o.appendChild(k.createTextNode(ad+" {"+Z+"}"))}}}function x(aa,Y){if(!n){return}var Z=Y?"visible":"hidden";if(K&&c(aa)){c(aa).style.visibility=Z}else{w("#"+aa,"visibility:"+Z)}}function M(Z){var aa=/[\\\"<>\.;]/;var Y=aa.exec(Z)!=null;return Y&&typeof encodeURIComponent!=E?encodeURIComponent(Z):Z}var d=function(){if(N.ie&&N.win){window.attachEvent("onunload",function(){var ad=J.length;for(var ac=0;ac0){for(h=0;h-1&&e.position=="left"){e.position="bottom"}return e},onDestroy:function(){Ext.chart.CartesianChart.superclass.onDestroy.call(this);Ext.each(this.labelFn,function(a){this.removeFnProxy(a)},this)}});Ext.reg("cartesianchart",Ext.chart.CartesianChart);Ext.chart.LineChart=Ext.extend(Ext.chart.CartesianChart,{type:"line"});Ext.reg("linechart",Ext.chart.LineChart);Ext.chart.ColumnChart=Ext.extend(Ext.chart.CartesianChart,{type:"column"});Ext.reg("columnchart",Ext.chart.ColumnChart);Ext.chart.StackedColumnChart=Ext.extend(Ext.chart.CartesianChart,{type:"stackcolumn"});Ext.reg("stackedcolumnchart",Ext.chart.StackedColumnChart);Ext.chart.BarChart=Ext.extend(Ext.chart.CartesianChart,{type:"bar"});Ext.reg("barchart",Ext.chart.BarChart);Ext.chart.StackedBarChart=Ext.extend(Ext.chart.CartesianChart,{type:"stackbar"});Ext.reg("stackedbarchart",Ext.chart.StackedBarChart);Ext.chart.Axis=function(a){Ext.apply(this,a)};Ext.chart.Axis.prototype={type:null,orientation:"horizontal",reverse:false,labelFunction:null,hideOverlappingLabels:true,labelSpacing:2};Ext.chart.NumericAxis=Ext.extend(Ext.chart.Axis,{type:"numeric",minimum:NaN,maximum:NaN,majorUnit:NaN,minorUnit:NaN,snapToUnits:true,alwaysShowZero:true,scale:"linear",roundMajorUnit:true,calculateByLabelSize:true,position:"left",adjustMaximumByMajorUnit:true,adjustMinimumByMajorUnit:true});Ext.chart.TimeAxis=Ext.extend(Ext.chart.Axis,{type:"time",minimum:null,maximum:null,majorUnit:NaN,majorTimeUnit:null,minorUnit:NaN,minorTimeUnit:null,snapToUnits:true,stackingEnabled:false,calculateByLabelSize:true});Ext.chart.CategoryAxis=Ext.extend(Ext.chart.Axis,{type:"category",categoryNames:null,calculateCategoryCount:false});Ext.chart.Series=function(a){Ext.apply(this,a)};Ext.chart.Series.prototype={type:null,displayName:null};Ext.chart.CartesianSeries=Ext.extend(Ext.chart.Series,{xField:null,yField:null,showInLegend:true,axis:"primary"});Ext.chart.ColumnSeries=Ext.extend(Ext.chart.CartesianSeries,{type:"column"});Ext.chart.LineSeries=Ext.extend(Ext.chart.CartesianSeries,{type:"line"});Ext.chart.BarSeries=Ext.extend(Ext.chart.CartesianSeries,{type:"bar"});Ext.chart.PieSeries=Ext.extend(Ext.chart.Series,{type:"pie",dataField:null,categoryField:null});Ext.menu.Menu=Ext.extend(Ext.Container,{minWidth:120,shadow:"sides",subMenuAlign:"tl-tr?",defaultAlign:"tl-bl?",allowOtherMenus:false,ignoreParentClicks:false,enableScrolling:true,maxHeight:null,scrollIncrement:24,showSeparator:true,defaultOffsets:[0,0],plain:false,floating:true,zIndex:15000,hidden:true,layout:"menu",hideMode:"offsets",scrollerHeight:8,autoLayout:true,defaultType:"menuitem",bufferResize:false,initComponent:function(){if(Ext.isArray(this.initialConfig)){Ext.apply(this,{items:this.initialConfig})}this.addEvents("click","mouseover","mouseout","itemclick");Ext.menu.MenuMgr.register(this);if(this.floating){Ext.EventManager.onWindowResize(this.hide,this)}else{if(this.initialConfig.hidden!==false){this.hidden=false}this.internalDefaults={hideOnClick:false}}Ext.menu.Menu.superclass.initComponent.call(this);if(this.autoLayout){var a=this.doLayout.createDelegate(this,[]);this.on({add:a,remove:a})}},getLayoutTarget:function(){return this.ul},onRender:function(b,a){if(!b){b=Ext.getBody()}var c={id:this.getId(),cls:"x-menu "+((this.floating)?"x-menu-floating x-layer ":"")+(this.cls||"")+(this.plain?" x-menu-plain":"")+(this.showSeparator?"":" x-menu-nosep"),style:this.style,cn:[{tag:"a",cls:"x-menu-focus",href:"#",onclick:"return false;",tabIndex:"-1"},{tag:"ul",cls:"x-menu-list"}]};if(this.floating){this.el=new Ext.Layer({shadow:this.shadow,dh:c,constrain:false,parentEl:b,zindex:this.zIndex})}else{this.el=b.createChild(c)}Ext.menu.Menu.superclass.onRender.call(this,b,a);if(!this.keyNav){this.keyNav=new Ext.menu.MenuNav(this)}this.focusEl=this.el.child("a.x-menu-focus");this.ul=this.el.child("ul.x-menu-list");this.mon(this.ul,{scope:this,click:this.onClick,mouseover:this.onMouseOver,mouseout:this.onMouseOut});if(this.enableScrolling){this.mon(this.el,{scope:this,delegate:".x-menu-scroller",click:this.onScroll,mouseover:this.deactivateActive})}},findTargetItem:function(b){var a=b.getTarget(".x-menu-list-item",this.ul,true);if(a&&a.menuItemId){return this.items.get(a.menuItemId)}},onClick:function(b){var a=this.findTargetItem(b);if(a){if(a.isFormField){this.setActiveItem(a)}else{if(a instanceof Ext.menu.BaseItem){if(a.menu&&this.ignoreParentClicks){a.expandMenu();b.preventDefault()}else{if(a.onClick){a.onClick(b);this.fireEvent("click",this,a,b)}}}}}},setActiveItem:function(a,b){if(a!=this.activeItem){this.deactivateActive();if((this.activeItem=a).isFormField){a.focus()}else{a.activate(b)}}else{if(b){a.expandMenu()}}},deactivateActive:function(){var b=this.activeItem;if(b){if(b.isFormField){if(b.collapse){b.collapse()}}else{b.deactivate()}delete this.activeItem}},tryActivate:function(g,e){var b=this.items;for(var c=g,a=b.length;c>=0&&c=a.scrollHeight){this.onScrollerOut(null,b)}},onScrollerIn:function(d,b){var a=this.ul.dom,c=Ext.fly(b).is(".x-menu-scroller-top");if(c?a.scrollTop>0:a.scrollTop+this.activeMaxc){b=c;a=i-h}else{if(bb&&b>0){this.activeMax=b-this.scrollerHeight*2-this.el.getFrameWidth("tb")-Ext.num(this.el.shadowOffset,0);this.ul.setHeight(this.activeMax);this.createScrollers();this.el.select(".x-menu-scroller").setDisplayed("")}else{this.ul.setHeight(d);this.el.select(".x-menu-scroller").setDisplayed("none")}this.ul.dom.scrollTop=0;return a},createScrollers:function(){if(!this.scroller){this.scroller={pos:0,top:this.el.insertFirst({tag:"div",cls:"x-menu-scroller x-menu-scroller-top",html:" "}),bottom:this.el.createChild({tag:"div",cls:"x-menu-scroller x-menu-scroller-bottom",html:" "})};this.scroller.top.hover(this.onScrollerIn,this.onScrollerOut,this);this.scroller.topRepeater=new Ext.util.ClickRepeater(this.scroller.top,{listeners:{click:this.onScroll.createDelegate(this,[null,this.scroller.top],false)}});this.scroller.bottom.hover(this.onScrollerIn,this.onScrollerOut,this);this.scroller.bottomRepeater=new Ext.util.ClickRepeater(this.scroller.bottom,{listeners:{click:this.onScroll.createDelegate(this,[null,this.scroller.bottom],false)}})}},onLayout:function(){if(this.isVisible()){if(this.enableScrolling){this.constrainScroll(this.el.getTop())}if(this.floating){this.el.sync()}}},focus:function(){if(!this.hidden){this.doFocus.defer(50,this)}},doFocus:function(){if(!this.hidden){this.focusEl.focus()}},hide:function(a){if(!this.isDestroyed){this.deepHide=a;Ext.menu.Menu.superclass.hide.call(this);delete this.deepHide}},onHide:function(){Ext.menu.Menu.superclass.onHide.call(this);this.deactivateActive();if(this.el&&this.floating){this.el.hide()}var a=this.parentMenu;if(this.deepHide===true&&a){if(a.floating){a.hide(true)}else{a.deactivateActive()}}},lookupComponent:function(a){if(Ext.isString(a)){a=(a=="separator"||a=="-")?new Ext.menu.Separator():new Ext.menu.TextItem(a);this.applyDefaults(a)}else{if(Ext.isObject(a)){a=this.getMenuItem(a)}else{if(a.tagName||a.el){a=new Ext.BoxComponent({el:a})}}}return a},applyDefaults:function(b){if(!Ext.isString(b)){b=Ext.menu.Menu.superclass.applyDefaults.call(this,b);var a=this.internalDefaults;if(a){if(b.events){Ext.applyIf(b.initialConfig,a);Ext.apply(b,a)}else{Ext.applyIf(b,a)}}}return b},getMenuItem:function(a){a.ownerCt=this;if(!a.isXType){if(!a.xtype&&Ext.isBoolean(a.checked)){return new Ext.menu.CheckItem(a)}return Ext.create(a,this.defaultType)}return a},addSeparator:function(){return this.add(new Ext.menu.Separator())},addElement:function(a){return this.add(new Ext.menu.BaseItem({el:a}))},addItem:function(a){return this.add(a)},addMenuItem:function(a){return this.add(this.getMenuItem(a))},addText:function(a){return this.add(new Ext.menu.TextItem(a))},onDestroy:function(){Ext.EventManager.removeResizeListener(this.hide,this);var a=this.parentMenu;if(a&&a.activeChild==this){delete a.activeChild}delete this.parentMenu;Ext.menu.Menu.superclass.onDestroy.call(this);Ext.menu.MenuMgr.unregister(this);if(this.keyNav){this.keyNav.disable()}var b=this.scroller;if(b){Ext.destroy(b.topRepeater,b.bottomRepeater,b.top,b.bottom)}Ext.destroy(this.el,this.focusEl,this.ul)}});Ext.reg("menu",Ext.menu.Menu);Ext.menu.MenuNav=Ext.extend(Ext.KeyNav,function(){function a(d,c){if(!c.tryActivate(c.items.indexOf(c.activeItem)-1,-1)){c.tryActivate(c.items.length-1,-1)}}function b(d,c){if(!c.tryActivate(c.items.indexOf(c.activeItem)+1,1)){c.tryActivate(0,1)}}return{constructor:function(c){Ext.menu.MenuNav.superclass.constructor.call(this,c.el);this.scope=this.menu=c},doRelay:function(g,d){var c=g.getKey();if(this.menu.activeItem&&this.menu.activeItem.isFormField&&c!=g.TAB){return false}if(!this.menu.activeItem&&g.isNavKeyPress()&&c!=g.SPACE&&c!=g.RETURN){this.menu.tryActivate(0,1);return false}return d.call(this.scope||this,g,this.menu)},tab:function(d,c){d.stopEvent();if(d.shiftKey){a(d,c)}else{b(d,c)}},up:a,down:b,right:function(d,c){if(c.activeItem){c.activeItem.expandMenu(true)}},left:function(d,c){c.hide();if(c.parentMenu&&c.parentMenu.activeItem){c.parentMenu.activeItem.activate()}},enter:function(d,c){if(c.activeItem){d.stopPropagation();c.activeItem.onClick(d);c.fireEvent("click",this,c.activeItem);return true}}}}());Ext.menu.MenuMgr=function(){var h,e,b,d={},a=false,l=new Date();function n(){h={};e=new Ext.util.MixedCollection();b=Ext.getDoc().addKeyListener(27,j);b.disable()}function j(){if(e&&e.length>0){var o=e.clone();o.each(function(p){p.hide()});return true}return false}function g(o){e.remove(o);if(e.length<1){b.disable();Ext.getDoc().un("mousedown",m);a=false}}function k(o){var p=e.last();l=new Date();e.add(o);if(!a){b.enable();Ext.getDoc().on("mousedown",m);a=true}if(o.parentMenu){o.getEl().setZIndex(parseInt(o.parentMenu.getEl().getStyle("z-index"),10)+3);o.parentMenu.activeChild=o}else{if(p&&!p.isDestroyed&&p.isVisible()){o.getEl().setZIndex(parseInt(p.getEl().getStyle("z-index"),10)+3)}}}function c(o){if(o.activeChild){o.activeChild.hide()}if(o.autoHideTimer){clearTimeout(o.autoHideTimer);delete o.autoHideTimer}}function i(o){var p=o.parentMenu;if(!p&&!o.allowOtherMenus){j()}else{if(p&&p.activeChild){p.activeChild.hide()}}}function m(o){if(l.getElapsed()>50&&e.length>0&&!o.getTarget(".x-menu")){j()}}return{hideAll:function(){return j()},register:function(o){if(!h){n()}h[o.id]=o;o.on({beforehide:c,hide:g,beforeshow:i,show:k})},get:function(o){if(typeof o=="string"){if(!h){return null}return h[o]}else{if(o.events){return o}else{if(typeof o.length=="number"){return new Ext.menu.Menu({items:o})}else{return Ext.create(o,"menu")}}}},unregister:function(o){delete h[o.id];o.un("beforehide",c);o.un("hide",g);o.un("beforeshow",i);o.un("show",k)},registerCheckable:function(o){var p=o.group;if(p){if(!d[p]){d[p]=[]}d[p].push(o)}},unregisterCheckable:function(o){var p=o.group;if(p){d[p].remove(o)}},onCheckChange:function(q,r){if(q.group&&r){var t=d[q.group],p=0,o=t.length,s;for(;p',' target="{hrefTarget}"',"",">",'{altText}','{text}',"")}var c=this.getTemplateArgs();this.el=b?this.itemTpl.insertBefore(b,c,true):this.itemTpl.append(d,c,true);this.iconEl=this.el.child("img.x-menu-item-icon");this.textEl=this.el.child(".x-menu-item-text");if(!this.href){this.mon(this.el,"click",Ext.emptyFn,null,{preventDefault:true})}Ext.menu.Item.superclass.onRender.call(this,d,b)},getTemplateArgs:function(){return{id:this.id,cls:this.itemCls+(this.menu?" x-menu-item-arrow":"")+(this.cls?" "+this.cls:""),href:this.href||"#",hrefTarget:this.hrefTarget,icon:this.icon||Ext.BLANK_IMAGE_URL,iconCls:this.iconCls||"",text:this.itemText||this.text||" ",altText:this.altText||""}},setText:function(a){this.text=a||" ";if(this.rendered){this.textEl.update(this.text);this.parentMenu.layout.doAutoSize()}},setIconClass:function(a){var b=this.iconCls;this.iconCls=a;if(this.rendered){this.iconEl.replaceClass(b,this.iconCls)}},beforeDestroy:function(){clearTimeout(this.showTimer);clearTimeout(this.hideTimer);if(this.menu){delete this.menu.ownerCt;this.menu.destroy()}Ext.menu.Item.superclass.beforeDestroy.call(this)},handleClick:function(a){if(!this.href){a.stopEvent()}Ext.menu.Item.superclass.handleClick.apply(this,arguments)},activate:function(a){if(Ext.menu.Item.superclass.activate.apply(this,arguments)){this.focus();if(a){this.expandMenu()}}return true},shouldDeactivate:function(a){if(Ext.menu.Item.superclass.shouldDeactivate.call(this,a)){if(this.menu&&this.menu.isVisible()){return !this.menu.getEl().getRegion().contains(a.getPoint())}return true}return false},deactivate:function(){Ext.menu.Item.superclass.deactivate.apply(this,arguments);this.hideMenu()},expandMenu:function(a){if(!this.disabled&&this.menu){clearTimeout(this.hideTimer);delete this.hideTimer;if(!this.menu.isVisible()&&!this.showTimer){this.showTimer=this.deferExpand.defer(this.showDelay,this,[a])}else{if(this.menu.isVisible()&&a){this.menu.tryActivate(0,1)}}}},deferExpand:function(a){delete this.showTimer;this.menu.show(this.container,this.parentMenu.subMenuAlign||"tl-tr?",this.parentMenu);if(a){this.menu.tryActivate(0,1)}},hideMenu:function(){clearTimeout(this.showTimer);delete this.showTimer;if(!this.hideTimer&&this.menu&&this.menu.isVisible()){this.hideTimer=this.deferHide.defer(this.hideDelay,this)}},deferHide:function(){delete this.hideTimer;if(this.menu.over){this.parentMenu.setActiveItem(this,false)}else{this.menu.hide()}}});Ext.reg("menuitem",Ext.menu.Item);Ext.menu.CheckItem=Ext.extend(Ext.menu.Item,{itemCls:"x-menu-item x-menu-check-item",groupClass:"x-menu-group-item",checked:false,ctype:"Ext.menu.CheckItem",initComponent:function(){Ext.menu.CheckItem.superclass.initComponent.call(this);this.addEvents("beforecheckchange","checkchange");if(this.checkHandler){this.on("checkchange",this.checkHandler,this.scope)}Ext.menu.MenuMgr.registerCheckable(this)},onRender:function(a){Ext.menu.CheckItem.superclass.onRender.apply(this,arguments);if(this.group){this.el.addClass(this.groupClass)}if(this.checked){this.checked=false;this.setChecked(true,true)}},destroy:function(){Ext.menu.MenuMgr.unregisterCheckable(this);Ext.menu.CheckItem.superclass.destroy.apply(this,arguments)},setChecked:function(b,a){var c=a===true;if(this.checked!=b&&(c||this.fireEvent("beforecheckchange",this,b)!==false)){Ext.menu.MenuMgr.onCheckChange(this,b);if(this.container){this.container[b?"addClass":"removeClass"]("x-menu-item-checked")}this.checked=b;if(!c){this.fireEvent("checkchange",this,b)}}},handleClick:function(a){if(!this.disabled&&!(this.checked&&this.group)){this.setChecked(!this.checked)}Ext.menu.CheckItem.superclass.handleClick.apply(this,arguments)}});Ext.reg("menucheckitem",Ext.menu.CheckItem);Ext.menu.DateMenu=Ext.extend(Ext.menu.Menu,{enableScrolling:false,hideOnClick:true,pickerId:null,cls:"x-date-menu",initComponent:function(){this.on("beforeshow",this.onBeforeShow,this);if(this.strict=(Ext.isIE7&&Ext.isStrict)){this.on("show",this.onShow,this,{single:true,delay:20})}Ext.apply(this,{plain:true,showSeparator:false,items:this.picker=new Ext.DatePicker(Ext.applyIf({internalRender:this.strict||!Ext.isIE,ctCls:"x-menu-date-item",id:this.pickerId},this.initialConfig))});this.picker.purgeListeners();Ext.menu.DateMenu.superclass.initComponent.call(this);this.relayEvents(this.picker,["select"]);this.on("show",this.picker.focus,this.picker);this.on("select",this.menuHide,this);if(this.handler){this.on("select",this.handler,this.scope||this)}},menuHide:function(){if(this.hideOnClick){this.hide(true)}},onBeforeShow:function(){if(this.picker){this.picker.hideMonthPicker(true)}},onShow:function(){var a=this.picker.getEl();a.setWidth(a.getWidth())}});Ext.reg("datemenu",Ext.menu.DateMenu);Ext.menu.ColorMenu=Ext.extend(Ext.menu.Menu,{enableScrolling:false,hideOnClick:true,cls:"x-color-menu",paletteId:null,initComponent:function(){Ext.apply(this,{plain:true,showSeparator:false,items:this.palette=new Ext.ColorPalette(Ext.applyIf({id:this.paletteId},this.initialConfig))});this.palette.purgeListeners();Ext.menu.ColorMenu.superclass.initComponent.call(this);this.relayEvents(this.palette,["select"]);this.on("select",this.menuHide,this);if(this.handler){this.on("select",this.handler,this.scope||this)}},menuHide:function(){if(this.hideOnClick){this.hide(true)}}});Ext.reg("colormenu",Ext.menu.ColorMenu);Ext.form.Field=Ext.extend(Ext.BoxComponent,{invalidClass:"x-form-invalid",invalidText:"The value in this field is invalid",focusClass:"x-form-focus",validationEvent:"keyup",validateOnBlur:true,validationDelay:250,defaultAutoCreate:{tag:"input",type:"text",size:"20",autocomplete:"off"},fieldClass:"x-form-field",msgTarget:"qtip",msgFx:"normal",readOnly:false,disabled:false,submitValue:true,isFormField:true,msgDisplay:"",hasFocus:false,initComponent:function(){Ext.form.Field.superclass.initComponent.call(this);this.addEvents("focus","blur","specialkey","change","invalid","valid")},getName:function(){return this.rendered&&this.el.dom.name?this.el.dom.name:this.name||this.id||""},onRender:function(c,a){if(!this.el){var b=this.getAutoCreate();if(!b.name){b.name=this.name||this.id}if(this.inputType){b.type=this.inputType}this.autoEl=b}Ext.form.Field.superclass.onRender.call(this,c,a);if(this.submitValue===false){this.el.dom.removeAttribute("name")}var d=this.el.dom.type;if(d){if(d=="password"){d="text"}this.el.addClass("x-form-"+d)}if(this.readOnly){this.setReadOnly(true)}if(this.tabIndex!==undefined){this.el.dom.setAttribute("tabIndex",this.tabIndex)}this.el.addClass([this.fieldClass,this.cls])},getItemCt:function(){return this.itemCt},initValue:function(){if(this.value!==undefined){this.setValue(this.value)}else{if(!Ext.isEmpty(this.el.dom.value)&&this.el.dom.value!=this.emptyText){this.setValue(this.el.dom.value)}}this.originalValue=this.getValue()},isDirty:function(){if(this.disabled||!this.rendered){return false}return String(this.getValue())!==String(this.originalValue)},setReadOnly:function(a){if(this.rendered){this.el.dom.readOnly=a}this.readOnly=a},afterRender:function(){Ext.form.Field.superclass.afterRender.call(this);this.initEvents();this.initValue()},fireKey:function(a){if(a.isSpecialKey()){this.fireEvent("specialkey",this,a)}},reset:function(){this.setValue(this.originalValue);this.clearInvalid()},initEvents:function(){this.mon(this.el,Ext.EventManager.getKeyEvent(),this.fireKey,this);this.mon(this.el,"focus",this.onFocus,this);this.mon(this.el,"blur",this.onBlur,this,this.inEditor?{buffer:10}:null)},preFocus:Ext.emptyFn,onFocus:function(){this.preFocus();if(this.focusClass){this.el.addClass(this.focusClass)}if(!this.hasFocus){this.hasFocus=true;this.startValue=this.getValue();this.fireEvent("focus",this)}},beforeBlur:Ext.emptyFn,onBlur:function(){this.beforeBlur();if(this.focusClass){this.el.removeClass(this.focusClass)}this.hasFocus=false;if(this.validationEvent!==false&&(this.validateOnBlur||this.validationEvent=="blur")){this.validate()}var a=this.getValue();if(String(a)!==String(this.startValue)){this.fireEvent("change",this,a,this.startValue)}this.fireEvent("blur",this);this.postBlur()},postBlur:Ext.emptyFn,isValid:function(a){if(this.disabled){return true}var c=this.preventMark;this.preventMark=a===true;var b=this.validateValue(this.processValue(this.getRawValue()),a);this.preventMark=c;return b},validate:function(){if(this.disabled||this.validateValue(this.processValue(this.getRawValue()))){this.clearInvalid();return true}return false},processValue:function(a){return a},validateValue:function(b){var a=this.getErrors(b)[0];if(a==undefined){return true}else{this.markInvalid(a);return false}},getErrors:function(){return[]},getActiveError:function(){return this.activeError||""},markInvalid:function(c){if(this.rendered&&!this.preventMark){c=c||this.invalidText;var a=this.getMessageHandler();if(a){a.mark(this,c)}else{if(this.msgTarget){this.el.addClass(this.invalidClass);var b=Ext.getDom(this.msgTarget);if(b){b.innerHTML=c;b.style.display=this.msgDisplay}}}}this.setActiveError(c)},clearInvalid:function(){if(this.rendered&&!this.preventMark){this.el.removeClass(this.invalidClass);var a=this.getMessageHandler();if(a){a.clear(this)}else{if(this.msgTarget){this.el.removeClass(this.invalidClass);var b=Ext.getDom(this.msgTarget);if(b){b.innerHTML="";b.style.display="none"}}}}this.unsetActiveError()},setActiveError:function(b,a){this.activeError=b;if(a!==true){this.fireEvent("invalid",this,b)}},unsetActiveError:function(a){delete this.activeError;if(a!==true){this.fireEvent("valid",this)}},getMessageHandler:function(){return Ext.form.MessageTargets[this.msgTarget]},getErrorCt:function(){return this.el.findParent(".x-form-element",5,true)||this.el.findParent(".x-form-field-wrap",5,true)},alignErrorEl:function(){this.errorEl.setWidth(this.getErrorCt().getWidth(true)-20)},alignErrorIcon:function(){this.errorIcon.alignTo(this.el,"tl-tr",[2,0])},getRawValue:function(){var a=this.rendered?this.el.getValue():Ext.value(this.value,"");if(a===this.emptyText){a=""}return a},getValue:function(){if(!this.rendered){return this.value}var a=this.el.getValue();if(a===this.emptyText||a===undefined){a=""}return a},setRawValue:function(a){return this.rendered?(this.el.dom.value=(Ext.isEmpty(a)?"":a)):""},setValue:function(a){this.value=a;if(this.rendered){this.el.dom.value=(Ext.isEmpty(a)?"":a);this.validate()}return this},append:function(a){this.setValue([this.getValue(),a].join(""))}});Ext.form.MessageTargets={qtip:{mark:function(a,b){a.el.addClass(a.invalidClass);a.el.dom.qtip=b;a.el.dom.qclass="x-form-invalid-tip";if(Ext.QuickTips){Ext.QuickTips.enable()}},clear:function(a){a.el.removeClass(a.invalidClass);a.el.dom.qtip=""}},title:{mark:function(a,b){a.el.addClass(a.invalidClass);a.el.dom.title=b},clear:function(a){a.el.dom.title=""}},under:{mark:function(b,c){b.el.addClass(b.invalidClass);if(!b.errorEl){var a=b.getErrorCt();if(!a){b.el.dom.title=c;return}b.errorEl=a.createChild({cls:"x-form-invalid-msg"});b.on("resize",b.alignErrorEl,b);b.on("destroy",function(){Ext.destroy(this.errorEl)},b)}b.alignErrorEl();b.errorEl.update(c);Ext.form.Field.msgFx[b.msgFx].show(b.errorEl,b)},clear:function(a){a.el.removeClass(a.invalidClass);if(a.errorEl){Ext.form.Field.msgFx[a.msgFx].hide(a.errorEl,a)}else{a.el.dom.title=""}}},side:{mark:function(b,c){b.el.addClass(b.invalidClass);if(!b.errorIcon){var a=b.getErrorCt();if(!a){b.el.dom.title=c;return}b.errorIcon=a.createChild({cls:"x-form-invalid-icon"});if(b.ownerCt){b.ownerCt.on("afterlayout",b.alignErrorIcon,b);b.ownerCt.on("expand",b.alignErrorIcon,b)}b.on("resize",b.alignErrorIcon,b);b.on("destroy",function(){Ext.destroy(this.errorIcon)},b)}b.alignErrorIcon();b.errorIcon.dom.qtip=c;b.errorIcon.dom.qclass="x-form-invalid-tip";b.errorIcon.show()},clear:function(a){a.el.removeClass(a.invalidClass);if(a.errorIcon){a.errorIcon.dom.qtip="";a.errorIcon.hide()}else{a.el.dom.title=""}}}};Ext.form.Field.msgFx={normal:{show:function(a,b){a.setDisplayed("block")},hide:function(a,b){a.setDisplayed(false).update("")}},slide:{show:function(a,b){a.slideIn("t",{stopFx:true})},hide:function(a,b){a.slideOut("t",{stopFx:true,useDisplay:true})}},slideRight:{show:function(a,b){a.fixDisplay();a.alignTo(b.el,"tl-tr");a.slideIn("l",{stopFx:true})},hide:function(a,b){a.slideOut("l",{stopFx:true,useDisplay:true})}}};Ext.reg("field",Ext.form.Field);Ext.form.TextField=Ext.extend(Ext.form.Field,{grow:false,growMin:30,growMax:800,vtype:null,maskRe:null,disableKeyFilter:false,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}",selectOnFocus:false,blankText:"This field is required",validator:null,regex:null,regexText:"",emptyText:null,emptyClass:"x-form-empty-field",initComponent:function(){Ext.form.TextField.superclass.initComponent.call(this);this.addEvents("autosize","keydown","keyup","keypress")},initEvents:function(){Ext.form.TextField.superclass.initEvents.call(this);if(this.validationEvent=="keyup"){this.validationTask=new Ext.util.DelayedTask(this.validate,this);this.mon(this.el,"keyup",this.filterValidation,this)}else{if(this.validationEvent!==false&&this.validationEvent!="blur"){this.mon(this.el,this.validationEvent,this.validate,this,{buffer:this.validationDelay})}}if(this.selectOnFocus||this.emptyText){this.mon(this.el,"mousedown",this.onMouseDown,this);if(this.emptyText){this.applyEmptyText()}}if(this.maskRe||(this.vtype&&this.disableKeyFilter!==true&&(this.maskRe=Ext.form.VTypes[this.vtype+"Mask"]))){this.mon(this.el,"keypress",this.filterKeys,this)}if(this.grow){this.mon(this.el,"keyup",this.onKeyUpBuffered,this,{buffer:50});this.mon(this.el,"click",this.autoSize,this)}if(this.enableKeyEvents){this.mon(this.el,{scope:this,keyup:this.onKeyUp,keydown:this.onKeyDown,keypress:this.onKeyPress})}},onMouseDown:function(a){if(!this.hasFocus){this.mon(this.el,"mouseup",Ext.emptyFn,this,{single:true,preventDefault:true})}},processValue:function(a){if(this.stripCharsRe){var b=a.replace(this.stripCharsRe,"");if(b!==a){this.setRawValue(b);return b}}return a},filterValidation:function(a){if(!a.isNavKeyPress()){this.validationTask.delay(this.validationDelay)}},onDisable:function(){Ext.form.TextField.superclass.onDisable.call(this);if(Ext.isIE){this.el.dom.unselectable="on"}},onEnable:function(){Ext.form.TextField.superclass.onEnable.call(this);if(Ext.isIE){this.el.dom.unselectable=""}},onKeyUpBuffered:function(a){if(this.doAutoSize(a)){this.autoSize()}},doAutoSize:function(a){return !a.isNavKeyPress()},onKeyUp:function(a){this.fireEvent("keyup",this,a)},onKeyDown:function(a){this.fireEvent("keydown",this,a)},onKeyPress:function(a){this.fireEvent("keypress",this,a)},reset:function(){Ext.form.TextField.superclass.reset.call(this);this.applyEmptyText()},applyEmptyText:function(){if(this.rendered&&this.emptyText&&this.getRawValue().length<1&&!this.hasFocus){this.setRawValue(this.emptyText);this.el.addClass(this.emptyClass)}},preFocus:function(){var a=this.el,b;if(this.emptyText){if(a.dom.value==this.emptyText){this.setRawValue("");b=true}a.removeClass(this.emptyClass)}if(this.selectOnFocus||b){a.dom.select()}},postBlur:function(){this.applyEmptyText()},filterKeys:function(b){if(b.ctrlKey){return}var a=b.getKey();if(Ext.isGecko&&(b.isNavKeyPress()||a==b.BACKSPACE||(a==b.DELETE&&b.button==-1))){return}var c=String.fromCharCode(b.getCharCode());if(!Ext.isGecko&&b.isSpecialKey()&&!c){return}if(!this.maskRe.test(c)){b.stopEvent()}},setValue:function(a){if(this.emptyText&&this.el&&!Ext.isEmpty(a)){this.el.removeClass(this.emptyClass)}Ext.form.TextField.superclass.setValue.apply(this,arguments);this.applyEmptyText();this.autoSize();return this},getErrors:function(a){var d=Ext.form.TextField.superclass.getErrors.apply(this,arguments);a=Ext.isDefined(a)?a:this.processValue(this.getRawValue());if(Ext.isFunction(this.validator)){var c=this.validator(a);if(c!==true){d.push(c)}}if(a.length<1||a===this.emptyText){if(this.allowBlank){return d}else{d.push(this.blankText)}}if(!this.allowBlank&&(a.length<1||a===this.emptyText)){d.push(this.blankText)}if(a.lengththis.maxLength){d.push(String.format(this.maxLengthText,this.maxLength))}if(this.vtype){var b=Ext.form.VTypes;if(!b[this.vtype](a,this)){d.push(this.vtypeText||b[this.vtype+"Text"])}}if(this.regex&&!this.regex.test(a)){d.push(this.regexText)}return d},selectText:function(h,a){var c=this.getRawValue();var e=false;if(c.length>0){h=h===undefined?0:h;a=a===undefined?c.length:a;var g=this.el.dom;if(g.setSelectionRange){g.setSelectionRange(h,a)}else{if(g.createTextRange){var b=g.createTextRange();b.moveStart("character",h);b.moveEnd("character",a-c.length);b.select()}}e=Ext.isGecko||Ext.isOpera}else{e=true}if(e){this.focus()}},autoSize:function(){if(!this.grow||!this.rendered){return}if(!this.metrics){this.metrics=Ext.util.TextMetrics.createInstance(this.el)}var c=this.el;var b=c.dom.value;var e=document.createElement("div");e.appendChild(document.createTextNode(b));b=e.innerHTML;Ext.removeNode(e);e=null;b+=" ";var a=Math.min(this.growMax,Math.max(this.metrics.getWidth(b)+10,this.growMin));this.el.setWidth(a);this.fireEvent("autosize",this,a)},onDestroy:function(){if(this.validationTask){this.validationTask.cancel();this.validationTask=null}Ext.form.TextField.superclass.onDestroy.call(this)}});Ext.reg("textfield",Ext.form.TextField);Ext.form.TriggerField=Ext.extend(Ext.form.TextField,{defaultAutoCreate:{tag:"input",type:"text",size:"16",autocomplete:"off"},hideTrigger:false,editable:true,readOnly:false,wrapFocusClass:"x-trigger-wrap-focus",autoSize:Ext.emptyFn,monitorTab:true,deferHeight:true,mimicing:false,actionMode:"wrap",defaultTriggerWidth:17,onResize:function(a,c){Ext.form.TriggerField.superclass.onResize.call(this,a,c);var b=this.getTriggerWidth();if(Ext.isNumber(a)){this.el.setWidth(a-b)}this.wrap.setWidth(this.el.getWidth()+b)},getTriggerWidth:function(){var a=this.trigger.getWidth();if(!this.hideTrigger&&!this.readOnly&&a===0){a=this.defaultTriggerWidth}return a},alignErrorIcon:function(){if(this.wrap){this.errorIcon.alignTo(this.wrap,"tl-tr",[2,0])}},onRender:function(b,a){this.doc=Ext.isIE?Ext.getBody():Ext.getDoc();Ext.form.TriggerField.superclass.onRender.call(this,b,a);this.wrap=this.el.wrap({cls:"x-form-field-wrap x-form-field-trigger-wrap"});this.trigger=this.wrap.createChild(this.triggerConfig||{tag:"img",src:Ext.BLANK_IMAGE_URL,alt:"",cls:"x-form-trigger "+this.triggerClass});this.initTrigger();if(!this.width){this.wrap.setWidth(this.el.getWidth()+this.trigger.getWidth())}this.resizeEl=this.positionEl=this.wrap},getWidth:function(){return(this.el.getWidth()+this.trigger.getWidth())},updateEditState:function(){if(this.rendered){if(this.readOnly){this.el.dom.readOnly=true;this.el.addClass("x-trigger-noedit");this.mun(this.el,"click",this.onTriggerClick,this);this.trigger.setDisplayed(false)}else{if(!this.editable){this.el.dom.readOnly=true;this.el.addClass("x-trigger-noedit");this.mon(this.el,"click",this.onTriggerClick,this)}else{this.el.dom.readOnly=false;this.el.removeClass("x-trigger-noedit");this.mun(this.el,"click",this.onTriggerClick,this)}this.trigger.setDisplayed(!this.hideTrigger)}this.onResize(this.width||this.wrap.getWidth())}},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()}},afterRender:function(){Ext.form.TriggerField.superclass.afterRender.call(this);this.updateEditState()},initTrigger:function(){this.mon(this.trigger,"click",this.onTriggerClick,this,{preventDefault:true});this.trigger.addClassOnOver("x-form-trigger-over");this.trigger.addClassOnClick("x-form-trigger-click")},onDestroy:function(){Ext.destroy(this.trigger,this.wrap);if(this.mimicing){this.doc.un("mousedown",this.mimicBlur,this)}delete this.doc;Ext.form.TriggerField.superclass.onDestroy.call(this)},onFocus:function(){Ext.form.TriggerField.superclass.onFocus.call(this);if(!this.mimicing){this.wrap.addClass(this.wrapFocusClass);this.mimicing=true;this.doc.on("mousedown",this.mimicBlur,this,{delay:10});if(this.monitorTab){this.on("specialkey",this.checkTab,this)}}},checkTab:function(a,b){if(b.getKey()==b.TAB){this.triggerBlur()}},onBlur:Ext.emptyFn,mimicBlur:function(a){if(!this.isDestroyed&&!this.wrap.contains(a.target)&&this.validateBlur(a)){this.triggerBlur()}},triggerBlur:function(){this.mimicing=false;this.doc.un("mousedown",this.mimicBlur,this);if(this.monitorTab&&this.el){this.un("specialkey",this.checkTab,this)}Ext.form.TriggerField.superclass.onBlur.call(this);if(this.wrap){this.wrap.removeClass(this.wrapFocusClass)}},beforeBlur:Ext.emptyFn,validateBlur:function(a){return true},onTriggerClick:Ext.emptyFn});Ext.form.TwinTriggerField=Ext.extend(Ext.form.TriggerField,{initComponent:function(){Ext.form.TwinTriggerField.superclass.initComponent.call(this);this.triggerConfig={tag:"span",cls:"x-form-twin-triggers",cn:[{tag:"img",src:Ext.BLANK_IMAGE_URL,alt:"",cls:"x-form-trigger "+this.trigger1Class},{tag:"img",src:Ext.BLANK_IMAGE_URL,alt:"",cls:"x-form-trigger "+this.trigger2Class}]}},getTrigger:function(a){return this.triggers[a]},afterRender:function(){Ext.form.TwinTriggerField.superclass.afterRender.call(this);var c=this.triggers,b=0,a=c.length;for(;b")}}d.innerHTML=a;b=Math.min(this.growMax,Math.max(d.offsetHeight,this.growMin));if(b!=this.lastHeight){this.lastHeight=b;this.el.setHeight(b);this.fireEvent("autosize",this,b)}}});Ext.reg("textarea",Ext.form.TextArea);Ext.form.NumberField=Ext.extend(Ext.form.TextField,{fieldClass:"x-form-field x-form-num-field",allowDecimals:true,decimalSeparator:".",decimalPrecision:2,allowNegative:true,minValue:Number.NEGATIVE_INFINITY,maxValue:Number.MAX_VALUE,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",baseChars:"0123456789",autoStripChars:false,initEvents:function(){var a=this.baseChars+"";if(this.allowDecimals){a+=this.decimalSeparator}if(this.allowNegative){a+="-"}a=Ext.escapeRe(a);this.maskRe=new RegExp("["+a+"]");if(this.autoStripChars){this.stripCharsRe=new RegExp("[^"+a+"]","gi")}Ext.form.NumberField.superclass.initEvents.call(this)},getErrors:function(b){var c=Ext.form.NumberField.superclass.getErrors.apply(this,arguments);b=Ext.isDefined(b)?b:this.processValue(this.getRawValue());if(b.length<1){return c}b=String(b).replace(this.decimalSeparator,".");if(isNaN(b)){c.push(String.format(this.nanText,b))}var a=this.parseValue(b);if(athis.maxValue){c.push(String.format(this.maxText,this.maxValue))}return c},getValue:function(){return this.fixPrecision(this.parseValue(Ext.form.NumberField.superclass.getValue.call(this)))},setValue:function(a){a=Ext.isNumber(a)?a:parseFloat(String(a).replace(this.decimalSeparator,"."));a=this.fixPrecision(a);a=isNaN(a)?"":String(a).replace(".",this.decimalSeparator);return Ext.form.NumberField.superclass.setValue.call(this,a)},setMinValue:function(a){this.minValue=Ext.num(a,Number.NEGATIVE_INFINITY)},setMaxValue:function(a){this.maxValue=Ext.num(a,Number.MAX_VALUE)},parseValue:function(a){a=parseFloat(String(a).replace(this.decimalSeparator,"."));return isNaN(a)?"":a},fixPrecision:function(b){var a=isNaN(b);if(!this.allowDecimals||this.decimalPrecision==-1||a||!b){return a?"":b}return parseFloat(parseFloat(b).toFixed(this.decimalPrecision))},beforeBlur:function(){var a=this.parseValue(this.getRawValue());if(!Ext.isEmpty(a)){this.setValue(a)}}});Ext.reg("numberfield",Ext.form.NumberField);Ext.form.DateField=Ext.extend(Ext.form.TriggerField,{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}",triggerClass:"x-form-date-trigger",showToday:true,startDay:0,defaultAutoCreate:{tag:"input",type:"text",size:"10",autocomplete:"off"},initTime:"12",initTimeFormat:"H",safeParse:function(b,c){if(Date.formatContainsHourInfo(c)){return Date.parseDate(b,c)}else{var a=Date.parseDate(b+" "+this.initTime,c+" "+this.initTimeFormat);if(a){return a.clearTime()}}},initComponent:function(){Ext.form.DateField.superclass.initComponent.call(this);this.addEvents("select");if(Ext.isString(this.minValue)){this.minValue=this.parseDate(this.minValue)}if(Ext.isString(this.maxValue)){this.maxValue=this.parseDate(this.maxValue)}this.disabledDatesRE=null;this.initDisabledDays()},initEvents:function(){Ext.form.DateField.superclass.initEvents.call(this);this.keyNav=new Ext.KeyNav(this.el,{down:function(a){this.onTriggerClick()},scope:this,forceKeyDown:true})},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.escapeRe(g.dateFormat(this.format))+"$":b[e];if(e!=a){c+="|"}},this);this.disabledDatesRE=new RegExp(c+")")}},setDisabledDates:function(a){this.disabledDates=a;this.initDisabledDays();if(this.menu){this.menu.picker.setDisabledDates(this.disabledDatesRE)}},setDisabledDays:function(a){this.disabledDays=a;if(this.menu){this.menu.picker.setDisabledDays(a)}},setMinValue:function(a){this.minValue=(Ext.isString(a)?this.parseDate(a):a);if(this.menu){this.menu.picker.setMinDate(this.minValue)}},setMaxValue:function(a){this.maxValue=(Ext.isString(a)?this.parseDate(a):a);if(this.menu){this.menu.picker.setMaxDate(this.maxValue)}},getErrors:function(e){var h=Ext.form.DateField.superclass.getErrors.apply(this,arguments);e=this.formatDate(e||this.processValue(this.getRawValue()));if(e.length<1){return h}var c=e;e=this.parseDate(e);if(!e){h.push(String.format(this.invalidText,c,this.format));return h}var g=e.getTime();if(this.minValue&&gthis.maxValue.clearTime().getTime()){h.push(String.format(this.maxText,this.formatDate(this.maxValue)))}if(this.disabledDays){var a=e.getDay();for(var b=0;b
    {'+this.displayField+"}
    "}this.view=new Ext.DataView({applyTo:this.innerList,tpl:this.tpl,singleSelect:true,selectedClass:this.selectedClass,itemSelector:this.itemSelector||"."+a+"-item",emptyText:this.listEmptyText,deferEmptyText:false});this.mon(this.view,{containerclick:this.onViewClick,click:this.onViewClick,scope:this});this.bindStore(this.store,true);if(this.resizable){this.resizer=new Ext.Resizable(this.list,{pinned:true,handles:"se"});this.mon(this.resizer,"resize",function(g,d,e){this.maxHeight=e-this.handleHeight-this.list.getFrameWidth("tb")-this.assetHeight;this.listWidth=d;this.innerList.setWidth(d-this.list.getFrameWidth("lr"));this.restrictHeight()},this);this[this.pageSize?"footer":"innerList"].setStyle("margin-bottom",this.handleHeight+"px")}}},getListParent:function(){return document.body},getStore:function(){return this.store},bindStore:function(a,b){if(this.store&&!b){if(this.store!==a&&this.store.autoDestroy){this.store.destroy()}else{this.store.un("beforeload",this.onBeforeLoad,this);this.store.un("load",this.onLoad,this);this.store.un("exception",this.collapse,this)}if(!a){this.store=null;if(this.view){this.view.bindStore(null)}if(this.pageTb){this.pageTb.bindStore(null)}}}if(a){if(!b){this.lastQuery=null;if(this.pageTb){this.pageTb.bindStore(a)}}this.store=Ext.StoreMgr.lookup(a);this.store.on({scope:this,beforeload:this.onBeforeLoad,load:this.onLoad,exception:this.collapse});if(this.view){this.view.bindStore(a)}}},reset:function(){if(this.clearFilterOnReset&&this.mode=="local"){this.store.clearFilter()}Ext.form.ComboBox.superclass.reset.call(this)},initEvents:function(){Ext.form.ComboBox.superclass.initEvents.call(this);this.keyNav=new Ext.KeyNav(this.el,{up:function(a){this.inKeyMode=true;this.selectPrev()},down:function(a){if(!this.isExpanded()){this.onTriggerClick()}else{this.inKeyMode=true;this.selectNext()}},enter:function(a){this.onViewClick()},esc:function(a){this.collapse()},tab:function(a){if(this.forceSelection===true){this.collapse()}else{this.onViewClick(false)}return true},scope:this,doRelay:function(c,b,a){if(a=="down"||this.scope.isExpanded()){var d=Ext.KeyNav.prototype.doRelay.apply(this,arguments);if(!Ext.isIE&&Ext.EventManager.useKeydown){this.scope.fireKey(c)}return d}return true},forceKeyDown:true,defaultEventAction:"stopEvent"});this.queryDelay=Math.max(this.queryDelay||10,this.mode=="local"?10:250);this.dqTask=new Ext.util.DelayedTask(this.initQuery,this);if(this.typeAhead){this.taTask=new Ext.util.DelayedTask(this.onTypeAhead,this)}if(!this.enableKeyEvents){this.mon(this.el,"keyup",this.onKeyUp,this)}},onDestroy:function(){if(this.dqTask){this.dqTask.cancel();this.dqTask=null}this.bindStore(null);Ext.destroy(this.resizer,this.view,this.pageTb,this.list);Ext.destroyMembers(this,"hiddenField");Ext.form.ComboBox.superclass.onDestroy.call(this)},fireKey:function(a){if(!this.isExpanded()){Ext.form.ComboBox.superclass.fireKey.call(this,a)}},onResize:function(a,b){Ext.form.ComboBox.superclass.onResize.apply(this,arguments);if(!isNaN(a)&&this.isVisible()&&this.list){this.doResize(a)}else{this.bufferSize=a}},doResize:function(a){if(!Ext.isDefined(this.listWidth)){var b=Math.max(a,this.minListWidth);this.list.setWidth(b);this.innerList.setWidth(b-this.list.getFrameWidth("lr"))}},onEnable:function(){Ext.form.ComboBox.superclass.onEnable.apply(this,arguments);if(this.hiddenField){this.hiddenField.disabled=false}},onDisable:function(){Ext.form.ComboBox.superclass.onDisable.apply(this,arguments);if(this.hiddenField){this.hiddenField.disabled=true}},onBeforeLoad:function(){if(!this.hasFocus){return}this.innerList.update(this.loadingText?'
    '+this.loadingText+"
    ":"");this.restrictHeight();this.selectedIndex=-1},onLoad:function(){if(!this.hasFocus){return}if(this.store.getCount()>0||this.listEmptyText){this.expand();this.restrictHeight();if(this.lastQuery==this.allQuery){if(this.editable){this.el.dom.select()}if(this.autoSelect!==false&&!this.selectByValue(this.value,true)){this.select(0,true)}}else{if(this.autoSelect!==false){this.selectNext()}if(this.typeAhead&&this.lastKey!=Ext.EventObject.BACKSPACE&&this.lastKey!=Ext.EventObject.DELETE){this.taTask.delay(this.typeAheadDelay)}}}else{this.collapse()}},onTypeAhead:function(){if(this.store.getCount()>0){var b=this.store.getAt(0);var c=b.data[this.displayField];var a=c.length;var d=this.getRawValue().length;if(d!=a){this.setRawValue(c);this.selectText(d,c.length)}}},assertValue:function(){var b=this.getRawValue(),a;if(this.valueField&&Ext.isDefined(this.value)){a=this.findRecord(this.valueField,this.value)}if(!a||a.get(this.displayField)!=b){a=this.findRecord(this.displayField,b)}if(!a&&this.forceSelection){if(b.length>0&&b!=this.emptyText){this.el.dom.value=Ext.value(this.lastSelectionText,"");this.applyEmptyText()}else{this.clearValue()}}else{if(a&&this.valueField){if(this.value==b){return}b=a.get(this.valueField||this.displayField)}this.setValue(b)}},onSelect:function(a,b){if(this.fireEvent("beforeselect",this,a,b)!==false){this.setValue(a.data[this.valueField||this.displayField]);this.collapse();this.fireEvent("select",this,a,b)}},getName:function(){var a=this.hiddenField;return a&&a.name?a.name:this.hiddenName||Ext.form.ComboBox.superclass.getName.call(this)},getValue:function(){if(this.valueField){return Ext.isDefined(this.value)?this.value:""}else{return Ext.form.ComboBox.superclass.getValue.call(this)}},clearValue:function(){if(this.hiddenField){this.hiddenField.value=""}this.setRawValue("");this.lastSelectionText="";this.applyEmptyText();this.value=""},setValue:function(a){var c=a;if(this.valueField){var b=this.findRecord(this.valueField,a);if(b){c=b.data[this.displayField]}else{if(Ext.isDefined(this.valueNotFoundText)){c=this.valueNotFoundText}}}this.lastSelectionText=c;if(this.hiddenField){this.hiddenField.value=Ext.value(a,"")}Ext.form.ComboBox.superclass.setValue.call(this,c);this.value=a;return this},findRecord:function(c,b){var a;if(this.store.getCount()>0){this.store.each(function(d){if(d.data[c]==b){a=d;return false}})}return a},onViewMove:function(b,a){this.inKeyMode=false},onViewOver:function(d,b){if(this.inKeyMode){return}var c=this.view.findItemFromChild(b);if(c){var a=this.view.indexOf(c);this.select(a,false)}},onViewClick:function(b){var a=this.view.getSelectedIndexes()[0],c=this.store,d=c.getAt(a);if(d){this.onSelect(d,a)}else{this.collapse()}if(b!==false){this.el.focus()}},restrictHeight:function(){this.innerList.dom.style.height="";var b=this.innerList.dom,e=this.list.getFrameWidth("tb")+(this.resizable?this.handleHeight:0)+this.assetHeight,c=Math.max(b.clientHeight,b.offsetHeight,b.scrollHeight),a=this.getPosition()[1]-Ext.getBody().getScroll().top,g=Ext.lib.Dom.getViewHeight()-a-this.getSize().height,d=Math.max(a,g,this.minHeight||0)-this.list.shadowOffset-e-5;c=Math.min(c,d,this.maxHeight);this.innerList.setHeight(c);this.list.beginUpdate();this.list.setHeight(c+e);this.list.alignTo.apply(this.list,[this.el].concat(this.listAlign));this.list.endUpdate()},isExpanded:function(){return this.list&&this.list.isVisible()},selectByValue:function(a,c){if(!Ext.isEmpty(a,true)){var b=this.findRecord(this.valueField||this.displayField,a);if(b){this.select(this.store.indexOf(b),c);return true}}return false},select:function(a,c){this.selectedIndex=a;this.view.select(a);if(c!==false){var b=this.view.getNode(a);if(b){this.innerList.scrollChildIntoView(b,false)}}},selectNext:function(){var a=this.store.getCount();if(a>0){if(this.selectedIndex==-1){this.select(0)}else{if(this.selectedIndex0){if(this.selectedIndex==-1){this.select(0)}else{if(this.selectedIndex!==0){this.select(this.selectedIndex-1)}}}},onKeyUp:function(b){var a=b.getKey();if(this.editable!==false&&this.readOnly!==true&&(a==b.BACKSPACE||!b.isSpecialKey())){this.lastKey=a;this.dqTask.delay(this.queryDelay)}Ext.form.ComboBox.superclass.onKeyUp.call(this,b)},validateBlur:function(){return !this.list||!this.list.isVisible()},initQuery:function(){this.doQuery(this.getRawValue())},beforeBlur:function(){this.assertValue()},postBlur:function(){Ext.form.ComboBox.superclass.postBlur.call(this);this.collapse();this.inKeyMode=false},doQuery:function(c,b){c=Ext.isEmpty(c)?"":c;var a={query:c,forceAll:b,combo:this,cancel:false};if(this.fireEvent("beforequery",a)===false||a.cancel){return false}c=a.query;b=a.forceAll;if(b===true||(c.length>=this.minChars)){if(this.lastQuery!==c){this.lastQuery=c;if(this.mode=="local"){this.selectedIndex=-1;if(b){this.store.clearFilter()}else{this.store.filter(this.displayField,c)}this.onLoad()}else{this.store.baseParams[this.queryParam]=c;this.store.load({params:this.getParams(c)});this.expand()}}else{this.selectedIndex=-1;this.onLoad()}}},getParams:function(a){var b={},c=this.store.paramNames;if(this.pageSize){b[c.start]=0;b[c.limit]=this.pageSize}return b},collapse:function(){if(!this.isExpanded()){return}this.list.hide();Ext.getDoc().un("mousewheel",this.collapseIf,this);Ext.getDoc().un("mousedown",this.collapseIf,this);this.fireEvent("collapse",this)},collapseIf:function(a){if(!this.isDestroyed&&!a.within(this.wrap)&&!a.within(this.list)){this.collapse()}},expand:function(){if(this.isExpanded()||!this.hasFocus){return}if(this.title||this.pageSize){this.assetHeight=0;if(this.title){this.assetHeight+=this.header.getHeight()}if(this.pageSize){this.assetHeight+=this.footer.getHeight()}}if(this.bufferSize){this.doResize(this.bufferSize);delete this.bufferSize}this.list.alignTo.apply(this.list,[this.el].concat(this.listAlign));this.list.setZIndex(this.getZIndex());this.list.show();if(Ext.isGecko2){this.innerList.setOverflow("auto")}this.mon(Ext.getDoc(),{scope:this,mousewheel:this.collapseIf,mousedown:this.collapseIf});this.fireEvent("expand",this)},onTriggerClick:function(){if(this.readOnly||this.disabled){return}if(this.isExpanded()){this.collapse();this.el.focus()}else{this.onFocus({});if(this.triggerAction=="all"){this.doQuery(this.allQuery,true)}else{this.doQuery(this.getRawValue())}this.el.focus()}}});Ext.reg("combo",Ext.form.ComboBox);Ext.form.Checkbox=Ext.extend(Ext.form.Field,{focusClass:undefined,fieldClass:"x-form-field",checked:false,boxLabel:" ",defaultAutoCreate:{tag:"input",type:"checkbox",autocomplete:"off"},actionMode:"wrap",initComponent:function(){Ext.form.Checkbox.superclass.initComponent.call(this);this.addEvents("check")},onResize:function(){Ext.form.Checkbox.superclass.onResize.apply(this,arguments);if(!this.boxLabel&&!this.fieldLabel){this.el.alignTo(this.wrap,"c-c")}},initEvents:function(){Ext.form.Checkbox.superclass.initEvents.call(this);this.mon(this.el,{scope:this,click:this.onClick,change:this.onClick})},markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn,onRender:function(b,a){Ext.form.Checkbox.superclass.onRender.call(this,b,a);if(this.inputValue!==undefined){this.el.dom.value=this.inputValue}this.wrap=this.el.wrap({cls:"x-form-check-wrap"});if(this.boxLabel){this.wrap.createChild({tag:"label",htmlFor:this.el.id,cls:"x-form-cb-label",html:this.boxLabel})}if(this.checked){this.setValue(true)}else{this.checked=this.el.dom.checked}if(Ext.isIE&&!Ext.isStrict){this.wrap.repaint()}this.resizeEl=this.positionEl=this.wrap},onDestroy:function(){Ext.destroy(this.wrap);Ext.form.Checkbox.superclass.onDestroy.call(this)},initValue:function(){this.originalValue=this.getValue()},getValue:function(){if(this.rendered){return this.el.dom.checked}return this.checked},onClick:function(){if(this.el.dom.checked!=this.checked){this.setValue(this.el.dom.checked)}},setValue:function(a){var c=this.checked,b=this.inputValue;if(a===false){this.checked=false}else{this.checked=(a===true||a==="true"||a=="1"||(b?a==b:String(a).toLowerCase()=="on"))}if(this.rendered){this.el.dom.checked=this.checked;this.el.dom.defaultChecked=this.checked}if(c!=this.checked){this.fireEvent("check",this,this.checked);if(this.handler){this.handler.call(this.scope||this,this,this.checked)}}return this}});Ext.reg("checkbox",Ext.form.Checkbox);Ext.form.CheckboxGroup=Ext.extend(Ext.form.Field,{columns:"auto",vertical:false,allowBlank:true,blankText:"You must select at least one item in this group",defaultType:"checkbox",groupCls:"x-form-check-group",initComponent:function(){this.addEvents("change");this.on("change",this.validate,this);Ext.form.CheckboxGroup.superclass.initComponent.call(this)},onRender:function(j,g){if(!this.el){var p={autoEl:{id:this.id},cls:this.groupCls,layout:"column",renderTo:j,bufferResize:false};var a={xtype:"container",defaultType:this.defaultType,layout:"form",defaults:{hideLabel:true,anchor:"100%"}};if(this.items[0].items){Ext.apply(p,{layoutConfig:{columns:this.items.length},defaults:this.defaults,items:this.items});for(var e=0,m=this.items.length;e0&&e%r==0){o++}if(this.items[e].fieldLabel){this.items[e].hideLabel=false}n[o].items.push(this.items[e])}}else{for(var e=0,m=this.items.length;e-1){b.setValue(true)}})},getBox:function(b){var a=null;this.eachItem(function(c){if(b==c||c.dataIndex==b||c.id==b||c.getName()==b){a=c;return false}});return a},getValue:function(){var a=[];this.eachItem(function(b){if(b.checked){a.push(b)}});return a},eachItem:function(b,a){if(this.items&&this.items.each){this.items.each(b,a||this)}},getRawValue:Ext.emptyFn,setRawValue:Ext.emptyFn});Ext.reg("checkboxgroup",Ext.form.CheckboxGroup);Ext.form.CompositeField=Ext.extend(Ext.form.Field,{defaultMargins:"0 5 0 0",skipLastItemMargin:true,isComposite:true,combineErrors:true,labelConnector:", ",initComponent:function(){var g=[],b=this.items,e;for(var d=0,c=b.length;d")},sortErrors:function(){var a=this.items;this.fieldErrors.sort("ASC",function(g,d){var c=function(b){return function(i){return i.getName()==b}};var h=a.findIndexBy(c(g.field)),e=a.findIndexBy(c(d.field));return h1){var a=this.getBox(c);if(a){a.setValue(b);if(a.checked){this.eachItem(function(d){if(d!==a){d.setValue(false)}})}}}else{this.setValueForItem(c)}},setValueForItem:function(a){a=String(a).split(",")[0];this.eachItem(function(b){b.setValue(a==b.inputValue)})},fireChecked:function(){if(!this.checkTask){this.checkTask=new Ext.util.DelayedTask(this.bufferChecked,this)}this.checkTask.delay(10)},bufferChecked:function(){var a=null;this.eachItem(function(b){if(b.checked){a=b;return false}});this.fireEvent("change",this,a)},onDestroy:function(){if(this.checkTask){this.checkTask.cancel();this.checkTask=null}Ext.form.RadioGroup.superclass.onDestroy.call(this)}});Ext.reg("radiogroup",Ext.form.RadioGroup);Ext.form.Hidden=Ext.extend(Ext.form.Field,{inputType:"hidden",shouldLayout:false,onRender:function(){Ext.form.Hidden.superclass.onRender.apply(this,arguments)},initEvents:function(){this.originalValue=this.getValue()},setSize:Ext.emptyFn,setWidth:Ext.emptyFn,setHeight:Ext.emptyFn,setPosition:Ext.emptyFn,setPagePosition:Ext.emptyFn,markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn});Ext.reg("hidden",Ext.form.Hidden);Ext.form.BasicForm=Ext.extend(Ext.util.Observable,{constructor:function(b,a){Ext.apply(this,a);if(Ext.isString(this.paramOrder)){this.paramOrder=this.paramOrder.split(/[\s,|]/)}this.items=new Ext.util.MixedCollection(false,function(c){return c.getItemId()});this.addEvents("beforeaction","actionfailed","actioncomplete");if(b){this.initEl(b)}Ext.form.BasicForm.superclass.constructor.call(this)},timeout:30,paramOrder:undefined,paramsAsHash:false,waitTitle:"Please Wait...",activeAction:null,trackResetOnLoad:false,initEl:function(a){this.el=Ext.get(a);this.id=this.el.id||Ext.id();if(!this.standardSubmit){this.el.on("submit",this.onSubmit,this)}this.el.addClass("x-form")},getEl:function(){return this.el},onSubmit:function(a){a.stopEvent()},destroy:function(a){if(a!==true){this.items.each(function(b){Ext.destroy(b)});Ext.destroy(this.el)}this.items.clear();this.purgeListeners()},isValid:function(){var a=true;this.items.each(function(b){if(!b.validate()){a=false}});return a},isDirty:function(){var a=false;this.items.each(function(b){if(b.isDirty()){a=true;return false}});return a},doAction:function(b,a){if(Ext.isString(b)){b=new Ext.form.Action.ACTION_TYPES[b](this,a)}if(this.fireEvent("beforeaction",this,b)!==false){this.beforeAction(b);b.run.defer(100,b)}return this},submit:function(b){b=b||{};if(this.standardSubmit){var a=b.clientValidation===false||this.isValid();if(a){var c=this.el.dom;if(this.url&&Ext.isEmpty(c.action)){c.action=this.url}c.submit()}return a}var d=String.format("{0}submit",this.api?"direct":"");this.doAction(d,b);return this},load:function(a){var b=String.format("{0}load",this.api?"direct":"");this.doAction(b,a);return this},updateRecord:function(b){b.beginEdit();var a=b.fields,d,c;a.each(function(e){d=this.findField(e.name);if(d){c=d.getValue();if(Ext.type(c)!==false&&c.getGroupValue){c=c.getGroupValue()}else{if(d.eachItem){c=[];d.eachItem(function(g){c.push(g.getValue())})}}b.set(e.name,c)}},this);b.endEdit();return this},loadRecord:function(a){this.setValues(a.data);return this},beforeAction:function(a){this.items.each(function(c){if(c.isFormField&&c.syncValue){c.syncValue()}});var b=a.options;if(b.waitMsg){if(this.waitMsgTarget===true){this.el.mask(b.waitMsg,"x-mask-loading")}else{if(this.waitMsgTarget){this.waitMsgTarget=Ext.get(this.waitMsgTarget);this.waitMsgTarget.mask(b.waitMsg,"x-mask-loading")}else{Ext.MessageBox.wait(b.waitMsg,b.waitTitle||this.waitTitle)}}}},afterAction:function(a,c){this.activeAction=null;var b=a.options;if(b.waitMsg){if(this.waitMsgTarget===true){this.el.unmask()}else{if(this.waitMsgTarget){this.waitMsgTarget.unmask()}else{Ext.MessageBox.updateProgress(1);Ext.MessageBox.hide()}}}if(c){if(b.reset){this.reset()}Ext.callback(b.success,b.scope,[this,a]);this.fireEvent("actioncomplete",this,a)}else{Ext.callback(b.failure,b.scope,[this,a]);this.fireEvent("actionfailed",this,a)}},findField:function(c){var b=this.items.get(c);if(!Ext.isObject(b)){var a=function(d){if(d.isFormField){if(d.dataIndex==c||d.id==c||d.getName()==c){b=d;return false}else{if(d.isComposite){return d.items.each(a)}else{if(d instanceof Ext.form.CheckboxGroup&&d.rendered){return d.eachItem(a)}}}}};this.items.each(a)}return b||null},markInvalid:function(h){if(Ext.isArray(h)){for(var c=0,a=h.length;c':">"),c,"")}return d.join("")},createToolbar:function(e){var c=[];var a=Ext.QuickTips&&Ext.QuickTips.isEnabled();function d(j,h,i){return{itemId:j,cls:"x-btn-icon",iconCls:"x-edit-"+j,enableToggle:h!==false,scope:e,handler:i||e.relayBtnCmd,clickEvent:"mousedown",tooltip:a?e.buttonTips[j]||undefined:undefined,overflowText:e.buttonTips[j].title||undefined,tabIndex:-1}}if(this.enableFont&&!Ext.isSafari2){var g=new Ext.Toolbar.Item({autoEl:{tag:"select",cls:"x-font-select",html:this.createFontOptions()}});c.push(g,"-")}if(this.enableFormat){c.push(d("bold"),d("italic"),d("underline"))}if(this.enableFontSize){c.push("-",d("increasefontsize",false,this.adjustFont),d("decreasefontsize",false,this.adjustFont))}if(this.enableColors){c.push("-",{itemId:"forecolor",cls:"x-btn-icon",iconCls:"x-edit-forecolor",clickEvent:"mousedown",tooltip:a?e.buttonTips.forecolor||undefined:undefined,tabIndex:-1,menu:new Ext.menu.ColorMenu({allowReselect:true,focus:Ext.emptyFn,value:"000000",plain:true,listeners:{scope:this,select:function(i,h){this.execCmd("forecolor",Ext.isWebKit||Ext.isIE?"#"+h:h);this.deferFocus()}},clickEvent:"mousedown"})},{itemId:"backcolor",cls:"x-btn-icon",iconCls:"x-edit-backcolor",clickEvent:"mousedown",tooltip:a?e.buttonTips.backcolor||undefined:undefined,tabIndex:-1,menu:new Ext.menu.ColorMenu({focus:Ext.emptyFn,value:"FFFFFF",plain:true,allowReselect:true,listeners:{scope:this,select:function(i,h){if(Ext.isGecko){this.execCmd("useCSS",false);this.execCmd("hilitecolor",h);this.execCmd("useCSS",true);this.deferFocus()}else{this.execCmd(Ext.isOpera?"hilitecolor":"backcolor",Ext.isWebKit||Ext.isIE?"#"+h:h);this.deferFocus()}}},clickEvent:"mousedown"})})}if(this.enableAlignments){c.push("-",d("justifyleft"),d("justifycenter"),d("justifyright"))}if(!Ext.isSafari2){if(this.enableLinks){c.push("-",d("createlink",false,this.createLink))}if(this.enableLists){c.push("-",d("insertorderedlist"),d("insertunorderedlist"))}if(this.enableSourceEdit){c.push("-",d("sourceedit",true,function(h){this.toggleSourceEdit(!this.sourceEditMode)}))}}var b=new Ext.Toolbar({renderTo:this.wrap.dom.firstChild,items:c});if(g){this.fontSelect=g.el;this.mon(this.fontSelect,"change",function(){var h=this.fontSelect.dom.value;this.relayCmd("fontname",h);this.deferFocus()},this)}this.mon(b.el,"click",function(h){h.preventDefault()});this.tb=b;this.tb.doLayout()},onDisable:function(){this.wrap.mask();Ext.form.HtmlEditor.superclass.onDisable.call(this)},onEnable:function(){this.wrap.unmask();Ext.form.HtmlEditor.superclass.onEnable.call(this)},setReadOnly:function(b){Ext.form.HtmlEditor.superclass.setReadOnly.call(this,b);if(this.initialized){if(Ext.isIE){this.getEditorBody().contentEditable=!b}else{this.setDesignMode(!b)}var a=this.getEditorBody();if(a){a.style.cursor=this.readOnly?"default":"text"}this.disableItems(b)}},getDocMarkup:function(){var a=Ext.fly(this.iframe).getHeight()-this.iframePad*2;return String.format('',this.iframePad,a)},getEditorBody:function(){var a=this.getDoc();return a.body||a.documentElement},getDoc:function(){return Ext.isIE?this.getWin().document:(this.iframe.contentDocument||this.getWin().document)},getWin:function(){return Ext.isIE?this.iframe.contentWindow:window.frames[this.iframe.name]},onRender:function(b,a){Ext.form.HtmlEditor.superclass.onRender.call(this,b,a);this.el.dom.style.border="0 none";this.el.dom.setAttribute("tabIndex",-1);this.el.addClass("x-hidden");if(Ext.isIE){this.el.applyStyles("margin-top:-1px;margin-bottom:-1px;")}this.wrap=this.el.wrap({cls:"x-html-editor-wrap",cn:{cls:"x-html-editor-tb"}});this.createToolbar(this);this.disableItems(true);this.tb.doLayout();this.createIFrame();if(!this.width){var c=this.el.getSize();this.setSize(c.width,this.height||c.height)}this.resizeEl=this.positionEl=this.wrap},createIFrame:function(){var a=document.createElement("iframe");a.name=Ext.id();a.frameBorder="0";a.style.overflow="auto";a.src=Ext.SSL_SECURE_URL;this.wrap.dom.appendChild(a);this.iframe=a;this.monitorTask=Ext.TaskMgr.start({run:this.checkDesignMode,scope:this,interval:100})},initFrame:function(){Ext.TaskMgr.stop(this.monitorTask);var b=this.getDoc();this.win=this.getWin();b.open();b.write(this.getDocMarkup());b.close();var a={run:function(){var c=this.getDoc();if(c.body||c.readyState=="complete"){Ext.TaskMgr.stop(a);this.setDesignMode(true);this.initEditor.defer(10,this)}},interval:10,duration:10000,scope:this};Ext.TaskMgr.start(a)},checkDesignMode:function(){if(this.wrap&&this.wrap.dom.offsetWidth){var a=this.getDoc();if(!a){return}if(!a.editorInitialized||this.getDesignMode()!="on"){this.initFrame()}}},setDesignMode:function(b){var a=this.getDoc();if(a){if(this.readOnly){b=false}a.designMode=(/on|true/i).test(String(b).toLowerCase())?"on":"off"}},getDesignMode:function(){var a=this.getDoc();if(!a){return""}return String(a.designMode).toLowerCase()},disableItems:function(a){if(this.fontSelect){this.fontSelect.dom.disabled=a}this.tb.items.each(function(b){if(b.getItemId()!="sourceedit"){b.setDisabled(a)}})},onResize:function(b,c){Ext.form.HtmlEditor.superclass.onResize.apply(this,arguments);if(this.el&&this.iframe){if(Ext.isNumber(b)){var e=b-this.wrap.getFrameWidth("lr");this.el.setWidth(e);this.tb.setWidth(e);this.iframe.style.width=Math.max(e,0)+"px"}if(Ext.isNumber(c)){var a=c-this.wrap.getFrameWidth("tb")-this.tb.el.getHeight();this.el.setHeight(a);this.iframe.style.height=Math.max(a,0)+"px";var d=this.getEditorBody();if(d){d.style.height=Math.max((a-(this.iframePad*2)),0)+"px"}}}},toggleSourceEdit:function(b){var d,a;if(b===undefined){b=!this.sourceEditMode}this.sourceEditMode=b===true;var c=this.tb.getComponent("sourceedit");if(c.pressed!==this.sourceEditMode){c.toggle(this.sourceEditMode);if(!c.xtbHidden){return}}if(this.sourceEditMode){this.previousSize=this.getSize();d=Ext.get(this.iframe).getHeight();this.disableItems(true);this.syncValue();this.iframe.className="x-hidden";this.el.removeClass("x-hidden");this.el.dom.removeAttribute("tabIndex");this.el.focus();this.el.dom.style.height=d+"px"}else{a=parseInt(this.el.dom.style.height,10);if(this.initialized){this.disableItems(this.readOnly)}this.pushValue();this.iframe.className="";this.el.addClass("x-hidden");this.el.dom.setAttribute("tabIndex",-1);this.deferFocus();this.setSize(this.previousSize);delete this.previousSize;this.iframe.style.height=a+"px"}this.fireEvent("editmodechange",this,this.sourceEditMode)},createLink:function(){var a=prompt(this.createLinkText,this.defaultLinkValue);if(a&&a!="http://"){this.relayCmd("createlink",a)}},initEvents:function(){this.originalValue=this.getValue()},markInvalid:Ext.emptyFn,clearInvalid:Ext.emptyFn,setValue:function(a){Ext.form.HtmlEditor.superclass.setValue.call(this,a);this.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(){if(this.initialized){var d=this.getEditorBody();var c=d.innerHTML;if(Ext.isWebKit){var b=d.getAttribute("style");var a=b.match(/text-align:(.*?);/i);if(a&&a[1]){c='
    '+c+"
    "}}c=this.cleanHtml(c);if(this.fireEvent("beforesync",this,c)!==false){this.el.dom.value=c;this.fireEvent("sync",this,c)}}},getValue:function(){this[this.sourceEditMode?"pushValue":"syncValue"]();return Ext.form.HtmlEditor.superclass.getValue.call(this)},pushValue:function(){if(this.initialized){var a=this.el.dom.value;if(!this.activated&&a.length<1){a=this.defaultValue}if(this.fireEvent("beforepush",this,a)!==false){this.getEditorBody().innerHTML=a;if(Ext.isGecko){this.setDesignMode(false);this.setDesignMode(true)}this.fireEvent("push",this,a)}}},deferFocus:function(){this.focus.defer(10,this)},focus:function(){if(this.win&&!this.sourceEditMode){this.win.focus()}else{this.el.focus()}},initEditor:function(){try{var c=this.getEditorBody(),a=this.el.getStyles("font-size","font-family","background-image","background-repeat","background-color","color"),g,b;a["background-attachment"]="fixed";c.bgProperties="fixed";Ext.DomHelper.applyStyles(c,a);g=this.getDoc();if(g){try{Ext.EventManager.removeAll(g)}catch(d){}}b=this.onEditorEvent.createDelegate(this);Ext.EventManager.on(g,{mousedown:b,dblclick:b,click:b,keyup:b,buffer:100});if(Ext.isGecko){Ext.EventManager.on(g,"keypress",this.applyCommand,this)}if(Ext.isIE||Ext.isWebKit||Ext.isOpera){Ext.EventManager.on(g,"keydown",this.fixKeys,this)}g.editorInitialized=true;this.initialized=true;this.pushValue();this.setReadOnly(this.readOnly);this.fireEvent("initialize",this)}catch(d){}},beforeDestroy:function(){if(this.monitorTask){Ext.TaskMgr.stop(this.monitorTask)}if(this.rendered){Ext.destroy(this.tb);var b=this.getDoc();if(b){try{Ext.EventManager.removeAll(b);for(var c in b){delete b[c]}}catch(a){}}if(this.wrap){this.wrap.dom.innerHTML="";this.wrap.remove()}}Ext.form.HtmlEditor.superclass.beforeDestroy.call(this)},onFirstFocus:function(){this.activated=true;this.disableItems(this.readOnly);if(Ext.isGecko){this.win.focus();var a=this.win.getSelection();if(!a.focusNode||a.focusNode.nodeType!=3){var b=a.getRangeAt(0);b.selectNodeContents(this.getEditorBody());b.collapse(true);this.deferFocus()}try{this.execCmd("useCSS",true);this.execCmd("styleWithCSS",false)}catch(c){}}this.fireEvent("activate",this)},adjustFont:function(b){var d=b.getItemId()=="increasefontsize"?1:-1,c=this.getDoc(),a=parseInt(c.queryCommandValue("FontSize")||2,10);if((Ext.isSafari&&!Ext.isSafari2)||Ext.isChrome||Ext.isAir){if(a<=10){a=1+d}else{if(a<=13){a=2+d}else{if(a<=16){a=3+d}else{if(a<=18){a=4+d}else{if(a<=24){a=5+d}else{a=6+d}}}}}a=a.constrain(1,6)}else{if(Ext.isSafari){d*=2}a=Math.max(1,a+d)+(Ext.isSafari?"px":0)}this.execCmd("FontSize",a)},onEditorEvent:function(a){this.updateToolbar()},updateToolbar:function(){if(this.readOnly){return}if(!this.activated){this.onFirstFocus();return}var b=this.tb.items.map,c=this.getDoc();if(this.enableFont&&!Ext.isSafari2){var a=(c.queryCommandValue("FontName")||this.defaultFont).toLowerCase();if(a!=this.fontSelect.dom.value){this.fontSelect.dom.value=a}}if(this.enableFormat){b.bold.toggle(c.queryCommandState("bold"));b.italic.toggle(c.queryCommandState("italic"));b.underline.toggle(c.queryCommandState("underline"))}if(this.enableAlignments){b.justifyleft.toggle(c.queryCommandState("justifyleft"));b.justifycenter.toggle(c.queryCommandState("justifycenter"));b.justifyright.toggle(c.queryCommandState("justifyright"))}if(!Ext.isSafari2&&this.enableLists){b.insertorderedlist.toggle(c.queryCommandState("insertorderedlist"));b.insertunorderedlist.toggle(c.queryCommandState("insertunorderedlist"))}Ext.menu.MenuMgr.hideAll();this.syncValue()},relayBtnCmd:function(a){this.relayCmd(a.getItemId())},relayCmd:function(b,a){(function(){this.focus();this.execCmd(b,a);this.updateToolbar()}).defer(10,this)},execCmd:function(b,a){var c=this.getDoc();c.execCommand(b,false,a===undefined?null:a);this.syncValue()},applyCommand:function(b){if(b.ctrlKey){var d=b.getCharCode(),a;if(d>0){d=String.fromCharCode(d);switch(d){case"b":a="bold";break;case"i":a="italic";break;case"u":a="underline";break}if(a){this.win.focus();this.execCmd(a);this.deferFocus();b.preventDefault()}}}},insertAtCursor:function(c){if(!this.activated){return}if(Ext.isIE){this.win.focus();var b=this.getDoc(),a=b.selection.createRange();if(a){a.pasteHTML(c);this.syncValue();this.deferFocus()}}else{this.win.focus();this.execCmd("InsertHTML",c);this.deferFocus()}},fixKeys:function(){if(Ext.isIE){return function(g){var a=g.getKey(),d=this.getDoc(),b;if(a==g.TAB){g.stopEvent();b=d.selection.createRange();if(b){b.collapse(true);b.pasteHTML("    ");this.deferFocus()}}else{if(a==g.ENTER){b=d.selection.createRange();if(b){var c=b.parentElement();if(!c||c.tagName.toLowerCase()!="li"){g.stopEvent();b.pasteHTML("
    ");b.collapse(false);b.select()}}}}}}else{if(Ext.isOpera){return function(b){var a=b.getKey();if(a==b.TAB){b.stopEvent();this.win.focus();this.execCmd("InsertHTML","    ");this.deferFocus()}}}else{if(Ext.isWebKit){return function(b){var a=b.getKey();if(a==b.TAB){b.stopEvent();this.execCmd("InsertText","\t");this.deferFocus()}else{if(a==b.ENTER){b.stopEvent();this.execCmd("InsertHtml","

    ");this.deferFocus()}}}}}}}(),getToolbar:function(){return this.tb},buttonTips:{bold:{title:"Bold (Ctrl+B)",text:"Make the selected text bold.",cls:"x-html-editor-tip"},italic:{title:"Italic (Ctrl+I)",text:"Make the selected text italic.",cls:"x-html-editor-tip"},underline:{title:"Underline (Ctrl+U)",text:"Underline the selected text.",cls:"x-html-editor-tip"},increasefontsize:{title:"Grow Text",text:"Increase the font size.",cls:"x-html-editor-tip"},decreasefontsize:{title:"Shrink Text",text:"Decrease the font size.",cls:"x-html-editor-tip"},backcolor:{title:"Text Highlight Color",text:"Change the background color of the selected text.",cls:"x-html-editor-tip"},forecolor:{title:"Font Color",text:"Change the color of the selected text.",cls:"x-html-editor-tip"},justifyleft:{title:"Align Text Left",text:"Align text to the left.",cls:"x-html-editor-tip"},justifycenter:{title:"Center Text",text:"Center text in the editor.",cls:"x-html-editor-tip"},justifyright:{title:"Align Text Right",text:"Align text to the right.",cls:"x-html-editor-tip"},insertunorderedlist:{title:"Bullet List",text:"Start a bulleted list.",cls:"x-html-editor-tip"},insertorderedlist:{title:"Numbered List",text:"Start a numbered list.",cls:"x-html-editor-tip"},createlink:{title:"Hyperlink",text:"Make the selected text a hyperlink.",cls:"x-html-editor-tip"},sourceedit:{title:"Source Edit",text:"Switch to source editing mode.",cls:"x-html-editor-tip"}}});Ext.reg("htmleditor",Ext.form.HtmlEditor);Ext.form.TimeField=Ext.extend(Ext.form.ComboBox,{minValue:undefined,maxValue:undefined,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,mode:"local",triggerAction:"all",typeAhead:false,initDate:"1/1/2008",initDateFormat:"j/n/Y",initComponent:function(){if(Ext.isDefined(this.minValue)){this.setMinValue(this.minValue,true)}if(Ext.isDefined(this.maxValue)){this.setMaxValue(this.maxValue,true)}if(!this.store){this.generateStore(true)}Ext.form.TimeField.superclass.initComponent.call(this)},setMinValue:function(b,a){this.setLimit(b,true,a);return this},setMaxValue:function(b,a){this.setLimit(b,false,a);return this},generateStore:function(b){var c=this.minValue||new Date(this.initDate).clearTime(),a=this.maxValue||new Date(this.initDate).clearTime().add("mi",(24*60)-1),d=[];while(c<=a){d.push(c.dateFormat(this.format));c=c.add("mi",this.increment)}this.bindStore(d,b)},setLimit:function(b,g,a){var e;if(Ext.isString(b)){e=this.parseDate(b)}else{if(Ext.isDate(b)){e=b}}if(e){var c=new Date(this.initDate).clearTime();c.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());this[g?"minValue":"maxValue"]=c;if(!a){this.generateStore()}}},getValue:function(){var a=Ext.form.TimeField.superclass.getValue.call(this);return this.formatDate(this.parseDate(a))||""},setValue:function(a){return Ext.form.TimeField.superclass.setValue.call(this,this.formatDate(this.parseDate(a)))},validateValue:Ext.form.DateField.prototype.validateValue,formatDate:Ext.form.DateField.prototype.formatDate,parseDate:function(h){if(!h||Ext.isDate(h)){return h}var j=this.initDate+" ",g=this.initDateFormat+" ",b=Date.parseDate(j+h,g+this.format),c=this.altFormats;if(!b&&c){if(!this.altFormatsArray){this.altFormatsArray=c.split("|")}for(var e=0,d=this.altFormatsArray,a=d.length;e=0){if(!d){c=g-1}d=false;while(c>=0){if(e.call(j||this,k,c,i)===true){return[k,c]}c--}k--}}else{if(c>=g){k++;d=false}while(k','
    ','
    ','
    ','
    {header}
    ',"
    ",'
    ',"
    ",'
    ','
    {body}
    ','',"
    ","
    ",'
     
    ','
     
    ',""),headerTpl:new Ext.Template('',"",'{cells}',"","
    "),bodyTpl:new Ext.Template("{rows}"),cellTpl:new Ext.Template('','
    {value}
    ',""),initTemplates:function(){var c=this.templates||{},d,b,g=new Ext.Template('','
    ',this.grid.enableHdMenu?'':"","{value}",'',"
    ",""),a=['','','
    {body}
    ',"",""].join(""),e=['',"","{cells}",this.enableRowBody?a:"","","
    "].join("");Ext.applyIf(c,{hcell:g,cell:this.cellTpl,body:this.bodyTpl,header:this.headerTpl,master:this.masterTpl,row:new Ext.Template('
    '+e+"
    "),rowInner:new Ext.Template(e)});for(b in c){d=c[b];if(d&&Ext.isFunction(d.compile)&&!d.compiled){d.disableFormats=true;d.compile()}}this.templates=c;this.colRe=new RegExp("x-grid3-td-([^\\s]+)","")},fly:function(a){if(!this._flyweight){this._flyweight=new Ext.Element.Flyweight(document.body)}this._flyweight.dom=a;return this._flyweight},getEditorParent:function(){return this.scroller.dom},initElements:function(){var b=Ext.Element,d=Ext.get(this.grid.getGridEl().dom.firstChild),e=new b(d.child("div.x-grid3-viewport")),c=new b(e.child("div.x-grid3-header")),a=new b(e.child("div.x-grid3-scroller"));if(this.grid.hideHeaders){c.setDisplayed(false)}if(this.forceFit){a.setStyle("overflow-x","hidden")}Ext.apply(this,{el:d,mainWrap:e,scroller:a,mainHd:c,innerHd:c.child("div.x-grid3-header-inner").dom,mainBody:new b(b.fly(a).child("div.x-grid3-body")),focusEl:new b(b.fly(a).child("a")),resizeMarker:new b(d.child("div.x-grid3-resize-marker")),resizeProxy:new b(d.child("div.x-grid3-resize-proxy"))});this.focusEl.swallowEvent("click",true)},getRows:function(){return this.hasRows()?this.mainBody.dom.childNodes:[]},findCell:function(a){if(!a){return false}return this.fly(a).findParent(this.cellSelector,this.cellSelectorDepth)},findCellIndex:function(d,c){var b=this.findCell(d),a;if(b){a=this.fly(b).hasClass(c);if(!c||a){return this.getCellIndex(b)}}return false},getCellIndex:function(b){if(b){var a=b.className.match(this.colRe);if(a&&a[1]){return this.cm.getIndexById(a[1])}}return false},findHeaderCell:function(b){var a=this.findCell(b);return a&&this.fly(a).hasClass(this.hdCls)?a:null},findHeaderIndex:function(a){return this.findCellIndex(a,this.hdCls)},findRow:function(a){if(!a){return false}return this.fly(a).findParent(this.rowSelector,this.rowSelectorDepth)},findRowIndex:function(a){var b=this.findRow(a);return b?b.rowIndex:false},findRowBody:function(a){if(!a){return false}return this.fly(a).findParent(this.rowBodySelector,this.rowBodySelectorDepth)},getRow:function(a){return this.getRows()[a]},getCell:function(b,a){return Ext.fly(this.getRow(b)).query(this.cellSelector)[a]},getHeaderCell:function(a){return this.mainHd.dom.getElementsByTagName("td")[a]},addRowClass:function(b,a){var c=this.getRow(b);if(c){this.fly(c).addClass(a)}},removeRowClass:function(c,a){var b=this.getRow(c);if(b){this.fly(b).removeClass(a)}},removeRow:function(a){Ext.removeNode(this.getRow(a));this.syncFocusEl(a)},removeRows:function(c,a){var b=this.mainBody.dom,d;for(d=c;d<=a;d++){Ext.removeNode(b.childNodes[c])}this.syncFocusEl(c)},getScrollState:function(){var a=this.scroller.dom;return{left:a.scrollLeft,top:a.scrollTop}},restoreScroll:function(a){var b=this.scroller.dom;b.scrollLeft=a.left;b.scrollTop=a.top},scrollToTop:function(){var a=this.scroller.dom;a.scrollTop=0;a.scrollLeft=0},syncScroll:function(){this.syncHeaderScroll();var a=this.scroller.dom;this.grid.fireEvent("bodyscroll",a.scrollLeft,a.scrollTop)},syncHeaderScroll:function(){var a=this.innerHd,b=this.scroller.dom.scrollLeft;a.scrollLeft=b;a.scrollLeft=b},updateSortIcon:function(d,c){var a=this.sortClasses,b=a[c=="DESC"?1:0],e=this.mainHd.select("td").removeClass(a);e.item(d).addClass(b)},updateAllColumnWidths:function(){var e=this.getTotalWidth(),k=this.cm.getColumnCount(),m=this.getRows(),g=m.length,b=[],l,a,h,d,c;for(d=0;d=this.ds.getCount()){return null}d=(d!==undefined?d:0);var c=this.getRow(h),b=this.cm,e=b.getColumnCount(),a;if(!(g===false&&d===0)){while(dm){n.scrollTop=q-a}}if(e!==false){var l=parseInt(h.offsetLeft,10),j=l+h.offsetWidth,i=parseInt(n.scrollLeft,10),b=i+n.clientWidth;if(lb){n.scrollLeft=j-n.clientWidth}}}return this.getResolvedXY(r)},insertRows:function(a,i,e,h){var d=a.getCount()-1;if(!h&&i===0&&e>=d){this.fireEvent("beforerowsinserted",this,i,e);this.refresh();this.fireEvent("rowsinserted",this,i,e)}else{if(!h){this.fireEvent("beforerowsinserted",this,i,e)}var b=this.renderRows(i,e),g=this.getRow(i);if(g){if(i===0){Ext.fly(this.getRow(0)).removeClass(this.firstRowCls)}Ext.DomHelper.insertHtml("beforeBegin",g,b)}else{var c=this.getRow(d-1);if(c){Ext.fly(c).removeClass(this.lastRowCls)}Ext.DomHelper.insertHtml("beforeEnd",this.mainBody.dom,b)}if(!h){this.processRows(i);this.fireEvent("rowsinserted",this,i,e)}else{if(i===0||i>=d){Ext.fly(this.getRow(i)).addClass(i===0?this.firstRowCls:this.lastRowCls)}}}this.syncFocusEl(i)},deleteRows:function(a,c,b){if(a.getRowCount()<1){this.refresh()}else{this.fireEvent("beforerowsdeleted",this,c,b);this.removeRows(c,b);this.processRows(c);this.fireEvent("rowsdeleted",this,c,b)}},getColumnStyle:function(b,d){var a=this.cm,g=a.config,c=d?"":g[b].css||"",e=g[b].align;c+=String.format("width: {0};",this.getColumnWidth(b));if(a.isHidden(b)){c+="display: none; "}if(e){c+=String.format("text-align: {0};",e)}return c},getColumnWidth:function(b){var c=this.cm.getColumnWidth(b),a=this.borderWidth;if(Ext.isNumber(c)){if(Ext.isBorderBox||(Ext.isWebKit&&!Ext.isSafari2)){return c+"px"}else{return Math.max(c-a,0)+"px"}}else{return c}},getTotalWidth:function(){return this.cm.getTotalWidth()+"px"},fitColumns:function(g,j,h){var a=this.grid,l=this.cm,s=l.getTotalWidth(false),q=this.getGridInnerWidth(),r=q-s,c=[],o=0,n=0,u,d,p;if(q<20||r===0){return false}var e=l.getColumnCount(true),m=l.getColumnCount(false),b=e-(Ext.isNumber(h)?1:0);if(b===0){b=1;h=undefined}for(p=0;pq){var t=(b==e)?o:h,k=Math.max(1,l.getColumnWidth(t)-(s-q));l.setColumnWidth(t,k,true)}if(g!==true){this.updateAllColumnWidths()}return true},autoExpand:function(k){var a=this.grid,i=this.cm,e=this.getGridInnerWidth(),c=i.getTotalWidth(false),g=a.autoExpandColumn;if(!this.userResized&&g){if(e!=c){var j=i.getIndexById(g),b=i.getColumnWidth(j),h=e-c+b,d=Math.min(Math.max(h,a.autoExpandMin),a.autoExpandMax);if(b!=d){i.setColumnWidth(j,d,true);if(k!==true){this.updateColumnWidth(j,d)}}}}},getGridInnerWidth:function(){return this.grid.getGridEl().getWidth(true)-this.getScrollOffset()},getColumnData:function(){var e=[],c=this.cm,g=c.getColumnCount(),a=this.ds.fields,d,b;for(d=0;d'+this.emptyText+"")}},updateHeaderSortState:function(){var b=this.ds.getSortState();if(!b){return}if(!this.sortState||(this.sortState.field!=b.field||this.sortState.direction!=b.direction)){this.grid.fireEvent("sortchange",this.grid,b)}this.sortState=b;var c=this.cm.findColumnIndex(b.field);if(c!=-1){var a=b.direction;this.updateSortIcon(c,a)}},clearHeaderSortState:function(){if(!this.sortState){return}this.grid.fireEvent("sortchange",this.grid,null);this.mainHd.select("td").removeClass(this.sortClasses);delete this.sortState},destroy:function(){var j=this,a=j.grid,d=a.getGridEl(),i=j.dragZone,g=j.splitZone,h=j.columnDrag,e=j.columnDrop,k=j.scrollToTopTask,c,b;if(k&&k.cancel){k.cancel()}Ext.destroyMembers(j,"colMenu","hmenu");j.initData(null,null);j.purgeListeners();Ext.fly(j.innerHd).un("click",j.handleHdDown,j);if(a.enableColumnMove){c=h.dragData;b=h.proxy;Ext.destroy(h.el,b.ghost,b.el,e.el,e.proxyTop,e.proxyBottom,c.ddel,c.header);if(b.anim){Ext.destroy(b.anim)}delete b.ghost;delete c.ddel;delete c.header;h.destroy();delete Ext.dd.DDM.locationCache[h.id];delete h._domRef;delete e.proxyTop;delete e.proxyBottom;e.destroy();delete Ext.dd.DDM.locationCache["gridHeader"+d.id];delete e._domRef;delete Ext.dd.DDM.ids[e.ddGroup]}if(g){g.destroy();delete g._domRef;delete Ext.dd.DDM.ids["gridSplitters"+d.id]}Ext.fly(j.innerHd).removeAllListeners();Ext.removeNode(j.innerHd);delete j.innerHd;Ext.destroy(j.el,j.mainWrap,j.mainHd,j.scroller,j.mainBody,j.focusEl,j.resizeMarker,j.resizeProxy,j.activeHdBtn,j._flyweight,i,g);delete a.container;if(i){i.destroy()}Ext.dd.DDM.currentTarget=null;delete Ext.dd.DDM.locationCache[d.id];Ext.EventManager.removeResizeListener(j.onWindowResize,j)},onDenyColumnHide:function(){},render:function(){if(this.autoFill){var a=this.grid.ownerCt;if(a&&a.getLayout()){a.on("afterlayout",function(){this.fitColumns(true,true);this.updateHeaders();this.updateHeaderSortState()},this,{single:true})}}else{if(this.forceFit){this.fitColumns(true,false)}else{if(this.grid.autoExpandColumn){this.autoExpand(true)}}}this.grid.getGridEl().dom.innerHTML=this.renderUI();this.afterRenderUI()},initData:function(a,e){var b=this;if(b.ds){var d=b.ds;d.un("add",b.onAdd,b);d.un("load",b.onLoad,b);d.un("clear",b.onClear,b);d.un("remove",b.onRemove,b);d.un("update",b.onUpdate,b);d.un("datachanged",b.onDataChange,b);if(d!==a&&d.autoDestroy){d.destroy()}}if(a){a.on({scope:b,load:b.onLoad,add:b.onAdd,remove:b.onRemove,update:b.onUpdate,clear:b.onClear,datachanged:b.onDataChange})}if(b.cm){var c=b.cm;c.un("configchange",b.onColConfigChange,b);c.un("widthchange",b.onColWidthChange,b);c.un("headerchange",b.onHeaderChange,b);c.un("hiddenchange",b.onHiddenChange,b);c.un("columnmoved",b.onColumnMove,b)}if(e){delete b.lastViewWidth;e.on({scope:b,configchange:b.onColConfigChange,widthchange:b.onColWidthChange,headerchange:b.onHeaderChange,hiddenchange:b.onHiddenChange,columnmoved:b.onColumnMove})}b.ds=a;b.cm=e},onDataChange:function(){this.refresh(true);this.updateHeaderSortState();this.syncFocusEl(0)},onClear:function(){this.refresh();this.syncFocusEl(0)},onUpdate:function(b,a){this.refreshRow(a)},onAdd:function(b,a,c){this.insertRows(b,c,c+(a.length-1))},onRemove:function(b,a,c,d){if(d!==true){this.fireEvent("beforerowremoved",this,c,a)}this.removeRow(c);if(d!==true){this.processRows(c);this.applyEmptyText();this.fireEvent("rowremoved",this,c,a)}},onLoad:function(){if(Ext.isGecko){if(!this.scrollToTopTask){this.scrollToTopTask=new Ext.util.DelayedTask(this.scrollToTop,this)}this.scrollToTopTask.delay(1)}else{this.scrollToTop()}},onColWidthChange:function(a,b,c){this.updateColumnWidth(b,c)},onHeaderChange:function(a,b,c){this.updateHeaders()},onHiddenChange:function(a,b,c){this.updateColumnHidden(b,c)},onColumnMove:function(a,c,b){this.indexMap=null;this.refresh(true);this.restoreScroll(this.getScrollState());this.afterMove(b);this.grid.fireEvent("columnmove",c,b)},onColConfigChange:function(){delete this.lastViewWidth;this.indexMap=null;this.refresh(true)},initUI:function(a){a.on("headerclick",this.onHeaderClick,this)},initEvents:Ext.emptyFn,onHeaderClick:function(b,a){if(this.headersDisabled||!this.cm.isSortable(a)){return}b.stopEditing(true);b.store.sort(this.cm.getDataIndex(a))},onRowOver:function(b,a){var c=this.findRowIndex(a);if(c!==false){this.addRowClass(c,this.rowOverCls)}},onRowOut:function(b,a){var c=this.findRowIndex(a);if(c!==false&&!b.within(this.getRow(c),true)){this.removeRowClass(c,this.rowOverCls)}},onRowSelect:function(a){this.addRowClass(a,this.selectedRowClass)},onRowDeselect:function(a){this.removeRowClass(a,this.selectedRowClass)},onCellSelect:function(c,b){var a=this.getCell(c,b);if(a){this.fly(a).addClass("x-grid3-cell-selected")}},onCellDeselect:function(c,b){var a=this.getCell(c,b);if(a){this.fly(a).removeClass("x-grid3-cell-selected")}},handleWheel:function(a){a.stopPropagation()},onColumnSplitterMoved:function(a,b){this.userResized=true;this.grid.colModel.setColumnWidth(a,b,true);if(this.forceFit){this.fitColumns(true,false,a);this.updateAllColumnWidths()}else{this.updateColumnWidth(a,b);this.syncHeaderScroll()}this.grid.fireEvent("columnresize",a,b)},beforeColMenuShow:function(){var b=this.cm,d=b.getColumnCount(),a=this.colMenu,c;a.removeAll();for(c=0;c0){if(!this.cm.isHidden(a-1)){return a}a--}return undefined},handleHdOver:function(c,b){var d=this.findHeaderCell(b);if(d&&!this.headersDisabled){var a=this.fly(d);this.activeHdRef=b;this.activeHdIndex=this.getCellIndex(d);this.activeHdRegion=a.getRegion();if(!this.isMenuDisabled(this.activeHdIndex,a)){a.addClass("x-grid3-hd-over");this.activeHdBtn=a.child(".x-grid3-hd-btn");if(this.activeHdBtn){this.activeHdBtn.dom.style.height=(d.firstChild.offsetHeight-1)+"px"}}}},handleHdOut:function(b,a){var c=this.findHeaderCell(a);if(c&&(!Ext.isIE||!b.within(c,true))){this.activeHdRef=null;this.fly(c).removeClass("x-grid3-hd-over");c.style.cursor=""}},isMenuDisabled:function(a,b){return this.cm.isMenuDisabled(a)},hasRows:function(){var a=this.mainBody.dom.firstChild;return a&&a.nodeType==1&&a.className!="x-grid-empty"},isHideableColumn:function(a){return !a.hidden},bind:function(a,b){this.initData(a,b)}});Ext.grid.GridView.SplitDragZone=Ext.extend(Ext.dd.DDProxy,{constructor:function(a,b){this.grid=a;this.view=a.getView();this.marker=this.view.resizeMarker;this.proxy=this.view.resizeProxy;Ext.grid.GridView.SplitDragZone.superclass.constructor.call(this,b,"gridSplitters"+this.grid.getGridEl().id,{dragElId:Ext.id(this.proxy.dom),resizeFrame:false});this.scroll=false;this.hw=this.view.splitHandleWidth||5},b4StartDrag:function(a,e){this.dragHeadersDisabled=this.view.headersDisabled;this.view.headersDisabled=true;var d=this.view.mainWrap.getHeight();this.marker.setHeight(d);this.marker.show();this.marker.alignTo(this.view.getHeaderCell(this.cellIndex),"tl-tl",[-2,0]);this.proxy.setHeight(d);var b=this.cm.getColumnWidth(this.cellIndex),c=Math.max(b-this.grid.minColumnWidth,0);this.resetConstraints();this.setXConstraint(c,1000);this.setYConstraint(0,0);this.minX=a-c;this.maxX=a+1000;this.startPos=a;Ext.dd.DDProxy.prototype.b4StartDrag.call(this,a,e)},allowHeaderDrag:function(a){return true},handleMouseDown:function(a){var h=this.view.findHeaderCell(a.getTarget());if(h&&this.allowHeaderDrag(a)){var k=this.view.fly(h).getXY(),c=k[0],i=a.getXY(),b=i[0],g=h.offsetWidth,d=false;if((b-c)<=this.hw){d=-1}else{if((c+g)-b<=this.hw){d=0}}if(d!==false){this.cm=this.grid.colModel;var j=this.view.getCellIndex(h);if(d==-1){if(j+d<0){return}while(this.cm.isHidden(j+d)){--d;if(j+d<0){return}}}this.cellIndex=j+d;this.split=h.dom;if(this.cm.isResizable(this.cellIndex)&&!this.cm.isFixed(this.cellIndex)){Ext.grid.GridView.SplitDragZone.superclass.handleMouseDown.apply(this,arguments)}}else{if(this.view.columnDrag){this.view.columnDrag.callHandleMouseDown(a)}}}},endDrag:function(g){this.marker.hide();var a=this.view,c=Math.max(this.minX,g.getPageX()),d=c-this.startPos,b=this.dragHeadersDisabled;a.onColumnSplitterMoved(this.cellIndex,this.cm.getColumnWidth(this.cellIndex)+d);setTimeout(function(){a.headersDisabled=b},50)},autoOffset:function(){this.setDelta(0,0)}});Ext.grid.PivotGridView=Ext.extend(Ext.grid.GridView,{colHeaderCellCls:"grid-hd-group-cell",title:"",getColumnHeaders:function(){return this.grid.topAxis.buildHeaders()},getRowHeaders:function(){return this.grid.leftAxis.buildHeaders()},renderRows:function(a,t){var b=this.grid,o=b.extractData(),p=o.length,g=this.templates,s=b.renderer,h=typeof s=="function",w=this.getCellCls,n=typeof w=="function",d=g.cell,x=g.row,k=[],q={},c="width:"+this.getGridInnerWidth()+"px;",l,r,e,v,m;a=a||0;t=Ext.isDefined(t)?t:p-1;for(v=0;v','
    ','
    ','
    {title}
    ','
    ','
    ',"
    ",'
    ',"
    ",'
    ','
    ','
    {body}
    ','',"
    ","
    ",'
     
    ','
     
    ',""),initTemplates:function(){Ext.grid.PivotGridView.superclass.initTemplates.apply(this,arguments);var a=this.templates||{};if(!a.gcell){a.gcell=new Ext.XTemplate('','
    ',this.grid.enableHdMenu?'':"","{value}","
    ","")}this.templates=a;this.hrowRe=new RegExp("ux-grid-hd-group-row-(\\d+)","")},initElements:function(){Ext.grid.PivotGridView.superclass.initElements.apply(this,arguments);this.rowHeadersEl=new Ext.Element(this.scroller.child("div.x-grid3-row-headers"));this.headerTitleEl=new Ext.Element(this.mainHd.child("div.x-grid3-header-title"))},getGridInnerWidth:function(){var a=Ext.grid.PivotGridView.superclass.getGridInnerWidth.apply(this,arguments);return a-this.getTotalRowHeaderWidth()},getTotalRowHeaderWidth:function(){var d=this.getRowHeaders(),c=d.length,b=0,a;for(a=0;a0&&d>0){h=h||o.data[a[g-1].dataIndex]!=l[d-1].data[a[g-1].dataIndex]}if(h){s.push({header:q,span:p,start:b});b+=p;p=0}if(k){s.push({header:n,span:p+1,start:b});b+=p;p=0}q=n;p++}c.push({items:s,width:e.width||this.defaultHeaderWidth});q=undefined}return c}});Ext.grid.HeaderDragZone=Ext.extend(Ext.dd.DragZone,{maxDragWidth:120,constructor:function(a,c,b){this.grid=a;this.view=a.getView();this.ddGroup="gridHeader"+this.grid.getGridEl().id;Ext.grid.HeaderDragZone.superclass.constructor.call(this,c);if(b){this.setHandleElId(Ext.id(c));this.setOuterHandleElId(Ext.id(b))}this.scroll=false},getDragData:function(c){var a=Ext.lib.Event.getTarget(c),b=this.view.findHeaderCell(a);if(b){return{ddel:b.firstChild,header:b}}return false},onInitDrag:function(a){this.dragHeadersDisabled=this.view.headersDisabled;this.view.headersDisabled=true;var b=this.dragData.ddel.cloneNode(true);b.id=Ext.id();b.style.width=Math.min(this.dragData.header.offsetWidth,this.maxDragWidth)+"px";this.proxy.update(b);return true},afterValidDrop:function(){this.completeDrop()},afterInvalidDrop:function(){this.completeDrop()},completeDrop:function(){var a=this.view,b=this.dragHeadersDisabled;setTimeout(function(){a.headersDisabled=b},50)}});Ext.grid.HeaderDropZone=Ext.extend(Ext.dd.DropZone,{proxyOffsets:[-4,-9],fly:Ext.Element.fly,constructor:function(a,c,b){this.grid=a;this.view=a.getView();this.proxyTop=Ext.DomHelper.append(document.body,{cls:"col-move-top",html:" "},true);this.proxyBottom=Ext.DomHelper.append(document.body,{cls:"col-move-bottom",html:" "},true);this.proxyTop.hide=this.proxyBottom.hide=function(){this.setLeftTop(-100,-100);this.setStyle("visibility","hidden")};this.ddGroup="gridHeader"+this.grid.getGridEl().id;Ext.grid.HeaderDropZone.superclass.constructor.call(this,a.getGridEl().dom)},getTargetFromEvent:function(c){var a=Ext.lib.Event.getTarget(c),b=this.view.findCellIndex(a);if(b!==false){return this.view.getHeaderCell(b)}},nextVisible:function(c){var b=this.view,a=this.grid.colModel;c=c.nextSibling;while(c){if(!a.isHidden(b.getCellIndex(c))){return c}c=c.nextSibling}return null},prevVisible:function(c){var b=this.view,a=this.grid.colModel;c=c.prevSibling;while(c){if(!a.isHidden(b.getCellIndex(c))){return c}c=c.prevSibling}return null},positionIndicator:function(d,k,j){var a=Ext.lib.Event.getPageX(j),g=Ext.lib.Dom.getRegion(k.firstChild),c,i,b=g.top+this.proxyOffsets[1];if((g.right-a)<=(g.right-g.left)/2){c=g.right+this.view.borderWidth;i="after"}else{c=g.left;i="before"}if(this.grid.colModel.isFixed(this.view.getCellIndex(k))){return false}c+=this.proxyOffsets[0];this.proxyTop.setLeftTop(c,b);this.proxyTop.show();if(!this.bottomOffset){this.bottomOffset=this.view.mainHd.getHeight()}this.proxyBottom.setLeftTop(c,b+this.proxyTop.dom.offsetHeight+this.bottomOffset);this.proxyBottom.show();return i},onNodeEnter:function(d,a,c,b){if(b.header!=d){this.positionIndicator(b.header,d,c)}},onNodeOver:function(g,b,d,c){var a=false;if(c.header!=g){a=this.positionIndicator(c.header,g,d)}if(!a){this.proxyTop.hide();this.proxyBottom.hide()}return a?this.dropAllowed:this.dropNotAllowed},onNodeOut:function(d,a,c,b){this.proxyTop.hide();this.proxyBottom.hide()},onNodeDrop:function(b,m,g,c){var d=c.header;if(d!=b){var k=this.grid.colModel,j=Ext.lib.Event.getPageX(g),a=Ext.lib.Dom.getRegion(b.firstChild),o=(a.right-j)<=((a.right-a.left)/2)?"after":"before",i=this.view.getCellIndex(d),l=this.view.getCellIndex(b);if(o=="after"){l++}if(i=0&&this.config[a].resizable!==false&&this.config[a].fixed!==true},setHidden:function(a,b){var d=this.config[a];if(d.hidden!==b){d.hidden=b;this.totalWidth=null;this.fireEvent("hiddenchange",this,a,b)}},setEditor:function(a,b){this.config[a].setEditor(b)},destroy:function(){var b=this.config.length,a=0;for(;a0},isSelected:function(a){var b=Ext.isNumber(a)?this.grid.store.getAt(a):a;return(b&&this.selections.key(b.id)?true:false)},isIdSelected:function(a){return(this.selections.key(a)?true:false)},handleMouseDown:function(d,i,h){if(h.button!==0||this.isLocked()){return}var a=this.grid.getView();if(h.shiftKey&&!this.singleSelect&&this.last!==false){var c=this.last;this.selectRange(c,i,h.ctrlKey);this.last=c;a.focusRow(i)}else{var b=this.isSelected(i);if(h.ctrlKey&&b){this.deselectRow(i)}else{if(!b||this.getCount()>1){this.selectRow(i,h.ctrlKey||h.shiftKey);a.focusRow(i)}}}},selectRows:function(c,d){if(!d){this.clearSelections()}for(var b=0,a=c.length;b=a;c--){this.selectRow(c,true)}}},deselectRange:function(c,b,a){if(this.isLocked()){return}for(var d=c;d<=b;d++){this.deselectRow(d,a)}},selectRow:function(b,d,a){if(this.isLocked()||(b<0||b>=this.grid.store.getCount())||(d&&this.isSelected(b))){return}var c=this.grid.store.getAt(b);if(c&&this.fireEvent("beforerowselect",this,b,d,c)!==false){if(!d||this.singleSelect){this.clearSelections()}this.selections.add(c);this.last=this.lastActive=b;if(!a){this.grid.getView().onRowSelect(b)}if(!this.silent){this.fireEvent("rowselect",this,b,c);this.fireEvent("selectionchange",this)}}},deselectRow:function(b,a){if(this.isLocked()){return}if(this.last==b){this.last=false}if(this.lastActive==b){this.lastActive=false}var c=this.grid.store.getAt(b);if(c){this.selections.remove(c);if(!a){this.grid.getView().onRowDeselect(b)}this.fireEvent("rowdeselect",this,b,c);this.fireEvent("selectionchange",this)}},acceptsNav:function(c,b,a){return !a.isHidden(b)&&a.isCellEditable(b,c)},onEditorKey:function(n,l){var d=l.getKey(),h,i=this.grid,p=i.lastEdit,j=i.activeEditor,b=l.shiftKey,o,p,a,m;if(d==l.TAB){l.stopEvent();j.completeEdit();if(b){h=i.walkCells(j.row,j.col-1,-1,this.acceptsNav,this)}else{h=i.walkCells(j.row,j.col+1,1,this.acceptsNav,this)}}else{if(d==l.ENTER){if(this.moveEditorOnEnter!==false){if(b){h=i.walkCells(p.row-1,p.col,-1,this.acceptsNav,this)}else{h=i.walkCells(p.row+1,p.col,1,this.acceptsNav,this)}}}}if(h){a=h[0];m=h[1];this.onEditorSelect(a,p.row);if(i.isEditor&&i.editing){o=i.activeEditor;if(o&&o.field.triggerBlur){o.field.triggerBlur()}}i.startEditing(a,m)}},onEditorSelect:function(b,a){if(a!=b){this.selectRow(b)}},destroy:function(){Ext.destroy(this.rowNav);this.rowNav=null;Ext.grid.RowSelectionModel.superclass.destroy.call(this)}});Ext.grid.Column=Ext.extend(Ext.util.Observable,{isColumn:true,constructor:function(b){Ext.apply(this,b);if(Ext.isString(this.renderer)){this.renderer=Ext.util.Format[this.renderer]}else{if(Ext.isObject(this.renderer)){this.scope=this.renderer.scope;this.renderer=this.renderer.fn}}if(!this.scope){this.scope=this}var a=this.editor;delete this.editor;this.setEditor(a);this.addEvents("click","contextmenu","dblclick","mousedown");Ext.grid.Column.superclass.constructor.call(this)},processEvent:function(b,d,c,g,a){return this.fireEvent(b,this,c,g,d)},destroy:function(){if(this.setEditor){this.setEditor(null)}this.purgeListeners()},renderer:function(a){return a},getEditor:function(a){return this.editable!==false?this.editor:null},setEditor:function(b){var a=this.editor;if(a){if(a.gridEditor){a.gridEditor.destroy();delete a.gridEditor}else{a.destroy()}}this.editor=null;if(b){if(!b.isXType){b=Ext.create(b,"textfield")}this.editor=b}},getCellEditor:function(b){var a=this.getEditor(b);if(a){if(!a.startEdit){if(!a.gridEditor){a.gridEditor=new Ext.grid.GridEditor(a)}a=a.gridEditor}}return a}});Ext.grid.BooleanColumn=Ext.extend(Ext.grid.Column,{trueText:"true",falseText:"false",undefinedText:" ",constructor:function(a){Ext.grid.BooleanColumn.superclass.constructor.call(this,a);var c=this.trueText,d=this.falseText,b=this.undefinedText;this.renderer=function(e){if(e===undefined){return b}if(!e||e==="false"){return d}return c}}});Ext.grid.NumberColumn=Ext.extend(Ext.grid.Column,{format:"0,000.00",constructor:function(a){Ext.grid.NumberColumn.superclass.constructor.call(this,a);this.renderer=Ext.util.Format.numberRenderer(this.format)}});Ext.grid.DateColumn=Ext.extend(Ext.grid.Column,{format:"m/d/Y",constructor:function(a){Ext.grid.DateColumn.superclass.constructor.call(this,a);this.renderer=Ext.util.Format.dateRenderer(this.format)}});Ext.grid.TemplateColumn=Ext.extend(Ext.grid.Column,{constructor:function(a){Ext.grid.TemplateColumn.superclass.constructor.call(this,a);var b=(!Ext.isPrimitive(this.tpl)&&this.tpl.compile)?this.tpl:new Ext.XTemplate(this.tpl);this.renderer=function(d,e,c){return b.apply(c.data)};this.tpl=b}});Ext.grid.ActionColumn=Ext.extend(Ext.grid.Column,{header:" ",actionIdRe:/x-action-col-(\d+)/,altText:"",constructor:function(b){var g=this,c=b.items||(g.items=[g]),a=c.length,d,e;Ext.grid.ActionColumn.superclass.constructor.call(g,b);g.renderer=function(h,i){h=Ext.isFunction(b.renderer)?b.renderer.apply(this,arguments)||"":"";i.css+=" x-action-col-cell";for(d=0;d"}return h}},destroy:function(){delete this.items;delete this.renderer;return Ext.grid.ActionColumn.superclass.destroy.apply(this,arguments)},processEvent:function(c,i,d,j,b){var a=i.getTarget().className.match(this.actionIdRe),h,g;if(a&&(h=this.items[parseInt(a[1],10)])){if(c=="click"){(g=h.handler||this.handler)&&g.call(h.scope||this.scope||this,d,j,b,h,i)}else{if((c=="mousedown")&&(h.stopSelection!==false)){return false}}}return Ext.grid.ActionColumn.superclass.processEvent.apply(this,arguments)}});Ext.grid.Column.types={gridcolumn:Ext.grid.Column,booleancolumn:Ext.grid.BooleanColumn,numbercolumn:Ext.grid.NumberColumn,datecolumn:Ext.grid.DateColumn,templatecolumn:Ext.grid.TemplateColumn,actioncolumn:Ext.grid.ActionColumn};Ext.grid.RowNumberer=Ext.extend(Object,{header:"",width:23,sortable:false,constructor:function(a){Ext.apply(this,a);if(this.rowspan){this.renderer=this.renderer.createDelegate(this)}},fixed:true,hideable:false,menuDisabled:true,dataIndex:"",id:"numberer",rowspan:undefined,renderer:function(b,c,a,d){if(this.rowspan){c.cellAttr='rowspan="'+this.rowspan+'"'}return d+1}});Ext.grid.CheckboxSelectionModel=Ext.extend(Ext.grid.RowSelectionModel,{header:'
     
    ',width:20,sortable:false,menuDisabled:true,fixed:true,hideable:false,dataIndex:"",id:"checker",isColumn:true,constructor:function(){Ext.grid.CheckboxSelectionModel.superclass.constructor.apply(this,arguments);if(this.checkOnly){this.handleMouseDown=Ext.emptyFn}},initEvents:function(){Ext.grid.CheckboxSelectionModel.superclass.initEvents.call(this);this.grid.on("render",function(){Ext.fly(this.grid.getView().innerHd).on("mousedown",this.onHdMouseDown,this)},this)},processEvent:function(b,d,c,g,a){if(b=="mousedown"){this.onMouseDown(d,d.getTarget());return false}else{return Ext.grid.Column.prototype.processEvent.apply(this,arguments)}},onMouseDown:function(c,b){if(c.button===0&&b.className=="x-grid3-row-checker"){c.stopEvent();var d=c.getTarget(".x-grid3-row");if(d){var a=d.rowIndex;if(this.isSelected(a)){this.deselectRow(a)}else{this.selectRow(a,true);this.grid.getView().focusRow(a)}}}},onHdMouseDown:function(c,a){if(a.className=="x-grid3-hd-checker"){c.stopEvent();var b=Ext.fly(a.parentNode);var d=b.hasClass("x-grid3-hd-checker-on");if(d){b.removeClass("x-grid3-hd-checker-on");this.clearSelections()}else{b.addClass("x-grid3-hd-checker-on");this.selectAll()}}},renderer:function(b,c,a){return'
     
    '},onEditorSelect:function(b,a){if(a!=b&&!this.checkOnly){this.selectRow(b)}}});Ext.grid.CellSelectionModel=Ext.extend(Ext.grid.AbstractSelectionModel,{constructor:function(a){Ext.apply(this,a);this.selection=null;this.addEvents("beforecellselect","cellselect","selectionchange");Ext.grid.CellSelectionModel.superclass.constructor.call(this)},initEvents:function(){this.grid.on("cellmousedown",this.handleMouseDown,this);this.grid.on(Ext.EventManager.getKeyEvent(),this.handleKeyDown,this);this.grid.getView().on({scope:this,refresh:this.onViewChange,rowupdated:this.onRowUpdated,beforerowremoved:this.clearSelections,beforerowsinserted:this.clearSelections});if(this.grid.isEditor){this.grid.on("beforeedit",this.beforeEdit,this)}},beforeEdit:function(a){this.select(a.row,a.column,false,true,a.record)},onRowUpdated:function(a,b,c){if(this.selection&&this.selection.record==c){a.onCellSelect(b,this.selection.cell[1])}},onViewChange:function(){this.clearSelections(true)},getSelectedCell:function(){return this.selection?this.selection.cell:null},clearSelections:function(b){var a=this.selection;if(a){if(b!==true){this.grid.view.onCellDeselect(a.cell[0],a.cell[1])}this.selection=null;this.fireEvent("selectionchange",this,null)}},hasSelection:function(){return this.selection?true:false},handleMouseDown:function(b,d,a,c){if(c.button!==0||this.isLocked()){return}this.select(d,a)},select:function(g,c,b,e,d){if(this.fireEvent("beforecellselect",this,g,c)!==false){this.clearSelections();d=d||this.grid.store.getAt(g);this.selection={record:d,cell:[g,c]};if(!b){var a=this.grid.getView();a.onCellSelect(g,c);if(e!==true){a.focusCell(g,c)}}this.fireEvent("cellselect",this,g,c);this.fireEvent("selectionchange",this,this.selection)}},isSelectable:function(c,b,a){return !a.isHidden(b)},onEditorKey:function(b,a){if(a.getKey()==a.TAB){this.handleKeyDown(a)}},handleKeyDown:function(j){if(!j.isNavKeyPress()){return}var d=j.getKey(),i=this.grid,p=this.selection,b=this,m=function(g,c,e){return i.walkCells(g,c,e,i.isEditor&&i.editing?b.acceptsNav:b.isSelectable,b)},o,h,a,l,n;switch(d){case j.ESC:case j.PAGE_UP:case j.PAGE_DOWN:break;default:j.stopEvent();break}if(!p){o=m(0,0,1);if(o){this.select(o[0],o[1])}return}o=p.cell;a=o[0];l=o[1];switch(d){case j.TAB:if(j.shiftKey){h=m(a,l-1,-1)}else{h=m(a,l+1,1)}break;case j.DOWN:h=m(a+1,l,1);break;case j.UP:h=m(a-1,l,-1);break;case j.RIGHT:h=m(a,l+1,1);break;case j.LEFT:h=m(a,l-1,-1);break;case j.ENTER:if(i.isEditor&&!i.editing){i.startEditing(a,l);return}break}if(h){a=h[0];l=h[1];this.select(a,l);if(i.isEditor&&i.editing){n=i.activeEditor;if(n&&n.field.triggerBlur){n.field.triggerBlur()}i.startEditing(a,l)}}},acceptsNav:function(c,b,a){return !a.isHidden(b)&&a.isCellEditable(b,c)}});Ext.grid.EditorGridPanel=Ext.extend(Ext.grid.GridPanel,{clicksToEdit:2,forceValidation:false,isEditor:true,detectEdit:false,autoEncode:false,trackMouseOver:false,initComponent:function(){Ext.grid.EditorGridPanel.superclass.initComponent.call(this);if(!this.selModel){this.selModel=new Ext.grid.CellSelectionModel()}this.activeEditor=null;this.addEvents("beforeedit","afteredit","validateedit")},initEvents:function(){Ext.grid.EditorGridPanel.superclass.initEvents.call(this);this.getGridEl().on("mousewheel",this.stopEditing.createDelegate(this,[true]),this);this.on("columnresize",this.stopEditing,this,[true]);if(this.clicksToEdit==1){this.on("cellclick",this.onCellDblClick,this)}else{var a=this.getView();if(this.clicksToEdit=="auto"&&a.mainBody){a.mainBody.on("mousedown",this.onAutoEditClick,this)}this.on("celldblclick",this.onCellDblClick,this)}},onResize:function(){Ext.grid.EditorGridPanel.superclass.onResize.apply(this,arguments);var a=this.activeEditor;if(this.editing&&a){a.realign(true)}},onCellDblClick:function(b,c,a){this.startEditing(c,a)},onAutoEditClick:function(c,b){if(c.button!==0){return}var g=this.view.findRowIndex(b),a=this.view.findCellIndex(b);if(g!==false&&a!==false){this.stopEditing();if(this.selModel.getSelectedCell){var d=this.selModel.getSelectedCell();if(d&&d[0]===g&&d[1]===a){this.startEditing(g,a)}}else{if(this.selModel.isSelected(g)){this.startEditing(g,a)}}}},onEditComplete:function(b,d,a){this.editing=false;this.lastActiveEditor=this.activeEditor;this.activeEditor=null;var c=b.record,h=this.colModel.getDataIndex(b.col);d=this.postEditValue(d,a,c,h);if(this.forceValidation===true||String(d)!==String(a)){var g={grid:this,record:c,field:h,originalValue:a,value:d,row:b.row,column:b.col,cancel:false};if(this.fireEvent("validateedit",g)!==false&&!g.cancel&&String(d)!==String(a)){c.set(h,g.value);delete g.cancel;this.fireEvent("afteredit",g)}}this.view.focusCell(b.row,b.col)},startEditing:function(i,c){this.stopEditing();if(this.colModel.isCellEditable(c,i)){this.view.ensureVisible(i,c,true);var d=this.store.getAt(i),h=this.colModel.getDataIndex(c),g={grid:this,record:d,field:h,value:d.data[h],row:i,column:c,cancel:false};if(this.fireEvent("beforeedit",g)!==false&&!g.cancel){this.editing=true;var b=this.colModel.getCellEditor(c,i);if(!b){return}if(!b.rendered){b.parentEl=this.view.getEditorParent(b);b.on({scope:this,render:{fn:function(e){e.field.focus(false,true)},single:true,scope:this},specialkey:function(k,j){this.getSelectionModel().onEditorKey(k,j)},complete:this.onEditComplete,canceledit:this.stopEditing.createDelegate(this,[true])})}Ext.apply(b,{row:i,col:c,record:d});this.lastEdit={row:i,col:c};this.activeEditor=b;b.selectSameEditor=(this.activeEditor==this.lastActiveEditor);var a=this.preEditValue(d,h);b.startEdit(this.view.getCell(i,c).firstChild,Ext.isDefined(a)?a:"");(function(){delete b.selectSameEditor}).defer(50)}}},preEditValue:function(a,c){var b=a.data[c];return this.autoEncode&&Ext.isString(b)?Ext.util.Format.htmlDecode(b):b},postEditValue:function(c,a,b,d){return this.autoEncode&&Ext.isString(c)?Ext.util.Format.htmlEncode(c):c},stopEditing:function(b){if(this.editing){var a=this.lastActiveEditor=this.activeEditor;if(a){a[b===true?"cancelEdit":"completeEdit"]();this.view.focusCell(a.row,a.col)}this.activeEditor=null}this.editing=false}});Ext.reg("editorgrid",Ext.grid.EditorGridPanel);Ext.grid.GridEditor=function(b,a){Ext.grid.GridEditor.superclass.constructor.call(this,b,a);b.monitorTab=false};Ext.extend(Ext.grid.GridEditor,Ext.Editor,{alignment:"tl-tl",autoSize:"width",hideEl:false,cls:"x-small-editor x-grid-editor",shim:false,shadow:false});Ext.grid.PropertyRecord=Ext.data.Record.create([{name:"name",type:"string"},"value"]);Ext.grid.PropertyStore=Ext.extend(Ext.util.Observable,{constructor:function(a,b){this.grid=a;this.store=new Ext.data.Store({recordType:Ext.grid.PropertyRecord});this.store.on("update",this.onUpdate,this);if(b){this.setSource(b)}Ext.grid.PropertyStore.superclass.constructor.call(this)},setSource:function(c){this.source=c;this.store.removeAll();var b=[];for(var a in c){if(this.isEditableValue(c[a])){b.push(new Ext.grid.PropertyRecord({name:a,value:c[a]},a))}}this.store.loadRecords({records:b},{},true)},onUpdate:function(e,a,d){if(d==Ext.data.Record.EDIT){var b=a.data.value;var c=a.modified.value;if(this.grid.fireEvent("beforepropertychange",this.source,a.id,b,c)!==false){this.source[a.id]=b;a.commit();this.grid.fireEvent("propertychange",this.source,a.id,b,c)}else{a.reject()}}},getProperty:function(a){return this.store.getAt(a)},isEditableValue:function(a){return Ext.isPrimitive(a)||Ext.isDate(a)},setValue:function(d,c,a){var b=this.getRec(d);if(b){b.set("value",c);this.source[d]=c}else{if(a){this.source[d]=c;b=new Ext.grid.PropertyRecord({name:d,value:c},d);this.store.add(b)}}},remove:function(b){var a=this.getRec(b);if(a){this.store.remove(a);delete this.source[b]}},getRec:function(a){return this.store.getById(a)},getSource:function(){return this.source}});Ext.grid.PropertyColumnModel=Ext.extend(Ext.grid.ColumnModel,{nameText:"Name",valueText:"Value",dateFormat:"m/j/Y",trueText:"true",falseText:"false",constructor:function(c,b){var d=Ext.grid,e=Ext.form;this.grid=c;d.PropertyColumnModel.superclass.constructor.call(this,[{header:this.nameText,width:50,sortable:true,dataIndex:"name",id:"name",menuDisabled:true},{header:this.valueText,width:50,resizable:false,dataIndex:"value",id:"value",menuDisabled:true}]);this.store=b;var a=new e.Field({autoCreate:{tag:"select",children:[{tag:"option",value:"true",html:this.trueText},{tag:"option",value:"false",html:this.falseText}]},getValue:function(){return this.el.dom.value=="true"}});this.editors={date:new d.GridEditor(new e.DateField({selectOnFocus:true})),string:new d.GridEditor(new e.TextField({selectOnFocus:true})),number:new d.GridEditor(new e.NumberField({selectOnFocus:true,style:"text-align:left;"})),"boolean":new d.GridEditor(a,{autoSize:"both"})};this.renderCellDelegate=this.renderCell.createDelegate(this);this.renderPropDelegate=this.renderProp.createDelegate(this)},renderDate:function(a){return a.dateFormat(this.dateFormat)},renderBool:function(a){return this[a?"trueText":"falseText"]},isCellEditable:function(a,b){return a==1},getRenderer:function(a){return a==1?this.renderCellDelegate:this.renderPropDelegate},renderProp:function(a){return this.getPropertyName(a)},renderCell:function(d,b,c){var a=this.grid.customRenderers[c.get("name")];if(a){return a.apply(this,arguments)}var e=d;if(Ext.isDate(d)){e=this.renderDate(d)}else{if(typeof d=="boolean"){e=this.renderBool(d)}}return Ext.util.Format.htmlEncode(e)},getPropertyName:function(b){var a=this.grid.propertyNames;return a&&a[b]?a[b]:b},getCellEditor:function(a,e){var b=this.store.getProperty(e),d=b.data.name,c=b.data.value;if(this.grid.customEditors[d]){return this.grid.customEditors[d]}if(Ext.isDate(c)){return this.editors.date}else{if(typeof c=="number"){return this.editors.number}else{if(typeof c=="boolean"){return this.editors["boolean"]}else{return this.editors.string}}}},destroy:function(){Ext.grid.PropertyColumnModel.superclass.destroy.call(this);this.destroyEditors(this.editors);this.destroyEditors(this.grid.customEditors)},destroyEditors:function(b){for(var a in b){Ext.destroy(b[a])}}});Ext.grid.PropertyGrid=Ext.extend(Ext.grid.EditorGridPanel,{enableColumnMove:false,stripeRows:false,trackMouseOver:false,clicksToEdit:1,enableHdMenu:false,viewConfig:{forceFit:true},initComponent:function(){this.customRenderers=this.customRenderers||{};this.customEditors=this.customEditors||{};this.lastEditRow=null;var b=new Ext.grid.PropertyStore(this);this.propStore=b;var a=new Ext.grid.PropertyColumnModel(this,b);b.store.sort("name","ASC");this.addEvents("beforepropertychange","propertychange");this.cm=a;this.ds=b.store;Ext.grid.PropertyGrid.superclass.initComponent.call(this);this.mon(this.selModel,"beforecellselect",function(e,d,c){if(c===0){this.startEditing.defer(200,this,[d,1]);return false}},this)},onRender:function(){Ext.grid.PropertyGrid.superclass.onRender.apply(this,arguments);this.getGridEl().addClass("x-props-grid")},afterRender:function(){Ext.grid.PropertyGrid.superclass.afterRender.apply(this,arguments);if(this.source){this.setSource(this.source)}},setSource:function(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.reg("propertygrid",Ext.grid.PropertyGrid);Ext.grid.GroupingView=Ext.extend(Ext.grid.GridView,{groupByText:"Group By This Field",showGroupsText:"Show in Groups",hideGroupedColumn:false,showGroupName:true,startCollapsed:false,enableGrouping:true,enableGroupingMenu:true,enableNoGroups:true,emptyGroupText:"(None)",ignoreAdd:false,groupTextTpl:"{text}",groupMode:"value",cancelEditOnToggle:true,initTemplates:function(){Ext.grid.GroupingView.superclass.initTemplates.call(this);this.state={};var a=this.grid.getSelectionModel();a.on(a.selectRow?"beforerowselect":"beforecellselect",this.onBeforeRowSelect,this);if(!this.startGroup){this.startGroup=new Ext.XTemplate('
    ','
    ',this.groupTextTpl,"
    ",'
    ')}this.startGroup.compile();if(!this.endGroup){this.endGroup="
    "}},findGroup:function(a){return Ext.fly(a).up(".x-grid-group",this.mainBody.dom)},getGroups:function(){return this.hasRows()?this.mainBody.dom.childNodes:[]},onAdd:function(d,a,b){if(this.canGroup()&&!this.ignoreAdd){var c=this.getScrollState();this.fireEvent("beforerowsinserted",d,b,b+(a.length-1));this.refresh();this.restoreScroll(c);this.fireEvent("rowsinserted",d,b,b+(a.length-1))}else{if(!this.canGroup()){Ext.grid.GroupingView.superclass.onAdd.apply(this,arguments)}}},onRemove:function(e,a,b,d){Ext.grid.GroupingView.superclass.onRemove.apply(this,arguments);var c=document.getElementById(a._groupId);if(c&&c.childNodes[1].childNodes.length<1){Ext.removeNode(c)}this.applyEmptyText()},refreshRow:function(a){if(this.ds.getCount()==1){this.refresh()}else{this.isUpdating=true;Ext.grid.GroupingView.superclass.refreshRow.apply(this,arguments);this.isUpdating=false}},beforeMenuShow:function(){var c,a=this.hmenu.items,b=this.cm.config[this.hdCtxIndex].groupable===false;if((c=a.get("groupBy"))){c.setDisabled(b)}if((c=a.get("showGroups"))){c.setDisabled(b);c.setChecked(this.canGroup(),true)}},renderUI:function(){var a=Ext.grid.GroupingView.superclass.renderUI.call(this);if(this.enableGroupingMenu&&this.hmenu){this.hmenu.add("-",{itemId:"groupBy",text:this.groupByText,handler:this.onGroupByClick,scope:this,iconCls:"x-group-by-icon"});if(this.enableNoGroups){this.hmenu.add({itemId:"showGroups",text:this.showGroupsText,checked:true,checkHandler:this.onShowGroupsClick,scope:this})}this.hmenu.on("beforeshow",this.beforeMenuShow,this)}return a},processEvent:function(b,i){Ext.grid.GroupingView.superclass.processEvent.call(this,b,i);var h=i.getTarget(".x-grid-group-hd",this.mainBody);if(h){var g=this.getGroupField(),d=this.getPrefix(g),a=h.id.substring(d.length),c=new RegExp("gp-"+Ext.escapeRe(g)+"--hd");a=a.substr(0,a.length-3);if(a||c.test(h.id)){this.grid.fireEvent("group"+b,this.grid,g,a,i)}if(b=="mousedown"&&i.button==0){this.toggleGroup(h.parentNode)}}},onGroupByClick:function(){var a=this.grid;this.enableGrouping=true;a.store.groupBy(this.cm.getDataIndex(this.hdCtxIndex));a.fireEvent("groupchange",a,a.store.getGroupState());this.beforeMenuShow();this.refresh()},onShowGroupsClick:function(a,b){this.enableGrouping=b;if(b){this.onGroupByClick()}else{this.grid.store.clearGrouping();this.grid.fireEvent("groupchange",this,null)}},toggleRowIndex:function(c,a){if(!this.canGroup()){return}var b=this.getRow(c);if(b){this.toggleGroup(this.findGroup(b),a)}},toggleGroup:function(c,b){var a=Ext.get(c),d=Ext.util.Format.htmlEncode(a.id);b=Ext.isDefined(b)?b:a.hasClass("x-grid-group-collapsed");if(this.state[d]!==b){if(this.cancelEditOnToggle!==false){this.grid.stopEditing(true)}this.state[d]=b;a[b?"removeClass":"addClass"]("x-grid-group-collapsed")}},toggleAllGroups:function(c){var b=this.getGroups();for(var d=0,a=b.length;d