/*
	Copyright (c) 2004-2011, 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
*/


window[esri._dojoScopeName||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","dojo._base.array"],["require","dojo._base.lang"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dojo._base.array"]){_4._hasResource["dojo._base.array"]=true;_4.provide("dojo._base.array");_4.require("dojo._base.lang");(function(){var _7=function(_8,_9,cb){return [(typeof _8=="string")?_8.split(""):_8,_9||_4.global,(typeof cb=="string")?new Function("item","index","array",cb):cb];};var _a=function(_b,_c,_d,_e){var _f=_7(_c,_e,_d);_c=_f[0];for(var i=0,l=_c.length;i<l;++i){var _10=!!_f[2].call(_f[1],_c[i],i,_c);if(_b^_10){return _10;}}return _b;};_4.mixin(_4,{indexOf:function(_11,_12,_13,_14){var _15=1,end=_11.length||0,i=0;if(_14){i=end-1;_15=end=-1;}if(_13!=undefined){i=_13;}if((_14&&i>end)||i<end){for(;i!=end;i+=_15){if(_11[i]==_12){return i;}}}return -1;},lastIndexOf:function(_16,_17,_18){return _4.indexOf(_16,_17,_18,true);},forEach:function(arr,_19,_1a){if(!arr||!arr.length){return;}var _1b=_7(arr,_1a,_19);arr=_1b[0];for(var i=0,l=arr.length;i<l;++i){_1b[2].call(_1b[1],arr[i],i,arr);}},every:function(arr,_1c,_1d){return _a(true,arr,_1c,_1d);},some:function(arr,_1e,_1f){return _a(false,arr,_1e,_1f);},map:function(arr,_20,_21){var _22=_7(arr,_21,_20);arr=_22[0];var _23=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_23.push(_22[2].call(_22[1],arr[i],i,arr));}return _23;},filter:function(arr,_24,_25){var _26=_7(arr,_25,_24);arr=_26[0];var _27=[];for(var i=0,l=arr.length;i<l;++i){if(_26[2].call(_26[1],arr[i],i,arr)){_27.push(arr[i]);}}return _27;}});})();}}};});