1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1489],{21489:(e,t,r)=>{r.r(t),r.d(t,{default:()=>E});var o=r(49493),i=r(21990),l=r(73801);r(96098);var s=r(92510),n=r(85314),a=r(86858),y=r(9491);r(74552),r(64988),r(32243);var p=r(98285),u=r(44708),d=r(3917),h=r(75149),c=r(62408),S=r(99422),m=r(93115),v=r(73885),f=r(37226),g=r(92826),_=r(93479),M=r(36562),b=r(67502),C=r(794),A=r(54066),Z=r(68629);let k=["atom","xml"],w={base:M.A,key:"type",typeMap:{"simple-line":b.A},errorContext:"symbol"},G={base:M.A,key:"type",typeMap:{"picture-marker":C.A,"simple-marker":A.A},errorContext:"symbol"},P={base:M.A,key:"type",typeMap:{"simple-fill":Z.A},errorContext:"symbol"},x=class extends(0,S.dM)((0,f.J)((0,m.q)((0,v.A)((0,g.j)((0,s.P)(c.A)))))){constructor(...e){super(...e),this.description=null,this.fullExtent=null,this.legendEnabled=!0,this.lineSymbol=null,this.pointSymbol=null,this.polygonSymbol=null,this.operationalLayerType="GeoRSS",this.url=null,this.type="geo-rss"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}readFeatureCollections(e,t){return t.featureCollection.layers.forEach(e=>{let t=e.layerDefinition.drawingInfo.renderer.symbol;t&&"esriSFS"===t.type&&t.outline?.style.includes("esriSFS")&&(t.outline.style="esriSLSSolid")}),t.featureCollection.layers}get hasPoints(){return this._hasGeometry("esriGeometryPoint")}get hasPolylines(){return this._hasGeometry("esriGeometryPolyline")}get hasPolygons(){return this._hasGeometry("esriGeometryPolygon")}get title(){let e=this._get("title");return e&&"defaults"!==this.originOf("title")?e:this.url?(0,a.e7)(this.url,k)||"GeoRSS":e}set title(e){this._set("title",e)}load(e){let t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service","Feature Service","Feature Collection","Scene Service"]},e).catch(n.QP).then(()=>this._fetchService(t)).then(e=>{this.read(e,{origin:"service"})})),Promise.resolve(this)}async hasDataChanged(){let e=await this._fetchService();return this.read(e,{origin:"service",ignoreDefaults:!0}),!0}async _fetchService(e){let t=this.spatialReference,{data:r}=await (0,l.A)(i.A.geoRSSServiceUrl,{query:{url:this.url,refresh:!!this.loaded||void 0,outSR:(0,h.oT)(t)?void 0:t.wkid??JSON.stringify(t)},signal:e});return r}_hasGeometry(e){return this.featureCollections?.some(t=>t.featureSet?.geometryType===e&&t.featureSet.features?.length>0)??!1}};(0,o._)([(0,y.MZ)()],x.prototype,"description",void 0),(0,o._)([(0,y.MZ)()],x.prototype,"featureCollections",void 0),(0,o._)([(0,p.w)("service","featureCollections",["featureCollection.layers"])],x.prototype,"readFeatureCollections",null),(0,o._)([(0,y.MZ)({type:d.A,json:{name:"lookAtExtent"}})],x.prototype,"fullExtent",void 0),(0,o._)([(0,y.MZ)(_.id)],x.prototype,"id",void 0),(0,o._)([(0,y.MZ)(_.fV)],x.prototype,"legendEnabled",void 0),(0,o._)([(0,y.MZ)({types:w,json:{write:!0}})],x.prototype,"lineSymbol",void 0),(0,o._)([(0,y.MZ)({type:["show","hide"]})],x.prototype,"listMode",void 0),(0,o._)([(0,y.MZ)({types:G,json:{write:!0}})],x.prototype,"pointSymbol",void 0),(0,o._)([(0,y.MZ)({types:P,json:{write:!0}})],x.prototype,"polygonSymbol",void 0),(0,o._)([(0,y.MZ)({type:["GeoRSS"]})],x.prototype,"operationalLayerType",void 0),(0,o._)([(0,y.MZ)(_.OZ)],x.prototype,"url",void 0),(0,o._)([(0,y.MZ)({json:{origins:{service:{read:{source:"name",reader:e=>e||void 0}}}}})],x.prototype,"title",null),(0,o._)([(0,y.MZ)({readOnly:!0,json:{read:!1},value:"geo-rss"})],x.prototype,"type",void 0);let E=x=(0,o._)([(0,u.$)("esri.layers.GeoRSSLayer")],x)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.