You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2009/03/18 16:55:17 UTC

svn commit: r755623 [2/13] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojo: ./ _base/ _base/_loader/ _firebug/ cldr/ cldr/nls/ cldr/nls/ar/ cldr/nls/ca/ cldr/nls/cs/ cldr/nls/da/ cldr/nls/de-de/ cldr/nls/de/ cldr/nls/el/ cldr/nls/en-au/ ...

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,301 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo.foo"]){
+dojo._hasResource["dojo.foo"]=true;
+(function(){
+var d=dojo;
+d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_2){
+var mp=this._modulePrefixes;
+return !!(mp[_2]&&mp[_2].value);
+},_getModulePrefix:function(_4){
+var mp=this._modulePrefixes;
+if(this._moduleHasPrefix(_4)){
+return mp[_4].value;
+}
+return _4;
+},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});
+dojo._loadPath=function(_6,_7,cb){
+var _9=((_6.charAt(0)=="/"||_6.match(/^\w+:/))?"":this.baseUrl)+_6;
+try{
+return !_7?this._loadUri(_9,cb):this._loadUriAndCheck(_9,_7,cb);
+}
+catch(e){
+console.error(e);
+return false;
+}
+};
+dojo._loadUri=function(_a,cb){
+if(this._loadedUrls[_a]){
+return true;
+}
+var _c=this._getText(_a,true);
+if(!_c){
+return false;
+}
+this._loadedUrls[_a]=true;
+this._loadedUrls.push(_a);
+if(cb){
+_c="("+_c+")";
+}else{
+_c=this._scopePrefix+_c+this._scopeSuffix;
+}
+if(d.isMoz){
+_c+="\r\n//@ sourceURL="+_a;
+}
+var _d=d["eval"](_c);
+if(cb){
+cb(_d);
+}
+return true;
+};
+dojo._loadUriAndCheck=function(_e,_f,cb){
+var ok=false;
+try{
+ok=this._loadUri(_e,cb);
+}
+catch(e){
+console.error("failed loading "+_e+" with error: "+e);
+}
+return !!(ok&&this._loadedModules[_f]);
+};
+dojo.loaded=function(){
+this._loadNotifying=true;
+this._postLoad=true;
+var mll=d._loaders;
+this._loaders=[];
+for(var x=0;x<mll.length;x++){
+mll[x]();
+}
+this._loadNotifying=false;
+if(d._postLoad&&d._inFlightCount==0&&mll.length){
+d._callLoaded();
+}
+};
+dojo.unloaded=function(){
+var mll=d._unloaders;
+while(mll.length){
+(mll.pop())();
+}
+};
+d._onto=function(arr,obj,fn){
+if(!fn){
+arr.push(obj);
+}else{
+if(fn){
+var _18=(typeof fn=="string")?obj[fn]:fn;
+arr.push(function(){
+_18.call(obj);
+});
+}
+}
+};
+dojo.addOnLoad=function(obj,_1a){
+d._onto(d._loaders,obj,_1a);
+if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){
+d._callLoaded();
+}
+};
+var dca=d.config.addOnLoad;
+if(dca){
+d.addOnLoad[(dca instanceof Array?"apply":"call")](d,dca);
+}
+dojo._modulesLoaded=function(){
+if(d._postLoad){
+return;
+}
+if(d._inFlightCount>0){
+console.warn("files still in flight!");
+return;
+}
+d._callLoaded();
+};
+dojo._callLoaded=function(){
+if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){
+if(dojo.isAIR){
+setTimeout(function(){
+dojo.loaded();
+},0);
+}else{
+setTimeout(dojo._scopeName+".loaded();",0);
+}
+}else{
+d.loaded();
+}
+};
+dojo._getModuleSymbols=function(_1c){
+var _1d=_1c.split(".");
+for(var i=_1d.length;i>0;i--){
+var _1f=_1d.slice(0,i).join(".");
+if((i==1)&&!this._moduleHasPrefix(_1f)){
+_1d[0]="../"+_1d[0];
+}else{
+var _20=this._getModulePrefix(_1f);
+if(_20!=_1f){
+_1d.splice(0,i,_20);
+break;
+}
+}
+}
+return _1d;
+};
+dojo._global_omit_module_check=false;
+dojo.loadInit=function(_21){
+_21();
+};
+dojo._loadModule=dojo.require=function(_22,_23){
+_23=this._global_omit_module_check||_23;
+var _24=this._loadedModules[_22];
+if(_24){
+return _24;
+}
+var _25=this._getModuleSymbols(_22).join("/")+".js";
+var _26=(!_23)?_22:null;
+var ok=this._loadPath(_25,_26);
+if(!ok&&!_23){
+throw new Error("Could not load '"+_22+"'; last tried '"+_25+"'");
+}
+if(!_23&&!this._isXDomain){
+_24=this._loadedModules[_22];
+if(!_24){
+throw new Error("symbol '"+_22+"' is not defined after loading '"+_25+"'");
+}
+}
+return _24;
+};
+dojo.provide=function(_28){
+_28=_28+"";
+return (d._loadedModules[_28]=d.getObject(_28,true));
+};
+dojo.platformRequire=function(_29){
+var _2a=_29.common||[];
+var _2b=_2a.concat(_29[d._name]||_29["default"]||[]);
+for(var x=0;x<_2b.length;x++){
+var _2d=_2b[x];
+if(_2d.constructor==Array){
+d._loadModule.apply(d,_2d);
+}else{
+d._loadModule(_2d);
+}
+}
+};
+dojo.requireIf=function(_2e,_2f){
+if(_2e===true){
+var _30=[];
+for(var i=1;i<arguments.length;i++){
+_30.push(arguments[i]);
+}
+d.require.apply(d,_30);
+}
+};
+dojo.requireAfterIf=d.requireIf;
+dojo.registerModulePath=function(_32,_33){
+d._modulePrefixes[_32]={name:_32,value:_33};
+};
+dojo.requireLocalization=function(_34,_35,_36,_37){
+d.require("dojo.i18n");
+d.i18n._requireLocalization.apply(d.hostenv,arguments);
+};
+var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$");
+var ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");
+dojo._Url=function(){
+var n=null;
+var _a=arguments;
+var uri=[_a[0]];
+for(var i=1;i<_a.length;i++){
+if(!_a[i]){
+continue;
+}
+var _3e=new d._Url(_a[i]+"");
+var _3f=new d._Url(uri[0]+"");
+if(_3e.path==""&&!_3e.scheme&&!_3e.authority&&!_3e.query){
+if(_3e.fragment!=n){
+_3f.fragment=_3e.fragment;
+}
+_3e=_3f;
+}else{
+if(!_3e.scheme){
+_3e.scheme=_3f.scheme;
+if(!_3e.authority){
+_3e.authority=_3f.authority;
+if(_3e.path.charAt(0)!="/"){
+var _40=_3f.path.substring(0,_3f.path.lastIndexOf("/")+1)+_3e.path;
+var _41=_40.split("/");
+for(var j=0;j<_41.length;j++){
+if(_41[j]=="."){
+if(j==_41.length-1){
+_41[j]="";
+}else{
+_41.splice(j,1);
+j--;
+}
+}else{
+if(j>0&&!(j==1&&_41[0]=="")&&_41[j]==".."&&_41[j-1]!=".."){
+if(j==(_41.length-1)){
+_41.splice(j,1);
+_41[j-1]="";
+}else{
+_41.splice(j-1,2);
+j-=2;
+}
+}
+}
+}
+_3e.path=_41.join("/");
+}
+}
+}
+}
+uri=[];
+if(_3e.scheme){
+uri.push(_3e.scheme,":");
+}
+if(_3e.authority){
+uri.push("//",_3e.authority);
+}
+uri.push(_3e.path);
+if(_3e.query){
+uri.push("?",_3e.query);
+}
+if(_3e.fragment){
+uri.push("#",_3e.fragment);
+}
+}
+this.uri=uri.join("");
+var r=this.uri.match(ore);
+this.scheme=r[2]||(r[1]?"":n);
+this.authority=r[4]||(r[3]?"":n);
+this.path=r[5];
+this.query=r[7]||(r[6]?"":n);
+this.fragment=r[9]||(r[8]?"":n);
+if(this.authority!=n){
+r=this.authority.match(ire);
+this.user=r[3]||n;
+this.password=r[4]||n;
+this.host=r[6]||r[7];
+this.port=r[9]||n;
+}
+};
+dojo._Url.prototype.toString=function(){
+return this.uri;
+};
+dojo.moduleUrl=function(_44,url){
+var loc=d._getModuleSymbols(_44).join("/");
+if(!loc){
+return null;
+}
+if(loc.lastIndexOf("/")!=loc.length-1){
+loc+="/";
+}
+var _47=loc.indexOf(":");
+if(loc.charAt(0)!="/"&&(_47==-1||_47>loc.indexOf("/"))){
+loc=d.baseUrl+loc;
+}
+return new d._Url(loc,url);
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_debug.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_debug.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_debug.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_debug.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,59 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base._loader.loader_debug"]){
+dojo._hasResource["dojo._base._loader.loader_debug"]=true;
+dojo.provide("dojo._base._loader.loader_debug");
+dojo.nonDebugProvide=dojo.provide;
+dojo.provide=function(_1){
+var _2=dojo["_xdDebugQueue"];
+if(_2&&_2.length>0&&_1==_2["currentResourceName"]){
+if(dojo.isAIR){
+window.setTimeout(function(){
+dojo._xdDebugFileLoaded(_1);
+},1);
+}else{
+window.setTimeout(dojo._scopeName+"._xdDebugFileLoaded('"+_1+"')",1);
+}
+}
+return dojo.nonDebugProvide.apply(dojo,arguments);
+};
+dojo._xdDebugFileLoaded=function(_3){
+if(!this._xdDebugScopeChecked){
+if(dojo._scopeName!="dojo"){
+window.dojo=window[dojo.config.scopeMap[0][1]];
+window.dijit=window[dojo.config.scopeMap[1][1]];
+window.dojox=window[dojo.config.scopeMap[2][1]];
+}
+this._xdDebugScopeChecked=true;
+}
+var _4=this._xdDebugQueue;
+if(_3&&_3==_4.currentResourceName){
+_4.shift();
+}
+if(_4.length==0){
+dojo._xdWatchInFlight();
+}
+if(_4.length==0){
+_4.currentResourceName=null;
+for(var _5 in this._xdInFlight){
+if(this._xdInFlight[_5]===true){
+return;
+}
+}
+this._xdNotifyLoaded();
+}else{
+if(_3==_4.currentResourceName){
+_4.currentResourceName=_4[0].resourceName;
+var _6=document.createElement("script");
+_6.type="text/javascript";
+_6.src=_4[0].resourcePath;
+document.getElementsByTagName("head")[0].appendChild(_6);
+}
+}
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_debug.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_xd.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_xd.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_xd.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_xd.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,456 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base._loader.loader_xd"]){
+dojo._hasResource["dojo._base._loader.loader_xd"]=true;
+dojo.provide("dojo._base._loader.loader_xd");
+dojo._xdReset=function(){
+this._isXDomain=dojo.config.useXDomain||false;
+this._xdTimer=0;
+this._xdInFlight={};
+this._xdOrderedReqs=[];
+this._xdDepMap={};
+this._xdContents=[];
+this._xdDefList=[];
+};
+dojo._xdReset();
+dojo._xdCreateResource=function(_1,_2,_3){
+var _4=_1.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");
+var _5=[];
+var _6=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\s*\(([\w\W]*?)\)/mg;
+var _7;
+while((_7=_6.exec(_4))!=null){
+if(_7[1]=="requireLocalization"){
+eval(_7[0]);
+}else{
+_5.push("\""+_7[1]+"\", "+_7[2]);
+}
+}
+var _8=[];
+_8.push(dojo._scopeName+"._xdResourceLoaded(function("+dojo._scopePrefixArgs+"){\n");
+var _9=dojo._xdExtractLoadInits(_1);
+if(_9){
+_1=_9[0];
+for(var i=1;i<_9.length;i++){
+_8.push(_9[i]+";\n");
+}
+}
+_8.push("return {");
+if(_5.length>0){
+_8.push("depends: [");
+for(i=0;i<_5.length;i++){
+if(i>0){
+_8.push(",\n");
+}
+_8.push("["+_5[i]+"]");
+}
+_8.push("],");
+}
+_8.push("\ndefineResource: function("+dojo._scopePrefixArgs+"){");
+if(!dojo.config["debugAtAllCosts"]||_2=="dojo._base._loader.loader_debug"){
+_8.push(_1);
+}
+_8.push("\n}, resourceName: '"+_2+"', resourcePath: '"+_3+"'};});");
+return _8.join("");
+};
+dojo._xdExtractLoadInits=function(_b){
+var _c=/dojo.loadInit\s*\(/g;
+_c.lastIndex=0;
+var _d=/[\(\)]/g;
+_d.lastIndex=0;
+var _e=[];
+var _f;
+while((_f=_c.exec(_b))){
+_d.lastIndex=_c.lastIndex;
+var _10=1;
+var _11;
+while((_11=_d.exec(_b))){
+if(_11[0]==")"){
+_10-=1;
+}else{
+_10+=1;
+}
+if(_10==0){
+break;
+}
+}
+if(_10!=0){
+throw "unmatched paren around character "+_d.lastIndex+" in: "+_b;
+}
+var _12=_c.lastIndex-_f[0].length;
+_e.push(_b.substring(_12,_d.lastIndex));
+var _13=_d.lastIndex-_12;
+_b=_b.substring(0,_12)+_b.substring(_d.lastIndex,_b.length);
+_c.lastIndex=_d.lastIndex-_13;
+_c.lastIndex=_d.lastIndex;
+}
+if(_e.length>0){
+_e.unshift(_b);
+}
+return (_e.length?_e:null);
+};
+dojo._xdIsXDomainPath=function(_14){
+var _15=_14.indexOf(":");
+var _16=_14.indexOf("/");
+if(_15>0&&_15<_16){
+return true;
+}else{
+var url=this.baseUrl;
+_15=url.indexOf(":");
+_16=url.indexOf("/");
+if(_15>0&&_15<_16&&(!location.host||url.indexOf("http://"+location.host)!=0)){
+return true;
+}
+}
+return false;
+};
+dojo._loadPath=function(_18,_19,cb){
+var _1b=this._xdIsXDomainPath(_18);
+this._isXDomain|=_1b;
+var uri=((_18.charAt(0)=="/"||_18.match(/^\w+:/))?"":this.baseUrl)+_18;
+try{
+return ((!_19||this._isXDomain)?this._loadUri(uri,cb,_1b,_19):this._loadUriAndCheck(uri,_19,cb));
+}
+catch(e){
+console.error(e);
+return false;
+}
+};
+dojo._loadUri=function(uri,cb,_1f,_20){
+if(this._loadedUrls[uri]){
+return 1;
+}
+if(this._isXDomain&&_20&&_20!="dojo.i18n"){
+this._xdOrderedReqs.push(_20);
+if(_1f||uri.indexOf("/nls/")==-1){
+this._xdInFlight[_20]=true;
+this._inFlightCount++;
+}
+if(!this._xdTimer){
+if(dojo.isAIR){
+this._xdTimer=setInterval(function(){
+dojo._xdWatchInFlight();
+},100);
+}else{
+this._xdTimer=setInterval(dojo._scopeName+"._xdWatchInFlight();",100);
+}
+}
+this._xdStartTime=(new Date()).getTime();
+}
+if(_1f){
+var _21=uri.lastIndexOf(".");
+if(_21<=0){
+_21=uri.length-1;
+}
+var _22=uri.substring(0,_21)+".xd";
+if(_21!=uri.length-1){
+_22+=uri.substring(_21,uri.length);
+}
+if(dojo.isAIR){
+_22=_22.replace("app:/","/");
+}
+var _23=document.createElement("script");
+_23.type="text/javascript";
+_23.src=_22;
+if(!this.headElement){
+this._headElement=document.getElementsByTagName("head")[0];
+if(!this._headElement){
+this._headElement=document.getElementsByTagName("html")[0];
+}
+}
+this._headElement.appendChild(_23);
+}else{
+var _24=this._getText(uri,null,true);
+if(_24==null){
+return 0;
+}
+if(this._isXDomain&&uri.indexOf("/nls/")==-1&&_20!="dojo.i18n"){
+var res=this._xdCreateResource(_24,_20,uri);
+dojo.eval(res);
+}else{
+if(cb){
+_24="("+_24+")";
+}else{
+_24=this._scopePrefix+_24+this._scopeSuffix;
+}
+var _26=dojo["eval"](_24+"\r\n//@ sourceURL="+uri);
+if(cb){
+cb(_26);
+}
+}
+}
+this._loadedUrls[uri]=true;
+this._loadedUrls.push(uri);
+return true;
+};
+dojo._xdResourceLoaded=function(res){
+res=res.apply(dojo.global,dojo._scopeArgs);
+var _28=res.depends;
+var _29=null;
+var _2a=null;
+var _2b=[];
+if(_28&&_28.length>0){
+var dep=null;
+var _2d=0;
+var _2e=false;
+for(var i=0;i<_28.length;i++){
+dep=_28[i];
+if(dep[0]=="provide"){
+_2b.push(dep[1]);
+}else{
+if(!_29){
+_29=[];
+}
+if(!_2a){
+_2a=[];
+}
+var _30=this._xdUnpackDependency(dep);
+if(_30.requires){
+_29=_29.concat(_30.requires);
+}
+if(_30.requiresAfter){
+_2a=_2a.concat(_30.requiresAfter);
+}
+}
+var _31=dep[0];
+var _32=_31.split(".");
+if(_32.length==2){
+dojo[_32[0]][_32[1]].apply(dojo[_32[0]],dep.slice(1));
+}else{
+dojo[_31].apply(dojo,dep.slice(1));
+}
+}
+if(_2b.length==1&&_2b[0]=="dojo._base._loader.loader_debug"){
+res.defineResource(dojo);
+}else{
+var _33=this._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;
+for(i=0;i<_2b.length;i++){
+this._xdDepMap[_2b[i]]={requires:_29,requiresAfter:_2a,contentIndex:_33};
+}
+}
+for(i=0;i<_2b.length;i++){
+this._xdInFlight[_2b[i]]=false;
+}
+}
+};
+dojo._xdLoadFlattenedBundle=function(_34,_35,_36,_37){
+_36=_36||"root";
+var _38=dojo.i18n.normalizeLocale(_36).replace("-","_");
+var _39=[_34,"nls",_35].join(".");
+var _3a=dojo["provide"](_39);
+_3a[_38]=_37;
+var _3b=[_34,_38,_35].join(".");
+var _3c=dojo._xdBundleMap[_3b];
+if(_3c){
+for(var _3d in _3c){
+_3a[_3d]=_37;
+}
+}
+};
+dojo._xdInitExtraLocales=function(){
+var _3e=dojo.config.extraLocale;
+if(_3e){
+if(!_3e instanceof Array){
+_3e=[_3e];
+}
+dojo._xdReqLoc=dojo.xdRequireLocalization;
+dojo.xdRequireLocalization=function(m,b,_41,_42){
+dojo._xdReqLoc(m,b,_41,_42);
+if(_41){
+return;
+}
+for(var i=0;i<_3e.length;i++){
+dojo._xdReqLoc(m,b,_3e[i],_42);
+}
+};
+}
+};
+dojo._xdBundleMap={};
+dojo.xdRequireLocalization=function(_44,_45,_46,_47){
+if(dojo._xdInitExtraLocales){
+dojo._xdInitExtraLocales();
+dojo._xdInitExtraLocales=null;
+dojo.xdRequireLocalization.apply(dojo,arguments);
+return;
+}
+var _48=_47.split(",");
+var _49=dojo.i18n.normalizeLocale(_46);
+var _4a="";
+for(var i=0;i<_48.length;i++){
+if(_49.indexOf(_48[i])==0){
+if(_48[i].length>_4a.length){
+_4a=_48[i];
+}
+}
+}
+var _4c=_4a.replace("-","_");
+var _4d=dojo.getObject([_44,"nls",_45].join("."));
+if(_4d&&_4d[_4c]){
+bundle[_49.replace("-","_")]=_4d[_4c];
+}else{
+var _4e=[_44,(_4c||"root"),_45].join(".");
+var _4f=dojo._xdBundleMap[_4e];
+if(!_4f){
+_4f=dojo._xdBundleMap[_4e]={};
+}
+_4f[_49.replace("-","_")]=true;
+dojo.require(_44+".nls"+(_4a?"."+_4a:"")+"."+_45);
+}
+};
+dojo._xdRealRequireLocalization=dojo.requireLocalization;
+dojo.requireLocalization=function(_50,_51,_52,_53){
+var _54=this.moduleUrl(_50).toString();
+if(this._xdIsXDomainPath(_54)){
+return dojo.xdRequireLocalization.apply(dojo,arguments);
+}else{
+return dojo._xdRealRequireLocalization.apply(dojo,arguments);
+}
+};
+dojo._xdUnpackDependency=function(dep){
+var _56=null;
+var _57=null;
+switch(dep[0]){
+case "requireIf":
+case "requireAfterIf":
+if(dep[1]===true){
+_56=[{name:dep[2],content:null}];
+}
+break;
+case "platformRequire":
+var _58=dep[1];
+var _59=_58["common"]||[];
+_56=(_58[dojo.hostenv.name_])?_59.concat(_58[dojo.hostenv.name_]||[]):_59.concat(_58["default"]||[]);
+if(_56){
+for(var i=0;i<_56.length;i++){
+if(_56[i] instanceof Array){
+_56[i]={name:_56[i][0],content:null};
+}else{
+_56[i]={name:_56[i],content:null};
+}
+}
+}
+break;
+case "require":
+_56=[{name:dep[1],content:null}];
+break;
+case "i18n._preloadLocalizations":
+dojo.i18n._preloadLocalizations.apply(dojo.i18n._preloadLocalizations,dep.slice(1));
+break;
+}
+if(dep[0]=="requireAfterIf"||dep[0]=="requireIf"){
+_57=_56;
+_56=null;
+}
+return {requires:_56,requiresAfter:_57};
+};
+dojo._xdWalkReqs=function(){
+var _5b=null;
+var req;
+for(var i=0;i<this._xdOrderedReqs.length;i++){
+req=this._xdOrderedReqs[i];
+if(this._xdDepMap[req]){
+_5b=[req];
+_5b[req]=true;
+this._xdEvalReqs(_5b);
+}
+}
+};
+dojo._xdEvalReqs=function(_5e){
+while(_5e.length>0){
+var req=_5e[_5e.length-1];
+var res=this._xdDepMap[req];
+var i,_62,_63;
+if(res){
+_62=res.requires;
+if(_62&&_62.length>0){
+for(i=0;i<_62.length;i++){
+_63=_62[i].name;
+if(_63&&!_5e[_63]){
+_5e.push(_63);
+_5e[_63]=true;
+this._xdEvalReqs(_5e);
+}
+}
+}
+var _64=this._xdContents[res.contentIndex];
+if(!_64.isDefined){
+var _65=_64.content;
+_65["resourceName"]=_64["resourceName"];
+_65["resourcePath"]=_64["resourcePath"];
+this._xdDefList.push(_65);
+_64.isDefined=true;
+}
+this._xdDepMap[req]=null;
+_62=res.requiresAfter;
+if(_62&&_62.length>0){
+for(i=0;i<_62.length;i++){
+_63=_62[i].name;
+if(_63&&!_5e[_63]){
+_5e.push(_63);
+_5e[_63]=true;
+this._xdEvalReqs(_5e);
+}
+}
+}
+}
+_5e.pop();
+}
+};
+dojo._xdClearInterval=function(){
+clearInterval(this._xdTimer);
+this._xdTimer=0;
+};
+dojo._xdWatchInFlight=function(){
+var _66="";
+var _67=(dojo.config.xdWaitSeconds||15)*1000;
+var _68=(this._xdStartTime+_67)<(new Date()).getTime();
+for(var _69 in this._xdInFlight){
+if(this._xdInFlight[_69]===true){
+if(_68){
+_66+=_69+" ";
+}else{
+return;
+}
+}
+}
+this._xdClearInterval();
+if(_68){
+throw "Could not load cross-domain resources: "+_66;
+}
+this._xdWalkReqs();
+var _6a=this._xdDefList.length;
+for(var i=0;i<_6a;i++){
+var _6c=dojo._xdDefList[i];
+if(dojo.config["debugAtAllCosts"]&&_6c["resourceName"]){
+if(!this["_xdDebugQueue"]){
+this._xdDebugQueue=[];
+}
+this._xdDebugQueue.push({resourceName:_6c.resourceName,resourcePath:_6c.resourcePath});
+}else{
+_6c.apply(dojo.global,dojo._scopeArgs);
+}
+}
+for(i=0;i<this._xdContents.length;i++){
+var _6d=this._xdContents[i];
+if(_6d.content&&!_6d.isDefined){
+_6d.content.apply(dojo.global,dojo._scopeArgs);
+}
+}
+this._xdReset();
+if(this["_xdDebugQueue"]&&this._xdDebugQueue.length>0){
+this._xdDebugFileLoaded();
+}else{
+this._xdNotifyLoaded();
+}
+};
+dojo._xdNotifyLoaded=function(){
+this._inFlightCount=0;
+if(this._initFired&&!this._loadNotifying){
+this._callLoaded();
+}
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/_loader/loader_xd.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/array.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/array.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/array.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/array.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,78 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.array"]){
+dojo._hasResource["dojo._base.array"]=true;
+dojo.require("dojo._base.lang");
+dojo.provide("dojo._base.array");
+(function(){
+var _1=function(_2,_3,cb){
+return [dojo.isString(_2)?_2.split(""):_2,_3||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];
+};
+dojo.mixin(dojo,{indexOf:function(_5,_6,_7,_8){
+var _9=1,_a=_5.length||0,i=0;
+if(_8){
+i=_a-1;
+_9=_a=-1;
+}
+if(_7!=undefined){
+i=_7;
+}
+if((_8&&i>_a)||i<_a){
+for(;i!=_a;i+=_9){
+if(_5[i]==_6){
+return i;
+}
+}
+}
+return -1;
+},lastIndexOf:function(_c,_d,_e){
+return dojo.indexOf(_c,_d,_e,true);
+},forEach:function(_f,_10,_11){
+if(!_f||!_f.length){
+return;
+}
+var _p=_1(_f,_11,_10);
+_f=_p[0];
+for(var i=0,l=_f.length;i<l;++i){
+_p[2].call(_p[1],_f[i],i,_f);
+}
+},_everyOrSome:function(_15,arr,_17,_18){
+var _p=_1(arr,_18,_17);
+arr=_p[0];
+for(var i=0,l=arr.length;i<l;++i){
+var _1c=!!_p[2].call(_p[1],arr[i],i,arr);
+if(_15^_1c){
+return _1c;
+}
+}
+return _15;
+},every:function(arr,_1e,_1f){
+return this._everyOrSome(true,arr,_1e,_1f);
+},some:function(arr,_21,_22){
+return this._everyOrSome(false,arr,_21,_22);
+},map:function(arr,_24,_25){
+var _p=_1(arr,_25,_24);
+arr=_p[0];
+var _27=(arguments[3]?(new arguments[3]()):[]);
+for(var i=0,l=arr.length;i<l;++i){
+_27.push(_p[2].call(_p[1],arr[i],i,arr));
+}
+return _27;
+},filter:function(arr,_2b,_2c){
+var _p=_1(arr,_2c,_2b);
+arr=_p[0];
+var _2e=[];
+for(var i=0,l=arr.length;i<l;++i){
+if(_p[2].call(_p[1],arr[i],i,arr)){
+_2e.push(arr[i]);
+}
+}
+return _2e;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/array.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/browser.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/browser.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/browser.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/browser.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,22 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.browser"]){
+dojo._hasResource["dojo._base.browser"]=true;
+dojo.provide("dojo._base.browser");
+dojo.require("dojo._base.window");
+dojo.require("dojo._base.connect");
+dojo.require("dojo._base.event");
+dojo.require("dojo._base.html");
+dojo.require("dojo._base.NodeList");
+dojo.require("dojo._base.query");
+dojo.require("dojo._base.xhr");
+dojo.require("dojo._base.fx");
+dojo.forEach(dojo.config.require,function(i){
+dojo["require"](i);
+});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/browser.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/connect.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/connect.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/connect.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/connect.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,85 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.connect"]){
+dojo._hasResource["dojo._base.connect"]=true;
+dojo.provide("dojo._base.connect");
+dojo.require("dojo._base.lang");
+dojo._listener={getDispatcher:function(){
+return function(){
+var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;
+var r=t&&t.apply(this,arguments);
+var _6;
+_6=[].concat(ls);
+for(var i in _6){
+if(!(i in ap)){
+_6[i].apply(this,arguments);
+}
+}
+return r;
+};
+},add:function(_8,_9,_a){
+_8=_8||dojo.global;
+var f=_8[_9];
+if(!f||!f._listeners){
+var d=dojo._listener.getDispatcher();
+d.target=f;
+d._listeners=[];
+f=_8[_9]=d;
+}
+return f._listeners.push(_a);
+},remove:function(_d,_e,_f){
+var f=(_d||dojo.global)[_e];
+if(f&&f._listeners&&_f--){
+delete f._listeners[_f];
+}
+}};
+dojo.connect=function(obj,_12,_13,_14,_15){
+var a=arguments,_17=[],i=0;
+_17.push(dojo.isString(a[0])?null:a[i++],a[i++]);
+var a1=a[i+1];
+_17.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);
+for(var l=a.length;i<l;i++){
+_17.push(a[i]);
+}
+return dojo._connect.apply(this,_17);
+};
+dojo._connect=function(obj,_1c,_1d,_1e){
+var l=dojo._listener,h=l.add(obj,_1c,dojo.hitch(_1d,_1e));
+return [obj,_1c,h,l];
+};
+dojo.disconnect=function(_21){
+if(_21&&_21[0]!==undefined){
+dojo._disconnect.apply(this,_21);
+delete _21[0];
+}
+};
+dojo._disconnect=function(obj,_23,_24,_25){
+_25.remove(obj,_23,_24);
+};
+dojo._topics={};
+dojo.subscribe=function(_26,_27,_28){
+return [_26,dojo._listener.add(dojo._topics,_26,dojo.hitch(_27,_28))];
+};
+dojo.unsubscribe=function(_29){
+if(_29){
+dojo._listener.remove(dojo._topics,_29[0],_29[1]);
+}
+};
+dojo.publish=function(_2a,_2b){
+var f=dojo._topics[_2a];
+if(f){
+f.apply(this,_2b||[]);
+}
+};
+dojo.connectPublisher=function(_2d,obj,_2f){
+var pf=function(){
+dojo.publish(_2d,arguments);
+};
+return (_2f)?dojo.connect(obj,_2f,pf):dojo.connect(obj,pf);
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/connect.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/declare.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/declare.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/declare.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/declare.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,128 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.declare"]){
+dojo._hasResource["dojo._base.declare"]=true;
+dojo.provide("dojo._base.declare");
+dojo.require("dojo._base.lang");
+dojo.declare=function(_1,_2,_3){
+var dd=arguments.callee,_5;
+if(dojo.isArray(_2)){
+_5=_2;
+_2=_5.shift();
+}
+if(_5){
+dojo.forEach(_5,function(m,i){
+if(!m){
+throw (_1+": mixin #"+i+" is null");
+}
+_2=dd._delegate(_2,m);
+});
+}
+var _8=dd._delegate(_2);
+_3=_3||{};
+_8.extend(_3);
+dojo.extend(_8,{declaredClass:_1,_constructor:_3.constructor});
+_8.prototype.constructor=_8;
+return dojo.setObject(_1,_8);
+};
+dojo.mixin(dojo.declare,{_delegate:function(_9,_a){
+var bp=(_9||0).prototype,mp=(_a||0).prototype,dd=dojo.declare;
+var _e=dd._makeCtor();
+dojo.mixin(_e,{superclass:bp,mixin:mp,extend:dd._extend});
+if(_9){
+_e.prototype=dojo._delegate(bp);
+}
+dojo.extend(_e,dd._core,mp||0,{_constructor:null,preamble:null});
+_e.prototype.constructor=_e;
+_e.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;
+return _e;
+},_extend:function(_f){
+var i,fn;
+for(i in _f){
+if(dojo.isFunction(fn=_f[i])&&!0[i]){
+fn.nom=i;
+fn.ctor=this;
+}
+}
+dojo.extend(this,_f);
+},_makeCtor:function(){
+return function(){
+this._construct(arguments);
+};
+},_core:{_construct:function(_12){
+var c=_12.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_12,ii,fn;
+if(a[0]){
+if(((fn=a[0].preamble))){
+a=fn.apply(this,a)||a;
+}
+}
+if((fn=c.prototype.preamble)){
+a=fn.apply(this,a)||a;
+}
+if(ct&&ct.apply){
+ct.apply(this,a);
+}
+if(mct&&mct.apply){
+mct.apply(this,a);
+}
+if((ii=c.prototype._constructor)){
+ii.apply(this,_12);
+}
+if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){
+ct.apply(this,_12);
+}
+},_findMixin:function(_1b){
+var c=this.constructor,p,m;
+while(c){
+p=c.superclass;
+m=c.mixin;
+if(m==_1b||(m instanceof _1b.constructor)){
+return p;
+}
+if(m&&m._findMixin&&(m=m._findMixin(_1b))){
+return m;
+}
+c=p&&p.constructor;
+}
+},_findMethod:function(_1f,_20,_21,has){
+var p=_21,c,m,f;
+do{
+c=p.constructor;
+m=c.mixin;
+if(m&&(m=this._findMethod(_1f,_20,m,has))){
+return m;
+}
+if((f=p[_1f])&&(has==(f==_20))){
+return p;
+}
+p=c.superclass;
+}while(p);
+return !has&&(p=this._findMixin(_21))&&this._findMethod(_1f,_20,p,has);
+},inherited:function(_27,_28,_29){
+var a=arguments;
+if(!dojo.isString(a[0])){
+_29=_28;
+_28=_27;
+_27=_28.callee.nom;
+}
+a=_29||_28;
+var c=_28.callee,p=this.constructor.prototype,fn,mp;
+if(this[_27]!=c||p[_27]==c){
+mp=(c.ctor||0).superclass||this._findMethod(_27,c,p,true);
+if(!mp){
+throw (this.declaredClass+": inherited method \""+_27+"\" mismatch");
+}
+p=this._findMethod(_27,c,mp,false);
+}
+fn=p&&p[_27];
+if(!fn){
+throw (mp.declaredClass+": inherited method \""+_27+"\" not found");
+}
+return fn.apply(this,a);
+}}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/declare.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/event.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/event.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/event.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/event.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,341 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.event"]){
+dojo._hasResource["dojo._base.event"]=true;
+dojo.provide("dojo._base.event");
+dojo.require("dojo._base.connect");
+(function(){
+var _1=(dojo._event_listener={add:function(_2,_3,fp){
+if(!_2){
+return;
+}
+_3=_1._normalizeEventName(_3);
+fp=_1._fixCallback(_3,fp);
+var _5=_3;
+if(!dojo.isIE&&(_3=="mouseenter"||_3=="mouseleave")){
+var _6=fp;
+_3=(_3=="mouseenter")?"mouseover":"mouseout";
+fp=function(e){
+if(dojo.isFF<=2){
+try{
+e.relatedTarget.tagName;
+}
+catch(e2){
+return;
+}
+}
+if(!dojo.isDescendant(e.relatedTarget,_2)){
+return _6.call(this,e);
+}
+};
+}
+_2.addEventListener(_3,fp,false);
+return fp;
+},remove:function(_8,_9,_a){
+if(_8){
+_9=_1._normalizeEventName(_9);
+if(!dojo.isIE&&(_9=="mouseenter"||_9=="mouseleave")){
+_9=(_9=="mouseenter")?"mouseover":"mouseout";
+}
+_8.removeEventListener(_9,_a,false);
+}
+},_normalizeEventName:function(_b){
+return _b.slice(0,2)=="on"?_b.slice(2):_b;
+},_fixCallback:function(_c,fp){
+return _c!="keypress"?fp:function(e){
+return fp.call(this,_1._fixEvent(e,this));
+};
+},_fixEvent:function(_f,_10){
+switch(_f.type){
+case "keypress":
+_1._setKeyChar(_f);
+break;
+}
+return _f;
+},_setKeyChar:function(evt){
+evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";
+evt.charOrCode=evt.keyChar||evt.keyCode;
+},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}});
+dojo.fixEvent=function(evt,_13){
+return _1._fixEvent(evt,_13);
+};
+dojo.stopEvent=function(evt){
+evt.preventDefault();
+evt.stopPropagation();
+};
+var _15=dojo._listener;
+dojo._connect=function(obj,_17,_18,_19,_1a){
+var _1b=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);
+var lid=_1b?(_1a?2:1):0,l=[dojo._listener,_1,_15][lid];
+var h=l.add(obj,_17,dojo.hitch(_18,_19));
+return [obj,_17,h,lid];
+};
+dojo._disconnect=function(obj,_20,_21,_22){
+([dojo._listener,_1,_15][_22]).remove(obj,_20,_21);
+};
+dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE: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,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145};
+if(dojo.isIE){
+var _23=function(e,_25){
+try{
+return (e.keyCode=_25);
+}
+catch(e){
+return 0;
+}
+};
+var iel=dojo._listener;
+var _27=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");
+if(!dojo.config._allow_leaks){
+_15=iel=dojo._ie_listener={handlers:[],add:function(_28,_29,_2a){
+_28=_28||dojo.global;
+var f=_28[_29];
+if(!f||!f[_27]){
+var d=dojo._getIeDispatcher();
+d.target=f&&(ieh.push(f)-1);
+d[_27]=[];
+f=_28[_29]=d;
+}
+return f[_27].push(ieh.push(_2a)-1);
+},remove:function(_2e,_2f,_30){
+var f=(_2e||dojo.global)[_2f],l=f&&f[_27];
+if(f&&l&&_30--){
+delete ieh[l[_30]];
+delete l[_30];
+}
+}};
+var ieh=iel.handlers;
+}
+dojo.mixin(_1,{add:function(_33,_34,fp){
+if(!_33){
+return;
+}
+_34=_1._normalizeEventName(_34);
+if(_34=="onkeypress"){
+var kd=_33.onkeydown;
+if(!kd||!kd[_27]||!kd._stealthKeydownHandle){
+var h=_1.add(_33,"onkeydown",_1._stealthKeyDown);
+kd=_33.onkeydown;
+kd._stealthKeydownHandle=h;
+kd._stealthKeydownRefs=1;
+}else{
+kd._stealthKeydownRefs++;
+}
+}
+return iel.add(_33,_34,_1._fixCallback(fp));
+},remove:function(_38,_39,_3a){
+_39=_1._normalizeEventName(_39);
+iel.remove(_38,_39,_3a);
+if(_39=="onkeypress"){
+var kd=_38.onkeydown;
+if(--kd._stealthKeydownRefs<=0){
+iel.remove(_38,"onkeydown",kd._stealthKeydownHandle);
+delete kd._stealthKeydownHandle;
+}
+}
+},_normalizeEventName:function(_3c){
+return _3c.slice(0,2)!="on"?"on"+_3c:_3c;
+},_nop:function(){
+},_fixEvent:function(evt,_3e){
+if(!evt){
+var w=_3e&&(_3e.ownerDocument||_3e.document||_3e).parentWindow||window;
+evt=w.event;
+}
+if(!evt){
+return (evt);
+}
+evt.target=evt.srcElement;
+evt.currentTarget=(_3e||evt.srcElement);
+evt.layerX=evt.offsetX;
+evt.layerY=evt.offsetY;
+var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;
+var _42=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;
+var _43=dojo._getIeDocumentElementOffset();
+evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_42.scrollLeft||0)-_43.x;
+evt.pageY=evt.clientY+(_42.scrollTop||0)-_43.y;
+if(evt.type=="mouseover"){
+evt.relatedTarget=evt.fromElement;
+}
+if(evt.type=="mouseout"){
+evt.relatedTarget=evt.toElement;
+}
+evt.stopPropagation=_1._stopPropagation;
+evt.preventDefault=_1._preventDefault;
+return _1._fixKeys(evt);
+},_fixKeys:function(evt){
+switch(evt.type){
+case "keypress":
+var c=("charCode" in evt?evt.charCode:evt.keyCode);
+if(c==10){
+c=0;
+evt.keyCode=13;
+}else{
+if(c==13||c==27){
+c=0;
+}else{
+if(c==3){
+c=99;
+}
+}
+}
+evt.charCode=c;
+_1._setKeyChar(evt);
+break;
+}
+return evt;
+},_stealthKeyDown:function(evt){
+var kp=evt.currentTarget.onkeypress;
+if(!kp||!kp[_27]){
+return;
+}
+var k=evt.keyCode;
+var _49=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);
+if(_49||evt.ctrlKey){
+var c=_49?0:k;
+if(evt.ctrlKey){
+if(k==3||k==13){
+return;
+}else{
+if(c>95&&c<106){
+c-=48;
+}else{
+if((!evt.shiftKey)&&(c>=65&&c<=90)){
+c+=32;
+}else{
+c=_1._punctMap[c]||c;
+}
+}
+}
+}
+var _4b=_1._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});
+kp.call(evt.currentTarget,_4b);
+evt.cancelBubble=_4b.cancelBubble;
+evt.returnValue=_4b.returnValue;
+_23(evt,_4b.keyCode);
+}
+},_stopPropagation:function(){
+this.cancelBubble=true;
+},_preventDefault:function(){
+this.bubbledKeyCode=this.keyCode;
+if(this.ctrlKey){
+_23(this,0);
+}
+this.returnValue=false;
+}});
+dojo.stopEvent=function(evt){
+evt=evt||window.event;
+_1._stopPropagation.call(evt);
+_1._preventDefault.call(evt);
+};
+}
+_1._synthesizeEvent=function(evt,_4e){
+var _4f=dojo.mixin({},evt,_4e);
+_1._setKeyChar(_4f);
+_4f.preventDefault=function(){
+evt.preventDefault();
+};
+_4f.stopPropagation=function(){
+evt.stopPropagation();
+};
+return _4f;
+};
+if(dojo.isOpera){
+dojo.mixin(_1,{_fixEvent:function(evt,_51){
+switch(evt.type){
+case "keypress":
+var c=evt.which;
+if(c==3){
+c=99;
+}
+c=c<41&&!evt.shiftKey?0:c;
+if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){
+c+=32;
+}
+return _1._synthesizeEvent(evt,{charCode:c});
+}
+return evt;
+}});
+}
+if(dojo.isWebKit){
+_1._add=_1.add;
+_1._remove=_1.remove;
+dojo.mixin(_1,{add:function(_53,_54,fp){
+if(!_53){
+return;
+}
+var _56=_1._add(_53,_54,fp);
+if(_1._normalizeEventName(_54)=="keypress"){
+_56._stealthKeyDownHandle=_1._add(_53,"keydown",function(evt){
+var k=evt.keyCode;
+var _59=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);
+if(_59||evt.ctrlKey){
+var c=_59?0:k;
+if(evt.ctrlKey){
+if(k==3||k==13){
+return;
+}else{
+if(c>95&&c<106){
+c-=48;
+}else{
+if(!evt.shiftKey&&c>=65&&c<=90){
+c+=32;
+}else{
+c=_1._punctMap[c]||c;
+}
+}
+}
+}
+var _5b=_1._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});
+fp.call(evt.currentTarget,_5b);
+}
+});
+}
+return _56;
+},remove:function(_5c,_5d,_5e){
+if(_5c){
+if(_5e._stealthKeyDownHandle){
+_1._remove(_5c,"keydown",_5e._stealthKeyDownHandle);
+}
+_1._remove(_5c,_5d,_5e);
+}
+},_fixEvent:function(evt,_60){
+switch(evt.type){
+case "keypress":
+if(evt.faux){
+return evt;
+}
+var c=evt.charCode;
+c=c>=32?c:0;
+return _1._synthesizeEvent(evt,{charCode:c,faux:true});
+}
+return evt;
+}});
+}
+})();
+if(dojo.isIE){
+dojo._ieDispatcher=function(_62,_63){
+var ap=Array.prototype,h=dojo._ie_listener.handlers,c=_62.callee,ls=c[dojo._ieListenersName],t=h[c.target];
+var r=t&&t.apply(_63,_62);
+var lls=[].concat(ls);
+for(var i in lls){
+if(!(i in ap)){
+h[lls[i]].apply(_63,_62);
+}
+}
+return r;
+};
+dojo._getIeDispatcher=function(){
+return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");
+};
+dojo._event_listener._fixCallback=function(fp){
+var f=dojo._event_listener._fixEvent;
+return function(e){
+return fp.call(this,f(e,this));
+};
+};
+}
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/event.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/fx.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/fx.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/fx.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/fx.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,296 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.fx"]){
+dojo._hasResource["dojo._base.fx"]=true;
+dojo.provide("dojo._base.fx");
+dojo.require("dojo._base.Color");
+dojo.require("dojo._base.connect");
+dojo.require("dojo._base.declare");
+dojo.require("dojo._base.lang");
+dojo.require("dojo._base.html");
+(function(){
+var d=dojo;
+var _2=d.mixin;
+dojo._Line=function(_3,_4){
+this.start=_3;
+this.end=_4;
+};
+dojo._Line.prototype.getValue=function(n){
+return ((this.end-this.start)*n)+this.start;
+};
+d.declare("dojo._Animation",null,{constructor:function(_6){
+_2(this,_6);
+if(d.isArray(this.curve)){
+this.curve=new d._Line(this.curve[0],this.curve[1]);
+}
+},duration:350,repeat:0,rate:10,_percent:0,_startRepeatCount:0,_fire:function(_7,_8){
+if(this[_7]){
+if(dojo.config.debugAtAllCosts){
+this[_7].apply(this,_8||[]);
+}else{
+try{
+this[_7].apply(this,_8||[]);
+}
+catch(e){
+console.error("exception in animation handler for:",_7);
+console.error(e);
+}
+}
+}
+return this;
+},play:function(_9,_a){
+var _t=this;
+if(_t._delayTimer){
+_t._clearTimer();
+}
+if(_a){
+_t._stopTimer();
+_t._active=_t._paused=false;
+_t._percent=0;
+}else{
+if(_t._active&&!_t._paused){
+return _t;
+}
+}
+_t._fire("beforeBegin");
+var de=_9||_t.delay,_p=dojo.hitch(_t,"_play",_a);
+if(de>0){
+_t._delayTimer=setTimeout(_p,de);
+return _t;
+}
+_p();
+return _t;
+},_play:function(_e){
+var _t=this;
+if(_t._delayTimer){
+_t._clearTimer();
+}
+_t._startTime=new Date().valueOf();
+if(_t._paused){
+_t._startTime-=_t.duration*_t._percent;
+}
+_t._endTime=_t._startTime+_t.duration;
+_t._active=true;
+_t._paused=false;
+var _10=_t.curve.getValue(_t._percent);
+if(!_t._percent){
+if(!_t._startRepeatCount){
+_t._startRepeatCount=_t.repeat;
+}
+_t._fire("onBegin",[_10]);
+}
+_t._fire("onPlay",[_10]);
+_t._cycle();
+return _t;
+},pause:function(){
+var _t=this;
+if(_t._delayTimer){
+_t._clearTimer();
+}
+_t._stopTimer();
+if(!_t._active){
+return _t;
+}
+_t._paused=true;
+_t._fire("onPause",[_t.curve.getValue(_t._percent)]);
+return _t;
+},gotoPercent:function(_12,_13){
+var _t=this;
+_t._stopTimer();
+_t._active=_t._paused=true;
+_t._percent=_12;
+if(_13){
+_t.play();
+}
+return _t;
+},stop:function(_15){
+var _t=this;
+if(_t._delayTimer){
+_t._clearTimer();
+}
+if(!_t._timer){
+return _t;
+}
+_t._stopTimer();
+if(_15){
+_t._percent=1;
+}
+_t._fire("onStop",[_t.curve.getValue(_t._percent)]);
+_t._active=_t._paused=false;
+return _t;
+},status:function(){
+if(this._active){
+return this._paused?"paused":"playing";
+}
+return "stopped";
+},_cycle:function(){
+var _t=this;
+if(_t._active){
+var _18=new Date().valueOf();
+var _19=(_18-_t._startTime)/(_t._endTime-_t._startTime);
+if(_19>=1){
+_19=1;
+}
+_t._percent=_19;
+if(_t.easing){
+_19=_t.easing(_19);
+}
+_t._fire("onAnimate",[_t.curve.getValue(_19)]);
+if(_t._percent<1){
+_t._startTimer();
+}else{
+_t._active=false;
+if(_t.repeat>0){
+_t.repeat--;
+_t.play(null,true);
+}else{
+if(_t.repeat==-1){
+_t.play(null,true);
+}else{
+if(_t._startRepeatCount){
+_t.repeat=_t._startRepeatCount;
+_t._startRepeatCount=0;
+}
+}
+}
+_t._percent=0;
+_t._fire("onEnd");
+_t._stopTimer();
+}
+}
+return _t;
+},_clearTimer:function(){
+clearTimeout(this._delayTimer);
+delete this._delayTimer;
+}});
+var ctr=0,_1b=[],_1c=null,_1d={run:function(){
+}};
+dojo._Animation.prototype._startTimer=function(){
+if(!this._timer){
+this._timer=d.connect(_1d,"run",this,"_cycle");
+ctr++;
+}
+if(!_1c){
+_1c=setInterval(d.hitch(_1d,"run"),this.rate);
+}
+};
+dojo._Animation.prototype._stopTimer=function(){
+if(this._timer){
+d.disconnect(this._timer);
+this._timer=null;
+ctr--;
+}
+if(ctr<=0){
+clearInterval(_1c);
+_1c=null;
+ctr=0;
+}
+};
+var _1e=d.isIE?function(_1f){
+var ns=_1f.style;
+if(!ns.width.length&&d.style(_1f,"width")=="auto"){
+ns.width="auto";
+}
+}:function(){
+};
+dojo._fade=function(_21){
+_21.node=d.byId(_21.node);
+var _22=_2({properties:{}},_21),_23=(_22.properties.opacity={});
+_23.start=!("start" in _22)?function(){
+return +d.style(_22.node,"opacity")||0;
+}:_22.start;
+_23.end=_22.end;
+var _24=d.animateProperty(_22);
+d.connect(_24,"beforeBegin",d.partial(_1e,_22.node));
+return _24;
+};
+dojo.fadeIn=function(_25){
+return d._fade(_2({end:1},_25));
+};
+dojo.fadeOut=function(_26){
+return d._fade(_2({end:0},_26));
+};
+dojo._defaultEasing=function(n){
+return 0.5+((Math.sin((n+1.5)*Math.PI))/2);
+};
+var _28=function(_29){
+this._properties=_29;
+for(var p in _29){
+var _2b=_29[p];
+if(_2b.start instanceof d.Color){
+_2b.tempColor=new d.Color();
+}
+}
+};
+_28.prototype.getValue=function(r){
+var ret={};
+for(var p in this._properties){
+var _2f=this._properties[p],_30=_2f.start;
+if(_30 instanceof d.Color){
+ret[p]=d.blendColors(_30,_2f.end,r,_2f.tempColor).toCss();
+}else{
+if(!d.isArray(_30)){
+ret[p]=((_2f.end-_30)*r)+_30+(p!="opacity"?_2f.units||"px":0);
+}
+}
+}
+return ret;
+};
+dojo.animateProperty=function(_31){
+_31.node=d.byId(_31.node);
+if(!_31.easing){
+_31.easing=d._defaultEasing;
+}
+var _32=new d._Animation(_31);
+d.connect(_32,"beforeBegin",_32,function(){
+var pm={};
+for(var p in this.properties){
+if(p=="width"||p=="height"){
+this.node.display="block";
+}
+var _35=this.properties[p];
+_35=pm[p]=_2({},(d.isObject(_35)?_35:{end:_35}));
+if(d.isFunction(_35.start)){
+_35.start=_35.start();
+}
+if(d.isFunction(_35.end)){
+_35.end=_35.end();
+}
+var _36=(p.toLowerCase().indexOf("color")>=0);
+function _37(_38,p){
+var v={height:_38.offsetHeight,width:_38.offsetWidth}[p];
+if(v!==undefined){
+return v;
+}
+v=d.style(_38,p);
+return (p=="opacity")?+v:(_36?v:parseFloat(v));
+};
+if(!("end" in _35)){
+_35.end=_37(this.node,p);
+}else{
+if(!("start" in _35)){
+_35.start=_37(this.node,p);
+}
+}
+if(_36){
+_35.start=new d.Color(_35.start);
+_35.end=new d.Color(_35.end);
+}else{
+_35.start=(p=="opacity")?+_35.start:parseFloat(_35.start);
+}
+}
+this.curve=new _28(pm);
+});
+d.connect(_32,"onAnimate",d.hitch(d,"style",_32.node));
+return _32;
+};
+dojo.anim=function(_3b,_3c,_3d,_3e,_3f,_40){
+return d.animateProperty({node:_3b,duration:_3d||d._Animation.prototype.duration,properties:_3c,easing:_3e,onEnd:_3f}).play(_40||0);
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/fx.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/html.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/html.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/html.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/html.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,715 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.html"]){
+dojo._hasResource["dojo._base.html"]=true;
+dojo.require("dojo._base.lang");
+dojo.provide("dojo._base.html");
+try{
+document.execCommand("BackgroundImageCache",false,true);
+}
+catch(e){
+}
+if(dojo.isIE||dojo.isOpera){
+dojo.byId=function(id,_2){
+if(dojo.isString(id)){
+var _d=_2||dojo.doc;
+var te=_d.getElementById(id);
+if(te&&te.attributes.id.value==id){
+return te;
+}else{
+var _5=_d.all[id];
+if(!_5||_5.nodeName){
+_5=[_5];
+}
+var i=0;
+while((te=_5[i++])){
+if(te.attributes&&te.attributes.id&&te.attributes.id.value==id){
+return te;
+}
+}
+}
+}else{
+return id;
+}
+};
+}else{
+dojo.byId=function(id,_8){
+return dojo.isString(id)?(_8||dojo.doc).getElementById(id):id;
+};
+}
+(function(){
+var d=dojo;
+var _a=null;
+d.addOnWindowUnload(function(){
+_a=null;
+});
+dojo._destroyElement=dojo.destroy=function(_b){
+_b=d.byId(_b);
+try{
+if(!_a||_a.ownerDocument!=_b.ownerDocument){
+_a=_b.ownerDocument.createElement("div");
+}
+_a.appendChild(_b.parentNode?_b.parentNode.removeChild(_b):_b);
+_a.innerHTML="";
+}
+catch(e){
+}
+};
+dojo.isDescendant=function(_c,_d){
+try{
+_c=d.byId(_c);
+_d=d.byId(_d);
+while(_c){
+if(_c===_d){
+return true;
+}
+_c=_c.parentNode;
+}
+}
+catch(e){
+}
+return false;
+};
+dojo.setSelectable=function(_e,_f){
+_e=d.byId(_e);
+if(d.isMozilla){
+_e.style.MozUserSelect=_f?"":"none";
+}else{
+if(d.isKhtml||d.isWebKit){
+_e.style.KhtmlUserSelect=_f?"auto":"none";
+}else{
+if(d.isIE){
+var v=(_e.unselectable=_f?"":"on");
+d.query("*",_e).forEach("item.unselectable = '"+v+"'");
+}
+}
+}
+};
+var _11=function(_12,ref){
+var _14=ref.parentNode;
+if(_14){
+_14.insertBefore(_12,ref);
+}
+};
+var _15=function(_16,ref){
+var _18=ref.parentNode;
+if(_18){
+if(_18.lastChild==ref){
+_18.appendChild(_16);
+}else{
+_18.insertBefore(_16,ref.nextSibling);
+}
+}
+};
+dojo.place=function(_19,_1a,_1b){
+_1a=d.byId(_1a);
+if(d.isString(_19)){
+_19=_19.charAt(0)=="<"?d._toDom(_19,_1a.ownerDocument):d.byId(_19);
+}
+if(typeof _1b=="number"){
+var cn=_1a.childNodes;
+if(!cn.length||cn.length<=_1b){
+_1a.appendChild(_19);
+}else{
+_11(_19,cn[_1b<0?0:_1b]);
+}
+}else{
+switch(_1b){
+case "before":
+_11(_19,_1a);
+break;
+case "after":
+_15(_19,_1a);
+break;
+case "replace":
+_1a.parentNode.replaceChild(_19,_1a);
+break;
+case "only":
+d.empty(_1a);
+_1a.appendChild(_19);
+break;
+case "first":
+if(_1a.firstChild){
+_11(_19,_1a.firstChild);
+break;
+}
+default:
+_1a.appendChild(_19);
+}
+}
+return _19;
+};
+dojo.boxModel="content-box";
+if(d.isIE){
+var _1d=document.compatMode;
+d.boxModel=_1d=="BackCompat"||_1d=="QuirksMode"||d.isIE<6?"border-box":"content-box";
+}
+var gcs;
+if(d.isWebKit){
+gcs=function(_1f){
+var s;
+if(_1f instanceof HTMLElement){
+var dv=_1f.ownerDocument.defaultView;
+s=dv.getComputedStyle(_1f,null);
+if(!s&&_1f.style){
+_1f.style.display="";
+s=dv.getComputedStyle(_1f,null);
+}
+}
+return s||{};
+};
+}else{
+if(d.isIE){
+gcs=function(_22){
+return _22.nodeType==1?_22.currentStyle:{};
+};
+}else{
+gcs=function(_23){
+return _23 instanceof HTMLElement?_23.ownerDocument.defaultView.getComputedStyle(_23,null):{};
+};
+}
+}
+dojo.getComputedStyle=gcs;
+if(!d.isIE){
+d._toPixelValue=function(_24,_25){
+return parseFloat(_25)||0;
+};
+}else{
+d._toPixelValue=function(_26,_27){
+if(!_27){
+return 0;
+}
+if(_27=="medium"){
+return 4;
+}
+if(_27.slice&&_27.slice(-2)=="px"){
+return parseFloat(_27);
+}
+with(_26){
+var _28=style.left;
+var _29=runtimeStyle.left;
+runtimeStyle.left=currentStyle.left;
+try{
+style.left=_27;
+_27=style.pixelLeft;
+}
+catch(e){
+_27=0;
+}
+style.left=_28;
+runtimeStyle.left=_29;
+}
+return _27;
+};
+}
+var px=d._toPixelValue;
+var _2b="DXImageTransform.Microsoft.Alpha";
+var af=function(n,f){
+try{
+return n.filters.item(_2b);
+}
+catch(e){
+return f?{}:null;
+}
+};
+dojo._getOpacity=d.isIE?function(_2f){
+try{
+return af(_2f).Opacity/100;
+}
+catch(e){
+return 1;
+}
+}:function(_30){
+return gcs(_30).opacity;
+};
+dojo._setOpacity=d.isIE?function(_31,_32){
+var ov=_32*100;
+_31.style.zoom=1;
+af(_31,1).Enabled=!(_32==1);
+if(!af(_31)){
+_31.style.filter+=" progid:"+_2b+"(Opacity="+ov+")";
+}else{
+af(_31,1).Opacity=ov;
+}
+if(_31.nodeName.toLowerCase()=="tr"){
+d.query("> td",_31).forEach(function(i){
+d._setOpacity(i,_32);
+});
+}
+return _32;
+}:function(_35,_36){
+return _35.style.opacity=_36;
+};
+var _37={left:true,top:true};
+var _38=/margin|padding|width|height|max|min|offset/;
+var _39=function(_3a,_3b,_3c){
+_3b=_3b.toLowerCase();
+if(d.isIE){
+if(_3c=="auto"){
+if(_3b=="height"){
+return _3a.offsetHeight;
+}
+if(_3b=="width"){
+return _3a.offsetWidth;
+}
+}
+if(_3b=="fontweight"){
+switch(_3c){
+case 700:
+return "bold";
+case 400:
+default:
+return "normal";
+}
+}
+}
+if(!(_3b in _37)){
+_37[_3b]=_38.test(_3b);
+}
+return _37[_3b]?px(_3a,_3c):_3c;
+};
+var _3d=d.isIE?"styleFloat":"cssFloat",_3e={"cssFloat":_3d,"styleFloat":_3d,"float":_3d};
+dojo.style=function(_3f,_40,_41){
+var n=d.byId(_3f),_43=arguments.length,op=(_40=="opacity");
+_40=_3e[_40]||_40;
+if(_43==3){
+return op?d._setOpacity(n,_41):n.style[_40]=_41;
+}
+if(_43==2&&op){
+return d._getOpacity(n);
+}
+var s=gcs(n);
+if(_43==2&&!d.isString(_40)){
+for(var x in _40){
+d.style(_3f,x,_40[x]);
+}
+return s;
+}
+return (_43==1)?s:_39(n,_40,s[_40]||n.style[_40]);
+};
+dojo._getPadExtents=function(n,_48){
+var s=_48||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);
+return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};
+};
+dojo._getBorderExtents=function(n,_4d){
+var ne="none",s=_4d||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);
+return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};
+};
+dojo._getPadBorderExtents=function(n,_53){
+var s=_53||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);
+return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};
+};
+dojo._getMarginExtents=function(n,_58){
+var s=_58||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);
+if(d.isWebKit&&(s.position!="absolute")){
+r=l;
+}
+return {l:l,t:t,w:l+r,h:t+b};
+};
+dojo._getMarginBox=function(_5e,_5f){
+var s=_5f||gcs(_5e),me=d._getMarginExtents(_5e,s);
+var l=_5e.offsetLeft-me.l,t=_5e.offsetTop-me.t,p=_5e.parentNode;
+if(d.isMoz){
+var sl=parseFloat(s.left),st=parseFloat(s.top);
+if(!isNaN(sl)&&!isNaN(st)){
+l=sl,t=st;
+}else{
+if(p&&p.style){
+var pcs=gcs(p);
+if(pcs.overflow!="visible"){
+var be=d._getBorderExtents(p,pcs);
+l+=be.l,t+=be.t;
+}
+}
+}
+}else{
+if(d.isOpera){
+if(p){
+be=d._getBorderExtents(p);
+l-=be.l;
+t-=be.t;
+}
+}
+}
+return {l:l,t:t,w:_5e.offsetWidth+me.w,h:_5e.offsetHeight+me.h};
+};
+dojo._getContentBox=function(_69,_6a){
+var s=_6a||gcs(_69),pe=d._getPadExtents(_69,s),be=d._getBorderExtents(_69,s),w=_69.clientWidth,h;
+if(!w){
+w=_69.offsetWidth,h=_69.offsetHeight;
+}else{
+h=_69.clientHeight,be.w=be.h=0;
+}
+if(d.isOpera){
+pe.l+=be.l;
+pe.t+=be.t;
+}
+return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};
+};
+dojo._getBorderBox=function(_70,_71){
+var s=_71||gcs(_70),pe=d._getPadExtents(_70,s),cb=d._getContentBox(_70,s);
+return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};
+};
+dojo._setBox=function(_75,l,t,w,h,u){
+u=u||"px";
+var s=_75.style;
+if(!isNaN(l)){
+s.left=l+u;
+}
+if(!isNaN(t)){
+s.top=t+u;
+}
+if(w>=0){
+s.width=w+u;
+}
+if(h>=0){
+s.height=h+u;
+}
+};
+dojo._isButtonTag=function(_7c){
+return _7c.tagName=="BUTTON"||_7c.tagName=="INPUT"&&_7c.getAttribute("type").toUpperCase()=="BUTTON";
+};
+dojo._usesBorderBox=function(_7d){
+var n=_7d.tagName;
+return d.boxModel=="border-box"||n=="TABLE"||d._isButtonTag(_7d);
+};
+dojo._setContentSize=function(_7f,_80,_81,_82){
+if(d._usesBorderBox(_7f)){
+var pb=d._getPadBorderExtents(_7f,_82);
+if(_80>=0){
+_80+=pb.w;
+}
+if(_81>=0){
+_81+=pb.h;
+}
+}
+d._setBox(_7f,NaN,NaN,_80,_81);
+};
+dojo._setMarginBox=function(_84,_85,_86,_87,_88,_89){
+var s=_89||gcs(_84),bb=d._usesBorderBox(_84),pb=bb?_8d:d._getPadBorderExtents(_84,s);
+if(d.isWebKit){
+if(d._isButtonTag(_84)){
+var ns=_84.style;
+if(_87>=0&&!ns.width){
+ns.width="4px";
+}
+if(_88>=0&&!ns.height){
+ns.height="4px";
+}
+}
+}
+var mb=d._getMarginExtents(_84,s);
+if(_87>=0){
+_87=Math.max(_87-pb.w-mb.w,0);
+}
+if(_88>=0){
+_88=Math.max(_88-pb.h-mb.h,0);
+}
+d._setBox(_84,_85,_86,_87,_88);
+};
+var _8d={l:0,t:0,w:0,h:0};
+dojo.marginBox=function(_90,box){
+var n=d.byId(_90),s=gcs(n),b=box;
+return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);
+};
+dojo.contentBox=function(_95,box){
+var n=d.byId(_95),s=gcs(n),b=box;
+return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);
+};
+var _9a=function(_9b,_9c){
+if(!(_9b=(_9b||0).parentNode)){
+return 0;
+}
+var val,_9e=0,_b=d.body();
+while(_9b&&_9b.style){
+if(gcs(_9b).position=="fixed"){
+return 0;
+}
+val=_9b[_9c];
+if(val){
+_9e+=val-0;
+if(_9b==_b){
+break;
+}
+}
+_9b=_9b.parentNode;
+}
+return _9e;
+};
+dojo._docScroll=function(){
+var _b=d.body(),_w=d.global,de=d.doc.documentElement;
+return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};
+};
+dojo._isBodyLtr=function(){
+return ("_bodyLtr" in d)?d._bodyLtr:d._bodyLtr=gcs(d.body()).direction=="ltr";
+};
+dojo._getIeDocumentElementOffset=function(){
+var de=d.doc.documentElement;
+if(d.isIE<7){
+return {x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};
+}else{
+if(d.isIE<8){
+return {x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top};
+}else{
+return {x:0,y:0};
+}
+}
+};
+dojo._fixIeBiDiScrollLeft=function(_a4){
+var dd=d.doc;
+if(d.isIE&&!d._isBodyLtr()){
+var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;
+return _a4+de.clientWidth-de.scrollWidth;
+}
+return _a4;
+};
+dojo._abs=function(_a7,_a8){
+var db=d.body(),dh=d.body().parentNode,ret;
+if(_a7["getBoundingClientRect"]){
+var _ac=_a7.getBoundingClientRect();
+ret={x:_ac.left,y:_ac.top};
+if(d.isFF>=3){
+var cs=gcs(dh);
+ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);
+ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);
+}
+if(d.isIE){
+var _ae=d._getIeDocumentElementOffset();
+ret.x-=_ae.x+(d.isQuirks?db.clientLeft:0);
+ret.y-=_ae.y+(d.isQuirks?db.clientTop:0);
+}
+}else{
+ret={x:0,y:0};
+if(_a7["offsetParent"]){
+ret.x-=_9a(_a7,"scrollLeft");
+ret.y-=_9a(_a7,"scrollTop");
+var _af=_a7;
+do{
+var n=_af.offsetLeft,t=_af.offsetTop;
+ret.x+=isNaN(n)?0:n;
+ret.y+=isNaN(t)?0:t;
+cs=gcs(_af);
+if(_af!=_a7){
+if(d.isFF){
+ret.x+=2*px(_af,cs.borderLeftWidth);
+ret.y+=2*px(_af,cs.borderTopWidth);
+}else{
+ret.x+=px(_af,cs.borderLeftWidth);
+ret.y+=px(_af,cs.borderTopWidth);
+}
+}
+if(d.isFF&&cs.position=="static"){
+var _b2=_af.parentNode;
+while(_b2!=_af.offsetParent){
+var pcs=gcs(_b2);
+if(pcs.position=="static"){
+ret.x+=px(_af,pcs.borderLeftWidth);
+ret.y+=px(_af,pcs.borderTopWidth);
+}
+_b2=_b2.parentNode;
+}
+}
+_af=_af.offsetParent;
+}while((_af!=dh)&&_af);
+}else{
+if(_a7.x&&_a7.y){
+ret.x+=isNaN(_a7.x)?0:_a7.x;
+ret.y+=isNaN(_a7.y)?0:_a7.y;
+}
+}
+}
+if(_a8){
+var _b4=d._docScroll();
+ret.x+=_b4.x;
+ret.y+=_b4.y;
+}
+return ret;
+};
+dojo.coords=function(_b5,_b6){
+var n=d.byId(_b5),s=gcs(n),mb=d._getMarginBox(n,s);
+var abs=d._abs(n,_b6);
+mb.x=abs.x;
+mb.y=abs.y;
+return mb;
+};
+var _bb=d.isIE<8;
+var _bc=function(_bd){
+switch(_bd.toLowerCase()){
+case "tabindex":
+return _bb?"tabIndex":"tabindex";
+case "readonly":
+return "readOnly";
+case "class":
+return "className";
+case "for":
+case "htmlfor":
+return _bb?"htmlFor":"for";
+default:
+return _bd;
+}
+};
+var _be={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType",classname:"className",innerhtml:"innerHTML"};
+dojo.hasAttr=function(_bf,_c0){
+_bf=d.byId(_bf);
+var _c1=_bc(_c0);
+_c1=_c1=="htmlFor"?"for":_c1;
+var _c2=_bf.getAttributeNode&&_bf.getAttributeNode(_c1);
+return _c2?_c2.specified:false;
+};
+var _c3={},_c4=0,_c5=dojo._scopeName+"attrid",_c6={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};
+dojo.attr=function(_c7,_c8,_c9){
+_c7=d.byId(_c7);
+var _ca=arguments.length;
+if(_ca==2&&!d.isString(_c8)){
+for(var x in _c8){
+d.attr(_c7,x,_c8[x]);
+}
+return;
+}
+_c8=_bc(_c8);
+if(_ca==3){
+if(d.isFunction(_c9)){
+var _cc=d.attr(_c7,_c5);
+if(!_cc){
+_cc=_c4++;
+d.attr(_c7,_c5,_cc);
+}
+if(!_c3[_cc]){
+_c3[_cc]={};
+}
+var h=_c3[_cc][_c8];
+if(h){
+d.disconnect(h);
+}else{
+try{
+delete _c7[_c8];
+}
+catch(e){
+}
+}
+_c3[_cc][_c8]=d.connect(_c7,_c8,_c9);
+}else{
+if(typeof _c9=="boolean"){
+_c7[_c8]=_c9;
+}else{
+if(_c8==="style"&&!d.isString(_c9)){
+d.style(_c7,_c9);
+}else{
+if(_c8=="className"){
+_c7.className=_c9;
+}else{
+if(_c8==="innerHTML"){
+if(d.isIE&&_c7.tagName.toLowerCase() in _c6){
+d.empty(_c7);
+_c7.appendChild(d._toDom(_c9,_c7.ownerDocument));
+}else{
+_c7[_c8]=_c9;
+}
+}else{
+_c7.setAttribute(_c8,_c9);
+}
+}
+}
+}
+}
+}else{
+var _ce=_be[_c8.toLowerCase()];
+if(_ce){
+return _c7[_ce];
+}
+var _cf=_c7[_c8];
+return (typeof _cf=="boolean"||typeof _cf=="function")?_cf:(d.hasAttr(_c7,_c8)?_c7.getAttribute(_c8):null);
+}
+};
+dojo.removeAttr=function(_d0,_d1){
+d.byId(_d0).removeAttribute(_bc(_d1));
+};
+dojo.create=function(tag,_d3,_d4,pos){
+var doc=d.doc;
+if(_d4){
+_d4=d.byId(_d4);
+doc=_d4.ownerDocument;
+}
+if(d.isString(tag)){
+tag=doc.createElement(tag);
+}
+if(_d3){
+d.attr(tag,_d3);
+}
+if(_d4){
+d.place(tag,_d4,pos);
+}
+return tag;
+};
+d.empty=d.isIE?function(_d7){
+_d7=d.byId(_d7);
+for(var c;c=_d7.lastChild;){
+d.destroy(c);
+}
+}:function(_d9){
+d.byId(_d9).innerHTML="";
+};
+var _da={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_db=/<\s*([\w\:]+)/,_dc={},_dd=0,_de="__"+d._scopeName+"ToDomId";
+for(var _df in _da){
+var tw=_da[_df];
+tw.pre=_df=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";
+tw.post="</"+tw.reverse().join("></")+">";
+}
+d._toDom=function(_e1,doc){
+doc=doc||d.doc;
+var _e3=doc[_de];
+if(!_e3){
+doc[_de]=_e3=++_dd+"";
+_dc[_e3]=doc.createElement("div");
+}
+_e1+="";
+var _e4=_e1.match(_db),tag=_e4?_e4[1].toLowerCase():"",_e6=_dc[_e3],_e7,i,fc,df;
+if(_e4&&_da[tag]){
+_e7=_da[tag];
+_e6.innerHTML=_e7.pre+_e1+_e7.post;
+for(i=_e7.length;i;--i){
+_e6=_e6.firstChild;
+}
+}else{
+_e6.innerHTML=_e1;
+}
+if(_e6.childNodes.length==1){
+return _e6.removeChild(_e6.firstChild);
+}
+df=doc.createDocumentFragment();
+while(fc=_e6.firstChild){
+df.appendChild(fc);
+}
+return df;
+};
+var _eb="className";
+dojo.hasClass=function(_ec,_ed){
+return ((" "+d.byId(_ec)[_eb]+" ").indexOf(" "+_ed+" ")>=0);
+};
+dojo.addClass=function(_ee,_ef){
+_ee=d.byId(_ee);
+var cls=_ee[_eb];
+if((" "+cls+" ").indexOf(" "+_ef+" ")<0){
+_ee[_eb]=cls+(cls?" ":"")+_ef;
+}
+};
+dojo.removeClass=function(_f1,_f2){
+_f1=d.byId(_f1);
+var t=d.trim((" "+_f1[_eb]+" ").replace(" "+_f2+" "," "));
+if(_f1[_eb]!=t){
+_f1[_eb]=t;
+}
+};
+dojo.toggleClass=function(_f4,_f5,_f6){
+if(_f6===undefined){
+_f6=!d.hasClass(_f4,_f5);
+}
+d[_f6?"addClass":"removeClass"](_f4,_f5);
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/html.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/json.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/json.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/json.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/json.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,81 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.json"]){
+dojo._hasResource["dojo._base.json"]=true;
+dojo.provide("dojo._base.json");
+dojo.fromJson=function(_1){
+return eval("("+_1+")");
+};
+dojo._escapeString=function(_2){
+return ("\""+_2.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");
+};
+dojo.toJsonIndentStr="\t";
+dojo.toJson=function(it,_4,_5){
+if(it===undefined){
+return "undefined";
+}
+var _6=typeof it;
+if(_6=="number"||_6=="boolean"){
+return it+"";
+}
+if(it===null){
+return "null";
+}
+if(dojo.isString(it)){
+return dojo._escapeString(it);
+}
+var _7=arguments.callee;
+var _8;
+_5=_5||"";
+var _9=_4?_5+dojo.toJsonIndentStr:"";
+var tf=it.__json__||it.json;
+if(dojo.isFunction(tf)){
+_8=tf.call(it);
+if(it!==_8){
+return _7(_8,_4,_9);
+}
+}
+if(it.nodeType&&it.cloneNode){
+throw new Error("Can't serialize DOM nodes");
+}
+var _b=_4?" ":"";
+var _c=_4?"\n":"";
+if(dojo.isArray(it)){
+var _d=dojo.map(it,function(_e){
+var _f=_7(_e,_4,_9);
+if(typeof _f!="string"){
+_f="undefined";
+}
+return _c+_9+_f;
+});
+return "["+_d.join(","+_b)+_c+_5+"]";
+}
+if(_6=="function"){
+return null;
+}
+var _10=[],key;
+for(key in it){
+var _12,val;
+if(typeof key=="number"){
+_12="\""+key+"\"";
+}else{
+if(typeof key=="string"){
+_12=dojo._escapeString(key);
+}else{
+continue;
+}
+}
+val=_7(it[key],_4,_9);
+if(typeof val!="string"){
+continue;
+}
+_10.push(_c+_9+_12+":"+_b+val);
+}
+return "{"+_10.join(","+_b)+_c+_5+"}";
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/json.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/lang.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/lang.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/lang.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/lang.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,138 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.lang"]){
+dojo._hasResource["dojo._base.lang"]=true;
+dojo.provide("dojo._base.lang");
+dojo.isString=function(it){
+return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);
+};
+dojo.isArray=function(it){
+return it&&(it instanceof Array||typeof it=="array");
+};
+dojo.isFunction=(function(){
+var _3=function(it){
+return it&&(typeof it=="function"||it instanceof Function);
+};
+return dojo.isSafari?function(it){
+if(typeof it=="function"&&it=="[object NodeList]"){
+return false;
+}
+return _3(it);
+}:_3;
+})();
+dojo.isObject=function(it){
+return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));
+};
+dojo.isArrayLike=function(it){
+var d=dojo;
+return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));
+};
+dojo.isAlien=function(it){
+return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));
+};
+dojo.extend=function(_a,_b){
+for(var i=1,l=arguments.length;i<l;i++){
+dojo._mixin(_a.prototype,arguments[i]);
+}
+return _a;
+};
+dojo._hitchArgs=function(_e,_f){
+var pre=dojo._toArray(arguments,2);
+var _11=dojo.isString(_f);
+return function(){
+var _12=dojo._toArray(arguments);
+var f=_11?(_e||dojo.global)[_f]:_f;
+return f&&f.apply(_e||this,pre.concat(_12));
+};
+};
+dojo.hitch=function(_14,_15){
+if(arguments.length>2){
+return dojo._hitchArgs.apply(dojo,arguments);
+}
+if(!_15){
+_15=_14;
+_14=null;
+}
+if(dojo.isString(_15)){
+_14=_14||dojo.global;
+if(!_14[_15]){
+throw (["dojo.hitch: scope[\"",_15,"\"] is null (scope=\"",_14,"\")"].join(""));
+}
+return function(){
+return _14[_15].apply(_14,arguments||[]);
+};
+}
+return !_14?_15:function(){
+return _15.apply(_14,arguments||[]);
+};
+};
+dojo.delegate=dojo._delegate=(function(){
+function TMP(){
+};
+return function(obj,_18){
+TMP.prototype=obj;
+var tmp=new TMP();
+if(_18){
+dojo._mixin(tmp,_18);
+}
+return tmp;
+};
+})();
+(function(){
+var _1a=function(obj,_1c,_1d){
+return (_1d||[]).concat(Array.prototype.slice.call(obj,_1c||0));
+};
+var _1e=function(obj,_20,_21){
+var arr=_21||[];
+for(var x=_20||0;x<obj.length;x++){
+arr.push(obj[x]);
+}
+return arr;
+};
+dojo._toArray=dojo.isIE?function(obj){
+return ((obj.item)?_1e:_1a).apply(this,arguments);
+}:_1a;
+})();
+dojo.partial=function(_25){
+var arr=[null];
+return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));
+};
+dojo.clone=function(o){
+if(!o){
+return o;
+}
+if(dojo.isArray(o)){
+var r=[];
+for(var i=0;i<o.length;++i){
+r.push(dojo.clone(o[i]));
+}
+return r;
+}
+if(!dojo.isObject(o)){
+return o;
+}
+if(o.nodeType&&o.cloneNode){
+return o.cloneNode(true);
+}
+if(o instanceof Date){
+return new Date(o.getTime());
+}
+r=new o.constructor();
+for(i in o){
+if(!(i in r)||r[i]!=o[i]){
+r[i]=dojo.clone(o[i]);
+}
+}
+return r;
+};
+dojo.trim=String.prototype.trim?function(str){
+return str.trim();
+}:function(str){
+return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/lang.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js?rev=755623&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js Wed Mar 18 15:55:08 2009
@@ -0,0 +1,628 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojo._base.query"]){
+dojo._hasResource["dojo._base.query"]=true;
+if(typeof dojo!="undefined"){
+dojo.provide("dojo._base.query");
+dojo.require("dojo._base.NodeList");
+dojo.query=function(_1,_2,_3){
+_3=_3||dojo.NodeList;
+if(!_1){
+return new _3();
+}
+if(_1.constructor==_3){
+return _1;
+}
+if(!dojo.isString(_1)){
+return new _3(_1);
+}
+if(dojo.isString(_2)){
+_2=dojo.byId(_2);
+if(!_2){
+return new _3();
+}
+}
+return dojo.Sizzle(_1,_2,new _3());
+};
+dojo._filterQueryResult=function(_4,_5){
+return dojo.Sizzle.filter(_5,_4);
+};
+}
+(function(ns){
+var _7=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|[^[\]]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,_8=0,_9=Object.prototype.toString;
+var _a=function(_b,_c,_d,_e){
+_d=_d||[];
+_c=_c||document;
+if(_c.nodeType!==1&&_c.nodeType!==9){
+return [];
+}
+if(!_b||typeof _b!=="string"){
+return _d;
+}
+var _f=[],m,set,_12,_13,_14,_15,_16=true;
+_7.lastIndex=0;
+while((m=_7.exec(_b))!==null){
+_f.push(m[1]);
+if(m[2]){
+_15=RegExp.rightContext;
+break;
+}
+}
+if(_f.length>1&&_17.match.POS.exec(_b)){
+if(_f.length===2&&_17.relative[_f[0]]){
+var _18="",_19;
+while((_19=_17.match.POS.exec(_b))){
+_18+=_19[0];
+_b=_b.replace(_17.match.POS,"");
+}
+set=_a.filter(_18,_a(_b,_c));
+}else{
+set=_17.relative[_f[0]]?[_c]:_a(_f.shift(),_c);
+while(_f.length){
+var _1a=[];
+_b=_f.shift();
+if(_17.relative[_b]){
+_b+=_f.shift();
+}
+for(var i=0,l=set.length;i<l;i++){
+_a(_b,set[i],_1a);
+}
+set=_1a;
+}
+}
+}else{
+var ret=_e?{expr:_f.pop(),set:_1e(_e)}:_a.find(_f.pop(),_f.length===1&&_c.parentNode?_c.parentNode:_c);
+set=_a.filter(ret.expr,ret.set);
+if(_f.length>0){
+_12=_1e(set);
+}else{
+_16=false;
+}
+while(_f.length){
+var cur=_f.pop(),pop=cur;
+if(!_17.relative[cur]){
+cur="";
+}else{
+pop=_f.pop();
+}
+if(pop==null){
+pop=_c;
+}
+_17.relative[cur](_12,pop);
+}
+}
+if(!_12){
+_12=set;
+}
+if(!_12){
+throw "Syntax error, unrecognized expression: "+(cur||_b);
+}
+if(_9.call(_12)==="[object Array]"){
+if(!_16){
+_d.push.apply(_d,_12);
+}else{
+if(_c.nodeType===1){
+for(var i=0;_12[i]!=null;i++){
+if(_12[i]&&(_12[i]===true||_12[i].nodeType===1&&_21(_c,_12[i]))){
+_d.push(set[i]);
+}
+}
+}else{
+for(var i=0;_12[i]!=null;i++){
+if(_12[i]&&_12[i].nodeType===1){
+_d.push(set[i]);
+}
+}
+}
+}
+}else{
+_1e(_12,_d);
+}
+if(_15){
+_a(_15,_c,_d,_e);
+}
+return _d;
+};
+_a.matches=function(_22,set){
+return _a(_22,null,null,set);
+};
+_a.find=function(_24,_25){
+var set,_27;
+if(!_24){
+return [];
+}
+for(var i=0,l=_17.order.length;i<l;i++){
+var _2a=_17.order[i],_27;
+if((_27=_17.match[_2a].exec(_24))){
+var _2b=RegExp.leftContext;
+if(_2b.substr(_2b.length-1)!=="\\"){
+_27[1]=(_27[1]||"").replace(/\\/g,"");
+set=_17.find[_2a](_27,_25);
+if(set!=null){
+_24=_24.replace(_17.match[_2a],"");
+break;
+}
+}
+}
+}
+if(!set){
+set=_25.getElementsByTagName("*");
+}
+return {set:set,expr:_24};
+};
+_a.filter=function(_2c,set,_2e,not){
+var old=_2c,_31=[],_32=set,_33,_34;
+while(_2c&&set.length){
+for(var _35 in _17.filter){
+if((_33=_17.match[_35].exec(_2c))!=null){
+var _36=_17.filter[_35],_37=null,_38=0,_39,_3a;
+_34=false;
+if(_32==_31){
+_31=[];
+}
+if(_17.preFilter[_35]){
+_33=_17.preFilter[_35](_33,_32,_2e,_31,not);
+if(!_33){
+_34=_39=true;
+}else{
+if(_33[0]===true){
+_37=[];
+var _3b=null,_3c;
+for(var i=0;(_3c=_32[i])!==undefined;i++){
+if(_3c&&_3b!==_3c){
+_37.push(_3c);
+_3b=_3c;
+}
+}
+}
+}
+}
+if(_33){
+for(var i=0;(_3a=_32[i])!==undefined;i++){
+if(_3a){
+if(_37&&_3a!=_37[_38]){
+_38++;
+}
+_39=_36(_3a,_33,_38,_37);
+var _3e=not^!!_39;
+if(_2e&&_39!=null){
+if(_3e){
+_34=true;
+}else{
+_32[i]=false;
+}
+}else{
+if(_3e){
+_31.push(_3a);
+_34=true;
+}
+}
+}
+}
+}
+if(_39!==undefined){
+if(!_2e){
+_32=_31;
+}
+_2c=_2c.replace(_17.match[_35],"");
+if(!_34){
+return [];
+}
+break;
+}
+}
+}
+_2c=_2c.replace(/\s*,\s*/,"");
+if(_2c==old){
+if(_34==null){
+throw "Syntax error, unrecognized expression: "+_2c;
+}else{
+break;
+}
+}
+old=_2c;
+}
+return _32;
+};
+var _17=_a.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u0128-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u0128-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u0128-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[((?:[\w\u0128-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\]/,TAG:/^((?:[\w\u0128-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child\(?(even|odd|[\dn+-]*)\)?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)\(?(\d*)\)?(?:[^-]|$)/,PSEUDO:/:((?:[\w\u0128-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},relative:{"+":function(_3f,_40){
+for(var i=0,l=_3f.length;i<l;i++){
+var _43=_3f[i];
+if(_43){
+var cur=_43.previousSibling;
+while(cur&&cur.nodeType!==1){
+cur=cur.previousSibling;
+}
+_3f[i]=typeof _40==="string"?cur||false:cur===_40;
+}
+}
+if(typeof _40==="string"){
+_a.filter(_40,_3f,true);
+}
+},">":function(_45,_46){
+if(typeof _46==="string"&&!/\W/.test(_46)){
+_46=_46.toUpperCase();
+for(var i=0,l=_45.length;i<l;i++){
+var _49=_45[i];
+if(_49){
+var _4a=_49.parentNode;
+_45[i]=_4a.nodeName===_46?_4a:false;
+}
+}
+}else{
+for(var i=0,l=_45.length;i<l;i++){
+var _49=_45[i];
+if(_49){
+_45[i]=typeof _46==="string"?_49.parentNode:_49.parentNode===_46;
+}
+}
+if(typeof _46==="string"){
+_a.filter(_46,_45,true);
+}
+}
+},"":function(_4b,_4c){
+var _4d="done"+(_8++),_4e=_4f;
+if(!_4c.match(/\W/)){
+var _50=_4c=_4c.toUpperCase();
+_4e=_51;
+}
+_4e("parentNode",_4c,_4d,_4b,_50);
+},"~":function(_52,_53){
+var _54="done"+(_8++),_55=_4f;
+if(typeof _53==="string"&&!_53.match(/\W/)){
+var _56=_53=_53.toUpperCase();
+_55=_51;
+}
+_55("previousSibling",_53,_54,_52,_56);
+}},find:{ID:function(_57,_58){
+if(_58.getElementById){
+var m=_58.getElementById(_57[1]);
+return m?[m]:[];
+}
+},NAME:function(_5a,_5b){
+return _5b.getElementsByName?_5b.getElementsByName(_5a[1]):null;
+},TAG:function(_5c,_5d){
+return _5d.getElementsByTagName(_5c[1]);
+}},preFilter:{CLASS:function(_5e,_5f,_60,_61,not){
+_5e=" "+_5e[1].replace(/\\/g,"")+" ";
+for(var i=0;_5f[i];i++){
+if(not^(" "+_5f[i].className+" ").indexOf(_5e)>=0){
+if(!_60){
+_61.push(_5f[i]);
+}
+}else{
+if(_60){
+_5f[i]=false;
+}
+}
+}
+return false;
+},ID:function(_64){
+return _64[1];
+},TAG:function(_65){
+return _65[1].toUpperCase();
+},CHILD:function(_66){
+if(_66[1]=="nth"){
+var _67=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(_66[2]=="even"&&"2n"||_66[2]=="odd"&&"2n+1"||!/\D/.test(_66[2])&&"0n+"+_66[2]||_66[2]);
+_66[2]=(_67[1]+(_67[2]||1))-0;
+_66[3]=_67[3]-0;
+}
+_66[0]="done"+(_8++);
+return _66;
+},ATTR:function(_68){
+var _69=_68[1];
+if(_17.attrMap[_69]){
+_68[1]=_17.attrMap[_69];
+}
+if(_68[2]==="~="){
+_68[4]=" "+_68[4]+" ";
+}
+return _68;
+},PSEUDO:function(_6a,_6b,_6c,_6d,not){
+if(_6a[1]==="not"){
+if(_6a[3].match(_7).length>1){
+_6a[3]=_a(_6a[3],null,null,_6b);
+}else{
+var ret=_a.filter(_6a[3],_6b,_6c,true^not);
+if(!_6c){
+_6d.push.apply(_6d,ret);
+}
+return false;
+}
+}
+return _6a;
+},POS:function(_70){
+_70.unshift(true);
+return _70;
+}},filters:{enabled:function(_71){
+return _71.disabled===false&&_71.type!=="hidden";
+},disabled:function(_72){
+return _72.disabled===true;
+},checked:function(_73){
+return _73.checked===true;
+},selected:function(_74){
+_74.parentNode.selectedIndex;
+return _74.selected===true;
+},parent:function(_75){
+return !!_75.firstChild;
+},empty:function(_76){
+return !_76.firstChild;
+},has:function(_77,i,_79){
+return !!_a(_79[3],_77).length;
+},header:function(_7a){
+return /h\d/i.test(_7a.nodeName);
+},text:function(_7b){
+return "text"===_7b.type;
+},radio:function(_7c){
+return "radio"===_7c.type;
+},checkbox:function(_7d){
+return "checkbox"===_7d.type;
+},file:function(_7e){
+return "file"===_7e.type;
+},password:function(_7f){
+return "password"===_7f.type;
+},submit:function(_80){
+return "submit"===_80.type;
+},image:function(_81){
+return "image"===_81.type;
+},reset:function(_82){
+return "reset"===_82.type;
+},button:function(_83){
+return "button"===_83.type||_83.nodeName.toUpperCase()==="BUTTON";
+},input:function(_84){
+return /input|select|textarea|button/i.test(_84.nodeName);
+}},setFilters:{first:function(_85,i){
+return i===0;
+},last:function(_87,i,_89,_8a){
+return i===_8a.length-1;
+},even:function(_8b,i){
+return i%2===0;
+},odd:function(_8d,i){
+return i%2===1;
+},lt:function(_8f,i,_91){
+return i<_91[3]-0;
+},gt:function(_92,i,_94){
+return i>_94[3]-0;
+},nth:function(_95,i,_97){
+return _97[3]-0==i;
+},eq:function(_98,i,_9a){
+return _9a[3]-0==i;
+}},filter:{CHILD:function(_9b,_9c){
+var _9d=_9c[1],_9e=_9b.parentNode;
+var _9f=_9c[0];
+if(_9e&&!_9e[_9f]){
+var _a0=1;
+for(var _a1=_9e.firstChild;_a1;_a1=_a1.nextSibling){
+if(_a1.nodeType==1){
+_a1.nodeIndex=_a0++;
+}
+}
+_9e[_9f]=_a0-1;
+}
+if(_9d=="first"){
+return _9b.nodeIndex==1;
+}else{
+if(_9d=="last"){
+return _9b.nodeIndex==_9e[_9f];
+}else{
+if(_9d=="only"){
+return _9e[_9f]==1;
+}else{
+if(_9d=="nth"){
+var add=false,_a3=_9c[2],_a4=_9c[3];
+if(_a3==1&&_a4==0){
+return true;
+}
+if(_a3==0){
+if(_9b.nodeIndex==_a4){
+add=true;
+}
+}else{
+if((_9b.nodeIndex-_a4)%_a3==0&&(_9b.nodeIndex-_a4)/_a3>=0){
+add=true;
+}
+}
+return add;
+}
+}
+}
+}
+},PSEUDO:function(_a5,_a6,i,_a8){
+var _a9=_a6[1],_aa=_17.filters[_a9];
+if(_aa){
+return _aa(_a5,i,_a6,_a8);
+}else{
+if(_a9==="contains"){
+return (_a5.textContent||_a5.innerText||"").indexOf(_a6[3])>=0;
+}else{
+if(_a9==="not"){
+var not=_a6[3];
+for(var i=0,l=not.length;i<l;i++){
+if(not[i]===_a5){
+return false;
+}
+}
+return true;
+}
+}
+}
+},ID:function(_ad,_ae){
+return _ad.nodeType===1&&_ad.getAttribute("id")===_ae;
+},TAG:function(_af,_b0){
+return (_b0==="*"&&_af.nodeType===1)||_af.nodeName===_b0;
+},CLASS:function(_b1,_b2){
+return _b2.test(_b1.className);
+},ATTR:function(_b3,_b4){
+var _b5=_b3[_b4[1]]||_b3.getAttribute(_b4[1]),_b6=_b5+"",_b7=_b4[2],_b8=_b4[4];
+return _b5==null?false:_b7==="="?_b6===_b8:_b7==="*="?_b6.indexOf(_b8)>=0:_b7==="~="?(" "+_b6+" ").indexOf(_b8)>=0:!_b4[4]?_b5:_b7==="!="?_b6!=_b8:_b7==="^="?_b6.indexOf(_b8)===0:_b7==="$="?_b6.substr(_b6.length-_b8.length)===_b8:_b7==="|="?_b6===_b8||_b6.substr(0,_b8.length+1)===_b8+"-":false;
+},POS:function(_b9,_ba,i,_bc){
+var _bd=_ba[2],_be=_17.setFilters[_bd];
+if(_be){
+return _be(_b9,i,_ba,_bc);
+}
+}}};
+for(var _bf in _17.match){
+_17.match[_bf]=RegExp(_17.match[_bf].source+/(?![^\[]*\])(?![^\(]*\))/.source);
+}
+var _1e=function(_c0,_c1){
+_c0=Array.prototype.slice.call(_c0);
+if(_c1){
+_c1.push.apply(_c1,_c0);
+return _c1;
+}
+return _c0;
+};
+try{
+Array.prototype.slice.call(document.documentElement.childNodes);
+}
+catch(e){
+_1e=function(_c2,_c3){
+var ret=_c3||[];
+if(_9.call(_c2)==="[object Array]"){
+Array.prototype.push.apply(ret,_c2);
+}else{
+if(typeof _c2.length==="number"){
+for(var i=0,l=_c2.length;i<l;i++){
+ret.push(_c2[i]);
+}
+}else{
+for(var i=0;_c2[i];i++){
+ret.push(_c2[i]);
+}
+}
+}
+return ret;
+};
+}
+(function(){
+var _c7=document.createElement("form"),id="script"+(new Date).getTime();
+_c7.innerHTML="<input name='"+id+"'/>";
+var _c9=document.documentElement;
+_c9.insertBefore(_c7,_c9.firstChild);
+if(!!document.getElementById(id)){
+_17.find.ID=function(_ca,_cb){
+if(_cb.getElementById){
+var m=_cb.getElementById(_ca[1]);
+return m?m.id===_ca[1]||m.getAttributeNode&&m.getAttributeNode("id").nodeValue===_ca[1]?[m]:undefined:[];
+}
+};
+_17.filter.ID=function(_cd,_ce){
+var _cf=_cd.getAttributeNode&&_cd.getAttributeNode("id");
+return _cd.nodeType===1&&_cf&&_cf.nodeValue===_ce;
+};
+}
+_c9.removeChild(_c7);
+})();
+(function(){
+var div=document.createElement("div");
+div.appendChild(document.createComment(""));
+if(div.getElementsByTagName("*").length>0){
+_17.find.TAG=function(_d1,_d2){
+var _d3=_d2.getElementsByTagName(_d1[1]);
+if(_d1[1]==="*"){
+var tmp=[];
+for(var i=0;_d3[i];i++){
+if(_d3[i].nodeType===1){
+tmp.push(_d3[i]);
+}
+}
+_d3=tmp;
+}
+return _d3;
+};
+}
+})();
+if(document.querySelectorAll){
+(function(){
+var _d6=_a;
+_a=function(_d7,_d8,_d9,_da){
+_d8=_d8||document;
+if(!_da&&_d8.nodeType===9){
+try{
+return _1e(_d8.querySelectorAll(_d7),_d9);
+}
+catch(e){
+}
+}
+return _d6(_d7,_d8,_d9,_da);
+};
+_a.find=_d6.find;
+_a.filter=_d6.filter;
+_a.selectors=_d6.selectors;
+_a.matches=_d6.matches;
+})();
+}
+if(document.documentElement.getElementsByClassName){
+_17.order.splice(1,0,"CLASS");
+_17.find.CLASS=function(_db,_dc){
+return _dc.getElementsByClassName(_db[1]);
+};
+}
+function _51(dir,cur,_df,_e0,_e1){
+for(var i=0,l=_e0.length;i<l;i++){
+var _e4=_e0[i];
+if(_e4){
+_e4=_e4[dir];
+var _e5=false;
+while(_e4&&_e4.nodeType){
+var _e6=_e4[_df];
+if(_e6){
+_e5=_e0[_e6];
+break;
+}
+if(_e4.nodeType===1){
+_e4[_df]=i;
+}
+if(_e4.nodeName===cur){
+_e5=_e4;
+break;
+}
+_e4=_e4[dir];
+}
+_e0[i]=_e5;
+}
+}
+};
+function _4f(dir,cur,_e9,_ea,_eb){
+for(var i=0,l=_ea.length;i<l;i++){
+var _ee=_ea[i];
+if(_ee){
+_ee=_ee[dir];
+var _ef=false;
+while(_ee&&_ee.nodeType){
+if(_ee[_e9]){
+_ef=_ea[_ee[_e9]];
+break;
+}
+if(_ee.nodeType===1){
+_ee[_e9]=i;
+if(typeof cur!=="string"){
+if(_ee===cur){
+_ef=true;
+break;
+}
+}else{
+if(_a.filter(cur,[_ee]).length>0){
+_ef=_ee;
+break;
+}
+}
+}
+_ee=_ee[dir];
+}
+_ea[i]=_ef;
+}
+}
+};
+var _21=document.compareDocumentPosition?function(a,b){
+return a.compareDocumentPosition(b)&16;
+}:function(a,b){
+return a!==b&&(a.contains?a.contains(b):true);
+};
+(ns||window).Sizzle=_a;
+})(typeof dojo=="undefined"?null:dojo);
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js
------------------------------------------------------------------------------
    svn:eol-style = native