text: // COPYRIGHT © 2020 Esri
  //
  // All rights reserved under the copyright laws of the United States
  // and applicable international laws, treaties, and conventions.
  //
  // This material is licensed for use under the Esri Master License
  // Agreement (MLA), and is bound by the terms of that agreement.
  // You may redistribute and use this code without modification,
  // provided you adhere to the terms of the MLA and include this
  // copyright notice.
  //
  // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
  //
  // For additional information, contact:
  // Environmental Systems Research Institute, Inc.
  // Attn: Contracts and Legal Services Department
  // 380 New York Street
  // Redlands, California, USA 92373
  // USA
  //
  // email: contracts@esri.com
  //
  // See http://js.arcgis.com/3.33/esri/copyright.txt for details.
  
  define(["dojo/_base/declare","dojo/_base/lang","dojo/_base/json","dojo/has","../kernel","../config","../request","../urlUtils","./ServiceGeneratedFeatureCollection"],(function(e,r,t,o,s,i,a,l,c){var n=e([c],{declaredClass:"esri.layers.GeoRSSLayer",serviceUrl:l.getProtocolForWebResource()+"//utility.arcgis.com/sharing/rss",constructor:function(e,r){this._url=l.urlToObject(this.url=e),i.defaults.geoRSSService&&(this.serviceUrl=i.defaults.geoRSSService),this._createLayer()},parse:function(){return this._io=a({url:this.serviceUrl,content:{url:this.url,refresh:!!this.loaded||void 0,outSR:this._outSR?t.toJson(this._outSR.toJson()):void 0},callbackParamName:"callback"}),this._io},_initLayer:function(e){this.inherited(arguments),this.loaded||(this.loaded=!0,this.onLoad(this))}});return o("extend-esri")&&r.setObject("layers.GeoRSSLayer",n,s),n}));
  