text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
  
  //>>built
  define(["jimu/shared/BaseVersionManager"],function(h){function f(){this.versions=[{version:"1.0",upgrader:function(a){return a}},{version:"1.1",upgrader:function(a){return a}},{version:"1.2",upgrader:function(a){return a}},{version:"1.3",upgrader:function(a){var c={sources:[]};if(!a.geocoder)return c;a=a.geocoder;var b=null;if(a.arcgisGeocoder){b={};if("[object Object]"===Object.prototype.toString.call(a.arcgisGeocoder)){for(var e in a.arcgisGeocoder)b[e]=a.arcgisGeocoder[e];b.url=b.url||"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer";
  b.singleLineFieldName=b.singleLineFieldName||"SingleLine";b.name=b.name||"Esri World Geocoder"}else"boolean"===typeof a.arcgisGeocoder&&(b.url="https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer",b.name="Esri World Geocoder",b.singleLineFieldName="SingleLine",b.placeholder="Esri World Geocoder");b.countryCode=b.sourceCountry||b.countryCode||"";b.maxResults=a.maxLocations||6;c.sources.push(b)}e=0;for(var d=a.geocoders.length;e<d;e++){var b={},f=a.geocoders[e],g;for(g in f)b[g]=f[g];
  b.countryCode=b.sourceCountry||b.countryCode||"";b.maxResults=a.maxLocations||6;b.type=b.type||"locator";c.sources.push(b)}c.upgradeFromGeocoder=!0;return c}},{version:"1.4",upgrader:function(a){a.allPlaceholder="";a.showInfoWindowOnSelect=!0;return a}},{version:"2.0beta",upgrader:function(a){(function(a){for(var b=0,c=a.length;b<c;b++){var d=a[b];d.maxSuggestions=d.maxSuggestions||6}})(a.sources);(function(a){for(var b=0,c=a.length;b<c;b++){var d=a[b];d.zoomScale=d.zoomScale||5E4}})(a.sources);return a}},
  {version:"2.0",upgrader:function(a){return a}},{version:"2.0.1",upgrader:function(a){return a}},{version:"2.1",upgrader:function(a){return a}},{version:"2.2",upgrader:function(a){for(var c=/http(s)?:\/\/geocode(.){0,3}\.arcgis.com\/arcgis\/rest\/services\/World\/GeocodeServer/g,b=0,e=a.sources.length;b<e;b++){var d=a.sources[b];"locator"===d.type&&(c.lastIndex=0,d.enableLocalSearch=c.test(d.url),d.localSearchMinScale=3E5,d.localSearchDistance=5E4)}return a}},{version:"2.3",upgrader:function(a){return a}},
  {version:"2.4",upgrader:function(a){return a}},{version:"2.5",upgrader:function(a){return a}},{version:"2.6",upgrader:function(a){return a}},{version:"2.7",upgrader:function(a){return a}},{version:"2.8",upgrader:function(a){return a}},{version:"2.9",upgrader:function(a){for(var c=0;c<a.sources.length;c++){var b=a.sources[c];b&&b.zoomScale&&5E4===b.zoomScale&&(b.zoomScale=null)}return a}}]}f.prototype=new h;return f.prototype.constructor=f});