????
Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/ |
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/85.59a18296dd82fcca6b62.js |
(function(){var e={"esri/layers/support/RangeInfo":"h2t1","esri/layers/support/FetchAssociatedFeatureLayer":"y5xs","esri/layers/SceneLayer":"yf9t"},r=this||window,t=r.webpackJsonp=r.webpackJsonp||[];t.registerAbsMids?t.registerAbsMids(e):(t.absMidsWaiting=t.absMidsWaiting||[]).push(e)})(),(window.webpackJsonp=window.webpackJsonp||[]).push([[85],{h2t1:function(e,r,t){var n,o;n=[t.dj.c(e.i),r,t("zOht"),t("ycL1"),t("Vx27")],o=(function(e,r,t,n,o){Object.defineProperty(r,"__esModule",{value:!0});var i=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.name=null,r.field=null,r.currentRangeExtent=null,r.fullRangeExtent=null,r.type="rangeInfo",r}return t.__extends(r,e),t.__decorate([o.property({type:String,json:{read:!0,write:!0}})],r.prototype,"name",void 0),t.__decorate([o.property({type:String,json:{read:!0,write:!0}})],r.prototype,"field",void 0),t.__decorate([o.property({type:[Number],json:{read:!0,write:!0}})],r.prototype,"currentRangeExtent",void 0),t.__decorate([o.property({type:[Number],json:{read:!0,write:!0}})],r.prototype,"fullRangeExtent",void 0),t.__decorate([o.property({type:["rangeInfo"],readOnly:!0,json:{read:!1,write:!0}})],r.prototype,"type",void 0),t.__decorate([o.subclass("esri.layers.support.RangeInfo")],r)}(n.JSONSupport);r.RangeInfo=i,r.default=i}).apply(null,n),void 0===o||(e.exports=o)},y5xs:function(e,r,t){var n,o;n=[t.dj.c(e.i),r,t("zOht"),t("urqW"),t("zp6E"),t("KY0m"),t("LxLY"),t("qMld"),t("Zvuv"),t("Qwus"),t("QmTF")],void 0===(o=(function(e,r,t,n,o,i,a,s,p,l,u){Object.defineProperty(r,"__esModule",{value:!0});var d=function(){function e(e,r){this.layer=e,this.signal=r,this.rootDocument=null;var t=this.layer.parsedUrl.path.match(/^(.*)\/SceneServer\/layers\/([\d]*)\/?$/i);t&&(this.urlParts={root:t[1],layerId:parseInt(t[2],10)})}return e.prototype.fetch=function(){return t.__awaiter(this,void 0,void 0,(function(){var e,r,n;return t.__generator(this,(function(t){switch(t.label){case 0:return this.urlParts?-1===["mesh-pyramids","points"].indexOf(this.layer.profile)?[2,null]:this.layer.portalItem?(r=this.layer.portalItem,[3,3]):[3,1]:[2,null];case 1:return[4,this.portalItemFromServiceItemId()];case 2:r=t.sent(),t.label=3;case 3:return a.isNone(e=r)?[2,this.loadFromUrl()]:[4,this.findAndLoadRelatedPortalItem(e)];case 4:return n=t.sent(),a.isNone(n)?[2,null]:[2,this.loadFeatureLayerFromPortalItem(n)]}}))}))},e.prototype.fetchRootDocument=function(){return t.__awaiter(this,void 0,void 0,(function(){var e,r,n;return t.__generator(this,(function(t){switch(t.label){case 0:if(a.isSome(this.rootDocument))return[2,this.rootDocument];if(a.isNone(this.urlParts))return this.rootDocument={},[2,{}];e={query:{f:"json"},responseType:"json",authMode:"no-prompt",signal:this.signal},r=this.urlParts.root+"/SceneServer",t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o(r,e)];case 2:return n=t.sent(),this.rootDocument=n.data,[3,4];case 3:return t.sent(),this.rootDocument={},[3,4];case 4:return[2,this.rootDocument]}}))}))},e.prototype.fetchServiceOwningPortalUrl=function(){return t.__awaiter(this,void 0,void 0,(function(){var e,r,i,a,p;return t.__generator(this,(function(t){switch(t.label){case 0:if((e=n.id&&n.id.findServerInfo(this.layer.parsedUrl.path))&&e.owningSystemUrl)return[2,e.owningSystemUrl];r=this.layer.parsedUrl.path.replace(/(.*\/rest)\/.*/i,"$1")+"/info",t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o(r,{query:{f:"json"},responseType:"json",signal:this.signal})];case 2:return i=t.sent(),(a=i.data.owningSystemUrl)?[2,a]:[3,4];case 3:return p=t.sent(),s.throwIfAbortError(p),[3,4];case 4:return[2,null]}}))}))},e.prototype.findAndLoadRelatedPortalItem=function(e){return t.__awaiter(this,void 0,void 0,(function(){var r,n;return t.__generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:this.signal})];case 1:return r=t.sent(),[2,i.find(r,(function(e){return"Feature Service"===e.type}))||null];case 2:return n=t.sent(),s.throwIfAbortError(n),[2,null];case 3:return[2]}}))}))},e.prototype.loadFeatureLayerFromPortalItem=function(e){return t.__awaiter(this,void 0,void 0,(function(){var r;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,e.load({signal:this.signal})];case 1:return t.sent(),[4,this.findMatchingAssociatedSublayerUrl(e.url)];case 2:return r=t.sent(),[2,new p({url:r,portalItem:e}).load({signal:this.signal})]}}))}))},e.prototype.loadFromUrl=function(){return t.__awaiter(this,void 0,void 0,(function(){var e;return t.__generator(this,(function(r){switch(r.label){case 0:return[4,this.findMatchingAssociatedSublayerUrl(this.urlParts.root+"/FeatureServer")];case 1:return e=r.sent(),[2,new p({url:e}).load({signal:this.signal})]}}))}))},e.prototype.findMatchingAssociatedSublayerUrl=function(e){return t.__awaiter(this,void 0,void 0,(function(){var r,n,i,a,p,l,u,d,c,y,f;return t.__generator(this,(function(t){switch(t.label){case 0:return r=e.replace(/^(.*FeatureServer)(\/[\d]*\/?)?$/i,"$1"),n={query:{f:"json"},responseType:"json",authMode:"no-prompt",signal:this.signal},i=this.urlParts.layerId,a=this.fetchRootDocument(),p=o(r,n),[4,s.all([p,a])];case 1:if(l=t.sent(),c=(d=l[1])&&d.layers,y=(u=l[0]).data&&u.data.layers,!Array.isArray(y))throw new Error("expected layers array");if(Array.isArray(c)){for(f=0;f<Math.min(c.length,y.length);f++)if(c[f].id===i)return[2,r+"/"+y[f].id]}else if(i<y.length)return[2,r+"/"+y[i].id];throw new Error("could not find matching associated sublayer")}}))}))},e.prototype.portalItemFromServiceItemId=function(){return t.__awaiter(this,void 0,void 0,(function(){var e,r,n,o;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,this.fetchRootDocument()];case 1:return e=t.sent(),(r=e.serviceItemId)?(n=new u({id:r}),[4,this.fetchServiceOwningPortalUrl()]):[2,null];case 2:o=t.sent(),a.isSome(o)&&(n.portal=new l({url:o}));try{return[2,n.load({signal:this.signal})]}catch(e){return s.throwIfAbortError(e),[2,null]}return[2]}}))}))},e}();r.FetchAssociatedFeatureLayer=d}).apply(null,n))||(e.exports=o)},yf9t:function(e,r,t){var n,o;n=[t.dj.c(e.i),r,t("zOht"),t("ifLZ"),t("OXG3"),t("zp6E"),t("ma1f"),t("qsST"),t("LxLY"),t("EUqE"),t("qMld"),t("jfWY"),t("8MXS"),t("Vx27"),t("o2T8"),t("0RER"),t("2fnV"),t("FEX1"),t("QJ8R"),t("OXmT"),t("JNpq"),t("EtsK"),t("EtsK"),t("aWt5"),t("fQaS"),t("y5xs"),t("ZJpS"),t("I90O"),t("k7g7"),t("OjNT"),t("5WBt"),t("UN5d"),t("h2t1"),t("hz/Y"),t("PhdM"),t("begh"),t("IpeC"),t("2Kdy")],o=(function(e,r,t,n,o,i,a,s,p,l,u,d,c,y,f,h,g,v,_,m,b,w,I,S,F,L,j,O,x,P,E,T,D,A,R,U,M){var q=["3DObject","Point"],N=s.getLogger("esri.layers.SceneLayer"),Q=j.defineFieldProperties(),k=function(e){function r(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=e.apply(this,r)||this;return n.featureReduction=null,n.rangeInfos=null,n.operationalLayerType="ArcGISSceneServiceLayer",n.type="scene",n.fields=null,n.outFields=null,n.nodePages=null,n.materialDefinitions=null,n.textureSetDefinitions=null,n.geometryDefinitions=null,n.serviceUpdateTimeStamp=null,n.definitionExpression=null,n.path=null,n.labelsVisible=!0,n.labelingInfo=null,n.legendEnabled=!0,n.cachedDrawingInfo={color:!1},n.popupEnabled=!0,n.popupTemplate=null,n.objectIdField=null,n.objectIdFilter=null,n._fieldUsageInfo={},n.screenSizePerspectiveEnabled=!0,n}return t.__extends(r,e),r.prototype.normalizeCtorArgs=function(e,r){return"string"==typeof e?t.__assign({url:e},r):e},r.prototype.getField=function(e){return this.fieldsIndex.get(e)},r.prototype.getFieldDomain=function(e){var r=this.getField(e);return r&&r.domain?r.domain:null},Object.defineProperty(r.prototype,"fieldsIndex",{get:function(){return new O(this.fields)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"elevationInfo",{set:function(e){this._set("elevationInfo",e),this.loaded&&this._validateElevationInfo()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"geometryType",{get:function(){return C[this.profile]||"mesh"},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"renderer",{set:function(e){x.fixRendererFields(e,this.fields),this._set("renderer",e)},enumerable:!0,configurable:!0}),r.prototype.readCachedDrawingInfo=function(e){return null!=e&&"object"==typeof e||(e={}),null==e.color&&(e.color=!1),e},Object.defineProperty(r.prototype,"defaultPopupTemplate",{get:function(){return this.associatedLayer||this.attributeStorageInfo?this.createPopupTemplate():null},enumerable:!0,configurable:!0}),r.prototype.readObjectIdField=function(e,r){return!e&&r.fields&&r.fields.some((function(r){return"esriFieldTypeOID"===r.type&&(e=r.name),!!e})),e||void 0},r.prototype.readProfile=function(e,r){var t=r.store.profile;return null!=t&&z[t]?z[t]:(N.error("Unknown or missing profile",{profile:t,layer:this}),"mesh-pyramids")},r.prototype.load=function(e){var r=this,t=p.isSome(e)?e.signal:null,n=this.loadFromPortal({supportedTypes:["Scene Service"]},e).then((function(){return r._fetchService(t)}),(function(){return r._fetchService(t)})).then((function(){return u.all([r._verifyRootNodeAndUpdateExtent(r.nodePages,t),r._setAssociatedFeatureLayer(t)])})).then((function(){return r._validateElevationInfo()})).then((function(){return r._applyAssociatedLayerOverrides()})).then((function(){return r._populateFieldUsageInfo()})).then((function(){return R.loadStyleRenderer(r,{origin:"service"},t)})).then((function(){return x.fixRendererFields(r.renderer,r.fields)}));return this.addResolvingPromise(n),u.resolve(this)},r.prototype.createQuery=function(){var e=new M;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e},r.prototype.queryExtent=function(e,r){var t=this;return this._getAssociatedLayerForQuery().then((function(n){return n.queryExtent(e||t.createQuery(),r)}))},r.prototype.queryFeatureCount=function(e,r){var t=this;return this._getAssociatedLayerForQuery().then((function(n){return n.queryFeatureCount(e||t.createQuery(),r)}))},r.prototype.queryFeatures=function(e,r){var t=this;return this._getAssociatedLayerForQuery().then((function(n){return n.queryFeatures(e||t.createQuery(),r)})).then((function(e){if(e&&e.features)for(var r=0,n=e.features;r<n.length;r++){var o=n[r];o.layer=t,o.sourceLayer=t}return e}))},r.prototype.queryObjectIds=function(e,r){var t=this;return this._getAssociatedLayerForQuery().then((function(n){return n.queryObjectIds(e||t.createQuery(),r)}))},r.prototype.getFieldUsageInfo=function(e){var r={supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1};return this.loaded?this._fieldUsageInfo[e]||r:(N.error("#getFieldUsageInfo()","Unavailable until layer is loaded"),r)},r.prototype.createPopupTemplate=function(e){return U.createPopupTemplate(this,e)},r.prototype._getAssociatedLayerForQuery=function(){var e=this;if(!this.loaded)return this.load().then((function(){return e._getAssociatedLayerForQuery()}));var r=this.associatedLayer;return null!=r?u.resolve(r):u.reject(new a("scenelayer:query-not-available","SceneLayer queries are not available without associated feature layer"))},r.prototype.hasCachedStatistics=function(e){return null!=this.statisticsInfo&&this.statisticsInfo.some((function(r){return r.name===e}))},r.prototype.queryCachedStatistics=function(e,r){return t.__awaiter(this,void 0,void 0,(function(){var n,o,s,p,l;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,this.load(r)];case 1:if(t.sent(),!this.statisticsInfo)throw new a("scenelayer:no-cached-statistics","Cached statistics are not available for this layer");if(!(n=this.fieldsIndex.get(e)))throw new a("scenelayer:field-unexisting","Field '"+e+"' does not exist on the layer");for(o=0,s=this.statisticsInfo;o<s.length;o++)if((p=s[o]).name===n.name)return l=d.join(this.parsedUrl.path,p.href),[2,i(l,{query:{f:"json"},responseType:"json",signal:r?r.signal:null}).then((function(e){return e.data}))];throw new a("scenelayer:no-cached-statistics","Cached statistics for this attribute are not available")}}))}))},r.prototype.saveAs=function(e,r){return t.__awaiter(this,void 0,void 0,(function(){var n=this;return t.__generator(this,(function(o){return[2,this._saveAs(e,t.__assign(t.__assign({},r),{getTypeKeywords:function(){return n._getTypeKeywords()},portalItemLayerType:"scene"}))]}))}))},r.prototype.save=function(){return t.__awaiter(this,void 0,void 0,(function(){var e=this;return t.__generator(this,(function(r){return[2,this._save({getTypeKeywords:function(){return e._getTypeKeywords()},portalItemLayerType:"scene"})]}))}))},r.prototype.validateLayer=function(e){if(e.layerType&&-1===q.indexOf(e.layerType))throw new a("scenelayer:layer-type-not-supported","SceneLayer does not support this layer type",{layerType:e.layerType});if(isNaN(this.version.major)||isNaN(this.version.minor))throw new a("layer:service-version-not-supported","Service version is not supported.",{serviceVersion:this.version.versionString,supportedVersions:"1.x"});if(this.version.major>1)throw new a("layer:service-version-too-new","Service version is too new.",{serviceVersion:this.version.versionString,supportedVersions:"1.x"});!function(e,r){var t=!1,n=!1;if(null==e)t=!0,n=!0;else{var o=r&&r.isGeographic;switch(e){case"east-north-up":case"earth-centered":t=!0,n=o;break;case"vertex-reference-frame":t=!0,n=!o;break;default:t=!1}}if(!t)throw new a("scenelayer:unsupported-normal-reference-frame","Normal reference frame is invalid.");if(!n)throw new a("scenelayer:incompatible-normal-reference-frame","Normal reference frame is incompatible with layer spatial reference.")}(this.normalReferenceFrame,this.spatialReference)},r.prototype._getTypeKeywords=function(){var e=[];if("points"===this.profile)e.push("Point");else{if("mesh-pyramids"!==this.profile)throw new a("scenelayer:unknown-profile","SceneLayer:save() encountered an unknown SceneLayer profile: "+this.profile);e.push("3DObject")}return e},r.prototype._populateFieldUsageInfo=function(){if(this._fieldUsageInfo={},this.fields)for(var e=function(e){var t=!(!r.attributeStorageInfo||!r.attributeStorageInfo.some((function(r){return r.name===e.name}))),n=!!(r.associatedLayer&&r.associatedLayer.fields&&r.associatedLayer.fields.some((function(r){return r&&e.name===r.name})));r._fieldUsageInfo[e.name]={supportsLabelingInfo:t,supportsRenderer:t,supportsPopupTemplate:t||n,supportsLayerQuery:n}},r=this,t=0,n=this.fields;t<n.length;t++)e(n[t])},r.prototype._applyAssociatedLayerOverrides=function(){if(this.associatedLayer){if(this.associatedLayer.fields){for(var e=null,r=0,t=this.associatedLayer.fields;r<t.length;r++){var n=t[r];this.getField(n.name)||(e||(e=this.fields?this.fields.slice():[]),e.push(n.clone()))}e&&this._set("fields",e)}for(var o=["popupTemplate","popupEnabled"],i=f.getProperties(this),a=0;a<o.length;a++){var s=o[a];this._buddyIsMoreImportant(s)&&(i.setDefaultOrigin(this.associatedLayer.originOf(s)),i.set(s,this.associatedLayer[s]),i.setDefaultOrigin("user"))}}},r.prototype._setAssociatedFeatureLayer=function(e){return t.__awaiter(this,void 0,void 0,(function(){var r,n,o;return t.__generator(this,(function(t){switch(t.label){case 0:r=new L.FetchAssociatedFeatureLayer(this,e),t.label=1;case 1:return t.trys.push([1,3,,4]),n=this,[4,r.fetch()];case 2:return n.associatedLayer=t.sent(),[3,4];case 3:return o=t.sent(),u.isAbortError(o)||this._logWarningOnPopupEnabled(),[3,4];case 4:return[2]}}))}))},r.prototype._logWarningOnPopupEnabled=function(){var e=this;c.whenValidOnce(this,["popupTemplate","popupEnabled"],(function(){return e.popupEnabled&&null!=e.popupTemplate})).then((function(){return function(){var r="this SceneLayer: "+e.title;null==e.attributeStorageInfo?N.warn("Associated FeatureLayer could not be loaded and no binary attributes found. Popups will not work on "+r):N.info("Associated FeatureLayer could not be loaded. Falling back to binary attributes for Popups on "+r)}}))},r.prototype._buddyIsMoreImportant=function(e){if(!this.associatedLayer)return!1;var r=this.originIdOf(e),t=this.associatedLayer.originIdOf(e);return null!=t&&t<=2?null==r||r<2:null!=t&&t<=3&&(null==r||r<3)},r.prototype._validateElevationInfo=function(){var e=this.elevationInfo;e&&("mesh-pyramids"===this.profile&&"absolute-height"!==e.mode&&N.warn(".elevationInfo=","Mesh scene layers only support absolute-height elevation mode"),e.featureExpressionInfo&&"0"!==e.featureExpressionInfo.expression&&N.warn(".elevationInfo=","Scene layers do not support featureExpressionInfo"))},t.__decorate([y.property({types:{key:"type",base:S.default,typeMap:{selection:F}},json:{origins:{"web-scene":{read:{source:"layerDefinition.featureReduction"},write:{target:"layerDefinition.featureReduction"}}}}})],r.prototype,"featureReduction",void 0),t.__decorate([y.property({type:[D.default],json:{read:!1,origins:{"web-scene":{read:{source:"layerDefinition.rangeInfos"},write:{target:"layerDefinition.rangeInfos"}}}}})],r.prototype,"rangeInfos",void 0),t.__decorate([y.property({json:{read:!1}})],r.prototype,"associatedLayer",void 0),t.__decorate([y.property({type:["show","hide"]})],r.prototype,"listMode",void 0),t.__decorate([y.property({type:["ArcGISSceneServiceLayer"]})],r.prototype,"operationalLayerType",void 0),t.__decorate([y.property({json:{read:!1},readOnly:!0})],r.prototype,"type",void 0),t.__decorate([y.property(t.__assign(t.__assign({},Q.fields),{readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}}))],r.prototype,"fields",void 0),t.__decorate([y.property({readOnly:!0,dependsOn:["fields"]})],r.prototype,"fieldsIndex",null),t.__decorate([y.property(Q.outFields)],r.prototype,"outFields",void 0),t.__decorate([y.property({type:P.I3SNodePageDefinition,readOnly:!0})],r.prototype,"nodePages",void 0),t.__decorate([y.property({type:[P.I3SMaterialDefinition],readOnly:!0})],r.prototype,"materialDefinitions",void 0),t.__decorate([y.property({type:[P.I3STextureSetDefinition],readOnly:!0})],r.prototype,"textureSetDefinitions",void 0),t.__decorate([y.property({type:[P.I3SGeometryDefinition],readOnly:!0})],r.prototype,"geometryDefinitions",void 0),t.__decorate([y.property({readOnly:!0})],r.prototype,"serviceUpdateTimeStamp",void 0),t.__decorate([y.property({readOnly:!0})],r.prototype,"attributeStorageInfo",void 0),t.__decorate([y.property({readOnly:!0})],r.prototype,"statisticsInfo",void 0),t.__decorate([y.property({type:String,json:{origins:{service:{read:!1,write:!1}},read:{source:"layerDefinition.definitionExpression"},write:{target:"layerDefinition.definitionExpression"}}})],r.prototype,"definitionExpression",void 0),t.__decorate([y.property({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],r.prototype,"path",void 0),t.__decorate([y.property(w.elevationInfo)],r.prototype,"elevationInfo",null),t.__decorate([y.property({type:String,dependsOn:["profile"]})],r.prototype,"geometryType",null),t.__decorate([y.property(w.labelsVisible)],r.prototype,"labelsVisible",void 0),t.__decorate([y.property({type:[E],json:{origins:{service:{read:{source:"drawingInfo.labelingInfo",reader:T.reader},write:{target:"drawingInfo.labelingInfo",enabled:!1}}},read:{source:"layerDefinition.drawingInfo.labelingInfo",reader:T.reader},write:{target:"layerDefinition.drawingInfo.labelingInfo"}}})],r.prototype,"labelingInfo",void 0),t.__decorate([y.property(w.legendEnabled)],r.prototype,"legendEnabled",void 0),t.__decorate([y.property(w.opacityDrawingInfo)],r.prototype,"opacity",void 0),t.__decorate([y.property({types:o.webSceneRendererTypes,json:{origins:{service:{read:{source:"drawingInfo.renderer",reader:V}}},read:{source:"layerDefinition.drawingInfo.renderer",reader:V},write:{target:"layerDefinition.drawingInfo.renderer"}},value:null})],r.prototype,"renderer",null),t.__decorate([y.property({json:{read:!1}})],r.prototype,"cachedDrawingInfo",void 0),t.__decorate([y.reader("service","cachedDrawingInfo")],r.prototype,"readCachedDrawingInfo",null),t.__decorate([y.property(w.popupEnabled)],r.prototype,"popupEnabled",void 0),t.__decorate([y.property({type:n,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],r.prototype,"popupTemplate",void 0),t.__decorate([y.property({readOnly:!0,json:{read:!1},dependsOn:["fields","title","attributeStorageInfo","associatedLayer"]})],r.prototype,"defaultPopupTemplate",null),t.__decorate([y.property({type:String,json:{read:!1}})],r.prototype,"objectIdField",void 0),t.__decorate([y.reader("service","objectIdField",["objectIdField","fields"])],r.prototype,"readObjectIdField",null),t.__decorate([y.property({json:{read:!1}})],r.prototype,"objectIdFilter",void 0),t.__decorate([y.property({type:String,json:{read:!1}})],r.prototype,"profile",void 0),t.__decorate([y.reader("service","profile",["store.profile"])],r.prototype,"readProfile",null),t.__decorate([y.property({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],r.prototype,"normalReferenceFrame",void 0),t.__decorate([y.property(I.screenSizePerspectiveEnabled)],r.prototype,"screenSizePerspectiveEnabled",void 0),t.__decorate([y.subclass("esri.layers.SceneLayer")],r)}(b.SceneService(g.ArcGISService(v.OperationalLayer(_.PortalLayer(m.ScaleRangeLayer(l.MultiOriginJSONMixin(h)))))));function V(e,r,t){return e&&((e=A.read(e,r,t)||void 0)||N.error("Failed to create renderer",{rendererDefinition:e,layer:this,context:t})),e}var z={"mesh-pyramids":"mesh-pyramids",meshpyramids:"mesh-pyramids","features-meshes":"mesh-pyramids",points:"points","features-points":"points",lines:"lines","features-lines":"lines",polygons:"polygons","features-polygons":"polygons"},C={"mesh-pyramids":"mesh",points:"point",lines:"polyline",polygons:"polygon"};return k}).apply(null,n),void 0===o||(e.exports=o)}}]);