????
Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/ |
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/www/23.6fad16f8d588757c98a9.js |
(function(){var e={"esri/core/accessorSupport/originUtils":"6pk7","esri/webdoc/support/saveUtils":"90QT","esri/layers/mixins/SceneService":"JNpq","esri/layers/support/I3SLayerDefinitions":"OjNT"},t=this||window,r=t.webpackJsonp=t.webpackJsonp||[];r.registerAbsMids?r.registerAbsMids(e):(r.absMidsWaiting=r.absMidsWaiting||[]).push(e)})(),(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"6pk7":function(e,t,r){var o,n;o=[r.dj.c(e.i),t,r("+dH/")],void 0===(n=(function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.updateOrigins=function(e){e&&e.writtenProperties&&e.writtenProperties.forEach((function(e){var t=e.target;e.newOrigin&&e.oldOrigin!==e.newOrigin&&r.isMultiOriginJSONMixin(t)&&t.updateOrigin(e.propName,e.newOrigin)}))}}).apply(null,o))||(e.exports=n)},"90QT":function(e,t,r){var o,n;o=[r.dj.c(e.i),t,r("zOht"),r("WYKK"),r("ma1f"),r("qMld"),r("ULaq"),r("V42v"),r("bzQL")],void 0===(n=(function(e,t,r,o,n,i,a,s,p){function l(e,t){return r.__awaiter(this,void 0,void 0,(function(){var n;return r.__generator(this,(function(r){switch(r.label){case 0:return[4,o.result(e.resource.portalItem.addResource(e.resource,e.content,t))];case 1:if(!0!==(n=r.sent()).ok)throw e.error&&e.error(n.error),n.error;return e.finish&&e.finish(e.resource),[2]}}))}))}function u(e,t){return r.__awaiter(this,void 0,void 0,(function(){var n;return r.__generator(this,(function(r){switch(r.label){case 0:return[4,o.result(e.resource.update(e.content,t))];case 1:if(!0!==(n=r.sent()).ok)throw e.error(n.error),n.error;return e.finish(e.resource),[2]}}))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.saveResources=function(e,t,o){return r.__awaiter(this,void 0,void 0,(function(){var c,d,y,_,h,f,v,m,g,S,b,I,w,x,N,T;return r.__generator(this,(function(r){switch(r.label){case 0:if(!t||!t.resources)return[2];for(c=t.portalItem===e.portalItem?a.SetFromValues(e.paths):new Set,e.paths.length=0,e.portalItem=t.portalItem,d=a.SetFromValues(t.resources.toKeep.map((function(e){return e.resource.path}))),y=new Set,_=[],d.forEach((function(t){c.delete(t),e.paths.push(t)})),h=0,f=t.resources.toUpdate;h<f.length;h++)c.delete((v=f[h]).resource.path),d.has(v.resource.path)||y.has(v.resource.path)?(m=v.content,g=v.finish,S=v.error,b=p.getSiblingOfSameType(v.resource,s.generateUUID()),e.paths.push(b.path),_.push(l({resource:b,content:m,finish:g,error:S},o))):(e.paths.push(v.resource.path),_.push(u(v,o)),y.add(v.resource.path));for(I=0,w=t.resources.toAdd;I<w.length;I++)_.push(l(x=w[I],o)),e.paths.push(x.resource.path);return c.forEach((function(e){var r=t.portalItem.resourceFromPath(e);_.push(r.portalItem.removeResource(r).catch((function(){})))})),0===_.length?[2]:[4,i.eachAlways(_)];case 1:if(N=r.sent(),i.throwIfAborted(o),(T=N.filter((function(e){return"error"in e})).map((function(e){return e.error}))).length>0)throw new n("save:resources","Failed to save one or more resources",{errors:T});return[2]}}))}))}}).apply(null,o))||(e.exports=n)},JNpq:function(e,t,r){var o,n;o=[r.dj.c(e.i),t,r("zOht"),r("zp6E"),r("ma1f"),r("H1tY"),r("qsST"),r("qMld"),r("jfWY"),r("Vx27"),r("6pk7"),r("N7S/"),r("MFVu"),r("Z4y+"),r("8CIp"),r("EtsK"),r("Qwus"),r("QmTF"),r("90QT"),r("2Kdy")],n=(function(e,t,o,n,i,a,s,p,l,u,c,d,y,_,h,f,v,m,g){Object.defineProperty(t,"__esModule",{value:!0});var S=s.getLogger("esri.layers.mixins.SceneService");t.SceneService=function(e){return function(e){function a(){var t=null!==e&&e.apply(this,arguments)||this;return t.spatialReference=null,t.fullExtent=null,t.heightModelInfo=null,t.minScale=0,t.maxScale=0,t.version={major:Number.NaN,minor:Number.NaN,versionString:""},t.copyright=null,t.sublayerTitleMode="item-title",t.title=null,t.layerId=null,t}return o.__extends(a,e),a.prototype.readSpatialReference=function(e,t){return this._readSpatialReference(t)},a.prototype._readSpatialReference=function(e){if(null!=e.spatialReference)return _.fromJSON(e.spatialReference);var t=e.store,r=t.indexCRS||t.geographicCRS,o=r&&parseInt(r.substring(r.lastIndexOf("/")+1,r.length),10);return null!=o?new _(o):null},a.prototype.readFullExtent=function(e,t){var r=t.store,o=this._readSpatialReference(t);return null==o||null==r||null==r.extent||!Array.isArray(r.extent)||r.extent.some((function(e){return e<b}))?null:new d({xmin:r.extent[0],ymin:r.extent[1],xmax:r.extent[2],ymax:r.extent[3],spatialReference:o})},a.prototype.readVersion=function(e,t){var r=t.store,o=null!=r.version?r.version.toString():"",n={major:Number.NaN,minor:Number.NaN,versionString:o},i=o.split(".");return i.length>=2&&(n.major=parseInt(i[0],10),n.minor=parseInt(i[1],10)),n},a.prototype.readTitlePortalItem=function(e){return"item-title"!==this.sublayerTitleMode?void 0:e},a.prototype.readTitleService=function(e,t){var r=this.portalItem&&this.portalItem.title;if("item-title"===this.sublayerTitleMode)return h.titleFromUrlAndName(this.url,t.name);var o=t.name||h.parse(this.url).title;return"item-title-and-service-name"===this.sublayerTitleMode&&r&&(o=r+" - "+o),h.cleanTitle(o)},Object.defineProperty(a.prototype,"url",{set:function(e){var t=h.sanitizeUrlWithLayerId(this,e,S);this._set("url",t.url),null!=t.layerId&&this._set("layerId",t.layerId)},enumerable:!0,configurable:!0}),a.prototype.writeUrl=function(e,t,r,o){h.writeUrlWithLayerId(this,e,"layers",t,o)},Object.defineProperty(a.prototype,"parsedUrl",{get:function(){var e=this._get("url");if(!e)return null;var t=l.urlToObject(e);return null!=this.layerId&&h.isArcGISUrl(t.path)&&(t.path=t.path+"/layers/"+this.layerId),t},enumerable:!0,configurable:!0}),a.prototype._verifyRootNodeAndUpdateExtent=function(e,t){return o.__awaiter(this,void 0,void 0,(function(){var r,n,i;return o.__generator(this,(function(o){switch(o.label){case 0:if(!e)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),r=this._updateExtentFromRootPage,n=[e],[4,this._fetchRootPage(e,t)];case 2:return[2,r.apply(this,n.concat([o.sent()]))];case 3:return o.sent(),[3,4];case 4:return i=this._updateExtentFromRootNode,[4,this._fetchRootNode(t)];case 5:return[2,i.apply(this,[o.sent()])]}}))}))},a.prototype._fetchRootPage=function(e,t){return o.__awaiter(this,void 0,void 0,(function(){var r;return o.__generator(this,(function(o){switch(o.label){case 0:return e?(r=Math.floor(e.rootIndex/e.nodesPerPage),[4,n(this.parsedUrl.path+"/nodepages/"+r,{responseType:"json",signal:t})]):[2,p.reject()];case 1:return[2,o.sent().data]}}))}))},a.prototype._updateExtentFromRootPage=function(e,t){if(null==t||null==t.nodes)throw new i("sceneservice:invalid-node-page","Inavlid node page.");var r=t.nodes[e.rootIndex%e.nodesPerPage];if(null==r||null==r.obb||null==r.obb.center||null==r.obb.halfSize)throw new i("sceneservice:invalid-node-page","Inavlid node page.");if(!(r.obb.center[0]<b)){var o=r.obb.halfSize,n=r.obb.center[2],a=Math.sqrt(o[0]*o[0]+o[1]*o[1]+o[2]*o[2]);this.fullExtent.zmin=n-a,this.fullExtent.zmax=n+a}},a.prototype._updateExtentFromRootNode=function(e){if(null!=e&&null!=this.fullExtent&&!this.fullExtent.hasZ&&Array.isArray(e.mbs)&&4===e.mbs.length&&!(e.mbs[0]<b)){var t=e.mbs[2],r=e.mbs[3];this.fullExtent.zmin=t-r,this.fullExtent.zmax=t+r}},a.prototype._fetchRootNode=function(e){return o.__awaiter(this,void 0,void 0,(function(){var t,r;return o.__generator(this,(function(o){switch(o.label){case 0:if(!this.rootNode)return[2];t=l.join(this.parsedUrl.path,this.rootNode),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,n(t,{query:{f:"json"},responseType:"json",signal:e})];case 2:return[2,o.sent().data];case 3:throw r=o.sent(),new i("sceneservice:root-node-missing","Root node missing.",{error:r,url:t});case 4:return[2]}}))}))},a.prototype._fetchService=function(e){return o.__awaiter(this,void 0,void 0,(function(){var t;return o.__generator(this,(function(r){switch(r.label){case 0:return null==this.layerId&&/SceneServer\/*$/i.test(this.url)?[4,this._fetchFirstLayerId(e)]:[3,2];case 1:null!=(t=r.sent())&&(this.layerId=t),r.label=2;case 2:return[2,this._fetchServiceLayer(e)]}}))}))},a.prototype._fetchFirstLayerId=function(e){return o.__awaiter(this,void 0,void 0,(function(){var t;return o.__generator(this,(function(r){switch(r.label){case 0:return[4,n(this.url,{query:{f:"json"},responseType:"json",signal:e})];case 1:return(t=r.sent()).data&&Array.isArray(t.data.layers)&&t.data.layers.length>0?[2,t.data.layers[0].id]:[2,void 0]}}))}))},a.prototype._fetchServiceLayer=function(e){return o.__awaiter(this,void 0,void 0,(function(){var t,r;return o.__generator(this,(function(o){switch(o.label){case 0:return[4,n(this.parsedUrl.path,{query:{f:"json"},responseType:"json",signal:e})];case 1:return(t=o.sent()).ssl&&(this.url=this.url.replace(/^http:/i,"https:")),this.read(r=t.data,{origin:"service",url:this.parsedUrl}),this.validateLayer(r),[2]}}))}))},a.prototype._ensureLoadBeforeSave=function(){return o.__awaiter(this,void 0,void 0,(function(){return o.__generator(this,(function(e){switch(e.label){case 0:return[4,this.load()];case 1:return e.sent(),"beforeSave"in this&&"function"==typeof this.beforeSave?[4,this.beforeSave()]:[3,3];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},a.prototype.validateLayer=function(e){},a.prototype._updateTypeKeywords=function(e,t){e.typeKeywords||(e.typeKeywords=[]);for(var r=0,o=t.getTypeKeywords();r<o.length;r++)e.typeKeywords.push(o[r]);e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((function(e,t,r){return r.indexOf(e)===t})))},a.prototype._saveAs=function(e,r){return o.__awaiter(this,void 0,void 0,(function(){var n,a,s,l,u;return o.__generator(this,(function(d){switch(d.label){case 0:return n=o.__assign(o.__assign({},w),r),(a=m.from(e))?[3,2]:(S.error("_saveAs(): requires a portal item parameter"),[4,p.reject(new i("sceneservice:portal-item-required","_saveAs() requires a portal item to save to"))]);case 1:d.sent(),d.label=2;case 2:return a.id&&((a=a.clone()).id=null),s=a.portal||v.getDefault(),[4,this._ensureLoadBeforeSave()];case 3:return d.sent(),a.type=t.SCENE_SERVICE_ITEM_TYPE,a.portal=s,u={layers:[this.write(null,l={origin:"portal-item",url:null,messages:[],portal:s,portalItem:a,writtenProperties:[],blockedRelativeUrls:[],resources:{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}})]},[4,p.all(l.resources.pendingOperations)];case 4:return d.sent(),[4,this._validateAgainstJSONSchema(u,l,n)];case 5:return d.sent(),a.url=this.url,a.title||(a.title=this.title),this._updateTypeKeywords(a,n),[4,s._signIn()];case 6:return d.sent(),[4,s.user.addItem({item:a,folder:n&&n.folder,data:u})];case 7:return d.sent(),[4,g.saveResources(this.resourceReferences,l,null)];case 8:return d.sent(),this.portalItem=a,c.updateOrigins(l),l.portalItem=a,[2,a]}}))}))},a.prototype._save=function(e){return o.__awaiter(this,void 0,void 0,(function(){var r,n,a;return o.__generator(this,(function(s){switch(s.label){case 0:return r=o.__assign(o.__assign({},w),e),this.portalItem?[3,2]:(S.error("_save(): requires the .portalItem property to be set"),[4,p.reject(new i("sceneservice:portal-item-not-set","Portal item to save to has not been set on this SceneService"))]);case 1:s.sent(),s.label=2;case 2:return this.portalItem.type===t.SCENE_SERVICE_ITEM_TYPE?[3,4]:(S.error("_save(): Non-matching portal item type. Got "+this.portalItem.type+", expected "+t.SCENE_SERVICE_ITEM_TYPE),[4,p.reject(new i("sceneservice:portal-item-wrong-type",'Portal item needs to have type "'+t.SCENE_SERVICE_ITEM_TYPE+'"'))]);case 3:s.sent(),s.label=4;case 4:return[4,this._ensureLoadBeforeSave()];case 5:return s.sent(),n={origin:"portal-item",url:this.portalItem.itemUrl&&l.urlToObject(this.portalItem.itemUrl),messages:[],portal:this.portalItem.portal||v.getDefault(),portalItem:this.portalItem,writtenProperties:[],blockedRelativeUrls:[],resources:{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}},a={layers:[this.write(null,n)]},[4,p.all(n.resources.pendingOperations)];case 6:return s.sent(),[4,this._validateAgainstJSONSchema(a,n,r)];case 7:return s.sent(),this.portalItem.url=this.url,this.portalItem.title||(this.portalItem.title=this.title),this._updateTypeKeywords(this.portalItem,r),[4,this.portalItem.update({data:a})];case 8:return s.sent(),[4,g.saveResources(this.resourceReferences,n,null)];case 9:return s.sent(),c.updateOrigins(n),[2,this.portalItem]}}))}))},a.prototype._validateAgainstJSONSchema=function(e,t,n){return o.__awaiter(this,void 0,void 0,(function(){var a,s,p,l,u,c;return o.__generator(this,(function(o){switch(o.label){case 0:return a=t.messages.filter((function(e){return"error"===e.type})).map((function(e){return new i(e.name,e.message,e.details)})),n&&n.validationOptions.ignoreUnsupported&&(a=a.filter((function(e){return"layer:unsupported"!==e.name&&"symbol:unsupported"!==e.name&&"symbol-layer:unsupported"!==e.name&&"property:unsupported"!==e.name&&"url:unsupported"!==e.name&&"scenemodification:unsupported"!==e.name}))),n.validationOptions.enabled||I?[4,new Promise((function(e,t){r.e(28).then((function(){var t=[r("S7rV")];e.apply(null,t)}).bind(this)).catch(t.bind(this))}))]:[3,2];case 1:if(s=o.sent(),(p=s.validate(e,n.portalItemLayerType)).length>0&&(l="Layer item did not validate:\n"+p.join("\n"),S.error("_validateAgainstJSONSchema(): "+l),"throw"===n.validationOptions.failPolicy))throw u=p.map((function(e){return new i("sceneservice:schema-validation",e)})),c=u.concat(a),new i("sceneservice-validate:error","Failed to save layer item due to schema validation, see `details.errors`.",{combined:c});o.label=2;case 2:if(a.length>0)throw new i("sceneservice:save","Failed to save SceneService due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:a});return[2]}}))}))},o.__decorate([u.property({json:{origins:{service:{read:!1},"portal-item":{read:!1}}}})],a.prototype,"id",void 0),o.__decorate([u.property({type:_})],a.prototype,"spatialReference",void 0),o.__decorate([u.reader("spatialReference",["spatialReference","store.indexCRS","store.geographicCRS"])],a.prototype,"readSpatialReference",null),o.__decorate([u.property({type:d})],a.prototype,"fullExtent",void 0),o.__decorate([u.reader("fullExtent",["store.extent","spatialReference","store.indexCRS","store.geographicCRS"])],a.prototype,"readFullExtent",null),o.__decorate([u.property({readOnly:!0,type:y})],a.prototype,"heightModelInfo",void 0),o.__decorate([u.property({type:Number,json:{read:{source:"layerDefinition.minScale"},write:{target:"layerDefinition.minScale"},origins:{service:{read:{source:"minScale"},write:!1}}}})],a.prototype,"minScale",void 0),o.__decorate([u.property({type:Number,json:{read:{source:"layerDefinition.maxScale"},write:{target:"layerDefinition.maxScale"},origins:{service:{read:{source:"maxScale"},write:!1}}}})],a.prototype,"maxScale",void 0),o.__decorate([u.property({readOnly:!0})],a.prototype,"version",void 0),o.__decorate([u.reader("version",["store.version"])],a.prototype,"readVersion",null),o.__decorate([u.property({type:String,json:{read:{source:"copyrightText"}}})],a.prototype,"copyright",void 0),o.__decorate([u.property({type:String,json:{read:!1}})],a.prototype,"sublayerTitleMode",void 0),o.__decorate([u.property({type:String})],a.prototype,"title",void 0),o.__decorate([u.reader("portal-item","title")],a.prototype,"readTitlePortalItem",null),o.__decorate([u.reader("service","title",["name"])],a.prototype,"readTitleService",null),o.__decorate([u.property({type:Number,json:{origins:{service:{read:{source:"id"}},"portal-item":{write:{target:"id",isRequired:!0,ignoreOrigin:!0},read:!1}}}})],a.prototype,"layerId",void 0),o.__decorate([u.property(f.url)],a.prototype,"url",null),o.__decorate([u.writer("url")],a.prototype,"writeUrl",null),o.__decorate([u.property({dependsOn:["layerId"]})],a.prototype,"parsedUrl",null),o.__decorate([u.property({readOnly:!0})],a.prototype,"store",void 0),o.__decorate([u.property({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],a.prototype,"rootNode",void 0),o.__decorate([u.subclass("esri.layers.mixins.SceneService")],a)}(e)};var b=-1e38,I=a("esri-debug-messages");t.SCENE_SERVICE_ITEM_TYPE="Scene Service";var w={getTypeKeywords:function(){return[]},portalItemLayerType:"unknown",validationOptions:{enabled:!0,ignoreUnsupported:!1,failPolicy:"throw"}}}).apply(null,o),void 0===n||(e.exports=n)},OjNT:function(e,t,r){var o,n;o=[r.dj.c(e.i),t,r("zOht"),r("ycL1"),r("Vx27")],n=(function(e,t,r,o,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.nodesPerPage=null,t.rootIndex=0,t.lodSelectionMetricType=null,t}return r.__extends(t,e),r.__decorate([n.property({type:Number})],t.prototype,"nodesPerPage",void 0),r.__decorate([n.property({type:Number})],t.prototype,"rootIndex",void 0),r.__decorate([n.property({type:String})],t.prototype,"lodSelectionMetricType",void 0),r.__decorate([n.subclass("esri.layer.support.I3SNodePageDefinition")],t)}(o.JSONSupport);t.I3SNodePageDefinition=i;var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.factor=1,t}return r.__extends(t,e),r.__decorate([n.property({type:Number,json:{read:{source:"textureSetDefinitionId"}}})],t.prototype,"id",void 0),r.__decorate([n.property({type:Number})],t.prototype,"factor",void 0),r.__decorate([n.subclass("esri.layer.support.I3SMaterialTexture")],t)}(o.JSONSupport);t.I3SMaterialTexture=a;var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.baseColorFactor=[1,1,1,1],t.baseColorTexture=null,t.metallicRoughnessTexture=null,t.metallicFactor=1,t.roughnessFactor=1,t}return r.__extends(t,e),r.__decorate([n.property({type:[Number]})],t.prototype,"baseColorFactor",void 0),r.__decorate([n.property({type:a})],t.prototype,"baseColorTexture",void 0),r.__decorate([n.property({type:a})],t.prototype,"metallicRoughnessTexture",void 0),r.__decorate([n.property({type:Number})],t.prototype,"metallicFactor",void 0),r.__decorate([n.property({type:Number})],t.prototype,"roughnessFactor",void 0),r.__decorate([n.subclass("esri.layer.support.I3SMaterialPBRMetallicRoughness")],t)}(o.JSONSupport);t.I3SMaterialPBRMetallicRoughness=s;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.alphaMode="opaque",t.alphaCutoff=.25,t.doubleSided=!1,t.cullFace="none",t.normalTexture=null,t.occlusionTexture=null,t.emissiveTexture=null,t.emissiveFactor=null,t.pbrMetallicRoughness=null,t}return r.__extends(t,e),r.__decorate([n.enumeration({opaque:"opaque",mask:"mask",blend:"blend"})],t.prototype,"alphaMode",void 0),r.__decorate([n.property({type:Number})],t.prototype,"alphaCutoff",void 0),r.__decorate([n.property({type:Boolean})],t.prototype,"doubleSided",void 0),r.__decorate([n.enumeration({none:"none",back:"back",front:"front"})],t.prototype,"cullFace",void 0),r.__decorate([n.property({type:a})],t.prototype,"normalTexture",void 0),r.__decorate([n.property({type:a})],t.prototype,"occlusionTexture",void 0),r.__decorate([n.property({type:a})],t.prototype,"emissiveTexture",void 0),r.__decorate([n.property({type:[Number]})],t.prototype,"emissiveFactor",void 0),r.__decorate([n.property({type:s})],t.prototype,"pbrMetallicRoughness",void 0),r.__decorate([n.subclass("esri.layer.support.I3SMaterialDefinition")],t)}(o.JSONSupport);t.I3SMaterialDefinition=p;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),r.__decorate([n.property({type:String,json:{read:{source:["name","index"],reader:function(e,t){return null!=e?e:""+t.index}}}})],t.prototype,"name",void 0),r.__decorate([n.enumeration({jpg:"jpg",png:"png",dds:"dds","ktx-etc2":"ktx-etc2"})],t.prototype,"format",void 0),r.__decorate([n.subclass("esri.layer.support.I3STextureFormat")],t)}(o.JSONSupport);t.I3STextureFormat=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.atlas=!1,t}return r.__extends(t,e),r.__decorate([n.property({type:[l]})],t.prototype,"formats",void 0),r.__decorate([n.property({type:Boolean})],t.prototype,"atlas",void 0),r.__decorate([n.subclass("esri.layer.support.I3STextureSetDefinition")],t)}(o.JSONSupport);t.I3STextureSetDefinition=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),r.__decorate([n.enumeration({Float32:"Float32",UInt64:"UInt64",UInt32:"UInt32",UInt16:"UInt16",UInt8:"UInt8"})],t.prototype,"type",void 0),r.__decorate([n.property({type:Number})],t.prototype,"component",void 0),r.__decorate([n.subclass("esri.layer.support.I3SGeometryAttribute")],t)}(o.JSONSupport);t.I3SGeometryAttribute=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),r.__decorate([n.enumeration({draco:"draco"})],t.prototype,"encoding",void 0),r.__decorate([n.property({type:[String]})],t.prototype,"attributes",void 0),r.__decorate([n.subclass("esri.layer.support.I3SGeometryCompressedAttributes")],t)}(o.JSONSupport);t.I3SGeometryCompressedAttributes=d;var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.offset=0,t}return r.__extends(t,e),r.__decorate([n.property({type:Number})],t.prototype,"offset",void 0),r.__decorate([n.property({type:c})],t.prototype,"position",void 0),r.__decorate([n.property({type:c})],t.prototype,"normal",void 0),r.__decorate([n.property({type:c})],t.prototype,"uv0",void 0),r.__decorate([n.property({type:c})],t.prototype,"color",void 0),r.__decorate([n.property({type:c})],t.prototype,"uvRegion",void 0),r.__decorate([n.property({type:c})],t.prototype,"featureId",void 0),r.__decorate([n.property({type:c})],t.prototype,"faceRange",void 0),r.__decorate([n.property({type:d})],t.prototype,"compressedAttributes",void 0),r.__decorate([n.subclass("esri.layer.support.I3SGeometryBuffer")],t)}(o.JSONSupport);t.I3SGeometryBuffer=y;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),r.__decorate([n.enumeration({triangle:"triangle"})],t.prototype,"topology",void 0),r.__decorate([n.property()],t.prototype,"geometryBuffers",void 0),r.__decorate([n.subclass("esri.layer.support.I3SGeometryDefinition")],t)}(o.JSONSupport);t.I3SGeometryDefinition=_}).apply(null,o),void 0===n||(e.exports=n)}}]);