@xeokit/xeokit-sdk 2.4.0-alpha-11 → 2.4.0-alpha-13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/xeokit-sdk.cjs.js +12 -12
- package/dist/xeokit-sdk.es.js +12 -12
- package/dist/xeokit-sdk.es5.js +33 -33
- package/dist/xeokit-sdk.min.cjs.js +1 -1
- package/dist/xeokit-sdk.min.es.js +1 -1
- package/dist/xeokit-sdk.min.es5.js +1 -1
- package/package.json +1 -1
package/dist/xeokit-sdk.es5.js
CHANGED
|
@@ -24169,7 +24169,7 @@ mouseHoverEntity=event.entity;mouseWorldPos.set(event.worldPos);mouseCanvasPos.s
|
|
|
24169
24169
|
* @param {Function} error Fired on error while loading the glTF binary asset.
|
|
24170
24170
|
*/},{key:"getArrayBuffer",value:function getArrayBuffer(glTFSrc,binarySrc,ok,error){loadArraybuffer(glTFSrc,binarySrc,function(arrayBuffer){ok(arrayBuffer);},function(errMsg){error(errMsg);});}}]);return GLTFDefaultDataSource;}();function loadArraybuffer(glTFSrc,binarySrc,ok,err){// Check for data: URI
|
|
24171
24171
|
var defaultCallback=function defaultCallback(){};ok=ok||defaultCallback;err=err||defaultCallback;var dataUriRegex=/^data:(.*?)(;base64)?,(.*)$/;var dataUriRegexResult=binarySrc.match(dataUriRegex);if(dataUriRegexResult){// Safari can't handle data URIs through XMLHttpRequest
|
|
24172
|
-
var isBase64=!!dataUriRegexResult[2];var data=dataUriRegexResult[3];data=window.decodeURIComponent(data);if(isBase64){data=window.atob(data);}try{var buffer=new ArrayBuffer(data.length);var view=new Uint8Array(buffer);for(var i=0;i<data.length;i++){view[i]=data.charCodeAt(i);}window.setTimeout(function(){ok(buffer);},0);}catch(error){window.setTimeout(function(){err(error);},0);}}else{var basePath=getBasePath$1(glTFSrc);var url=basePath+binarySrc;var request=new XMLHttpRequest();request.open('GET',url,true);request.responseType='arraybuffer';request.onreadystatechange=function(){if(request.readyState===4){if(request.status===200){ok(request.response);}else{err('loadArrayBuffer error : '+request.response);}}};request.send(null);}}function getBasePath$1(src){var i=src.lastIndexOf("/");return i!==0?src.substring(0,i+1):"";}function assert$5(condition,message){if(!condition){throw new Error(message||'loader assertion failed.');}}var isBrowser$4=Boolean((typeof process==="undefined"?"undefined":_typeof(process))!=='object'||String(process)!=='[object process]'||process.browser);var matches$1=typeof process!=='undefined'&&process.version&&/v([0-9]*)/.exec(process.version);matches$1&&parseFloat(matches$1[1])||0;var VERSION$9="3.2.6";function assert$4(condition,message){if(!condition){throw new Error(message||'loaders.gl assertion failed.');}}var globals$2={self:typeof self!=='undefined'&&self,window:typeof window!=='undefined'&&window,global:typeof global!=='undefined'&&global,document:typeof document!=='undefined'&&document};var global_=globals$2.global||globals$2.self||globals$2.window||{};var isBrowser$3=(typeof process==="undefined"?"undefined":_typeof(process))!=='object'||String(process)!=='[object process]'||process.browser;var isWorker=typeof importScripts==='function';var isMobile=typeof window!=='undefined'&&typeof window.orientation!=='undefined';var matches=typeof process!=='undefined'&&process.version&&/v([0-9]*)/.exec(process.version);matches&&parseFloat(matches[1])||0;function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var WorkerJob=/*#__PURE__*/function(){function WorkerJob(jobName,workerThread){var _this100=this;_classCallCheck(this,WorkerJob);_defineProperty(this,"name",void 0);_defineProperty(this,"workerThread",void 0);_defineProperty(this,"isRunning",true);_defineProperty(this,"result",void 0);_defineProperty(this,"_resolve",function(){});_defineProperty(this,"_reject",function(){});this.name=jobName;this.workerThread=workerThread;this.result=new Promise(function(resolve,reject){_this100._resolve=resolve;_this100._reject=reject;});}_createClass(WorkerJob,[{key:"postMessage",value:function postMessage(type,payload){this.workerThread.postMessage({source:'loaders.gl',type:type,payload:payload});}},{key:"done",value:function done(value){assert$4(this.isRunning);this.isRunning=false;this._resolve(value);}},{key:"error",value:function error(_error){assert$4(this.isRunning);this.isRunning=false;this._reject(_error);}}]);return WorkerJob;}();var Worker$1=/*#__PURE__*/_createClass(function Worker$1(){_classCallCheck(this,Worker$1);});var workerURLCache=new Map();function getLoadableWorkerURL(props){assert$4(props.source&&!props.url||!props.source&&props.url);var workerURL=workerURLCache.get(props.source||props.url);if(!workerURL){if(props.url){workerURL=getLoadableWorkerURLFromURL(props.url);workerURLCache.set(props.url,workerURL);}if(props.source){workerURL=getLoadableWorkerURLFromSource(props.source);workerURLCache.set(props.source,workerURL);}}assert$4(workerURL);return workerURL;}function getLoadableWorkerURLFromURL(url){if(!url.startsWith('http')){return url;}var workerSource=buildScriptSource(url);return getLoadableWorkerURLFromSource(workerSource);}function getLoadableWorkerURLFromSource(workerSource){var blob=new Blob([workerSource],{type:'application/javascript'});return URL.createObjectURL(blob);}function buildScriptSource(workerUrl){return"try {\n importScripts('".concat(workerUrl,"');\n} catch (error) {\n console.error(error);\n throw error;\n}");}function getTransferList(object){var recursive=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var transfers=arguments.length>2?arguments[2]:undefined;var transfersSet=transfers||new Set();if(!object);else if(isTransferable(object)){transfersSet.add(object);}else if(isTransferable(object.buffer)){transfersSet.add(object.buffer);}else if(ArrayBuffer.isView(object));else if(recursive&&_typeof(object)==='object'){for(var key in object){getTransferList(object[key],recursive,transfersSet);}}return transfers===undefined?Array.from(transfersSet):[];}function isTransferable(object){if(!object){return false;}if(object instanceof ArrayBuffer){return true;}if(typeof MessagePort!=='undefined'&&object instanceof MessagePort){return true;}if(typeof ImageBitmap!=='undefined'&&object instanceof ImageBitmap){return true;}if(typeof OffscreenCanvas!=='undefined'&&object instanceof OffscreenCanvas){return true;}return false;}var NOOP=function NOOP(){};var WorkerThread=/*#__PURE__*/function(){function WorkerThread(props){_classCallCheck(this,WorkerThread);_defineProperty(this,"name",void 0);_defineProperty(this,"source",void 0);_defineProperty(this,"url",void 0);_defineProperty(this,"terminated",false);_defineProperty(this,"worker",void 0);_defineProperty(this,"onMessage",void 0);_defineProperty(this,"onError",void 0);_defineProperty(this,"_loadableURL",'');var name=props.name,source=props.source,url=props.url;assert$4(source||url);this.name=name;this.source=source;this.url=url;this.onMessage=NOOP;this.onError=function(error){return console.log(error);};this.worker=isBrowser$3?this._createBrowserWorker():this._createNodeWorker();}_createClass(WorkerThread,[{key:"destroy",value:function destroy(){this.onMessage=NOOP;this.onError=NOOP;this.worker.terminate();this.terminated=true;}},{key:"isRunning",get:function get(){return Boolean(this.onMessage);}},{key:"postMessage",value:function postMessage(data,transferList){transferList=transferList||getTransferList(data);this.worker.postMessage(data,transferList);}},{key:"_getErrorFromErrorEvent",value:function _getErrorFromErrorEvent(event){var message='Failed to load ';message+="worker ".concat(this.name," from ").concat(this.url,". ");if(event.message){message+="".concat(event.message," in ");}if(event.lineno){message+=":".concat(event.lineno,":").concat(event.colno);}return new Error(message);}},{key:"_createBrowserWorker",value:function _createBrowserWorker(){var _this101=this;this._loadableURL=getLoadableWorkerURL({source:this.source,url:this.url});var worker=new Worker(this._loadableURL,{name:this.name});worker.onmessage=function(event){if(!event.data){_this101.onError(new Error('No data received'));}else{_this101.onMessage(event.data);}};worker.onerror=function(error){_this101.onError(_this101._getErrorFromErrorEvent(error));_this101.terminated=true;};worker.onmessageerror=function(event){return console.error(event);};return worker;}},{key:"_createNodeWorker",value:function _createNodeWorker(){var _this102=this;var worker;if(this.url){var absolute=this.url.includes(':/')||this.url.startsWith('/');var url=absolute?this.url:"./".concat(this.url);worker=new Worker$1(url,{eval:false});}else if(this.source){worker=new Worker$1(this.source,{eval:true});}else{throw new Error('no worker');}worker.on('message',function(data){_this102.onMessage(data);});worker.on('error',function(error){_this102.onError(error);});worker.on('exit',function(code){});return worker;}}],[{key:"isSupported",value:function isSupported(){return typeof Worker!=='undefined'&&isBrowser$3||_typeof(Worker$1)!==undefined;}}]);return WorkerThread;}();var WorkerPool=/*#__PURE__*/function(){function WorkerPool(props){_classCallCheck(this,WorkerPool);_defineProperty(this,"name",'unnamed');_defineProperty(this,"source",void 0);_defineProperty(this,"url",void 0);_defineProperty(this,"maxConcurrency",1);_defineProperty(this,"maxMobileConcurrency",1);_defineProperty(this,"onDebug",function(){});_defineProperty(this,"reuseWorkers",true);_defineProperty(this,"props",{});_defineProperty(this,"jobQueue",[]);_defineProperty(this,"idleQueue",[]);_defineProperty(this,"count",0);_defineProperty(this,"isDestroyed",false);this.source=props.source;this.url=props.url;this.setProps(props);}_createClass(WorkerPool,[{key:"destroy",value:function destroy(){this.idleQueue.forEach(function(worker){return worker.destroy();});this.isDestroyed=true;}},{key:"setProps",value:function setProps(props){this.props=_objectSpread(_objectSpread({},this.props),props);if(props.name!==undefined){this.name=props.name;}if(props.maxConcurrency!==undefined){this.maxConcurrency=props.maxConcurrency;}if(props.maxMobileConcurrency!==undefined){this.maxMobileConcurrency=props.maxMobileConcurrency;}if(props.reuseWorkers!==undefined){this.reuseWorkers=props.reuseWorkers;}if(props.onDebug!==undefined){this.onDebug=props.onDebug;}}},{key:"startJob",value:function(){var _startJob=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(name){var _this103=this;var onMessage,onError,startPromise,_args=arguments;return _regeneratorRuntime().wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:onMessage=_args.length>1&&_args[1]!==undefined?_args[1]:function(job,type,data){return job.done(data);};onError=_args.length>2&&_args[2]!==undefined?_args[2]:function(job,error){return job.error(error);};startPromise=new Promise(function(onStart){_this103.jobQueue.push({name:name,onMessage:onMessage,onError:onError,onStart:onStart});return _this103;});this._startQueuedJob();_context.next=6;return startPromise;case 6:return _context.abrupt("return",_context.sent);case 7:case"end":return _context.stop();}}},_callee,this);}));function startJob(_x7){return _startJob.apply(this,arguments);}return startJob;}()},{key:"_startQueuedJob",value:function(){var _startQueuedJob2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var workerThread,queuedJob,job;return _regeneratorRuntime().wrap(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(this.jobQueue.length){_context2.next=2;break;}return _context2.abrupt("return");case 2:workerThread=this._getAvailableWorker();if(workerThread){_context2.next=5;break;}return _context2.abrupt("return");case 5:queuedJob=this.jobQueue.shift();if(!queuedJob){_context2.next=18;break;}this.onDebug({message:'Starting job',name:queuedJob.name,workerThread:workerThread,backlog:this.jobQueue.length});job=new WorkerJob(queuedJob.name,workerThread);workerThread.onMessage=function(data){return queuedJob.onMessage(job,data.type,data.payload);};workerThread.onError=function(error){return queuedJob.onError(job,error);};queuedJob.onStart(job);_context2.prev=12;_context2.next=15;return job.result;case 15:_context2.prev=15;this.returnWorkerToQueue(workerThread);return _context2.finish(15);case 18:case"end":return _context2.stop();}}},_callee2,this,[[12,,15,18]]);}));function _startQueuedJob(){return _startQueuedJob2.apply(this,arguments);}return _startQueuedJob;}()},{key:"returnWorkerToQueue",value:function returnWorkerToQueue(worker){var shouldDestroyWorker=this.isDestroyed||!this.reuseWorkers||this.count>this._getMaxConcurrency();if(shouldDestroyWorker){worker.destroy();this.count--;}else{this.idleQueue.push(worker);}if(!this.isDestroyed){this._startQueuedJob();}}},{key:"_getAvailableWorker",value:function _getAvailableWorker(){if(this.idleQueue.length>0){return this.idleQueue.shift()||null;}if(this.count<this._getMaxConcurrency()){this.count++;var _name6="".concat(this.name.toLowerCase()," (#").concat(this.count," of ").concat(this.maxConcurrency,")");return new WorkerThread({name:_name6,source:this.source,url:this.url});}return null;}},{key:"_getMaxConcurrency",value:function _getMaxConcurrency(){return isMobile?this.maxMobileConcurrency:this.maxConcurrency;}}],[{key:"isSupported",value:function isSupported(){return WorkerThread.isSupported();}}]);return WorkerPool;}();var DEFAULT_PROPS={maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:true,onDebug:function onDebug(){}};var WorkerFarm=/*#__PURE__*/function(){function WorkerFarm(props){_classCallCheck(this,WorkerFarm);_defineProperty(this,"props",void 0);_defineProperty(this,"workerPools",new Map());this.props=_objectSpread({},DEFAULT_PROPS);this.setProps(props);this.workerPools=new Map();}_createClass(WorkerFarm,[{key:"destroy",value:function destroy(){var _iterator3=_createForOfIteratorHelper(this.workerPools.values()),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var workerPool=_step3.value;workerPool.destroy();}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}this.workerPools=new Map();}},{key:"setProps",value:function setProps(props){this.props=_objectSpread(_objectSpread({},this.props),props);var _iterator4=_createForOfIteratorHelper(this.workerPools.values()),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var workerPool=_step4.value;workerPool.setProps(this._getWorkerPoolProps());}}catch(err){_iterator4.e(err);}finally{_iterator4.f();}}},{key:"getWorkerPool",value:function getWorkerPool(options){var name=options.name,source=options.source,url=options.url;var workerPool=this.workerPools.get(name);if(!workerPool){workerPool=new WorkerPool({name:name,source:source,url:url});workerPool.setProps(this._getWorkerPoolProps());this.workerPools.set(name,workerPool);}return workerPool;}},{key:"_getWorkerPoolProps",value:function _getWorkerPoolProps(){return{maxConcurrency:this.props.maxConcurrency,maxMobileConcurrency:this.props.maxMobileConcurrency,reuseWorkers:this.props.reuseWorkers,onDebug:this.props.onDebug};}}],[{key:"isSupported",value:function isSupported(){return WorkerThread.isSupported();}},{key:"getWorkerFarm",value:function getWorkerFarm(){var props=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};WorkerFarm._workerFarm=WorkerFarm._workerFarm||new WorkerFarm({});WorkerFarm._workerFarm.setProps(props);return WorkerFarm._workerFarm;}}]);return WorkerFarm;}();_defineProperty(WorkerFarm,"_workerFarm",void 0);var NPM_TAG='latest';function getWorkerURL(worker){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var workerOptions=options[worker.id]||{};var workerFile="".concat(worker.id,"-worker.js");var url=workerOptions.workerUrl;if(!url&&worker.id==='compression'){url=options.workerUrl;}if(options._workerType==='test'){url="modules/".concat(worker.module,"/dist/").concat(workerFile);}if(!url){var version=worker.version;if(version==='latest'){version=NPM_TAG;}var versionTag=version?"@".concat(version):'';url="https://unpkg.com/@loaders.gl/".concat(worker.module).concat(versionTag,"/dist/").concat(workerFile);}assert$4(url);return url;}function validateWorkerVersion(worker){var coreVersion=arguments.length>1&&arguments[1]!==undefined?arguments[1]:VERSION$9;assert$4(worker,'no worker provided');var workerVersion=worker.version;if(!coreVersion||!workerVersion){return false;}return true;}var ChildProcessProxy={};var node=/*#__PURE__*/Object.freeze({__proto__:null,'default':ChildProcessProxy});var VERSION$8="3.2.6";var loadLibraryPromises={};function loadLibrary(_x8){return _loadLibrary.apply(this,arguments);}function _loadLibrary(){_loadLibrary=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee21(libraryUrl){var moduleName,options,_args19=arguments;return _regeneratorRuntime().wrap(function _callee21$(_context24){while(1){switch(_context24.prev=_context24.next){case 0:moduleName=_args19.length>1&&_args19[1]!==undefined?_args19[1]:null;options=_args19.length>2&&_args19[2]!==undefined?_args19[2]:{};if(moduleName){libraryUrl=getLibraryUrl(libraryUrl,moduleName,options);}loadLibraryPromises[libraryUrl]=loadLibraryPromises[libraryUrl]||loadLibraryFromFile(libraryUrl);_context24.next=6;return loadLibraryPromises[libraryUrl];case 6:return _context24.abrupt("return",_context24.sent);case 7:case"end":return _context24.stop();}}},_callee21);}));return _loadLibrary.apply(this,arguments);}function getLibraryUrl(library,moduleName,options){if(library.startsWith('http')){return library;}var modules=options.modules||{};if(modules[library]){return modules[library];}if(!isBrowser$3){return"modules/".concat(moduleName,"/dist/libs/").concat(library);}if(options.CDN){assert$4(options.CDN.startsWith('http'));return"".concat(options.CDN,"/").concat(moduleName,"@").concat(VERSION$8,"/dist/libs/").concat(library);}if(isWorker){return"../src/libs/".concat(library);}return"modules/".concat(moduleName,"/src/libs/").concat(library);}function loadLibraryFromFile(_x9){return _loadLibraryFromFile.apply(this,arguments);}function _loadLibraryFromFile(){_loadLibraryFromFile=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee22(libraryUrl){var _response,response,scriptSource;return _regeneratorRuntime().wrap(function _callee22$(_context25){while(1){switch(_context25.prev=_context25.next){case 0:if(!libraryUrl.endsWith('wasm')){_context25.next=7;break;}_context25.next=3;return fetch(libraryUrl);case 3:_response=_context25.sent;_context25.next=6;return _response.arrayBuffer();case 6:return _context25.abrupt("return",_context25.sent);case 7:if(isBrowser$3){_context25.next=20;break;}_context25.prev=8;_context25.t0=node&&undefined;if(!_context25.t0){_context25.next=14;break;}_context25.next=13;return undefined(libraryUrl);case 13:_context25.t0=_context25.sent;case 14:return _context25.abrupt("return",_context25.t0);case 17:_context25.prev=17;_context25.t1=_context25["catch"](8);return _context25.abrupt("return",null);case 20:if(!isWorker){_context25.next=22;break;}return _context25.abrupt("return",importScripts(libraryUrl));case 22:_context25.next=24;return fetch(libraryUrl);case 24:response=_context25.sent;_context25.next=27;return response.text();case 27:scriptSource=_context25.sent;return _context25.abrupt("return",loadLibraryFromString(scriptSource,libraryUrl));case 29:case"end":return _context25.stop();}}},_callee22,null,[[8,17]]);}));return _loadLibraryFromFile.apply(this,arguments);}function loadLibraryFromString(scriptSource,id){if(!isBrowser$3){return undefined&&undefined(scriptSource,id);}if(isWorker){eval.call(global_,scriptSource);return null;}var script=document.createElement('script');script.id=id;try{script.appendChild(document.createTextNode(scriptSource));}catch(e){script.text=scriptSource;}document.body.appendChild(script);return null;}function canParseWithWorker(loader,options){if(!WorkerFarm.isSupported()){return false;}if(!isBrowser$3&&!(options!==null&&options!==void 0&&options._nodeWorkers)){return false;}return loader.worker&&(options===null||options===void 0?void 0:options.worker);}function parseWithWorker(_x10,_x11,_x12,_x13,_x14){return _parseWithWorker.apply(this,arguments);}function _parseWithWorker(){_parseWithWorker=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee23(loader,data,options,context,parseOnMainThread){var name,url,workerFarm,workerPool,job,result;return _regeneratorRuntime().wrap(function _callee23$(_context26){while(1){switch(_context26.prev=_context26.next){case 0:name=loader.id;url=getWorkerURL(loader,options);workerFarm=WorkerFarm.getWorkerFarm(options);workerPool=workerFarm.getWorkerPool({name:name,url:url});options=JSON.parse(JSON.stringify(options));context=JSON.parse(JSON.stringify(context||{}));_context26.next=8;return workerPool.startJob('process-on-worker',onMessage.bind(null,parseOnMainThread));case 8:job=_context26.sent;job.postMessage('process',{input:data,options:options,context:context});_context26.next=12;return job.result;case 12:result=_context26.sent;_context26.next=15;return result.result;case 15:return _context26.abrupt("return",_context26.sent);case 16:case"end":return _context26.stop();}}},_callee23);}));return _parseWithWorker.apply(this,arguments);}function onMessage(_x15,_x16,_x17,_x18){return _onMessage2.apply(this,arguments);}function _onMessage2(){_onMessage2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee24(parseOnMainThread,job,type,payload){var id,input,options,result,message;return _regeneratorRuntime().wrap(function _callee24$(_context27){while(1){switch(_context27.prev=_context27.next){case 0:_context27.t0=type;_context27.next=_context27.t0==='done'?3:_context27.t0==='error'?5:_context27.t0==='process'?7:20;break;case 3:job.done(payload);return _context27.abrupt("break",21);case 5:job.error(new Error(payload.error));return _context27.abrupt("break",21);case 7:id=payload.id,input=payload.input,options=payload.options;_context27.prev=8;_context27.next=11;return parseOnMainThread(input,options);case 11:result=_context27.sent;job.postMessage('done',{id:id,result:result});_context27.next=19;break;case 15:_context27.prev=15;_context27.t1=_context27["catch"](8);message=_context27.t1 instanceof Error?_context27.t1.message:'unknown error';job.postMessage('error',{id:id,error:message});case 19:return _context27.abrupt("break",21);case 20:console.warn("parse-with-worker unknown message ".concat(type));case 21:case"end":return _context27.stop();}}},_callee24,null,[[8,15]]);}));return _onMessage2.apply(this,arguments);}function getFirstCharacters$1(data){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:5;if(typeof data==='string'){return data.slice(0,length);}else if(ArrayBuffer.isView(data)){return getMagicString$2(data.buffer,data.byteOffset,length);}else if(data instanceof ArrayBuffer){var byteOffset=0;return getMagicString$2(data,byteOffset,length);}return'';}function getMagicString$2(arrayBuffer,byteOffset,length){if(arrayBuffer.byteLength<=byteOffset+length){return'';}var dataView=new DataView(arrayBuffer);var magic='';for(var _i541=0;_i541<length;_i541++){magic+=String.fromCharCode(dataView.getUint8(byteOffset+_i541));}return magic;}function parseJSON(string){try{return JSON.parse(string);}catch(_){throw new Error("Failed to parse JSON from data starting with \"".concat(getFirstCharacters$1(string),"\""));}}function isBuffer$1(value){return value&&_typeof(value)==='object'&&value.isBuffer;}function bufferToArrayBuffer(buffer){if(isBuffer$1(buffer)){var typedArray=new Uint8Array(buffer.buffer,buffer.byteOffset,buffer.length);return typedArray.slice().buffer;}return buffer;}function toArrayBuffer(data){if(isBuffer$1(data)){return bufferToArrayBuffer(data);}if(data instanceof ArrayBuffer){return data;}if(ArrayBuffer.isView(data)){if(data.byteOffset===0&&data.byteLength===data.buffer.byteLength){return data.buffer;}return data.buffer.slice(data.byteOffset,data.byteOffset+data.byteLength);}if(typeof data==='string'){var text=data;var uint8Array=new TextEncoder().encode(text);return uint8Array.buffer;}if(data&&_typeof(data)==='object'&&data._toArrayBuffer){return data._toArrayBuffer();}throw new Error('toArrayBuffer');}function compareArrayBuffers(arrayBuffer1,arrayBuffer2,byteLength){byteLength=byteLength||arrayBuffer1.byteLength;if(arrayBuffer1.byteLength<byteLength||arrayBuffer2.byteLength<byteLength){return false;}var array1=new Uint8Array(arrayBuffer1);var array2=new Uint8Array(arrayBuffer2);for(var _i542=0;_i542<array1.length;++_i542){if(array1[_i542]!==array2[_i542]){return false;}}return true;}function concatenateArrayBuffers(){for(var _len119=arguments.length,sources=new Array(_len119),_key3=0;_key3<_len119;_key3++){sources[_key3]=arguments[_key3];}var sourceArrays=sources.map(function(source2){return source2 instanceof ArrayBuffer?new Uint8Array(source2):source2;});var byteLength=sourceArrays.reduce(function(length,typedArray){return length+typedArray.byteLength;},0);var result=new Uint8Array(byteLength);var offset=0;var _iterator5=_createForOfIteratorHelper(sourceArrays),_step5;try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var sourceArray=_step5.value;result.set(sourceArray,offset);offset+=sourceArray.byteLength;}}catch(err){_iterator5.e(err);}finally{_iterator5.f();}return result.buffer;}function sliceArrayBuffer(arrayBuffer,byteOffset,byteLength){var subArray=byteLength!==undefined?new Uint8Array(arrayBuffer).subarray(byteOffset,byteOffset+byteLength):new Uint8Array(arrayBuffer).subarray(byteOffset);var arrayCopy=new Uint8Array(subArray);return arrayCopy.buffer;}function padToNBytes(byteLength,padding){assert$5(byteLength>=0);assert$5(padding>0);return byteLength+(padding-1)&~(padding-1);}function copyToArray(source,target,targetOffset){var sourceArray;if(source instanceof ArrayBuffer){sourceArray=new Uint8Array(source);}else{var srcByteOffset=source.byteOffset;var srcByteLength=source.byteLength;sourceArray=new Uint8Array(source.buffer||source.arrayBuffer,srcByteOffset,srcByteLength);}target.set(sourceArray,targetOffset);return targetOffset+padToNBytes(sourceArray.byteLength,4);}function concatenateArrayBuffersAsync(_x19){return _concatenateArrayBuffersAsync.apply(this,arguments);}function _concatenateArrayBuffersAsync(){_concatenateArrayBuffersAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee25(asyncIterator){var arrayBuffers,_iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator,_step,chunk;return _regeneratorRuntime().wrap(function _callee25$(_context28){while(1){switch(_context28.prev=_context28.next){case 0:arrayBuffers=[];_iteratorAbruptCompletion=false;_didIteratorError=false;_context28.prev=3;_iterator=_asyncIterator(asyncIterator);case 5:_context28.next=7;return _iterator.next();case 7:if(!(_iteratorAbruptCompletion=!(_step=_context28.sent).done)){_context28.next=13;break;}chunk=_step.value;arrayBuffers.push(chunk);case 10:_iteratorAbruptCompletion=false;_context28.next=5;break;case 13:_context28.next=19;break;case 15:_context28.prev=15;_context28.t0=_context28["catch"](3);_didIteratorError=true;_iteratorError=_context28.t0;case 19:_context28.prev=19;_context28.prev=20;if(!(_iteratorAbruptCompletion&&_iterator["return"]!=null)){_context28.next=24;break;}_context28.next=24;return _iterator["return"]();case 24:_context28.prev=24;if(!_didIteratorError){_context28.next=27;break;}throw _iteratorError;case 27:return _context28.finish(24);case 28:return _context28.finish(19);case 29:return _context28.abrupt("return",concatenateArrayBuffers.apply(void 0,arrayBuffers));case 30:case"end":return _context28.stop();}}},_callee25,null,[[3,15,19,29],[20,,24,28]]);}));return _concatenateArrayBuffersAsync.apply(this,arguments);}var pathPrefix='';var fileAliases={};function resolvePath(filename){for(var alias in fileAliases){if(filename.startsWith(alias)){var replacement=fileAliases[alias];filename=filename.replace(alias,replacement);}}if(!filename.startsWith('http://')&&!filename.startsWith('https://')){filename="".concat(pathPrefix).concat(filename);}return filename;}function filename(url){var slashIndex=url&&url.lastIndexOf('/');return slashIndex>=0?url.substr(slashIndex+1):'';}var isBoolean=function isBoolean(x){return typeof x==='boolean';};var isFunction=function isFunction(x){return typeof x==='function';};var isObject=function isObject(x){return x!==null&&_typeof(x)==='object';};var isPureObject=function isPureObject(x){return isObject(x)&&x.constructor==={}.constructor;};var isIterable=function isIterable(x){return x&&typeof x[Symbol.iterator]==='function';};var isAsyncIterable=function isAsyncIterable(x){return x&&typeof x[Symbol.asyncIterator]==='function';};var isResponse=function isResponse(x){return typeof Response!=='undefined'&&x instanceof Response||x&&x.arrayBuffer&&x.text&&x.json;};var isBlob=function isBlob(x){return typeof Blob!=='undefined'&&x instanceof Blob;};var isBuffer=function isBuffer(x){return x&&_typeof(x)==='object'&&x.isBuffer;};var isReadableDOMStream=function isReadableDOMStream(x){return typeof ReadableStream!=='undefined'&&x instanceof ReadableStream||isObject(x)&&isFunction(x.tee)&&isFunction(x.cancel)&&isFunction(x.getReader);};var isReadableNodeStream=function isReadableNodeStream(x){return isObject(x)&&isFunction(x.read)&&isFunction(x.pipe)&&isBoolean(x.readable);};var isReadableStream=function isReadableStream(x){return isReadableDOMStream(x)||isReadableNodeStream(x);};var DATA_URL_PATTERN=/^data:([-\w.]+\/[-\w.+]+)(;|,)/;var MIME_TYPE_PATTERN=/^([-\w.]+\/[-\w.+]+)/;function parseMIMEType(mimeString){var matches=MIME_TYPE_PATTERN.exec(mimeString);if(matches){return matches[1];}return mimeString;}function parseMIMETypeFromURL(url){var matches=DATA_URL_PATTERN.exec(url);if(matches){return matches[1];}return'';}var QUERY_STRING_PATTERN=/\?.*/;function getResourceUrlAndType(resource){if(isResponse(resource)){var url=stripQueryString(resource.url||'');var contentTypeHeader=resource.headers.get('content-type')||'';return{url:url,type:parseMIMEType(contentTypeHeader)||parseMIMETypeFromURL(url)};}if(isBlob(resource)){return{url:stripQueryString(resource.name||''),type:resource.type||''};}if(typeof resource==='string'){return{url:stripQueryString(resource),type:parseMIMETypeFromURL(resource)};}return{url:'',type:''};}function getResourceContentLength(resource){if(isResponse(resource)){return resource.headers['content-length']||-1;}if(isBlob(resource)){return resource.size;}if(typeof resource==='string'){return resource.length;}if(resource instanceof ArrayBuffer){return resource.byteLength;}if(ArrayBuffer.isView(resource)){return resource.byteLength;}return-1;}function stripQueryString(url){return url.replace(QUERY_STRING_PATTERN,'');}function makeResponse(_x20){return _makeResponse.apply(this,arguments);}function _makeResponse(){_makeResponse=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee26(resource){var headers,contentLength,_getResourceUrlAndTyp3,url,type,initialDataUrl,response;return _regeneratorRuntime().wrap(function _callee26$(_context29){while(1){switch(_context29.prev=_context29.next){case 0:if(!isResponse(resource)){_context29.next=2;break;}return _context29.abrupt("return",resource);case 2:headers={};contentLength=getResourceContentLength(resource);if(contentLength>=0){headers['content-length']=String(contentLength);}_getResourceUrlAndTyp3=getResourceUrlAndType(resource),url=_getResourceUrlAndTyp3.url,type=_getResourceUrlAndTyp3.type;if(type){headers['content-type']=type;}_context29.next=9;return getInitialDataUrl(resource);case 9:initialDataUrl=_context29.sent;if(initialDataUrl){headers['x-first-bytes']=initialDataUrl;}if(typeof resource==='string'){resource=new TextEncoder().encode(resource);}response=new Response(resource,{headers:headers});Object.defineProperty(response,'url',{value:url});return _context29.abrupt("return",response);case 15:case"end":return _context29.stop();}}},_callee26);}));return _makeResponse.apply(this,arguments);}function checkResponse(_x21){return _checkResponse.apply(this,arguments);}function _checkResponse(){_checkResponse=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee27(response){var message;return _regeneratorRuntime().wrap(function _callee27$(_context30){while(1){switch(_context30.prev=_context30.next){case 0:if(response.ok){_context30.next=5;break;}_context30.next=3;return getResponseError(response);case 3:message=_context30.sent;throw new Error(message);case 5:case"end":return _context30.stop();}}},_callee27);}));return _checkResponse.apply(this,arguments);}function getResponseError(_x22){return _getResponseError.apply(this,arguments);}function _getResponseError(){_getResponseError=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee28(response){var message,contentType,text;return _regeneratorRuntime().wrap(function _callee28$(_context31){while(1){switch(_context31.prev=_context31.next){case 0:message="Failed to fetch resource ".concat(response.url," (").concat(response.status,"): ");_context31.prev=1;contentType=response.headers.get('Content-Type');text=response.statusText;if(!contentType.includes('application/json')){_context31.next=11;break;}_context31.t0=text;_context31.t1=" ";_context31.next=9;return response.text();case 9:_context31.t2=_context31.sent;text=_context31.t0+=_context31.t1.concat.call(_context31.t1,_context31.t2);case 11:message+=text;message=message.length>60?"".concat(message.slice(0,60),"..."):message;_context31.next=17;break;case 15:_context31.prev=15;_context31.t3=_context31["catch"](1);case 17:return _context31.abrupt("return",message);case 18:case"end":return _context31.stop();}}},_callee28,null,[[1,15]]);}));return _getResponseError.apply(this,arguments);}function getInitialDataUrl(_x23){return _getInitialDataUrl.apply(this,arguments);}function _getInitialDataUrl(){_getInitialDataUrl=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee29(resource){var INITIAL_DATA_LENGTH,blobSlice,slice,base64;return _regeneratorRuntime().wrap(function _callee29$(_context32){while(1){switch(_context32.prev=_context32.next){case 0:INITIAL_DATA_LENGTH=5;if(!(typeof resource==='string')){_context32.next=3;break;}return _context32.abrupt("return","data:,".concat(resource.slice(0,INITIAL_DATA_LENGTH)));case 3:if(!(resource instanceof Blob)){_context32.next=8;break;}blobSlice=resource.slice(0,5);_context32.next=7;return new Promise(function(resolve){var reader=new FileReader();reader.onload=function(event){var _event$target;return resolve(event===null||event===void 0?void 0:(_event$target=event.target)===null||_event$target===void 0?void 0:_event$target.result);};reader.readAsDataURL(blobSlice);});case 7:return _context32.abrupt("return",_context32.sent);case 8:if(!(resource instanceof ArrayBuffer)){_context32.next=12;break;}slice=resource.slice(0,INITIAL_DATA_LENGTH);base64=arrayBufferToBase64(slice);return _context32.abrupt("return","data:base64,".concat(base64));case 12:return _context32.abrupt("return",null);case 13:case"end":return _context32.stop();}}},_callee29);}));return _getInitialDataUrl.apply(this,arguments);}function arrayBufferToBase64(buffer){var binary='';var bytes=new Uint8Array(buffer);for(var _i543=0;_i543<bytes.byteLength;_i543++){binary+=String.fromCharCode(bytes[_i543]);}return btoa(binary);}function fetchFile(_x24,_x25){return _fetchFile.apply(this,arguments);}function _fetchFile(){_fetchFile=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee30(url,options){var fetchOptions;return _regeneratorRuntime().wrap(function _callee30$(_context33){while(1){switch(_context33.prev=_context33.next){case 0:if(!(typeof url==='string')){_context33.next=7;break;}url=resolvePath(url);fetchOptions=options;if(options!==null&&options!==void 0&&options.fetch&&typeof(options===null||options===void 0?void 0:options.fetch)!=='function'){fetchOptions=options.fetch;}_context33.next=6;return fetch(url,fetchOptions);case 6:return _context33.abrupt("return",_context33.sent);case 7:_context33.next=9;return makeResponse(url);case 9:return _context33.abrupt("return",_context33.sent);case 10:case"end":return _context33.stop();}}},_callee30);}));return _fetchFile.apply(this,arguments);}function isElectron$1(mockUserAgent){if(typeof window!=='undefined'&&_typeof(window.process)==='object'&&window.process.type==='renderer'){return true;}if(typeof process!=='undefined'&&_typeof(process.versions)==='object'&&Boolean(process.versions.electron)){return true;}var realUserAgent=(typeof navigator==="undefined"?"undefined":_typeof(navigator))==='object'&&typeof navigator.userAgent==='string'&&navigator.userAgent;var userAgent=mockUserAgent||realUserAgent;if(userAgent&&userAgent.indexOf('Electron')>=0){return true;}return false;}function isBrowser$2(){var isNode=(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&String(process)==='[object process]'&&!process.browser;return!isNode||isElectron$1();}var globals$1={self:typeof self!=='undefined'&&self,window:typeof window!=='undefined'&&window,global:typeof global!=='undefined'&&global,document:typeof document!=='undefined'&&document,process:(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&process};var window_$1=globals$1.window||globals$1.self||globals$1.global;var process_$1=globals$1.process||{};var VERSION$7=typeof __VERSION__!=='undefined'?__VERSION__:'untranspiled source';var isBrowser$1=isBrowser$2();function getStorage$1(type){try{var storage=window[type];var x='__storage_test__';storage.setItem(x,x);storage.removeItem(x);return storage;}catch(e){return null;}}var LocalStorage$1=/*#__PURE__*/function(){function LocalStorage$1(id,defaultSettings){var type=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'sessionStorage';_classCallCheck(this,LocalStorage$1);this.storage=getStorage$1(type);this.id=id;this.config={};Object.assign(this.config,defaultSettings);this._loadConfiguration();}_createClass(LocalStorage$1,[{key:"getConfiguration",value:function getConfiguration(){return this.config;}},{key:"setConfiguration",value:function setConfiguration(configuration){this.config={};return this.updateConfiguration(configuration);}},{key:"updateConfiguration",value:function updateConfiguration(configuration){Object.assign(this.config,configuration);if(this.storage){var serialized=JSON.stringify(this.config);this.storage.setItem(this.id,serialized);}return this;}},{key:"_loadConfiguration",value:function _loadConfiguration(){var configuration={};if(this.storage){var serializedConfiguration=this.storage.getItem(this.id);configuration=serializedConfiguration?JSON.parse(serializedConfiguration):{};}Object.assign(this.config,configuration);return this;}}]);return LocalStorage$1;}();function formatTime$1(ms){var formatted;if(ms<10){formatted="".concat(ms.toFixed(2),"ms");}else if(ms<100){formatted="".concat(ms.toFixed(1),"ms");}else if(ms<1000){formatted="".concat(ms.toFixed(0),"ms");}else{formatted="".concat((ms/1000).toFixed(2),"s");}return formatted;}function leftPad$1(string){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:8;var padLength=Math.max(length-string.length,0);return"".concat(' '.repeat(padLength)).concat(string);}function formatImage$1(image,message,scale){var maxWidth=arguments.length>3&&arguments[3]!==undefined?arguments[3]:600;var imageUrl=image.src.replace(/\(/g,'%28').replace(/\)/g,'%29');if(image.width>maxWidth){scale=Math.min(scale,maxWidth/image.width);}var width=image.width*scale;var height=image.height*scale;var style=['font-size:1px;',"padding:".concat(Math.floor(height/2),"px ").concat(Math.floor(width/2),"px;"),"line-height:".concat(height,"px;"),"background:url(".concat(imageUrl,");"),"background-size:".concat(width,"px ").concat(height,"px;"),'color:transparent;'].join('');return["".concat(message," %c+"),style];}var COLOR$1={BLACK:30,RED:31,GREEN:32,YELLOW:33,BLUE:34,MAGENTA:35,CYAN:36,WHITE:37,BRIGHT_BLACK:90,BRIGHT_RED:91,BRIGHT_GREEN:92,BRIGHT_YELLOW:93,BRIGHT_BLUE:94,BRIGHT_MAGENTA:95,BRIGHT_CYAN:96,BRIGHT_WHITE:97};function getColor$1(color){return typeof color==='string'?COLOR$1[color.toUpperCase()]||COLOR$1.WHITE:color;}function addColor$1(string,color,background){if(!isBrowser$1&&typeof string==='string'){if(color){color=getColor$1(color);string="\x1B[".concat(color,"m").concat(string,"\x1B[39m");}if(background){color=getColor$1(background);string="\x1B[".concat(background+10,"m").concat(string,"\x1B[49m");}}return string;}function autobind$1(obj){var predefined=arguments.length>1&&arguments[1]!==undefined?arguments[1]:['constructor'];var proto=Object.getPrototypeOf(obj);var propNames=Object.getOwnPropertyNames(proto);var _iterator6=_createForOfIteratorHelper(propNames),_step6;try{var _loop5=function _loop5(){var key=_step6.value;if(typeof obj[key]==='function'){if(!predefined.find(function(name){return key===name;})){obj[key]=obj[key].bind(obj);}}};for(_iterator6.s();!(_step6=_iterator6.n()).done;){_loop5();}}catch(err){_iterator6.e(err);}finally{_iterator6.f();}}function assert$3(condition,message){if(!condition){throw new Error(message||'Assertion failed');}}function getHiResTimestamp$1(){var timestamp;if(isBrowser$1&&window_$1.performance){timestamp=window_$1.performance.now();}else if(process_$1.hrtime){var timeParts=process_$1.hrtime();timestamp=timeParts[0]*1000+timeParts[1]/1e6;}else{timestamp=Date.now();}return timestamp;}var originalConsole$1={debug:isBrowser$1?console.debug||console.log:console.log,log:console.log,info:console.info,warn:console.warn,error:console.error};var DEFAULT_SETTINGS$1={enabled:true,level:0};function noop$1(){}var cache$1={};var ONCE$1={once:true};function getTableHeader$1(table){for(var key in table){for(var title in table[key]){return title||'untitled';}}return'empty';}var Log$1=/*#__PURE__*/function(){function Log$1(){var _ref14=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{id:''},id=_ref14.id;_classCallCheck(this,Log$1);this.id=id;this.VERSION=VERSION$7;this._startTs=getHiResTimestamp$1();this._deltaTs=getHiResTimestamp$1();this.LOG_THROTTLE_TIMEOUT=0;this._storage=new LocalStorage$1("__probe-".concat(this.id,"__"),DEFAULT_SETTINGS$1);this.userData={};this.timeStamp("".concat(this.id," started"));autobind$1(this);Object.seal(this);}_createClass(Log$1,[{key:"level",get:function get(){return this.getLevel();},set:function set(newLevel){this.setLevel(newLevel);}},{key:"isEnabled",value:function isEnabled(){return this._storage.config.enabled;}},{key:"getLevel",value:function getLevel(){return this._storage.config.level;}},{key:"getTotal",value:function getTotal(){return Number((getHiResTimestamp$1()-this._startTs).toPrecision(10));}},{key:"getDelta",value:function getDelta(){return Number((getHiResTimestamp$1()-this._deltaTs).toPrecision(10));}},{key:"priority",get:function get(){return this.level;},set:function set(newPriority){this.level=newPriority;}},{key:"getPriority",value:function getPriority(){return this.level;}},{key:"enable",value:function enable(){var enabled=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;this._storage.updateConfiguration({enabled:enabled});return this;}},{key:"setLevel",value:function setLevel(level){this._storage.updateConfiguration({level:level});return this;}},{key:"assert",value:function assert(condition,message){assert$3(condition,message);}},{key:"warn",value:function warn(message){return this._getLogFunction(0,message,originalConsole$1.warn,arguments,ONCE$1);}},{key:"error",value:function error(message){return this._getLogFunction(0,message,originalConsole$1.error,arguments);}},{key:"deprecated",value:function deprecated(oldUsage,newUsage){return this.warn("`".concat(oldUsage,"` is deprecated and will be removed in a later version. Use `").concat(newUsage,"` instead"));}},{key:"removed",value:function removed(oldUsage,newUsage){return this.error("`".concat(oldUsage,"` has been removed. Use `").concat(newUsage,"` instead"));}},{key:"probe",value:function probe(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole$1.log,arguments,{time:true,once:true});}},{key:"log",value:function log(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole$1.debug,arguments);}},{key:"info",value:function info(logLevel,message){return this._getLogFunction(logLevel,message,console.info,arguments);}},{key:"once",value:function once(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole$1.debug||originalConsole$1.info,arguments,ONCE$1);}},{key:"table",value:function table(logLevel,_table,columns){if(_table){return this._getLogFunction(logLevel,_table,console.table||noop$1,columns&&[columns],{tag:getTableHeader$1(_table)});}return noop$1;}},{key:"image",value:function(_image6){function image(_x26){return _image6.apply(this,arguments);}image.toString=function(){return _image6.toString();};return image;}(function(_ref15){var logLevel=_ref15.logLevel,priority=_ref15.priority,image=_ref15.image,_ref15$message=_ref15.message,message=_ref15$message===void 0?'':_ref15$message,_ref15$scale=_ref15.scale,scale=_ref15$scale===void 0?1:_ref15$scale;if(!this._shouldLog(logLevel||priority)){return noop$1;}return isBrowser$1?logImageInBrowser$1({image:image,message:message,scale:scale}):logImageInNode$1({image:image,message:message,scale:scale});})},{key:"settings",value:function settings(){if(console.table){console.table(this._storage.config);}else{console.log(this._storage.config);}}},{key:"get",value:function get(setting){return this._storage.config[setting];}},{key:"set",value:function set(setting,value){this._storage.updateConfiguration(_defineProperty2({},setting,value));}},{key:"time",value:function time(logLevel,message){return this._getLogFunction(logLevel,message,console.time?console.time:console.info);}},{key:"timeEnd",value:function timeEnd(logLevel,message){return this._getLogFunction(logLevel,message,console.timeEnd?console.timeEnd:console.info);}},{key:"timeStamp",value:function timeStamp(logLevel,message){return this._getLogFunction(logLevel,message,console.timeStamp||noop$1);}},{key:"group",value:function group(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{collapsed:false};opts=normalizeArguments$1({logLevel:logLevel,message:message,opts:opts});var _opts=opts,collapsed=_opts.collapsed;opts.method=(collapsed?console.groupCollapsed:console.group)||console.info;return this._getLogFunction(opts);}},{key:"groupCollapsed",value:function groupCollapsed(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.group(logLevel,message,Object.assign({},opts,{collapsed:true}));}},{key:"groupEnd",value:function groupEnd(logLevel){return this._getLogFunction(logLevel,'',console.groupEnd||noop$1);}},{key:"withGroup",value:function withGroup(logLevel,message,func){this.group(logLevel,message)();try{func();}finally{this.groupEnd(logLevel)();}}},{key:"trace",value:function trace(){if(console.trace){console.trace();}}},{key:"_shouldLog",value:function _shouldLog(logLevel){return this.isEnabled()&&this.getLevel()>=normalizeLogLevel$1(logLevel);}},{key:"_getLogFunction",value:function _getLogFunction(logLevel,message,method){var args=arguments.length>3&&arguments[3]!==undefined?arguments[3]:[];var opts=arguments.length>4?arguments[4]:undefined;if(this._shouldLog(logLevel)){var _method;opts=normalizeArguments$1({logLevel:logLevel,message:message,args:args,opts:opts});method=method||opts.method;assert$3(method);opts.total=this.getTotal();opts.delta=this.getDelta();this._deltaTs=getHiResTimestamp$1();var tag=opts.tag||opts.message;if(opts.once){if(!cache$1[tag]){cache$1[tag]=getHiResTimestamp$1();}else{return noop$1;}}message=decorateMessage$1(this.id,opts.message,opts);return(_method=method).bind.apply(_method,[console,message].concat(_toConsumableArray(opts.args)));}return noop$1;}}]);return Log$1;}();Log$1.VERSION=VERSION$7;function normalizeLogLevel$1(logLevel){if(!logLevel){return 0;}var resolvedLevel;switch(_typeof(logLevel)){case'number':resolvedLevel=logLevel;break;case'object':resolvedLevel=logLevel.logLevel||logLevel.priority||0;break;default:return 0;}assert$3(Number.isFinite(resolvedLevel)&&resolvedLevel>=0);return resolvedLevel;}function normalizeArguments$1(opts){var logLevel=opts.logLevel,message=opts.message;opts.logLevel=normalizeLogLevel$1(logLevel);var args=opts.args?Array.from(opts.args):[];while(args.length&&args.shift()!==message){}opts.args=args;switch(_typeof(logLevel)){case'string':case'function':if(message!==undefined){args.unshift(message);}opts.message=logLevel;break;case'object':Object.assign(opts,logLevel);break;}if(typeof opts.message==='function'){opts.message=opts.message();}var messageType=_typeof(opts.message);assert$3(messageType==='string'||messageType==='object');return Object.assign(opts,opts.opts);}function decorateMessage$1(id,message,opts){if(typeof message==='string'){var time=opts.time?leftPad$1(formatTime$1(opts.total)):'';message=opts.time?"".concat(id,": ").concat(time," ").concat(message):"".concat(id,": ").concat(message);message=addColor$1(message,opts.color,opts.background);}return message;}function logImageInNode$1(_ref16){var image=_ref16.image,_ref16$message=_ref16.message,message=_ref16$message===void 0?'':_ref16$message,_ref16$scale=_ref16.scale,scale=_ref16$scale===void 0?1:_ref16$scale;var asciify=null;try{asciify=module.require('asciify-image');}catch(error){}if(asciify){return function(){return asciify(image,{fit:'box',width:"".concat(Math.round(80*scale),"%")}).then(function(data){return console.log(data);});};}return noop$1;}function logImageInBrowser$1(_ref17){var image=_ref17.image,_ref17$message=_ref17.message,message=_ref17$message===void 0?'':_ref17$message,_ref17$scale=_ref17.scale,scale=_ref17$scale===void 0?1:_ref17$scale;if(typeof image==='string'){var img=new Image();img.onload=function(){var _console;var args=formatImage$1(img,message,scale);(_console=console).log.apply(_console,_toConsumableArray(args));};img.src=image;return noop$1;}var element=image.nodeName||'';if(element.toLowerCase()==='img'){var _console2;(_console2=console).log.apply(_console2,_toConsumableArray(formatImage$1(image,message,scale)));return noop$1;}if(element.toLowerCase()==='canvas'){var _img=new Image();_img.onload=function(){var _console3;return(_console3=console).log.apply(_console3,_toConsumableArray(formatImage$1(_img,message,scale)));};_img.src=image.toDataURL();return noop$1;}return noop$1;}var probeLog=new Log$1({id:'loaders.gl'});var NullLog=/*#__PURE__*/function(){function NullLog(){_classCallCheck(this,NullLog);}_createClass(NullLog,[{key:"log",value:function log(){return function(){};}},{key:"info",value:function info(){return function(){};}},{key:"warn",value:function warn(){return function(){};}},{key:"error",value:function error(){return function(){};}}]);return NullLog;}();var ConsoleLog=/*#__PURE__*/function(){function ConsoleLog(){_classCallCheck(this,ConsoleLog);_defineProperty(this,"console",void 0);this.console=console;}_createClass(ConsoleLog,[{key:"log",value:function log(){var _this$console$log;for(var _len120=arguments.length,args=new Array(_len120),_key4=0;_key4<_len120;_key4++){args[_key4]=arguments[_key4];}return(_this$console$log=this.console.log).bind.apply(_this$console$log,[this.console].concat(args));}},{key:"info",value:function info(){var _this$console$info;for(var _len121=arguments.length,args=new Array(_len121),_key5=0;_key5<_len121;_key5++){args[_key5]=arguments[_key5];}return(_this$console$info=this.console.info).bind.apply(_this$console$info,[this.console].concat(args));}},{key:"warn",value:function warn(){var _this$console$warn;for(var _len122=arguments.length,args=new Array(_len122),_key6=0;_key6<_len122;_key6++){args[_key6]=arguments[_key6];}return(_this$console$warn=this.console.warn).bind.apply(_this$console$warn,[this.console].concat(args));}},{key:"error",value:function error(){var _this$console$error;for(var _len123=arguments.length,args=new Array(_len123),_key7=0;_key7<_len123;_key7++){args[_key7]=arguments[_key7];}return(_this$console$error=this.console.error).bind.apply(_this$console$error,[this.console].concat(args));}}]);return ConsoleLog;}();var DEFAULT_LOADER_OPTIONS={fetch:null,mimeType:undefined,nothrow:false,log:new ConsoleLog(),CDN:'https://unpkg.com/@loaders.gl',worker:true,maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:isBrowser$4,_nodeWorkers:false,_workerType:'',limit:0,_limitMB:0,batchSize:'auto',batchDebounceMs:0,metadata:false,transforms:[]};var REMOVED_LOADER_OPTIONS={"throws":'nothrow',dataType:'(no longer used)',uri:'baseUri',method:'fetch.method',headers:'fetch.headers',body:'fetch.body',mode:'fetch.mode',credentials:'fetch.credentials',cache:'fetch.cache',redirect:'fetch.redirect',referrer:'fetch.referrer',referrerPolicy:'fetch.referrerPolicy',integrity:'fetch.integrity',keepalive:'fetch.keepalive',signal:'fetch.signal'};function getGlobalLoaderState(){globalThis.loaders=globalThis.loaders||{};var loaders=globalThis.loaders;loaders._state=loaders._state||{};return loaders._state;}var getGlobalLoaderOptions=function getGlobalLoaderOptions(){var state=getGlobalLoaderState();state.globalOptions=state.globalOptions||_objectSpread({},DEFAULT_LOADER_OPTIONS);return state.globalOptions;};function normalizeOptions(options,loader,loaders,url){loaders=loaders||[];loaders=Array.isArray(loaders)?loaders:[loaders];validateOptions(options,loaders);return normalizeOptionsInternal(loader,options,url);}function getFetchFunction(options,context){var globalOptions=getGlobalLoaderOptions();var fetchOptions=options||globalOptions;if(typeof fetchOptions.fetch==='function'){return fetchOptions.fetch;}if(isObject(fetchOptions.fetch)){return function(url){return fetchFile(url,fetchOptions);};}if(context!==null&&context!==void 0&&context.fetch){return context===null||context===void 0?void 0:context.fetch;}return fetchFile;}function validateOptions(options,loaders){validateOptionsObject(options,null,DEFAULT_LOADER_OPTIONS,REMOVED_LOADER_OPTIONS,loaders);var _iterator7=_createForOfIteratorHelper(loaders),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var loader=_step7.value;var idOptions=options&&options[loader.id]||{};var loaderOptions=loader.options&&loader.options[loader.id]||{};var deprecatedOptions=loader.deprecatedOptions&&loader.deprecatedOptions[loader.id]||{};validateOptionsObject(idOptions,loader.id,loaderOptions,deprecatedOptions,loaders);}}catch(err){_iterator7.e(err);}finally{_iterator7.f();}}function validateOptionsObject(options,id,defaultOptions,deprecatedOptions,loaders){var loaderName=id||'Top level';var prefix=id?"".concat(id,"."):'';for(var key in options){var isSubOptions=!id&&isObject(options[key]);var isBaseUriOption=key==='baseUri'&&!id;var isWorkerUrlOption=key==='workerUrl'&&id;if(!(key in defaultOptions)&&!isBaseUriOption&&!isWorkerUrlOption){if(key in deprecatedOptions){probeLog.warn("".concat(loaderName," loader option '").concat(prefix).concat(key,"' no longer supported, use '").concat(deprecatedOptions[key],"'"))();}else if(!isSubOptions){var suggestion=findSimilarOption(key,loaders);probeLog.warn("".concat(loaderName," loader option '").concat(prefix).concat(key,"' not recognized. ").concat(suggestion))();}}}}function findSimilarOption(optionKey,loaders){var lowerCaseOptionKey=optionKey.toLowerCase();var bestSuggestion='';var _iterator8=_createForOfIteratorHelper(loaders),_step8;try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var loader=_step8.value;for(var key in loader.options){if(optionKey===key){return"Did you mean '".concat(loader.id,".").concat(key,"'?");}var lowerCaseKey=key.toLowerCase();var isPartialMatch=lowerCaseOptionKey.startsWith(lowerCaseKey)||lowerCaseKey.startsWith(lowerCaseOptionKey);if(isPartialMatch){bestSuggestion=bestSuggestion||"Did you mean '".concat(loader.id,".").concat(key,"'?");}}}}catch(err){_iterator8.e(err);}finally{_iterator8.f();}return bestSuggestion;}function normalizeOptionsInternal(loader,options,url){var loaderDefaultOptions=loader.options||{};var mergedOptions=_objectSpread({},loaderDefaultOptions);addUrlOptions(mergedOptions,url);if(mergedOptions.log===null){mergedOptions.log=new NullLog();}mergeNestedFields(mergedOptions,getGlobalLoaderOptions());mergeNestedFields(mergedOptions,options);return mergedOptions;}function mergeNestedFields(mergedOptions,options){for(var key in options){if(key in options){var value=options[key];if(isPureObject(value)&&isPureObject(mergedOptions[key])){mergedOptions[key]=_objectSpread(_objectSpread({},mergedOptions[key]),options[key]);}else{mergedOptions[key]=options[key];}}}}function addUrlOptions(options,url){if(url&&!('baseUri'in options)){options.baseUri=url;}}function isLoaderObject(loader){var _loader;if(!loader){return false;}if(Array.isArray(loader)){loader=loader[0];}var hasExtensions=Array.isArray((_loader=loader)===null||_loader===void 0?void 0:_loader.extensions);return hasExtensions;}function normalizeLoader(loader){var _loader2,_loader3;assert$5(loader,'null loader');assert$5(isLoaderObject(loader),'invalid loader');var options;if(Array.isArray(loader)){options=loader[1];loader=loader[0];loader=_objectSpread(_objectSpread({},loader),{},{options:_objectSpread(_objectSpread({},loader.options),options)});}if((_loader2=loader)!==null&&_loader2!==void 0&&_loader2.parseTextSync||(_loader3=loader)!==null&&_loader3!==void 0&&_loader3.parseText){loader.text=true;}if(!loader.text){loader.binary=true;}return loader;}var getGlobalLoaderRegistry=function getGlobalLoaderRegistry(){var state=getGlobalLoaderState();state.loaderRegistry=state.loaderRegistry||[];return state.loaderRegistry;};function getRegisteredLoaders(){return getGlobalLoaderRegistry();}function isElectron(mockUserAgent){if(typeof window!=='undefined'&&_typeof(window.process)==='object'&&window.process.type==='renderer'){return true;}if(typeof process!=='undefined'&&_typeof(process.versions)==='object'&&Boolean(process.versions.electron)){return true;}var realUserAgent=(typeof navigator==="undefined"?"undefined":_typeof(navigator))==='object'&&typeof navigator.userAgent==='string'&&navigator.userAgent;var userAgent=mockUserAgent||realUserAgent;if(userAgent&&userAgent.indexOf('Electron')>=0){return true;}return false;}function isBrowser(){var isNode=(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&String(process)==='[object process]'&&!process.browser;return!isNode||isElectron();}var globals={self:typeof self!=='undefined'&&self,window:typeof window!=='undefined'&&window,global:typeof global!=='undefined'&&global,document:typeof document!=='undefined'&&document,process:(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&process};var window_=globals.window||globals.self||globals.global;var process_=globals.process||{};var VERSION$6=typeof __VERSION__!=='undefined'?__VERSION__:'untranspiled source';isBrowser();function getStorage(type){try{var storage=window[type];var x='__storage_test__';storage.setItem(x,x);storage.removeItem(x);return storage;}catch(e){return null;}}var LocalStorage=/*#__PURE__*/function(){function LocalStorage(id){_classCallCheck(this,LocalStorage);var defaultSettings=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var type=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'sessionStorage';_defineProperty(this,"storage",void 0);_defineProperty(this,"id",void 0);_defineProperty(this,"config",{});this.storage=getStorage(type);this.id=id;this.config={};Object.assign(this.config,defaultSettings);this._loadConfiguration();}_createClass(LocalStorage,[{key:"getConfiguration",value:function getConfiguration(){return this.config;}},{key:"setConfiguration",value:function setConfiguration(configuration){this.config={};return this.updateConfiguration(configuration);}},{key:"updateConfiguration",value:function updateConfiguration(configuration){Object.assign(this.config,configuration);if(this.storage){var serialized=JSON.stringify(this.config);this.storage.setItem(this.id,serialized);}return this;}},{key:"_loadConfiguration",value:function _loadConfiguration(){var configuration={};if(this.storage){var serializedConfiguration=this.storage.getItem(this.id);configuration=serializedConfiguration?JSON.parse(serializedConfiguration):{};}Object.assign(this.config,configuration);return this;}}]);return LocalStorage;}();function formatTime(ms){var formatted;if(ms<10){formatted="".concat(ms.toFixed(2),"ms");}else if(ms<100){formatted="".concat(ms.toFixed(1),"ms");}else if(ms<1000){formatted="".concat(ms.toFixed(0),"ms");}else{formatted="".concat((ms/1000).toFixed(2),"s");}return formatted;}function leftPad(string){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:8;var padLength=Math.max(length-string.length,0);return"".concat(' '.repeat(padLength)).concat(string);}function formatImage(image,message,scale){var maxWidth=arguments.length>3&&arguments[3]!==undefined?arguments[3]:600;var imageUrl=image.src.replace(/\(/g,'%28').replace(/\)/g,'%29');if(image.width>maxWidth){scale=Math.min(scale,maxWidth/image.width);}var width=image.width*scale;var height=image.height*scale;var style=['font-size:1px;',"padding:".concat(Math.floor(height/2),"px ").concat(Math.floor(width/2),"px;"),"line-height:".concat(height,"px;"),"background:url(".concat(imageUrl,");"),"background-size:".concat(width,"px ").concat(height,"px;"),'color:transparent;'].join('');return["".concat(message," %c+"),style];}var COLOR;(function(COLOR){COLOR[COLOR["BLACK"]=30]="BLACK";COLOR[COLOR["RED"]=31]="RED";COLOR[COLOR["GREEN"]=32]="GREEN";COLOR[COLOR["YELLOW"]=33]="YELLOW";COLOR[COLOR["BLUE"]=34]="BLUE";COLOR[COLOR["MAGENTA"]=35]="MAGENTA";COLOR[COLOR["CYAN"]=36]="CYAN";COLOR[COLOR["WHITE"]=37]="WHITE";COLOR[COLOR["BRIGHT_BLACK"]=90]="BRIGHT_BLACK";COLOR[COLOR["BRIGHT_RED"]=91]="BRIGHT_RED";COLOR[COLOR["BRIGHT_GREEN"]=92]="BRIGHT_GREEN";COLOR[COLOR["BRIGHT_YELLOW"]=93]="BRIGHT_YELLOW";COLOR[COLOR["BRIGHT_BLUE"]=94]="BRIGHT_BLUE";COLOR[COLOR["BRIGHT_MAGENTA"]=95]="BRIGHT_MAGENTA";COLOR[COLOR["BRIGHT_CYAN"]=96]="BRIGHT_CYAN";COLOR[COLOR["BRIGHT_WHITE"]=97]="BRIGHT_WHITE";})(COLOR||(COLOR={}));function getColor(color){return typeof color==='string'?COLOR[color.toUpperCase()]||COLOR.WHITE:color;}function addColor(string,color,background){if(!isBrowser&&typeof string==='string'){if(color){color=getColor(color);string="\x1B[".concat(color,"m").concat(string,"\x1B[39m");}if(background){color=getColor(background);string="\x1B[".concat(background+10,"m").concat(string,"\x1B[49m");}}return string;}function autobind(obj){var predefined=arguments.length>1&&arguments[1]!==undefined?arguments[1]:['constructor'];var proto=Object.getPrototypeOf(obj);var propNames=Object.getOwnPropertyNames(proto);var _iterator9=_createForOfIteratorHelper(propNames),_step9;try{var _loop6=function _loop6(){var key=_step9.value;if(typeof obj[key]==='function'){if(!predefined.find(function(name){return key===name;})){obj[key]=obj[key].bind(obj);}}};for(_iterator9.s();!(_step9=_iterator9.n()).done;){_loop6();}}catch(err){_iterator9.e(err);}finally{_iterator9.f();}}function assert$2(condition,message){if(!condition){throw new Error(message||'Assertion failed');}}function getHiResTimestamp(){var timestamp;if(isBrowser&&'performance'in window_){var _window$performance,_window$performance$n;timestamp=window_===null||window_===void 0?void 0:(_window$performance=window_.performance)===null||_window$performance===void 0?void 0:(_window$performance$n=_window$performance.now)===null||_window$performance$n===void 0?void 0:_window$performance$n.call(_window$performance);}else if('hrtime'in process_){var _process$hrtime;var timeParts=process_===null||process_===void 0?void 0:(_process$hrtime=process_.hrtime)===null||_process$hrtime===void 0?void 0:_process$hrtime.call(process_);timestamp=timeParts[0]*1000+timeParts[1]/1e6;}else{timestamp=Date.now();}return timestamp;}var originalConsole={debug:isBrowser?console.debug||console.log:console.log,log:console.log,info:console.info,warn:console.warn,error:console.error};var DEFAULT_SETTINGS={enabled:true,level:0};function noop(){}var cache={};var ONCE={once:true};var Log=/*#__PURE__*/function(){function Log(){_classCallCheck(this,Log);var _ref18=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{id:''},id=_ref18.id;_defineProperty(this,"id",void 0);_defineProperty(this,"VERSION",VERSION$6);_defineProperty(this,"_startTs",getHiResTimestamp());_defineProperty(this,"_deltaTs",getHiResTimestamp());_defineProperty(this,"_storage",void 0);_defineProperty(this,"userData",{});_defineProperty(this,"LOG_THROTTLE_TIMEOUT",0);this.id=id;this._storage=new LocalStorage("__probe-".concat(this.id,"__"),DEFAULT_SETTINGS);this.userData={};this.timeStamp("".concat(this.id," started"));autobind(this);Object.seal(this);}_createClass(Log,[{key:"level",get:function get(){return this.getLevel();},set:function set(newLevel){this.setLevel(newLevel);}},{key:"isEnabled",value:function isEnabled(){return this._storage.config.enabled;}},{key:"getLevel",value:function getLevel(){return this._storage.config.level;}},{key:"getTotal",value:function getTotal(){return Number((getHiResTimestamp()-this._startTs).toPrecision(10));}},{key:"getDelta",value:function getDelta(){return Number((getHiResTimestamp()-this._deltaTs).toPrecision(10));}},{key:"priority",get:function get(){return this.level;},set:function set(newPriority){this.level=newPriority;}},{key:"getPriority",value:function getPriority(){return this.level;}},{key:"enable",value:function enable(){var enabled=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;this._storage.updateConfiguration({enabled:enabled});return this;}},{key:"setLevel",value:function setLevel(level){this._storage.updateConfiguration({level:level});return this;}},{key:"get",value:function get(setting){return this._storage.config[setting];}},{key:"set",value:function set(setting,value){this._storage.updateConfiguration(_defineProperty2({},setting,value));}},{key:"settings",value:function settings(){if(console.table){console.table(this._storage.config);}else{console.log(this._storage.config);}}},{key:"assert",value:function assert(condition,message){assert$2(condition,message);}},{key:"warn",value:function warn(message){return this._getLogFunction(0,message,originalConsole.warn,arguments,ONCE);}},{key:"error",value:function error(message){return this._getLogFunction(0,message,originalConsole.error,arguments);}},{key:"deprecated",value:function deprecated(oldUsage,newUsage){return this.warn("`".concat(oldUsage,"` is deprecated and will be removed in a later version. Use `").concat(newUsage,"` instead"));}},{key:"removed",value:function removed(oldUsage,newUsage){return this.error("`".concat(oldUsage,"` has been removed. Use `").concat(newUsage,"` instead"));}},{key:"probe",value:function probe(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.log,arguments,{time:true,once:true});}},{key:"log",value:function log(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.debug,arguments);}},{key:"info",value:function info(logLevel,message){return this._getLogFunction(logLevel,message,console.info,arguments);}},{key:"once",value:function once(logLevel,message){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];}return this._getLogFunction(logLevel,message,originalConsole.debug||originalConsole.info,arguments,ONCE);}},{key:"table",value:function table(logLevel,_table2,columns){if(_table2){return this._getLogFunction(logLevel,_table2,console.table||noop,columns&&[columns],{tag:getTableHeader(_table2)});}return noop;}},{key:"image",value:function image(_ref){var logLevel=_ref.logLevel,priority=_ref.priority,image=_ref.image,_ref$message=_ref.message,message=_ref$message===void 0?'':_ref$message,_ref$scale=_ref.scale,scale=_ref$scale===void 0?1:_ref$scale;if(!this._shouldLog(logLevel||priority)){return noop;}return isBrowser?logImageInBrowser({image:image,message:message,scale:scale}):logImageInNode({image:image,message:message,scale:scale});}},{key:"time",value:function time(logLevel,message){return this._getLogFunction(logLevel,message,console.time?console.time:console.info);}},{key:"timeEnd",value:function timeEnd(logLevel,message){return this._getLogFunction(logLevel,message,console.timeEnd?console.timeEnd:console.info);}},{key:"timeStamp",value:function timeStamp(logLevel,message){return this._getLogFunction(logLevel,message,console.timeStamp||noop);}},{key:"group",value:function group(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{collapsed:false};var options=normalizeArguments({logLevel:logLevel,message:message,opts:opts});var collapsed=opts.collapsed;options.method=(collapsed?console.groupCollapsed:console.group)||console.info;return this._getLogFunction(options);}},{key:"groupCollapsed",value:function groupCollapsed(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.group(logLevel,message,Object.assign({},opts,{collapsed:true}));}},{key:"groupEnd",value:function groupEnd(logLevel){return this._getLogFunction(logLevel,'',console.groupEnd||noop);}},{key:"withGroup",value:function withGroup(logLevel,message,func){this.group(logLevel,message)();try{func();}finally{this.groupEnd(logLevel)();}}},{key:"trace",value:function trace(){if(console.trace){console.trace();}}},{key:"_shouldLog",value:function _shouldLog(logLevel){return this.isEnabled()&&this.getLevel()>=normalizeLogLevel(logLevel);}},{key:"_getLogFunction",value:function _getLogFunction(logLevel,message,method,args,opts){if(this._shouldLog(logLevel)){var _method2;opts=normalizeArguments({logLevel:logLevel,message:message,args:args,opts:opts});method=method||opts.method;assert$2(method);opts.total=this.getTotal();opts.delta=this.getDelta();this._deltaTs=getHiResTimestamp();var tag=opts.tag||opts.message;if(opts.once){if(!cache[tag]){cache[tag]=getHiResTimestamp();}else{return noop;}}message=decorateMessage(this.id,opts.message,opts);return(_method2=method).bind.apply(_method2,[console,message].concat(_toConsumableArray(opts.args)));}return noop;}}]);return Log;}();_defineProperty(Log,"VERSION",VERSION$6);function normalizeLogLevel(logLevel){if(!logLevel){return 0;}var resolvedLevel;switch(_typeof(logLevel)){case'number':resolvedLevel=logLevel;break;case'object':resolvedLevel=logLevel.logLevel||logLevel.priority||0;break;default:return 0;}assert$2(Number.isFinite(resolvedLevel)&&resolvedLevel>=0);return resolvedLevel;}function normalizeArguments(opts){var logLevel=opts.logLevel,message=opts.message;opts.logLevel=normalizeLogLevel(logLevel);var args=opts.args?Array.from(opts.args):[];while(args.length&&args.shift()!==message){}switch(_typeof(logLevel)){case'string':case'function':if(message!==undefined){args.unshift(message);}opts.message=logLevel;break;case'object':Object.assign(opts,logLevel);break;}if(typeof opts.message==='function'){opts.message=opts.message();}var messageType=_typeof(opts.message);assert$2(messageType==='string'||messageType==='object');return Object.assign(opts,{args:args},opts.opts);}function decorateMessage(id,message,opts){if(typeof message==='string'){var time=opts.time?leftPad(formatTime(opts.total)):'';message=opts.time?"".concat(id,": ").concat(time," ").concat(message):"".concat(id,": ").concat(message);message=addColor(message,opts.color,opts.background);}return message;}function logImageInNode(_ref2){var image=_ref2.image,_ref2$message=_ref2.message,message=_ref2$message===void 0?'':_ref2$message,_ref2$scale=_ref2.scale,scale=_ref2$scale===void 0?1:_ref2$scale;var asciify=null;try{asciify=module.require('asciify-image');}catch(error){}if(asciify){return function(){return asciify(image,{fit:'box',width:"".concat(Math.round(80*scale),"%")}).then(function(data){return console.log(data);});};}return noop;}function logImageInBrowser(_ref3){var image=_ref3.image,_ref3$message=_ref3.message,message=_ref3$message===void 0?'':_ref3$message,_ref3$scale=_ref3.scale,scale=_ref3$scale===void 0?1:_ref3$scale;if(typeof image==='string'){var img=new Image();img.onload=function(){var _console4;var args=formatImage(img,message,scale);(_console4=console).log.apply(_console4,_toConsumableArray(args));};img.src=image;return noop;}var element=image.nodeName||'';if(element.toLowerCase()==='img'){var _console5;(_console5=console).log.apply(_console5,_toConsumableArray(formatImage(image,message,scale)));return noop;}if(element.toLowerCase()==='canvas'){var _img2=new Image();_img2.onload=function(){var _console6;return(_console6=console).log.apply(_console6,_toConsumableArray(formatImage(_img2,message,scale)));};_img2.src=image.toDataURL();return noop;}return noop;}function getTableHeader(table){for(var key in table){for(var title in table[key]){return title||'untitled';}}return'empty';}var log=new Log({id:'loaders.gl'});var EXT_PATTERN=/\.([^.]+)$/;function selectLoader(_x27){return _selectLoader.apply(this,arguments);}function _selectLoader(){_selectLoader=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee31(data){var loaders,options,context,loader,_args29=arguments;return _regeneratorRuntime().wrap(function _callee31$(_context34){while(1){switch(_context34.prev=_context34.next){case 0:loaders=_args29.length>1&&_args29[1]!==undefined?_args29[1]:[];options=_args29.length>2?_args29[2]:undefined;context=_args29.length>3?_args29[3]:undefined;if(validHTTPResponse(data)){_context34.next=5;break;}return _context34.abrupt("return",null);case 5:loader=selectLoaderSync(data,loaders,_objectSpread(_objectSpread({},options),{},{nothrow:true}),context);if(!loader){_context34.next=8;break;}return _context34.abrupt("return",loader);case 8:if(!isBlob(data)){_context34.next=13;break;}_context34.next=11;return data.slice(0,10).arrayBuffer();case 11:data=_context34.sent;loader=selectLoaderSync(data,loaders,options,context);case 13:if(!(!loader&&!(options!==null&&options!==void 0&&options.nothrow))){_context34.next=15;break;}throw new Error(getNoValidLoaderMessage(data));case 15:return _context34.abrupt("return",loader);case 16:case"end":return _context34.stop();}}},_callee31);}));return _selectLoader.apply(this,arguments);}function selectLoaderSync(data){var loaders=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var options=arguments.length>2?arguments[2]:undefined;var context=arguments.length>3?arguments[3]:undefined;if(!validHTTPResponse(data)){return null;}if(loaders&&!Array.isArray(loaders)){return normalizeLoader(loaders);}var candidateLoaders=[];if(loaders){candidateLoaders=candidateLoaders.concat(loaders);}if(!(options!==null&&options!==void 0&&options.ignoreRegisteredLoaders)){var _candidateLoaders;(_candidateLoaders=candidateLoaders).push.apply(_candidateLoaders,_toConsumableArray(getRegisteredLoaders()));}normalizeLoaders(candidateLoaders);var loader=selectLoaderInternal(data,candidateLoaders,options,context);if(!loader&&!(options!==null&&options!==void 0&&options.nothrow)){throw new Error(getNoValidLoaderMessage(data));}return loader;}function selectLoaderInternal(data,loaders,options,context){var _getResourceUrlAndTyp=getResourceUrlAndType(data),url=_getResourceUrlAndTyp.url,type=_getResourceUrlAndTyp.type;var testUrl=url||(context===null||context===void 0?void 0:context.url);var loader=null;var reason='';if(options!==null&&options!==void 0&&options.mimeType){loader=findLoaderByMIMEType(loaders,options===null||options===void 0?void 0:options.mimeType);reason="match forced by supplied MIME type ".concat(options===null||options===void 0?void 0:options.mimeType);}loader=loader||findLoaderByUrl(loaders,testUrl);reason=reason||(loader?"matched url ".concat(testUrl):'');loader=loader||findLoaderByMIMEType(loaders,type);reason=reason||(loader?"matched MIME type ".concat(type):'');loader=loader||findLoaderByInitialBytes(loaders,data);reason=reason||(loader?"matched initial data ".concat(getFirstCharacters(data)):'');loader=loader||findLoaderByMIMEType(loaders,options===null||options===void 0?void 0:options.fallbackMimeType);reason=reason||(loader?"matched fallback MIME type ".concat(type):'');if(reason){var _loader;log.log(1,"selectLoader selected ".concat((_loader=loader)===null||_loader===void 0?void 0:_loader.name,": ").concat(reason,"."));}return loader;}function validHTTPResponse(data){if(data instanceof Response){if(data.status===204){return false;}}return true;}function getNoValidLoaderMessage(data){var _getResourceUrlAndTyp2=getResourceUrlAndType(data),url=_getResourceUrlAndTyp2.url,type=_getResourceUrlAndTyp2.type;var message='No valid loader found (';message+=url?"".concat(filename(url),", "):'no url provided, ';message+="MIME type: ".concat(type?"\"".concat(type,"\""):'not provided',", ");var firstCharacters=data?getFirstCharacters(data):'';message+=firstCharacters?" first bytes: \"".concat(firstCharacters,"\""):'first bytes: not available';message+=')';return message;}function normalizeLoaders(loaders){var _iterator10=_createForOfIteratorHelper(loaders),_step10;try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var loader=_step10.value;normalizeLoader(loader);}}catch(err){_iterator10.e(err);}finally{_iterator10.f();}}function findLoaderByUrl(loaders,url){var match=url&&EXT_PATTERN.exec(url);var extension=match&&match[1];return extension?findLoaderByExtension(loaders,extension):null;}function findLoaderByExtension(loaders,extension){extension=extension.toLowerCase();var _iterator11=_createForOfIteratorHelper(loaders),_step11;try{for(_iterator11.s();!(_step11=_iterator11.n()).done;){var loader=_step11.value;var _iterator12=_createForOfIteratorHelper(loader.extensions),_step12;try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var loaderExtension=_step12.value;if(loaderExtension.toLowerCase()===extension){return loader;}}}catch(err){_iterator12.e(err);}finally{_iterator12.f();}}}catch(err){_iterator11.e(err);}finally{_iterator11.f();}return null;}function findLoaderByMIMEType(loaders,mimeType){var _iterator13=_createForOfIteratorHelper(loaders),_step13;try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var loader=_step13.value;if(loader.mimeTypes&&loader.mimeTypes.includes(mimeType)){return loader;}if(mimeType==="application/x.".concat(loader.id)){return loader;}}}catch(err){_iterator13.e(err);}finally{_iterator13.f();}return null;}function findLoaderByInitialBytes(loaders,data){if(!data){return null;}var _iterator14=_createForOfIteratorHelper(loaders),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var loader=_step14.value;if(typeof data==='string'){if(testDataAgainstText(data,loader)){return loader;}}else if(ArrayBuffer.isView(data)){if(testDataAgainstBinary(data.buffer,data.byteOffset,loader)){return loader;}}else if(data instanceof ArrayBuffer){var byteOffset=0;if(testDataAgainstBinary(data,byteOffset,loader)){return loader;}}}}catch(err){_iterator14.e(err);}finally{_iterator14.f();}return null;}function testDataAgainstText(data,loader){if(loader.testText){return loader.testText(data);}var tests=Array.isArray(loader.tests)?loader.tests:[loader.tests];return tests.some(function(test){return data.startsWith(test);});}function testDataAgainstBinary(data,byteOffset,loader){var tests=Array.isArray(loader.tests)?loader.tests:[loader.tests];return tests.some(function(test){return testBinary(data,byteOffset,loader,test);});}function testBinary(data,byteOffset,loader,test){if(test instanceof ArrayBuffer){return compareArrayBuffers(test,data,test.byteLength);}switch(_typeof(test)){case'function':return test(data,loader);case'string':var magic=getMagicString$1(data,byteOffset,test.length);return test===magic;default:return false;}}function getFirstCharacters(data){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:5;if(typeof data==='string'){return data.slice(0,length);}else if(ArrayBuffer.isView(data)){return getMagicString$1(data.buffer,data.byteOffset,length);}else if(data instanceof ArrayBuffer){var byteOffset=0;return getMagicString$1(data,byteOffset,length);}return'';}function getMagicString$1(arrayBuffer,byteOffset,length){if(arrayBuffer.byteLength<byteOffset+length){return'';}var dataView=new DataView(arrayBuffer);var magic='';for(var _i544=0;_i544<length;_i544++){magic+=String.fromCharCode(dataView.getUint8(byteOffset+_i544));}return magic;}var DEFAULT_CHUNK_SIZE$2=256*1024;function makeStringIterator(string,options){var chunkSize,offset,textEncoder,chunkLength,chunk;return _regeneratorRuntime().wrap(function makeStringIterator$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:chunkSize=(options===null||options===void 0?void 0:options.chunkSize)||DEFAULT_CHUNK_SIZE$2;offset=0;textEncoder=new TextEncoder();case 3:if(!(offset<string.length)){_context3.next=11;break;}chunkLength=Math.min(string.length-offset,chunkSize);chunk=string.slice(offset,offset+chunkLength);offset+=chunkLength;_context3.next=9;return textEncoder.encode(chunk);case 9:_context3.next=3;break;case 11:case"end":return _context3.stop();}}},_marked);}var DEFAULT_CHUNK_SIZE$1=256*1024;function makeArrayBufferIterator(arrayBuffer){var options,_options$chunkSize,chunkSize,byteOffset,chunkByteLength,chunk,sourceArray,chunkArray,_args4=arguments;return _regeneratorRuntime().wrap(function makeArrayBufferIterator$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:options=_args4.length>1&&_args4[1]!==undefined?_args4[1]:{};_options$chunkSize=options.chunkSize,chunkSize=_options$chunkSize===void 0?DEFAULT_CHUNK_SIZE$1:_options$chunkSize;byteOffset=0;case 3:if(!(byteOffset<arrayBuffer.byteLength)){_context4.next=14;break;}chunkByteLength=Math.min(arrayBuffer.byteLength-byteOffset,chunkSize);chunk=new ArrayBuffer(chunkByteLength);sourceArray=new Uint8Array(arrayBuffer,byteOffset,chunkByteLength);chunkArray=new Uint8Array(chunk);chunkArray.set(sourceArray);byteOffset+=chunkByteLength;_context4.next=12;return chunk;case 12:_context4.next=3;break;case 14:case"end":return _context4.stop();}}},_marked2);}var DEFAULT_CHUNK_SIZE=1024*1024;function makeBlobIterator(_x,_x2){return _makeBlobIterator.apply(this,arguments);}function _makeBlobIterator(){_makeBlobIterator=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(blob,options){var chunkSize,offset,end,chunk;return _regeneratorRuntime().wrap(function _callee3$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:chunkSize=(options===null||options===void 0?void 0:options.chunkSize)||DEFAULT_CHUNK_SIZE;offset=0;case 2:if(!(offset<blob.size)){_context5.next=12;break;}end=offset+chunkSize;_context5.next=6;return _awaitAsyncGenerator(blob.slice(offset,end).arrayBuffer());case 6:chunk=_context5.sent;offset=end;_context5.next=10;return chunk;case 10:_context5.next=2;break;case 12:case"end":return _context5.stop();}}},_callee3);}));return _makeBlobIterator.apply(this,arguments);}function makeStreamIterator(stream,options){return isBrowser$4?makeBrowserStreamIterator(stream,options):makeNodeStreamIterator(stream);}function makeBrowserStreamIterator(_x3,_x4){return _makeBrowserStreamIterator.apply(this,arguments);}function _makeBrowserStreamIterator(){_makeBrowserStreamIterator=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(stream,options){var reader,nextBatchPromise,currentBatchPromise,_yield$_awaitAsyncGen,done,value;return _regeneratorRuntime().wrap(function _callee4$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:reader=stream.getReader();_context6.prev=1;case 2:if(!true){_context6.next=16;break;}currentBatchPromise=nextBatchPromise||reader.read();if(options!==null&&options!==void 0&&options._streamReadAhead){nextBatchPromise=reader.read();}_context6.next=7;return _awaitAsyncGenerator(currentBatchPromise);case 7:_yield$_awaitAsyncGen=_context6.sent;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context6.next=12;break;}return _context6.abrupt("return");case 12:_context6.next=14;return toArrayBuffer(value);case 14:_context6.next=2;break;case 16:_context6.next=21;break;case 18:_context6.prev=18;_context6.t0=_context6["catch"](1);reader.releaseLock();case 21:case"end":return _context6.stop();}}},_callee4,null,[[1,18]]);}));return _makeBrowserStreamIterator.apply(this,arguments);}function makeNodeStreamIterator(_x5,_x6){return _makeNodeStreamIterator.apply(this,arguments);}function _makeNodeStreamIterator(){_makeNodeStreamIterator=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(stream,options){var _iteratorAbruptCompletion2,_didIteratorError2,_iteratorError2,_iterator2,_step2,chunk;return _regeneratorRuntime().wrap(function _callee5$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_iteratorAbruptCompletion2=false;_didIteratorError2=false;_context7.prev=2;_iterator2=_asyncIterator(stream);case 4:_context7.next=6;return _awaitAsyncGenerator(_iterator2.next());case 6:if(!(_iteratorAbruptCompletion2=!(_step2=_context7.sent).done)){_context7.next=13;break;}chunk=_step2.value;_context7.next=10;return toArrayBuffer(chunk);case 10:_iteratorAbruptCompletion2=false;_context7.next=4;break;case 13:_context7.next=19;break;case 15:_context7.prev=15;_context7.t0=_context7["catch"](2);_didIteratorError2=true;_iteratorError2=_context7.t0;case 19:_context7.prev=19;_context7.prev=20;if(!(_iteratorAbruptCompletion2&&_iterator2["return"]!=null)){_context7.next=24;break;}_context7.next=24;return _awaitAsyncGenerator(_iterator2["return"]());case 24:_context7.prev=24;if(!_didIteratorError2){_context7.next=27;break;}throw _iteratorError2;case 27:return _context7.finish(24);case 28:return _context7.finish(19);case 29:case"end":return _context7.stop();}}},_callee5,null,[[2,15,19,29],[20,,24,28]]);}));return _makeNodeStreamIterator.apply(this,arguments);}function makeIterator(data,options){if(typeof data==='string'){return makeStringIterator(data,options);}if(data instanceof ArrayBuffer){return makeArrayBufferIterator(data,options);}if(isBlob(data)){return makeBlobIterator(data,options);}if(isReadableStream(data)){return makeStreamIterator(data,options);}if(isResponse(data)){var response=data;return makeStreamIterator(response.body,options);}throw new Error('makeIterator');}var ERR_DATA='Cannot convert supplied data type';function getArrayBufferOrStringFromDataSync(data,loader,options){if(loader.text&&typeof data==='string'){return data;}if(isBuffer(data)){data=data.buffer;}if(data instanceof ArrayBuffer){var arrayBuffer=data;if(loader.text&&!loader.binary){var textDecoder=new TextDecoder('utf8');return textDecoder.decode(arrayBuffer);}return arrayBuffer;}if(ArrayBuffer.isView(data)){if(loader.text&&!loader.binary){var _textDecoder=new TextDecoder('utf8');return _textDecoder.decode(data);}var _arrayBuffer=data.buffer;var byteLength=data.byteLength||data.length;if(data.byteOffset!==0||byteLength!==_arrayBuffer.byteLength){_arrayBuffer=_arrayBuffer.slice(data.byteOffset,data.byteOffset+byteLength);}return _arrayBuffer;}throw new Error(ERR_DATA);}function getArrayBufferOrStringFromData(_x28,_x29,_x30){return _getArrayBufferOrStringFromData.apply(this,arguments);}function _getArrayBufferOrStringFromData(){_getArrayBufferOrStringFromData=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee32(data,loader,options){var isArrayBuffer,response;return _regeneratorRuntime().wrap(function _callee32$(_context35){while(1){switch(_context35.prev=_context35.next){case 0:isArrayBuffer=data instanceof ArrayBuffer||ArrayBuffer.isView(data);if(!(typeof data==='string'||isArrayBuffer)){_context35.next=3;break;}return _context35.abrupt("return",getArrayBufferOrStringFromDataSync(data,loader));case 3:if(!isBlob(data)){_context35.next=7;break;}_context35.next=6;return makeResponse(data);case 6:data=_context35.sent;case 7:if(!isResponse(data)){_context35.next=21;break;}response=data;_context35.next=11;return checkResponse(response);case 11:if(!loader.binary){_context35.next=17;break;}_context35.next=14;return response.arrayBuffer();case 14:_context35.t0=_context35.sent;_context35.next=20;break;case 17:_context35.next=19;return response.text();case 19:_context35.t0=_context35.sent;case 20:return _context35.abrupt("return",_context35.t0);case 21:if(isReadableStream(data)){data=makeIterator(data,options);}if(!(isIterable(data)||isAsyncIterable(data))){_context35.next=24;break;}return _context35.abrupt("return",concatenateArrayBuffersAsync(data));case 24:throw new Error(ERR_DATA);case 25:case"end":return _context35.stop();}}},_callee32);}));return _getArrayBufferOrStringFromData.apply(this,arguments);}function getLoaderContext(context,options){var previousContext=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;if(previousContext){return previousContext;}var resolvedContext=_objectSpread({fetch:getFetchFunction(options,context)},context);if(!Array.isArray(resolvedContext.loaders)){resolvedContext.loaders=null;}return resolvedContext;}function getLoadersFromContext(loaders,context){if(!context&&loaders&&!Array.isArray(loaders)){return loaders;}var candidateLoaders;if(loaders){candidateLoaders=Array.isArray(loaders)?loaders:[loaders];}if(context&&context.loaders){var contextLoaders=Array.isArray(context.loaders)?context.loaders:[context.loaders];candidateLoaders=candidateLoaders?[].concat(_toConsumableArray(candidateLoaders),_toConsumableArray(contextLoaders)):contextLoaders;}return candidateLoaders&&candidateLoaders.length?candidateLoaders:null;}function parse$3(_x31,_x32,_x33,_x34){return _parse$.apply(this,arguments);}function _parse$(){_parse$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee33(data,loaders,options,context){var _getResourceUrlAndTyp4,url,typedLoaders,candidateLoaders,loader;return _regeneratorRuntime().wrap(function _callee33$(_context36){while(1){switch(_context36.prev=_context36.next){case 0:assert$4(!context||_typeof(context)==='object');if(loaders&&!Array.isArray(loaders)&&!isLoaderObject(loaders)){context=undefined;options=loaders;loaders=undefined;}_context36.next=4;return data;case 4:data=_context36.sent;options=options||{};_getResourceUrlAndTyp4=getResourceUrlAndType(data),url=_getResourceUrlAndTyp4.url;typedLoaders=loaders;candidateLoaders=getLoadersFromContext(typedLoaders,context);_context36.next=11;return selectLoader(data,candidateLoaders,options);case 11:loader=_context36.sent;if(loader){_context36.next=14;break;}return _context36.abrupt("return",null);case 14:options=normalizeOptions(options,loader,candidateLoaders,url);context=getLoaderContext({url:url,parse:parse$3,loaders:candidateLoaders},options,context);_context36.next=18;return parseWithLoader(loader,data,options,context);case 18:return _context36.abrupt("return",_context36.sent);case 19:case"end":return _context36.stop();}}},_callee33);}));return _parse$.apply(this,arguments);}function parseWithLoader(_x35,_x36,_x37,_x38){return _parseWithLoader.apply(this,arguments);}function _parseWithLoader(){_parseWithLoader=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee34(loader,data,options,context){var response,ok,redirected,status,statusText,type,url,headers;return _regeneratorRuntime().wrap(function _callee34$(_context37){while(1){switch(_context37.prev=_context37.next){case 0:validateWorkerVersion(loader);if(isResponse(data)){response=data;ok=response.ok,redirected=response.redirected,status=response.status,statusText=response.statusText,type=response.type,url=response.url;headers=Object.fromEntries(response.headers.entries());context.response={headers:headers,ok:ok,redirected:redirected,status:status,statusText:statusText,type:type,url:url};}_context37.next=4;return getArrayBufferOrStringFromData(data,loader,options);case 4:data=_context37.sent;if(!(loader.parseTextSync&&typeof data==='string')){_context37.next=8;break;}options.dataType='text';return _context37.abrupt("return",loader.parseTextSync(data,options,context,loader));case 8:if(!canParseWithWorker(loader,options)){_context37.next=12;break;}_context37.next=11;return parseWithWorker(loader,data,options,context,parse$3);case 11:return _context37.abrupt("return",_context37.sent);case 12:if(!(loader.parseText&&typeof data==='string')){_context37.next=16;break;}_context37.next=15;return loader.parseText(data,options,context,loader);case 15:return _context37.abrupt("return",_context37.sent);case 16:if(!loader.parse){_context37.next=20;break;}_context37.next=19;return loader.parse(data,options,context,loader);case 19:return _context37.abrupt("return",_context37.sent);case 20:assert$4(!loader.parseSync);throw new Error("".concat(loader.id," loader - no parser found and worker is disabled"));case 22:case"end":return _context37.stop();}}},_callee34);}));return _parseWithLoader.apply(this,arguments);}var VERSION$5="3.2.6";var VERSION$4="3.2.6";var VERSION$3="3.2.6";var BASIS_CDN_ENCODER_WASM="https://unpkg.com/@loaders.gl/textures@".concat(VERSION$3,"/dist/libs/basis_encoder.wasm");var BASIS_CDN_ENCODER_JS="https://unpkg.com/@loaders.gl/textures@".concat(VERSION$3,"/dist/libs/basis_encoder.js");var loadBasisTranscoderPromise;function loadBasisTrascoderModule(_x39){return _loadBasisTrascoderModule.apply(this,arguments);}function _loadBasisTrascoderModule(){_loadBasisTrascoderModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee35(options){var modules;return _regeneratorRuntime().wrap(function _callee35$(_context38){while(1){switch(_context38.prev=_context38.next){case 0:modules=options.modules||{};if(!modules.basis){_context38.next=3;break;}return _context38.abrupt("return",modules.basis);case 3:loadBasisTranscoderPromise=loadBasisTranscoderPromise||loadBasisTrascoder(options);_context38.next=6;return loadBasisTranscoderPromise;case 6:return _context38.abrupt("return",_context38.sent);case 7:case"end":return _context38.stop();}}},_callee35);}));return _loadBasisTrascoderModule.apply(this,arguments);}function loadBasisTrascoder(_x40){return _loadBasisTrascoder.apply(this,arguments);}function _loadBasisTrascoder(){_loadBasisTrascoder=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee36(options){var BASIS,wasmBinary,_yield$Promise$all,_yield$Promise$all2;return _regeneratorRuntime().wrap(function _callee36$(_context39){while(1){switch(_context39.prev=_context39.next){case 0:BASIS=null;wasmBinary=null;_context39.t0=Promise;_context39.next=5;return loadLibrary('basis_transcoder.js','textures',options);case 5:_context39.t1=_context39.sent;_context39.next=8;return loadLibrary('basis_transcoder.wasm','textures',options);case 8:_context39.t2=_context39.sent;_context39.t3=[_context39.t1,_context39.t2];_context39.next=12;return _context39.t0.all.call(_context39.t0,_context39.t3);case 12:_yield$Promise$all=_context39.sent;_yield$Promise$all2=_slicedToArray(_yield$Promise$all,2);BASIS=_yield$Promise$all2[0];wasmBinary=_yield$Promise$all2[1];BASIS=BASIS||globalThis.BASIS;_context39.next=19;return initializeBasisTrascoderModule(BASIS,wasmBinary);case 19:return _context39.abrupt("return",_context39.sent);case 20:case"end":return _context39.stop();}}},_callee36);}));return _loadBasisTrascoder.apply(this,arguments);}function initializeBasisTrascoderModule(BasisModule,wasmBinary){var options={};if(wasmBinary){options.wasmBinary=wasmBinary;}return new Promise(function(resolve){BasisModule(options).then(function(module){var BasisFile=module.BasisFile,initializeBasis=module.initializeBasis;initializeBasis();resolve({BasisFile:BasisFile});});});}var loadBasisEncoderPromise;function loadBasisEncoderModule(_x41){return _loadBasisEncoderModule.apply(this,arguments);}function _loadBasisEncoderModule(){_loadBasisEncoderModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee37(options){var modules;return _regeneratorRuntime().wrap(function _callee37$(_context40){while(1){switch(_context40.prev=_context40.next){case 0:modules=options.modules||{};if(!modules.basisEncoder){_context40.next=3;break;}return _context40.abrupt("return",modules.basisEncoder);case 3:loadBasisEncoderPromise=loadBasisEncoderPromise||loadBasisEncoder(options);_context40.next=6;return loadBasisEncoderPromise;case 6:return _context40.abrupt("return",_context40.sent);case 7:case"end":return _context40.stop();}}},_callee37);}));return _loadBasisEncoderModule.apply(this,arguments);}function loadBasisEncoder(_x42){return _loadBasisEncoder.apply(this,arguments);}function _loadBasisEncoder(){_loadBasisEncoder=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee38(options){var BASIS_ENCODER,wasmBinary,_yield$Promise$all3,_yield$Promise$all4;return _regeneratorRuntime().wrap(function _callee38$(_context41){while(1){switch(_context41.prev=_context41.next){case 0:BASIS_ENCODER=null;wasmBinary=null;_context41.t0=Promise;_context41.next=5;return loadLibrary(BASIS_CDN_ENCODER_JS,'textures',options);case 5:_context41.t1=_context41.sent;_context41.next=8;return loadLibrary(BASIS_CDN_ENCODER_WASM,'textures',options);case 8:_context41.t2=_context41.sent;_context41.t3=[_context41.t1,_context41.t2];_context41.next=12;return _context41.t0.all.call(_context41.t0,_context41.t3);case 12:_yield$Promise$all3=_context41.sent;_yield$Promise$all4=_slicedToArray(_yield$Promise$all3,2);BASIS_ENCODER=_yield$Promise$all4[0];wasmBinary=_yield$Promise$all4[1];BASIS_ENCODER=BASIS_ENCODER||globalThis.BASIS;_context41.next=19;return initializeBasisEncoderModule(BASIS_ENCODER,wasmBinary);case 19:return _context41.abrupt("return",_context41.sent);case 20:case"end":return _context41.stop();}}},_callee38);}));return _loadBasisEncoder.apply(this,arguments);}function initializeBasisEncoderModule(BasisEncoderModule,wasmBinary){var options={};if(wasmBinary){options.wasmBinary=wasmBinary;}return new Promise(function(resolve){BasisEncoderModule(options).then(function(module){var BasisFile=module.BasisFile,KTX2File=module.KTX2File,initializeBasis=module.initializeBasis,BasisEncoder=module.BasisEncoder;initializeBasis();resolve({BasisFile:BasisFile,KTX2File:KTX2File,BasisEncoder:BasisEncoder});});});}var GL_EXTENSIONS_CONSTANTS={COMPRESSED_RGB_S3TC_DXT1_EXT:0x83f0,COMPRESSED_RGBA_S3TC_DXT1_EXT:0x83f1,COMPRESSED_RGBA_S3TC_DXT3_EXT:0x83f2,COMPRESSED_RGBA_S3TC_DXT5_EXT:0x83f3,COMPRESSED_R11_EAC:0x9270,COMPRESSED_SIGNED_R11_EAC:0x9271,COMPRESSED_RG11_EAC:0x9272,COMPRESSED_SIGNED_RG11_EAC:0x9273,COMPRESSED_RGB8_ETC2:0x9274,COMPRESSED_RGBA8_ETC2_EAC:0x9275,COMPRESSED_SRGB8_ETC2:0x9276,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:0x9277,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:0x9278,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:0x9279,COMPRESSED_RGB_PVRTC_4BPPV1_IMG:0x8c00,COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:0x8c02,COMPRESSED_RGB_PVRTC_2BPPV1_IMG:0x8c01,COMPRESSED_RGBA_PVRTC_2BPPV1_IMG:0x8c03,COMPRESSED_RGB_ETC1_WEBGL:0x8d64,COMPRESSED_RGB_ATC_WEBGL:0x8c92,COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:0x8c93,COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL:0x87ee,COMPRESSED_RGBA_ASTC_4X4_KHR:0x93b0,COMPRESSED_RGBA_ASTC_5X4_KHR:0x93b1,COMPRESSED_RGBA_ASTC_5X5_KHR:0x93b2,COMPRESSED_RGBA_ASTC_6X5_KHR:0x93b3,COMPRESSED_RGBA_ASTC_6X6_KHR:0x93b4,COMPRESSED_RGBA_ASTC_8X5_KHR:0x93b5,COMPRESSED_RGBA_ASTC_8X6_KHR:0x93b6,COMPRESSED_RGBA_ASTC_8X8_KHR:0x93b7,COMPRESSED_RGBA_ASTC_10X5_KHR:0x93b8,COMPRESSED_RGBA_ASTC_10X6_KHR:0x93b9,COMPRESSED_RGBA_ASTC_10X8_KHR:0x93ba,COMPRESSED_RGBA_ASTC_10X10_KHR:0x93bb,COMPRESSED_RGBA_ASTC_12X10_KHR:0x93bc,COMPRESSED_RGBA_ASTC_12X12_KHR:0x93bd,COMPRESSED_SRGB8_ALPHA8_ASTC_4X4_KHR:0x93d0,COMPRESSED_SRGB8_ALPHA8_ASTC_5X4_KHR:0x93d1,COMPRESSED_SRGB8_ALPHA8_ASTC_5X5_KHR:0x93d2,COMPRESSED_SRGB8_ALPHA8_ASTC_6X5_KHR:0x93d3,COMPRESSED_SRGB8_ALPHA8_ASTC_6X6_KHR:0x93d4,COMPRESSED_SRGB8_ALPHA8_ASTC_8X5_KHR:0x93d5,COMPRESSED_SRGB8_ALPHA8_ASTC_8X6_KHR:0x93d6,COMPRESSED_SRGB8_ALPHA8_ASTC_8X8_KHR:0x93d7,COMPRESSED_SRGB8_ALPHA8_ASTC_10X5_KHR:0x93d8,COMPRESSED_SRGB8_ALPHA8_ASTC_10X6_KHR:0x93d9,COMPRESSED_SRGB8_ALPHA8_ASTC_10X8_KHR:0x93da,COMPRESSED_SRGB8_ALPHA8_ASTC_10X10_KHR:0x93db,COMPRESSED_SRGB8_ALPHA8_ASTC_12X10_KHR:0x93dc,COMPRESSED_SRGB8_ALPHA8_ASTC_12X12_KHR:0x93dd,COMPRESSED_RED_RGTC1_EXT:0x8dbb,COMPRESSED_SIGNED_RED_RGTC1_EXT:0x8dbc,COMPRESSED_RED_GREEN_RGTC2_EXT:0x8dbd,COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT:0x8dbe,COMPRESSED_SRGB_S3TC_DXT1_EXT:0x8c4c,COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT:0x8c4d,COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT:0x8c4e,COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT:0x8c4f};var BROWSER_PREFIXES=['','WEBKIT_','MOZ_'];var WEBGL_EXTENSIONS={WEBGL_compressed_texture_s3tc:'dxt',WEBGL_compressed_texture_s3tc_srgb:'dxt-srgb',WEBGL_compressed_texture_etc1:'etc1',WEBGL_compressed_texture_etc:'etc2',WEBGL_compressed_texture_pvrtc:'pvrtc',WEBGL_compressed_texture_atc:'atc',WEBGL_compressed_texture_astc:'astc',EXT_texture_compression_rgtc:'rgtc'};var formats=null;function getSupportedGPUTextureFormats(gl){if(!formats){gl=gl||getWebGLContext()||undefined;formats=new Set();var _iterator15=_createForOfIteratorHelper(BROWSER_PREFIXES),_step15;try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var prefix=_step15.value;for(var extension in WEBGL_EXTENSIONS){if(gl&&gl.getExtension("".concat(prefix).concat(extension))){var gpuTextureFormat=WEBGL_EXTENSIONS[extension];formats.add(gpuTextureFormat);}}}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}}return formats;}function getWebGLContext(){try{var _canvas6=document.createElement('canvas');return _canvas6.getContext('webgl');}catch(error){return null;}}var n,i,s,a,r,o,l,f;!function(t){t[t.NONE=0]="NONE",t[t.BASISLZ=1]="BASISLZ",t[t.ZSTD=2]="ZSTD",t[t.ZLIB=3]="ZLIB";}(n||(n={})),function(t){t[t.BASICFORMAT=0]="BASICFORMAT";}(i||(i={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ETC1S=163]="ETC1S",t[t.UASTC=166]="UASTC";}(s||(s={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.SRGB=1]="SRGB";}(a||(a={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.LINEAR=1]="LINEAR",t[t.SRGB=2]="SRGB",t[t.ITU=3]="ITU",t[t.NTSC=4]="NTSC",t[t.SLOG=5]="SLOG",t[t.SLOG2=6]="SLOG2";}(r||(r={})),function(t){t[t.ALPHA_STRAIGHT=0]="ALPHA_STRAIGHT",t[t.ALPHA_PREMULTIPLIED=1]="ALPHA_PREMULTIPLIED";}(o||(o={})),function(t){t[t.RGB=0]="RGB",t[t.RRR=3]="RRR",t[t.GGG=4]="GGG",t[t.AAA=15]="AAA";}(l||(l={})),function(t){t[t.RGB=0]="RGB",t[t.RGBA=3]="RGBA",t[t.RRR=4]="RRR",t[t.RRRG=5]="RRRG";}(f||(f={}));var KTX2_ID=[0xab,0x4b,0x54,0x58,0x20,0x32,0x30,0xbb,0x0d,0x0a,0x1a,0x0a];function isKTX(data){var id=new Uint8Array(data);var notKTX=id.byteLength<KTX2_ID.length||id[0]!==KTX2_ID[0]||id[1]!==KTX2_ID[1]||id[2]!==KTX2_ID[2]||id[3]!==KTX2_ID[3]||id[4]!==KTX2_ID[4]||id[5]!==KTX2_ID[5]||id[6]!==KTX2_ID[6]||id[7]!==KTX2_ID[7]||id[8]!==KTX2_ID[8]||id[9]!==KTX2_ID[9]||id[10]!==KTX2_ID[10]||id[11]!==KTX2_ID[11];return!notKTX;}var OutputFormat={etc1:{basisFormat:0,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGB_ETC1_WEBGL},etc2:{basisFormat:1,compressed:true},bc1:{basisFormat:2,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGB_S3TC_DXT1_EXT},bc3:{basisFormat:3,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGBA_S3TC_DXT5_EXT},bc4:{basisFormat:4,compressed:true},bc5:{basisFormat:5,compressed:true},'bc7-m6-opaque-only':{basisFormat:6,compressed:true},'bc7-m5':{basisFormat:7,compressed:true},'pvrtc1-4-rgb':{basisFormat:8,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGB_PVRTC_4BPPV1_IMG},'pvrtc1-4-rgba':{basisFormat:9,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG},'astc-4x4':{basisFormat:10,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGBA_ASTC_4X4_KHR},'atc-rgb':{basisFormat:11,compressed:true},'atc-rgba-interpolated-alpha':{basisFormat:12,compressed:true},rgba32:{basisFormat:13,compressed:false},rgb565:{basisFormat:14,compressed:false},bgr565:{basisFormat:15,compressed:false},rgba4444:{basisFormat:16,compressed:false}};function parseBasis(_x43,_x44){return _parseBasis.apply(this,arguments);}function _parseBasis(){_parseBasis=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee39(data,options){var fileConstructors,_yield$loadBasisTrasc,BasisFile,_fileConstructors,_yield$loadBasisTrasc2,_BasisFile;return _regeneratorRuntime().wrap(function _callee39$(_context42){while(1){switch(_context42.prev=_context42.next){case 0:if(!(options.basis.containerFormat==='auto')){_context42.next=11;break;}if(!isKTX(data)){_context42.next=6;break;}_context42.next=4;return loadBasisEncoderModule(options);case 4:fileConstructors=_context42.sent;return _context42.abrupt("return",parseKTX2File(fileConstructors.KTX2File,data,options));case 6:_context42.next=8;return loadBasisTrascoderModule(options);case 8:_yield$loadBasisTrasc=_context42.sent;BasisFile=_yield$loadBasisTrasc.BasisFile;return _context42.abrupt("return",parseBasisFile(BasisFile,data,options));case 11:_context42.t0=options.basis.module;_context42.next=_context42.t0==='encoder'?14:_context42.t0==='transcoder'?22:22;break;case 14:_context42.next=16;return loadBasisEncoderModule(options);case 16:_fileConstructors=_context42.sent;_context42.t1=options.basis.containerFormat;_context42.next=_context42.t1==='ktx2'?20:_context42.t1==='basis'?21:21;break;case 20:return _context42.abrupt("return",parseKTX2File(_fileConstructors.KTX2File,data,options));case 21:return _context42.abrupt("return",parseBasisFile(_fileConstructors.BasisFile,data,options));case 22:_context42.next=24;return loadBasisTrascoderModule(options);case 24:_yield$loadBasisTrasc2=_context42.sent;_BasisFile=_yield$loadBasisTrasc2.BasisFile;return _context42.abrupt("return",parseBasisFile(_BasisFile,data,options));case 27:case"end":return _context42.stop();}}},_callee39);}));return _parseBasis.apply(this,arguments);}function parseBasisFile(BasisFile,data,options){var basisFile=new BasisFile(new Uint8Array(data));try{if(!basisFile.startTranscoding()){throw new Error('Failed to start basis transcoding');}var imageCount=basisFile.getNumImages();var images=[];for(var imageIndex=0;imageIndex<imageCount;imageIndex++){var levelsCount=basisFile.getNumLevels(imageIndex);var levels=[];for(var levelIndex=0;levelIndex<levelsCount;levelIndex++){levels.push(transcodeImage(basisFile,imageIndex,levelIndex,options));}images.push(levels);}return images;}finally{basisFile.close();basisFile["delete"]();}}function transcodeImage(basisFile,imageIndex,levelIndex,options){var width=basisFile.getImageWidth(imageIndex,levelIndex);var height=basisFile.getImageHeight(imageIndex,levelIndex);var hasAlpha=basisFile.getHasAlpha();var _getBasisOptions=getBasisOptions(options,hasAlpha),compressed=_getBasisOptions.compressed,format=_getBasisOptions.format,basisFormat=_getBasisOptions.basisFormat;var decodedSize=basisFile.getImageTranscodedSizeInBytes(imageIndex,levelIndex,basisFormat);var decodedData=new Uint8Array(decodedSize);if(!basisFile.transcodeImage(decodedData,imageIndex,levelIndex,basisFormat,0,0)){throw new Error('failed to start Basis transcoding');}return{width:width,height:height,data:decodedData,compressed:compressed,format:format,hasAlpha:hasAlpha};}function parseKTX2File(KTX2File,data,options){var ktx2File=new KTX2File(new Uint8Array(data));try{if(!ktx2File.startTranscoding()){throw new Error('failed to start KTX2 transcoding');}var levelsCount=ktx2File.getLevels();var levels=[];for(var levelIndex=0;levelIndex<levelsCount;levelIndex++){levels.push(transcodeKTX2Image(ktx2File,levelIndex,options));break;}return[levels];}finally{ktx2File.close();ktx2File["delete"]();}}function transcodeKTX2Image(ktx2File,levelIndex,options){var _ktx2File$getImageLev=ktx2File.getImageLevelInfo(levelIndex,0,0),alphaFlag=_ktx2File$getImageLev.alphaFlag,height=_ktx2File$getImageLev.height,width=_ktx2File$getImageLev.width;var _getBasisOptions2=getBasisOptions(options,alphaFlag),compressed=_getBasisOptions2.compressed,format=_getBasisOptions2.format,basisFormat=_getBasisOptions2.basisFormat;var decodedSize=ktx2File.getImageTranscodedSizeInBytes(levelIndex,0,0,basisFormat);var decodedData=new Uint8Array(decodedSize);if(!ktx2File.transcodeImage(decodedData,levelIndex,0,0,basisFormat,0,-1,-1)){throw new Error('Failed to transcode KTX2 image');}return{width:width,height:height,data:decodedData,compressed:compressed,hasAlpha:alphaFlag,format:format};}function getBasisOptions(options,hasAlpha){var format=options&&options.basis&&options.basis.format;if(format==='auto'){format=selectSupportedBasisFormat();}if(_typeof(format)==='object'){format=hasAlpha?format.alpha:format.noAlpha;}format=format.toLowerCase();return OutputFormat[format];}function selectSupportedBasisFormat(){var supportedFormats=getSupportedGPUTextureFormats();if(supportedFormats.has('astc')){return'astc-4x4';}else if(supportedFormats.has('dxt')){return{alpha:'bc3',noAlpha:'bc1'};}else if(supportedFormats.has('pvrtc')){return{alpha:'pvrtc1-4-rgba',noAlpha:'pvrtc1-4-rgb'};}else if(supportedFormats.has('etc1')){return'etc1';}else if(supportedFormats.has('etc2')){return'etc2';}return'rgb565';}var BasisWorkerLoader={name:'Basis',id:'basis',module:'textures',version:VERSION$4,worker:true,extensions:['basis','ktx2'],mimeTypes:['application/octet-stream','image/ktx2'],tests:['sB'],binary:true,options:{basis:{format:'auto',libraryPath:'libs/',containerFormat:'auto',module:'transcoder'}}};var BasisLoader=_objectSpread(_objectSpread({},BasisWorkerLoader),{},{parse:parseBasis});var VERSION$2="3.2.6";var _parseImageNode=globalThis._parseImageNode;var IMAGE_SUPPORTED=typeof Image!=='undefined';var IMAGE_BITMAP_SUPPORTED=typeof ImageBitmap!=='undefined';var NODE_IMAGE_SUPPORTED=Boolean(_parseImageNode);var DATA_SUPPORTED=isBrowser$4?true:NODE_IMAGE_SUPPORTED;function isImageTypeSupported(type){switch(type){case'auto':return IMAGE_BITMAP_SUPPORTED||IMAGE_SUPPORTED||DATA_SUPPORTED;case'imagebitmap':return IMAGE_BITMAP_SUPPORTED;case'image':return IMAGE_SUPPORTED;case'data':return DATA_SUPPORTED;default:throw new Error("@loaders.gl/images: image ".concat(type," not supported in this environment"));}}function getDefaultImageType(){if(IMAGE_BITMAP_SUPPORTED){return'imagebitmap';}if(IMAGE_SUPPORTED){return'image';}if(DATA_SUPPORTED){return'data';}throw new Error('Install \'@loaders.gl/polyfills\' to parse images under Node.js');}function getImageType(image){var format=getImageTypeOrNull(image);if(!format){throw new Error('Not an image');}return format;}function getImageData(image){switch(getImageType(image)){case'data':return image;case'image':case'imagebitmap':var _canvas7=document.createElement('canvas');var context=_canvas7.getContext('2d');if(!context){throw new Error('getImageData');}_canvas7.width=image.width;_canvas7.height=image.height;context.drawImage(image,0,0);return context.getImageData(0,0,image.width,image.height);default:throw new Error('getImageData');}}function getImageTypeOrNull(image){if(typeof ImageBitmap!=='undefined'&&image instanceof ImageBitmap){return'imagebitmap';}if(typeof Image!=='undefined'&&image instanceof Image){return'image';}if(image&&_typeof(image)==='object'&&image.data&&image.width&&image.height){return'data';}return null;}var SVG_DATA_URL_PATTERN=/^data:image\/svg\+xml/;var SVG_URL_PATTERN=/\.svg((\?|#).*)?$/;function isSVG(url){return url&&(SVG_DATA_URL_PATTERN.test(url)||SVG_URL_PATTERN.test(url));}function getBlobOrSVGDataUrl(arrayBuffer,url){if(isSVG(url)){var textDecoder=new TextDecoder();var xmlText=textDecoder.decode(arrayBuffer);try{if(typeof unescape==='function'&&typeof encodeURIComponent==='function'){xmlText=unescape(encodeURIComponent(xmlText));}}catch(error){throw new Error(error.message);}var src="data:image/svg+xml;base64,".concat(btoa(xmlText));return src;}return getBlob(arrayBuffer,url);}function getBlob(arrayBuffer,url){if(isSVG(url)){throw new Error('SVG cannot be parsed directly to imagebitmap');}return new Blob([new Uint8Array(arrayBuffer)]);}function parseToImage(_x45,_x46,_x47){return _parseToImage.apply(this,arguments);}function _parseToImage(){_parseToImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee40(arrayBuffer,options,url){var blobOrDataUrl,URL,objectUrl;return _regeneratorRuntime().wrap(function _callee40$(_context43){while(1){switch(_context43.prev=_context43.next){case 0:blobOrDataUrl=getBlobOrSVGDataUrl(arrayBuffer,url);URL=self.URL||self.webkitURL;objectUrl=typeof blobOrDataUrl!=='string'&&URL.createObjectURL(blobOrDataUrl);_context43.prev=3;_context43.next=6;return loadToImage(objectUrl||blobOrDataUrl,options);case 6:return _context43.abrupt("return",_context43.sent);case 7:_context43.prev=7;if(objectUrl){URL.revokeObjectURL(objectUrl);}return _context43.finish(7);case 10:case"end":return _context43.stop();}}},_callee40,null,[[3,,7,10]]);}));return _parseToImage.apply(this,arguments);}function loadToImage(_x48,_x49){return _loadToImage.apply(this,arguments);}function _loadToImage(){_loadToImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee41(url,options){var image;return _regeneratorRuntime().wrap(function _callee41$(_context44){while(1){switch(_context44.prev=_context44.next){case 0:image=new Image();image.src=url;if(!(options.image&&options.image.decode&&image.decode)){_context44.next=6;break;}_context44.next=5;return image.decode();case 5:return _context44.abrupt("return",image);case 6:_context44.next=8;return new Promise(function(resolve,reject){try{image.onload=function(){return resolve(image);};image.onerror=function(err){return reject(new Error("Could not load image ".concat(url,": ").concat(err)));};}catch(error){reject(error);}});case 8:return _context44.abrupt("return",_context44.sent);case 9:case"end":return _context44.stop();}}},_callee41);}));return _loadToImage.apply(this,arguments);}var EMPTY_OBJECT={};var imagebitmapOptionsSupported=true;function parseToImageBitmap(_x50,_x51,_x52){return _parseToImageBitmap.apply(this,arguments);}function _parseToImageBitmap(){_parseToImageBitmap=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee42(arrayBuffer,options,url){var blob,_image8,imagebitmapOptions;return _regeneratorRuntime().wrap(function _callee42$(_context45){while(1){switch(_context45.prev=_context45.next){case 0:if(!isSVG(url)){_context45.next=7;break;}_context45.next=3;return parseToImage(arrayBuffer,options,url);case 3:_image8=_context45.sent;blob=_image8;_context45.next=8;break;case 7:blob=getBlob(arrayBuffer,url);case 8:imagebitmapOptions=options&&options.imagebitmap;_context45.next=11;return safeCreateImageBitmap(blob,imagebitmapOptions);case 11:return _context45.abrupt("return",_context45.sent);case 12:case"end":return _context45.stop();}}},_callee42);}));return _parseToImageBitmap.apply(this,arguments);}function safeCreateImageBitmap(_x53){return _safeCreateImageBitmap.apply(this,arguments);}function _safeCreateImageBitmap(){_safeCreateImageBitmap=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee43(blob){var imagebitmapOptions,_args41=arguments;return _regeneratorRuntime().wrap(function _callee43$(_context46){while(1){switch(_context46.prev=_context46.next){case 0:imagebitmapOptions=_args41.length>1&&_args41[1]!==undefined?_args41[1]:null;if(isEmptyObject(imagebitmapOptions)||!imagebitmapOptionsSupported){imagebitmapOptions=null;}if(!imagebitmapOptions){_context46.next=13;break;}_context46.prev=3;_context46.next=6;return createImageBitmap(blob,imagebitmapOptions);case 6:return _context46.abrupt("return",_context46.sent);case 9:_context46.prev=9;_context46.t0=_context46["catch"](3);console.warn(_context46.t0);imagebitmapOptionsSupported=false;case 13:_context46.next=15;return createImageBitmap(blob);case 15:return _context46.abrupt("return",_context46.sent);case 16:case"end":return _context46.stop();}}},_callee43,null,[[3,9]]);}));return _safeCreateImageBitmap.apply(this,arguments);}function isEmptyObject(object){for(var key in object||EMPTY_OBJECT){return false;}return true;}var BIG_ENDIAN=false;var LITTLE_ENDIAN=true;function getBinaryImageMetadata(binaryData){var dataView=toDataView(binaryData);return getPngMetadata(dataView)||getJpegMetadata(dataView)||getGifMetadata(dataView)||getBmpMetadata(dataView);}function getPngMetadata(binaryData){var dataView=toDataView(binaryData);var isPng=dataView.byteLength>=24&&dataView.getUint32(0,BIG_ENDIAN)===0x89504e47;if(!isPng){return null;}return{mimeType:'image/png',width:dataView.getUint32(16,BIG_ENDIAN),height:dataView.getUint32(20,BIG_ENDIAN)};}function getGifMetadata(binaryData){var dataView=toDataView(binaryData);var isGif=dataView.byteLength>=10&&dataView.getUint32(0,BIG_ENDIAN)===0x47494638;if(!isGif){return null;}return{mimeType:'image/gif',width:dataView.getUint16(6,LITTLE_ENDIAN),height:dataView.getUint16(8,LITTLE_ENDIAN)};}function getBmpMetadata(binaryData){var dataView=toDataView(binaryData);var isBmp=dataView.byteLength>=14&&dataView.getUint16(0,BIG_ENDIAN)===0x424d&&dataView.getUint32(2,LITTLE_ENDIAN)===dataView.byteLength;if(!isBmp){return null;}return{mimeType:'image/bmp',width:dataView.getUint32(18,LITTLE_ENDIAN),height:dataView.getUint32(22,LITTLE_ENDIAN)};}function getJpegMetadata(binaryData){var dataView=toDataView(binaryData);var isJpeg=dataView.byteLength>=3&&dataView.getUint16(0,BIG_ENDIAN)===0xffd8&&dataView.getUint8(2)===0xff;if(!isJpeg){return null;}var _getJpegMarkers=getJpegMarkers(),tableMarkers=_getJpegMarkers.tableMarkers,sofMarkers=_getJpegMarkers.sofMarkers;var i=2;while(i+9<dataView.byteLength){var marker=dataView.getUint16(i,BIG_ENDIAN);if(sofMarkers.has(marker)){return{mimeType:'image/jpeg',height:dataView.getUint16(i+5,BIG_ENDIAN),width:dataView.getUint16(i+7,BIG_ENDIAN)};}if(!tableMarkers.has(marker)){return null;}i+=2;i+=dataView.getUint16(i,BIG_ENDIAN);}return null;}function getJpegMarkers(){var tableMarkers=new Set([0xffdb,0xffc4,0xffcc,0xffdd,0xfffe]);for(var _i545=0xffe0;_i545<0xfff0;++_i545){tableMarkers.add(_i545);}var sofMarkers=new Set([0xffc0,0xffc1,0xffc2,0xffc3,0xffc5,0xffc6,0xffc7,0xffc9,0xffca,0xffcb,0xffcd,0xffce,0xffcf,0xffde]);return{tableMarkers:tableMarkers,sofMarkers:sofMarkers};}function toDataView(data){if(data instanceof DataView){return data;}if(ArrayBuffer.isView(data)){return new DataView(data.buffer);}if(data instanceof ArrayBuffer){return new DataView(data);}throw new Error('toDataView');}function parseToNodeImage(_x54,_x55){return _parseToNodeImage.apply(this,arguments);}function _parseToNodeImage(){_parseToNodeImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee44(arrayBuffer,options){var _ref19,mimeType,_parseImageNode;return _regeneratorRuntime().wrap(function _callee44$(_context47){while(1){switch(_context47.prev=_context47.next){case 0:_ref19=getBinaryImageMetadata(arrayBuffer)||{},mimeType=_ref19.mimeType;_parseImageNode=globalThis._parseImageNode;assert$5(_parseImageNode);_context47.next=5;return _parseImageNode(arrayBuffer,mimeType);case 5:return _context47.abrupt("return",_context47.sent);case 6:case"end":return _context47.stop();}}},_callee44);}));return _parseToNodeImage.apply(this,arguments);}function parseImage(_x56,_x57,_x58){return _parseImage.apply(this,arguments);}function _parseImage(){_parseImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee45(arrayBuffer,options,context){var imageOptions,imageType,_ref20,url,loadType,image;return _regeneratorRuntime().wrap(function _callee45$(_context48){while(1){switch(_context48.prev=_context48.next){case 0:options=options||{};imageOptions=options.image||{};imageType=imageOptions.type||'auto';_ref20=context||{},url=_ref20.url;loadType=getLoadableImageType(imageType);_context48.t0=loadType;_context48.next=_context48.t0==='imagebitmap'?8:_context48.t0==='image'?12:_context48.t0==='data'?16:20;break;case 8:_context48.next=10;return parseToImageBitmap(arrayBuffer,options,url);case 10:image=_context48.sent;return _context48.abrupt("break",21);case 12:_context48.next=14;return parseToImage(arrayBuffer,options,url);case 14:image=_context48.sent;return _context48.abrupt("break",21);case 16:_context48.next=18;return parseToNodeImage(arrayBuffer);case 18:image=_context48.sent;return _context48.abrupt("break",21);case 20:assert$5(false);case 21:if(imageType==='data'){image=getImageData(image);}return _context48.abrupt("return",image);case 23:case"end":return _context48.stop();}}},_callee45);}));return _parseImage.apply(this,arguments);}function getLoadableImageType(type){switch(type){case'auto':case'data':return getDefaultImageType();default:isImageTypeSupported(type);return type;}}var EXTENSIONS$1=['png','jpg','jpeg','gif','webp','bmp','ico','svg'];var MIME_TYPES=['image/png','image/jpeg','image/gif','image/webp','image/bmp','image/vnd.microsoft.icon','image/svg+xml'];var DEFAULT_IMAGE_LOADER_OPTIONS={image:{type:'auto',decode:true}};var ImageLoader={id:'image',module:'images',name:'Images',version:VERSION$2,mimeTypes:MIME_TYPES,extensions:EXTENSIONS$1,parse:parseImage,tests:[function(arrayBuffer){return Boolean(getBinaryImageMetadata(new DataView(arrayBuffer)));}],options:DEFAULT_IMAGE_LOADER_OPTIONS};var NODE_FORMAT_SUPPORT=['image/png','image/jpeg','image/gif'];var mimeTypeSupported={};function _isImageFormatSupported(mimeType){if(mimeTypeSupported[mimeType]===undefined){mimeTypeSupported[mimeType]=checkFormatSupport(mimeType);}return mimeTypeSupported[mimeType];}function checkFormatSupport(mimeType){switch(mimeType){case'image/webp':return checkWebPSupport();case'image/svg':return isBrowser$4;default:if(!isBrowser$4){var _parseImageNode2=globalThis._parseImageNode;return Boolean(_parseImageNode2)&&NODE_FORMAT_SUPPORT.includes(mimeType);}return true;}}function checkWebPSupport(){if(!isBrowser$4){return false;}try{var element=document.createElement('canvas');return element.toDataURL('image/webp').indexOf('data:image/webp')===0;}catch(_unused){return false;}}function assert$1(condition,message){if(!condition){throw new Error(message||'assert failed: gltf');}}function resolveUrl(url,options){var absolute=url.startsWith('data:')||url.startsWith('http:')||url.startsWith('https:');if(absolute){return url;}var baseUrl=options.baseUri||options.uri;if(!baseUrl){throw new Error("'baseUri' must be provided to resolve relative url ".concat(url));}return baseUrl.substr(0,baseUrl.lastIndexOf('/')+1)+url;}function getTypedArrayForBufferView(json,buffers,bufferViewIndex){var bufferView=json.bufferViews[bufferViewIndex];assert$1(bufferView);var bufferIndex=bufferView.buffer;var binChunk=buffers[bufferIndex];assert$1(binChunk);var byteOffset=(bufferView.byteOffset||0)+binChunk.byteOffset;return new Uint8Array(binChunk.arrayBuffer,byteOffset,bufferView.byteLength);}var TYPES=['SCALAR','VEC2','VEC3','VEC4'];var ARRAY_CONSTRUCTOR_TO_WEBGL_CONSTANT=[[Int8Array,5120],[Uint8Array,5121],[Int16Array,5122],[Uint16Array,5123],[Uint32Array,5125],[Float32Array,5126],[Float64Array,5130]];var ARRAY_TO_COMPONENT_TYPE=new Map(ARRAY_CONSTRUCTOR_TO_WEBGL_CONSTANT);var ATTRIBUTE_TYPE_TO_COMPONENTS={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16};var ATTRIBUTE_COMPONENT_TYPE_TO_BYTE_SIZE={5120:1,5121:1,5122:2,5123:2,5125:4,5126:4};var ATTRIBUTE_COMPONENT_TYPE_TO_ARRAY={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array};function getAccessorTypeFromSize(size){var type=TYPES[size-1];return type||TYPES[0];}function getComponentTypeFromArray(typedArray){var componentType=ARRAY_TO_COMPONENT_TYPE.get(typedArray.constructor);if(!componentType){throw new Error('Illegal typed array');}return componentType;}function getAccessorArrayTypeAndLength(accessor,bufferView){var ArrayType=ATTRIBUTE_COMPONENT_TYPE_TO_ARRAY[accessor.componentType];var components=ATTRIBUTE_TYPE_TO_COMPONENTS[accessor.type];var bytesPerComponent=ATTRIBUTE_COMPONENT_TYPE_TO_BYTE_SIZE[accessor.componentType];var length=accessor.count*components;var byteLength=accessor.count*components*bytesPerComponent;assert$1(byteLength>=0&&byteLength<=bufferView.byteLength);return{ArrayType:ArrayType,length:length,byteLength:byteLength};}var DEFAULT_GLTF_JSON={asset:{version:'2.0',generator:'loaders.gl'},buffers:[]};var GLTFScenegraph=/*#__PURE__*/function(){function GLTFScenegraph(gltf){_classCallCheck(this,GLTFScenegraph);_defineProperty(this,"gltf",void 0);_defineProperty(this,"sourceBuffers",void 0);_defineProperty(this,"byteLength",void 0);this.gltf=gltf||{json:_objectSpread({},DEFAULT_GLTF_JSON),buffers:[]};this.sourceBuffers=[];this.byteLength=0;if(this.gltf.buffers&&this.gltf.buffers[0]){this.byteLength=this.gltf.buffers[0].byteLength;this.sourceBuffers=[this.gltf.buffers[0]];}}_createClass(GLTFScenegraph,[{key:"json",get:function get(){return this.gltf.json;}},{key:"getApplicationData",value:function getApplicationData(key){var data=this.json[key];return data;}},{key:"getExtraData",value:function getExtraData(key){var extras=this.json.extras||{};return extras[key];}},{key:"getExtension",value:function getExtension(extensionName){var isExtension=this.getUsedExtensions().find(function(name){return name===extensionName;});var extensions=this.json.extensions||{};return isExtension?extensions[extensionName]||true:null;}},{key:"getRequiredExtension",value:function getRequiredExtension(extensionName){var isRequired=this.getRequiredExtensions().find(function(name){return name===extensionName;});return isRequired?this.getExtension(extensionName):null;}},{key:"getRequiredExtensions",value:function getRequiredExtensions(){return this.json.extensionsRequired||[];}},{key:"getUsedExtensions",value:function getUsedExtensions(){return this.json.extensionsUsed||[];}},{key:"getObjectExtension",value:function getObjectExtension(object,extensionName){var extensions=object.extensions||{};return extensions[extensionName];}},{key:"getScene",value:function getScene(index){return this.getObject('scenes',index);}},{key:"getNode",value:function getNode(index){return this.getObject('nodes',index);}},{key:"getSkin",value:function getSkin(index){return this.getObject('skins',index);}},{key:"getMesh",value:function getMesh(index){return this.getObject('meshes',index);}},{key:"getMaterial",value:function getMaterial(index){return this.getObject('materials',index);}},{key:"getAccessor",value:function getAccessor(index){return this.getObject('accessors',index);}},{key:"getTexture",value:function getTexture(index){return this.getObject('textures',index);}},{key:"getSampler",value:function getSampler(index){return this.getObject('samplers',index);}},{key:"getImage",value:function getImage(index){return this.getObject('images',index);}},{key:"getBufferView",value:function getBufferView(index){return this.getObject('bufferViews',index);}},{key:"getBuffer",value:function getBuffer(index){return this.getObject('buffers',index);}},{key:"getObject",value:function getObject(array,index){if(_typeof(index)==='object'){return index;}var object=this.json[array]&&this.json[array][index];if(!object){throw new Error("glTF file error: Could not find ".concat(array,"[").concat(index,"]"));}return object;}},{key:"getTypedArrayForBufferView",value:function getTypedArrayForBufferView(bufferView){bufferView=this.getBufferView(bufferView);var bufferIndex=bufferView.buffer;var binChunk=this.gltf.buffers[bufferIndex];assert$1(binChunk);var byteOffset=(bufferView.byteOffset||0)+binChunk.byteOffset;return new Uint8Array(binChunk.arrayBuffer,byteOffset,bufferView.byteLength);}},{key:"getTypedArrayForAccessor",value:function getTypedArrayForAccessor(accessor){accessor=this.getAccessor(accessor);var bufferView=this.getBufferView(accessor.bufferView);var buffer=this.getBuffer(bufferView.buffer);var arrayBuffer=buffer.data;var _getAccessorArrayType=getAccessorArrayTypeAndLength(accessor,bufferView),ArrayType=_getAccessorArrayType.ArrayType,length=_getAccessorArrayType.length;var byteOffset=bufferView.byteOffset+accessor.byteOffset;return new ArrayType(arrayBuffer,byteOffset,length);}},{key:"getTypedArrayForImageData",value:function getTypedArrayForImageData(image){image=this.getAccessor(image);var bufferView=this.getBufferView(image.bufferView);var buffer=this.getBuffer(bufferView.buffer);var arrayBuffer=buffer.data;var byteOffset=bufferView.byteOffset||0;return new Uint8Array(arrayBuffer,byteOffset,bufferView.byteLength);}},{key:"addApplicationData",value:function addApplicationData(key,data){this.json[key]=data;return this;}},{key:"addExtraData",value:function addExtraData(key,data){this.json.extras=this.json.extras||{};this.json.extras[key]=data;return this;}},{key:"addObjectExtension",value:function addObjectExtension(object,extensionName,data){object.extensions=object.extensions||{};object.extensions[extensionName]=data;this.registerUsedExtension(extensionName);return this;}},{key:"setObjectExtension",value:function setObjectExtension(object,extensionName,data){var extensions=object.extensions||{};extensions[extensionName]=data;}},{key:"removeObjectExtension",value:function removeObjectExtension(object,extensionName){var extensions=object.extensions||{};var extension=extensions[extensionName];delete extensions[extensionName];return extension;}},{key:"addExtension",value:function addExtension(extensionName){var extensionData=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};assert$1(extensionData);this.json.extensions=this.json.extensions||{};this.json.extensions[extensionName]=extensionData;this.registerUsedExtension(extensionName);return extensionData;}},{key:"addRequiredExtension",value:function addRequiredExtension(extensionName){var extensionData=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};assert$1(extensionData);this.addExtension(extensionName,extensionData);this.registerRequiredExtension(extensionName);return extensionData;}},{key:"registerUsedExtension",value:function registerUsedExtension(extensionName){this.json.extensionsUsed=this.json.extensionsUsed||[];if(!this.json.extensionsUsed.find(function(ext){return ext===extensionName;})){this.json.extensionsUsed.push(extensionName);}}},{key:"registerRequiredExtension",value:function registerRequiredExtension(extensionName){this.registerUsedExtension(extensionName);this.json.extensionsRequired=this.json.extensionsRequired||[];if(!this.json.extensionsRequired.find(function(ext){return ext===extensionName;})){this.json.extensionsRequired.push(extensionName);}}},{key:"removeExtension",value:function removeExtension(extensionName){if(this.json.extensionsRequired){this._removeStringFromArray(this.json.extensionsRequired,extensionName);}if(this.json.extensionsUsed){this._removeStringFromArray(this.json.extensionsUsed,extensionName);}if(this.json.extensions){delete this.json.extensions[extensionName];}}},{key:"setDefaultScene",value:function setDefaultScene(sceneIndex){this.json.scene=sceneIndex;}},{key:"addScene",value:function addScene(scene){var nodeIndices=scene.nodeIndices;this.json.scenes=this.json.scenes||[];this.json.scenes.push({nodes:nodeIndices});return this.json.scenes.length-1;}},{key:"addNode",value:function addNode(node){var meshIndex=node.meshIndex,matrix=node.matrix;this.json.nodes=this.json.nodes||[];var nodeData={mesh:meshIndex};if(matrix){nodeData.matrix=matrix;}this.json.nodes.push(nodeData);return this.json.nodes.length-1;}},{key:"addMesh",value:function addMesh(mesh){var attributes=mesh.attributes,indices=mesh.indices,material=mesh.material,_mesh$mode=mesh.mode,mode=_mesh$mode===void 0?4:_mesh$mode;var accessors=this._addAttributes(attributes);var glTFMesh={primitives:[{attributes:accessors,mode:mode}]};if(indices){var indicesAccessor=this._addIndices(indices);glTFMesh.primitives[0].indices=indicesAccessor;}if(Number.isFinite(material)){glTFMesh.primitives[0].material=material;}this.json.meshes=this.json.meshes||[];this.json.meshes.push(glTFMesh);return this.json.meshes.length-1;}},{key:"addPointCloud",value:function addPointCloud(attributes){var accessorIndices=this._addAttributes(attributes);var glTFMesh={primitives:[{attributes:accessorIndices,mode:0}]};this.json.meshes=this.json.meshes||[];this.json.meshes.push(glTFMesh);return this.json.meshes.length-1;}},{key:"addImage",value:function addImage(imageData,mimeTypeOpt){var metadata=getBinaryImageMetadata(imageData);var mimeType=mimeTypeOpt||(metadata===null||metadata===void 0?void 0:metadata.mimeType);var bufferViewIndex=this.addBufferView(imageData);var glTFImage={bufferView:bufferViewIndex,mimeType:mimeType};this.json.images=this.json.images||[];this.json.images.push(glTFImage);return this.json.images.length-1;}},{key:"addBufferView",value:function addBufferView(buffer){var byteLength=buffer.byteLength;assert$1(Number.isFinite(byteLength));this.sourceBuffers=this.sourceBuffers||[];this.sourceBuffers.push(buffer);var glTFBufferView={buffer:0,byteOffset:this.byteLength,byteLength:byteLength};this.byteLength+=padToNBytes(byteLength,4);this.json.bufferViews=this.json.bufferViews||[];this.json.bufferViews.push(glTFBufferView);return this.json.bufferViews.length-1;}},{key:"addAccessor",value:function addAccessor(bufferViewIndex,accessor){var glTFAccessor={bufferView:bufferViewIndex,type:getAccessorTypeFromSize(accessor.size),componentType:accessor.componentType,count:accessor.count,max:accessor.max,min:accessor.min};this.json.accessors=this.json.accessors||[];this.json.accessors.push(glTFAccessor);return this.json.accessors.length-1;}},{key:"addBinaryBuffer",value:function addBinaryBuffer(sourceBuffer){var accessor=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{size:3};var bufferViewIndex=this.addBufferView(sourceBuffer);var minMax={min:accessor.min,max:accessor.max};if(!minMax.min||!minMax.max){minMax=this._getAccessorMinMax(sourceBuffer,accessor.size);}var accessorDefaults={size:accessor.size,componentType:getComponentTypeFromArray(sourceBuffer),count:Math.round(sourceBuffer.length/accessor.size),min:minMax.min,max:minMax.max};return this.addAccessor(bufferViewIndex,Object.assign(accessorDefaults,accessor));}},{key:"addTexture",value:function addTexture(texture){var imageIndex=texture.imageIndex;var glTFTexture={source:imageIndex};this.json.textures=this.json.textures||[];this.json.textures.push(glTFTexture);return this.json.textures.length-1;}},{key:"addMaterial",value:function addMaterial(pbrMaterialInfo){this.json.materials=this.json.materials||[];this.json.materials.push(pbrMaterialInfo);return this.json.materials.length-1;}},{key:"createBinaryChunk",value:function createBinaryChunk(){var _this$json,_this$json$buffers;this.gltf.buffers=[];var totalByteLength=this.byteLength;var arrayBuffer=new ArrayBuffer(totalByteLength);var targetArray=new Uint8Array(arrayBuffer);var dstByteOffset=0;var _iterator16=_createForOfIteratorHelper(this.sourceBuffers||[]),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var sourceBuffer=_step16.value;dstByteOffset=copyToArray(sourceBuffer,targetArray,dstByteOffset);}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}if((_this$json=this.json)!==null&&_this$json!==void 0&&(_this$json$buffers=_this$json.buffers)!==null&&_this$json$buffers!==void 0&&_this$json$buffers[0]){this.json.buffers[0].byteLength=totalByteLength;}else{this.json.buffers=[{byteLength:totalByteLength}];}this.gltf.binary=arrayBuffer;this.sourceBuffers=[arrayBuffer];}},{key:"_removeStringFromArray",value:function _removeStringFromArray(array,string){var found=true;while(found){var index=array.indexOf(string);if(index>-1){array.splice(index,1);}else{found=false;}}}},{key:"_addAttributes",value:function _addAttributes(){var attributes=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var result={};for(var attributeKey in attributes){var attributeData=attributes[attributeKey];var attrName=this._getGltfAttributeName(attributeKey);var accessor=this.addBinaryBuffer(attributeData.value,attributeData);result[attrName]=accessor;}return result;}},{key:"_addIndices",value:function _addIndices(indices){return this.addBinaryBuffer(indices,{size:1});}},{key:"_getGltfAttributeName",value:function _getGltfAttributeName(attributeName){switch(attributeName.toLowerCase()){case'position':case'positions':case'vertices':return'POSITION';case'normal':case'normals':return'NORMAL';case'color':case'colors':return'COLOR_0';case'texcoord':case'texcoords':return'TEXCOORD_0';default:return attributeName;}}},{key:"_getAccessorMinMax",value:function _getAccessorMinMax(buffer,size){var result={min:null,max:null};if(buffer.length<size){return result;}result.min=[];result.max=[];var initValues=buffer.subarray(0,size);var _iterator17=_createForOfIteratorHelper(initValues),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var value=_step17.value;result.min.push(value);result.max.push(value);}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}for(var index=size;index<buffer.length;index+=size){for(var componentIndex=0;componentIndex<size;componentIndex++){result.min[0+componentIndex]=Math.min(result.min[0+componentIndex],buffer[index+componentIndex]);result.max[0+componentIndex]=Math.max(result.max[0+componentIndex],buffer[index+componentIndex]);}}return result;}}]);return GLTFScenegraph;}();var wasm_base='B9h9z9tFBBBF8fL9gBB9gLaaaaaFa9gEaaaB9gFaFa9gEaaaFaEMcBFFFGGGEIIILF9wFFFLEFBFKNFaFCx/IFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBF8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBGy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBEn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBIi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBKI9z9iqlBOc+x8ycGBM/qQFTa8jUUUUBCU/EBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAGTkUUUBRNCUoBAG9uC/wgBZHKCUGAKCUG9JyRVAECFJRICBRcGXEXAcAF9PQFAVAFAclAcAVJAF9JyRMGXGXAG9FQBAMCbJHKC9wZRSAKCIrCEJCGrRQANCUGJRfCBRbAIRTEXGXAOATlAQ9PQBCBRISEMATAQJRIGXAS9FQBCBRtCBREEXGXAOAIlCi9PQBCBRISLMANCU/CBJAEJRKGXGXGXGXGXATAECKrJ2BBAtCKZrCEZfIBFGEBMAKhB83EBAKCNJhB83EBSEMAKAI2BIAI2BBHmCKrHYAYCE6HYy86BBAKCFJAICIJAYJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCGJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCEJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCIJAYAmJHY2BBAI2BFHmCKrHPAPCE6HPy86BBAKCLJAYAPJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCKJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCOJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCNJAYAmJHY2BBAI2BGHmCKrHPAPCE6HPy86BBAKCVJAYAPJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCcJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCMJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCSJAYAmJHm2BBAI2BEHICKrHYAYCE6HYy86BBAKCQJAmAYJHm2BBAICIrCEZHYAYCE6HYy86BBAKCfJAmAYJHm2BBAICGrCEZHYAYCE6HYy86BBAKCbJAmAYJHK2BBAICEZHIAICE6HIy86BBAKAIJRISGMAKAI2BNAI2BBHmCIrHYAYCb6HYy86BBAKCFJAICNJAYJHY2BBAmCbZHmAmCb6Hmy86BBAKCGJAYAmJHm2BBAI2BFHYCIrHPAPCb6HPy86BBAKCEJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCIJAmAYJHm2BBAI2BGHYCIrHPAPCb6HPy86BBAKCLJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCKJAmAYJHm2BBAI2BEHYCIrHPAPCb6HPy86BBAKCOJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCNJAmAYJHm2BBAI2BIHYCIrHPAPCb6HPy86BBAKCVJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCcJAmAYJHm2BBAI2BLHYCIrHPAPCb6HPy86BBAKCMJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCSJAmAYJHm2BBAI2BKHYCIrHPAPCb6HPy86BBAKCQJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCfJAmAYJHm2BBAI2BOHICIrHYAYCb6HYy86BBAKCbJAmAYJHK2BBAICbZHIAICb6HIy86BBAKAIJRISFMAKAI8pBB83BBAKCNJAICNJ8pBB83BBAICTJRIMAtCGJRtAECTJHEAS9JQBMMGXAIQBCBRISEMGXAM9FQBANAbJ2BBRtCBRKAfREEXAEANCU/CBJAKJ2BBHTCFrCBATCFZl9zAtJHt86BBAEAGJREAKCFJHKAM9HQBMMAfCFJRfAIRTAbCFJHbAG9HQBMMABAcAG9sJANCUGJAMAG9sTkUUUBpANANCUGJAMCaJAG9sJAGTkUUUBpMAMCBAIyAcJRcAIQBMC9+RKSFMCBC99AOAIlAGCAAGCA9Ly6yRKMALCU/EBJ8kUUUUBAKM+OmFTa8jUUUUBCoFlHL8kUUUUBC9+RKGXAFCE9uHOCtJAI9LQBCaRKAE2BBHNC/wFZC/gF9HQBANCbZHVCF9LQBALCoBJCgFCUFT+JUUUBpALC84Jha83EBALC8wJha83EBALC8oJha83EBALCAJha83EBALCiJha83EBALCTJha83EBALha83ENALha83EBAEAIJC9wJRcAECFJHNAOJRMGXAF9FQBCQCbAVCF6yRSABRECBRVCBRQCBRfCBRICBRKEXGXAMAcuQBC9+RKSEMGXGXAN2BBHOC/vF9LQBALCoBJAOCIrCa9zAKJCbZCEWJHb8oGIRTAb8oGBRtGXAOCbZHbAS9PQBALAOCa9zAIJCbZCGWJ8oGBAVAbyROAb9FRbGXGXAGCG9HQBABAt87FBABCIJAO87FBABCGJAT87FBSFMAEAtjGBAECNJAOjGBAECIJATjGBMAVAbJRVALCoBJAKCEWJHmAOjGBAmATjGIALAICGWJAOjGBALCoBJAKCFJCbZHKCEWJHTAtjGBATAOjGIAIAbJRIAKCFJRKSGMGXGXAbCb6QBAQAbJAbC989zJCFJRQSFMAM1BBHbCgFZROGXGXAbCa9MQBAMCFJRMSFMAM1BFHbCgBZCOWAOCgBZqROGXAbCa9MQBAMCGJRMSFMAM1BGHbCgBZCfWAOqROGXAbCa9MQBAMCEJRMSFMAM1BEHbCgBZCdWAOqROGXAbCa9MQBAMCIJRMSFMAM2BIC8cWAOqROAMCLJRMMAOCFrCBAOCFZl9zAQJRQMGXGXAGCG9HQBABAt87FBABCIJAQ87FBABCGJAT87FBSFMAEAtjGBAECNJAQjGBAECIJATjGBMALCoBJAKCEWJHOAQjGBAOATjGIALAICGWJAQjGBALCoBJAKCFJCbZHKCEWJHOAtjGBAOAQjGIAICFJRIAKCFJRKSFMGXAOCDF9LQBALAIAcAOCbZJ2BBHbCIrHTlCbZCGWJ8oGBAVCFJHtATyROALAIAblCbZCGWJ8oGBAtAT9FHmJHtAbCbZHTyRbAT9FRTGXGXAGCG9HQBABAV87FBABCIJAb87FBABCGJAO87FBSFMAEAVjGBAECNJAbjGBAECIJAOjGBMALAICGWJAVjGBALCoBJAKCEWJHYAOjGBAYAVjGIALAICFJHICbZCGWJAOjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAIAmJCbZHICGWJAbjGBALCoBJAKCGJCbZHKCEWJHOAVjGBAOAbjGIAKCFJRKAIATJRIAtATJRVSFMAVCBAM2BBHYyHTAOC/+F6HPJROAYCbZRtGXGXAYCIrHmQBAOCFJRbSFMAORbALAIAmlCbZCGWJ8oGBROMGXGXAtQBAbCFJRVSFMAbRVALAIAYlCbZCGWJ8oGBRbMGXGXAP9FQBAMCFJRYSFMAM1BFHYCgFZRTGXGXAYCa9MQBAMCGJRYSFMAM1BGHYCgBZCOWATCgBZqRTGXAYCa9MQBAMCEJRYSFMAM1BEHYCgBZCfWATqRTGXAYCa9MQBAMCIJRYSFMAM1BIHYCgBZCdWATqRTGXAYCa9MQBAMCLJRYSFMAMCKJRYAM2BLC8cWATqRTMATCFrCBATCFZl9zAQJHQRTMGXGXAmCb6QBAYRPSFMAY1BBHMCgFZROGXGXAMCa9MQBAYCFJRPSFMAY1BFHMCgBZCOWAOCgBZqROGXAMCa9MQBAYCGJRPSFMAY1BGHMCgBZCfWAOqROGXAMCa9MQBAYCEJRPSFMAY1BEHMCgBZCdWAOqROGXAMCa9MQBAYCIJRPSFMAYCLJRPAY2BIC8cWAOqROMAOCFrCBAOCFZl9zAQJHQROMGXGXAtCb6QBAPRMSFMAP1BBHMCgFZRbGXGXAMCa9MQBAPCFJRMSFMAP1BFHMCgBZCOWAbCgBZqRbGXAMCa9MQBAPCGJRMSFMAP1BGHMCgBZCfWAbqRbGXAMCa9MQBAPCEJRMSFMAP1BEHMCgBZCdWAbqRbGXAMCa9MQBAPCIJRMSFMAPCLJRMAP2BIC8cWAbqRbMAbCFrCBAbCFZl9zAQJHQRbMGXGXAGCG9HQBABAT87FBABCIJAb87FBABCGJAO87FBSFMAEATjGBAECNJAbjGBAECIJAOjGBMALCoBJAKCEWJHYAOjGBAYATjGIALAICGWJATjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAICFJHICbZCGWJAOjGBALCoBJAKCGJCbZCEWJHOATjGBAOAbjGIALAIAm9FAmCb6qJHICbZCGWJAbjGBAIAt9FAtCb6qJRIAKCEJRKMANCFJRNABCKJRBAECSJREAKCbZRKAICbZRIAfCEJHfAF9JQBMMCBC99AMAc6yRKMALCoFJ8kUUUUBAKM/tIFGa8jUUUUBCTlRLC9+RKGXAFCLJAI9LQBCaRKAE2BBC/+FZC/QF9HQBALhB83ENAECFJRKAEAIJC98JREGXAF9FQBGXAGCG6QBEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMALCNJAICFZCGWqHGAICGrCBAICFrCFZl9zAG8oGBJHIjGBABAIjGBABCIJRBAFCaJHFQBSGMMEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMABAICGrCBAICFrCFZl9zALCNJAICFZCGWqHI8oGBJHG87FBAIAGjGBABCGJRBAFCaJHFQBMMCBC99AKAE6yRKMAKM+lLKFaF99GaG99FaG99GXGXAGCI9HQBAF9FQFEXGXGX9DBBB8/9DBBB+/ABCGJHG1BB+yAB1BBHE+yHI+L+TABCFJHL1BBHK+yHO+L+THN9DBBBB9gHVyAN9DBB/+hANAN+U9DBBBBANAVyHcAc+MHMAECa3yAI+SHIAI+UAcAMAKCa3yAO+SHcAc+U+S+S+R+VHO+U+SHN+L9DBBB9P9d9FQBAN+oRESFMCUUUU94REMAGAE86BBGXGX9DBBB8/9DBBB+/Ac9DBBBB9gyAcAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMALAG86BBGXGX9DBBB8/9DBBB+/AI9DBBBB9gyAIAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMABAG86BBABCIJRBAFCaJHFQBSGMMAF9FQBEXGXGX9DBBB8/9DBBB+/ABCIJHG8uFB+yAB8uFBHE+yHI+L+TABCGJHL8uFBHK+yHO+L+THN9DBBBB9gHVyAN9DB/+g6ANAN+U9DBBBBANAVyHcAc+MHMAECa3yAI+SHIAI+UAcAMAKCa3yAO+SHcAc+U+S+S+R+VHO+U+SHN+L9DBBB9P9d9FQBAN+oRESFMCUUUU94REMAGAE87FBGXGX9DBBB8/9DBBB+/Ac9DBBBB9gyAcAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMALAG87FBGXGX9DBBB8/9DBBB+/AI9DBBBB9gyAIAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMABAG87FBABCNJRBAFCaJHFQBMMM/SEIEaE99EaF99GXAF9FQBCBREABRIEXGXGX9D/zI818/AICKJ8uFBHLCEq+y+VHKAI8uFB+y+UHO9DB/+g6+U9DBBB8/9DBBB+/AO9DBBBB9gy+SHN+L9DBBB9P9d9FQBAN+oRVSFMCUUUU94RVMAICIJ8uFBRcAICGJ8uFBRMABALCFJCEZAEqCFWJAV87FBGXGXAKAM+y+UHN9DB/+g6+U9DBBB8/9DBBB+/AN9DBBBB9gy+SHS+L9DBBB9P9d9FQBAS+oRMSFMCUUUU94RMMABALCGJCEZAEqCFWJAM87FBGXGXAKAc+y+UHK9DB/+g6+U9DBBB8/9DBBB+/AK9DBBBB9gy+SHS+L9DBBB9P9d9FQBAS+oRcSFMCUUUU94RcMABALCaJCEZAEqCFWJAc87FBGXGX9DBBU8/AOAO+U+TANAN+U+TAKAK+U+THO9DBBBBAO9DBBBB9gy+R9DB/+g6+U9DBBB8/+SHO+L9DBBB9P9d9FQBAO+oRcSFMCUUUU94RcMABALCEZAEqCFWJAc87FBAICNJRIAECIJREAFCaJHFQBMMM9JBGXAGCGrAF9sHF9FQBEXABAB8oGBHGCNWCN91+yAGCi91CnWCUUU/8EJ+++U84GBABCIJRBAFCaJHFQBMMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEM/lFFFaGXGXAFABqCEZ9FQBABRESFMGXGXAGCT9PQBABRESFMABREEXAEAF8oGBjGBAECIJAFCIJ8oGBjGBAECNJAFCNJ8oGBjGBAECSJAFCSJ8oGBjGBAECTJREAFCTJRFAGC9wJHGCb9LQBMMAGCI9JQBEXAEAF8oGBjGBAFCIJRFAECIJREAGC98JHGCE9LQBMMGXAG9FQBEXAEAF2BB86BBAECFJREAFCFJRFAGCaJHGQBMMABMoFFGaGXGXABCEZ9FQBABRESFMAFCgFZC+BwsN9sRIGXGXAGCT9PQBABRESFMABREEXAEAIjGBAECSJAIjGBAECNJAIjGBAECIJAIjGBAECTJREAGC9wJHGCb9LQBMMAGCI9JQBEXAEAIjGBAECIJREAGC98JHGCE9LQBMMGXAG9FQBEXAEAF86BBAECFJREAGCaJHGQBMMABMMMFBCUNMIT9kBB';var wasm_simd='B9h9z9tFBBBF8dL9gBB9gLaaaaaFa9gEaaaB9gGaaB9gFaFaEQSBBFBFFGEGEGIILF9wFFFLEFBFKNFaFCx/aFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBG8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBIy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBKi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBNn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBcI9z9iqlBMc/j9JSIBTEM9+FLa8jUUUUBCTlRBCBRFEXCBRGCBREEXABCNJAGJAECUaAFAGrCFZHIy86BBAEAIJREAGCFJHGCN9HQBMAFCx+YUUBJAE86BBAFCEWCxkUUBJAB8pEN83EBAFCFJHFCUG9HQBMMkRIbaG97FaK978jUUUUBCU/KBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAG/8cBBCUoBAG9uC/wgBZHKCUGAKCUG9JyRNAECFJRKCBRVGXEXAVAF9PQFANAFAVlAVANJAF9JyRcGXGXAG9FQBAcCbJHIC9wZHMCE9sRSAMCFWRQAICIrCEJCGrRfCBRbEXAKRTCBRtGXEXGXAOATlAf9PQBCBRKSLMALCU/CBJAtAM9sJRmATAfJRKCBREGXAMCoB9JQBAOAKlC/gB9JQBCBRIEXAmAIJREGXGXGXGXGXATAICKrJ2BBHYCEZfIBFGEBMAECBDtDMIBSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAEAKDBBBDMIBAKCTJRKMGXGXGXGXGXAYCGrCEZfIBFGEBMAECBDtDMITSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMITAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMITAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAEAKDBBBDMITAKCTJRKMGXGXGXGXGXAYCIrCEZfIBFGEBMAECBDtDMIASEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIAAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIAAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAEAKDBBBDMIAAKCTJRKMGXGXGXGXGXAYCKrfIBFGEBMAECBDtDMI8wSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBAYCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMI8wAKCIJAnDeBJAYCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBAYCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMI8wAKCNJAnDeBJAYCx+YUUBJ2BBJRKSFMAEAKDBBBDMI8wAKCTJRKMAICoBJREAICUFJAM9LQFAERIAOAKlC/fB9LQBMMGXAEAM9PQBAECErRIEXGXAOAKlCi9PQBCBRKSOMAmAEJRYGXGXGXGXGXATAECKrJ2BBAICKZrCEZfIBFGEBMAYCBDtDMIBSEMAYAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAYAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAYAKDBBBDMIBAKCTJRKMAICGJRIAECTJHEAM9JQBMMGXAK9FQBAKRTAtCFJHtCI6QGSFMMCBRKSEMGXAM9FQBALCUGJAbJREALAbJDBGBRnCBRYEXAEALCU/CBJAYJHIDBIBHdCFD9tAdCFDbHPD9OD9hD9RHdAIAMJDBIBHiCFD9tAiAPD9OD9hD9RHiDQBTFtGmEYIPLdKeOnH8ZAIAQJDBIBHpCFD9tApAPD9OD9hD9RHpAIASJDBIBHyCFD9tAyAPD9OD9hD9RHyDQBTFtGmEYIPLdKeOnH8cDQBFTtGEmYILPdKOenHPAPDQBFGEBFGEBFGEBFGEAnD9uHnDyBjGBAEAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJHIAnA8ZA8cDQNVi8ZcMpySQ8c8dfb8e8fHPAPDQBFGEBFGEBFGEBFGED9uHnDyBjGBAIAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJHIAnAdAiDQNiV8ZcpMyS8cQ8df8eb8fHdApAyDQNiV8ZcpMyS8cQ8df8eb8fHiDQBFTtGEmYILPdKOenHPAPDQBFGEBFGEBFGEBFGED9uHnDyBjGBAIAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJHIAnAdAiDQNVi8ZcMpySQ8c8dfb8e8fHPAPDQBFGEBFGEBFGEBFGED9uHnDyBjGBAIAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJREAYCTJHYAM9JQBMMAbCIJHbAG9JQBMMABAVAG9sJALCUGJAcAG9s/8cBBALALCUGJAcCaJAG9sJAG/8cBBMAcCBAKyAVJRVAKQBMC9+RKSFMCBC99AOAKlAGCAAGCA9Ly6yRKMALCU/KBJ8kUUUUBAKMNBT+BUUUBM+KmFTa8jUUUUBCoFlHL8kUUUUBC9+RKGXAFCE9uHOCtJAI9LQBCaRKAE2BBHNC/wFZC/gF9HQBANCbZHVCF9LQBALCoBJCgFCUF/8MBALC84Jha83EBALC8wJha83EBALC8oJha83EBALCAJha83EBALCiJha83EBALCTJha83EBALha83ENALha83EBAEAIJC9wJRcAECFJHNAOJRMGXAF9FQBCQCbAVCF6yRSABRECBRVCBRQCBRfCBRICBRKEXGXAMAcuQBC9+RKSEMGXGXAN2BBHOC/vF9LQBALCoBJAOCIrCa9zAKJCbZCEWJHb8oGIRTAb8oGBRtGXAOCbZHbAS9PQBALAOCa9zAIJCbZCGWJ8oGBAVAbyROAb9FRbGXGXAGCG9HQBABAt87FBABCIJAO87FBABCGJAT87FBSFMAEAtjGBAECNJAOjGBAECIJATjGBMAVAbJRVALCoBJAKCEWJHmAOjGBAmATjGIALAICGWJAOjGBALCoBJAKCFJCbZHKCEWJHTAtjGBATAOjGIAIAbJRIAKCFJRKSGMGXGXAbCb6QBAQAbJAbC989zJCFJRQSFMAM1BBHbCgFZROGXGXAbCa9MQBAMCFJRMSFMAM1BFHbCgBZCOWAOCgBZqROGXAbCa9MQBAMCGJRMSFMAM1BGHbCgBZCfWAOqROGXAbCa9MQBAMCEJRMSFMAM1BEHbCgBZCdWAOqROGXAbCa9MQBAMCIJRMSFMAM2BIC8cWAOqROAMCLJRMMAOCFrCBAOCFZl9zAQJRQMGXGXAGCG9HQBABAt87FBABCIJAQ87FBABCGJAT87FBSFMAEAtjGBAECNJAQjGBAECIJATjGBMALCoBJAKCEWJHOAQjGBAOATjGIALAICGWJAQjGBALCoBJAKCFJCbZHKCEWJHOAtjGBAOAQjGIAICFJRIAKCFJRKSFMGXAOCDF9LQBALAIAcAOCbZJ2BBHbCIrHTlCbZCGWJ8oGBAVCFJHtATyROALAIAblCbZCGWJ8oGBAtAT9FHmJHtAbCbZHTyRbAT9FRTGXGXAGCG9HQBABAV87FBABCIJAb87FBABCGJAO87FBSFMAEAVjGBAECNJAbjGBAECIJAOjGBMALAICGWJAVjGBALCoBJAKCEWJHYAOjGBAYAVjGIALAICFJHICbZCGWJAOjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAIAmJCbZHICGWJAbjGBALCoBJAKCGJCbZHKCEWJHOAVjGBAOAbjGIAKCFJRKAIATJRIAtATJRVSFMAVCBAM2BBHYyHTAOC/+F6HPJROAYCbZRtGXGXAYCIrHmQBAOCFJRbSFMAORbALAIAmlCbZCGWJ8oGBROMGXGXAtQBAbCFJRVSFMAbRVALAIAYlCbZCGWJ8oGBRbMGXGXAP9FQBAMCFJRYSFMAM1BFHYCgFZRTGXGXAYCa9MQBAMCGJRYSFMAM1BGHYCgBZCOWATCgBZqRTGXAYCa9MQBAMCEJRYSFMAM1BEHYCgBZCfWATqRTGXAYCa9MQBAMCIJRYSFMAM1BIHYCgBZCdWATqRTGXAYCa9MQBAMCLJRYSFMAMCKJRYAM2BLC8cWATqRTMATCFrCBATCFZl9zAQJHQRTMGXGXAmCb6QBAYRPSFMAY1BBHMCgFZROGXGXAMCa9MQBAYCFJRPSFMAY1BFHMCgBZCOWAOCgBZqROGXAMCa9MQBAYCGJRPSFMAY1BGHMCgBZCfWAOqROGXAMCa9MQBAYCEJRPSFMAY1BEHMCgBZCdWAOqROGXAMCa9MQBAYCIJRPSFMAYCLJRPAY2BIC8cWAOqROMAOCFrCBAOCFZl9zAQJHQROMGXGXAtCb6QBAPRMSFMAP1BBHMCgFZRbGXGXAMCa9MQBAPCFJRMSFMAP1BFHMCgBZCOWAbCgBZqRbGXAMCa9MQBAPCGJRMSFMAP1BGHMCgBZCfWAbqRbGXAMCa9MQBAPCEJRMSFMAP1BEHMCgBZCdWAbqRbGXAMCa9MQBAPCIJRMSFMAPCLJRMAP2BIC8cWAbqRbMAbCFrCBAbCFZl9zAQJHQRbMGXGXAGCG9HQBABAT87FBABCIJAb87FBABCGJAO87FBSFMAEATjGBAECNJAbjGBAECIJAOjGBMALCoBJAKCEWJHYAOjGBAYATjGIALAICGWJATjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAICFJHICbZCGWJAOjGBALCoBJAKCGJCbZCEWJHOATjGBAOAbjGIALAIAm9FAmCb6qJHICbZCGWJAbjGBAIAt9FAtCb6qJRIAKCEJRKMANCFJRNABCKJRBAECSJREAKCbZRKAICbZRIAfCEJHfAF9JQBMMCBC99AMAc6yRKMALCoFJ8kUUUUBAKM/tIFGa8jUUUUBCTlRLC9+RKGXAFCLJAI9LQBCaRKAE2BBC/+FZC/QF9HQBALhB83ENAECFJRKAEAIJC98JREGXAF9FQBGXAGCG6QBEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMALCNJAICFZCGWqHGAICGrCBAICFrCFZl9zAG8oGBJHIjGBABAIjGBABCIJRBAFCaJHFQBSGMMEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMABAICGrCBAICFrCFZl9zALCNJAICFZCGWqHI8oGBJHG87FBAIAGjGBABCGJRBAFCaJHFQBMMCBC99AKAE6yRKMAKM/xLGEaK978jUUUUBCAlHE8kUUUUBGXGXAGCI9HQBGXAFC98ZHI9FQBABRGCBRLEXAGAGDBBBHKCiD+rFCiD+sFD/6FHOAKCND+rFCiD+sFD/6FAOD/gFAKCTD+rFCiD+sFD/6FHND/gFD/kFD/lFHVCBDtD+2FHcAOCUUUU94DtHMD9OD9RD/kFHO9DBB/+hDYAOAOD/mFAVAVD/mFANAcANAMD9OD9RD/kFHOAOD/mFD/kFD/kFD/jFD/nFHND/mF9DBBX9LDYHcD/kFCgFDtD9OAKCUUU94DtD9OD9QAOAND/mFAcD/kFCND+rFCU/+EDtD9OD9QAVAND/mFAcD/kFCTD+rFCUU/8ODtD9OD9QDMBBAGCTJRGALCIJHLAI9JQBMMAIAF9PQFAEAFCEZHLCGWHGqCBCTAGl/8MBAEABAICGWJHIAG/8cBBGXAL9FQBAEAEDBIBHKCiD+rFCiD+sFD/6FHOAKCND+rFCiD+sFD/6FAOD/gFAKCTD+rFCiD+sFD/6FHND/gFD/kFD/lFHVCBDtD+2FHcAOCUUUU94DtHMD9OD9RD/kFHO9DBB/+hDYAOAOD/mFAVAVD/mFANAcANAMD9OD9RD/kFHOAOD/mFD/kFD/kFD/jFD/nFHND/mF9DBBX9LDYHcD/kFCgFDtD9OAKCUUU94DtD9OD9QAOAND/mFAcD/kFCND+rFCU/+EDtD9OD9QAVAND/mFAcD/kFCTD+rFCUU/8ODtD9OD9QDMIBMAIAEAG/8cBBSFMABAFC98ZHGT+HUUUBAGAF9PQBAEAFCEZHICEWHLJCBCAALl/8MBAEABAGCEWJHGAL/8cBBAEAIT+HUUUBAGAEAL/8cBBMAECAJ8kUUUUBM+yEGGaO97GXAF9FQBCBRGEXABCTJHEAEDBBBHICBDtHLCUU98D8cFCUU98D8cEHKD9OABDBBBHOAIDQILKOSQfbPden8c8d8e8fCggFDtD9OD/6FAOAIDQBFGENVcMTtmYi8ZpyHICTD+sFD/6FHND/gFAICTD+rFCTD+sFD/6FHVD/gFD/kFD/lFHI9DB/+g6DYAVAIALD+2FHLAVCUUUU94DtHcD9OD9RD/kFHVAVD/mFAIAID/mFANALANAcD9OD9RD/kFHIAID/mFD/kFD/kFD/jFD/nFHND/mF9DBBX9LDYHLD/kFCTD+rFAVAND/mFALD/kFCggEDtD9OD9QHVAIAND/mFALD/kFCaDbCBDnGCBDnECBDnKCBDnOCBDncCBDnMCBDnfCBDnbD9OHIDQNVi8ZcMpySQ8c8dfb8e8fD9QDMBBABAOAKD9OAVAIDQBFTtGEmYILPdKOenD9QDMBBABCAJRBAGCIJHGAF9JQBMMM94FEa8jUUUUBCAlHE8kUUUUBABAFC98ZHIT+JUUUBGXAIAF9PQBAEAFCEZHLCEWHFJCBCAAFl/8MBAEABAICEWJHBAF/8cBBAEALT+JUUUBABAEAF/8cBBMAECAJ8kUUUUBM/hEIGaF97FaL978jUUUUBCTlRGGXAF9FQBCBREEXAGABDBBBHIABCTJHLDBBBHKDQILKOSQfbPden8c8d8e8fHOCTD+sFHNCID+rFDMIBAB9DBBU8/DY9D/zI818/DYANCEDtD9QD/6FD/nFHNAIAKDQBFGENVcMTtmYi8ZpyHICTD+rFCTD+sFD/6FD/mFHKAKD/mFANAICTD+sFD/6FD/mFHVAVD/mFANAOCTD+rFCTD+sFD/6FD/mFHOAOD/mFD/kFD/kFD/lFCBDtD+4FD/jF9DB/+g6DYHND/mF9DBBX9LDYHID/kFCggEDtHcD9OAVAND/mFAID/kFCTD+rFD9QHVAOAND/mFAID/kFCTD+rFAKAND/mFAID/kFAcD9OD9QHNDQBFTtGEmYILPdKOenHID8dBAGDBIBDyB+t+J83EBABCNJAID8dFAGDBIBDyF+t+J83EBALAVANDQNVi8ZcMpySQ8c8dfb8e8fHND8dBAGDBIBDyG+t+J83EBABCiJAND8dFAGDBIBDyE+t+J83EBABCAJRBAECIJHEAF9JQBMMM/3FGEaF978jUUUUBCoBlREGXAGCGrAF9sHIC98ZHL9FQBCBRGABRFEXAFAFDBBBHKCND+rFCND+sFD/6FAKCiD+sFCnD+rFCUUU/8EDtD+uFD/mFDMBBAFCTJRFAGCIJHGAL9JQBMMGXALAI9PQBAEAICEZHGCGWHFqCBCoBAFl/8MBAEABALCGWJHLAF/8cBBGXAG9FQBAEAEDBIBHKCND+rFCND+sFD/6FAKCiD+sFCnD+rFCUUU/8EDtD+uFD/mFDMIBMALAEAF/8cBBMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEMMMFBCUNMIT9tBB';var detector=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]);var wasmpack=new Uint8Array([32,0,65,253,3,1,2,34,4,106,6,5,11,8,7,20,13,33,12,16,128,9,116,64,19,113,127,15,10,21,22,14,255,66,24,54,136,107,18,23,192,26,114,118,132,17,77,101,130,144,27,87,131,44,45,74,156,154,70,167]);var FILTERS={0:'',1:'meshopt_decodeFilterOct',2:'meshopt_decodeFilterQuat',3:'meshopt_decodeFilterExp',NONE:'',OCTAHEDRAL:'meshopt_decodeFilterOct',QUATERNION:'meshopt_decodeFilterQuat',EXPONENTIAL:'meshopt_decodeFilterExp'};var DECODERS={0:'meshopt_decodeVertexBuffer',1:'meshopt_decodeIndexBuffer',2:'meshopt_decodeIndexSequence',ATTRIBUTES:'meshopt_decodeVertexBuffer',TRIANGLES:'meshopt_decodeIndexBuffer',INDICES:'meshopt_decodeIndexSequence'};function meshoptDecodeGltfBuffer(_x59,_x60,_x61,_x62,_x63){return _meshoptDecodeGltfBuffer.apply(this,arguments);}function _meshoptDecodeGltfBuffer(){_meshoptDecodeGltfBuffer=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee46(target,count,size,source,mode){var filter,instance,_args44=arguments;return _regeneratorRuntime().wrap(function _callee46$(_context49){while(1){switch(_context49.prev=_context49.next){case 0:filter=_args44.length>5&&_args44[5]!==undefined?_args44[5]:'NONE';_context49.next=3;return loadWasmInstance();case 3:instance=_context49.sent;decode$5(instance,instance.exports[DECODERS[mode]],target,count,size,source,instance.exports[FILTERS[filter||'NONE']]);case 5:case"end":return _context49.stop();}}},_callee46);}));return _meshoptDecodeGltfBuffer.apply(this,arguments);}var wasmPromise;function loadWasmInstance(){return _loadWasmInstance.apply(this,arguments);}function _loadWasmInstance(){_loadWasmInstance=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee47(){return _regeneratorRuntime().wrap(function _callee47$(_context50){while(1){switch(_context50.prev=_context50.next){case 0:if(!wasmPromise){wasmPromise=loadWasmModule();}return _context50.abrupt("return",wasmPromise);case 2:case"end":return _context50.stop();}}},_callee47);}));return _loadWasmInstance.apply(this,arguments);}function loadWasmModule(){return _loadWasmModule.apply(this,arguments);}function _loadWasmModule(){_loadWasmModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee48(){var wasm,result;return _regeneratorRuntime().wrap(function _callee48$(_context51){while(1){switch(_context51.prev=_context51.next){case 0:wasm=wasm_base;if(WebAssembly.validate(detector)){wasm=wasm_simd;console.log('Warning: meshopt_decoder is using experimental SIMD support');}_context51.next=4;return WebAssembly.instantiate(unpack(wasm),{});case 4:result=_context51.sent;_context51.next=7;return result.instance.exports.__wasm_call_ctors();case 7:return _context51.abrupt("return",result.instance);case 8:case"end":return _context51.stop();}}},_callee48);}));return _loadWasmModule.apply(this,arguments);}function unpack(data){var result=new Uint8Array(data.length);for(var _i546=0;_i546<data.length;++_i546){var ch=data.charCodeAt(_i546);result[_i546]=ch>96?ch-71:ch>64?ch-65:ch>47?ch+4:ch>46?63:62;}var write=0;for(var _i547=0;_i547<data.length;++_i547){result[write++]=result[_i547]<60?wasmpack[result[_i547]]:(result[_i547]-60)*64+result[++_i547];}return result.buffer.slice(0,write);}function decode$5(instance,fun,target,count,size,source,filter){var sbrk=instance.exports.sbrk;var count4=count+3&~3;var tp=sbrk(count4*size);var sp=sbrk(source.length);var heap=new Uint8Array(instance.exports.memory.buffer);heap.set(source,sp);var res=fun(tp,count,size,sp,source.length);if(res===0&&filter){filter(tp,count4,size);}target.set(heap.subarray(tp,tp+count*size));sbrk(tp-sbrk(0));if(res!==0){throw new Error("Malformed buffer data: ".concat(res));}}var EXT_MESHOPT_COMPRESSION='EXT_meshopt_compression';var name$6=EXT_MESHOPT_COMPRESSION;function decode$4(_x64,_x65){return _decode$.apply(this,arguments);}function _decode$(){_decode$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee49(gltfData,options){var _options$gltf,scenegraph,promises,_iterator41,_step41,bufferViewIndex;return _regeneratorRuntime().wrap(function _callee49$(_context52){while(1){switch(_context52.prev=_context52.next){case 0:scenegraph=new GLTFScenegraph(gltfData);if(options!==null&&options!==void 0&&(_options$gltf=options.gltf)!==null&&_options$gltf!==void 0&&_options$gltf.decompressMeshes){_context52.next=3;break;}return _context52.abrupt("return");case 3:promises=[];_iterator41=_createForOfIteratorHelper(gltfData.json.bufferViews||[]);try{for(_iterator41.s();!(_step41=_iterator41.n()).done;){bufferViewIndex=_step41.value;promises.push(decodeMeshoptBufferView(scenegraph,bufferViewIndex));}}catch(err){_iterator41.e(err);}finally{_iterator41.f();}_context52.next=8;return Promise.all(promises);case 8:scenegraph.removeExtension(EXT_MESHOPT_COMPRESSION);case 9:case"end":return _context52.stop();}}},_callee49);}));return _decode$.apply(this,arguments);}function decodeMeshoptBufferView(_x66,_x67){return _decodeMeshoptBufferView.apply(this,arguments);}function _decodeMeshoptBufferView(){_decodeMeshoptBufferView=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee50(scenegraph,bufferView){var meshoptExtension,_meshoptExtension$byt,byteOffset,_meshoptExtension$byt2,byteLength,byteStride,count,mode,_meshoptExtension$fil,filter,bufferIndex,buffer,source,result;return _regeneratorRuntime().wrap(function _callee50$(_context53){while(1){switch(_context53.prev=_context53.next){case 0:meshoptExtension=scenegraph.getObjectExtension(bufferView,EXT_MESHOPT_COMPRESSION);if(!meshoptExtension){_context53.next=9;break;}_meshoptExtension$byt=meshoptExtension.byteOffset,byteOffset=_meshoptExtension$byt===void 0?0:_meshoptExtension$byt,_meshoptExtension$byt2=meshoptExtension.byteLength,byteLength=_meshoptExtension$byt2===void 0?0:_meshoptExtension$byt2,byteStride=meshoptExtension.byteStride,count=meshoptExtension.count,mode=meshoptExtension.mode,_meshoptExtension$fil=meshoptExtension.filter,filter=_meshoptExtension$fil===void 0?'NONE':_meshoptExtension$fil,bufferIndex=meshoptExtension.buffer;buffer=scenegraph.gltf.buffers[bufferIndex];source=new Uint8Array(buffer.arrayBuffer,buffer.byteOffset+byteOffset,byteLength);result=new Uint8Array(scenegraph.gltf.buffers[bufferView.buffer].arrayBuffer,bufferView.byteOffset,bufferView.byteLength);_context53.next=8;return meshoptDecodeGltfBuffer(result,count,byteStride,source,mode,filter);case 8:return _context53.abrupt("return",result);case 9:return _context53.abrupt("return",null);case 10:case"end":return _context53.stop();}}},_callee50);}));return _decodeMeshoptBufferView.apply(this,arguments);}var EXT_meshopt_compression=/*#__PURE__*/Object.freeze({__proto__:null,name:name$6,decode:decode$4});var EXT_TEXTURE_WEBP='EXT_texture_webp';var name$5=EXT_TEXTURE_WEBP;function preprocess$3(gltfData,options){var scenegraph=new GLTFScenegraph(gltfData);if(!_isImageFormatSupported('image/webp')){if(scenegraph.getRequiredExtensions().includes(EXT_TEXTURE_WEBP)){throw new Error("gltf: Required extension ".concat(EXT_TEXTURE_WEBP," not supported by browser"));}return;}var json=scenegraph.json;var _iterator18=_createForOfIteratorHelper(json.textures||[]),_step18;try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var texture=_step18.value;var extension=scenegraph.getObjectExtension(texture,EXT_TEXTURE_WEBP);if(extension){texture.source=extension.source;}scenegraph.removeObjectExtension(texture,EXT_TEXTURE_WEBP);}}catch(err){_iterator18.e(err);}finally{_iterator18.f();}scenegraph.removeExtension(EXT_TEXTURE_WEBP);}var EXT_texture_webp=/*#__PURE__*/Object.freeze({__proto__:null,name:name$5,preprocess:preprocess$3});var KHR_TEXTURE_BASISU='KHR_texture_basisu';var name$4=KHR_TEXTURE_BASISU;function preprocess$2(gltfData,options){var scene=new GLTFScenegraph(gltfData);var json=scene.json;var _iterator19=_createForOfIteratorHelper(json.textures||[]),_step19;try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var texture=_step19.value;var extension=scene.getObjectExtension(texture,KHR_TEXTURE_BASISU);if(extension){texture.source=extension.source;}scene.removeObjectExtension(texture,KHR_TEXTURE_BASISU);}}catch(err){_iterator19.e(err);}finally{_iterator19.f();}scene.removeExtension(KHR_TEXTURE_BASISU);}var KHR_texture_basisu=/*#__PURE__*/Object.freeze({__proto__:null,name:name$4,preprocess:preprocess$2});var VERSION$1="3.2.6";var DEFAULT_DRACO_OPTIONS={draco:{decoderType:(typeof WebAssembly==="undefined"?"undefined":_typeof(WebAssembly))==='object'?'wasm':'js',libraryPath:'libs/',extraAttributes:{},attributeNameEntry:undefined}};var DracoLoader$1={name:'Draco',id:'draco',module:'draco',shapes:['mesh'],version:VERSION$1,worker:true,extensions:['drc'],mimeTypes:['application/octet-stream'],binary:true,tests:['DRACO'],options:DEFAULT_DRACO_OPTIONS};function getMeshBoundingBox(attributes){var minX=Infinity;var minY=Infinity;var minZ=Infinity;var maxX=-Infinity;var maxY=-Infinity;var maxZ=-Infinity;var positions=attributes.POSITION?attributes.POSITION.value:[];var len=positions&&positions.length;for(var _i548=0;_i548<len;_i548+=3){var x=positions[_i548];var y=positions[_i548+1];var z=positions[_i548+2];minX=x<minX?x:minX;minY=y<minY?y:minY;minZ=z<minZ?z:minZ;maxX=x>maxX?x:maxX;maxY=y>maxY?y:maxY;maxZ=z>maxZ?z:maxZ;}return[[minX,minY,minZ],[maxX,maxY,maxZ]];}function assert(condition,message){if(!condition){throw new Error(message||'loader assertion failed.');}}var Schema=/*#__PURE__*/function(){function Schema(fields,metadata){_classCallCheck(this,Schema);_defineProperty(this,"fields",void 0);_defineProperty(this,"metadata",void 0);assert(Array.isArray(fields));checkNames(fields);this.fields=fields;this.metadata=metadata||new Map();}_createClass(Schema,[{key:"compareTo",value:function compareTo(other){if(this.metadata!==other.metadata){return false;}if(this.fields.length!==other.fields.length){return false;}for(var _i549=0;_i549<this.fields.length;++_i549){if(!this.fields[_i549].compareTo(other.fields[_i549])){return false;}}return true;}},{key:"select",value:function select(){var nameMap=Object.create(null);for(var _len124=arguments.length,columnNames=new Array(_len124),_key8=0;_key8<_len124;_key8++){columnNames[_key8]=arguments[_key8];}for(var _i550=0,_columnNames=columnNames;_i550<_columnNames.length;_i550++){var _name7=_columnNames[_i550];nameMap[_name7]=true;}var selectedFields=this.fields.filter(function(field){return nameMap[field.name];});return new Schema(selectedFields,this.metadata);}},{key:"selectAt",value:function selectAt(){var _this104=this;for(var _len125=arguments.length,columnIndices=new Array(_len125),_key9=0;_key9<_len125;_key9++){columnIndices[_key9]=arguments[_key9];}var selectedFields=columnIndices.map(function(index){return _this104.fields[index];}).filter(Boolean);return new Schema(selectedFields,this.metadata);}},{key:"assign",value:function assign(schemaOrFields){var fields;var metadata=this.metadata;if(schemaOrFields instanceof Schema){var otherSchema=schemaOrFields;fields=otherSchema.fields;metadata=mergeMaps(mergeMaps(new Map(),this.metadata),otherSchema.metadata);}else{fields=schemaOrFields;}var fieldMap=Object.create(null);var _iterator20=_createForOfIteratorHelper(this.fields),_step20;try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var field=_step20.value;fieldMap[field.name]=field;}}catch(err){_iterator20.e(err);}finally{_iterator20.f();}var _iterator21=_createForOfIteratorHelper(fields),_step21;try{for(_iterator21.s();!(_step21=_iterator21.n()).done;){var _field=_step21.value;fieldMap[_field.name]=_field;}}catch(err){_iterator21.e(err);}finally{_iterator21.f();}var mergedFields=Object.values(fieldMap);return new Schema(mergedFields,metadata);}}]);return Schema;}();function checkNames(fields){var usedNames={};var _iterator22=_createForOfIteratorHelper(fields),_step22;try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var field=_step22.value;if(usedNames[field.name]){console.warn('Schema: duplicated field name',field.name,field);}usedNames[field.name]=true;}}catch(err){_iterator22.e(err);}finally{_iterator22.f();}}function mergeMaps(m1,m2){return new Map([].concat(_toConsumableArray(m1||new Map()),_toConsumableArray(m2||new Map())));}var Field=/*#__PURE__*/function(){function Field(name,type){var nullable=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var metadata=arguments.length>3&&arguments[3]!==undefined?arguments[3]:new Map();_classCallCheck(this,Field);_defineProperty(this,"name",void 0);_defineProperty(this,"type",void 0);_defineProperty(this,"nullable",void 0);_defineProperty(this,"metadata",void 0);this.name=name;this.type=type;this.nullable=nullable;this.metadata=metadata;}_createClass(Field,[{key:"typeId",get:function get(){return this.type&&this.type.typeId;}},{key:"clone",value:function clone(){return new Field(this.name,this.type,this.nullable,this.metadata);}},{key:"compareTo",value:function compareTo(other){return this.name===other.name&&this.type===other.type&&this.nullable===other.nullable&&this.metadata===other.metadata;}},{key:"toString",value:function toString(){return"".concat(this.type).concat(this.nullable?', nullable':'').concat(this.metadata?", metadata: ".concat(this.metadata):'');}}]);return Field;}();var Type;(function(Type){Type[Type["NONE"]=0]="NONE";Type[Type["Null"]=1]="Null";Type[Type["Int"]=2]="Int";Type[Type["Float"]=3]="Float";Type[Type["Binary"]=4]="Binary";Type[Type["Utf8"]=5]="Utf8";Type[Type["Bool"]=6]="Bool";Type[Type["Decimal"]=7]="Decimal";Type[Type["Date"]=8]="Date";Type[Type["Time"]=9]="Time";Type[Type["Timestamp"]=10]="Timestamp";Type[Type["Interval"]=11]="Interval";Type[Type["List"]=12]="List";Type[Type["Struct"]=13]="Struct";Type[Type["Union"]=14]="Union";Type[Type["FixedSizeBinary"]=15]="FixedSizeBinary";Type[Type["FixedSizeList"]=16]="FixedSizeList";Type[Type["Map"]=17]="Map";Type[Type["Dictionary"]=-1]="Dictionary";Type[Type["Int8"]=-2]="Int8";Type[Type["Int16"]=-3]="Int16";Type[Type["Int32"]=-4]="Int32";Type[Type["Int64"]=-5]="Int64";Type[Type["Uint8"]=-6]="Uint8";Type[Type["Uint16"]=-7]="Uint16";Type[Type["Uint32"]=-8]="Uint32";Type[Type["Uint64"]=-9]="Uint64";Type[Type["Float16"]=-10]="Float16";Type[Type["Float32"]=-11]="Float32";Type[Type["Float64"]=-12]="Float64";Type[Type["DateDay"]=-13]="DateDay";Type[Type["DateMillisecond"]=-14]="DateMillisecond";Type[Type["TimestampSecond"]=-15]="TimestampSecond";Type[Type["TimestampMillisecond"]=-16]="TimestampMillisecond";Type[Type["TimestampMicrosecond"]=-17]="TimestampMicrosecond";Type[Type["TimestampNanosecond"]=-18]="TimestampNanosecond";Type[Type["TimeSecond"]=-19]="TimeSecond";Type[Type["TimeMillisecond"]=-20]="TimeMillisecond";Type[Type["TimeMicrosecond"]=-21]="TimeMicrosecond";Type[Type["TimeNanosecond"]=-22]="TimeNanosecond";Type[Type["DenseUnion"]=-23]="DenseUnion";Type[Type["SparseUnion"]=-24]="SparseUnion";Type[Type["IntervalDayTime"]=-25]="IntervalDayTime";Type[Type["IntervalYearMonth"]=-26]="IntervalYearMonth";})(Type||(Type={}));var _Symbol$toStringTag,_Symbol$toStringTag2,_Symbol$toStringTag7;var DataType=/*#__PURE__*/function(){function DataType(){_classCallCheck(this,DataType);}_createClass(DataType,[{key:"typeId",get:function get(){return Type.NONE;}},{key:"compareTo",value:function compareTo(other){return this===other;}}],[{key:"isNull",value:function isNull(x){return x&&x.typeId===Type.Null;}},{key:"isInt",value:function isInt(x){return x&&x.typeId===Type.Int;}},{key:"isFloat",value:function isFloat(x){return x&&x.typeId===Type.Float;}},{key:"isBinary",value:function isBinary(x){return x&&x.typeId===Type.Binary;}},{key:"isUtf8",value:function isUtf8(x){return x&&x.typeId===Type.Utf8;}},{key:"isBool",value:function isBool(x){return x&&x.typeId===Type.Bool;}},{key:"isDecimal",value:function isDecimal(x){return x&&x.typeId===Type.Decimal;}},{key:"isDate",value:function isDate(x){return x&&x.typeId===Type.Date;}},{key:"isTime",value:function isTime(x){return x&&x.typeId===Type.Time;}},{key:"isTimestamp",value:function isTimestamp(x){return x&&x.typeId===Type.Timestamp;}},{key:"isInterval",value:function isInterval(x){return x&&x.typeId===Type.Interval;}},{key:"isList",value:function isList(x){return x&&x.typeId===Type.List;}},{key:"isStruct",value:function isStruct(x){return x&&x.typeId===Type.Struct;}},{key:"isUnion",value:function isUnion(x){return x&&x.typeId===Type.Union;}},{key:"isFixedSizeBinary",value:function isFixedSizeBinary(x){return x&&x.typeId===Type.FixedSizeBinary;}},{key:"isFixedSizeList",value:function isFixedSizeList(x){return x&&x.typeId===Type.FixedSizeList;}},{key:"isMap",value:function isMap(x){return x&&x.typeId===Type.Map;}},{key:"isDictionary",value:function isDictionary(x){return x&&x.typeId===Type.Dictionary;}}]);return DataType;}();_Symbol$toStringTag=Symbol.toStringTag;var Int=/*#__PURE__*/function(_DataType,_Symbol$toStringTag3){_inherits(Int,_DataType);var _super67=_createSuper(Int);function Int(isSigned,bitWidth){var _this105;_classCallCheck(this,Int);_this105=_super67.call(this);_defineProperty(_assertThisInitialized(_this105),"isSigned",void 0);_defineProperty(_assertThisInitialized(_this105),"bitWidth",void 0);_this105.isSigned=isSigned;_this105.bitWidth=bitWidth;return _this105;}_createClass(Int,[{key:"typeId",get:function get(){return Type.Int;}},{key:_Symbol$toStringTag3,get:function get(){return'Int';}},{key:"toString",value:function toString(){return"".concat(this.isSigned?'I':'Ui',"nt").concat(this.bitWidth);}}]);return Int;}(DataType,_Symbol$toStringTag);var Int8=/*#__PURE__*/function(_Int){_inherits(Int8,_Int);var _super68=_createSuper(Int8);function Int8(){_classCallCheck(this,Int8);return _super68.call(this,true,8);}return _createClass(Int8);}(Int);var Int16=/*#__PURE__*/function(_Int2){_inherits(Int16,_Int2);var _super69=_createSuper(Int16);function Int16(){_classCallCheck(this,Int16);return _super69.call(this,true,16);}return _createClass(Int16);}(Int);var Int32=/*#__PURE__*/function(_Int3){_inherits(Int32,_Int3);var _super70=_createSuper(Int32);function Int32(){_classCallCheck(this,Int32);return _super70.call(this,true,32);}return _createClass(Int32);}(Int);var Uint8=/*#__PURE__*/function(_Int4){_inherits(Uint8,_Int4);var _super71=_createSuper(Uint8);function Uint8(){_classCallCheck(this,Uint8);return _super71.call(this,false,8);}return _createClass(Uint8);}(Int);var Uint16=/*#__PURE__*/function(_Int5){_inherits(Uint16,_Int5);var _super72=_createSuper(Uint16);function Uint16(){_classCallCheck(this,Uint16);return _super72.call(this,false,16);}return _createClass(Uint16);}(Int);var Uint32=/*#__PURE__*/function(_Int6){_inherits(Uint32,_Int6);var _super73=_createSuper(Uint32);function Uint32(){_classCallCheck(this,Uint32);return _super73.call(this,false,32);}return _createClass(Uint32);}(Int);var Precision={HALF:16,SINGLE:32,DOUBLE:64};_Symbol$toStringTag2=Symbol.toStringTag;var Float=/*#__PURE__*/function(_DataType2,_Symbol$toStringTag4){_inherits(Float,_DataType2);var _super74=_createSuper(Float);function Float(precision){var _this106;_classCallCheck(this,Float);_this106=_super74.call(this);_defineProperty(_assertThisInitialized(_this106),"precision",void 0);_this106.precision=precision;return _this106;}_createClass(Float,[{key:"typeId",get:function get(){return Type.Float;}},{key:_Symbol$toStringTag4,get:function get(){return'Float';}},{key:"toString",value:function toString(){return"Float".concat(this.precision);}}]);return Float;}(DataType,_Symbol$toStringTag2);var Float32=/*#__PURE__*/function(_Float){_inherits(Float32,_Float);var _super75=_createSuper(Float32);function Float32(){_classCallCheck(this,Float32);return _super75.call(this,Precision.SINGLE);}return _createClass(Float32);}(Float);var Float64=/*#__PURE__*/function(_Float2){_inherits(Float64,_Float2);var _super76=_createSuper(Float64);function Float64(){_classCallCheck(this,Float64);return _super76.call(this,Precision.DOUBLE);}return _createClass(Float64);}(Float);_Symbol$toStringTag7=Symbol.toStringTag;var FixedSizeList=/*#__PURE__*/function(_DataType3,_Symbol$toStringTag5){_inherits(FixedSizeList,_DataType3);var _super77=_createSuper(FixedSizeList);function FixedSizeList(listSize,child){var _this107;_classCallCheck(this,FixedSizeList);_this107=_super77.call(this);_defineProperty(_assertThisInitialized(_this107),"listSize",void 0);_defineProperty(_assertThisInitialized(_this107),"children",void 0);_this107.listSize=listSize;_this107.children=[child];return _this107;}_createClass(FixedSizeList,[{key:"typeId",get:function get(){return Type.FixedSizeList;}},{key:"valueType",get:function get(){return this.children[0].type;}},{key:"valueField",get:function get(){return this.children[0];}},{key:_Symbol$toStringTag5,get:function get(){return'FixedSizeList';}},{key:"toString",value:function toString(){return"FixedSizeList[".concat(this.listSize,"]<").concat(this.valueType,">");}}]);return FixedSizeList;}(DataType,_Symbol$toStringTag7);function getArrowTypeFromTypedArray(array){switch(array.constructor){case Int8Array:return new Int8();case Uint8Array:return new Uint8();case Int16Array:return new Int16();case Uint16Array:return new Uint16();case Int32Array:return new Int32();case Uint32Array:return new Uint32();case Float32Array:return new Float32();case Float64Array:return new Float64();default:throw new Error('array type not supported');}}function deduceMeshField(attributeName,attribute,optionalMetadata){var type=getArrowTypeFromTypedArray(attribute.value);var metadata=optionalMetadata?optionalMetadata:makeMeshAttributeMetadata(attribute);var field=new Field(attributeName,new FixedSizeList(attribute.size,new Field('value',type)),false,metadata);return field;}function makeMeshAttributeMetadata(attribute){var result=new Map();if('byteOffset'in attribute){result.set('byteOffset',attribute.byteOffset.toString(10));}if('byteStride'in attribute){result.set('byteStride',attribute.byteStride.toString(10));}if('normalized'in attribute){result.set('normalized',attribute.normalized.toString());}return result;}function getDracoSchema(attributes,loaderData,indices){var metadataMap=makeMetadata(loaderData.metadata);var fields=[];var namedLoaderDataAttributes=transformAttributesLoaderData(loaderData.attributes);for(var attributeName in attributes){var attribute=attributes[attributeName];var field=getArrowFieldFromAttribute(attributeName,attribute,namedLoaderDataAttributes[attributeName]);fields.push(field);}if(indices){var indicesField=getArrowFieldFromAttribute('indices',indices);fields.push(indicesField);}return new Schema(fields,metadataMap);}function transformAttributesLoaderData(loaderData){var result={};for(var key in loaderData){var dracoAttribute=loaderData[key];result[dracoAttribute.name||'undefined']=dracoAttribute;}return result;}function getArrowFieldFromAttribute(attributeName,attribute,loaderData){var metadataMap=loaderData?makeMetadata(loaderData.metadata):undefined;var field=deduceMeshField(attributeName,attribute,metadataMap);return field;}function makeMetadata(metadata){var metadataMap=new Map();for(var key in metadata){metadataMap.set("".concat(key,".string"),JSON.stringify(metadata[key]));}return metadataMap;}var DRACO_TO_GLTF_ATTRIBUTE_NAME_MAP={POSITION:'POSITION',NORMAL:'NORMAL',COLOR:'COLOR_0',TEX_COORD:'TEXCOORD_0'};var DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP={1:Int8Array,2:Uint8Array,3:Int16Array,4:Uint16Array,5:Int32Array,6:Uint32Array,9:Float32Array};var INDEX_ITEM_SIZE=4;var DracoParser=/*#__PURE__*/function(){function DracoParser(draco){_classCallCheck(this,DracoParser);_defineProperty(this,"draco",void 0);_defineProperty(this,"decoder",void 0);_defineProperty(this,"metadataQuerier",void 0);this.draco=draco;this.decoder=new this.draco.Decoder();this.metadataQuerier=new this.draco.MetadataQuerier();}_createClass(DracoParser,[{key:"destroy",value:function destroy(){this.draco.destroy(this.decoder);this.draco.destroy(this.metadataQuerier);}},{key:"parseSync",value:function parseSync(arrayBuffer){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var buffer=new this.draco.DecoderBuffer();buffer.Init(new Int8Array(arrayBuffer),arrayBuffer.byteLength);this._disableAttributeTransforms(options);var geometry_type=this.decoder.GetEncodedGeometryType(buffer);var dracoGeometry=geometry_type===this.draco.TRIANGULAR_MESH?new this.draco.Mesh():new this.draco.PointCloud();try{var dracoStatus;switch(geometry_type){case this.draco.TRIANGULAR_MESH:dracoStatus=this.decoder.DecodeBufferToMesh(buffer,dracoGeometry);break;case this.draco.POINT_CLOUD:dracoStatus=this.decoder.DecodeBufferToPointCloud(buffer,dracoGeometry);break;default:throw new Error('DRACO: Unknown geometry type.');}if(!dracoStatus.ok()||!dracoGeometry.ptr){var message="DRACO decompression failed: ".concat(dracoStatus.error_msg());throw new Error(message);}var loaderData=this._getDracoLoaderData(dracoGeometry,geometry_type,options);var _geometry2=this._getMeshData(dracoGeometry,loaderData,options);var boundingBox=getMeshBoundingBox(_geometry2.attributes);var schema=getDracoSchema(_geometry2.attributes,loaderData,_geometry2.indices);var data=_objectSpread(_objectSpread({loader:'draco',loaderData:loaderData,header:{vertexCount:dracoGeometry.num_points(),boundingBox:boundingBox}},_geometry2),{},{schema:schema});return data;}finally{this.draco.destroy(buffer);if(dracoGeometry){this.draco.destroy(dracoGeometry);}}}},{key:"_getDracoLoaderData",value:function _getDracoLoaderData(dracoGeometry,geometry_type,options){var metadata=this._getTopLevelMetadata(dracoGeometry);var attributes=this._getDracoAttributes(dracoGeometry,options);return{geometry_type:geometry_type,num_attributes:dracoGeometry.num_attributes(),num_points:dracoGeometry.num_points(),num_faces:dracoGeometry instanceof this.draco.Mesh?dracoGeometry.num_faces():0,metadata:metadata,attributes:attributes};}},{key:"_getDracoAttributes",value:function _getDracoAttributes(dracoGeometry,options){var dracoAttributes={};for(var attributeId=0;attributeId<dracoGeometry.num_attributes();attributeId++){var dracoAttribute=this.decoder.GetAttribute(dracoGeometry,attributeId);var metadata=this._getAttributeMetadata(dracoGeometry,attributeId);dracoAttributes[dracoAttribute.unique_id()]={unique_id:dracoAttribute.unique_id(),attribute_type:dracoAttribute.attribute_type(),data_type:dracoAttribute.data_type(),num_components:dracoAttribute.num_components(),byte_offset:dracoAttribute.byte_offset(),byte_stride:dracoAttribute.byte_stride(),normalized:dracoAttribute.normalized(),attribute_index:attributeId,metadata:metadata};var quantization=this._getQuantizationTransform(dracoAttribute,options);if(quantization){dracoAttributes[dracoAttribute.unique_id()].quantization_transform=quantization;}var octahedron=this._getOctahedronTransform(dracoAttribute,options);if(octahedron){dracoAttributes[dracoAttribute.unique_id()].octahedron_transform=octahedron;}}return dracoAttributes;}},{key:"_getMeshData",value:function _getMeshData(dracoGeometry,loaderData,options){var attributes=this._getMeshAttributes(loaderData,dracoGeometry,options);var positionAttribute=attributes.POSITION;if(!positionAttribute){throw new Error('DRACO: No position attribute found.');}if(dracoGeometry instanceof this.draco.Mesh){switch(options.topology){case'triangle-strip':return{topology:'triangle-strip',mode:4,attributes:attributes,indices:{value:this._getTriangleStripIndices(dracoGeometry),size:1}};case'triangle-list':default:return{topology:'triangle-list',mode:5,attributes:attributes,indices:{value:this._getTriangleListIndices(dracoGeometry),size:1}};}}return{topology:'point-list',mode:0,attributes:attributes};}},{key:"_getMeshAttributes",value:function _getMeshAttributes(loaderData,dracoGeometry,options){var attributes={};for(var _i551=0,_Object$values=Object.values(loaderData.attributes);_i551<_Object$values.length;_i551++){var loaderAttribute=_Object$values[_i551];var attributeName=this._deduceAttributeName(loaderAttribute,options);loaderAttribute.name=attributeName;var _this$_getAttributeVa=this._getAttributeValues(dracoGeometry,loaderAttribute),value=_this$_getAttributeVa.value,size=_this$_getAttributeVa.size;attributes[attributeName]={value:value,size:size,byteOffset:loaderAttribute.byte_offset,byteStride:loaderAttribute.byte_stride,normalized:loaderAttribute.normalized};}return attributes;}},{key:"_getTriangleListIndices",value:function _getTriangleListIndices(dracoGeometry){var numFaces=dracoGeometry.num_faces();var numIndices=numFaces*3;var byteLength=numIndices*INDEX_ITEM_SIZE;var ptr=this.draco._malloc(byteLength);try{this.decoder.GetTrianglesUInt32Array(dracoGeometry,byteLength,ptr);return new Uint32Array(this.draco.HEAPF32.buffer,ptr,numIndices).slice();}finally{this.draco._free(ptr);}}},{key:"_getTriangleStripIndices",value:function _getTriangleStripIndices(dracoGeometry){var dracoArray=new this.draco.DracoInt32Array();try{this.decoder.GetTriangleStripsFromMesh(dracoGeometry,dracoArray);return getUint32Array(dracoArray);}finally{this.draco.destroy(dracoArray);}}},{key:"_getAttributeValues",value:function _getAttributeValues(dracoGeometry,attribute){var TypedArrayCtor=DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP[attribute.data_type];var numComponents=attribute.num_components;var numPoints=dracoGeometry.num_points();var numValues=numPoints*numComponents;var byteLength=numValues*TypedArrayCtor.BYTES_PER_ELEMENT;var dataType=getDracoDataType(this.draco,TypedArrayCtor);var value;var ptr=this.draco._malloc(byteLength);try{var dracoAttribute=this.decoder.GetAttribute(dracoGeometry,attribute.attribute_index);this.decoder.GetAttributeDataArrayForAllPoints(dracoGeometry,dracoAttribute,dataType,byteLength,ptr);value=new TypedArrayCtor(this.draco.HEAPF32.buffer,ptr,numValues).slice();}finally{this.draco._free(ptr);}return{value:value,size:numComponents};}},{key:"_deduceAttributeName",value:function _deduceAttributeName(attribute,options){var uniqueId=attribute.unique_id;for(var _i552=0,_Object$entries3=Object.entries(options.extraAttributes||{});_i552<_Object$entries3.length;_i552++){var _Object$entries3$_i=_slicedToArray(_Object$entries3[_i552],2),attributeName=_Object$entries3$_i[0],attributeUniqueId=_Object$entries3$_i[1];if(attributeUniqueId===uniqueId){return attributeName;}}var thisAttributeType=attribute.attribute_type;for(var dracoAttributeConstant in DRACO_TO_GLTF_ATTRIBUTE_NAME_MAP){var attributeType=this.draco[dracoAttributeConstant];if(attributeType===thisAttributeType){return DRACO_TO_GLTF_ATTRIBUTE_NAME_MAP[dracoAttributeConstant];}}var entryName=options.attributeNameEntry||'name';if(attribute.metadata[entryName]){return attribute.metadata[entryName].string;}return"CUSTOM_ATTRIBUTE_".concat(uniqueId);}},{key:"_getTopLevelMetadata",value:function _getTopLevelMetadata(dracoGeometry){var dracoMetadata=this.decoder.GetMetadata(dracoGeometry);return this._getDracoMetadata(dracoMetadata);}},{key:"_getAttributeMetadata",value:function _getAttributeMetadata(dracoGeometry,attributeId){var dracoMetadata=this.decoder.GetAttributeMetadata(dracoGeometry,attributeId);return this._getDracoMetadata(dracoMetadata);}},{key:"_getDracoMetadata",value:function _getDracoMetadata(dracoMetadata){if(!dracoMetadata||!dracoMetadata.ptr){return{};}var result={};var numEntries=this.metadataQuerier.NumEntries(dracoMetadata);for(var entryIndex=0;entryIndex<numEntries;entryIndex++){var entryName=this.metadataQuerier.GetEntryName(dracoMetadata,entryIndex);result[entryName]=this._getDracoMetadataField(dracoMetadata,entryName);}return result;}},{key:"_getDracoMetadataField",value:function _getDracoMetadataField(dracoMetadata,entryName){var dracoArray=new this.draco.DracoInt32Array();try{this.metadataQuerier.GetIntEntryArray(dracoMetadata,entryName,dracoArray);var intArray=getInt32Array(dracoArray);return{"int":this.metadataQuerier.GetIntEntry(dracoMetadata,entryName),string:this.metadataQuerier.GetStringEntry(dracoMetadata,entryName),"double":this.metadataQuerier.GetDoubleEntry(dracoMetadata,entryName),intArray:intArray};}finally{this.draco.destroy(dracoArray);}}},{key:"_disableAttributeTransforms",value:function _disableAttributeTransforms(options){var _options$quantizedAtt=options.quantizedAttributes,quantizedAttributes=_options$quantizedAtt===void 0?[]:_options$quantizedAtt,_options$octahedronAt=options.octahedronAttributes,octahedronAttributes=_options$octahedronAt===void 0?[]:_options$octahedronAt;var skipAttributes=[].concat(_toConsumableArray(quantizedAttributes),_toConsumableArray(octahedronAttributes));var _iterator23=_createForOfIteratorHelper(skipAttributes),_step23;try{for(_iterator23.s();!(_step23=_iterator23.n()).done;){var dracoAttributeName=_step23.value;this.decoder.SkipAttributeTransform(this.draco[dracoAttributeName]);}}catch(err){_iterator23.e(err);}finally{_iterator23.f();}}},{key:"_getQuantizationTransform",value:function _getQuantizationTransform(dracoAttribute,options){var _this108=this;var _options$quantizedAtt2=options.quantizedAttributes,quantizedAttributes=_options$quantizedAtt2===void 0?[]:_options$quantizedAtt2;var attribute_type=dracoAttribute.attribute_type();var skip=quantizedAttributes.map(function(type){return _this108.decoder[type];}).includes(attribute_type);if(skip){var transform=new this.draco.AttributeQuantizationTransform();try{if(transform.InitFromAttribute(dracoAttribute)){return{quantization_bits:transform.quantization_bits(),range:transform.range(),min_values:new Float32Array([1,2,3]).map(function(i){return transform.min_value(i);})};}}finally{this.draco.destroy(transform);}}return null;}},{key:"_getOctahedronTransform",value:function _getOctahedronTransform(dracoAttribute,options){var _this109=this;var _options$octahedronAt2=options.octahedronAttributes,octahedronAttributes=_options$octahedronAt2===void 0?[]:_options$octahedronAt2;var attribute_type=dracoAttribute.attribute_type();var octahedron=octahedronAttributes.map(function(type){return _this109.decoder[type];}).includes(attribute_type);if(octahedron){var transform=new this.draco.AttributeQuantizationTransform();try{if(transform.InitFromAttribute(dracoAttribute)){return{quantization_bits:transform.quantization_bits()};}}finally{this.draco.destroy(transform);}}return null;}}]);return DracoParser;}();function getDracoDataType(draco,attributeType){switch(attributeType){case Float32Array:return draco.DT_FLOAT32;case Int8Array:return draco.DT_INT8;case Int16Array:return draco.DT_INT16;case Int32Array:return draco.DT_INT32;case Uint8Array:return draco.DT_UINT8;case Uint16Array:return draco.DT_UINT16;case Uint32Array:return draco.DT_UINT32;default:return draco.DT_INVALID;}}function getInt32Array(dracoArray){var numValues=dracoArray.size();var intArray=new Int32Array(numValues);for(var _i553=0;_i553<numValues;_i553++){intArray[_i553]=dracoArray.GetValue(_i553);}return intArray;}function getUint32Array(dracoArray){var numValues=dracoArray.size();var intArray=new Int32Array(numValues);for(var _i554=0;_i554<numValues;_i554++){intArray[_i554]=dracoArray.GetValue(_i554);}return intArray;}var DRACO_VERSION='1.4.1';var DRACO_JS_DECODER_URL="https://www.gstatic.com/draco/versioned/decoders/".concat(DRACO_VERSION,"/draco_decoder.js");var DRACO_WASM_WRAPPER_URL="https://www.gstatic.com/draco/versioned/decoders/".concat(DRACO_VERSION,"/draco_wasm_wrapper.js");var DRACO_WASM_DECODER_URL="https://www.gstatic.com/draco/versioned/decoders/".concat(DRACO_VERSION,"/draco_decoder.wasm");var loadDecoderPromise;function loadDracoDecoderModule(_x68){return _loadDracoDecoderModule.apply(this,arguments);}function _loadDracoDecoderModule(){_loadDracoDecoderModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee51(options){var modules;return _regeneratorRuntime().wrap(function _callee51$(_context54){while(1){switch(_context54.prev=_context54.next){case 0:modules=options.modules||{};if(modules.draco3d){loadDecoderPromise=loadDecoderPromise||modules.draco3d.createDecoderModule({}).then(function(draco){return{draco:draco};});}else{loadDecoderPromise=loadDecoderPromise||loadDracoDecoder(options);}_context54.next=4;return loadDecoderPromise;case 4:return _context54.abrupt("return",_context54.sent);case 5:case"end":return _context54.stop();}}},_callee51);}));return _loadDracoDecoderModule.apply(this,arguments);}function loadDracoDecoder(_x69){return _loadDracoDecoder.apply(this,arguments);}function _loadDracoDecoder(){_loadDracoDecoder=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee52(options){var DracoDecoderModule,wasmBinary,_yield$Promise$all5,_yield$Promise$all6;return _regeneratorRuntime().wrap(function _callee52$(_context55){while(1){switch(_context55.prev=_context55.next){case 0:_context55.t0=options.draco&&options.draco.decoderType;_context55.next=_context55.t0==='js'?3:_context55.t0==='wasm'?7:7;break;case 3:_context55.next=5;return loadLibrary(DRACO_JS_DECODER_URL,'draco',options);case 5:DracoDecoderModule=_context55.sent;return _context55.abrupt("break",21);case 7:_context55.t1=Promise;_context55.next=10;return loadLibrary(DRACO_WASM_WRAPPER_URL,'draco',options);case 10:_context55.t2=_context55.sent;_context55.next=13;return loadLibrary(DRACO_WASM_DECODER_URL,'draco',options);case 13:_context55.t3=_context55.sent;_context55.t4=[_context55.t2,_context55.t3];_context55.next=17;return _context55.t1.all.call(_context55.t1,_context55.t4);case 17:_yield$Promise$all5=_context55.sent;_yield$Promise$all6=_slicedToArray(_yield$Promise$all5,2);DracoDecoderModule=_yield$Promise$all6[0];wasmBinary=_yield$Promise$all6[1];case 21:DracoDecoderModule=DracoDecoderModule||globalThis.DracoDecoderModule;_context55.next=24;return initializeDracoDecoder(DracoDecoderModule,wasmBinary);case 24:return _context55.abrupt("return",_context55.sent);case 25:case"end":return _context55.stop();}}},_callee52);}));return _loadDracoDecoder.apply(this,arguments);}function initializeDracoDecoder(DracoDecoderModule,wasmBinary){var options={};if(wasmBinary){options.wasmBinary=wasmBinary;}return new Promise(function(resolve){DracoDecoderModule(_objectSpread(_objectSpread({},options),{},{onModuleLoaded:function onModuleLoaded(draco){return resolve({draco:draco});}}));});}({id:isBrowser$3?'draco-writer':'draco-writer-nodejs',name:'Draco compressed geometry writer',module:'draco',version:VERSION$1,worker:true,options:{draco:{},source:null}});var DracoLoader=_objectSpread(_objectSpread({},DracoLoader$1),{},{parse:parse$2});function parse$2(_x70,_x71){return _parse$2.apply(this,arguments);}function _parse$2(){_parse$2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee53(arrayBuffer,options){var _yield$loadDracoDecod,draco,dracoParser;return _regeneratorRuntime().wrap(function _callee53$(_context56){while(1){switch(_context56.prev=_context56.next){case 0:_context56.next=2;return loadDracoDecoderModule(options);case 2:_yield$loadDracoDecod=_context56.sent;draco=_yield$loadDracoDecod.draco;dracoParser=new DracoParser(draco);_context56.prev=5;return _context56.abrupt("return",dracoParser.parseSync(arrayBuffer,options===null||options===void 0?void 0:options.draco));case 7:_context56.prev=7;dracoParser.destroy();return _context56.finish(7);case 10:case"end":return _context56.stop();}}},_callee53,null,[[5,,7,10]]);}));return _parse$2.apply(this,arguments);}function getGLTFAccessors(attributes){var accessors={};for(var _name8 in attributes){var attribute=attributes[_name8];if(_name8!=='indices'){var glTFAccessor=getGLTFAccessor(attribute);accessors[_name8]=glTFAccessor;}}return accessors;}function getGLTFAccessor(attribute){var _getAccessorData=getAccessorData(attribute),buffer=_getAccessorData.buffer,size=_getAccessorData.size,count=_getAccessorData.count;var glTFAccessor={value:buffer,size:size,byteOffset:0,count:count,type:getAccessorTypeFromSize(size),componentType:getComponentTypeFromArray(buffer)};return glTFAccessor;}function getAccessorData(attribute){var buffer=attribute;var size=1;var count=0;if(attribute&&attribute.value){buffer=attribute.value;size=attribute.size||1;}if(buffer){if(!ArrayBuffer.isView(buffer)){buffer=toTypedArray(buffer,Float32Array);}count=buffer.length/size;}return{buffer:buffer,size:size,count:count};}function toTypedArray(array,ArrayType){var convertTypedArrays=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(!array){return null;}if(Array.isArray(array)){return new ArrayType(array);}if(convertTypedArrays&&!(array instanceof ArrayType)){return new ArrayType(array);}return array;}var KHR_DRACO_MESH_COMPRESSION='KHR_draco_mesh_compression';var name$3=KHR_DRACO_MESH_COMPRESSION;function preprocess$1(gltfData,options,context){var scenegraph=new GLTFScenegraph(gltfData);var _iterator24=_createForOfIteratorHelper(makeMeshPrimitiveIterator(scenegraph)),_step24;try{for(_iterator24.s();!(_step24=_iterator24.n()).done;){var primitive=_step24.value;if(scenegraph.getObjectExtension(primitive,KHR_DRACO_MESH_COMPRESSION));}}catch(err){_iterator24.e(err);}finally{_iterator24.f();}}function decode$3(_x72,_x73,_x74){return _decode$2.apply(this,arguments);}function _decode$2(){_decode$2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee54(gltfData,options,context){var _options$gltf,scenegraph,promises,_iterator42,_step42,primitive;return _regeneratorRuntime().wrap(function _callee54$(_context57){while(1){switch(_context57.prev=_context57.next){case 0:if(options!==null&&options!==void 0&&(_options$gltf=options.gltf)!==null&&_options$gltf!==void 0&&_options$gltf.decompressMeshes){_context57.next=2;break;}return _context57.abrupt("return");case 2:scenegraph=new GLTFScenegraph(gltfData);promises=[];_iterator42=_createForOfIteratorHelper(makeMeshPrimitiveIterator(scenegraph));try{for(_iterator42.s();!(_step42=_iterator42.n()).done;){primitive=_step42.value;if(scenegraph.getObjectExtension(primitive,KHR_DRACO_MESH_COMPRESSION)){promises.push(decompressPrimitive(scenegraph,primitive,options,context));}}}catch(err){_iterator42.e(err);}finally{_iterator42.f();}_context57.next=8;return Promise.all(promises);case 8:scenegraph.removeExtension(KHR_DRACO_MESH_COMPRESSION);case 9:case"end":return _context57.stop();}}},_callee54);}));return _decode$2.apply(this,arguments);}function encode$3(gltfData){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var scenegraph=new GLTFScenegraph(gltfData);var _iterator25=_createForOfIteratorHelper(scenegraph.json.meshes||[]),_step25;try{for(_iterator25.s();!(_step25=_iterator25.n()).done;){var _mesh6=_step25.value;compressMesh(_mesh6);scenegraph.addRequiredExtension(KHR_DRACO_MESH_COMPRESSION);}}catch(err){_iterator25.e(err);}finally{_iterator25.f();}}function decompressPrimitive(_x75,_x76,_x77,_x78){return _decompressPrimitive.apply(this,arguments);}function _decompressPrimitive(){_decompressPrimitive=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee55(scenegraph,primitive,options,context){var dracoExtension,buffer,bufferCopy,parse,dracoOptions,decodedData,decodedAttributes,_i639,_Object$entries4,_Object$entries4$_i,attributeName,decodedAttribute,accessorIndex,accessor;return _regeneratorRuntime().wrap(function _callee55$(_context58){while(1){switch(_context58.prev=_context58.next){case 0:dracoExtension=scenegraph.getObjectExtension(primitive,KHR_DRACO_MESH_COMPRESSION);if(dracoExtension){_context58.next=3;break;}return _context58.abrupt("return");case 3:buffer=scenegraph.getTypedArrayForBufferView(dracoExtension.bufferView);bufferCopy=sliceArrayBuffer(buffer.buffer,buffer.byteOffset);parse=context.parse;dracoOptions=_objectSpread({},options);delete dracoOptions['3d-tiles'];_context58.next=10;return parse(bufferCopy,DracoLoader,dracoOptions,context);case 10:decodedData=_context58.sent;decodedAttributes=getGLTFAccessors(decodedData.attributes);for(_i639=0,_Object$entries4=Object.entries(decodedAttributes);_i639<_Object$entries4.length;_i639++){_Object$entries4$_i=_slicedToArray(_Object$entries4[_i639],2),attributeName=_Object$entries4$_i[0],decodedAttribute=_Object$entries4$_i[1];if(attributeName in primitive.attributes){accessorIndex=primitive.attributes[attributeName];accessor=scenegraph.getAccessor(accessorIndex);if(accessor!==null&&accessor!==void 0&&accessor.min&&accessor!==null&&accessor!==void 0&&accessor.max){decodedAttribute.min=accessor.min;decodedAttribute.max=accessor.max;}}}primitive.attributes=decodedAttributes;if(decodedData.indices){primitive.indices=getGLTFAccessor(decodedData.indices);}checkPrimitive(primitive);case 16:case"end":return _context58.stop();}}},_callee55);}));return _decompressPrimitive.apply(this,arguments);}function compressMesh(attributes,indices){var mode=arguments.length>2&&arguments[2]!==undefined?arguments[2]:4;var options=arguments.length>3?arguments[3]:undefined;var context=arguments.length>4?arguments[4]:undefined;var _context$parseSync;if(!options.DracoWriter){throw new Error('options.gltf.DracoWriter not provided');}var compressedData=options.DracoWriter.encodeSync({attributes:attributes});var decodedData=context===null||context===void 0?void 0:(_context$parseSync=context.parseSync)===null||_context$parseSync===void 0?void 0:_context$parseSync.call(context,{attributes:attributes});var fauxAccessors=options._addFauxAttributes(decodedData.attributes);var bufferViewIndex=options.addBufferView(compressedData);var glTFMesh={primitives:[{attributes:fauxAccessors,mode:mode,extensions:_defineProperty2({},KHR_DRACO_MESH_COMPRESSION,{bufferView:bufferViewIndex,attributes:fauxAccessors})}]};return glTFMesh;}function checkPrimitive(primitive){if(!primitive.attributes&&Object.keys(primitive.attributes).length>0){throw new Error('glTF: Empty primitive detected: Draco decompression failure?');}}function makeMeshPrimitiveIterator(scenegraph){var _iterator26,_step26,_mesh7,_iterator27,_step27,primitive;return _regeneratorRuntime().wrap(function makeMeshPrimitiveIterator$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:_iterator26=_createForOfIteratorHelper(scenegraph.json.meshes||[]);_context8.prev=1;_iterator26.s();case 3:if((_step26=_iterator26.n()).done){_context8.next=24;break;}_mesh7=_step26.value;_iterator27=_createForOfIteratorHelper(_mesh7.primitives);_context8.prev=6;_iterator27.s();case 8:if((_step27=_iterator27.n()).done){_context8.next=14;break;}primitive=_step27.value;_context8.next=12;return primitive;case 12:_context8.next=8;break;case 14:_context8.next=19;break;case 16:_context8.prev=16;_context8.t0=_context8["catch"](6);_iterator27.e(_context8.t0);case 19:_context8.prev=19;_iterator27.f();return _context8.finish(19);case 22:_context8.next=3;break;case 24:_context8.next=29;break;case 26:_context8.prev=26;_context8.t1=_context8["catch"](1);_iterator26.e(_context8.t1);case 29:_context8.prev=29;_iterator26.f();return _context8.finish(29);case 32:case"end":return _context8.stop();}}},_marked3,null,[[1,26,29,32],[6,16,19,22]]);}var KHR_draco_mesh_compression=/*#__PURE__*/Object.freeze({__proto__:null,name:name$3,preprocess:preprocess$1,decode:decode$3,encode:encode$3});var KHR_LIGHTS_PUNCTUAL='KHR_lights_punctual';var name$2=KHR_LIGHTS_PUNCTUAL;function decode$2(_x79){return _decode$3.apply(this,arguments);}function _decode$3(){_decode$3=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee56(gltfData){var gltfScenegraph,json,extension,_iterator43,_step43,_node20,nodeExtension;return _regeneratorRuntime().wrap(function _callee56$(_context59){while(1){switch(_context59.prev=_context59.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;extension=gltfScenegraph.getExtension(KHR_LIGHTS_PUNCTUAL);if(extension){gltfScenegraph.json.lights=extension.lights;gltfScenegraph.removeExtension(KHR_LIGHTS_PUNCTUAL);}_iterator43=_createForOfIteratorHelper(json.nodes||[]);try{for(_iterator43.s();!(_step43=_iterator43.n()).done;){_node20=_step43.value;nodeExtension=gltfScenegraph.getObjectExtension(_node20,KHR_LIGHTS_PUNCTUAL);if(nodeExtension){_node20.light=nodeExtension.light;}gltfScenegraph.removeObjectExtension(_node20,KHR_LIGHTS_PUNCTUAL);}}catch(err){_iterator43.e(err);}finally{_iterator43.f();}case 6:case"end":return _context59.stop();}}},_callee56);}));return _decode$3.apply(this,arguments);}function encode$2(_x80){return _encode$.apply(this,arguments);}function _encode$(){_encode$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee57(gltfData){var gltfScenegraph,json,extension,_iterator44,_step44,light,_node21;return _regeneratorRuntime().wrap(function _callee57$(_context60){while(1){switch(_context60.prev=_context60.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;if(json.lights){extension=gltfScenegraph.addExtension(KHR_LIGHTS_PUNCTUAL);assert$1(!extension.lights);extension.lights=json.lights;delete json.lights;}if(gltfScenegraph.json.lights){_iterator44=_createForOfIteratorHelper(gltfScenegraph.json.lights);try{for(_iterator44.s();!(_step44=_iterator44.n()).done;){light=_step44.value;_node21=light.node;gltfScenegraph.addObjectExtension(_node21,KHR_LIGHTS_PUNCTUAL,light);}}catch(err){_iterator44.e(err);}finally{_iterator44.f();}delete gltfScenegraph.json.lights;}case 4:case"end":return _context60.stop();}}},_callee57);}));return _encode$.apply(this,arguments);}var KHR_lights_punctual=/*#__PURE__*/Object.freeze({__proto__:null,name:name$2,decode:decode$2,encode:encode$2});var KHR_MATERIALS_UNLIT='KHR_materials_unlit';var name$1=KHR_MATERIALS_UNLIT;function decode$1(_x81){return _decode$4.apply(this,arguments);}function _decode$4(){_decode$4=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee58(gltfData){var gltfScenegraph,json,_iterator45,_step45,material,extension;return _regeneratorRuntime().wrap(function _callee58$(_context61){while(1){switch(_context61.prev=_context61.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;gltfScenegraph.removeExtension(KHR_MATERIALS_UNLIT);_iterator45=_createForOfIteratorHelper(json.materials||[]);try{for(_iterator45.s();!(_step45=_iterator45.n()).done;){material=_step45.value;extension=material.extensions&&material.extensions.KHR_materials_unlit;if(extension){material.unlit=true;}gltfScenegraph.removeObjectExtension(material,KHR_MATERIALS_UNLIT);}}catch(err){_iterator45.e(err);}finally{_iterator45.f();}case 5:case"end":return _context61.stop();}}},_callee58);}));return _decode$4.apply(this,arguments);}function encode$1(gltfData){var gltfScenegraph=new GLTFScenegraph(gltfData);var json=gltfScenegraph.json;if(gltfScenegraph.materials){var _iterator28=_createForOfIteratorHelper(json.materials||[]),_step28;try{for(_iterator28.s();!(_step28=_iterator28.n()).done;){var material=_step28.value;if(material.unlit){delete material.unlit;gltfScenegraph.addObjectExtension(material,KHR_MATERIALS_UNLIT,{});gltfScenegraph.addExtension(KHR_MATERIALS_UNLIT);}}}catch(err){_iterator28.e(err);}finally{_iterator28.f();}}}var KHR_materials_unlit=/*#__PURE__*/Object.freeze({__proto__:null,name:name$1,decode:decode$1,encode:encode$1});var KHR_TECHNIQUES_WEBGL='KHR_techniques_webgl';var name=KHR_TECHNIQUES_WEBGL;function decode(_x82){return _decode.apply(this,arguments);}function _decode(){_decode=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee59(gltfData){var gltfScenegraph,json,extension,techniques,_iterator46,_step46,material,materialExtension;return _regeneratorRuntime().wrap(function _callee59$(_context62){while(1){switch(_context62.prev=_context62.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;extension=gltfScenegraph.getExtension(KHR_TECHNIQUES_WEBGL);if(extension){techniques=resolveTechniques(extension,gltfScenegraph);_iterator46=_createForOfIteratorHelper(json.materials||[]);try{for(_iterator46.s();!(_step46=_iterator46.n()).done;){material=_step46.value;materialExtension=gltfScenegraph.getObjectExtension(material,KHR_TECHNIQUES_WEBGL);if(materialExtension){material.technique=Object.assign({},materialExtension,techniques[materialExtension.technique]);material.technique.values=resolveValues(material.technique,gltfScenegraph);}gltfScenegraph.removeObjectExtension(material,KHR_TECHNIQUES_WEBGL);}}catch(err){_iterator46.e(err);}finally{_iterator46.f();}gltfScenegraph.removeExtension(KHR_TECHNIQUES_WEBGL);}case 4:case"end":return _context62.stop();}}},_callee59);}));return _decode.apply(this,arguments);}function encode(_x83,_x84){return _encode.apply(this,arguments);}function _encode(){_encode=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee60(gltfData,options){return _regeneratorRuntime().wrap(function _callee60$(_context63){while(1){switch(_context63.prev=_context63.next){case 0:case"end":return _context63.stop();}}},_callee60);}));return _encode.apply(this,arguments);}function resolveTechniques(techniquesExtension,gltfScenegraph){var _techniquesExtension$=techniquesExtension.programs,programs=_techniquesExtension$===void 0?[]:_techniquesExtension$,_techniquesExtension$2=techniquesExtension.shaders,shaders=_techniquesExtension$2===void 0?[]:_techniquesExtension$2,_techniquesExtension$3=techniquesExtension.techniques,techniques=_techniquesExtension$3===void 0?[]:_techniquesExtension$3;var textDecoder=new TextDecoder();shaders.forEach(function(shader){if(Number.isFinite(shader.bufferView)){shader.code=textDecoder.decode(gltfScenegraph.getTypedArrayForBufferView(shader.bufferView));}else{throw new Error('KHR_techniques_webgl: no shader code');}});programs.forEach(function(program){program.fragmentShader=shaders[program.fragmentShader];program.vertexShader=shaders[program.vertexShader];});techniques.forEach(function(technique){technique.program=programs[technique.program];});return techniques;}function resolveValues(technique,gltfScenegraph){var values=Object.assign({},technique.values);Object.keys(technique.uniforms||{}).forEach(function(uniform){if(technique.uniforms[uniform].value&&!(uniform in values)){values[uniform]=technique.uniforms[uniform].value;}});Object.keys(values).forEach(function(uniform){if(_typeof(values[uniform])==='object'&&values[uniform].index!==undefined){values[uniform].texture=gltfScenegraph.getTexture(values[uniform].index);}});return values;}var KHR_techniques_webgl=/*#__PURE__*/Object.freeze({__proto__:null,name:name,decode:decode,encode:encode});var EXTENSIONS=[EXT_meshopt_compression,EXT_texture_webp,KHR_texture_basisu,KHR_draco_mesh_compression,KHR_lights_punctual,KHR_materials_unlit,KHR_techniques_webgl];function preprocessExtensions(gltf){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var context=arguments.length>2?arguments[2]:undefined;var extensions=EXTENSIONS.filter(function(extension){return useExtension(extension.name,options);});var _iterator29=_createForOfIteratorHelper(extensions),_step29;try{for(_iterator29.s();!(_step29=_iterator29.n()).done;){var extension=_step29.value;var _extension$preprocess;(_extension$preprocess=extension.preprocess)===null||_extension$preprocess===void 0?void 0:_extension$preprocess.call(extension,gltf,options,context);}}catch(err){_iterator29.e(err);}finally{_iterator29.f();}}function decodeExtensions(_x85){return _decodeExtensions.apply(this,arguments);}function _decodeExtensions(){_decodeExtensions=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee61(gltf){var options,context,extensions,_iterator47,_step47,extension,_extension$decode,_args59=arguments;return _regeneratorRuntime().wrap(function _callee61$(_context64){while(1){switch(_context64.prev=_context64.next){case 0:options=_args59.length>1&&_args59[1]!==undefined?_args59[1]:{};context=_args59.length>2?_args59[2]:undefined;extensions=EXTENSIONS.filter(function(extension){return useExtension(extension.name,options);});_iterator47=_createForOfIteratorHelper(extensions);_context64.prev=4;_iterator47.s();case 6:if((_step47=_iterator47.n()).done){_context64.next=12;break;}extension=_step47.value;_context64.next=10;return(_extension$decode=extension.decode)===null||_extension$decode===void 0?void 0:_extension$decode.call(extension,gltf,options,context);case 10:_context64.next=6;break;case 12:_context64.next=17;break;case 14:_context64.prev=14;_context64.t0=_context64["catch"](4);_iterator47.e(_context64.t0);case 17:_context64.prev=17;_iterator47.f();return _context64.finish(17);case 20:case"end":return _context64.stop();}}},_callee61,null,[[4,14,17,20]]);}));return _decodeExtensions.apply(this,arguments);}function useExtension(extensionName,options){var _options$gltf;var excludes=(options===null||options===void 0?void 0:(_options$gltf=options.gltf)===null||_options$gltf===void 0?void 0:_options$gltf.excludeExtensions)||{};var exclude=extensionName in excludes&&!excludes[extensionName];return!exclude;}var KHR_BINARY_GLTF='KHR_binary_glTF';function preprocess(gltfData){var gltfScenegraph=new GLTFScenegraph(gltfData);var json=gltfScenegraph.json;var _iterator30=_createForOfIteratorHelper(json.images||[]),_step30;try{for(_iterator30.s();!(_step30=_iterator30.n()).done;){var _image7=_step30.value;var extension=gltfScenegraph.getObjectExtension(_image7,KHR_BINARY_GLTF);if(extension){Object.assign(_image7,extension);}gltfScenegraph.removeObjectExtension(_image7,KHR_BINARY_GLTF);}}catch(err){_iterator30.e(err);}finally{_iterator30.f();}if(json.buffers&&json.buffers[0]){delete json.buffers[0].uri;}gltfScenegraph.removeExtension(KHR_BINARY_GLTF);}var GLTF_ARRAYS={accessors:'accessor',animations:'animation',buffers:'buffer',bufferViews:'bufferView',images:'image',materials:'material',meshes:'mesh',nodes:'node',samplers:'sampler',scenes:'scene',skins:'skin',textures:'texture'};var GLTF_KEYS={accessor:'accessors',animations:'animation',buffer:'buffers',bufferView:'bufferViews',image:'images',material:'materials',mesh:'meshes',node:'nodes',sampler:'samplers',scene:'scenes',skin:'skins',texture:'textures'};var GLTFV1Normalizer=/*#__PURE__*/function(){function GLTFV1Normalizer(){_classCallCheck(this,GLTFV1Normalizer);_defineProperty(this,"idToIndexMap",{animations:{},accessors:{},buffers:{},bufferViews:{},images:{},materials:{},meshes:{},nodes:{},samplers:{},scenes:{},skins:{},textures:{}});_defineProperty(this,"json",void 0);}_createClass(GLTFV1Normalizer,[{key:"normalize",value:function normalize(gltf,options){this.json=gltf.json;var json=gltf.json;switch(json.asset&&json.asset.version){case'2.0':return;case undefined:case'1.0':break;default:console.warn("glTF: Unknown version ".concat(json.asset.version));return;}if(!options.normalize){throw new Error('glTF v1 is not supported.');}console.warn('Converting glTF v1 to glTF v2 format. This is experimental and may fail.');this._addAsset(json);this._convertTopLevelObjectsToArrays(json);preprocess(gltf);this._convertObjectIdsToArrayIndices(json);this._updateObjects(json);this._updateMaterial(json);}},{key:"_addAsset",value:function _addAsset(json){json.asset=json.asset||{};json.asset.version='2.0';json.asset.generator=json.asset.generator||'Normalized to glTF 2.0 by loaders.gl';}},{key:"_convertTopLevelObjectsToArrays",value:function _convertTopLevelObjectsToArrays(json){for(var arrayName in GLTF_ARRAYS){this._convertTopLevelObjectToArray(json,arrayName);}}},{key:"_convertTopLevelObjectToArray",value:function _convertTopLevelObjectToArray(json,mapName){var objectMap=json[mapName];if(!objectMap||Array.isArray(objectMap)){return;}json[mapName]=[];for(var id in objectMap){var object=objectMap[id];object.id=object.id||id;var index=json[mapName].length;json[mapName].push(object);this.idToIndexMap[mapName][id]=index;}}},{key:"_convertObjectIdsToArrayIndices",value:function _convertObjectIdsToArrayIndices(json){for(var arrayName in GLTF_ARRAYS){this._convertIdsToIndices(json,arrayName);}if('scene'in json){json.scene=this._convertIdToIndex(json.scene,'scene');}var _iterator31=_createForOfIteratorHelper(json.textures),_step31;try{for(_iterator31.s();!(_step31=_iterator31.n()).done;){var texture=_step31.value;this._convertTextureIds(texture);}}catch(err){_iterator31.e(err);}finally{_iterator31.f();}var _iterator32=_createForOfIteratorHelper(json.meshes),_step32;try{for(_iterator32.s();!(_step32=_iterator32.n()).done;){var _mesh8=_step32.value;this._convertMeshIds(_mesh8);}}catch(err){_iterator32.e(err);}finally{_iterator32.f();}var _iterator33=_createForOfIteratorHelper(json.nodes),_step33;try{for(_iterator33.s();!(_step33=_iterator33.n()).done;){var _node11=_step33.value;this._convertNodeIds(_node11);}}catch(err){_iterator33.e(err);}finally{_iterator33.f();}var _iterator34=_createForOfIteratorHelper(json.scenes),_step34;try{for(_iterator34.s();!(_step34=_iterator34.n()).done;){var _node12=_step34.value;this._convertSceneIds(_node12);}}catch(err){_iterator34.e(err);}finally{_iterator34.f();}}},{key:"_convertTextureIds",value:function _convertTextureIds(texture){if(texture.source){texture.source=this._convertIdToIndex(texture.source,'image');}}},{key:"_convertMeshIds",value:function _convertMeshIds(mesh){var _iterator35=_createForOfIteratorHelper(mesh.primitives),_step35;try{for(_iterator35.s();!(_step35=_iterator35.n()).done;){var primitive=_step35.value;var attributes=primitive.attributes,indices=primitive.indices,material=primitive.material;for(var attributeName in attributes){attributes[attributeName]=this._convertIdToIndex(attributes[attributeName],'accessor');}if(indices){primitive.indices=this._convertIdToIndex(indices,'accessor');}if(material){primitive.material=this._convertIdToIndex(material,'material');}}}catch(err){_iterator35.e(err);}finally{_iterator35.f();}}},{key:"_convertNodeIds",value:function _convertNodeIds(node){var _this110=this;if(node.children){node.children=node.children.map(function(child){return _this110._convertIdToIndex(child,'node');});}if(node.meshes){node.meshes=node.meshes.map(function(mesh){return _this110._convertIdToIndex(mesh,'mesh');});}}},{key:"_convertSceneIds",value:function _convertSceneIds(scene){var _this111=this;if(scene.nodes){scene.nodes=scene.nodes.map(function(node){return _this111._convertIdToIndex(node,'node');});}}},{key:"_convertIdsToIndices",value:function _convertIdsToIndices(json,topLevelArrayName){if(!json[topLevelArrayName]){console.warn("gltf v1: json doesn't contain attribute ".concat(topLevelArrayName));json[topLevelArrayName]=[];}var _iterator36=_createForOfIteratorHelper(json[topLevelArrayName]),_step36;try{for(_iterator36.s();!(_step36=_iterator36.n()).done;){var object=_step36.value;for(var key in object){var id=object[key];var index=this._convertIdToIndex(id,key);object[key]=index;}}}catch(err){_iterator36.e(err);}finally{_iterator36.f();}}},{key:"_convertIdToIndex",value:function _convertIdToIndex(id,key){var arrayName=GLTF_KEYS[key];if(arrayName in this.idToIndexMap){var index=this.idToIndexMap[arrayName][id];if(!Number.isFinite(index)){throw new Error("gltf v1: failed to resolve ".concat(key," with id ").concat(id));}return index;}return id;}},{key:"_updateObjects",value:function _updateObjects(json){var _iterator37=_createForOfIteratorHelper(this.json.buffers),_step37;try{for(_iterator37.s();!(_step37=_iterator37.n()).done;){var buffer=_step37.value;delete buffer.type;}}catch(err){_iterator37.e(err);}finally{_iterator37.f();}}},{key:"_updateMaterial",value:function _updateMaterial(json){var _iterator38=_createForOfIteratorHelper(json.materials),_step38;try{var _loop7=function _loop7(){var material=_step38.value;material.pbrMetallicRoughness={baseColorFactor:[1,1,1,1],metallicFactor:1,roughnessFactor:1};var textureId=((_material$values=material.values)===null||_material$values===void 0?void 0:_material$values.tex)||((_material$values2=material.values)===null||_material$values2===void 0?void 0:_material$values2.texture2d_0);var textureIndex=json.textures.findIndex(function(texture){return texture.id===textureId;});if(textureIndex!==-1){material.pbrMetallicRoughness.baseColorTexture={index:textureIndex};}};for(_iterator38.s();!(_step38=_iterator38.n()).done;){var _material$values,_material$values2;_loop7();}}catch(err){_iterator38.e(err);}finally{_iterator38.f();}}}]);return GLTFV1Normalizer;}();function normalizeGLTFV1(gltf){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new GLTFV1Normalizer().normalize(gltf,options);}var COMPONENTS={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16};var BYTES={5120:1,5121:1,5122:2,5123:2,5125:4,5126:4};var GL_SAMPLER={TEXTURE_MAG_FILTER:0x2800,TEXTURE_MIN_FILTER:0x2801,TEXTURE_WRAP_S:0x2802,TEXTURE_WRAP_T:0x2803,REPEAT:0x2901,LINEAR:0x2601,NEAREST_MIPMAP_LINEAR:0x2702};var SAMPLER_PARAMETER_GLTF_TO_GL={magFilter:GL_SAMPLER.TEXTURE_MAG_FILTER,minFilter:GL_SAMPLER.TEXTURE_MIN_FILTER,wrapS:GL_SAMPLER.TEXTURE_WRAP_S,wrapT:GL_SAMPLER.TEXTURE_WRAP_T};var DEFAULT_SAMPLER=(_DEFAULT_SAMPLER={},_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_MAG_FILTER,GL_SAMPLER.LINEAR),_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_MIN_FILTER,GL_SAMPLER.NEAREST_MIPMAP_LINEAR),_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_WRAP_S,GL_SAMPLER.REPEAT),_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_WRAP_T,GL_SAMPLER.REPEAT),_DEFAULT_SAMPLER);function getBytesFromComponentType(componentType){return BYTES[componentType];}function getSizeFromAccessorType(type){return COMPONENTS[type];}var GLTFPostProcessor=/*#__PURE__*/function(){function GLTFPostProcessor(){_classCallCheck(this,GLTFPostProcessor);_defineProperty(this,"baseUri",'');_defineProperty(this,"json",{});_defineProperty(this,"buffers",[]);_defineProperty(this,"images",[]);}_createClass(GLTFPostProcessor,[{key:"postProcess",value:function postProcess(gltf){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var json=gltf.json,_gltf$buffers=gltf.buffers,buffers=_gltf$buffers===void 0?[]:_gltf$buffers,_gltf$images=gltf.images,images=_gltf$images===void 0?[]:_gltf$images,_gltf$baseUri=gltf.baseUri,baseUri=_gltf$baseUri===void 0?'':_gltf$baseUri;assert$1(json);this.baseUri=baseUri;this.json=json;this.buffers=buffers;this.images=images;this._resolveTree(this.json,options);return this.json;}},{key:"_resolveTree",value:function _resolveTree(json){var _this112=this;var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(json.bufferViews){json.bufferViews=json.bufferViews.map(function(bufView,i){return _this112._resolveBufferView(bufView,i);});}if(json.images){json.images=json.images.map(function(image,i){return _this112._resolveImage(image,i);});}if(json.samplers){json.samplers=json.samplers.map(function(sampler,i){return _this112._resolveSampler(sampler,i);});}if(json.textures){json.textures=json.textures.map(function(texture,i){return _this112._resolveTexture(texture,i);});}if(json.accessors){json.accessors=json.accessors.map(function(accessor,i){return _this112._resolveAccessor(accessor,i);});}if(json.materials){json.materials=json.materials.map(function(material,i){return _this112._resolveMaterial(material,i);});}if(json.meshes){json.meshes=json.meshes.map(function(mesh,i){return _this112._resolveMesh(mesh,i);});}if(json.nodes){json.nodes=json.nodes.map(function(node,i){return _this112._resolveNode(node,i);});}if(json.skins){json.skins=json.skins.map(function(skin,i){return _this112._resolveSkin(skin,i);});}if(json.scenes){json.scenes=json.scenes.map(function(scene,i){return _this112._resolveScene(scene,i);});}if(json.scene!==undefined){json.scene=json.scenes[this.json.scene];}}},{key:"getScene",value:function getScene(index){return this._get('scenes',index);}},{key:"getNode",value:function getNode(index){return this._get('nodes',index);}},{key:"getSkin",value:function getSkin(index){return this._get('skins',index);}},{key:"getMesh",value:function getMesh(index){return this._get('meshes',index);}},{key:"getMaterial",value:function getMaterial(index){return this._get('materials',index);}},{key:"getAccessor",value:function getAccessor(index){return this._get('accessors',index);}},{key:"getCamera",value:function getCamera(index){return null;}},{key:"getTexture",value:function getTexture(index){return this._get('textures',index);}},{key:"getSampler",value:function getSampler(index){return this._get('samplers',index);}},{key:"getImage",value:function getImage(index){return this._get('images',index);}},{key:"getBufferView",value:function getBufferView(index){return this._get('bufferViews',index);}},{key:"getBuffer",value:function getBuffer(index){return this._get('buffers',index);}},{key:"_get",value:function _get(array,index){if(_typeof(index)==='object'){return index;}var object=this.json[array]&&this.json[array][index];if(!object){console.warn("glTF file error: Could not find ".concat(array,"[").concat(index,"]"));}return object;}},{key:"_resolveScene",value:function _resolveScene(scene,index){var _this113=this;scene.id=scene.id||"scene-".concat(index);scene.nodes=(scene.nodes||[]).map(function(node){return _this113.getNode(node);});return scene;}},{key:"_resolveNode",value:function _resolveNode(node,index){var _this114=this;node.id=node.id||"node-".concat(index);if(node.children){node.children=node.children.map(function(child){return _this114.getNode(child);});}if(node.mesh!==undefined){node.mesh=this.getMesh(node.mesh);}else if(node.meshes!==undefined&&node.meshes.length){node.mesh=node.meshes.reduce(function(accum,meshIndex){var mesh=_this114.getMesh(meshIndex);accum.id=mesh.id;accum.primitives=accum.primitives.concat(mesh.primitives);return accum;},{primitives:[]});}if(node.camera!==undefined){node.camera=this.getCamera(node.camera);}if(node.skin!==undefined){node.skin=this.getSkin(node.skin);}return node;}},{key:"_resolveSkin",value:function _resolveSkin(skin,index){skin.id=skin.id||"skin-".concat(index);skin.inverseBindMatrices=this.getAccessor(skin.inverseBindMatrices);return skin;}},{key:"_resolveMesh",value:function _resolveMesh(mesh,index){var _this115=this;mesh.id=mesh.id||"mesh-".concat(index);if(mesh.primitives){mesh.primitives=mesh.primitives.map(function(primitive){primitive=_objectSpread({},primitive);var attributes=primitive.attributes;primitive.attributes={};for(var attribute in attributes){primitive.attributes[attribute]=_this115.getAccessor(attributes[attribute]);}if(primitive.indices!==undefined){primitive.indices=_this115.getAccessor(primitive.indices);}if(primitive.material!==undefined){primitive.material=_this115.getMaterial(primitive.material);}return primitive;});}return mesh;}},{key:"_resolveMaterial",value:function _resolveMaterial(material,index){material.id=material.id||"material-".concat(index);if(material.normalTexture){material.normalTexture=_objectSpread({},material.normalTexture);material.normalTexture.texture=this.getTexture(material.normalTexture.index);}if(material.occlusionTexture){material.occlustionTexture=_objectSpread({},material.occlustionTexture);material.occlusionTexture.texture=this.getTexture(material.occlusionTexture.index);}if(material.emissiveTexture){material.emmisiveTexture=_objectSpread({},material.emmisiveTexture);material.emissiveTexture.texture=this.getTexture(material.emissiveTexture.index);}if(!material.emissiveFactor){material.emissiveFactor=material.emmisiveTexture?[1,1,1]:[0,0,0];}if(material.pbrMetallicRoughness){material.pbrMetallicRoughness=_objectSpread({},material.pbrMetallicRoughness);var mr=material.pbrMetallicRoughness;if(mr.baseColorTexture){mr.baseColorTexture=_objectSpread({},mr.baseColorTexture);mr.baseColorTexture.texture=this.getTexture(mr.baseColorTexture.index);}if(mr.metallicRoughnessTexture){mr.metallicRoughnessTexture=_objectSpread({},mr.metallicRoughnessTexture);mr.metallicRoughnessTexture.texture=this.getTexture(mr.metallicRoughnessTexture.index);}}return material;}},{key:"_resolveAccessor",value:function _resolveAccessor(accessor,index){accessor.id=accessor.id||"accessor-".concat(index);if(accessor.bufferView!==undefined){accessor.bufferView=this.getBufferView(accessor.bufferView);}accessor.bytesPerComponent=getBytesFromComponentType(accessor.componentType);accessor.components=getSizeFromAccessorType(accessor.type);accessor.bytesPerElement=accessor.bytesPerComponent*accessor.components;if(accessor.bufferView){var buffer=accessor.bufferView.buffer;var _getAccessorArrayType2=getAccessorArrayTypeAndLength(accessor,accessor.bufferView),ArrayType=_getAccessorArrayType2.ArrayType,byteLength=_getAccessorArrayType2.byteLength;var byteOffset=(accessor.bufferView.byteOffset||0)+(accessor.byteOffset||0)+buffer.byteOffset;var cutBuffer=buffer.arrayBuffer.slice(byteOffset,byteOffset+byteLength);if(accessor.bufferView.byteStride){cutBuffer=this._getValueFromInterleavedBuffer(buffer,byteOffset,accessor.bufferView.byteStride,accessor.bytesPerElement,accessor.count);}accessor.value=new ArrayType(cutBuffer);}return accessor;}},{key:"_getValueFromInterleavedBuffer",value:function _getValueFromInterleavedBuffer(buffer,byteOffset,byteStride,bytesPerElement,count){var result=new Uint8Array(count*bytesPerElement);for(var _i555=0;_i555<count;_i555++){var elementOffset=byteOffset+_i555*byteStride;result.set(new Uint8Array(buffer.arrayBuffer.slice(elementOffset,elementOffset+bytesPerElement)),_i555*bytesPerElement);}return result.buffer;}},{key:"_resolveTexture",value:function _resolveTexture(texture,index){texture.id=texture.id||"texture-".concat(index);texture.sampler='sampler'in texture?this.getSampler(texture.sampler):DEFAULT_SAMPLER;texture.source=this.getImage(texture.source);return texture;}},{key:"_resolveSampler",value:function _resolveSampler(sampler,index){sampler.id=sampler.id||"sampler-".concat(index);sampler.parameters={};for(var key in sampler){var glEnum=this._enumSamplerParameter(key);if(glEnum!==undefined){sampler.parameters[glEnum]=sampler[key];}}return sampler;}},{key:"_enumSamplerParameter",value:function _enumSamplerParameter(key){return SAMPLER_PARAMETER_GLTF_TO_GL[key];}},{key:"_resolveImage",value:function _resolveImage(image,index){image.id=image.id||"image-".concat(index);if(image.bufferView!==undefined){image.bufferView=this.getBufferView(image.bufferView);}var preloadedImage=this.images[index];if(preloadedImage){image.image=preloadedImage;}return image;}},{key:"_resolveBufferView",value:function _resolveBufferView(bufferView,index){var bufferIndex=bufferView.buffer;var result=_objectSpread(_objectSpread({id:"bufferView-".concat(index)},bufferView),{},{buffer:this.buffers[bufferIndex]});var arrayBuffer=this.buffers[bufferIndex].arrayBuffer;var byteOffset=this.buffers[bufferIndex].byteOffset||0;if('byteOffset'in bufferView){byteOffset+=bufferView.byteOffset;}result.data=new Uint8Array(arrayBuffer,byteOffset,bufferView.byteLength);return result;}},{key:"_resolveCamera",value:function _resolveCamera(camera,index){camera.id=camera.id||"camera-".concat(index);if(camera.perspective);if(camera.orthographic);return camera;}}]);return GLTFPostProcessor;}();function postProcessGLTF(gltf,options){return new GLTFPostProcessor().postProcess(gltf,options);}var MAGIC_glTF=0x676c5446;var GLB_FILE_HEADER_SIZE=12;var GLB_CHUNK_HEADER_SIZE=8;var GLB_CHUNK_TYPE_JSON=0x4e4f534a;var GLB_CHUNK_TYPE_BIN=0x004e4942;var GLB_CHUNK_TYPE_JSON_XVIZ_DEPRECATED=0;var GLB_CHUNK_TYPE_BIX_XVIZ_DEPRECATED=1;var GLB_V1_CONTENT_FORMAT_JSON=0x0;var LE=true;function getMagicString(dataView){var byteOffset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return"".concat(String.fromCharCode(dataView.getUint8(byteOffset+0))).concat(String.fromCharCode(dataView.getUint8(byteOffset+1))).concat(String.fromCharCode(dataView.getUint8(byteOffset+2))).concat(String.fromCharCode(dataView.getUint8(byteOffset+3)));}function isGLB(arrayBuffer){var byteOffset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var dataView=new DataView(arrayBuffer);var _options$magic=options.magic,magic=_options$magic===void 0?MAGIC_glTF:_options$magic;var magic1=dataView.getUint32(byteOffset,false);return magic1===magic||magic1===MAGIC_glTF;}function parseGLBSync(glb,arrayBuffer){var byteOffset=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var options=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var dataView=new DataView(arrayBuffer);var type=getMagicString(dataView,byteOffset+0);var version=dataView.getUint32(byteOffset+4,LE);var byteLength=dataView.getUint32(byteOffset+8,LE);Object.assign(glb,{header:{byteOffset:byteOffset,byteLength:byteLength,hasBinChunk:false},type:type,version:version,json:{},binChunks:[]});byteOffset+=GLB_FILE_HEADER_SIZE;switch(glb.version){case 1:return parseGLBV1(glb,dataView,byteOffset);case 2:return parseGLBV2(glb,dataView,byteOffset,options={});default:throw new Error("Invalid GLB version ".concat(glb.version,". Only supports v1 and v2."));}}function parseGLBV1(glb,dataView,byteOffset){assert$5(glb.header.byteLength>GLB_FILE_HEADER_SIZE+GLB_CHUNK_HEADER_SIZE);var contentLength=dataView.getUint32(byteOffset+0,LE);var contentFormat=dataView.getUint32(byteOffset+4,LE);byteOffset+=GLB_CHUNK_HEADER_SIZE;assert$5(contentFormat===GLB_V1_CONTENT_FORMAT_JSON);parseJSONChunk(glb,dataView,byteOffset,contentLength);byteOffset+=contentLength;byteOffset+=parseBINChunk(glb,dataView,byteOffset,glb.header.byteLength);return byteOffset;}function parseGLBV2(glb,dataView,byteOffset,options){assert$5(glb.header.byteLength>GLB_FILE_HEADER_SIZE+GLB_CHUNK_HEADER_SIZE);parseGLBChunksSync(glb,dataView,byteOffset,options);return byteOffset+glb.header.byteLength;}function parseGLBChunksSync(glb,dataView,byteOffset,options){while(byteOffset+8<=glb.header.byteLength){var chunkLength=dataView.getUint32(byteOffset+0,LE);var chunkFormat=dataView.getUint32(byteOffset+4,LE);byteOffset+=GLB_CHUNK_HEADER_SIZE;switch(chunkFormat){case GLB_CHUNK_TYPE_JSON:parseJSONChunk(glb,dataView,byteOffset,chunkLength);break;case GLB_CHUNK_TYPE_BIN:parseBINChunk(glb,dataView,byteOffset,chunkLength);break;case GLB_CHUNK_TYPE_JSON_XVIZ_DEPRECATED:if(!options.strict){parseJSONChunk(glb,dataView,byteOffset,chunkLength);}break;case GLB_CHUNK_TYPE_BIX_XVIZ_DEPRECATED:if(!options.strict){parseBINChunk(glb,dataView,byteOffset,chunkLength);}break;}byteOffset+=padToNBytes(chunkLength,4);}return byteOffset;}function parseJSONChunk(glb,dataView,byteOffset,chunkLength){var jsonChunk=new Uint8Array(dataView.buffer,byteOffset,chunkLength);var textDecoder=new TextDecoder('utf8');var jsonText=textDecoder.decode(jsonChunk);glb.json=JSON.parse(jsonText);return padToNBytes(chunkLength,4);}function parseBINChunk(glb,dataView,byteOffset,chunkLength){glb.header.hasBinChunk=true;glb.binChunks.push({byteOffset:byteOffset,byteLength:chunkLength,arrayBuffer:dataView.buffer});return padToNBytes(chunkLength,4);}function parseGLTF$1(_x86,_x87){return _parseGLTF$.apply(this,arguments);}function _parseGLTF$(){_parseGLTF$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee62(gltf,arrayBufferOrString){var byteOffset,options,context,_options$gltf,_options$gltf2,_options$gltf3,_options$gltf4,promises,_promise,promise,_args60=arguments;return _regeneratorRuntime().wrap(function _callee62$(_context65){while(1){switch(_context65.prev=_context65.next){case 0:byteOffset=_args60.length>2&&_args60[2]!==undefined?_args60[2]:0;options=_args60.length>3?_args60[3]:undefined;context=_args60.length>4?_args60[4]:undefined;parseGLTFContainerSync(gltf,arrayBufferOrString,byteOffset,options);normalizeGLTFV1(gltf,{normalize:options===null||options===void 0?void 0:(_options$gltf=options.gltf)===null||_options$gltf===void 0?void 0:_options$gltf.normalize});preprocessExtensions(gltf,options,context);promises=[];if(!(options!==null&&options!==void 0&&(_options$gltf2=options.gltf)!==null&&_options$gltf2!==void 0&&_options$gltf2.loadBuffers&&gltf.json.buffers)){_context65.next=10;break;}_context65.next=10;return loadBuffers(gltf,options,context);case 10:if(options!==null&&options!==void 0&&(_options$gltf3=options.gltf)!==null&&_options$gltf3!==void 0&&_options$gltf3.loadImages){_promise=loadImages(gltf,options,context);promises.push(_promise);}promise=decodeExtensions(gltf,options,context);promises.push(promise);_context65.next=15;return Promise.all(promises);case 15:return _context65.abrupt("return",options!==null&&options!==void 0&&(_options$gltf4=options.gltf)!==null&&_options$gltf4!==void 0&&_options$gltf4.postProcess?postProcessGLTF(gltf,options):gltf);case 16:case"end":return _context65.stop();}}},_callee62);}));return _parseGLTF$.apply(this,arguments);}function parseGLTFContainerSync(gltf,data,byteOffset,options){if(options.uri){gltf.baseUri=options.uri;}if(data instanceof ArrayBuffer&&!isGLB(data,byteOffset,options)){var textDecoder=new TextDecoder();data=textDecoder.decode(data);}if(typeof data==='string'){gltf.json=parseJSON(data);}else if(data instanceof ArrayBuffer){var glb={};byteOffset=parseGLBSync(glb,data,byteOffset,options.glb);assert$1(glb.type==='glTF',"Invalid GLB magic string ".concat(glb.type));gltf._glb=glb;gltf.json=glb.json;}else{assert$1(false,'GLTF: must be ArrayBuffer or string');}var buffers=gltf.json.buffers||[];gltf.buffers=new Array(buffers.length).fill(null);if(gltf._glb&&gltf._glb.header.hasBinChunk){var binChunks=gltf._glb.binChunks;gltf.buffers[0]={arrayBuffer:binChunks[0].arrayBuffer,byteOffset:binChunks[0].byteOffset,byteLength:binChunks[0].byteLength};}var images=gltf.json.images||[];gltf.images=new Array(images.length).fill({});}function loadBuffers(_x88,_x89,_x90){return _loadBuffers.apply(this,arguments);}function _loadBuffers(){_loadBuffers=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee63(gltf,options,context){var buffers,_i640,buffer,_context$fetch,_response$arrayBuffer,_fetch,uri,response,arrayBuffer;return _regeneratorRuntime().wrap(function _callee63$(_context66){while(1){switch(_context66.prev=_context66.next){case 0:buffers=gltf.json.buffers||[];_i640=0;case 2:if(!(_i640<buffers.length)){_context66.next=22;break;}buffer=buffers[_i640];if(!buffer.uri){_context66.next=18;break;}_fetch=context.fetch;assert$1(_fetch);uri=resolveUrl(buffer.uri,options);_context66.next=10;return context===null||context===void 0?void 0:(_context$fetch=context.fetch)===null||_context$fetch===void 0?void 0:_context$fetch.call(context,uri);case 10:response=_context66.sent;_context66.next=13;return response===null||response===void 0?void 0:(_response$arrayBuffer=response.arrayBuffer)===null||_response$arrayBuffer===void 0?void 0:_response$arrayBuffer.call(response);case 13:arrayBuffer=_context66.sent;gltf.buffers[_i640]={arrayBuffer:arrayBuffer,byteOffset:0,byteLength:arrayBuffer.byteLength};delete buffer.uri;_context66.next=19;break;case 18:if(gltf.buffers[_i640]===null){gltf.buffers[_i640]={arrayBuffer:new ArrayBuffer(buffer.byteLength),byteOffset:0,byteLength:buffer.byteLength};}case 19:++_i640;_context66.next=2;break;case 22:case"end":return _context66.stop();}}},_callee63);}));return _loadBuffers.apply(this,arguments);}function loadImages(_x91,_x92,_x93){return _loadImages.apply(this,arguments);}function _loadImages(){_loadImages=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee64(gltf,options,context){var imageIndices,images,promises,_iterator48,_step48,imageIndex;return _regeneratorRuntime().wrap(function _callee64$(_context67){while(1){switch(_context67.prev=_context67.next){case 0:imageIndices=getReferencesImageIndices(gltf);images=gltf.json.images||[];promises=[];_iterator48=_createForOfIteratorHelper(imageIndices);try{for(_iterator48.s();!(_step48=_iterator48.n()).done;){imageIndex=_step48.value;promises.push(loadImage(gltf,images[imageIndex],imageIndex,options,context));}}catch(err){_iterator48.e(err);}finally{_iterator48.f();}_context67.next=7;return Promise.all(promises);case 7:return _context67.abrupt("return",_context67.sent);case 8:case"end":return _context67.stop();}}},_callee64);}));return _loadImages.apply(this,arguments);}function getReferencesImageIndices(gltf){var imageIndices=new Set();var textures=gltf.json.textures||[];var _iterator39=_createForOfIteratorHelper(textures),_step39;try{for(_iterator39.s();!(_step39=_iterator39.n()).done;){var texture=_step39.value;if(texture.source!==undefined){imageIndices.add(texture.source);}}}catch(err){_iterator39.e(err);}finally{_iterator39.f();}return Array.from(imageIndices).sort();}function loadImage(_x94,_x95,_x96,_x97,_x98){return _loadImage.apply(this,arguments);}function _loadImage(){_loadImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee65(gltf,image,index,options,context){var fetch,parse,arrayBuffer,uri,response,array,parsedImage;return _regeneratorRuntime().wrap(function _callee65$(_context68){while(1){switch(_context68.prev=_context68.next){case 0:fetch=context.fetch,parse=context.parse;if(!image.uri){_context68.next=9;break;}uri=resolveUrl(image.uri,options);_context68.next=5;return fetch(uri);case 5:response=_context68.sent;_context68.next=8;return response.arrayBuffer();case 8:arrayBuffer=_context68.sent;case 9:if(Number.isFinite(image.bufferView)){array=getTypedArrayForBufferView(gltf.json,gltf.buffers,image.bufferView);arrayBuffer=sliceArrayBuffer(array.buffer,array.byteOffset,array.byteLength);}assert$1(arrayBuffer,'glTF image has no data');_context68.next=13;return parse(arrayBuffer,[ImageLoader,BasisLoader],{mimeType:image.mimeType,basis:options.basis||{format:selectSupportedBasisFormat()}},context);case 13:parsedImage=_context68.sent;if(parsedImage&&parsedImage[0]){parsedImage={compressed:true,mipmaps:false,width:parsedImage[0].width,height:parsedImage[0].height,data:parsedImage[0]};}gltf.images=gltf.images||[];gltf.images[index]=parsedImage;case 17:case"end":return _context68.stop();}}},_callee65);}));return _loadImage.apply(this,arguments);}var GLTFLoader={name:'glTF',id:'gltf',module:'gltf',version:VERSION$5,extensions:['gltf','glb'],mimeTypes:['model/gltf+json','model/gltf-binary'],text:true,binary:true,tests:['glTF'],parse:parse$1,options:{gltf:{normalize:true,loadBuffers:true,loadImages:true,decompressMeshes:true,postProcess:true},log:console},deprecatedOptions:{fetchImages:'gltf.loadImages',createImages:'gltf.loadImages',decompress:'gltf.decompressMeshes',postProcess:'gltf.postProcess',gltf:{decompress:'gltf.decompressMeshes'}}};function parse$1(_x99){return _parse$3.apply(this,arguments);}/**
|
|
24172
|
+
var isBase64=!!dataUriRegexResult[2];var data=dataUriRegexResult[3];data=window.decodeURIComponent(data);if(isBase64){data=window.atob(data);}try{var buffer=new ArrayBuffer(data.length);var view=new Uint8Array(buffer);for(var i=0;i<data.length;i++){view[i]=data.charCodeAt(i);}window.setTimeout(function(){ok(buffer);},0);}catch(error){window.setTimeout(function(){err(error);},0);}}else{var basePath=getBasePath$1(glTFSrc);var url=basePath+binarySrc;var request=new XMLHttpRequest();request.open('GET',url,true);request.responseType='arraybuffer';request.onreadystatechange=function(){if(request.readyState===4){if(request.status===200){ok(request.response);}else{err('loadArrayBuffer error : '+request.response);}}};request.send(null);}}function getBasePath$1(src){var i=src.lastIndexOf("/");return i!==0?src.substring(0,i+1):"";}function assert$5(condition,message){if(!condition){throw new Error(message||'loader assertion failed.');}}var isBrowser$4=Boolean((typeof process==="undefined"?"undefined":_typeof(process))!=='object'||String(process)!=='[object process]'||process.browser);var matches$1=typeof process!=='undefined'&&process.version&&/v([0-9]*)/.exec(process.version);matches$1&&parseFloat(matches$1[1])||0;var VERSION$9="3.2.6";function assert$4(condition,message){if(!condition){throw new Error(message||'loaders.gl assertion failed.');}}var globals$2={self:typeof self!=='undefined'&&self,window:typeof window!=='undefined'&&window,global:typeof global!=='undefined'&&global,document:typeof document!=='undefined'&&document};var global_=globals$2.global||globals$2.self||globals$2.window||{};var isBrowser$3=(typeof process==="undefined"?"undefined":_typeof(process))!=='object'||String(process)!=='[object process]'||process.browser;var isWorker=typeof importScripts==='function';var isMobile=typeof window!=='undefined'&&typeof window.orientation!=='undefined';var matches=typeof process!=='undefined'&&process.version&&/v([0-9]*)/.exec(process.version);matches&&parseFloat(matches[1])||0;function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var WorkerJob=/*#__PURE__*/function(){function WorkerJob(jobName,workerThread){var _this100=this;_classCallCheck(this,WorkerJob);_defineProperty(this,"name",void 0);_defineProperty(this,"workerThread",void 0);_defineProperty(this,"isRunning",true);_defineProperty(this,"result",void 0);_defineProperty(this,"_resolve",function(){});_defineProperty(this,"_reject",function(){});this.name=jobName;this.workerThread=workerThread;this.result=new Promise(function(resolve,reject){_this100._resolve=resolve;_this100._reject=reject;});}_createClass(WorkerJob,[{key:"postMessage",value:function postMessage(type,payload){this.workerThread.postMessage({source:'loaders.gl',type:type,payload:payload});}},{key:"done",value:function done(value){assert$4(this.isRunning);this.isRunning=false;this._resolve(value);}},{key:"error",value:function error(_error){assert$4(this.isRunning);this.isRunning=false;this._reject(_error);}}]);return WorkerJob;}();var Worker$1=/*#__PURE__*/_createClass(function Worker$1(){_classCallCheck(this,Worker$1);});var workerURLCache=new Map();function getLoadableWorkerURL(props){assert$4(props.source&&!props.url||!props.source&&props.url);var workerURL=workerURLCache.get(props.source||props.url);if(!workerURL){if(props.url){workerURL=getLoadableWorkerURLFromURL(props.url);workerURLCache.set(props.url,workerURL);}if(props.source){workerURL=getLoadableWorkerURLFromSource(props.source);workerURLCache.set(props.source,workerURL);}}assert$4(workerURL);return workerURL;}function getLoadableWorkerURLFromURL(url){if(!url.startsWith('http')){return url;}var workerSource=buildScriptSource(url);return getLoadableWorkerURLFromSource(workerSource);}function getLoadableWorkerURLFromSource(workerSource){var blob=new Blob([workerSource],{type:'application/javascript'});return URL.createObjectURL(blob);}function buildScriptSource(workerUrl){return"try {\n importScripts('".concat(workerUrl,"');\n} catch (error) {\n console.error(error);\n throw error;\n}");}function getTransferList(object){var recursive=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var transfers=arguments.length>2?arguments[2]:undefined;var transfersSet=transfers||new Set();if(!object);else if(isTransferable(object)){transfersSet.add(object);}else if(isTransferable(object.buffer)){transfersSet.add(object.buffer);}else if(ArrayBuffer.isView(object));else if(recursive&&_typeof(object)==='object'){for(var key in object){getTransferList(object[key],recursive,transfersSet);}}return transfers===undefined?Array.from(transfersSet):[];}function isTransferable(object){if(!object){return false;}if(object instanceof ArrayBuffer){return true;}if(typeof MessagePort!=='undefined'&&object instanceof MessagePort){return true;}if(typeof ImageBitmap!=='undefined'&&object instanceof ImageBitmap){return true;}if(typeof OffscreenCanvas!=='undefined'&&object instanceof OffscreenCanvas){return true;}return false;}var NOOP=function NOOP(){};var WorkerThread=/*#__PURE__*/function(){function WorkerThread(props){_classCallCheck(this,WorkerThread);_defineProperty(this,"name",void 0);_defineProperty(this,"source",void 0);_defineProperty(this,"url",void 0);_defineProperty(this,"terminated",false);_defineProperty(this,"worker",void 0);_defineProperty(this,"onMessage",void 0);_defineProperty(this,"onError",void 0);_defineProperty(this,"_loadableURL",'');var name=props.name,source=props.source,url=props.url;assert$4(source||url);this.name=name;this.source=source;this.url=url;this.onMessage=NOOP;this.onError=function(error){return console.log(error);};this.worker=isBrowser$3?this._createBrowserWorker():this._createNodeWorker();}_createClass(WorkerThread,[{key:"destroy",value:function destroy(){this.onMessage=NOOP;this.onError=NOOP;this.worker.terminate();this.terminated=true;}},{key:"isRunning",get:function get(){return Boolean(this.onMessage);}},{key:"postMessage",value:function postMessage(data,transferList){transferList=transferList||getTransferList(data);this.worker.postMessage(data,transferList);}},{key:"_getErrorFromErrorEvent",value:function _getErrorFromErrorEvent(event){var message='Failed to load ';message+="worker ".concat(this.name," from ").concat(this.url,". ");if(event.message){message+="".concat(event.message," in ");}if(event.lineno){message+=":".concat(event.lineno,":").concat(event.colno);}return new Error(message);}},{key:"_createBrowserWorker",value:function _createBrowserWorker(){var _this101=this;this._loadableURL=getLoadableWorkerURL({source:this.source,url:this.url});var worker=new Worker(this._loadableURL,{name:this.name});worker.onmessage=function(event){if(!event.data){_this101.onError(new Error('No data received'));}else{_this101.onMessage(event.data);}};worker.onerror=function(error){_this101.onError(_this101._getErrorFromErrorEvent(error));_this101.terminated=true;};worker.onmessageerror=function(event){return console.error(event);};return worker;}},{key:"_createNodeWorker",value:function _createNodeWorker(){var _this102=this;var worker;if(this.url){var absolute=this.url.includes(':/')||this.url.startsWith('/');var url=absolute?this.url:"./".concat(this.url);worker=new Worker$1(url,{eval:false});}else if(this.source){worker=new Worker$1(this.source,{eval:true});}else{throw new Error('no worker');}worker.on('message',function(data){_this102.onMessage(data);});worker.on('error',function(error){_this102.onError(error);});worker.on('exit',function(code){});return worker;}}],[{key:"isSupported",value:function isSupported(){return typeof Worker!=='undefined'&&isBrowser$3||_typeof(Worker$1)!==undefined;}}]);return WorkerThread;}();var WorkerPool=/*#__PURE__*/function(){function WorkerPool(props){_classCallCheck(this,WorkerPool);_defineProperty(this,"name",'unnamed');_defineProperty(this,"source",void 0);_defineProperty(this,"url",void 0);_defineProperty(this,"maxConcurrency",1);_defineProperty(this,"maxMobileConcurrency",1);_defineProperty(this,"onDebug",function(){});_defineProperty(this,"reuseWorkers",true);_defineProperty(this,"props",{});_defineProperty(this,"jobQueue",[]);_defineProperty(this,"idleQueue",[]);_defineProperty(this,"count",0);_defineProperty(this,"isDestroyed",false);this.source=props.source;this.url=props.url;this.setProps(props);}_createClass(WorkerPool,[{key:"destroy",value:function destroy(){this.idleQueue.forEach(function(worker){return worker.destroy();});this.isDestroyed=true;}},{key:"setProps",value:function setProps(props){this.props=_objectSpread(_objectSpread({},this.props),props);if(props.name!==undefined){this.name=props.name;}if(props.maxConcurrency!==undefined){this.maxConcurrency=props.maxConcurrency;}if(props.maxMobileConcurrency!==undefined){this.maxMobileConcurrency=props.maxMobileConcurrency;}if(props.reuseWorkers!==undefined){this.reuseWorkers=props.reuseWorkers;}if(props.onDebug!==undefined){this.onDebug=props.onDebug;}}},{key:"startJob",value:function(){var _startJob=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(name){var _this103=this;var onMessage,onError,startPromise,_args=arguments;return _regeneratorRuntime().wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:onMessage=_args.length>1&&_args[1]!==undefined?_args[1]:function(job,type,data){return job.done(data);};onError=_args.length>2&&_args[2]!==undefined?_args[2]:function(job,error){return job.error(error);};startPromise=new Promise(function(onStart){_this103.jobQueue.push({name:name,onMessage:onMessage,onError:onError,onStart:onStart});return _this103;});this._startQueuedJob();_context.next=6;return startPromise;case 6:return _context.abrupt("return",_context.sent);case 7:case"end":return _context.stop();}}},_callee,this);}));function startJob(_x7){return _startJob.apply(this,arguments);}return startJob;}()},{key:"_startQueuedJob",value:function(){var _startQueuedJob2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var workerThread,queuedJob,job;return _regeneratorRuntime().wrap(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:if(this.jobQueue.length){_context2.next=2;break;}return _context2.abrupt("return");case 2:workerThread=this._getAvailableWorker();if(workerThread){_context2.next=5;break;}return _context2.abrupt("return");case 5:queuedJob=this.jobQueue.shift();if(!queuedJob){_context2.next=18;break;}this.onDebug({message:'Starting job',name:queuedJob.name,workerThread:workerThread,backlog:this.jobQueue.length});job=new WorkerJob(queuedJob.name,workerThread);workerThread.onMessage=function(data){return queuedJob.onMessage(job,data.type,data.payload);};workerThread.onError=function(error){return queuedJob.onError(job,error);};queuedJob.onStart(job);_context2.prev=12;_context2.next=15;return job.result;case 15:_context2.prev=15;this.returnWorkerToQueue(workerThread);return _context2.finish(15);case 18:case"end":return _context2.stop();}}},_callee2,this,[[12,,15,18]]);}));function _startQueuedJob(){return _startQueuedJob2.apply(this,arguments);}return _startQueuedJob;}()},{key:"returnWorkerToQueue",value:function returnWorkerToQueue(worker){var shouldDestroyWorker=this.isDestroyed||!this.reuseWorkers||this.count>this._getMaxConcurrency();if(shouldDestroyWorker){worker.destroy();this.count--;}else{this.idleQueue.push(worker);}if(!this.isDestroyed){this._startQueuedJob();}}},{key:"_getAvailableWorker",value:function _getAvailableWorker(){if(this.idleQueue.length>0){return this.idleQueue.shift()||null;}if(this.count<this._getMaxConcurrency()){this.count++;var _name6="".concat(this.name.toLowerCase()," (#").concat(this.count," of ").concat(this.maxConcurrency,")");return new WorkerThread({name:_name6,source:this.source,url:this.url});}return null;}},{key:"_getMaxConcurrency",value:function _getMaxConcurrency(){return isMobile?this.maxMobileConcurrency:this.maxConcurrency;}}],[{key:"isSupported",value:function isSupported(){return WorkerThread.isSupported();}}]);return WorkerPool;}();var DEFAULT_PROPS={maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:true,onDebug:function onDebug(){}};var WorkerFarm=/*#__PURE__*/function(){function WorkerFarm(props){_classCallCheck(this,WorkerFarm);_defineProperty(this,"props",void 0);_defineProperty(this,"workerPools",new Map());this.props=_objectSpread({},DEFAULT_PROPS);this.setProps(props);this.workerPools=new Map();}_createClass(WorkerFarm,[{key:"destroy",value:function destroy(){var _iterator3=_createForOfIteratorHelper(this.workerPools.values()),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var workerPool=_step3.value;workerPool.destroy();}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}this.workerPools=new Map();}},{key:"setProps",value:function setProps(props){this.props=_objectSpread(_objectSpread({},this.props),props);var _iterator4=_createForOfIteratorHelper(this.workerPools.values()),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var workerPool=_step4.value;workerPool.setProps(this._getWorkerPoolProps());}}catch(err){_iterator4.e(err);}finally{_iterator4.f();}}},{key:"getWorkerPool",value:function getWorkerPool(options){var name=options.name,source=options.source,url=options.url;var workerPool=this.workerPools.get(name);if(!workerPool){workerPool=new WorkerPool({name:name,source:source,url:url});workerPool.setProps(this._getWorkerPoolProps());this.workerPools.set(name,workerPool);}return workerPool;}},{key:"_getWorkerPoolProps",value:function _getWorkerPoolProps(){return{maxConcurrency:this.props.maxConcurrency,maxMobileConcurrency:this.props.maxMobileConcurrency,reuseWorkers:this.props.reuseWorkers,onDebug:this.props.onDebug};}}],[{key:"isSupported",value:function isSupported(){return WorkerThread.isSupported();}},{key:"getWorkerFarm",value:function getWorkerFarm(){var props=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};WorkerFarm._workerFarm=WorkerFarm._workerFarm||new WorkerFarm({});WorkerFarm._workerFarm.setProps(props);return WorkerFarm._workerFarm;}}]);return WorkerFarm;}();_defineProperty(WorkerFarm,"_workerFarm",void 0);var NPM_TAG='latest';function getWorkerURL(worker){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var workerOptions=options[worker.id]||{};var workerFile="".concat(worker.id,"-worker.js");var url=workerOptions.workerUrl;if(!url&&worker.id==='compression'){url=options.workerUrl;}if(options._workerType==='test'){url="modules/".concat(worker.module,"/dist/").concat(workerFile);}if(!url){var version=worker.version;if(version==='latest'){version=NPM_TAG;}var versionTag=version?"@".concat(version):'';url="https://unpkg.com/@loaders.gl/".concat(worker.module).concat(versionTag,"/dist/").concat(workerFile);}assert$4(url);return url;}function validateWorkerVersion(worker){var coreVersion=arguments.length>1&&arguments[1]!==undefined?arguments[1]:VERSION$9;assert$4(worker,'no worker provided');var workerVersion=worker.version;if(!coreVersion||!workerVersion){return false;}return true;}var ChildProcessProxy={};var node=/*#__PURE__*/Object.freeze({__proto__:null,'default':ChildProcessProxy});var VERSION$8="3.2.6";var loadLibraryPromises={};function loadLibrary(_x8){return _loadLibrary.apply(this,arguments);}function _loadLibrary(){_loadLibrary=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee21(libraryUrl){var moduleName,options,_args19=arguments;return _regeneratorRuntime().wrap(function _callee21$(_context24){while(1){switch(_context24.prev=_context24.next){case 0:moduleName=_args19.length>1&&_args19[1]!==undefined?_args19[1]:null;options=_args19.length>2&&_args19[2]!==undefined?_args19[2]:{};if(moduleName){libraryUrl=getLibraryUrl(libraryUrl,moduleName,options);}loadLibraryPromises[libraryUrl]=loadLibraryPromises[libraryUrl]||loadLibraryFromFile(libraryUrl);_context24.next=6;return loadLibraryPromises[libraryUrl];case 6:return _context24.abrupt("return",_context24.sent);case 7:case"end":return _context24.stop();}}},_callee21);}));return _loadLibrary.apply(this,arguments);}function getLibraryUrl(library,moduleName,options){if(library.startsWith('http')){return library;}var modules=options.modules||{};if(modules[library]){return modules[library];}if(!isBrowser$3){return"modules/".concat(moduleName,"/dist/libs/").concat(library);}if(options.CDN){assert$4(options.CDN.startsWith('http'));return"".concat(options.CDN,"/").concat(moduleName,"@").concat(VERSION$8,"/dist/libs/").concat(library);}if(isWorker){return"../src/libs/".concat(library);}return"modules/".concat(moduleName,"/src/libs/").concat(library);}function loadLibraryFromFile(_x9){return _loadLibraryFromFile.apply(this,arguments);}function _loadLibraryFromFile(){_loadLibraryFromFile=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee22(libraryUrl){var _response,response,scriptSource;return _regeneratorRuntime().wrap(function _callee22$(_context25){while(1){switch(_context25.prev=_context25.next){case 0:if(!libraryUrl.endsWith('wasm')){_context25.next=7;break;}_context25.next=3;return fetch(libraryUrl);case 3:_response=_context25.sent;_context25.next=6;return _response.arrayBuffer();case 6:return _context25.abrupt("return",_context25.sent);case 7:if(isBrowser$3){_context25.next=20;break;}_context25.prev=8;_context25.t0=node&&undefined;if(!_context25.t0){_context25.next=14;break;}_context25.next=13;return undefined(libraryUrl);case 13:_context25.t0=_context25.sent;case 14:return _context25.abrupt("return",_context25.t0);case 17:_context25.prev=17;_context25.t1=_context25["catch"](8);return _context25.abrupt("return",null);case 20:if(!isWorker){_context25.next=22;break;}return _context25.abrupt("return",importScripts(libraryUrl));case 22:_context25.next=24;return fetch(libraryUrl);case 24:response=_context25.sent;_context25.next=27;return response.text();case 27:scriptSource=_context25.sent;return _context25.abrupt("return",loadLibraryFromString(scriptSource,libraryUrl));case 29:case"end":return _context25.stop();}}},_callee22,null,[[8,17]]);}));return _loadLibraryFromFile.apply(this,arguments);}function loadLibraryFromString(scriptSource,id){if(!isBrowser$3){return undefined&&undefined(scriptSource,id);}if(isWorker){eval.call(global_,scriptSource);return null;}var script=document.createElement('script');script.id=id;try{script.appendChild(document.createTextNode(scriptSource));}catch(e){script.text=scriptSource;}document.body.appendChild(script);return null;}function canParseWithWorker(loader,options){if(!WorkerFarm.isSupported()){return false;}if(!isBrowser$3&&!(options!==null&&options!==void 0&&options._nodeWorkers)){return false;}return loader.worker&&(options===null||options===void 0?void 0:options.worker);}function parseWithWorker(_x10,_x11,_x12,_x13,_x14){return _parseWithWorker.apply(this,arguments);}function _parseWithWorker(){_parseWithWorker=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee23(loader,data,options,context,parseOnMainThread){var name,url,workerFarm,workerPool,job,result;return _regeneratorRuntime().wrap(function _callee23$(_context26){while(1){switch(_context26.prev=_context26.next){case 0:name=loader.id;url=getWorkerURL(loader,options);workerFarm=WorkerFarm.getWorkerFarm(options);workerPool=workerFarm.getWorkerPool({name:name,url:url});options=JSON.parse(JSON.stringify(options));context=JSON.parse(JSON.stringify(context||{}));_context26.next=8;return workerPool.startJob('process-on-worker',onMessage.bind(null,parseOnMainThread));case 8:job=_context26.sent;job.postMessage('process',{input:data,options:options,context:context});_context26.next=12;return job.result;case 12:result=_context26.sent;_context26.next=15;return result.result;case 15:return _context26.abrupt("return",_context26.sent);case 16:case"end":return _context26.stop();}}},_callee23);}));return _parseWithWorker.apply(this,arguments);}function onMessage(_x15,_x16,_x17,_x18){return _onMessage2.apply(this,arguments);}function _onMessage2(){_onMessage2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee24(parseOnMainThread,job,type,payload){var id,input,options,result,message;return _regeneratorRuntime().wrap(function _callee24$(_context27){while(1){switch(_context27.prev=_context27.next){case 0:_context27.t0=type;_context27.next=_context27.t0==='done'?3:_context27.t0==='error'?5:_context27.t0==='process'?7:20;break;case 3:job.done(payload);return _context27.abrupt("break",21);case 5:job.error(new Error(payload.error));return _context27.abrupt("break",21);case 7:id=payload.id,input=payload.input,options=payload.options;_context27.prev=8;_context27.next=11;return parseOnMainThread(input,options);case 11:result=_context27.sent;job.postMessage('done',{id:id,result:result});_context27.next=19;break;case 15:_context27.prev=15;_context27.t1=_context27["catch"](8);message=_context27.t1 instanceof Error?_context27.t1.message:'unknown error';job.postMessage('error',{id:id,error:message});case 19:return _context27.abrupt("break",21);case 20:console.warn("parse-with-worker unknown message ".concat(type));case 21:case"end":return _context27.stop();}}},_callee24,null,[[8,15]]);}));return _onMessage2.apply(this,arguments);}function getFirstCharacters$1(data){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:5;if(typeof data==='string'){return data.slice(0,length);}else if(ArrayBuffer.isView(data)){return getMagicString$2(data.buffer,data.byteOffset,length);}else if(data instanceof ArrayBuffer){var byteOffset=0;return getMagicString$2(data,byteOffset,length);}return'';}function getMagicString$2(arrayBuffer,byteOffset,length){if(arrayBuffer.byteLength<=byteOffset+length){return'';}var dataView=new DataView(arrayBuffer);var magic='';for(var _i541=0;_i541<length;_i541++){magic+=String.fromCharCode(dataView.getUint8(byteOffset+_i541));}return magic;}function parseJSON(string){try{return JSON.parse(string);}catch(_){throw new Error("Failed to parse JSON from data starting with \"".concat(getFirstCharacters$1(string),"\""));}}function isBuffer$1(value){return value&&_typeof(value)==='object'&&value.isBuffer;}function bufferToArrayBuffer(buffer){if(isBuffer$1(buffer)){var typedArray=new Uint8Array(buffer.buffer,buffer.byteOffset,buffer.length);return typedArray.slice().buffer;}return buffer;}function toArrayBuffer(data){if(isBuffer$1(data)){return bufferToArrayBuffer(data);}if(data instanceof ArrayBuffer){return data;}if(ArrayBuffer.isView(data)){if(data.byteOffset===0&&data.byteLength===data.buffer.byteLength){return data.buffer;}return data.buffer.slice(data.byteOffset,data.byteOffset+data.byteLength);}if(typeof data==='string'){var text=data;var uint8Array=new TextEncoder().encode(text);return uint8Array.buffer;}if(data&&_typeof(data)==='object'&&data._toArrayBuffer){return data._toArrayBuffer();}throw new Error('toArrayBuffer');}function compareArrayBuffers(arrayBuffer1,arrayBuffer2,byteLength){byteLength=byteLength||arrayBuffer1.byteLength;if(arrayBuffer1.byteLength<byteLength||arrayBuffer2.byteLength<byteLength){return false;}var array1=new Uint8Array(arrayBuffer1);var array2=new Uint8Array(arrayBuffer2);for(var _i542=0;_i542<array1.length;++_i542){if(array1[_i542]!==array2[_i542]){return false;}}return true;}function concatenateArrayBuffers(){for(var _len119=arguments.length,sources=new Array(_len119),_key3=0;_key3<_len119;_key3++){sources[_key3]=arguments[_key3];}var sourceArrays=sources.map(function(source2){return source2 instanceof ArrayBuffer?new Uint8Array(source2):source2;});var byteLength=sourceArrays.reduce(function(length,typedArray){return length+typedArray.byteLength;},0);var result=new Uint8Array(byteLength);var offset=0;var _iterator5=_createForOfIteratorHelper(sourceArrays),_step5;try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var sourceArray=_step5.value;result.set(sourceArray,offset);offset+=sourceArray.byteLength;}}catch(err){_iterator5.e(err);}finally{_iterator5.f();}return result.buffer;}function sliceArrayBuffer(arrayBuffer,byteOffset,byteLength){var subArray=byteLength!==undefined?new Uint8Array(arrayBuffer).subarray(byteOffset,byteOffset+byteLength):new Uint8Array(arrayBuffer).subarray(byteOffset);var arrayCopy=new Uint8Array(subArray);return arrayCopy.buffer;}function padToNBytes(byteLength,padding){assert$5(byteLength>=0);assert$5(padding>0);return byteLength+(padding-1)&~(padding-1);}function copyToArray(source,target,targetOffset){var sourceArray;if(source instanceof ArrayBuffer){sourceArray=new Uint8Array(source);}else{var srcByteOffset=source.byteOffset;var srcByteLength=source.byteLength;sourceArray=new Uint8Array(source.buffer||source.arrayBuffer,srcByteOffset,srcByteLength);}target.set(sourceArray,targetOffset);return targetOffset+padToNBytes(sourceArray.byteLength,4);}function concatenateArrayBuffersAsync(_x19){return _concatenateArrayBuffersAsync.apply(this,arguments);}function _concatenateArrayBuffersAsync(){_concatenateArrayBuffersAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee25(asyncIterator){var arrayBuffers,_iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator,_step,chunk;return _regeneratorRuntime().wrap(function _callee25$(_context28){while(1){switch(_context28.prev=_context28.next){case 0:arrayBuffers=[];_iteratorAbruptCompletion=false;_didIteratorError=false;_context28.prev=3;_iterator=_asyncIterator(asyncIterator);case 5:_context28.next=7;return _iterator.next();case 7:if(!(_iteratorAbruptCompletion=!(_step=_context28.sent).done)){_context28.next=13;break;}chunk=_step.value;arrayBuffers.push(chunk);case 10:_iteratorAbruptCompletion=false;_context28.next=5;break;case 13:_context28.next=19;break;case 15:_context28.prev=15;_context28.t0=_context28["catch"](3);_didIteratorError=true;_iteratorError=_context28.t0;case 19:_context28.prev=19;_context28.prev=20;if(!(_iteratorAbruptCompletion&&_iterator["return"]!=null)){_context28.next=24;break;}_context28.next=24;return _iterator["return"]();case 24:_context28.prev=24;if(!_didIteratorError){_context28.next=27;break;}throw _iteratorError;case 27:return _context28.finish(24);case 28:return _context28.finish(19);case 29:return _context28.abrupt("return",concatenateArrayBuffers.apply(void 0,arrayBuffers));case 30:case"end":return _context28.stop();}}},_callee25,null,[[3,15,19,29],[20,,24,28]]);}));return _concatenateArrayBuffersAsync.apply(this,arguments);}var pathPrefix='';var fileAliases={};function resolvePath(filename){for(var alias in fileAliases){if(filename.startsWith(alias)){var replacement=fileAliases[alias];filename=filename.replace(alias,replacement);}}if(!filename.startsWith('http://')&&!filename.startsWith('https://')){filename="".concat(pathPrefix).concat(filename);}return filename;}function filename(url){var slashIndex=url&&url.lastIndexOf('/');return slashIndex>=0?url.substr(slashIndex+1):'';}var isBoolean=function isBoolean(x){return typeof x==='boolean';};var isFunction=function isFunction(x){return typeof x==='function';};var isObject=function isObject(x){return x!==null&&_typeof(x)==='object';};var isPureObject=function isPureObject(x){return isObject(x)&&x.constructor==={}.constructor;};var isIterable=function isIterable(x){return x&&typeof x[Symbol.iterator]==='function';};var isAsyncIterable=function isAsyncIterable(x){return x&&typeof x[Symbol.asyncIterator]==='function';};var isResponse=function isResponse(x){return typeof Response!=='undefined'&&x instanceof Response||x&&x.arrayBuffer&&x.text&&x.json;};var isBlob=function isBlob(x){return typeof Blob!=='undefined'&&x instanceof Blob;};var isBuffer=function isBuffer(x){return x&&_typeof(x)==='object'&&x.isBuffer;};var isReadableDOMStream=function isReadableDOMStream(x){return typeof ReadableStream!=='undefined'&&x instanceof ReadableStream||isObject(x)&&isFunction(x.tee)&&isFunction(x.cancel)&&isFunction(x.getReader);};var isReadableNodeStream=function isReadableNodeStream(x){return isObject(x)&&isFunction(x.read)&&isFunction(x.pipe)&&isBoolean(x.readable);};var isReadableStream=function isReadableStream(x){return isReadableDOMStream(x)||isReadableNodeStream(x);};var DATA_URL_PATTERN=/^data:([-\w.]+\/[-\w.+]+)(;|,)/;var MIME_TYPE_PATTERN=/^([-\w.]+\/[-\w.+]+)/;function parseMIMEType(mimeString){var matches=MIME_TYPE_PATTERN.exec(mimeString);if(matches){return matches[1];}return mimeString;}function parseMIMETypeFromURL(url){var matches=DATA_URL_PATTERN.exec(url);if(matches){return matches[1];}return'';}var QUERY_STRING_PATTERN=/\?.*/;function getResourceUrlAndType(resource){if(isResponse(resource)){var url=stripQueryString(resource.url||'');var contentTypeHeader=resource.headers.get('content-type')||'';return{url:url,type:parseMIMEType(contentTypeHeader)||parseMIMETypeFromURL(url)};}if(isBlob(resource)){return{url:stripQueryString(resource.name||''),type:resource.type||''};}if(typeof resource==='string'){return{url:stripQueryString(resource),type:parseMIMETypeFromURL(resource)};}return{url:'',type:''};}function getResourceContentLength(resource){if(isResponse(resource)){return resource.headers['content-length']||-1;}if(isBlob(resource)){return resource.size;}if(typeof resource==='string'){return resource.length;}if(resource instanceof ArrayBuffer){return resource.byteLength;}if(ArrayBuffer.isView(resource)){return resource.byteLength;}return-1;}function stripQueryString(url){return url.replace(QUERY_STRING_PATTERN,'');}function makeResponse(_x20){return _makeResponse.apply(this,arguments);}function _makeResponse(){_makeResponse=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee26(resource){var headers,contentLength,_getResourceUrlAndTyp3,url,type,initialDataUrl,response;return _regeneratorRuntime().wrap(function _callee26$(_context29){while(1){switch(_context29.prev=_context29.next){case 0:if(!isResponse(resource)){_context29.next=2;break;}return _context29.abrupt("return",resource);case 2:headers={};contentLength=getResourceContentLength(resource);if(contentLength>=0){headers['content-length']=String(contentLength);}_getResourceUrlAndTyp3=getResourceUrlAndType(resource),url=_getResourceUrlAndTyp3.url,type=_getResourceUrlAndTyp3.type;if(type){headers['content-type']=type;}_context29.next=9;return getInitialDataUrl(resource);case 9:initialDataUrl=_context29.sent;if(initialDataUrl){headers['x-first-bytes']=initialDataUrl;}if(typeof resource==='string'){resource=new TextEncoder().encode(resource);}response=new Response(resource,{headers:headers});Object.defineProperty(response,'url',{value:url});return _context29.abrupt("return",response);case 15:case"end":return _context29.stop();}}},_callee26);}));return _makeResponse.apply(this,arguments);}function checkResponse(_x21){return _checkResponse.apply(this,arguments);}function _checkResponse(){_checkResponse=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee27(response){var message;return _regeneratorRuntime().wrap(function _callee27$(_context30){while(1){switch(_context30.prev=_context30.next){case 0:if(response.ok){_context30.next=5;break;}_context30.next=3;return getResponseError(response);case 3:message=_context30.sent;throw new Error(message);case 5:case"end":return _context30.stop();}}},_callee27);}));return _checkResponse.apply(this,arguments);}function getResponseError(_x22){return _getResponseError.apply(this,arguments);}function _getResponseError(){_getResponseError=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee28(response){var message,contentType,text;return _regeneratorRuntime().wrap(function _callee28$(_context31){while(1){switch(_context31.prev=_context31.next){case 0:message="Failed to fetch resource ".concat(response.url," (").concat(response.status,"): ");_context31.prev=1;contentType=response.headers.get('Content-Type');text=response.statusText;if(!contentType.includes('application/json')){_context31.next=11;break;}_context31.t0=text;_context31.t1=" ";_context31.next=9;return response.text();case 9:_context31.t2=_context31.sent;text=_context31.t0+=_context31.t1.concat.call(_context31.t1,_context31.t2);case 11:message+=text;message=message.length>60?"".concat(message.slice(0,60),"..."):message;_context31.next=17;break;case 15:_context31.prev=15;_context31.t3=_context31["catch"](1);case 17:return _context31.abrupt("return",message);case 18:case"end":return _context31.stop();}}},_callee28,null,[[1,15]]);}));return _getResponseError.apply(this,arguments);}function getInitialDataUrl(_x23){return _getInitialDataUrl.apply(this,arguments);}function _getInitialDataUrl(){_getInitialDataUrl=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee29(resource){var INITIAL_DATA_LENGTH,blobSlice,slice,base64;return _regeneratorRuntime().wrap(function _callee29$(_context32){while(1){switch(_context32.prev=_context32.next){case 0:INITIAL_DATA_LENGTH=5;if(!(typeof resource==='string')){_context32.next=3;break;}return _context32.abrupt("return","data:,".concat(resource.slice(0,INITIAL_DATA_LENGTH)));case 3:if(!(resource instanceof Blob)){_context32.next=8;break;}blobSlice=resource.slice(0,5);_context32.next=7;return new Promise(function(resolve){var reader=new FileReader();reader.onload=function(event){var _event$target;return resolve(event===null||event===void 0?void 0:(_event$target=event.target)===null||_event$target===void 0?void 0:_event$target.result);};reader.readAsDataURL(blobSlice);});case 7:return _context32.abrupt("return",_context32.sent);case 8:if(!(resource instanceof ArrayBuffer)){_context32.next=12;break;}slice=resource.slice(0,INITIAL_DATA_LENGTH);base64=arrayBufferToBase64(slice);return _context32.abrupt("return","data:base64,".concat(base64));case 12:return _context32.abrupt("return",null);case 13:case"end":return _context32.stop();}}},_callee29);}));return _getInitialDataUrl.apply(this,arguments);}function arrayBufferToBase64(buffer){var binary='';var bytes=new Uint8Array(buffer);for(var _i543=0;_i543<bytes.byteLength;_i543++){binary+=String.fromCharCode(bytes[_i543]);}return btoa(binary);}function fetchFile(_x24,_x25){return _fetchFile.apply(this,arguments);}function _fetchFile(){_fetchFile=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee30(url,options){var fetchOptions;return _regeneratorRuntime().wrap(function _callee30$(_context33){while(1){switch(_context33.prev=_context33.next){case 0:if(!(typeof url==='string')){_context33.next=7;break;}url=resolvePath(url);fetchOptions=options;if(options!==null&&options!==void 0&&options.fetch&&typeof(options===null||options===void 0?void 0:options.fetch)!=='function'){fetchOptions=options.fetch;}_context33.next=6;return fetch(url,fetchOptions);case 6:return _context33.abrupt("return",_context33.sent);case 7:_context33.next=9;return makeResponse(url);case 9:return _context33.abrupt("return",_context33.sent);case 10:case"end":return _context33.stop();}}},_callee30);}));return _fetchFile.apply(this,arguments);}function isElectron$1(mockUserAgent){if(typeof window!=='undefined'&&_typeof(window.process)==='object'&&window.process.type==='renderer'){return true;}if(typeof process!=='undefined'&&_typeof(process.versions)==='object'&&Boolean(process.versions.electron)){return true;}var realUserAgent=(typeof navigator==="undefined"?"undefined":_typeof(navigator))==='object'&&typeof navigator.userAgent==='string'&&navigator.userAgent;var userAgent=mockUserAgent||realUserAgent;if(userAgent&&userAgent.indexOf('Electron')>=0){return true;}return false;}function isBrowser$2(){var isNode=(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&String(process)==='[object process]'&&!process.browser;return!isNode||isElectron$1();}var globals$1={self:typeof self!=='undefined'&&self,window:typeof window!=='undefined'&&window,global:typeof global!=='undefined'&&global,document:typeof document!=='undefined'&&document,process:(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&process};var window_$1=globals$1.window||globals$1.self||globals$1.global;var process_$1=globals$1.process||{};var VERSION$7=typeof __VERSION__!=='undefined'?__VERSION__:'untranspiled source';var isBrowser$1=isBrowser$2();function getStorage$1(type){try{var storage=window[type];var x='__storage_test__';storage.setItem(x,x);storage.removeItem(x);return storage;}catch(e){return null;}}var LocalStorage$1=/*#__PURE__*/function(){function LocalStorage$1(id,defaultSettings){var type=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'sessionStorage';_classCallCheck(this,LocalStorage$1);this.storage=getStorage$1(type);this.id=id;this.config={};Object.assign(this.config,defaultSettings);this._loadConfiguration();}_createClass(LocalStorage$1,[{key:"getConfiguration",value:function getConfiguration(){return this.config;}},{key:"setConfiguration",value:function setConfiguration(configuration){this.config={};return this.updateConfiguration(configuration);}},{key:"updateConfiguration",value:function updateConfiguration(configuration){Object.assign(this.config,configuration);if(this.storage){var serialized=JSON.stringify(this.config);this.storage.setItem(this.id,serialized);}return this;}},{key:"_loadConfiguration",value:function _loadConfiguration(){var configuration={};if(this.storage){var serializedConfiguration=this.storage.getItem(this.id);configuration=serializedConfiguration?JSON.parse(serializedConfiguration):{};}Object.assign(this.config,configuration);return this;}}]);return LocalStorage$1;}();function formatTime$1(ms){var formatted;if(ms<10){formatted="".concat(ms.toFixed(2),"ms");}else if(ms<100){formatted="".concat(ms.toFixed(1),"ms");}else if(ms<1000){formatted="".concat(ms.toFixed(0),"ms");}else{formatted="".concat((ms/1000).toFixed(2),"s");}return formatted;}function leftPad$1(string){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:8;var padLength=Math.max(length-string.length,0);return"".concat(' '.repeat(padLength)).concat(string);}function formatImage$1(image,message,scale){var maxWidth=arguments.length>3&&arguments[3]!==undefined?arguments[3]:600;var imageUrl=image.src.replace(/\(/g,'%28').replace(/\)/g,'%29');if(image.width>maxWidth){scale=Math.min(scale,maxWidth/image.width);}var width=image.width*scale;var height=image.height*scale;var style=['font-size:1px;',"padding:".concat(Math.floor(height/2),"px ").concat(Math.floor(width/2),"px;"),"line-height:".concat(height,"px;"),"background:url(".concat(imageUrl,");"),"background-size:".concat(width,"px ").concat(height,"px;"),'color:transparent;'].join('');return["".concat(message," %c+"),style];}var COLOR$1={BLACK:30,RED:31,GREEN:32,YELLOW:33,BLUE:34,MAGENTA:35,CYAN:36,WHITE:37,BRIGHT_BLACK:90,BRIGHT_RED:91,BRIGHT_GREEN:92,BRIGHT_YELLOW:93,BRIGHT_BLUE:94,BRIGHT_MAGENTA:95,BRIGHT_CYAN:96,BRIGHT_WHITE:97};function getColor$1(color){return typeof color==='string'?COLOR$1[color.toUpperCase()]||COLOR$1.WHITE:color;}function addColor$1(string,color,background){if(!isBrowser$1&&typeof string==='string'){if(color){color=getColor$1(color);string="\x1B[".concat(color,"m").concat(string,"\x1B[39m");}if(background){color=getColor$1(background);string="\x1B[".concat(background+10,"m").concat(string,"\x1B[49m");}}return string;}function autobind$1(obj){var predefined=arguments.length>1&&arguments[1]!==undefined?arguments[1]:['constructor'];var proto=Object.getPrototypeOf(obj);var propNames=Object.getOwnPropertyNames(proto);var _iterator6=_createForOfIteratorHelper(propNames),_step6;try{var _loop5=function _loop5(){var key=_step6.value;if(typeof obj[key]==='function'){if(!predefined.find(function(name){return key===name;})){obj[key]=obj[key].bind(obj);}}};for(_iterator6.s();!(_step6=_iterator6.n()).done;){_loop5();}}catch(err){_iterator6.e(err);}finally{_iterator6.f();}}function assert$3(condition,message){if(!condition){throw new Error(message||'Assertion failed');}}function getHiResTimestamp$1(){var timestamp;if(isBrowser$1&&window_$1.performance){timestamp=window_$1.performance.now();}else if(process_$1.hrtime){var timeParts=process_$1.hrtime();timestamp=timeParts[0]*1000+timeParts[1]/1e6;}else{timestamp=Date.now();}return timestamp;}var originalConsole$1={debug:isBrowser$1?console.debug||console.log:console.log,log:console.log,info:console.info,warn:console.warn,error:console.error};var DEFAULT_SETTINGS$1={enabled:true,level:0};function noop$1(){}var cache$1={};var ONCE$1={once:true};function getTableHeader$1(table){for(var key in table){for(var title in table[key]){return title||'untitled';}}return'empty';}var Log$1=/*#__PURE__*/function(){function Log$1(){var _ref14=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{id:''},id=_ref14.id;_classCallCheck(this,Log$1);this.id=id;this.VERSION=VERSION$7;this._startTs=getHiResTimestamp$1();this._deltaTs=getHiResTimestamp$1();this.LOG_THROTTLE_TIMEOUT=0;this._storage=new LocalStorage$1("__probe-".concat(this.id,"__"),DEFAULT_SETTINGS$1);this.userData={};this.timeStamp("".concat(this.id," started"));autobind$1(this);Object.seal(this);}_createClass(Log$1,[{key:"level",get:function get(){return this.getLevel();},set:function set(newLevel){this.setLevel(newLevel);}},{key:"isEnabled",value:function isEnabled(){return this._storage.config.enabled;}},{key:"getLevel",value:function getLevel(){return this._storage.config.level;}},{key:"getTotal",value:function getTotal(){return Number((getHiResTimestamp$1()-this._startTs).toPrecision(10));}},{key:"getDelta",value:function getDelta(){return Number((getHiResTimestamp$1()-this._deltaTs).toPrecision(10));}},{key:"priority",get:function get(){return this.level;},set:function set(newPriority){this.level=newPriority;}},{key:"getPriority",value:function getPriority(){return this.level;}},{key:"enable",value:function enable(){var enabled=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;this._storage.updateConfiguration({enabled:enabled});return this;}},{key:"setLevel",value:function setLevel(level){this._storage.updateConfiguration({level:level});return this;}},{key:"assert",value:function assert(condition,message){assert$3(condition,message);}},{key:"warn",value:function warn(message){return this._getLogFunction(0,message,originalConsole$1.warn,arguments,ONCE$1);}},{key:"error",value:function error(message){return this._getLogFunction(0,message,originalConsole$1.error,arguments);}},{key:"deprecated",value:function deprecated(oldUsage,newUsage){return this.warn("`".concat(oldUsage,"` is deprecated and will be removed in a later version. Use `").concat(newUsage,"` instead"));}},{key:"removed",value:function removed(oldUsage,newUsage){return this.error("`".concat(oldUsage,"` has been removed. Use `").concat(newUsage,"` instead"));}},{key:"probe",value:function probe(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole$1.log,arguments,{time:true,once:true});}},{key:"log",value:function log(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole$1.debug,arguments);}},{key:"info",value:function info(logLevel,message){return this._getLogFunction(logLevel,message,console.info,arguments);}},{key:"once",value:function once(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole$1.debug||originalConsole$1.info,arguments,ONCE$1);}},{key:"table",value:function table(logLevel,_table,columns){if(_table){return this._getLogFunction(logLevel,_table,console.table||noop$1,columns&&[columns],{tag:getTableHeader$1(_table)});}return noop$1;}},{key:"image",value:function(_image6){function image(_x26){return _image6.apply(this,arguments);}image.toString=function(){return _image6.toString();};return image;}(function(_ref15){var logLevel=_ref15.logLevel,priority=_ref15.priority,image=_ref15.image,_ref15$message=_ref15.message,message=_ref15$message===void 0?'':_ref15$message,_ref15$scale=_ref15.scale,scale=_ref15$scale===void 0?1:_ref15$scale;if(!this._shouldLog(logLevel||priority)){return noop$1;}return isBrowser$1?logImageInBrowser$1({image:image,message:message,scale:scale}):logImageInNode$1({image:image,message:message,scale:scale});})},{key:"settings",value:function settings(){if(console.table){console.table(this._storage.config);}else{console.log(this._storage.config);}}},{key:"get",value:function get(setting){return this._storage.config[setting];}},{key:"set",value:function set(setting,value){this._storage.updateConfiguration(_defineProperty2({},setting,value));}},{key:"time",value:function time(logLevel,message){return this._getLogFunction(logLevel,message,console.time?console.time:console.info);}},{key:"timeEnd",value:function timeEnd(logLevel,message){return this._getLogFunction(logLevel,message,console.timeEnd?console.timeEnd:console.info);}},{key:"timeStamp",value:function timeStamp(logLevel,message){return this._getLogFunction(logLevel,message,console.timeStamp||noop$1);}},{key:"group",value:function group(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{collapsed:false};opts=normalizeArguments$1({logLevel:logLevel,message:message,opts:opts});var _opts=opts,collapsed=_opts.collapsed;opts.method=(collapsed?console.groupCollapsed:console.group)||console.info;return this._getLogFunction(opts);}},{key:"groupCollapsed",value:function groupCollapsed(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.group(logLevel,message,Object.assign({},opts,{collapsed:true}));}},{key:"groupEnd",value:function groupEnd(logLevel){return this._getLogFunction(logLevel,'',console.groupEnd||noop$1);}},{key:"withGroup",value:function withGroup(logLevel,message,func){this.group(logLevel,message)();try{func();}finally{this.groupEnd(logLevel)();}}},{key:"trace",value:function trace(){if(console.trace){console.trace();}}},{key:"_shouldLog",value:function _shouldLog(logLevel){return this.isEnabled()&&this.getLevel()>=normalizeLogLevel$1(logLevel);}},{key:"_getLogFunction",value:function _getLogFunction(logLevel,message,method){var args=arguments.length>3&&arguments[3]!==undefined?arguments[3]:[];var opts=arguments.length>4?arguments[4]:undefined;if(this._shouldLog(logLevel)){var _method;opts=normalizeArguments$1({logLevel:logLevel,message:message,args:args,opts:opts});method=method||opts.method;assert$3(method);opts.total=this.getTotal();opts.delta=this.getDelta();this._deltaTs=getHiResTimestamp$1();var tag=opts.tag||opts.message;if(opts.once){if(!cache$1[tag]){cache$1[tag]=getHiResTimestamp$1();}else{return noop$1;}}message=decorateMessage$1(this.id,opts.message,opts);return(_method=method).bind.apply(_method,[console,message].concat(_toConsumableArray(opts.args)));}return noop$1;}}]);return Log$1;}();Log$1.VERSION=VERSION$7;function normalizeLogLevel$1(logLevel){if(!logLevel){return 0;}var resolvedLevel;switch(_typeof(logLevel)){case'number':resolvedLevel=logLevel;break;case'object':resolvedLevel=logLevel.logLevel||logLevel.priority||0;break;default:return 0;}assert$3(Number.isFinite(resolvedLevel)&&resolvedLevel>=0);return resolvedLevel;}function normalizeArguments$1(opts){var logLevel=opts.logLevel,message=opts.message;opts.logLevel=normalizeLogLevel$1(logLevel);var args=opts.args?Array.from(opts.args):[];while(args.length&&args.shift()!==message){}opts.args=args;switch(_typeof(logLevel)){case'string':case'function':if(message!==undefined){args.unshift(message);}opts.message=logLevel;break;case'object':Object.assign(opts,logLevel);break;}if(typeof opts.message==='function'){opts.message=opts.message();}var messageType=_typeof(opts.message);assert$3(messageType==='string'||messageType==='object');return Object.assign(opts,opts.opts);}function decorateMessage$1(id,message,opts){if(typeof message==='string'){var time=opts.time?leftPad$1(formatTime$1(opts.total)):'';message=opts.time?"".concat(id,": ").concat(time," ").concat(message):"".concat(id,": ").concat(message);message=addColor$1(message,opts.color,opts.background);}return message;}function logImageInNode$1(_ref16){var image=_ref16.image,_ref16$message=_ref16.message,message=_ref16$message===void 0?'':_ref16$message,_ref16$scale=_ref16.scale,scale=_ref16$scale===void 0?1:_ref16$scale;var asciify=null;try{asciify=module.require('asciify-image');}catch(error){}if(asciify){return function(){return asciify(image,{fit:'box',width:"".concat(Math.round(80*scale),"%")}).then(function(data){return console.log(data);});};}return noop$1;}function logImageInBrowser$1(_ref17){var image=_ref17.image,_ref17$message=_ref17.message,message=_ref17$message===void 0?'':_ref17$message,_ref17$scale=_ref17.scale,scale=_ref17$scale===void 0?1:_ref17$scale;if(typeof image==='string'){var img=new Image();img.onload=function(){var _console;var args=formatImage$1(img,message,scale);(_console=console).log.apply(_console,_toConsumableArray(args));};img.src=image;return noop$1;}var element=image.nodeName||'';if(element.toLowerCase()==='img'){var _console2;(_console2=console).log.apply(_console2,_toConsumableArray(formatImage$1(image,message,scale)));return noop$1;}if(element.toLowerCase()==='canvas'){var _img=new Image();_img.onload=function(){var _console3;return(_console3=console).log.apply(_console3,_toConsumableArray(formatImage$1(_img,message,scale)));};_img.src=image.toDataURL();return noop$1;}return noop$1;}var probeLog=new Log$1({id:'loaders.gl'});var NullLog=/*#__PURE__*/function(){function NullLog(){_classCallCheck(this,NullLog);}_createClass(NullLog,[{key:"log",value:function log(){return function(){};}},{key:"info",value:function info(){return function(){};}},{key:"warn",value:function warn(){return function(){};}},{key:"error",value:function error(){return function(){};}}]);return NullLog;}();var ConsoleLog=/*#__PURE__*/function(){function ConsoleLog(){_classCallCheck(this,ConsoleLog);_defineProperty(this,"console",void 0);this.console=console;}_createClass(ConsoleLog,[{key:"log",value:function log(){var _this$console$log;for(var _len120=arguments.length,args=new Array(_len120),_key4=0;_key4<_len120;_key4++){args[_key4]=arguments[_key4];}return(_this$console$log=this.console.log).bind.apply(_this$console$log,[this.console].concat(args));}},{key:"info",value:function info(){var _this$console$info;for(var _len121=arguments.length,args=new Array(_len121),_key5=0;_key5<_len121;_key5++){args[_key5]=arguments[_key5];}return(_this$console$info=this.console.info).bind.apply(_this$console$info,[this.console].concat(args));}},{key:"warn",value:function warn(){var _this$console$warn;for(var _len122=arguments.length,args=new Array(_len122),_key6=0;_key6<_len122;_key6++){args[_key6]=arguments[_key6];}return(_this$console$warn=this.console.warn).bind.apply(_this$console$warn,[this.console].concat(args));}},{key:"error",value:function error(){var _this$console$error;for(var _len123=arguments.length,args=new Array(_len123),_key7=0;_key7<_len123;_key7++){args[_key7]=arguments[_key7];}return(_this$console$error=this.console.error).bind.apply(_this$console$error,[this.console].concat(args));}}]);return ConsoleLog;}();var DEFAULT_LOADER_OPTIONS={fetch:null,mimeType:undefined,nothrow:false,log:new ConsoleLog(),CDN:'https://unpkg.com/@loaders.gl',worker:true,maxConcurrency:3,maxMobileConcurrency:1,reuseWorkers:isBrowser$4,_nodeWorkers:false,_workerType:'',limit:0,_limitMB:0,batchSize:'auto',batchDebounceMs:0,metadata:false,transforms:[]};var REMOVED_LOADER_OPTIONS={"throws":'nothrow',dataType:'(no longer used)',uri:'baseUri',method:'fetch.method',headers:'fetch.headers',body:'fetch.body',mode:'fetch.mode',credentials:'fetch.credentials',cache:'fetch.cache',redirect:'fetch.redirect',referrer:'fetch.referrer',referrerPolicy:'fetch.referrerPolicy',integrity:'fetch.integrity',keepalive:'fetch.keepalive',signal:'fetch.signal'};function getGlobalLoaderState(){globalThis.loaders=globalThis.loaders||{};var loaders=globalThis.loaders;loaders._state=loaders._state||{};return loaders._state;}var getGlobalLoaderOptions=function getGlobalLoaderOptions(){var state=getGlobalLoaderState();state.globalOptions=state.globalOptions||_objectSpread({},DEFAULT_LOADER_OPTIONS);return state.globalOptions;};function normalizeOptions(options,loader,loaders,url){loaders=loaders||[];loaders=Array.isArray(loaders)?loaders:[loaders];validateOptions(options,loaders);return normalizeOptionsInternal(loader,options,url);}function getFetchFunction(options,context){var globalOptions=getGlobalLoaderOptions();var fetchOptions=options||globalOptions;if(typeof fetchOptions.fetch==='function'){return fetchOptions.fetch;}if(isObject(fetchOptions.fetch)){return function(url){return fetchFile(url,fetchOptions);};}if(context!==null&&context!==void 0&&context.fetch){return context===null||context===void 0?void 0:context.fetch;}return fetchFile;}function validateOptions(options,loaders){validateOptionsObject(options,null,DEFAULT_LOADER_OPTIONS,REMOVED_LOADER_OPTIONS,loaders);var _iterator7=_createForOfIteratorHelper(loaders),_step7;try{for(_iterator7.s();!(_step7=_iterator7.n()).done;){var loader=_step7.value;var idOptions=options&&options[loader.id]||{};var loaderOptions=loader.options&&loader.options[loader.id]||{};var deprecatedOptions=loader.deprecatedOptions&&loader.deprecatedOptions[loader.id]||{};validateOptionsObject(idOptions,loader.id,loaderOptions,deprecatedOptions,loaders);}}catch(err){_iterator7.e(err);}finally{_iterator7.f();}}function validateOptionsObject(options,id,defaultOptions,deprecatedOptions,loaders){var loaderName=id||'Top level';var prefix=id?"".concat(id,"."):'';for(var key in options){var isSubOptions=!id&&isObject(options[key]);var isBaseUriOption=key==='baseUri'&&!id;var isWorkerUrlOption=key==='workerUrl'&&id;if(!(key in defaultOptions)&&!isBaseUriOption&&!isWorkerUrlOption){if(key in deprecatedOptions){probeLog.warn("".concat(loaderName," loader option '").concat(prefix).concat(key,"' no longer supported, use '").concat(deprecatedOptions[key],"'"))();}else if(!isSubOptions){var suggestion=findSimilarOption(key,loaders);probeLog.warn("".concat(loaderName," loader option '").concat(prefix).concat(key,"' not recognized. ").concat(suggestion))();}}}}function findSimilarOption(optionKey,loaders){var lowerCaseOptionKey=optionKey.toLowerCase();var bestSuggestion='';var _iterator8=_createForOfIteratorHelper(loaders),_step8;try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var loader=_step8.value;for(var key in loader.options){if(optionKey===key){return"Did you mean '".concat(loader.id,".").concat(key,"'?");}var lowerCaseKey=key.toLowerCase();var isPartialMatch=lowerCaseOptionKey.startsWith(lowerCaseKey)||lowerCaseKey.startsWith(lowerCaseOptionKey);if(isPartialMatch){bestSuggestion=bestSuggestion||"Did you mean '".concat(loader.id,".").concat(key,"'?");}}}}catch(err){_iterator8.e(err);}finally{_iterator8.f();}return bestSuggestion;}function normalizeOptionsInternal(loader,options,url){var loaderDefaultOptions=loader.options||{};var mergedOptions=_objectSpread({},loaderDefaultOptions);addUrlOptions(mergedOptions,url);if(mergedOptions.log===null){mergedOptions.log=new NullLog();}mergeNestedFields(mergedOptions,getGlobalLoaderOptions());mergeNestedFields(mergedOptions,options);return mergedOptions;}function mergeNestedFields(mergedOptions,options){for(var key in options){if(key in options){var value=options[key];if(isPureObject(value)&&isPureObject(mergedOptions[key])){mergedOptions[key]=_objectSpread(_objectSpread({},mergedOptions[key]),options[key]);}else{mergedOptions[key]=options[key];}}}}function addUrlOptions(options,url){if(url&&!('baseUri'in options)){options.baseUri=url;}}function isLoaderObject(loader){var _loader;if(!loader){return false;}if(Array.isArray(loader)){loader=loader[0];}var hasExtensions=Array.isArray((_loader=loader)===null||_loader===void 0?void 0:_loader.extensions);return hasExtensions;}function normalizeLoader(loader){var _loader2,_loader3;assert$5(loader,'null loader');assert$5(isLoaderObject(loader),'invalid loader');var options;if(Array.isArray(loader)){options=loader[1];loader=loader[0];loader=_objectSpread(_objectSpread({},loader),{},{options:_objectSpread(_objectSpread({},loader.options),options)});}if((_loader2=loader)!==null&&_loader2!==void 0&&_loader2.parseTextSync||(_loader3=loader)!==null&&_loader3!==void 0&&_loader3.parseText){loader.text=true;}if(!loader.text){loader.binary=true;}return loader;}var getGlobalLoaderRegistry=function getGlobalLoaderRegistry(){var state=getGlobalLoaderState();state.loaderRegistry=state.loaderRegistry||[];return state.loaderRegistry;};function getRegisteredLoaders(){return getGlobalLoaderRegistry();}function isElectron(mockUserAgent){if(typeof window!=='undefined'&&_typeof(window.process)==='object'&&window.process.type==='renderer'){return true;}if(typeof process!=='undefined'&&_typeof(process.versions)==='object'&&Boolean(process.versions.electron)){return true;}var realUserAgent=(typeof navigator==="undefined"?"undefined":_typeof(navigator))==='object'&&typeof navigator.userAgent==='string'&&navigator.userAgent;var userAgent=mockUserAgent||realUserAgent;if(userAgent&&userAgent.indexOf('Electron')>=0){return true;}return false;}function isBrowser(){var isNode=(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&String(process)==='[object process]'&&!process.browser;return!isNode||isElectron();}var globals={self:typeof self!=='undefined'&&self,window:typeof window!=='undefined'&&window,global:typeof global!=='undefined'&&global,document:typeof document!=='undefined'&&document,process:(typeof process==="undefined"?"undefined":_typeof(process))==='object'&&process};var window_=globals.window||globals.self||globals.global;var process_=globals.process||{};var VERSION$6=typeof __VERSION__!=='undefined'?__VERSION__:'untranspiled source';isBrowser();function getStorage(type){try{var storage=window[type];var x='__storage_test__';storage.setItem(x,x);storage.removeItem(x);return storage;}catch(e){return null;}}var LocalStorage=/*#__PURE__*/function(){function LocalStorage(id){_classCallCheck(this,LocalStorage);var defaultSettings=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var type=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'sessionStorage';_defineProperty(this,"storage",void 0);_defineProperty(this,"id",void 0);_defineProperty(this,"config",{});this.storage=getStorage(type);this.id=id;this.config={};Object.assign(this.config,defaultSettings);this._loadConfiguration();}_createClass(LocalStorage,[{key:"getConfiguration",value:function getConfiguration(){return this.config;}},{key:"setConfiguration",value:function setConfiguration(configuration){this.config={};return this.updateConfiguration(configuration);}},{key:"updateConfiguration",value:function updateConfiguration(configuration){Object.assign(this.config,configuration);if(this.storage){var serialized=JSON.stringify(this.config);this.storage.setItem(this.id,serialized);}return this;}},{key:"_loadConfiguration",value:function _loadConfiguration(){var configuration={};if(this.storage){var serializedConfiguration=this.storage.getItem(this.id);configuration=serializedConfiguration?JSON.parse(serializedConfiguration):{};}Object.assign(this.config,configuration);return this;}}]);return LocalStorage;}();function formatTime(ms){var formatted;if(ms<10){formatted="".concat(ms.toFixed(2),"ms");}else if(ms<100){formatted="".concat(ms.toFixed(1),"ms");}else if(ms<1000){formatted="".concat(ms.toFixed(0),"ms");}else{formatted="".concat((ms/1000).toFixed(2),"s");}return formatted;}function leftPad(string){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:8;var padLength=Math.max(length-string.length,0);return"".concat(' '.repeat(padLength)).concat(string);}function formatImage(image,message,scale){var maxWidth=arguments.length>3&&arguments[3]!==undefined?arguments[3]:600;var imageUrl=image.src.replace(/\(/g,'%28').replace(/\)/g,'%29');if(image.width>maxWidth){scale=Math.min(scale,maxWidth/image.width);}var width=image.width*scale;var height=image.height*scale;var style=['font-size:1px;',"padding:".concat(Math.floor(height/2),"px ").concat(Math.floor(width/2),"px;"),"line-height:".concat(height,"px;"),"background:url(".concat(imageUrl,");"),"background-size:".concat(width,"px ").concat(height,"px;"),'color:transparent;'].join('');return["".concat(message," %c+"),style];}var COLOR;(function(COLOR){COLOR[COLOR["BLACK"]=30]="BLACK";COLOR[COLOR["RED"]=31]="RED";COLOR[COLOR["GREEN"]=32]="GREEN";COLOR[COLOR["YELLOW"]=33]="YELLOW";COLOR[COLOR["BLUE"]=34]="BLUE";COLOR[COLOR["MAGENTA"]=35]="MAGENTA";COLOR[COLOR["CYAN"]=36]="CYAN";COLOR[COLOR["WHITE"]=37]="WHITE";COLOR[COLOR["BRIGHT_BLACK"]=90]="BRIGHT_BLACK";COLOR[COLOR["BRIGHT_RED"]=91]="BRIGHT_RED";COLOR[COLOR["BRIGHT_GREEN"]=92]="BRIGHT_GREEN";COLOR[COLOR["BRIGHT_YELLOW"]=93]="BRIGHT_YELLOW";COLOR[COLOR["BRIGHT_BLUE"]=94]="BRIGHT_BLUE";COLOR[COLOR["BRIGHT_MAGENTA"]=95]="BRIGHT_MAGENTA";COLOR[COLOR["BRIGHT_CYAN"]=96]="BRIGHT_CYAN";COLOR[COLOR["BRIGHT_WHITE"]=97]="BRIGHT_WHITE";})(COLOR||(COLOR={}));function getColor(color){return typeof color==='string'?COLOR[color.toUpperCase()]||COLOR.WHITE:color;}function addColor(string,color,background){if(!isBrowser&&typeof string==='string'){if(color){color=getColor(color);string="\x1B[".concat(color,"m").concat(string,"\x1B[39m");}if(background){color=getColor(background);string="\x1B[".concat(background+10,"m").concat(string,"\x1B[49m");}}return string;}function autobind(obj){var predefined=arguments.length>1&&arguments[1]!==undefined?arguments[1]:['constructor'];var proto=Object.getPrototypeOf(obj);var propNames=Object.getOwnPropertyNames(proto);var _iterator9=_createForOfIteratorHelper(propNames),_step9;try{var _loop6=function _loop6(){var key=_step9.value;if(typeof obj[key]==='function'){if(!predefined.find(function(name){return key===name;})){obj[key]=obj[key].bind(obj);}}};for(_iterator9.s();!(_step9=_iterator9.n()).done;){_loop6();}}catch(err){_iterator9.e(err);}finally{_iterator9.f();}}function assert$2(condition,message){if(!condition){throw new Error(message||'Assertion failed');}}function getHiResTimestamp(){var timestamp;if(isBrowser&&'performance'in window_){var _window$performance,_window$performance$n;timestamp=window_===null||window_===void 0?void 0:(_window$performance=window_.performance)===null||_window$performance===void 0?void 0:(_window$performance$n=_window$performance.now)===null||_window$performance$n===void 0?void 0:_window$performance$n.call(_window$performance);}else if('hrtime'in process_){var _process$hrtime;var timeParts=process_===null||process_===void 0?void 0:(_process$hrtime=process_.hrtime)===null||_process$hrtime===void 0?void 0:_process$hrtime.call(process_);timestamp=timeParts[0]*1000+timeParts[1]/1e6;}else{timestamp=Date.now();}return timestamp;}var originalConsole={debug:isBrowser?console.debug||console.log:console.log,log:console.log,info:console.info,warn:console.warn,error:console.error};var DEFAULT_SETTINGS={enabled:true,level:0};function noop(){}var cache={};var ONCE={once:true};var Log=/*#__PURE__*/function(){function Log(){_classCallCheck(this,Log);var _ref18=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{id:''},id=_ref18.id;_defineProperty(this,"id",void 0);_defineProperty(this,"VERSION",VERSION$6);_defineProperty(this,"_startTs",getHiResTimestamp());_defineProperty(this,"_deltaTs",getHiResTimestamp());_defineProperty(this,"_storage",void 0);_defineProperty(this,"userData",{});_defineProperty(this,"LOG_THROTTLE_TIMEOUT",0);this.id=id;this._storage=new LocalStorage("__probe-".concat(this.id,"__"),DEFAULT_SETTINGS);this.userData={};this.timeStamp("".concat(this.id," started"));autobind(this);Object.seal(this);}_createClass(Log,[{key:"level",get:function get(){return this.getLevel();},set:function set(newLevel){this.setLevel(newLevel);}},{key:"isEnabled",value:function isEnabled(){return this._storage.config.enabled;}},{key:"getLevel",value:function getLevel(){return this._storage.config.level;}},{key:"getTotal",value:function getTotal(){return Number((getHiResTimestamp()-this._startTs).toPrecision(10));}},{key:"getDelta",value:function getDelta(){return Number((getHiResTimestamp()-this._deltaTs).toPrecision(10));}},{key:"priority",get:function get(){return this.level;},set:function set(newPriority){this.level=newPriority;}},{key:"getPriority",value:function getPriority(){return this.level;}},{key:"enable",value:function enable(){var enabled=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;this._storage.updateConfiguration({enabled:enabled});return this;}},{key:"setLevel",value:function setLevel(level){this._storage.updateConfiguration({level:level});return this;}},{key:"get",value:function get(setting){return this._storage.config[setting];}},{key:"set",value:function set(setting,value){this._storage.updateConfiguration(_defineProperty2({},setting,value));}},{key:"settings",value:function settings(){if(console.table){console.table(this._storage.config);}else{console.log(this._storage.config);}}},{key:"assert",value:function assert(condition,message){assert$2(condition,message);}},{key:"warn",value:function warn(message){return this._getLogFunction(0,message,originalConsole.warn,arguments,ONCE);}},{key:"error",value:function error(message){return this._getLogFunction(0,message,originalConsole.error,arguments);}},{key:"deprecated",value:function deprecated(oldUsage,newUsage){return this.warn("`".concat(oldUsage,"` is deprecated and will be removed in a later version. Use `").concat(newUsage,"` instead"));}},{key:"removed",value:function removed(oldUsage,newUsage){return this.error("`".concat(oldUsage,"` has been removed. Use `").concat(newUsage,"` instead"));}},{key:"probe",value:function probe(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.log,arguments,{time:true,once:true});}},{key:"log",value:function log(logLevel,message){return this._getLogFunction(logLevel,message,originalConsole.debug,arguments);}},{key:"info",value:function info(logLevel,message){return this._getLogFunction(logLevel,message,console.info,arguments);}},{key:"once",value:function once(logLevel,message){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];}return this._getLogFunction(logLevel,message,originalConsole.debug||originalConsole.info,arguments,ONCE);}},{key:"table",value:function table(logLevel,_table2,columns){if(_table2){return this._getLogFunction(logLevel,_table2,console.table||noop,columns&&[columns],{tag:getTableHeader(_table2)});}return noop;}},{key:"image",value:function image(_ref){var logLevel=_ref.logLevel,priority=_ref.priority,image=_ref.image,_ref$message=_ref.message,message=_ref$message===void 0?'':_ref$message,_ref$scale=_ref.scale,scale=_ref$scale===void 0?1:_ref$scale;if(!this._shouldLog(logLevel||priority)){return noop;}return isBrowser?logImageInBrowser({image:image,message:message,scale:scale}):logImageInNode({image:image,message:message,scale:scale});}},{key:"time",value:function time(logLevel,message){return this._getLogFunction(logLevel,message,console.time?console.time:console.info);}},{key:"timeEnd",value:function timeEnd(logLevel,message){return this._getLogFunction(logLevel,message,console.timeEnd?console.timeEnd:console.info);}},{key:"timeStamp",value:function timeStamp(logLevel,message){return this._getLogFunction(logLevel,message,console.timeStamp||noop);}},{key:"group",value:function group(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{collapsed:false};var options=normalizeArguments({logLevel:logLevel,message:message,opts:opts});var collapsed=opts.collapsed;options.method=(collapsed?console.groupCollapsed:console.group)||console.info;return this._getLogFunction(options);}},{key:"groupCollapsed",value:function groupCollapsed(logLevel,message){var opts=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return this.group(logLevel,message,Object.assign({},opts,{collapsed:true}));}},{key:"groupEnd",value:function groupEnd(logLevel){return this._getLogFunction(logLevel,'',console.groupEnd||noop);}},{key:"withGroup",value:function withGroup(logLevel,message,func){this.group(logLevel,message)();try{func();}finally{this.groupEnd(logLevel)();}}},{key:"trace",value:function trace(){if(console.trace){console.trace();}}},{key:"_shouldLog",value:function _shouldLog(logLevel){return this.isEnabled()&&this.getLevel()>=normalizeLogLevel(logLevel);}},{key:"_getLogFunction",value:function _getLogFunction(logLevel,message,method,args,opts){if(this._shouldLog(logLevel)){var _method2;opts=normalizeArguments({logLevel:logLevel,message:message,args:args,opts:opts});method=method||opts.method;assert$2(method);opts.total=this.getTotal();opts.delta=this.getDelta();this._deltaTs=getHiResTimestamp();var tag=opts.tag||opts.message;if(opts.once){if(!cache[tag]){cache[tag]=getHiResTimestamp();}else{return noop;}}message=decorateMessage(this.id,opts.message,opts);return(_method2=method).bind.apply(_method2,[console,message].concat(_toConsumableArray(opts.args)));}return noop;}}]);return Log;}();_defineProperty(Log,"VERSION",VERSION$6);function normalizeLogLevel(logLevel){if(!logLevel){return 0;}var resolvedLevel;switch(_typeof(logLevel)){case'number':resolvedLevel=logLevel;break;case'object':resolvedLevel=logLevel.logLevel||logLevel.priority||0;break;default:return 0;}assert$2(Number.isFinite(resolvedLevel)&&resolvedLevel>=0);return resolvedLevel;}function normalizeArguments(opts){var logLevel=opts.logLevel,message=opts.message;opts.logLevel=normalizeLogLevel(logLevel);var args=opts.args?Array.from(opts.args):[];while(args.length&&args.shift()!==message){}switch(_typeof(logLevel)){case'string':case'function':if(message!==undefined){args.unshift(message);}opts.message=logLevel;break;case'object':Object.assign(opts,logLevel);break;}if(typeof opts.message==='function'){opts.message=opts.message();}var messageType=_typeof(opts.message);assert$2(messageType==='string'||messageType==='object');return Object.assign(opts,{args:args},opts.opts);}function decorateMessage(id,message,opts){if(typeof message==='string'){var time=opts.time?leftPad(formatTime(opts.total)):'';message=opts.time?"".concat(id,": ").concat(time," ").concat(message):"".concat(id,": ").concat(message);message=addColor(message,opts.color,opts.background);}return message;}function logImageInNode(_ref2){var image=_ref2.image,_ref2$message=_ref2.message,message=_ref2$message===void 0?'':_ref2$message,_ref2$scale=_ref2.scale,scale=_ref2$scale===void 0?1:_ref2$scale;var asciify=null;try{asciify=module.require('asciify-image');}catch(error){}if(asciify){return function(){return asciify(image,{fit:'box',width:"".concat(Math.round(80*scale),"%")}).then(function(data){return console.log(data);});};}return noop;}function logImageInBrowser(_ref3){var image=_ref3.image,_ref3$message=_ref3.message,message=_ref3$message===void 0?'':_ref3$message,_ref3$scale=_ref3.scale,scale=_ref3$scale===void 0?1:_ref3$scale;if(typeof image==='string'){var img=new Image();img.onload=function(){var _console4;var args=formatImage(img,message,scale);(_console4=console).log.apply(_console4,_toConsumableArray(args));};img.src=image;return noop;}var element=image.nodeName||'';if(element.toLowerCase()==='img'){var _console5;(_console5=console).log.apply(_console5,_toConsumableArray(formatImage(image,message,scale)));return noop;}if(element.toLowerCase()==='canvas'){var _img2=new Image();_img2.onload=function(){var _console6;return(_console6=console).log.apply(_console6,_toConsumableArray(formatImage(_img2,message,scale)));};_img2.src=image.toDataURL();return noop;}return noop;}function getTableHeader(table){for(var key in table){for(var title in table[key]){return title||'untitled';}}return'empty';}var log=new Log({id:'loaders.gl'});var EXT_PATTERN=/\.([^.]+)$/;function selectLoader(_x27){return _selectLoader.apply(this,arguments);}function _selectLoader(){_selectLoader=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee31(data){var loaders,options,context,loader,_args29=arguments;return _regeneratorRuntime().wrap(function _callee31$(_context34){while(1){switch(_context34.prev=_context34.next){case 0:loaders=_args29.length>1&&_args29[1]!==undefined?_args29[1]:[];options=_args29.length>2?_args29[2]:undefined;context=_args29.length>3?_args29[3]:undefined;if(validHTTPResponse(data)){_context34.next=5;break;}return _context34.abrupt("return",null);case 5:loader=selectLoaderSync(data,loaders,_objectSpread(_objectSpread({},options),{},{nothrow:true}),context);if(!loader){_context34.next=8;break;}return _context34.abrupt("return",loader);case 8:if(!isBlob(data)){_context34.next=13;break;}_context34.next=11;return data.slice(0,10).arrayBuffer();case 11:data=_context34.sent;loader=selectLoaderSync(data,loaders,options,context);case 13:if(!(!loader&&!(options!==null&&options!==void 0&&options.nothrow))){_context34.next=15;break;}throw new Error(getNoValidLoaderMessage(data));case 15:return _context34.abrupt("return",loader);case 16:case"end":return _context34.stop();}}},_callee31);}));return _selectLoader.apply(this,arguments);}function selectLoaderSync(data){var loaders=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var options=arguments.length>2?arguments[2]:undefined;var context=arguments.length>3?arguments[3]:undefined;if(!validHTTPResponse(data)){return null;}if(loaders&&!Array.isArray(loaders)){return normalizeLoader(loaders);}var candidateLoaders=[];if(loaders){candidateLoaders=candidateLoaders.concat(loaders);}if(!(options!==null&&options!==void 0&&options.ignoreRegisteredLoaders)){var _candidateLoaders;(_candidateLoaders=candidateLoaders).push.apply(_candidateLoaders,_toConsumableArray(getRegisteredLoaders()));}normalizeLoaders(candidateLoaders);var loader=selectLoaderInternal(data,candidateLoaders,options,context);if(!loader&&!(options!==null&&options!==void 0&&options.nothrow)){throw new Error(getNoValidLoaderMessage(data));}return loader;}function selectLoaderInternal(data,loaders,options,context){var _getResourceUrlAndTyp=getResourceUrlAndType(data),url=_getResourceUrlAndTyp.url,type=_getResourceUrlAndTyp.type;var testUrl=url||(context===null||context===void 0?void 0:context.url);var loader=null;var reason='';if(options!==null&&options!==void 0&&options.mimeType){loader=findLoaderByMIMEType(loaders,options===null||options===void 0?void 0:options.mimeType);reason="match forced by supplied MIME type ".concat(options===null||options===void 0?void 0:options.mimeType);}loader=loader||findLoaderByUrl(loaders,testUrl);reason=reason||(loader?"matched url ".concat(testUrl):'');loader=loader||findLoaderByMIMEType(loaders,type);reason=reason||(loader?"matched MIME type ".concat(type):'');loader=loader||findLoaderByInitialBytes(loaders,data);reason=reason||(loader?"matched initial data ".concat(getFirstCharacters(data)):'');loader=loader||findLoaderByMIMEType(loaders,options===null||options===void 0?void 0:options.fallbackMimeType);reason=reason||(loader?"matched fallback MIME type ".concat(type):'');if(reason){var _loader;log.log(1,"selectLoader selected ".concat((_loader=loader)===null||_loader===void 0?void 0:_loader.name,": ").concat(reason,"."));}return loader;}function validHTTPResponse(data){if(data instanceof Response){if(data.status===204){return false;}}return true;}function getNoValidLoaderMessage(data){var _getResourceUrlAndTyp2=getResourceUrlAndType(data),url=_getResourceUrlAndTyp2.url,type=_getResourceUrlAndTyp2.type;var message='No valid loader found (';message+=url?"".concat(filename(url),", "):'no url provided, ';message+="MIME type: ".concat(type?"\"".concat(type,"\""):'not provided',", ");var firstCharacters=data?getFirstCharacters(data):'';message+=firstCharacters?" first bytes: \"".concat(firstCharacters,"\""):'first bytes: not available';message+=')';return message;}function normalizeLoaders(loaders){var _iterator10=_createForOfIteratorHelper(loaders),_step10;try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var loader=_step10.value;normalizeLoader(loader);}}catch(err){_iterator10.e(err);}finally{_iterator10.f();}}function findLoaderByUrl(loaders,url){var match=url&&EXT_PATTERN.exec(url);var extension=match&&match[1];return extension?findLoaderByExtension(loaders,extension):null;}function findLoaderByExtension(loaders,extension){extension=extension.toLowerCase();var _iterator11=_createForOfIteratorHelper(loaders),_step11;try{for(_iterator11.s();!(_step11=_iterator11.n()).done;){var loader=_step11.value;var _iterator12=_createForOfIteratorHelper(loader.extensions),_step12;try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var loaderExtension=_step12.value;if(loaderExtension.toLowerCase()===extension){return loader;}}}catch(err){_iterator12.e(err);}finally{_iterator12.f();}}}catch(err){_iterator11.e(err);}finally{_iterator11.f();}return null;}function findLoaderByMIMEType(loaders,mimeType){var _iterator13=_createForOfIteratorHelper(loaders),_step13;try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var loader=_step13.value;if(loader.mimeTypes&&loader.mimeTypes.includes(mimeType)){return loader;}if(mimeType==="application/x.".concat(loader.id)){return loader;}}}catch(err){_iterator13.e(err);}finally{_iterator13.f();}return null;}function findLoaderByInitialBytes(loaders,data){if(!data){return null;}var _iterator14=_createForOfIteratorHelper(loaders),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var loader=_step14.value;if(typeof data==='string'){if(testDataAgainstText(data,loader)){return loader;}}else if(ArrayBuffer.isView(data)){if(testDataAgainstBinary(data.buffer,data.byteOffset,loader)){return loader;}}else if(data instanceof ArrayBuffer){var byteOffset=0;if(testDataAgainstBinary(data,byteOffset,loader)){return loader;}}}}catch(err){_iterator14.e(err);}finally{_iterator14.f();}return null;}function testDataAgainstText(data,loader){if(loader.testText){return loader.testText(data);}var tests=Array.isArray(loader.tests)?loader.tests:[loader.tests];return tests.some(function(test){return data.startsWith(test);});}function testDataAgainstBinary(data,byteOffset,loader){var tests=Array.isArray(loader.tests)?loader.tests:[loader.tests];return tests.some(function(test){return testBinary(data,byteOffset,loader,test);});}function testBinary(data,byteOffset,loader,test){if(test instanceof ArrayBuffer){return compareArrayBuffers(test,data,test.byteLength);}switch(_typeof(test)){case'function':return test(data,loader);case'string':var magic=getMagicString$1(data,byteOffset,test.length);return test===magic;default:return false;}}function getFirstCharacters(data){var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:5;if(typeof data==='string'){return data.slice(0,length);}else if(ArrayBuffer.isView(data)){return getMagicString$1(data.buffer,data.byteOffset,length);}else if(data instanceof ArrayBuffer){var byteOffset=0;return getMagicString$1(data,byteOffset,length);}return'';}function getMagicString$1(arrayBuffer,byteOffset,length){if(arrayBuffer.byteLength<byteOffset+length){return'';}var dataView=new DataView(arrayBuffer);var magic='';for(var _i544=0;_i544<length;_i544++){magic+=String.fromCharCode(dataView.getUint8(byteOffset+_i544));}return magic;}var DEFAULT_CHUNK_SIZE$2=256*1024;function makeStringIterator(string,options){var chunkSize,offset,textEncoder,chunkLength,chunk;return _regeneratorRuntime().wrap(function makeStringIterator$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:chunkSize=(options===null||options===void 0?void 0:options.chunkSize)||DEFAULT_CHUNK_SIZE$2;offset=0;textEncoder=new TextEncoder();case 3:if(!(offset<string.length)){_context3.next=11;break;}chunkLength=Math.min(string.length-offset,chunkSize);chunk=string.slice(offset,offset+chunkLength);offset+=chunkLength;_context3.next=9;return textEncoder.encode(chunk);case 9:_context3.next=3;break;case 11:case"end":return _context3.stop();}}},_marked);}var DEFAULT_CHUNK_SIZE$1=256*1024;function makeArrayBufferIterator(arrayBuffer){var options,_options$chunkSize,chunkSize,byteOffset,chunkByteLength,chunk,sourceArray,chunkArray,_args4=arguments;return _regeneratorRuntime().wrap(function makeArrayBufferIterator$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:options=_args4.length>1&&_args4[1]!==undefined?_args4[1]:{};_options$chunkSize=options.chunkSize,chunkSize=_options$chunkSize===void 0?DEFAULT_CHUNK_SIZE$1:_options$chunkSize;byteOffset=0;case 3:if(!(byteOffset<arrayBuffer.byteLength)){_context4.next=14;break;}chunkByteLength=Math.min(arrayBuffer.byteLength-byteOffset,chunkSize);chunk=new ArrayBuffer(chunkByteLength);sourceArray=new Uint8Array(arrayBuffer,byteOffset,chunkByteLength);chunkArray=new Uint8Array(chunk);chunkArray.set(sourceArray);byteOffset+=chunkByteLength;_context4.next=12;return chunk;case 12:_context4.next=3;break;case 14:case"end":return _context4.stop();}}},_marked2);}var DEFAULT_CHUNK_SIZE=1024*1024;function makeBlobIterator(_x,_x2){return _makeBlobIterator.apply(this,arguments);}function _makeBlobIterator(){_makeBlobIterator=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(blob,options){var chunkSize,offset,end,chunk;return _regeneratorRuntime().wrap(function _callee3$(_context5){while(1){switch(_context5.prev=_context5.next){case 0:chunkSize=(options===null||options===void 0?void 0:options.chunkSize)||DEFAULT_CHUNK_SIZE;offset=0;case 2:if(!(offset<blob.size)){_context5.next=12;break;}end=offset+chunkSize;_context5.next=6;return _awaitAsyncGenerator(blob.slice(offset,end).arrayBuffer());case 6:chunk=_context5.sent;offset=end;_context5.next=10;return chunk;case 10:_context5.next=2;break;case 12:case"end":return _context5.stop();}}},_callee3);}));return _makeBlobIterator.apply(this,arguments);}function makeStreamIterator(stream,options){return isBrowser$4?makeBrowserStreamIterator(stream,options):makeNodeStreamIterator(stream);}function makeBrowserStreamIterator(_x3,_x4){return _makeBrowserStreamIterator.apply(this,arguments);}function _makeBrowserStreamIterator(){_makeBrowserStreamIterator=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(stream,options){var reader,nextBatchPromise,currentBatchPromise,_yield$_awaitAsyncGen,done,value;return _regeneratorRuntime().wrap(function _callee4$(_context6){while(1){switch(_context6.prev=_context6.next){case 0:reader=stream.getReader();_context6.prev=1;case 2:if(!true){_context6.next=16;break;}currentBatchPromise=nextBatchPromise||reader.read();if(options!==null&&options!==void 0&&options._streamReadAhead){nextBatchPromise=reader.read();}_context6.next=7;return _awaitAsyncGenerator(currentBatchPromise);case 7:_yield$_awaitAsyncGen=_context6.sent;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context6.next=12;break;}return _context6.abrupt("return");case 12:_context6.next=14;return toArrayBuffer(value);case 14:_context6.next=2;break;case 16:_context6.next=21;break;case 18:_context6.prev=18;_context6.t0=_context6["catch"](1);reader.releaseLock();case 21:case"end":return _context6.stop();}}},_callee4,null,[[1,18]]);}));return _makeBrowserStreamIterator.apply(this,arguments);}function makeNodeStreamIterator(_x5,_x6){return _makeNodeStreamIterator.apply(this,arguments);}function _makeNodeStreamIterator(){_makeNodeStreamIterator=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(stream,options){var _iteratorAbruptCompletion2,_didIteratorError2,_iteratorError2,_iterator2,_step2,chunk;return _regeneratorRuntime().wrap(function _callee5$(_context7){while(1){switch(_context7.prev=_context7.next){case 0:_iteratorAbruptCompletion2=false;_didIteratorError2=false;_context7.prev=2;_iterator2=_asyncIterator(stream);case 4:_context7.next=6;return _awaitAsyncGenerator(_iterator2.next());case 6:if(!(_iteratorAbruptCompletion2=!(_step2=_context7.sent).done)){_context7.next=13;break;}chunk=_step2.value;_context7.next=10;return toArrayBuffer(chunk);case 10:_iteratorAbruptCompletion2=false;_context7.next=4;break;case 13:_context7.next=19;break;case 15:_context7.prev=15;_context7.t0=_context7["catch"](2);_didIteratorError2=true;_iteratorError2=_context7.t0;case 19:_context7.prev=19;_context7.prev=20;if(!(_iteratorAbruptCompletion2&&_iterator2["return"]!=null)){_context7.next=24;break;}_context7.next=24;return _awaitAsyncGenerator(_iterator2["return"]());case 24:_context7.prev=24;if(!_didIteratorError2){_context7.next=27;break;}throw _iteratorError2;case 27:return _context7.finish(24);case 28:return _context7.finish(19);case 29:case"end":return _context7.stop();}}},_callee5,null,[[2,15,19,29],[20,,24,28]]);}));return _makeNodeStreamIterator.apply(this,arguments);}function makeIterator(data,options){if(typeof data==='string'){return makeStringIterator(data,options);}if(data instanceof ArrayBuffer){return makeArrayBufferIterator(data,options);}if(isBlob(data)){return makeBlobIterator(data,options);}if(isReadableStream(data)){return makeStreamIterator(data,options);}if(isResponse(data)){var response=data;return makeStreamIterator(response.body,options);}throw new Error('makeIterator');}var ERR_DATA='Cannot convert supplied data type';function getArrayBufferOrStringFromDataSync(data,loader,options){if(loader.text&&typeof data==='string'){return data;}if(isBuffer(data)){data=data.buffer;}if(data instanceof ArrayBuffer){var arrayBuffer=data;if(loader.text&&!loader.binary){var textDecoder=new TextDecoder('utf8');return textDecoder.decode(arrayBuffer);}return arrayBuffer;}if(ArrayBuffer.isView(data)){if(loader.text&&!loader.binary){var _textDecoder=new TextDecoder('utf8');return _textDecoder.decode(data);}var _arrayBuffer=data.buffer;var byteLength=data.byteLength||data.length;if(data.byteOffset!==0||byteLength!==_arrayBuffer.byteLength){_arrayBuffer=_arrayBuffer.slice(data.byteOffset,data.byteOffset+byteLength);}return _arrayBuffer;}throw new Error(ERR_DATA);}function getArrayBufferOrStringFromData(_x28,_x29,_x30){return _getArrayBufferOrStringFromData.apply(this,arguments);}function _getArrayBufferOrStringFromData(){_getArrayBufferOrStringFromData=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee32(data,loader,options){var isArrayBuffer,response;return _regeneratorRuntime().wrap(function _callee32$(_context35){while(1){switch(_context35.prev=_context35.next){case 0:isArrayBuffer=data instanceof ArrayBuffer||ArrayBuffer.isView(data);if(!(typeof data==='string'||isArrayBuffer)){_context35.next=3;break;}return _context35.abrupt("return",getArrayBufferOrStringFromDataSync(data,loader));case 3:if(!isBlob(data)){_context35.next=7;break;}_context35.next=6;return makeResponse(data);case 6:data=_context35.sent;case 7:if(!isResponse(data)){_context35.next=21;break;}response=data;_context35.next=11;return checkResponse(response);case 11:if(!loader.binary){_context35.next=17;break;}_context35.next=14;return response.arrayBuffer();case 14:_context35.t0=_context35.sent;_context35.next=20;break;case 17:_context35.next=19;return response.text();case 19:_context35.t0=_context35.sent;case 20:return _context35.abrupt("return",_context35.t0);case 21:if(isReadableStream(data)){data=makeIterator(data,options);}if(!(isIterable(data)||isAsyncIterable(data))){_context35.next=24;break;}return _context35.abrupt("return",concatenateArrayBuffersAsync(data));case 24:throw new Error(ERR_DATA);case 25:case"end":return _context35.stop();}}},_callee32);}));return _getArrayBufferOrStringFromData.apply(this,arguments);}function getLoaderContext(context,options){var previousContext=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;if(previousContext){return previousContext;}var resolvedContext=_objectSpread({fetch:getFetchFunction(options,context)},context);if(!Array.isArray(resolvedContext.loaders)){resolvedContext.loaders=null;}return resolvedContext;}function getLoadersFromContext(loaders,context){if(!context&&loaders&&!Array.isArray(loaders)){return loaders;}var candidateLoaders;if(loaders){candidateLoaders=Array.isArray(loaders)?loaders:[loaders];}if(context&&context.loaders){var contextLoaders=Array.isArray(context.loaders)?context.loaders:[context.loaders];candidateLoaders=candidateLoaders?[].concat(_toConsumableArray(candidateLoaders),_toConsumableArray(contextLoaders)):contextLoaders;}return candidateLoaders&&candidateLoaders.length?candidateLoaders:null;}function parse$3(_x31,_x32,_x33,_x34){return _parse$.apply(this,arguments);}function _parse$(){_parse$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee33(data,loaders,options,context){var _getResourceUrlAndTyp4,url,typedLoaders,candidateLoaders,loader;return _regeneratorRuntime().wrap(function _callee33$(_context36){while(1){switch(_context36.prev=_context36.next){case 0:assert$4(!context||_typeof(context)==='object');if(loaders&&!Array.isArray(loaders)&&!isLoaderObject(loaders)){context=undefined;options=loaders;loaders=undefined;}_context36.next=4;return data;case 4:data=_context36.sent;options=options||{};_getResourceUrlAndTyp4=getResourceUrlAndType(data),url=_getResourceUrlAndTyp4.url;typedLoaders=loaders;candidateLoaders=getLoadersFromContext(typedLoaders,context);_context36.next=11;return selectLoader(data,candidateLoaders,options);case 11:loader=_context36.sent;if(loader){_context36.next=14;break;}return _context36.abrupt("return",null);case 14:options=normalizeOptions(options,loader,candidateLoaders,url);context=getLoaderContext({url:url,parse:parse$3,loaders:candidateLoaders},options,context);_context36.next=18;return parseWithLoader(loader,data,options,context);case 18:return _context36.abrupt("return",_context36.sent);case 19:case"end":return _context36.stop();}}},_callee33);}));return _parse$.apply(this,arguments);}function parseWithLoader(_x35,_x36,_x37,_x38){return _parseWithLoader.apply(this,arguments);}function _parseWithLoader(){_parseWithLoader=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee34(loader,data,options,context){var response,ok,redirected,status,statusText,type,url,headers;return _regeneratorRuntime().wrap(function _callee34$(_context37){while(1){switch(_context37.prev=_context37.next){case 0:validateWorkerVersion(loader);if(isResponse(data)){response=data;ok=response.ok,redirected=response.redirected,status=response.status,statusText=response.statusText,type=response.type,url=response.url;headers=Object.fromEntries(response.headers.entries());context.response={headers:headers,ok:ok,redirected:redirected,status:status,statusText:statusText,type:type,url:url};}_context37.next=4;return getArrayBufferOrStringFromData(data,loader,options);case 4:data=_context37.sent;if(!(loader.parseTextSync&&typeof data==='string')){_context37.next=8;break;}options.dataType='text';return _context37.abrupt("return",loader.parseTextSync(data,options,context,loader));case 8:if(!canParseWithWorker(loader,options)){_context37.next=12;break;}_context37.next=11;return parseWithWorker(loader,data,options,context,parse$3);case 11:return _context37.abrupt("return",_context37.sent);case 12:if(!(loader.parseText&&typeof data==='string')){_context37.next=16;break;}_context37.next=15;return loader.parseText(data,options,context,loader);case 15:return _context37.abrupt("return",_context37.sent);case 16:if(!loader.parse){_context37.next=20;break;}_context37.next=19;return loader.parse(data,options,context,loader);case 19:return _context37.abrupt("return",_context37.sent);case 20:assert$4(!loader.parseSync);throw new Error("".concat(loader.id," loader - no parser found and worker is disabled"));case 22:case"end":return _context37.stop();}}},_callee34);}));return _parseWithLoader.apply(this,arguments);}var VERSION$5="3.2.6";var VERSION$4="3.2.6";var VERSION$3="3.2.6";var BASIS_CDN_ENCODER_WASM="https://unpkg.com/@loaders.gl/textures@".concat(VERSION$3,"/dist/libs/basis_encoder.wasm");var BASIS_CDN_ENCODER_JS="https://unpkg.com/@loaders.gl/textures@".concat(VERSION$3,"/dist/libs/basis_encoder.js");var loadBasisTranscoderPromise;function loadBasisTrascoderModule(_x39){return _loadBasisTrascoderModule.apply(this,arguments);}function _loadBasisTrascoderModule(){_loadBasisTrascoderModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee35(options){var modules;return _regeneratorRuntime().wrap(function _callee35$(_context38){while(1){switch(_context38.prev=_context38.next){case 0:modules=options.modules||{};if(!modules.basis){_context38.next=3;break;}return _context38.abrupt("return",modules.basis);case 3:loadBasisTranscoderPromise=loadBasisTranscoderPromise||loadBasisTrascoder(options);_context38.next=6;return loadBasisTranscoderPromise;case 6:return _context38.abrupt("return",_context38.sent);case 7:case"end":return _context38.stop();}}},_callee35);}));return _loadBasisTrascoderModule.apply(this,arguments);}function loadBasisTrascoder(_x40){return _loadBasisTrascoder.apply(this,arguments);}function _loadBasisTrascoder(){_loadBasisTrascoder=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee36(options){var BASIS,wasmBinary,_yield$Promise$all,_yield$Promise$all2;return _regeneratorRuntime().wrap(function _callee36$(_context39){while(1){switch(_context39.prev=_context39.next){case 0:BASIS=null;wasmBinary=null;_context39.t0=Promise;_context39.next=5;return loadLibrary('basis_transcoder.js','textures',options);case 5:_context39.t1=_context39.sent;_context39.next=8;return loadLibrary('basis_transcoder.wasm','textures',options);case 8:_context39.t2=_context39.sent;_context39.t3=[_context39.t1,_context39.t2];_context39.next=12;return _context39.t0.all.call(_context39.t0,_context39.t3);case 12:_yield$Promise$all=_context39.sent;_yield$Promise$all2=_slicedToArray(_yield$Promise$all,2);BASIS=_yield$Promise$all2[0];wasmBinary=_yield$Promise$all2[1];BASIS=BASIS||globalThis.BASIS;_context39.next=19;return initializeBasisTrascoderModule(BASIS,wasmBinary);case 19:return _context39.abrupt("return",_context39.sent);case 20:case"end":return _context39.stop();}}},_callee36);}));return _loadBasisTrascoder.apply(this,arguments);}function initializeBasisTrascoderModule(BasisModule,wasmBinary){var options={};if(wasmBinary){options.wasmBinary=wasmBinary;}return new Promise(function(resolve){BasisModule(options).then(function(module){var BasisFile=module.BasisFile,initializeBasis=module.initializeBasis;initializeBasis();resolve({BasisFile:BasisFile});});});}var loadBasisEncoderPromise;function loadBasisEncoderModule(_x41){return _loadBasisEncoderModule.apply(this,arguments);}function _loadBasisEncoderModule(){_loadBasisEncoderModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee37(options){var modules;return _regeneratorRuntime().wrap(function _callee37$(_context40){while(1){switch(_context40.prev=_context40.next){case 0:modules=options.modules||{};if(!modules.basisEncoder){_context40.next=3;break;}return _context40.abrupt("return",modules.basisEncoder);case 3:loadBasisEncoderPromise=loadBasisEncoderPromise||loadBasisEncoder(options);_context40.next=6;return loadBasisEncoderPromise;case 6:return _context40.abrupt("return",_context40.sent);case 7:case"end":return _context40.stop();}}},_callee37);}));return _loadBasisEncoderModule.apply(this,arguments);}function loadBasisEncoder(_x42){return _loadBasisEncoder.apply(this,arguments);}function _loadBasisEncoder(){_loadBasisEncoder=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee38(options){var BASIS_ENCODER,wasmBinary,_yield$Promise$all3,_yield$Promise$all4;return _regeneratorRuntime().wrap(function _callee38$(_context41){while(1){switch(_context41.prev=_context41.next){case 0:BASIS_ENCODER=null;wasmBinary=null;_context41.t0=Promise;_context41.next=5;return loadLibrary(BASIS_CDN_ENCODER_JS,'textures',options);case 5:_context41.t1=_context41.sent;_context41.next=8;return loadLibrary(BASIS_CDN_ENCODER_WASM,'textures',options);case 8:_context41.t2=_context41.sent;_context41.t3=[_context41.t1,_context41.t2];_context41.next=12;return _context41.t0.all.call(_context41.t0,_context41.t3);case 12:_yield$Promise$all3=_context41.sent;_yield$Promise$all4=_slicedToArray(_yield$Promise$all3,2);BASIS_ENCODER=_yield$Promise$all4[0];wasmBinary=_yield$Promise$all4[1];BASIS_ENCODER=BASIS_ENCODER||globalThis.BASIS;_context41.next=19;return initializeBasisEncoderModule(BASIS_ENCODER,wasmBinary);case 19:return _context41.abrupt("return",_context41.sent);case 20:case"end":return _context41.stop();}}},_callee38);}));return _loadBasisEncoder.apply(this,arguments);}function initializeBasisEncoderModule(BasisEncoderModule,wasmBinary){var options={};if(wasmBinary){options.wasmBinary=wasmBinary;}return new Promise(function(resolve){BasisEncoderModule(options).then(function(module){var BasisFile=module.BasisFile,KTX2File=module.KTX2File,initializeBasis=module.initializeBasis,BasisEncoder=module.BasisEncoder;initializeBasis();resolve({BasisFile:BasisFile,KTX2File:KTX2File,BasisEncoder:BasisEncoder});});});}var GL_EXTENSIONS_CONSTANTS={COMPRESSED_RGB_S3TC_DXT1_EXT:0x83f0,COMPRESSED_RGBA_S3TC_DXT1_EXT:0x83f1,COMPRESSED_RGBA_S3TC_DXT3_EXT:0x83f2,COMPRESSED_RGBA_S3TC_DXT5_EXT:0x83f3,COMPRESSED_R11_EAC:0x9270,COMPRESSED_SIGNED_R11_EAC:0x9271,COMPRESSED_RG11_EAC:0x9272,COMPRESSED_SIGNED_RG11_EAC:0x9273,COMPRESSED_RGB8_ETC2:0x9274,COMPRESSED_RGBA8_ETC2_EAC:0x9275,COMPRESSED_SRGB8_ETC2:0x9276,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:0x9277,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:0x9278,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:0x9279,COMPRESSED_RGB_PVRTC_4BPPV1_IMG:0x8c00,COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:0x8c02,COMPRESSED_RGB_PVRTC_2BPPV1_IMG:0x8c01,COMPRESSED_RGBA_PVRTC_2BPPV1_IMG:0x8c03,COMPRESSED_RGB_ETC1_WEBGL:0x8d64,COMPRESSED_RGB_ATC_WEBGL:0x8c92,COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:0x8c93,COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL:0x87ee,COMPRESSED_RGBA_ASTC_4X4_KHR:0x93b0,COMPRESSED_RGBA_ASTC_5X4_KHR:0x93b1,COMPRESSED_RGBA_ASTC_5X5_KHR:0x93b2,COMPRESSED_RGBA_ASTC_6X5_KHR:0x93b3,COMPRESSED_RGBA_ASTC_6X6_KHR:0x93b4,COMPRESSED_RGBA_ASTC_8X5_KHR:0x93b5,COMPRESSED_RGBA_ASTC_8X6_KHR:0x93b6,COMPRESSED_RGBA_ASTC_8X8_KHR:0x93b7,COMPRESSED_RGBA_ASTC_10X5_KHR:0x93b8,COMPRESSED_RGBA_ASTC_10X6_KHR:0x93b9,COMPRESSED_RGBA_ASTC_10X8_KHR:0x93ba,COMPRESSED_RGBA_ASTC_10X10_KHR:0x93bb,COMPRESSED_RGBA_ASTC_12X10_KHR:0x93bc,COMPRESSED_RGBA_ASTC_12X12_KHR:0x93bd,COMPRESSED_SRGB8_ALPHA8_ASTC_4X4_KHR:0x93d0,COMPRESSED_SRGB8_ALPHA8_ASTC_5X4_KHR:0x93d1,COMPRESSED_SRGB8_ALPHA8_ASTC_5X5_KHR:0x93d2,COMPRESSED_SRGB8_ALPHA8_ASTC_6X5_KHR:0x93d3,COMPRESSED_SRGB8_ALPHA8_ASTC_6X6_KHR:0x93d4,COMPRESSED_SRGB8_ALPHA8_ASTC_8X5_KHR:0x93d5,COMPRESSED_SRGB8_ALPHA8_ASTC_8X6_KHR:0x93d6,COMPRESSED_SRGB8_ALPHA8_ASTC_8X8_KHR:0x93d7,COMPRESSED_SRGB8_ALPHA8_ASTC_10X5_KHR:0x93d8,COMPRESSED_SRGB8_ALPHA8_ASTC_10X6_KHR:0x93d9,COMPRESSED_SRGB8_ALPHA8_ASTC_10X8_KHR:0x93da,COMPRESSED_SRGB8_ALPHA8_ASTC_10X10_KHR:0x93db,COMPRESSED_SRGB8_ALPHA8_ASTC_12X10_KHR:0x93dc,COMPRESSED_SRGB8_ALPHA8_ASTC_12X12_KHR:0x93dd,COMPRESSED_RED_RGTC1_EXT:0x8dbb,COMPRESSED_SIGNED_RED_RGTC1_EXT:0x8dbc,COMPRESSED_RED_GREEN_RGTC2_EXT:0x8dbd,COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT:0x8dbe,COMPRESSED_SRGB_S3TC_DXT1_EXT:0x8c4c,COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT:0x8c4d,COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT:0x8c4e,COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT:0x8c4f};var BROWSER_PREFIXES=['','WEBKIT_','MOZ_'];var WEBGL_EXTENSIONS={WEBGL_compressed_texture_s3tc:'dxt',WEBGL_compressed_texture_s3tc_srgb:'dxt-srgb',WEBGL_compressed_texture_etc1:'etc1',WEBGL_compressed_texture_etc:'etc2',WEBGL_compressed_texture_pvrtc:'pvrtc',WEBGL_compressed_texture_atc:'atc',WEBGL_compressed_texture_astc:'astc',EXT_texture_compression_rgtc:'rgtc'};var formats=null;function getSupportedGPUTextureFormats(gl){if(!formats){gl=gl||getWebGLContext()||undefined;formats=new Set();var _iterator15=_createForOfIteratorHelper(BROWSER_PREFIXES),_step15;try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var prefix=_step15.value;for(var extension in WEBGL_EXTENSIONS){if(gl&&gl.getExtension("".concat(prefix).concat(extension))){var gpuTextureFormat=WEBGL_EXTENSIONS[extension];formats.add(gpuTextureFormat);}}}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}}return formats;}function getWebGLContext(){try{var _canvas6=document.createElement('canvas');return _canvas6.getContext('webgl');}catch(error){return null;}}var n,i,s,a,r,o,l,f;!function(t){t[t.NONE=0]="NONE",t[t.BASISLZ=1]="BASISLZ",t[t.ZSTD=2]="ZSTD",t[t.ZLIB=3]="ZLIB";}(n||(n={})),function(t){t[t.BASICFORMAT=0]="BASICFORMAT";}(i||(i={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.ETC1S=163]="ETC1S",t[t.UASTC=166]="UASTC";}(s||(s={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.SRGB=1]="SRGB";}(a||(a={})),function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.LINEAR=1]="LINEAR",t[t.SRGB=2]="SRGB",t[t.ITU=3]="ITU",t[t.NTSC=4]="NTSC",t[t.SLOG=5]="SLOG",t[t.SLOG2=6]="SLOG2";}(r||(r={})),function(t){t[t.ALPHA_STRAIGHT=0]="ALPHA_STRAIGHT",t[t.ALPHA_PREMULTIPLIED=1]="ALPHA_PREMULTIPLIED";}(o||(o={})),function(t){t[t.RGB=0]="RGB",t[t.RRR=3]="RRR",t[t.GGG=4]="GGG",t[t.AAA=15]="AAA";}(l||(l={})),function(t){t[t.RGB=0]="RGB",t[t.RGBA=3]="RGBA",t[t.RRR=4]="RRR",t[t.RRRG=5]="RRRG";}(f||(f={}));var KTX2_ID=[0xab,0x4b,0x54,0x58,0x20,0x32,0x30,0xbb,0x0d,0x0a,0x1a,0x0a];function isKTX(data){var id=new Uint8Array(data);var notKTX=id.byteLength<KTX2_ID.length||id[0]!==KTX2_ID[0]||id[1]!==KTX2_ID[1]||id[2]!==KTX2_ID[2]||id[3]!==KTX2_ID[3]||id[4]!==KTX2_ID[4]||id[5]!==KTX2_ID[5]||id[6]!==KTX2_ID[6]||id[7]!==KTX2_ID[7]||id[8]!==KTX2_ID[8]||id[9]!==KTX2_ID[9]||id[10]!==KTX2_ID[10]||id[11]!==KTX2_ID[11];return!notKTX;}var OutputFormat={etc1:{basisFormat:0,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGB_ETC1_WEBGL},etc2:{basisFormat:1,compressed:true},bc1:{basisFormat:2,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGB_S3TC_DXT1_EXT},bc3:{basisFormat:3,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGBA_S3TC_DXT5_EXT},bc4:{basisFormat:4,compressed:true},bc5:{basisFormat:5,compressed:true},'bc7-m6-opaque-only':{basisFormat:6,compressed:true},'bc7-m5':{basisFormat:7,compressed:true},'pvrtc1-4-rgb':{basisFormat:8,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGB_PVRTC_4BPPV1_IMG},'pvrtc1-4-rgba':{basisFormat:9,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG},'astc-4x4':{basisFormat:10,compressed:true,format:GL_EXTENSIONS_CONSTANTS.COMPRESSED_RGBA_ASTC_4X4_KHR},'atc-rgb':{basisFormat:11,compressed:true},'atc-rgba-interpolated-alpha':{basisFormat:12,compressed:true},rgba32:{basisFormat:13,compressed:false},rgb565:{basisFormat:14,compressed:false},bgr565:{basisFormat:15,compressed:false},rgba4444:{basisFormat:16,compressed:false}};function parseBasis(_x43,_x44){return _parseBasis.apply(this,arguments);}function _parseBasis(){_parseBasis=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee39(data,options){var fileConstructors,_yield$loadBasisTrasc,BasisFile,_fileConstructors,_yield$loadBasisTrasc2,_BasisFile;return _regeneratorRuntime().wrap(function _callee39$(_context42){while(1){switch(_context42.prev=_context42.next){case 0:if(!(options.basis.containerFormat==='auto')){_context42.next=11;break;}if(!isKTX(data)){_context42.next=6;break;}_context42.next=4;return loadBasisEncoderModule(options);case 4:fileConstructors=_context42.sent;return _context42.abrupt("return",parseKTX2File(fileConstructors.KTX2File,data,options));case 6:_context42.next=8;return loadBasisTrascoderModule(options);case 8:_yield$loadBasisTrasc=_context42.sent;BasisFile=_yield$loadBasisTrasc.BasisFile;return _context42.abrupt("return",parseBasisFile(BasisFile,data,options));case 11:_context42.t0=options.basis.module;_context42.next=_context42.t0==='encoder'?14:_context42.t0==='transcoder'?22:22;break;case 14:_context42.next=16;return loadBasisEncoderModule(options);case 16:_fileConstructors=_context42.sent;_context42.t1=options.basis.containerFormat;_context42.next=_context42.t1==='ktx2'?20:_context42.t1==='basis'?21:21;break;case 20:return _context42.abrupt("return",parseKTX2File(_fileConstructors.KTX2File,data,options));case 21:return _context42.abrupt("return",parseBasisFile(_fileConstructors.BasisFile,data,options));case 22:_context42.next=24;return loadBasisTrascoderModule(options);case 24:_yield$loadBasisTrasc2=_context42.sent;_BasisFile=_yield$loadBasisTrasc2.BasisFile;return _context42.abrupt("return",parseBasisFile(_BasisFile,data,options));case 27:case"end":return _context42.stop();}}},_callee39);}));return _parseBasis.apply(this,arguments);}function parseBasisFile(BasisFile,data,options){var basisFile=new BasisFile(new Uint8Array(data));try{if(!basisFile.startTranscoding()){throw new Error('Failed to start basis transcoding');}var imageCount=basisFile.getNumImages();var images=[];for(var imageIndex=0;imageIndex<imageCount;imageIndex++){var levelsCount=basisFile.getNumLevels(imageIndex);var levels=[];for(var levelIndex=0;levelIndex<levelsCount;levelIndex++){levels.push(transcodeImage(basisFile,imageIndex,levelIndex,options));}images.push(levels);}return images;}finally{basisFile.close();basisFile["delete"]();}}function transcodeImage(basisFile,imageIndex,levelIndex,options){var width=basisFile.getImageWidth(imageIndex,levelIndex);var height=basisFile.getImageHeight(imageIndex,levelIndex);var hasAlpha=basisFile.getHasAlpha();var _getBasisOptions=getBasisOptions(options,hasAlpha),compressed=_getBasisOptions.compressed,format=_getBasisOptions.format,basisFormat=_getBasisOptions.basisFormat;var decodedSize=basisFile.getImageTranscodedSizeInBytes(imageIndex,levelIndex,basisFormat);var decodedData=new Uint8Array(decodedSize);if(!basisFile.transcodeImage(decodedData,imageIndex,levelIndex,basisFormat,0,0)){throw new Error('failed to start Basis transcoding');}return{width:width,height:height,data:decodedData,compressed:compressed,format:format,hasAlpha:hasAlpha};}function parseKTX2File(KTX2File,data,options){var ktx2File=new KTX2File(new Uint8Array(data));try{if(!ktx2File.startTranscoding()){throw new Error('failed to start KTX2 transcoding');}var levelsCount=ktx2File.getLevels();var levels=[];for(var levelIndex=0;levelIndex<levelsCount;levelIndex++){levels.push(transcodeKTX2Image(ktx2File,levelIndex,options));break;}return[levels];}finally{ktx2File.close();ktx2File["delete"]();}}function transcodeKTX2Image(ktx2File,levelIndex,options){var _ktx2File$getImageLev=ktx2File.getImageLevelInfo(levelIndex,0,0),alphaFlag=_ktx2File$getImageLev.alphaFlag,height=_ktx2File$getImageLev.height,width=_ktx2File$getImageLev.width;var _getBasisOptions2=getBasisOptions(options,alphaFlag),compressed=_getBasisOptions2.compressed,format=_getBasisOptions2.format,basisFormat=_getBasisOptions2.basisFormat;var decodedSize=ktx2File.getImageTranscodedSizeInBytes(levelIndex,0,0,basisFormat);var decodedData=new Uint8Array(decodedSize);if(!ktx2File.transcodeImage(decodedData,levelIndex,0,0,basisFormat,0,-1,-1)){throw new Error('Failed to transcode KTX2 image');}return{width:width,height:height,data:decodedData,compressed:compressed,hasAlpha:alphaFlag,format:format};}function getBasisOptions(options,hasAlpha){var format=options&&options.basis&&options.basis.format;if(format==='auto'){format=selectSupportedBasisFormat();}if(_typeof(format)==='object'){format=hasAlpha?format.alpha:format.noAlpha;}format=format.toLowerCase();return OutputFormat[format];}function selectSupportedBasisFormat(){var supportedFormats=getSupportedGPUTextureFormats();if(supportedFormats.has('astc')){return'astc-4x4';}else if(supportedFormats.has('dxt')){return{alpha:'bc3',noAlpha:'bc1'};}else if(supportedFormats.has('pvrtc')){return{alpha:'pvrtc1-4-rgba',noAlpha:'pvrtc1-4-rgb'};}else if(supportedFormats.has('etc1')){return'etc1';}else if(supportedFormats.has('etc2')){return'etc2';}return'rgb565';}var BasisWorkerLoader={name:'Basis',id:'basis',module:'textures',version:VERSION$4,worker:true,extensions:['basis','ktx2'],mimeTypes:['application/octet-stream','image/ktx2'],tests:['sB'],binary:true,options:{basis:{format:'auto',libraryPath:'libs/',containerFormat:'auto',module:'transcoder'}}};var BasisLoader=_objectSpread(_objectSpread({},BasisWorkerLoader),{},{parse:parseBasis});var VERSION$2="3.2.6";var _parseImageNode=globalThis._parseImageNode;var IMAGE_SUPPORTED=typeof Image!=='undefined';var IMAGE_BITMAP_SUPPORTED=typeof ImageBitmap!=='undefined';var NODE_IMAGE_SUPPORTED=Boolean(_parseImageNode);var DATA_SUPPORTED=isBrowser$4?true:NODE_IMAGE_SUPPORTED;function isImageTypeSupported(type){switch(type){case'auto':return IMAGE_BITMAP_SUPPORTED||IMAGE_SUPPORTED||DATA_SUPPORTED;case'imagebitmap':return IMAGE_BITMAP_SUPPORTED;case'image':return IMAGE_SUPPORTED;case'data':return DATA_SUPPORTED;default:throw new Error("@loaders.gl/images: image ".concat(type," not supported in this environment"));}}function getDefaultImageType(){if(IMAGE_BITMAP_SUPPORTED){return'imagebitmap';}if(IMAGE_SUPPORTED){return'image';}if(DATA_SUPPORTED){return'data';}throw new Error('Install \'@loaders.gl/polyfills\' to parse images under Node.js');}function getImageType(image){var format=getImageTypeOrNull(image);if(!format){throw new Error('Not an image');}return format;}function getImageData(image){switch(getImageType(image)){case'data':return image;case'image':case'imagebitmap':var _canvas7=document.createElement('canvas');var context=_canvas7.getContext('2d');if(!context){throw new Error('getImageData');}_canvas7.width=image.width;_canvas7.height=image.height;context.drawImage(image,0,0);return context.getImageData(0,0,image.width,image.height);default:throw new Error('getImageData');}}function getImageTypeOrNull(image){if(typeof ImageBitmap!=='undefined'&&image instanceof ImageBitmap){return'imagebitmap';}if(typeof Image!=='undefined'&&image instanceof Image){return'image';}if(image&&_typeof(image)==='object'&&image.data&&image.width&&image.height){return'data';}return null;}var SVG_DATA_URL_PATTERN=/^data:image\/svg\+xml/;var SVG_URL_PATTERN=/\.svg((\?|#).*)?$/;function isSVG(url){return url&&(SVG_DATA_URL_PATTERN.test(url)||SVG_URL_PATTERN.test(url));}function getBlobOrSVGDataUrl(arrayBuffer,url){if(isSVG(url)){var textDecoder=new TextDecoder();var xmlText=textDecoder.decode(arrayBuffer);try{if(typeof unescape==='function'&&typeof encodeURIComponent==='function'){xmlText=unescape(encodeURIComponent(xmlText));}}catch(error){throw new Error(error.message);}var src="data:image/svg+xml;base64,".concat(btoa(xmlText));return src;}return getBlob(arrayBuffer,url);}function getBlob(arrayBuffer,url){if(isSVG(url)){throw new Error('SVG cannot be parsed directly to imagebitmap');}return new Blob([new Uint8Array(arrayBuffer)]);}function parseToImage(_x45,_x46,_x47){return _parseToImage.apply(this,arguments);}function _parseToImage(){_parseToImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee40(arrayBuffer,options,url){var blobOrDataUrl,URL,objectUrl;return _regeneratorRuntime().wrap(function _callee40$(_context43){while(1){switch(_context43.prev=_context43.next){case 0:blobOrDataUrl=getBlobOrSVGDataUrl(arrayBuffer,url);URL=self.URL||self.webkitURL;objectUrl=typeof blobOrDataUrl!=='string'&&URL.createObjectURL(blobOrDataUrl);_context43.prev=3;_context43.next=6;return loadToImage(objectUrl||blobOrDataUrl,options);case 6:return _context43.abrupt("return",_context43.sent);case 7:_context43.prev=7;if(objectUrl){URL.revokeObjectURL(objectUrl);}return _context43.finish(7);case 10:case"end":return _context43.stop();}}},_callee40,null,[[3,,7,10]]);}));return _parseToImage.apply(this,arguments);}function loadToImage(_x48,_x49){return _loadToImage.apply(this,arguments);}function _loadToImage(){_loadToImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee41(url,options){var image;return _regeneratorRuntime().wrap(function _callee41$(_context44){while(1){switch(_context44.prev=_context44.next){case 0:image=new Image();image.src=url;if(!(options.image&&options.image.decode&&image.decode)){_context44.next=6;break;}_context44.next=5;return image.decode();case 5:return _context44.abrupt("return",image);case 6:_context44.next=8;return new Promise(function(resolve,reject){try{image.onload=function(){return resolve(image);};image.onerror=function(err){return reject(new Error("Could not load image ".concat(url,": ").concat(err)));};}catch(error){reject(error);}});case 8:return _context44.abrupt("return",_context44.sent);case 9:case"end":return _context44.stop();}}},_callee41);}));return _loadToImage.apply(this,arguments);}var EMPTY_OBJECT={};var imagebitmapOptionsSupported=true;function parseToImageBitmap(_x50,_x51,_x52){return _parseToImageBitmap.apply(this,arguments);}function _parseToImageBitmap(){_parseToImageBitmap=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee42(arrayBuffer,options,url){var blob,_image8,imagebitmapOptions;return _regeneratorRuntime().wrap(function _callee42$(_context45){while(1){switch(_context45.prev=_context45.next){case 0:if(!isSVG(url)){_context45.next=7;break;}_context45.next=3;return parseToImage(arrayBuffer,options,url);case 3:_image8=_context45.sent;blob=_image8;_context45.next=8;break;case 7:blob=getBlob(arrayBuffer,url);case 8:imagebitmapOptions=options&&options.imagebitmap;_context45.next=11;return safeCreateImageBitmap(blob,imagebitmapOptions);case 11:return _context45.abrupt("return",_context45.sent);case 12:case"end":return _context45.stop();}}},_callee42);}));return _parseToImageBitmap.apply(this,arguments);}function safeCreateImageBitmap(_x53){return _safeCreateImageBitmap.apply(this,arguments);}function _safeCreateImageBitmap(){_safeCreateImageBitmap=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee43(blob){var imagebitmapOptions,_args41=arguments;return _regeneratorRuntime().wrap(function _callee43$(_context46){while(1){switch(_context46.prev=_context46.next){case 0:imagebitmapOptions=_args41.length>1&&_args41[1]!==undefined?_args41[1]:null;if(isEmptyObject(imagebitmapOptions)||!imagebitmapOptionsSupported){imagebitmapOptions=null;}if(!imagebitmapOptions){_context46.next=13;break;}_context46.prev=3;_context46.next=6;return createImageBitmap(blob,imagebitmapOptions);case 6:return _context46.abrupt("return",_context46.sent);case 9:_context46.prev=9;_context46.t0=_context46["catch"](3);console.warn(_context46.t0);imagebitmapOptionsSupported=false;case 13:_context46.next=15;return createImageBitmap(blob);case 15:return _context46.abrupt("return",_context46.sent);case 16:case"end":return _context46.stop();}}},_callee43,null,[[3,9]]);}));return _safeCreateImageBitmap.apply(this,arguments);}function isEmptyObject(object){for(var key in object||EMPTY_OBJECT){return false;}return true;}var BIG_ENDIAN=false;var LITTLE_ENDIAN=true;function getBinaryImageMetadata(binaryData){var dataView=toDataView(binaryData);return getPngMetadata(dataView)||getJpegMetadata(dataView)||getGifMetadata(dataView)||getBmpMetadata(dataView);}function getPngMetadata(binaryData){var dataView=toDataView(binaryData);var isPng=dataView.byteLength>=24&&dataView.getUint32(0,BIG_ENDIAN)===0x89504e47;if(!isPng){return null;}return{mimeType:'image/png',width:dataView.getUint32(16,BIG_ENDIAN),height:dataView.getUint32(20,BIG_ENDIAN)};}function getGifMetadata(binaryData){var dataView=toDataView(binaryData);var isGif=dataView.byteLength>=10&&dataView.getUint32(0,BIG_ENDIAN)===0x47494638;if(!isGif){return null;}return{mimeType:'image/gif',width:dataView.getUint16(6,LITTLE_ENDIAN),height:dataView.getUint16(8,LITTLE_ENDIAN)};}function getBmpMetadata(binaryData){var dataView=toDataView(binaryData);var isBmp=dataView.byteLength>=14&&dataView.getUint16(0,BIG_ENDIAN)===0x424d&&dataView.getUint32(2,LITTLE_ENDIAN)===dataView.byteLength;if(!isBmp){return null;}return{mimeType:'image/bmp',width:dataView.getUint32(18,LITTLE_ENDIAN),height:dataView.getUint32(22,LITTLE_ENDIAN)};}function getJpegMetadata(binaryData){var dataView=toDataView(binaryData);var isJpeg=dataView.byteLength>=3&&dataView.getUint16(0,BIG_ENDIAN)===0xffd8&&dataView.getUint8(2)===0xff;if(!isJpeg){return null;}var _getJpegMarkers=getJpegMarkers(),tableMarkers=_getJpegMarkers.tableMarkers,sofMarkers=_getJpegMarkers.sofMarkers;var i=2;while(i+9<dataView.byteLength){var marker=dataView.getUint16(i,BIG_ENDIAN);if(sofMarkers.has(marker)){return{mimeType:'image/jpeg',height:dataView.getUint16(i+5,BIG_ENDIAN),width:dataView.getUint16(i+7,BIG_ENDIAN)};}if(!tableMarkers.has(marker)){return null;}i+=2;i+=dataView.getUint16(i,BIG_ENDIAN);}return null;}function getJpegMarkers(){var tableMarkers=new Set([0xffdb,0xffc4,0xffcc,0xffdd,0xfffe]);for(var _i545=0xffe0;_i545<0xfff0;++_i545){tableMarkers.add(_i545);}var sofMarkers=new Set([0xffc0,0xffc1,0xffc2,0xffc3,0xffc5,0xffc6,0xffc7,0xffc9,0xffca,0xffcb,0xffcd,0xffce,0xffcf,0xffde]);return{tableMarkers:tableMarkers,sofMarkers:sofMarkers};}function toDataView(data){if(data instanceof DataView){return data;}if(ArrayBuffer.isView(data)){return new DataView(data.buffer);}if(data instanceof ArrayBuffer){return new DataView(data);}throw new Error('toDataView');}function parseToNodeImage(_x54,_x55){return _parseToNodeImage.apply(this,arguments);}function _parseToNodeImage(){_parseToNodeImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee44(arrayBuffer,options){var _ref19,mimeType,_parseImageNode;return _regeneratorRuntime().wrap(function _callee44$(_context47){while(1){switch(_context47.prev=_context47.next){case 0:_ref19=getBinaryImageMetadata(arrayBuffer)||{},mimeType=_ref19.mimeType;_parseImageNode=globalThis._parseImageNode;assert$5(_parseImageNode);_context47.next=5;return _parseImageNode(arrayBuffer,mimeType);case 5:return _context47.abrupt("return",_context47.sent);case 6:case"end":return _context47.stop();}}},_callee44);}));return _parseToNodeImage.apply(this,arguments);}function parseImage(_x56,_x57,_x58){return _parseImage.apply(this,arguments);}function _parseImage(){_parseImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee45(arrayBuffer,options,context){var imageOptions,imageType,_ref20,url,loadType,image;return _regeneratorRuntime().wrap(function _callee45$(_context48){while(1){switch(_context48.prev=_context48.next){case 0:options=options||{};imageOptions=options.image||{};imageType=imageOptions.type||'auto';_ref20=context||{},url=_ref20.url;loadType=getLoadableImageType(imageType);_context48.t0=loadType;_context48.next=_context48.t0==='imagebitmap'?8:_context48.t0==='image'?12:_context48.t0==='data'?16:20;break;case 8:_context48.next=10;return parseToImageBitmap(arrayBuffer,options,url);case 10:image=_context48.sent;return _context48.abrupt("break",21);case 12:_context48.next=14;return parseToImage(arrayBuffer,options,url);case 14:image=_context48.sent;return _context48.abrupt("break",21);case 16:_context48.next=18;return parseToNodeImage(arrayBuffer);case 18:image=_context48.sent;return _context48.abrupt("break",21);case 20:assert$5(false);case 21:if(imageType==='data'){image=getImageData(image);}return _context48.abrupt("return",image);case 23:case"end":return _context48.stop();}}},_callee45);}));return _parseImage.apply(this,arguments);}function getLoadableImageType(type){switch(type){case'auto':case'data':return getDefaultImageType();default:isImageTypeSupported(type);return type;}}var EXTENSIONS$1=['png','jpg','jpeg','gif','webp','bmp','ico','svg'];var MIME_TYPES=['image/png','image/jpeg','image/gif','image/webp','image/bmp','image/vnd.microsoft.icon','image/svg+xml'];var DEFAULT_IMAGE_LOADER_OPTIONS={image:{type:'auto',decode:true}};var ImageLoader={id:'image',module:'images',name:'Images',version:VERSION$2,mimeTypes:MIME_TYPES,extensions:EXTENSIONS$1,parse:parseImage,tests:[function(arrayBuffer){return Boolean(getBinaryImageMetadata(new DataView(arrayBuffer)));}],options:DEFAULT_IMAGE_LOADER_OPTIONS};var NODE_FORMAT_SUPPORT=['image/png','image/jpeg','image/gif'];var mimeTypeSupported={};function _isImageFormatSupported(mimeType){if(mimeTypeSupported[mimeType]===undefined){mimeTypeSupported[mimeType]=checkFormatSupport(mimeType);}return mimeTypeSupported[mimeType];}function checkFormatSupport(mimeType){switch(mimeType){case'image/webp':return checkWebPSupport();case'image/svg':return isBrowser$4;default:if(!isBrowser$4){var _parseImageNode2=globalThis._parseImageNode;return Boolean(_parseImageNode2)&&NODE_FORMAT_SUPPORT.includes(mimeType);}return true;}}function checkWebPSupport(){if(!isBrowser$4){return false;}try{var element=document.createElement('canvas');return element.toDataURL('image/webp').indexOf('data:image/webp')===0;}catch(_unused){return false;}}function assert$1(condition,message){if(!condition){throw new Error(message||'assert failed: gltf');}}function resolveUrl(url,options){var absolute=url.startsWith('data:')||url.startsWith('http:')||url.startsWith('https:');if(absolute){return url;}var baseUrl=options.baseUri||options.uri;if(!baseUrl){throw new Error("'baseUri' must be provided to resolve relative url ".concat(url));}return baseUrl.substr(0,baseUrl.lastIndexOf('/')+1)+url;}function getTypedArrayForBufferView(json,buffers,bufferViewIndex){var bufferView=json.bufferViews[bufferViewIndex];assert$1(bufferView);var bufferIndex=bufferView.buffer;var binChunk=buffers[bufferIndex];assert$1(binChunk);var byteOffset=(bufferView.byteOffset||0)+binChunk.byteOffset;return new Uint8Array(binChunk.arrayBuffer,byteOffset,bufferView.byteLength);}var TYPES=['SCALAR','VEC2','VEC3','VEC4'];var ARRAY_CONSTRUCTOR_TO_WEBGL_CONSTANT=[[Int8Array,5120],[Uint8Array,5121],[Int16Array,5122],[Uint16Array,5123],[Uint32Array,5125],[Float32Array,5126],[Float64Array,5130]];var ARRAY_TO_COMPONENT_TYPE=new Map(ARRAY_CONSTRUCTOR_TO_WEBGL_CONSTANT);var ATTRIBUTE_TYPE_TO_COMPONENTS={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16};var ATTRIBUTE_COMPONENT_TYPE_TO_BYTE_SIZE={5120:1,5121:1,5122:2,5123:2,5125:4,5126:4};var ATTRIBUTE_COMPONENT_TYPE_TO_ARRAY={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array};function getAccessorTypeFromSize(size){var type=TYPES[size-1];return type||TYPES[0];}function getComponentTypeFromArray(typedArray){var componentType=ARRAY_TO_COMPONENT_TYPE.get(typedArray.constructor);if(!componentType){throw new Error('Illegal typed array');}return componentType;}function getAccessorArrayTypeAndLength(accessor,bufferView){var ArrayType=ATTRIBUTE_COMPONENT_TYPE_TO_ARRAY[accessor.componentType];var components=ATTRIBUTE_TYPE_TO_COMPONENTS[accessor.type];var bytesPerComponent=ATTRIBUTE_COMPONENT_TYPE_TO_BYTE_SIZE[accessor.componentType];var length=accessor.count*components;var byteLength=accessor.count*components*bytesPerComponent;assert$1(byteLength>=0&&byteLength<=bufferView.byteLength);return{ArrayType:ArrayType,length:length,byteLength:byteLength};}var DEFAULT_GLTF_JSON={asset:{version:'2.0',generator:'loaders.gl'},buffers:[]};var GLTFScenegraph=/*#__PURE__*/function(){function GLTFScenegraph(gltf){_classCallCheck(this,GLTFScenegraph);_defineProperty(this,"gltf",void 0);_defineProperty(this,"sourceBuffers",void 0);_defineProperty(this,"byteLength",void 0);this.gltf=gltf||{json:_objectSpread({},DEFAULT_GLTF_JSON),buffers:[]};this.sourceBuffers=[];this.byteLength=0;if(this.gltf.buffers&&this.gltf.buffers[0]){this.byteLength=this.gltf.buffers[0].byteLength;this.sourceBuffers=[this.gltf.buffers[0]];}}_createClass(GLTFScenegraph,[{key:"json",get:function get(){return this.gltf.json;}},{key:"getApplicationData",value:function getApplicationData(key){var data=this.json[key];return data;}},{key:"getExtraData",value:function getExtraData(key){var extras=this.json.extras||{};return extras[key];}},{key:"getExtension",value:function getExtension(extensionName){var isExtension=this.getUsedExtensions().find(function(name){return name===extensionName;});var extensions=this.json.extensions||{};return isExtension?extensions[extensionName]||true:null;}},{key:"getRequiredExtension",value:function getRequiredExtension(extensionName){var isRequired=this.getRequiredExtensions().find(function(name){return name===extensionName;});return isRequired?this.getExtension(extensionName):null;}},{key:"getRequiredExtensions",value:function getRequiredExtensions(){return this.json.extensionsRequired||[];}},{key:"getUsedExtensions",value:function getUsedExtensions(){return this.json.extensionsUsed||[];}},{key:"getObjectExtension",value:function getObjectExtension(object,extensionName){var extensions=object.extensions||{};return extensions[extensionName];}},{key:"getScene",value:function getScene(index){return this.getObject('scenes',index);}},{key:"getNode",value:function getNode(index){return this.getObject('nodes',index);}},{key:"getSkin",value:function getSkin(index){return this.getObject('skins',index);}},{key:"getMesh",value:function getMesh(index){return this.getObject('meshes',index);}},{key:"getMaterial",value:function getMaterial(index){return this.getObject('materials',index);}},{key:"getAccessor",value:function getAccessor(index){return this.getObject('accessors',index);}},{key:"getTexture",value:function getTexture(index){return this.getObject('textures',index);}},{key:"getSampler",value:function getSampler(index){return this.getObject('samplers',index);}},{key:"getImage",value:function getImage(index){return this.getObject('images',index);}},{key:"getBufferView",value:function getBufferView(index){return this.getObject('bufferViews',index);}},{key:"getBuffer",value:function getBuffer(index){return this.getObject('buffers',index);}},{key:"getObject",value:function getObject(array,index){if(_typeof(index)==='object'){return index;}var object=this.json[array]&&this.json[array][index];if(!object){throw new Error("glTF file error: Could not find ".concat(array,"[").concat(index,"]"));}return object;}},{key:"getTypedArrayForBufferView",value:function getTypedArrayForBufferView(bufferView){bufferView=this.getBufferView(bufferView);var bufferIndex=bufferView.buffer;var binChunk=this.gltf.buffers[bufferIndex];assert$1(binChunk);var byteOffset=(bufferView.byteOffset||0)+binChunk.byteOffset;return new Uint8Array(binChunk.arrayBuffer,byteOffset,bufferView.byteLength);}},{key:"getTypedArrayForAccessor",value:function getTypedArrayForAccessor(accessor){accessor=this.getAccessor(accessor);var bufferView=this.getBufferView(accessor.bufferView);var buffer=this.getBuffer(bufferView.buffer);var arrayBuffer=buffer.data;var _getAccessorArrayType=getAccessorArrayTypeAndLength(accessor,bufferView),ArrayType=_getAccessorArrayType.ArrayType,length=_getAccessorArrayType.length;var byteOffset=bufferView.byteOffset+accessor.byteOffset;return new ArrayType(arrayBuffer,byteOffset,length);}},{key:"getTypedArrayForImageData",value:function getTypedArrayForImageData(image){image=this.getAccessor(image);var bufferView=this.getBufferView(image.bufferView);var buffer=this.getBuffer(bufferView.buffer);var arrayBuffer=buffer.data;var byteOffset=bufferView.byteOffset||0;return new Uint8Array(arrayBuffer,byteOffset,bufferView.byteLength);}},{key:"addApplicationData",value:function addApplicationData(key,data){this.json[key]=data;return this;}},{key:"addExtraData",value:function addExtraData(key,data){this.json.extras=this.json.extras||{};this.json.extras[key]=data;return this;}},{key:"addObjectExtension",value:function addObjectExtension(object,extensionName,data){object.extensions=object.extensions||{};object.extensions[extensionName]=data;this.registerUsedExtension(extensionName);return this;}},{key:"setObjectExtension",value:function setObjectExtension(object,extensionName,data){var extensions=object.extensions||{};extensions[extensionName]=data;}},{key:"removeObjectExtension",value:function removeObjectExtension(object,extensionName){var extensions=object.extensions||{};var extension=extensions[extensionName];delete extensions[extensionName];return extension;}},{key:"addExtension",value:function addExtension(extensionName){var extensionData=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};assert$1(extensionData);this.json.extensions=this.json.extensions||{};this.json.extensions[extensionName]=extensionData;this.registerUsedExtension(extensionName);return extensionData;}},{key:"addRequiredExtension",value:function addRequiredExtension(extensionName){var extensionData=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};assert$1(extensionData);this.addExtension(extensionName,extensionData);this.registerRequiredExtension(extensionName);return extensionData;}},{key:"registerUsedExtension",value:function registerUsedExtension(extensionName){this.json.extensionsUsed=this.json.extensionsUsed||[];if(!this.json.extensionsUsed.find(function(ext){return ext===extensionName;})){this.json.extensionsUsed.push(extensionName);}}},{key:"registerRequiredExtension",value:function registerRequiredExtension(extensionName){this.registerUsedExtension(extensionName);this.json.extensionsRequired=this.json.extensionsRequired||[];if(!this.json.extensionsRequired.find(function(ext){return ext===extensionName;})){this.json.extensionsRequired.push(extensionName);}}},{key:"removeExtension",value:function removeExtension(extensionName){if(this.json.extensionsRequired){this._removeStringFromArray(this.json.extensionsRequired,extensionName);}if(this.json.extensionsUsed){this._removeStringFromArray(this.json.extensionsUsed,extensionName);}if(this.json.extensions){delete this.json.extensions[extensionName];}}},{key:"setDefaultScene",value:function setDefaultScene(sceneIndex){this.json.scene=sceneIndex;}},{key:"addScene",value:function addScene(scene){var nodeIndices=scene.nodeIndices;this.json.scenes=this.json.scenes||[];this.json.scenes.push({nodes:nodeIndices});return this.json.scenes.length-1;}},{key:"addNode",value:function addNode(node){var meshIndex=node.meshIndex,matrix=node.matrix;this.json.nodes=this.json.nodes||[];var nodeData={mesh:meshIndex};if(matrix){nodeData.matrix=matrix;}this.json.nodes.push(nodeData);return this.json.nodes.length-1;}},{key:"addMesh",value:function addMesh(mesh){var attributes=mesh.attributes,indices=mesh.indices,material=mesh.material,_mesh$mode=mesh.mode,mode=_mesh$mode===void 0?4:_mesh$mode;var accessors=this._addAttributes(attributes);var glTFMesh={primitives:[{attributes:accessors,mode:mode}]};if(indices){var indicesAccessor=this._addIndices(indices);glTFMesh.primitives[0].indices=indicesAccessor;}if(Number.isFinite(material)){glTFMesh.primitives[0].material=material;}this.json.meshes=this.json.meshes||[];this.json.meshes.push(glTFMesh);return this.json.meshes.length-1;}},{key:"addPointCloud",value:function addPointCloud(attributes){var accessorIndices=this._addAttributes(attributes);var glTFMesh={primitives:[{attributes:accessorIndices,mode:0}]};this.json.meshes=this.json.meshes||[];this.json.meshes.push(glTFMesh);return this.json.meshes.length-1;}},{key:"addImage",value:function addImage(imageData,mimeTypeOpt){var metadata=getBinaryImageMetadata(imageData);var mimeType=mimeTypeOpt||(metadata===null||metadata===void 0?void 0:metadata.mimeType);var bufferViewIndex=this.addBufferView(imageData);var glTFImage={bufferView:bufferViewIndex,mimeType:mimeType};this.json.images=this.json.images||[];this.json.images.push(glTFImage);return this.json.images.length-1;}},{key:"addBufferView",value:function addBufferView(buffer){var byteLength=buffer.byteLength;assert$1(Number.isFinite(byteLength));this.sourceBuffers=this.sourceBuffers||[];this.sourceBuffers.push(buffer);var glTFBufferView={buffer:0,byteOffset:this.byteLength,byteLength:byteLength};this.byteLength+=padToNBytes(byteLength,4);this.json.bufferViews=this.json.bufferViews||[];this.json.bufferViews.push(glTFBufferView);return this.json.bufferViews.length-1;}},{key:"addAccessor",value:function addAccessor(bufferViewIndex,accessor){var glTFAccessor={bufferView:bufferViewIndex,type:getAccessorTypeFromSize(accessor.size),componentType:accessor.componentType,count:accessor.count,max:accessor.max,min:accessor.min};this.json.accessors=this.json.accessors||[];this.json.accessors.push(glTFAccessor);return this.json.accessors.length-1;}},{key:"addBinaryBuffer",value:function addBinaryBuffer(sourceBuffer){var accessor=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{size:3};var bufferViewIndex=this.addBufferView(sourceBuffer);var minMax={min:accessor.min,max:accessor.max};if(!minMax.min||!minMax.max){minMax=this._getAccessorMinMax(sourceBuffer,accessor.size);}var accessorDefaults={size:accessor.size,componentType:getComponentTypeFromArray(sourceBuffer),count:Math.round(sourceBuffer.length/accessor.size),min:minMax.min,max:minMax.max};return this.addAccessor(bufferViewIndex,Object.assign(accessorDefaults,accessor));}},{key:"addTexture",value:function addTexture(texture){var imageIndex=texture.imageIndex;var glTFTexture={source:imageIndex};this.json.textures=this.json.textures||[];this.json.textures.push(glTFTexture);return this.json.textures.length-1;}},{key:"addMaterial",value:function addMaterial(pbrMaterialInfo){this.json.materials=this.json.materials||[];this.json.materials.push(pbrMaterialInfo);return this.json.materials.length-1;}},{key:"createBinaryChunk",value:function createBinaryChunk(){var _this$json,_this$json$buffers;this.gltf.buffers=[];var totalByteLength=this.byteLength;var arrayBuffer=new ArrayBuffer(totalByteLength);var targetArray=new Uint8Array(arrayBuffer);var dstByteOffset=0;var _iterator16=_createForOfIteratorHelper(this.sourceBuffers||[]),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var sourceBuffer=_step16.value;dstByteOffset=copyToArray(sourceBuffer,targetArray,dstByteOffset);}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}if((_this$json=this.json)!==null&&_this$json!==void 0&&(_this$json$buffers=_this$json.buffers)!==null&&_this$json$buffers!==void 0&&_this$json$buffers[0]){this.json.buffers[0].byteLength=totalByteLength;}else{this.json.buffers=[{byteLength:totalByteLength}];}this.gltf.binary=arrayBuffer;this.sourceBuffers=[arrayBuffer];}},{key:"_removeStringFromArray",value:function _removeStringFromArray(array,string){var found=true;while(found){var index=array.indexOf(string);if(index>-1){array.splice(index,1);}else{found=false;}}}},{key:"_addAttributes",value:function _addAttributes(){var attributes=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var result={};for(var attributeKey in attributes){var attributeData=attributes[attributeKey];var attrName=this._getGltfAttributeName(attributeKey);var accessor=this.addBinaryBuffer(attributeData.value,attributeData);result[attrName]=accessor;}return result;}},{key:"_addIndices",value:function _addIndices(indices){return this.addBinaryBuffer(indices,{size:1});}},{key:"_getGltfAttributeName",value:function _getGltfAttributeName(attributeName){switch(attributeName.toLowerCase()){case'position':case'positions':case'vertices':return'POSITION';case'normal':case'normals':return'NORMAL';case'color':case'colors':return'COLOR_0';case'texcoord':case'texcoords':return'TEXCOORD_0';default:return attributeName;}}},{key:"_getAccessorMinMax",value:function _getAccessorMinMax(buffer,size){var result={min:null,max:null};if(buffer.length<size){return result;}result.min=[];result.max=[];var initValues=buffer.subarray(0,size);var _iterator17=_createForOfIteratorHelper(initValues),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var value=_step17.value;result.min.push(value);result.max.push(value);}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}for(var index=size;index<buffer.length;index+=size){for(var componentIndex=0;componentIndex<size;componentIndex++){result.min[0+componentIndex]=Math.min(result.min[0+componentIndex],buffer[index+componentIndex]);result.max[0+componentIndex]=Math.max(result.max[0+componentIndex],buffer[index+componentIndex]);}}return result;}}]);return GLTFScenegraph;}();var wasm_base='B9h9z9tFBBBF8fL9gBB9gLaaaaaFa9gEaaaB9gFaFa9gEaaaFaEMcBFFFGGGEIIILF9wFFFLEFBFKNFaFCx/IFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBF8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBGy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBEn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBIi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBKI9z9iqlBOc+x8ycGBM/qQFTa8jUUUUBCU/EBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAGTkUUUBRNCUoBAG9uC/wgBZHKCUGAKCUG9JyRVAECFJRICBRcGXEXAcAF9PQFAVAFAclAcAVJAF9JyRMGXGXAG9FQBAMCbJHKC9wZRSAKCIrCEJCGrRQANCUGJRfCBRbAIRTEXGXAOATlAQ9PQBCBRISEMATAQJRIGXAS9FQBCBRtCBREEXGXAOAIlCi9PQBCBRISLMANCU/CBJAEJRKGXGXGXGXGXATAECKrJ2BBAtCKZrCEZfIBFGEBMAKhB83EBAKCNJhB83EBSEMAKAI2BIAI2BBHmCKrHYAYCE6HYy86BBAKCFJAICIJAYJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCGJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCEJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCIJAYAmJHY2BBAI2BFHmCKrHPAPCE6HPy86BBAKCLJAYAPJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCKJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCOJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCNJAYAmJHY2BBAI2BGHmCKrHPAPCE6HPy86BBAKCVJAYAPJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCcJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCMJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCSJAYAmJHm2BBAI2BEHICKrHYAYCE6HYy86BBAKCQJAmAYJHm2BBAICIrCEZHYAYCE6HYy86BBAKCfJAmAYJHm2BBAICGrCEZHYAYCE6HYy86BBAKCbJAmAYJHK2BBAICEZHIAICE6HIy86BBAKAIJRISGMAKAI2BNAI2BBHmCIrHYAYCb6HYy86BBAKCFJAICNJAYJHY2BBAmCbZHmAmCb6Hmy86BBAKCGJAYAmJHm2BBAI2BFHYCIrHPAPCb6HPy86BBAKCEJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCIJAmAYJHm2BBAI2BGHYCIrHPAPCb6HPy86BBAKCLJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCKJAmAYJHm2BBAI2BEHYCIrHPAPCb6HPy86BBAKCOJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCNJAmAYJHm2BBAI2BIHYCIrHPAPCb6HPy86BBAKCVJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCcJAmAYJHm2BBAI2BLHYCIrHPAPCb6HPy86BBAKCMJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCSJAmAYJHm2BBAI2BKHYCIrHPAPCb6HPy86BBAKCQJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCfJAmAYJHm2BBAI2BOHICIrHYAYCb6HYy86BBAKCbJAmAYJHK2BBAICbZHIAICb6HIy86BBAKAIJRISFMAKAI8pBB83BBAKCNJAICNJ8pBB83BBAICTJRIMAtCGJRtAECTJHEAS9JQBMMGXAIQBCBRISEMGXAM9FQBANAbJ2BBRtCBRKAfREEXAEANCU/CBJAKJ2BBHTCFrCBATCFZl9zAtJHt86BBAEAGJREAKCFJHKAM9HQBMMAfCFJRfAIRTAbCFJHbAG9HQBMMABAcAG9sJANCUGJAMAG9sTkUUUBpANANCUGJAMCaJAG9sJAGTkUUUBpMAMCBAIyAcJRcAIQBMC9+RKSFMCBC99AOAIlAGCAAGCA9Ly6yRKMALCU/EBJ8kUUUUBAKM+OmFTa8jUUUUBCoFlHL8kUUUUBC9+RKGXAFCE9uHOCtJAI9LQBCaRKAE2BBHNC/wFZC/gF9HQBANCbZHVCF9LQBALCoBJCgFCUFT+JUUUBpALC84Jha83EBALC8wJha83EBALC8oJha83EBALCAJha83EBALCiJha83EBALCTJha83EBALha83ENALha83EBAEAIJC9wJRcAECFJHNAOJRMGXAF9FQBCQCbAVCF6yRSABRECBRVCBRQCBRfCBRICBRKEXGXAMAcuQBC9+RKSEMGXGXAN2BBHOC/vF9LQBALCoBJAOCIrCa9zAKJCbZCEWJHb8oGIRTAb8oGBRtGXAOCbZHbAS9PQBALAOCa9zAIJCbZCGWJ8oGBAVAbyROAb9FRbGXGXAGCG9HQBABAt87FBABCIJAO87FBABCGJAT87FBSFMAEAtjGBAECNJAOjGBAECIJATjGBMAVAbJRVALCoBJAKCEWJHmAOjGBAmATjGIALAICGWJAOjGBALCoBJAKCFJCbZHKCEWJHTAtjGBATAOjGIAIAbJRIAKCFJRKSGMGXGXAbCb6QBAQAbJAbC989zJCFJRQSFMAM1BBHbCgFZROGXGXAbCa9MQBAMCFJRMSFMAM1BFHbCgBZCOWAOCgBZqROGXAbCa9MQBAMCGJRMSFMAM1BGHbCgBZCfWAOqROGXAbCa9MQBAMCEJRMSFMAM1BEHbCgBZCdWAOqROGXAbCa9MQBAMCIJRMSFMAM2BIC8cWAOqROAMCLJRMMAOCFrCBAOCFZl9zAQJRQMGXGXAGCG9HQBABAt87FBABCIJAQ87FBABCGJAT87FBSFMAEAtjGBAECNJAQjGBAECIJATjGBMALCoBJAKCEWJHOAQjGBAOATjGIALAICGWJAQjGBALCoBJAKCFJCbZHKCEWJHOAtjGBAOAQjGIAICFJRIAKCFJRKSFMGXAOCDF9LQBALAIAcAOCbZJ2BBHbCIrHTlCbZCGWJ8oGBAVCFJHtATyROALAIAblCbZCGWJ8oGBAtAT9FHmJHtAbCbZHTyRbAT9FRTGXGXAGCG9HQBABAV87FBABCIJAb87FBABCGJAO87FBSFMAEAVjGBAECNJAbjGBAECIJAOjGBMALAICGWJAVjGBALCoBJAKCEWJHYAOjGBAYAVjGIALAICFJHICbZCGWJAOjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAIAmJCbZHICGWJAbjGBALCoBJAKCGJCbZHKCEWJHOAVjGBAOAbjGIAKCFJRKAIATJRIAtATJRVSFMAVCBAM2BBHYyHTAOC/+F6HPJROAYCbZRtGXGXAYCIrHmQBAOCFJRbSFMAORbALAIAmlCbZCGWJ8oGBROMGXGXAtQBAbCFJRVSFMAbRVALAIAYlCbZCGWJ8oGBRbMGXGXAP9FQBAMCFJRYSFMAM1BFHYCgFZRTGXGXAYCa9MQBAMCGJRYSFMAM1BGHYCgBZCOWATCgBZqRTGXAYCa9MQBAMCEJRYSFMAM1BEHYCgBZCfWATqRTGXAYCa9MQBAMCIJRYSFMAM1BIHYCgBZCdWATqRTGXAYCa9MQBAMCLJRYSFMAMCKJRYAM2BLC8cWATqRTMATCFrCBATCFZl9zAQJHQRTMGXGXAmCb6QBAYRPSFMAY1BBHMCgFZROGXGXAMCa9MQBAYCFJRPSFMAY1BFHMCgBZCOWAOCgBZqROGXAMCa9MQBAYCGJRPSFMAY1BGHMCgBZCfWAOqROGXAMCa9MQBAYCEJRPSFMAY1BEHMCgBZCdWAOqROGXAMCa9MQBAYCIJRPSFMAYCLJRPAY2BIC8cWAOqROMAOCFrCBAOCFZl9zAQJHQROMGXGXAtCb6QBAPRMSFMAP1BBHMCgFZRbGXGXAMCa9MQBAPCFJRMSFMAP1BFHMCgBZCOWAbCgBZqRbGXAMCa9MQBAPCGJRMSFMAP1BGHMCgBZCfWAbqRbGXAMCa9MQBAPCEJRMSFMAP1BEHMCgBZCdWAbqRbGXAMCa9MQBAPCIJRMSFMAPCLJRMAP2BIC8cWAbqRbMAbCFrCBAbCFZl9zAQJHQRbMGXGXAGCG9HQBABAT87FBABCIJAb87FBABCGJAO87FBSFMAEATjGBAECNJAbjGBAECIJAOjGBMALCoBJAKCEWJHYAOjGBAYATjGIALAICGWJATjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAICFJHICbZCGWJAOjGBALCoBJAKCGJCbZCEWJHOATjGBAOAbjGIALAIAm9FAmCb6qJHICbZCGWJAbjGBAIAt9FAtCb6qJRIAKCEJRKMANCFJRNABCKJRBAECSJREAKCbZRKAICbZRIAfCEJHfAF9JQBMMCBC99AMAc6yRKMALCoFJ8kUUUUBAKM/tIFGa8jUUUUBCTlRLC9+RKGXAFCLJAI9LQBCaRKAE2BBC/+FZC/QF9HQBALhB83ENAECFJRKAEAIJC98JREGXAF9FQBGXAGCG6QBEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMALCNJAICFZCGWqHGAICGrCBAICFrCFZl9zAG8oGBJHIjGBABAIjGBABCIJRBAFCaJHFQBSGMMEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMABAICGrCBAICFrCFZl9zALCNJAICFZCGWqHI8oGBJHG87FBAIAGjGBABCGJRBAFCaJHFQBMMCBC99AKAE6yRKMAKM+lLKFaF99GaG99FaG99GXGXAGCI9HQBAF9FQFEXGXGX9DBBB8/9DBBB+/ABCGJHG1BB+yAB1BBHE+yHI+L+TABCFJHL1BBHK+yHO+L+THN9DBBBB9gHVyAN9DBB/+hANAN+U9DBBBBANAVyHcAc+MHMAECa3yAI+SHIAI+UAcAMAKCa3yAO+SHcAc+U+S+S+R+VHO+U+SHN+L9DBBB9P9d9FQBAN+oRESFMCUUUU94REMAGAE86BBGXGX9DBBB8/9DBBB+/Ac9DBBBB9gyAcAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMALAG86BBGXGX9DBBB8/9DBBB+/AI9DBBBB9gyAIAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMABAG86BBABCIJRBAFCaJHFQBSGMMAF9FQBEXGXGX9DBBB8/9DBBB+/ABCIJHG8uFB+yAB8uFBHE+yHI+L+TABCGJHL8uFBHK+yHO+L+THN9DBBBB9gHVyAN9DB/+g6ANAN+U9DBBBBANAVyHcAc+MHMAECa3yAI+SHIAI+UAcAMAKCa3yAO+SHcAc+U+S+S+R+VHO+U+SHN+L9DBBB9P9d9FQBAN+oRESFMCUUUU94REMAGAE87FBGXGX9DBBB8/9DBBB+/Ac9DBBBB9gyAcAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMALAG87FBGXGX9DBBB8/9DBBB+/AI9DBBBB9gyAIAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMABAG87FBABCNJRBAFCaJHFQBMMM/SEIEaE99EaF99GXAF9FQBCBREABRIEXGXGX9D/zI818/AICKJ8uFBHLCEq+y+VHKAI8uFB+y+UHO9DB/+g6+U9DBBB8/9DBBB+/AO9DBBBB9gy+SHN+L9DBBB9P9d9FQBAN+oRVSFMCUUUU94RVMAICIJ8uFBRcAICGJ8uFBRMABALCFJCEZAEqCFWJAV87FBGXGXAKAM+y+UHN9DB/+g6+U9DBBB8/9DBBB+/AN9DBBBB9gy+SHS+L9DBBB9P9d9FQBAS+oRMSFMCUUUU94RMMABALCGJCEZAEqCFWJAM87FBGXGXAKAc+y+UHK9DB/+g6+U9DBBB8/9DBBB+/AK9DBBBB9gy+SHS+L9DBBB9P9d9FQBAS+oRcSFMCUUUU94RcMABALCaJCEZAEqCFWJAc87FBGXGX9DBBU8/AOAO+U+TANAN+U+TAKAK+U+THO9DBBBBAO9DBBBB9gy+R9DB/+g6+U9DBBB8/+SHO+L9DBBB9P9d9FQBAO+oRcSFMCUUUU94RcMABALCEZAEqCFWJAc87FBAICNJRIAECIJREAFCaJHFQBMMM9JBGXAGCGrAF9sHF9FQBEXABAB8oGBHGCNWCN91+yAGCi91CnWCUUU/8EJ+++U84GBABCIJRBAFCaJHFQBMMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEM/lFFFaGXGXAFABqCEZ9FQBABRESFMGXGXAGCT9PQBABRESFMABREEXAEAF8oGBjGBAECIJAFCIJ8oGBjGBAECNJAFCNJ8oGBjGBAECSJAFCSJ8oGBjGBAECTJREAFCTJRFAGC9wJHGCb9LQBMMAGCI9JQBEXAEAF8oGBjGBAFCIJRFAECIJREAGC98JHGCE9LQBMMGXAG9FQBEXAEAF2BB86BBAECFJREAFCFJRFAGCaJHGQBMMABMoFFGaGXGXABCEZ9FQBABRESFMAFCgFZC+BwsN9sRIGXGXAGCT9PQBABRESFMABREEXAEAIjGBAECSJAIjGBAECNJAIjGBAECIJAIjGBAECTJREAGC9wJHGCb9LQBMMAGCI9JQBEXAEAIjGBAECIJREAGC98JHGCE9LQBMMGXAG9FQBEXAEAF86BBAECFJREAGCaJHGQBMMABMMMFBCUNMIT9kBB';var wasm_simd='B9h9z9tFBBBF8dL9gBB9gLaaaaaFa9gEaaaB9gGaaB9gFaFaEQSBBFBFFGEGEGIILF9wFFFLEFBFKNFaFCx/aFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBG8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBIy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBKi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBNn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBcI9z9iqlBMc/j9JSIBTEM9+FLa8jUUUUBCTlRBCBRFEXCBRGCBREEXABCNJAGJAECUaAFAGrCFZHIy86BBAEAIJREAGCFJHGCN9HQBMAFCx+YUUBJAE86BBAFCEWCxkUUBJAB8pEN83EBAFCFJHFCUG9HQBMMkRIbaG97FaK978jUUUUBCU/KBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAG/8cBBCUoBAG9uC/wgBZHKCUGAKCUG9JyRNAECFJRKCBRVGXEXAVAF9PQFANAFAVlAVANJAF9JyRcGXGXAG9FQBAcCbJHIC9wZHMCE9sRSAMCFWRQAICIrCEJCGrRfCBRbEXAKRTCBRtGXEXGXAOATlAf9PQBCBRKSLMALCU/CBJAtAM9sJRmATAfJRKCBREGXAMCoB9JQBAOAKlC/gB9JQBCBRIEXAmAIJREGXGXGXGXGXATAICKrJ2BBHYCEZfIBFGEBMAECBDtDMIBSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAEAKDBBBDMIBAKCTJRKMGXGXGXGXGXAYCGrCEZfIBFGEBMAECBDtDMITSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMITAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMITAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAEAKDBBBDMITAKCTJRKMGXGXGXGXGXAYCIrCEZfIBFGEBMAECBDtDMIASEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIAAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIAAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAEAKDBBBDMIAAKCTJRKMGXGXGXGXGXAYCKrfIBFGEBMAECBDtDMI8wSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBAYCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMI8wAKCIJAnDeBJAYCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBAYCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HYCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMI8wAKCNJAnDeBJAYCx+YUUBJ2BBJRKSFMAEAKDBBBDMI8wAKCTJRKMAICoBJREAICUFJAM9LQFAERIAOAKlC/fB9LQBMMGXAEAM9PQBAECErRIEXGXAOAKlCi9PQBCBRKSOMAmAEJRYGXGXGXGXGXATAECKrJ2BBAICKZrCEZfIBFGEBMAYCBDtDMIBSEMAYAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCIJAnDeBJAeCx+YUUBJ2BBJRKSGMAYAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPD8dBhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBAeCx+YUUBJDBBBHnAnDQBBBBBBBBBBBBBBBBAPD8dFhUg/8/4/w/goB9+h84k7HeCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCNJAnDeBJAeCx+YUUBJ2BBJRKSFMAYAKDBBBDMIBAKCTJRKMAICGJRIAECTJHEAM9JQBMMGXAK9FQBAKRTAtCFJHtCI6QGSFMMCBRKSEMGXAM9FQBALCUGJAbJREALAbJDBGBRnCBRYEXAEALCU/CBJAYJHIDBIBHdCFD9tAdCFDbHPD9OD9hD9RHdAIAMJDBIBHiCFD9tAiAPD9OD9hD9RHiDQBTFtGmEYIPLdKeOnH8ZAIAQJDBIBHpCFD9tApAPD9OD9hD9RHpAIASJDBIBHyCFD9tAyAPD9OD9hD9RHyDQBTFtGmEYIPLdKeOnH8cDQBFTtGEmYILPdKOenHPAPDQBFGEBFGEBFGEBFGEAnD9uHnDyBjGBAEAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJHIAnA8ZA8cDQNVi8ZcMpySQ8c8dfb8e8fHPAPDQBFGEBFGEBFGEBFGED9uHnDyBjGBAIAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJHIAnAdAiDQNiV8ZcpMyS8cQ8df8eb8fHdApAyDQNiV8ZcpMyS8cQ8df8eb8fHiDQBFTtGEmYILPdKOenHPAPDQBFGEBFGEBFGEBFGED9uHnDyBjGBAIAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJHIAnAdAiDQNVi8ZcMpySQ8c8dfb8e8fHPAPDQBFGEBFGEBFGEBFGED9uHnDyBjGBAIAGJHIAnAPAPDQILKOILKOILKOILKOD9uHnDyBjGBAIAGJHIAnAPAPDQNVcMNVcMNVcMNVcMD9uHnDyBjGBAIAGJHIAnAPAPDQSQfbSQfbSQfbSQfbD9uHnDyBjGBAIAGJREAYCTJHYAM9JQBMMAbCIJHbAG9JQBMMABAVAG9sJALCUGJAcAG9s/8cBBALALCUGJAcCaJAG9sJAG/8cBBMAcCBAKyAVJRVAKQBMC9+RKSFMCBC99AOAKlAGCAAGCA9Ly6yRKMALCU/KBJ8kUUUUBAKMNBT+BUUUBM+KmFTa8jUUUUBCoFlHL8kUUUUBC9+RKGXAFCE9uHOCtJAI9LQBCaRKAE2BBHNC/wFZC/gF9HQBANCbZHVCF9LQBALCoBJCgFCUF/8MBALC84Jha83EBALC8wJha83EBALC8oJha83EBALCAJha83EBALCiJha83EBALCTJha83EBALha83ENALha83EBAEAIJC9wJRcAECFJHNAOJRMGXAF9FQBCQCbAVCF6yRSABRECBRVCBRQCBRfCBRICBRKEXGXAMAcuQBC9+RKSEMGXGXAN2BBHOC/vF9LQBALCoBJAOCIrCa9zAKJCbZCEWJHb8oGIRTAb8oGBRtGXAOCbZHbAS9PQBALAOCa9zAIJCbZCGWJ8oGBAVAbyROAb9FRbGXGXAGCG9HQBABAt87FBABCIJAO87FBABCGJAT87FBSFMAEAtjGBAECNJAOjGBAECIJATjGBMAVAbJRVALCoBJAKCEWJHmAOjGBAmATjGIALAICGWJAOjGBALCoBJAKCFJCbZHKCEWJHTAtjGBATAOjGIAIAbJRIAKCFJRKSGMGXGXAbCb6QBAQAbJAbC989zJCFJRQSFMAM1BBHbCgFZROGXGXAbCa9MQBAMCFJRMSFMAM1BFHbCgBZCOWAOCgBZqROGXAbCa9MQBAMCGJRMSFMAM1BGHbCgBZCfWAOqROGXAbCa9MQBAMCEJRMSFMAM1BEHbCgBZCdWAOqROGXAbCa9MQBAMCIJRMSFMAM2BIC8cWAOqROAMCLJRMMAOCFrCBAOCFZl9zAQJRQMGXGXAGCG9HQBABAt87FBABCIJAQ87FBABCGJAT87FBSFMAEAtjGBAECNJAQjGBAECIJATjGBMALCoBJAKCEWJHOAQjGBAOATjGIALAICGWJAQjGBALCoBJAKCFJCbZHKCEWJHOAtjGBAOAQjGIAICFJRIAKCFJRKSFMGXAOCDF9LQBALAIAcAOCbZJ2BBHbCIrHTlCbZCGWJ8oGBAVCFJHtATyROALAIAblCbZCGWJ8oGBAtAT9FHmJHtAbCbZHTyRbAT9FRTGXGXAGCG9HQBABAV87FBABCIJAb87FBABCGJAO87FBSFMAEAVjGBAECNJAbjGBAECIJAOjGBMALAICGWJAVjGBALCoBJAKCEWJHYAOjGBAYAVjGIALAICFJHICbZCGWJAOjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAIAmJCbZHICGWJAbjGBALCoBJAKCGJCbZHKCEWJHOAVjGBAOAbjGIAKCFJRKAIATJRIAtATJRVSFMAVCBAM2BBHYyHTAOC/+F6HPJROAYCbZRtGXGXAYCIrHmQBAOCFJRbSFMAORbALAIAmlCbZCGWJ8oGBROMGXGXAtQBAbCFJRVSFMAbRVALAIAYlCbZCGWJ8oGBRbMGXGXAP9FQBAMCFJRYSFMAM1BFHYCgFZRTGXGXAYCa9MQBAMCGJRYSFMAM1BGHYCgBZCOWATCgBZqRTGXAYCa9MQBAMCEJRYSFMAM1BEHYCgBZCfWATqRTGXAYCa9MQBAMCIJRYSFMAM1BIHYCgBZCdWATqRTGXAYCa9MQBAMCLJRYSFMAMCKJRYAM2BLC8cWATqRTMATCFrCBATCFZl9zAQJHQRTMGXGXAmCb6QBAYRPSFMAY1BBHMCgFZROGXGXAMCa9MQBAYCFJRPSFMAY1BFHMCgBZCOWAOCgBZqROGXAMCa9MQBAYCGJRPSFMAY1BGHMCgBZCfWAOqROGXAMCa9MQBAYCEJRPSFMAY1BEHMCgBZCdWAOqROGXAMCa9MQBAYCIJRPSFMAYCLJRPAY2BIC8cWAOqROMAOCFrCBAOCFZl9zAQJHQROMGXGXAtCb6QBAPRMSFMAP1BBHMCgFZRbGXGXAMCa9MQBAPCFJRMSFMAP1BFHMCgBZCOWAbCgBZqRbGXAMCa9MQBAPCGJRMSFMAP1BGHMCgBZCfWAbqRbGXAMCa9MQBAPCEJRMSFMAP1BEHMCgBZCdWAbqRbGXAMCa9MQBAPCIJRMSFMAPCLJRMAP2BIC8cWAbqRbMAbCFrCBAbCFZl9zAQJHQRbMGXGXAGCG9HQBABAT87FBABCIJAb87FBABCGJAO87FBSFMAEATjGBAECNJAbjGBAECIJAOjGBMALCoBJAKCEWJHYAOjGBAYATjGIALAICGWJATjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAICFJHICbZCGWJAOjGBALCoBJAKCGJCbZCEWJHOATjGBAOAbjGIALAIAm9FAmCb6qJHICbZCGWJAbjGBAIAt9FAtCb6qJRIAKCEJRKMANCFJRNABCKJRBAECSJREAKCbZRKAICbZRIAfCEJHfAF9JQBMMCBC99AMAc6yRKMALCoFJ8kUUUUBAKM/tIFGa8jUUUUBCTlRLC9+RKGXAFCLJAI9LQBCaRKAE2BBC/+FZC/QF9HQBALhB83ENAECFJRKAEAIJC98JREGXAF9FQBGXAGCG6QBEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMALCNJAICFZCGWqHGAICGrCBAICFrCFZl9zAG8oGBJHIjGBABAIjGBABCIJRBAFCaJHFQBSGMMEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMABAICGrCBAICFrCFZl9zALCNJAICFZCGWqHI8oGBJHG87FBAIAGjGBABCGJRBAFCaJHFQBMMCBC99AKAE6yRKMAKM/xLGEaK978jUUUUBCAlHE8kUUUUBGXGXAGCI9HQBGXAFC98ZHI9FQBABRGCBRLEXAGAGDBBBHKCiD+rFCiD+sFD/6FHOAKCND+rFCiD+sFD/6FAOD/gFAKCTD+rFCiD+sFD/6FHND/gFD/kFD/lFHVCBDtD+2FHcAOCUUUU94DtHMD9OD9RD/kFHO9DBB/+hDYAOAOD/mFAVAVD/mFANAcANAMD9OD9RD/kFHOAOD/mFD/kFD/kFD/jFD/nFHND/mF9DBBX9LDYHcD/kFCgFDtD9OAKCUUU94DtD9OD9QAOAND/mFAcD/kFCND+rFCU/+EDtD9OD9QAVAND/mFAcD/kFCTD+rFCUU/8ODtD9OD9QDMBBAGCTJRGALCIJHLAI9JQBMMAIAF9PQFAEAFCEZHLCGWHGqCBCTAGl/8MBAEABAICGWJHIAG/8cBBGXAL9FQBAEAEDBIBHKCiD+rFCiD+sFD/6FHOAKCND+rFCiD+sFD/6FAOD/gFAKCTD+rFCiD+sFD/6FHND/gFD/kFD/lFHVCBDtD+2FHcAOCUUUU94DtHMD9OD9RD/kFHO9DBB/+hDYAOAOD/mFAVAVD/mFANAcANAMD9OD9RD/kFHOAOD/mFD/kFD/kFD/jFD/nFHND/mF9DBBX9LDYHcD/kFCgFDtD9OAKCUUU94DtD9OD9QAOAND/mFAcD/kFCND+rFCU/+EDtD9OD9QAVAND/mFAcD/kFCTD+rFCUU/8ODtD9OD9QDMIBMAIAEAG/8cBBSFMABAFC98ZHGT+HUUUBAGAF9PQBAEAFCEZHICEWHLJCBCAALl/8MBAEABAGCEWJHGAL/8cBBAEAIT+HUUUBAGAEAL/8cBBMAECAJ8kUUUUBM+yEGGaO97GXAF9FQBCBRGEXABCTJHEAEDBBBHICBDtHLCUU98D8cFCUU98D8cEHKD9OABDBBBHOAIDQILKOSQfbPden8c8d8e8fCggFDtD9OD/6FAOAIDQBFGENVcMTtmYi8ZpyHICTD+sFD/6FHND/gFAICTD+rFCTD+sFD/6FHVD/gFD/kFD/lFHI9DB/+g6DYAVAIALD+2FHLAVCUUUU94DtHcD9OD9RD/kFHVAVD/mFAIAID/mFANALANAcD9OD9RD/kFHIAID/mFD/kFD/kFD/jFD/nFHND/mF9DBBX9LDYHLD/kFCTD+rFAVAND/mFALD/kFCggEDtD9OD9QHVAIAND/mFALD/kFCaDbCBDnGCBDnECBDnKCBDnOCBDncCBDnMCBDnfCBDnbD9OHIDQNVi8ZcMpySQ8c8dfb8e8fD9QDMBBABAOAKD9OAVAIDQBFTtGEmYILPdKOenD9QDMBBABCAJRBAGCIJHGAF9JQBMMM94FEa8jUUUUBCAlHE8kUUUUBABAFC98ZHIT+JUUUBGXAIAF9PQBAEAFCEZHLCEWHFJCBCAAFl/8MBAEABAICEWJHBAF/8cBBAEALT+JUUUBABAEAF/8cBBMAECAJ8kUUUUBM/hEIGaF97FaL978jUUUUBCTlRGGXAF9FQBCBREEXAGABDBBBHIABCTJHLDBBBHKDQILKOSQfbPden8c8d8e8fHOCTD+sFHNCID+rFDMIBAB9DBBU8/DY9D/zI818/DYANCEDtD9QD/6FD/nFHNAIAKDQBFGENVcMTtmYi8ZpyHICTD+rFCTD+sFD/6FD/mFHKAKD/mFANAICTD+sFD/6FD/mFHVAVD/mFANAOCTD+rFCTD+sFD/6FD/mFHOAOD/mFD/kFD/kFD/lFCBDtD+4FD/jF9DB/+g6DYHND/mF9DBBX9LDYHID/kFCggEDtHcD9OAVAND/mFAID/kFCTD+rFD9QHVAOAND/mFAID/kFCTD+rFAKAND/mFAID/kFAcD9OD9QHNDQBFTtGEmYILPdKOenHID8dBAGDBIBDyB+t+J83EBABCNJAID8dFAGDBIBDyF+t+J83EBALAVANDQNVi8ZcMpySQ8c8dfb8e8fHND8dBAGDBIBDyG+t+J83EBABCiJAND8dFAGDBIBDyE+t+J83EBABCAJRBAECIJHEAF9JQBMMM/3FGEaF978jUUUUBCoBlREGXAGCGrAF9sHIC98ZHL9FQBCBRGABRFEXAFAFDBBBHKCND+rFCND+sFD/6FAKCiD+sFCnD+rFCUUU/8EDtD+uFD/mFDMBBAFCTJRFAGCIJHGAL9JQBMMGXALAI9PQBAEAICEZHGCGWHFqCBCoBAFl/8MBAEABALCGWJHLAF/8cBBGXAG9FQBAEAEDBIBHKCND+rFCND+sFD/6FAKCiD+sFCnD+rFCUUU/8EDtD+uFD/mFDMIBMALAEAF/8cBBMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEMMMFBCUNMIT9tBB';var detector=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]);var wasmpack=new Uint8Array([32,0,65,253,3,1,2,34,4,106,6,5,11,8,7,20,13,33,12,16,128,9,116,64,19,113,127,15,10,21,22,14,255,66,24,54,136,107,18,23,192,26,114,118,132,17,77,101,130,144,27,87,131,44,45,74,156,154,70,167]);var FILTERS={0:'',1:'meshopt_decodeFilterOct',2:'meshopt_decodeFilterQuat',3:'meshopt_decodeFilterExp',NONE:'',OCTAHEDRAL:'meshopt_decodeFilterOct',QUATERNION:'meshopt_decodeFilterQuat',EXPONENTIAL:'meshopt_decodeFilterExp'};var DECODERS={0:'meshopt_decodeVertexBuffer',1:'meshopt_decodeIndexBuffer',2:'meshopt_decodeIndexSequence',ATTRIBUTES:'meshopt_decodeVertexBuffer',TRIANGLES:'meshopt_decodeIndexBuffer',INDICES:'meshopt_decodeIndexSequence'};function meshoptDecodeGltfBuffer(_x59,_x60,_x61,_x62,_x63){return _meshoptDecodeGltfBuffer.apply(this,arguments);}function _meshoptDecodeGltfBuffer(){_meshoptDecodeGltfBuffer=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee46(target,count,size,source,mode){var filter,instance,_args44=arguments;return _regeneratorRuntime().wrap(function _callee46$(_context49){while(1){switch(_context49.prev=_context49.next){case 0:filter=_args44.length>5&&_args44[5]!==undefined?_args44[5]:'NONE';_context49.next=3;return loadWasmInstance();case 3:instance=_context49.sent;decode$5(instance,instance.exports[DECODERS[mode]],target,count,size,source,instance.exports[FILTERS[filter||'NONE']]);case 5:case"end":return _context49.stop();}}},_callee46);}));return _meshoptDecodeGltfBuffer.apply(this,arguments);}var wasmPromise;function loadWasmInstance(){return _loadWasmInstance.apply(this,arguments);}function _loadWasmInstance(){_loadWasmInstance=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee47(){return _regeneratorRuntime().wrap(function _callee47$(_context50){while(1){switch(_context50.prev=_context50.next){case 0:if(!wasmPromise){wasmPromise=loadWasmModule();}return _context50.abrupt("return",wasmPromise);case 2:case"end":return _context50.stop();}}},_callee47);}));return _loadWasmInstance.apply(this,arguments);}function loadWasmModule(){return _loadWasmModule.apply(this,arguments);}function _loadWasmModule(){_loadWasmModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee48(){var wasm,result;return _regeneratorRuntime().wrap(function _callee48$(_context51){while(1){switch(_context51.prev=_context51.next){case 0:wasm=wasm_base;if(WebAssembly.validate(detector)){wasm=wasm_simd;console.log('Warning: meshopt_decoder is using experimental SIMD support');}_context51.next=4;return WebAssembly.instantiate(unpack(wasm),{});case 4:result=_context51.sent;_context51.next=7;return result.instance.exports.__wasm_call_ctors();case 7:return _context51.abrupt("return",result.instance);case 8:case"end":return _context51.stop();}}},_callee48);}));return _loadWasmModule.apply(this,arguments);}function unpack(data){var result=new Uint8Array(data.length);for(var _i546=0;_i546<data.length;++_i546){var ch=data.charCodeAt(_i546);result[_i546]=ch>96?ch-71:ch>64?ch-65:ch>47?ch+4:ch>46?63:62;}var write=0;for(var _i547=0;_i547<data.length;++_i547){result[write++]=result[_i547]<60?wasmpack[result[_i547]]:(result[_i547]-60)*64+result[++_i547];}return result.buffer.slice(0,write);}function decode$5(instance,fun,target,count,size,source,filter){var sbrk=instance.exports.sbrk;var count4=count+3&~3;var tp=sbrk(count4*size);var sp=sbrk(source.length);var heap=new Uint8Array(instance.exports.memory.buffer);heap.set(source,sp);var res=fun(tp,count,size,sp,source.length);if(res===0&&filter){filter(tp,count4,size);}target.set(heap.subarray(tp,tp+count*size));sbrk(tp-sbrk(0));if(res!==0){throw new Error("Malformed buffer data: ".concat(res));}}var EXT_MESHOPT_COMPRESSION='EXT_meshopt_compression';var name$6=EXT_MESHOPT_COMPRESSION;function decode$4(_x64,_x65){return _decode$.apply(this,arguments);}function _decode$(){_decode$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee49(gltfData,options){var _options$gltf,scenegraph,promises,_iterator41,_step41,bufferViewIndex;return _regeneratorRuntime().wrap(function _callee49$(_context52){while(1){switch(_context52.prev=_context52.next){case 0:scenegraph=new GLTFScenegraph(gltfData);if(options!==null&&options!==void 0&&(_options$gltf=options.gltf)!==null&&_options$gltf!==void 0&&_options$gltf.decompressMeshes){_context52.next=3;break;}return _context52.abrupt("return");case 3:promises=[];_iterator41=_createForOfIteratorHelper(gltfData.json.bufferViews||[]);try{for(_iterator41.s();!(_step41=_iterator41.n()).done;){bufferViewIndex=_step41.value;promises.push(decodeMeshoptBufferView(scenegraph,bufferViewIndex));}}catch(err){_iterator41.e(err);}finally{_iterator41.f();}_context52.next=8;return Promise.all(promises);case 8:scenegraph.removeExtension(EXT_MESHOPT_COMPRESSION);case 9:case"end":return _context52.stop();}}},_callee49);}));return _decode$.apply(this,arguments);}function decodeMeshoptBufferView(_x66,_x67){return _decodeMeshoptBufferView.apply(this,arguments);}function _decodeMeshoptBufferView(){_decodeMeshoptBufferView=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee50(scenegraph,bufferView){var meshoptExtension,_meshoptExtension$byt,byteOffset,_meshoptExtension$byt2,byteLength,byteStride,count,mode,_meshoptExtension$fil,filter,bufferIndex,buffer,source,result;return _regeneratorRuntime().wrap(function _callee50$(_context53){while(1){switch(_context53.prev=_context53.next){case 0:meshoptExtension=scenegraph.getObjectExtension(bufferView,EXT_MESHOPT_COMPRESSION);if(!meshoptExtension){_context53.next=9;break;}_meshoptExtension$byt=meshoptExtension.byteOffset,byteOffset=_meshoptExtension$byt===void 0?0:_meshoptExtension$byt,_meshoptExtension$byt2=meshoptExtension.byteLength,byteLength=_meshoptExtension$byt2===void 0?0:_meshoptExtension$byt2,byteStride=meshoptExtension.byteStride,count=meshoptExtension.count,mode=meshoptExtension.mode,_meshoptExtension$fil=meshoptExtension.filter,filter=_meshoptExtension$fil===void 0?'NONE':_meshoptExtension$fil,bufferIndex=meshoptExtension.buffer;buffer=scenegraph.gltf.buffers[bufferIndex];source=new Uint8Array(buffer.arrayBuffer,buffer.byteOffset+byteOffset,byteLength);result=new Uint8Array(scenegraph.gltf.buffers[bufferView.buffer].arrayBuffer,bufferView.byteOffset,bufferView.byteLength);_context53.next=8;return meshoptDecodeGltfBuffer(result,count,byteStride,source,mode,filter);case 8:return _context53.abrupt("return",result);case 9:return _context53.abrupt("return",null);case 10:case"end":return _context53.stop();}}},_callee50);}));return _decodeMeshoptBufferView.apply(this,arguments);}var EXT_meshopt_compression=/*#__PURE__*/Object.freeze({__proto__:null,name:name$6,decode:decode$4});var EXT_TEXTURE_WEBP='EXT_texture_webp';var name$5=EXT_TEXTURE_WEBP;function preprocess$3(gltfData,options){var scenegraph=new GLTFScenegraph(gltfData);if(!_isImageFormatSupported('image/webp')){if(scenegraph.getRequiredExtensions().includes(EXT_TEXTURE_WEBP)){throw new Error("gltf: Required extension ".concat(EXT_TEXTURE_WEBP," not supported by browser"));}return;}var json=scenegraph.json;var _iterator18=_createForOfIteratorHelper(json.textures||[]),_step18;try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var texture=_step18.value;var extension=scenegraph.getObjectExtension(texture,EXT_TEXTURE_WEBP);if(extension){texture.source=extension.source;}scenegraph.removeObjectExtension(texture,EXT_TEXTURE_WEBP);}}catch(err){_iterator18.e(err);}finally{_iterator18.f();}scenegraph.removeExtension(EXT_TEXTURE_WEBP);}var EXT_texture_webp=/*#__PURE__*/Object.freeze({__proto__:null,name:name$5,preprocess:preprocess$3});var KHR_TEXTURE_BASISU='KHR_texture_basisu';var name$4=KHR_TEXTURE_BASISU;function preprocess$2(gltfData,options){var scene=new GLTFScenegraph(gltfData);var json=scene.json;var _iterator19=_createForOfIteratorHelper(json.textures||[]),_step19;try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var texture=_step19.value;var extension=scene.getObjectExtension(texture,KHR_TEXTURE_BASISU);if(extension){texture.source=extension.source;}scene.removeObjectExtension(texture,KHR_TEXTURE_BASISU);}}catch(err){_iterator19.e(err);}finally{_iterator19.f();}scene.removeExtension(KHR_TEXTURE_BASISU);}var KHR_texture_basisu=/*#__PURE__*/Object.freeze({__proto__:null,name:name$4,preprocess:preprocess$2});var VERSION$1="3.2.6";var DEFAULT_DRACO_OPTIONS={draco:{decoderType:(typeof WebAssembly==="undefined"?"undefined":_typeof(WebAssembly))==='object'?'wasm':'js',libraryPath:'libs/',extraAttributes:{},attributeNameEntry:undefined}};var DracoLoader$1={name:'Draco',id:'draco',module:'draco',shapes:['mesh'],version:VERSION$1,worker:true,extensions:['drc'],mimeTypes:['application/octet-stream'],binary:true,tests:['DRACO'],options:DEFAULT_DRACO_OPTIONS};function getMeshBoundingBox(attributes){var minX=Infinity;var minY=Infinity;var minZ=Infinity;var maxX=-Infinity;var maxY=-Infinity;var maxZ=-Infinity;var positions=attributes.POSITION?attributes.POSITION.value:[];var len=positions&&positions.length;for(var _i548=0;_i548<len;_i548+=3){var x=positions[_i548];var y=positions[_i548+1];var z=positions[_i548+2];minX=x<minX?x:minX;minY=y<minY?y:minY;minZ=z<minZ?z:minZ;maxX=x>maxX?x:maxX;maxY=y>maxY?y:maxY;maxZ=z>maxZ?z:maxZ;}return[[minX,minY,minZ],[maxX,maxY,maxZ]];}function assert(condition,message){if(!condition){throw new Error(message||'loader assertion failed.');}}var Schema=/*#__PURE__*/function(){function Schema(fields,metadata){_classCallCheck(this,Schema);_defineProperty(this,"fields",void 0);_defineProperty(this,"metadata",void 0);assert(Array.isArray(fields));checkNames(fields);this.fields=fields;this.metadata=metadata||new Map();}_createClass(Schema,[{key:"compareTo",value:function compareTo(other){if(this.metadata!==other.metadata){return false;}if(this.fields.length!==other.fields.length){return false;}for(var _i549=0;_i549<this.fields.length;++_i549){if(!this.fields[_i549].compareTo(other.fields[_i549])){return false;}}return true;}},{key:"select",value:function select(){var nameMap=Object.create(null);for(var _len124=arguments.length,columnNames=new Array(_len124),_key8=0;_key8<_len124;_key8++){columnNames[_key8]=arguments[_key8];}for(var _i550=0,_columnNames=columnNames;_i550<_columnNames.length;_i550++){var _name7=_columnNames[_i550];nameMap[_name7]=true;}var selectedFields=this.fields.filter(function(field){return nameMap[field.name];});return new Schema(selectedFields,this.metadata);}},{key:"selectAt",value:function selectAt(){var _this104=this;for(var _len125=arguments.length,columnIndices=new Array(_len125),_key9=0;_key9<_len125;_key9++){columnIndices[_key9]=arguments[_key9];}var selectedFields=columnIndices.map(function(index){return _this104.fields[index];}).filter(Boolean);return new Schema(selectedFields,this.metadata);}},{key:"assign",value:function assign(schemaOrFields){var fields;var metadata=this.metadata;if(schemaOrFields instanceof Schema){var otherSchema=schemaOrFields;fields=otherSchema.fields;metadata=mergeMaps(mergeMaps(new Map(),this.metadata),otherSchema.metadata);}else{fields=schemaOrFields;}var fieldMap=Object.create(null);var _iterator20=_createForOfIteratorHelper(this.fields),_step20;try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var field=_step20.value;fieldMap[field.name]=field;}}catch(err){_iterator20.e(err);}finally{_iterator20.f();}var _iterator21=_createForOfIteratorHelper(fields),_step21;try{for(_iterator21.s();!(_step21=_iterator21.n()).done;){var _field=_step21.value;fieldMap[_field.name]=_field;}}catch(err){_iterator21.e(err);}finally{_iterator21.f();}var mergedFields=Object.values(fieldMap);return new Schema(mergedFields,metadata);}}]);return Schema;}();function checkNames(fields){var usedNames={};var _iterator22=_createForOfIteratorHelper(fields),_step22;try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var field=_step22.value;if(usedNames[field.name]){console.warn('Schema: duplicated field name',field.name,field);}usedNames[field.name]=true;}}catch(err){_iterator22.e(err);}finally{_iterator22.f();}}function mergeMaps(m1,m2){return new Map([].concat(_toConsumableArray(m1||new Map()),_toConsumableArray(m2||new Map())));}var Field=/*#__PURE__*/function(){function Field(name,type){var nullable=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var metadata=arguments.length>3&&arguments[3]!==undefined?arguments[3]:new Map();_classCallCheck(this,Field);_defineProperty(this,"name",void 0);_defineProperty(this,"type",void 0);_defineProperty(this,"nullable",void 0);_defineProperty(this,"metadata",void 0);this.name=name;this.type=type;this.nullable=nullable;this.metadata=metadata;}_createClass(Field,[{key:"typeId",get:function get(){return this.type&&this.type.typeId;}},{key:"clone",value:function clone(){return new Field(this.name,this.type,this.nullable,this.metadata);}},{key:"compareTo",value:function compareTo(other){return this.name===other.name&&this.type===other.type&&this.nullable===other.nullable&&this.metadata===other.metadata;}},{key:"toString",value:function toString(){return"".concat(this.type).concat(this.nullable?', nullable':'').concat(this.metadata?", metadata: ".concat(this.metadata):'');}}]);return Field;}();var Type;(function(Type){Type[Type["NONE"]=0]="NONE";Type[Type["Null"]=1]="Null";Type[Type["Int"]=2]="Int";Type[Type["Float"]=3]="Float";Type[Type["Binary"]=4]="Binary";Type[Type["Utf8"]=5]="Utf8";Type[Type["Bool"]=6]="Bool";Type[Type["Decimal"]=7]="Decimal";Type[Type["Date"]=8]="Date";Type[Type["Time"]=9]="Time";Type[Type["Timestamp"]=10]="Timestamp";Type[Type["Interval"]=11]="Interval";Type[Type["List"]=12]="List";Type[Type["Struct"]=13]="Struct";Type[Type["Union"]=14]="Union";Type[Type["FixedSizeBinary"]=15]="FixedSizeBinary";Type[Type["FixedSizeList"]=16]="FixedSizeList";Type[Type["Map"]=17]="Map";Type[Type["Dictionary"]=-1]="Dictionary";Type[Type["Int8"]=-2]="Int8";Type[Type["Int16"]=-3]="Int16";Type[Type["Int32"]=-4]="Int32";Type[Type["Int64"]=-5]="Int64";Type[Type["Uint8"]=-6]="Uint8";Type[Type["Uint16"]=-7]="Uint16";Type[Type["Uint32"]=-8]="Uint32";Type[Type["Uint64"]=-9]="Uint64";Type[Type["Float16"]=-10]="Float16";Type[Type["Float32"]=-11]="Float32";Type[Type["Float64"]=-12]="Float64";Type[Type["DateDay"]=-13]="DateDay";Type[Type["DateMillisecond"]=-14]="DateMillisecond";Type[Type["TimestampSecond"]=-15]="TimestampSecond";Type[Type["TimestampMillisecond"]=-16]="TimestampMillisecond";Type[Type["TimestampMicrosecond"]=-17]="TimestampMicrosecond";Type[Type["TimestampNanosecond"]=-18]="TimestampNanosecond";Type[Type["TimeSecond"]=-19]="TimeSecond";Type[Type["TimeMillisecond"]=-20]="TimeMillisecond";Type[Type["TimeMicrosecond"]=-21]="TimeMicrosecond";Type[Type["TimeNanosecond"]=-22]="TimeNanosecond";Type[Type["DenseUnion"]=-23]="DenseUnion";Type[Type["SparseUnion"]=-24]="SparseUnion";Type[Type["IntervalDayTime"]=-25]="IntervalDayTime";Type[Type["IntervalYearMonth"]=-26]="IntervalYearMonth";})(Type||(Type={}));var _Symbol$toStringTag,_Symbol$toStringTag2,_Symbol$toStringTag7;var DataType=/*#__PURE__*/function(){function DataType(){_classCallCheck(this,DataType);}_createClass(DataType,[{key:"typeId",get:function get(){return Type.NONE;}},{key:"compareTo",value:function compareTo(other){return this===other;}}],[{key:"isNull",value:function isNull(x){return x&&x.typeId===Type.Null;}},{key:"isInt",value:function isInt(x){return x&&x.typeId===Type.Int;}},{key:"isFloat",value:function isFloat(x){return x&&x.typeId===Type.Float;}},{key:"isBinary",value:function isBinary(x){return x&&x.typeId===Type.Binary;}},{key:"isUtf8",value:function isUtf8(x){return x&&x.typeId===Type.Utf8;}},{key:"isBool",value:function isBool(x){return x&&x.typeId===Type.Bool;}},{key:"isDecimal",value:function isDecimal(x){return x&&x.typeId===Type.Decimal;}},{key:"isDate",value:function isDate(x){return x&&x.typeId===Type.Date;}},{key:"isTime",value:function isTime(x){return x&&x.typeId===Type.Time;}},{key:"isTimestamp",value:function isTimestamp(x){return x&&x.typeId===Type.Timestamp;}},{key:"isInterval",value:function isInterval(x){return x&&x.typeId===Type.Interval;}},{key:"isList",value:function isList(x){return x&&x.typeId===Type.List;}},{key:"isStruct",value:function isStruct(x){return x&&x.typeId===Type.Struct;}},{key:"isUnion",value:function isUnion(x){return x&&x.typeId===Type.Union;}},{key:"isFixedSizeBinary",value:function isFixedSizeBinary(x){return x&&x.typeId===Type.FixedSizeBinary;}},{key:"isFixedSizeList",value:function isFixedSizeList(x){return x&&x.typeId===Type.FixedSizeList;}},{key:"isMap",value:function isMap(x){return x&&x.typeId===Type.Map;}},{key:"isDictionary",value:function isDictionary(x){return x&&x.typeId===Type.Dictionary;}}]);return DataType;}();_Symbol$toStringTag=Symbol.toStringTag;var Int=/*#__PURE__*/function(_DataType,_Symbol$toStringTag3){_inherits(Int,_DataType);var _super67=_createSuper(Int);function Int(isSigned,bitWidth){var _this105;_classCallCheck(this,Int);_this105=_super67.call(this);_defineProperty(_assertThisInitialized(_this105),"isSigned",void 0);_defineProperty(_assertThisInitialized(_this105),"bitWidth",void 0);_this105.isSigned=isSigned;_this105.bitWidth=bitWidth;return _this105;}_createClass(Int,[{key:"typeId",get:function get(){return Type.Int;}},{key:_Symbol$toStringTag3,get:function get(){return'Int';}},{key:"toString",value:function toString(){return"".concat(this.isSigned?'I':'Ui',"nt").concat(this.bitWidth);}}]);return Int;}(DataType,_Symbol$toStringTag);var Int8=/*#__PURE__*/function(_Int){_inherits(Int8,_Int);var _super68=_createSuper(Int8);function Int8(){_classCallCheck(this,Int8);return _super68.call(this,true,8);}return _createClass(Int8);}(Int);var Int16=/*#__PURE__*/function(_Int2){_inherits(Int16,_Int2);var _super69=_createSuper(Int16);function Int16(){_classCallCheck(this,Int16);return _super69.call(this,true,16);}return _createClass(Int16);}(Int);var Int32=/*#__PURE__*/function(_Int3){_inherits(Int32,_Int3);var _super70=_createSuper(Int32);function Int32(){_classCallCheck(this,Int32);return _super70.call(this,true,32);}return _createClass(Int32);}(Int);var Uint8=/*#__PURE__*/function(_Int4){_inherits(Uint8,_Int4);var _super71=_createSuper(Uint8);function Uint8(){_classCallCheck(this,Uint8);return _super71.call(this,false,8);}return _createClass(Uint8);}(Int);var Uint16=/*#__PURE__*/function(_Int5){_inherits(Uint16,_Int5);var _super72=_createSuper(Uint16);function Uint16(){_classCallCheck(this,Uint16);return _super72.call(this,false,16);}return _createClass(Uint16);}(Int);var Uint32=/*#__PURE__*/function(_Int6){_inherits(Uint32,_Int6);var _super73=_createSuper(Uint32);function Uint32(){_classCallCheck(this,Uint32);return _super73.call(this,false,32);}return _createClass(Uint32);}(Int);var Precision={HALF:16,SINGLE:32,DOUBLE:64};_Symbol$toStringTag2=Symbol.toStringTag;var Float=/*#__PURE__*/function(_DataType2,_Symbol$toStringTag4){_inherits(Float,_DataType2);var _super74=_createSuper(Float);function Float(precision){var _this106;_classCallCheck(this,Float);_this106=_super74.call(this);_defineProperty(_assertThisInitialized(_this106),"precision",void 0);_this106.precision=precision;return _this106;}_createClass(Float,[{key:"typeId",get:function get(){return Type.Float;}},{key:_Symbol$toStringTag4,get:function get(){return'Float';}},{key:"toString",value:function toString(){return"Float".concat(this.precision);}}]);return Float;}(DataType,_Symbol$toStringTag2);var Float32=/*#__PURE__*/function(_Float){_inherits(Float32,_Float);var _super75=_createSuper(Float32);function Float32(){_classCallCheck(this,Float32);return _super75.call(this,Precision.SINGLE);}return _createClass(Float32);}(Float);var Float64=/*#__PURE__*/function(_Float2){_inherits(Float64,_Float2);var _super76=_createSuper(Float64);function Float64(){_classCallCheck(this,Float64);return _super76.call(this,Precision.DOUBLE);}return _createClass(Float64);}(Float);_Symbol$toStringTag7=Symbol.toStringTag;var FixedSizeList=/*#__PURE__*/function(_DataType3,_Symbol$toStringTag5){_inherits(FixedSizeList,_DataType3);var _super77=_createSuper(FixedSizeList);function FixedSizeList(listSize,child){var _this107;_classCallCheck(this,FixedSizeList);_this107=_super77.call(this);_defineProperty(_assertThisInitialized(_this107),"listSize",void 0);_defineProperty(_assertThisInitialized(_this107),"children",void 0);_this107.listSize=listSize;_this107.children=[child];return _this107;}_createClass(FixedSizeList,[{key:"typeId",get:function get(){return Type.FixedSizeList;}},{key:"valueType",get:function get(){return this.children[0].type;}},{key:"valueField",get:function get(){return this.children[0];}},{key:_Symbol$toStringTag5,get:function get(){return'FixedSizeList';}},{key:"toString",value:function toString(){return"FixedSizeList[".concat(this.listSize,"]<").concat(this.valueType,">");}}]);return FixedSizeList;}(DataType,_Symbol$toStringTag7);function getArrowTypeFromTypedArray(array){switch(array.constructor){case Int8Array:return new Int8();case Uint8Array:return new Uint8();case Int16Array:return new Int16();case Uint16Array:return new Uint16();case Int32Array:return new Int32();case Uint32Array:return new Uint32();case Float32Array:return new Float32();case Float64Array:return new Float64();default:throw new Error('array type not supported');}}function deduceMeshField(attributeName,attribute,optionalMetadata){var type=getArrowTypeFromTypedArray(attribute.value);var metadata=optionalMetadata?optionalMetadata:makeMeshAttributeMetadata(attribute);var field=new Field(attributeName,new FixedSizeList(attribute.size,new Field('value',type)),false,metadata);return field;}function makeMeshAttributeMetadata(attribute){var result=new Map();if('byteOffset'in attribute){result.set('byteOffset',attribute.byteOffset.toString(10));}if('byteStride'in attribute){result.set('byteStride',attribute.byteStride.toString(10));}if('normalized'in attribute){result.set('normalized',attribute.normalized.toString());}return result;}function getDracoSchema(attributes,loaderData,indices){var metadataMap=makeMetadata(loaderData.metadata);var fields=[];var namedLoaderDataAttributes=transformAttributesLoaderData(loaderData.attributes);for(var attributeName in attributes){var attribute=attributes[attributeName];var field=getArrowFieldFromAttribute(attributeName,attribute,namedLoaderDataAttributes[attributeName]);fields.push(field);}if(indices){var indicesField=getArrowFieldFromAttribute('indices',indices);fields.push(indicesField);}return new Schema(fields,metadataMap);}function transformAttributesLoaderData(loaderData){var result={};for(var key in loaderData){var dracoAttribute=loaderData[key];result[dracoAttribute.name||'undefined']=dracoAttribute;}return result;}function getArrowFieldFromAttribute(attributeName,attribute,loaderData){var metadataMap=loaderData?makeMetadata(loaderData.metadata):undefined;var field=deduceMeshField(attributeName,attribute,metadataMap);return field;}function makeMetadata(metadata){var metadataMap=new Map();for(var key in metadata){metadataMap.set("".concat(key,".string"),JSON.stringify(metadata[key]));}return metadataMap;}var DRACO_TO_GLTF_ATTRIBUTE_NAME_MAP={POSITION:'POSITION',NORMAL:'NORMAL',COLOR:'COLOR_0',TEX_COORD:'TEXCOORD_0'};var DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP={1:Int8Array,2:Uint8Array,3:Int16Array,4:Uint16Array,5:Int32Array,6:Uint32Array,9:Float32Array};var INDEX_ITEM_SIZE=4;var DracoParser=/*#__PURE__*/function(){function DracoParser(draco){_classCallCheck(this,DracoParser);_defineProperty(this,"draco",void 0);_defineProperty(this,"decoder",void 0);_defineProperty(this,"metadataQuerier",void 0);this.draco=draco;this.decoder=new this.draco.Decoder();this.metadataQuerier=new this.draco.MetadataQuerier();}_createClass(DracoParser,[{key:"destroy",value:function destroy(){this.draco.destroy(this.decoder);this.draco.destroy(this.metadataQuerier);}},{key:"parseSync",value:function parseSync(arrayBuffer){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var buffer=new this.draco.DecoderBuffer();buffer.Init(new Int8Array(arrayBuffer),arrayBuffer.byteLength);this._disableAttributeTransforms(options);var geometry_type=this.decoder.GetEncodedGeometryType(buffer);var dracoGeometry=geometry_type===this.draco.TRIANGULAR_MESH?new this.draco.Mesh():new this.draco.PointCloud();try{var dracoStatus;switch(geometry_type){case this.draco.TRIANGULAR_MESH:dracoStatus=this.decoder.DecodeBufferToMesh(buffer,dracoGeometry);break;case this.draco.POINT_CLOUD:dracoStatus=this.decoder.DecodeBufferToPointCloud(buffer,dracoGeometry);break;default:throw new Error('DRACO: Unknown geometry type.');}if(!dracoStatus.ok()||!dracoGeometry.ptr){var message="DRACO decompression failed: ".concat(dracoStatus.error_msg());throw new Error(message);}var loaderData=this._getDracoLoaderData(dracoGeometry,geometry_type,options);var _geometry2=this._getMeshData(dracoGeometry,loaderData,options);var boundingBox=getMeshBoundingBox(_geometry2.attributes);var schema=getDracoSchema(_geometry2.attributes,loaderData,_geometry2.indices);var data=_objectSpread(_objectSpread({loader:'draco',loaderData:loaderData,header:{vertexCount:dracoGeometry.num_points(),boundingBox:boundingBox}},_geometry2),{},{schema:schema});return data;}finally{this.draco.destroy(buffer);if(dracoGeometry){this.draco.destroy(dracoGeometry);}}}},{key:"_getDracoLoaderData",value:function _getDracoLoaderData(dracoGeometry,geometry_type,options){var metadata=this._getTopLevelMetadata(dracoGeometry);var attributes=this._getDracoAttributes(dracoGeometry,options);return{geometry_type:geometry_type,num_attributes:dracoGeometry.num_attributes(),num_points:dracoGeometry.num_points(),num_faces:dracoGeometry instanceof this.draco.Mesh?dracoGeometry.num_faces():0,metadata:metadata,attributes:attributes};}},{key:"_getDracoAttributes",value:function _getDracoAttributes(dracoGeometry,options){var dracoAttributes={};for(var attributeId=0;attributeId<dracoGeometry.num_attributes();attributeId++){var dracoAttribute=this.decoder.GetAttribute(dracoGeometry,attributeId);var metadata=this._getAttributeMetadata(dracoGeometry,attributeId);dracoAttributes[dracoAttribute.unique_id()]={unique_id:dracoAttribute.unique_id(),attribute_type:dracoAttribute.attribute_type(),data_type:dracoAttribute.data_type(),num_components:dracoAttribute.num_components(),byte_offset:dracoAttribute.byte_offset(),byte_stride:dracoAttribute.byte_stride(),normalized:dracoAttribute.normalized(),attribute_index:attributeId,metadata:metadata};var quantization=this._getQuantizationTransform(dracoAttribute,options);if(quantization){dracoAttributes[dracoAttribute.unique_id()].quantization_transform=quantization;}var octahedron=this._getOctahedronTransform(dracoAttribute,options);if(octahedron){dracoAttributes[dracoAttribute.unique_id()].octahedron_transform=octahedron;}}return dracoAttributes;}},{key:"_getMeshData",value:function _getMeshData(dracoGeometry,loaderData,options){var attributes=this._getMeshAttributes(loaderData,dracoGeometry,options);var positionAttribute=attributes.POSITION;if(!positionAttribute){throw new Error('DRACO: No position attribute found.');}if(dracoGeometry instanceof this.draco.Mesh){switch(options.topology){case'triangle-strip':return{topology:'triangle-strip',mode:4,attributes:attributes,indices:{value:this._getTriangleStripIndices(dracoGeometry),size:1}};case'triangle-list':default:return{topology:'triangle-list',mode:5,attributes:attributes,indices:{value:this._getTriangleListIndices(dracoGeometry),size:1}};}}return{topology:'point-list',mode:0,attributes:attributes};}},{key:"_getMeshAttributes",value:function _getMeshAttributes(loaderData,dracoGeometry,options){var attributes={};for(var _i551=0,_Object$values=Object.values(loaderData.attributes);_i551<_Object$values.length;_i551++){var loaderAttribute=_Object$values[_i551];var attributeName=this._deduceAttributeName(loaderAttribute,options);loaderAttribute.name=attributeName;var _this$_getAttributeVa=this._getAttributeValues(dracoGeometry,loaderAttribute),value=_this$_getAttributeVa.value,size=_this$_getAttributeVa.size;attributes[attributeName]={value:value,size:size,byteOffset:loaderAttribute.byte_offset,byteStride:loaderAttribute.byte_stride,normalized:loaderAttribute.normalized};}return attributes;}},{key:"_getTriangleListIndices",value:function _getTriangleListIndices(dracoGeometry){var numFaces=dracoGeometry.num_faces();var numIndices=numFaces*3;var byteLength=numIndices*INDEX_ITEM_SIZE;var ptr=this.draco._malloc(byteLength);try{this.decoder.GetTrianglesUInt32Array(dracoGeometry,byteLength,ptr);return new Uint32Array(this.draco.HEAPF32.buffer,ptr,numIndices).slice();}finally{this.draco._free(ptr);}}},{key:"_getTriangleStripIndices",value:function _getTriangleStripIndices(dracoGeometry){var dracoArray=new this.draco.DracoInt32Array();try{this.decoder.GetTriangleStripsFromMesh(dracoGeometry,dracoArray);return getUint32Array(dracoArray);}finally{this.draco.destroy(dracoArray);}}},{key:"_getAttributeValues",value:function _getAttributeValues(dracoGeometry,attribute){var TypedArrayCtor=DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP[attribute.data_type];var numComponents=attribute.num_components;var numPoints=dracoGeometry.num_points();var numValues=numPoints*numComponents;var byteLength=numValues*TypedArrayCtor.BYTES_PER_ELEMENT;var dataType=getDracoDataType(this.draco,TypedArrayCtor);var value;var ptr=this.draco._malloc(byteLength);try{var dracoAttribute=this.decoder.GetAttribute(dracoGeometry,attribute.attribute_index);this.decoder.GetAttributeDataArrayForAllPoints(dracoGeometry,dracoAttribute,dataType,byteLength,ptr);value=new TypedArrayCtor(this.draco.HEAPF32.buffer,ptr,numValues).slice();}finally{this.draco._free(ptr);}return{value:value,size:numComponents};}},{key:"_deduceAttributeName",value:function _deduceAttributeName(attribute,options){var uniqueId=attribute.unique_id;for(var _i552=0,_Object$entries3=Object.entries(options.extraAttributes||{});_i552<_Object$entries3.length;_i552++){var _Object$entries3$_i=_slicedToArray(_Object$entries3[_i552],2),attributeName=_Object$entries3$_i[0],attributeUniqueId=_Object$entries3$_i[1];if(attributeUniqueId===uniqueId){return attributeName;}}var thisAttributeType=attribute.attribute_type;for(var dracoAttributeConstant in DRACO_TO_GLTF_ATTRIBUTE_NAME_MAP){var attributeType=this.draco[dracoAttributeConstant];if(attributeType===thisAttributeType){return DRACO_TO_GLTF_ATTRIBUTE_NAME_MAP[dracoAttributeConstant];}}var entryName=options.attributeNameEntry||'name';if(attribute.metadata[entryName]){return attribute.metadata[entryName].string;}return"CUSTOM_ATTRIBUTE_".concat(uniqueId);}},{key:"_getTopLevelMetadata",value:function _getTopLevelMetadata(dracoGeometry){var dracoMetadata=this.decoder.GetMetadata(dracoGeometry);return this._getDracoMetadata(dracoMetadata);}},{key:"_getAttributeMetadata",value:function _getAttributeMetadata(dracoGeometry,attributeId){var dracoMetadata=this.decoder.GetAttributeMetadata(dracoGeometry,attributeId);return this._getDracoMetadata(dracoMetadata);}},{key:"_getDracoMetadata",value:function _getDracoMetadata(dracoMetadata){if(!dracoMetadata||!dracoMetadata.ptr){return{};}var result={};var numEntries=this.metadataQuerier.NumEntries(dracoMetadata);for(var entryIndex=0;entryIndex<numEntries;entryIndex++){var entryName=this.metadataQuerier.GetEntryName(dracoMetadata,entryIndex);result[entryName]=this._getDracoMetadataField(dracoMetadata,entryName);}return result;}},{key:"_getDracoMetadataField",value:function _getDracoMetadataField(dracoMetadata,entryName){var dracoArray=new this.draco.DracoInt32Array();try{this.metadataQuerier.GetIntEntryArray(dracoMetadata,entryName,dracoArray);var intArray=getInt32Array(dracoArray);return{"int":this.metadataQuerier.GetIntEntry(dracoMetadata,entryName),string:this.metadataQuerier.GetStringEntry(dracoMetadata,entryName),"double":this.metadataQuerier.GetDoubleEntry(dracoMetadata,entryName),intArray:intArray};}finally{this.draco.destroy(dracoArray);}}},{key:"_disableAttributeTransforms",value:function _disableAttributeTransforms(options){var _options$quantizedAtt=options.quantizedAttributes,quantizedAttributes=_options$quantizedAtt===void 0?[]:_options$quantizedAtt,_options$octahedronAt=options.octahedronAttributes,octahedronAttributes=_options$octahedronAt===void 0?[]:_options$octahedronAt;var skipAttributes=[].concat(_toConsumableArray(quantizedAttributes),_toConsumableArray(octahedronAttributes));var _iterator23=_createForOfIteratorHelper(skipAttributes),_step23;try{for(_iterator23.s();!(_step23=_iterator23.n()).done;){var dracoAttributeName=_step23.value;this.decoder.SkipAttributeTransform(this.draco[dracoAttributeName]);}}catch(err){_iterator23.e(err);}finally{_iterator23.f();}}},{key:"_getQuantizationTransform",value:function _getQuantizationTransform(dracoAttribute,options){var _this108=this;var _options$quantizedAtt2=options.quantizedAttributes,quantizedAttributes=_options$quantizedAtt2===void 0?[]:_options$quantizedAtt2;var attribute_type=dracoAttribute.attribute_type();var skip=quantizedAttributes.map(function(type){return _this108.decoder[type];}).includes(attribute_type);if(skip){var transform=new this.draco.AttributeQuantizationTransform();try{if(transform.InitFromAttribute(dracoAttribute)){return{quantization_bits:transform.quantization_bits(),range:transform.range(),min_values:new Float32Array([1,2,3]).map(function(i){return transform.min_value(i);})};}}finally{this.draco.destroy(transform);}}return null;}},{key:"_getOctahedronTransform",value:function _getOctahedronTransform(dracoAttribute,options){var _this109=this;var _options$octahedronAt2=options.octahedronAttributes,octahedronAttributes=_options$octahedronAt2===void 0?[]:_options$octahedronAt2;var attribute_type=dracoAttribute.attribute_type();var octahedron=octahedronAttributes.map(function(type){return _this109.decoder[type];}).includes(attribute_type);if(octahedron){var transform=new this.draco.AttributeQuantizationTransform();try{if(transform.InitFromAttribute(dracoAttribute)){return{quantization_bits:transform.quantization_bits()};}}finally{this.draco.destroy(transform);}}return null;}}]);return DracoParser;}();function getDracoDataType(draco,attributeType){switch(attributeType){case Float32Array:return draco.DT_FLOAT32;case Int8Array:return draco.DT_INT8;case Int16Array:return draco.DT_INT16;case Int32Array:return draco.DT_INT32;case Uint8Array:return draco.DT_UINT8;case Uint16Array:return draco.DT_UINT16;case Uint32Array:return draco.DT_UINT32;default:return draco.DT_INVALID;}}function getInt32Array(dracoArray){var numValues=dracoArray.size();var intArray=new Int32Array(numValues);for(var _i553=0;_i553<numValues;_i553++){intArray[_i553]=dracoArray.GetValue(_i553);}return intArray;}function getUint32Array(dracoArray){var numValues=dracoArray.size();var intArray=new Int32Array(numValues);for(var _i554=0;_i554<numValues;_i554++){intArray[_i554]=dracoArray.GetValue(_i554);}return intArray;}var DRACO_VERSION='1.4.1';var DRACO_JS_DECODER_URL="https://www.gstatic.com/draco/versioned/decoders/".concat(DRACO_VERSION,"/draco_decoder.js");var DRACO_WASM_WRAPPER_URL="https://www.gstatic.com/draco/versioned/decoders/".concat(DRACO_VERSION,"/draco_wasm_wrapper.js");var DRACO_WASM_DECODER_URL="https://www.gstatic.com/draco/versioned/decoders/".concat(DRACO_VERSION,"/draco_decoder.wasm");var loadDecoderPromise;function loadDracoDecoderModule(_x68){return _loadDracoDecoderModule.apply(this,arguments);}function _loadDracoDecoderModule(){_loadDracoDecoderModule=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee51(options){var modules;return _regeneratorRuntime().wrap(function _callee51$(_context54){while(1){switch(_context54.prev=_context54.next){case 0:modules=options.modules||{};if(modules.draco3d){loadDecoderPromise=loadDecoderPromise||modules.draco3d.createDecoderModule({}).then(function(draco){return{draco:draco};});}else{loadDecoderPromise=loadDecoderPromise||loadDracoDecoder(options);}_context54.next=4;return loadDecoderPromise;case 4:return _context54.abrupt("return",_context54.sent);case 5:case"end":return _context54.stop();}}},_callee51);}));return _loadDracoDecoderModule.apply(this,arguments);}function loadDracoDecoder(_x69){return _loadDracoDecoder.apply(this,arguments);}function _loadDracoDecoder(){_loadDracoDecoder=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee52(options){var DracoDecoderModule,wasmBinary,_yield$Promise$all5,_yield$Promise$all6;return _regeneratorRuntime().wrap(function _callee52$(_context55){while(1){switch(_context55.prev=_context55.next){case 0:_context55.t0=options.draco&&options.draco.decoderType;_context55.next=_context55.t0==='js'?3:_context55.t0==='wasm'?7:7;break;case 3:_context55.next=5;return loadLibrary(DRACO_JS_DECODER_URL,'draco',options);case 5:DracoDecoderModule=_context55.sent;return _context55.abrupt("break",21);case 7:_context55.t1=Promise;_context55.next=10;return loadLibrary(DRACO_WASM_WRAPPER_URL,'draco',options);case 10:_context55.t2=_context55.sent;_context55.next=13;return loadLibrary(DRACO_WASM_DECODER_URL,'draco',options);case 13:_context55.t3=_context55.sent;_context55.t4=[_context55.t2,_context55.t3];_context55.next=17;return _context55.t1.all.call(_context55.t1,_context55.t4);case 17:_yield$Promise$all5=_context55.sent;_yield$Promise$all6=_slicedToArray(_yield$Promise$all5,2);DracoDecoderModule=_yield$Promise$all6[0];wasmBinary=_yield$Promise$all6[1];case 21:DracoDecoderModule=DracoDecoderModule||globalThis.DracoDecoderModule;_context55.next=24;return initializeDracoDecoder(DracoDecoderModule,wasmBinary);case 24:return _context55.abrupt("return",_context55.sent);case 25:case"end":return _context55.stop();}}},_callee52);}));return _loadDracoDecoder.apply(this,arguments);}function initializeDracoDecoder(DracoDecoderModule,wasmBinary){var options={};if(wasmBinary){options.wasmBinary=wasmBinary;}return new Promise(function(resolve){DracoDecoderModule(_objectSpread(_objectSpread({},options),{},{onModuleLoaded:function onModuleLoaded(draco){return resolve({draco:draco});}}));});}({id:isBrowser$3?'draco-writer':'draco-writer-nodejs',name:'Draco compressed geometry writer',module:'draco',version:VERSION$1,worker:true,options:{draco:{},source:null}});var DracoLoader=_objectSpread(_objectSpread({},DracoLoader$1),{},{parse:parse$2});function parse$2(_x70,_x71){return _parse$2.apply(this,arguments);}function _parse$2(){_parse$2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee53(arrayBuffer,options){var _yield$loadDracoDecod,draco,dracoParser;return _regeneratorRuntime().wrap(function _callee53$(_context56){while(1){switch(_context56.prev=_context56.next){case 0:_context56.next=2;return loadDracoDecoderModule(options);case 2:_yield$loadDracoDecod=_context56.sent;draco=_yield$loadDracoDecod.draco;dracoParser=new DracoParser(draco);_context56.prev=5;return _context56.abrupt("return",dracoParser.parseSync(arrayBuffer,options===null||options===void 0?void 0:options.draco));case 7:_context56.prev=7;dracoParser.destroy();return _context56.finish(7);case 10:case"end":return _context56.stop();}}},_callee53,null,[[5,,7,10]]);}));return _parse$2.apply(this,arguments);}function getGLTFAccessors(attributes){var accessors={};for(var _name8 in attributes){var attribute=attributes[_name8];if(_name8!=='indices'){var glTFAccessor=getGLTFAccessor(attribute);accessors[_name8]=glTFAccessor;}}return accessors;}function getGLTFAccessor(attribute){var _getAccessorData=getAccessorData(attribute),buffer=_getAccessorData.buffer,size=_getAccessorData.size,count=_getAccessorData.count;var glTFAccessor={value:buffer,size:size,byteOffset:0,count:count,type:getAccessorTypeFromSize(size),componentType:getComponentTypeFromArray(buffer)};return glTFAccessor;}function getAccessorData(attribute){var buffer=attribute;var size=1;var count=0;if(attribute&&attribute.value){buffer=attribute.value;size=attribute.size||1;}if(buffer){if(!ArrayBuffer.isView(buffer)){buffer=toTypedArray(buffer,Float32Array);}count=buffer.length/size;}return{buffer:buffer,size:size,count:count};}function toTypedArray(array,ArrayType){var convertTypedArrays=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(!array){return null;}if(Array.isArray(array)){return new ArrayType(array);}if(convertTypedArrays&&!(array instanceof ArrayType)){return new ArrayType(array);}return array;}var KHR_DRACO_MESH_COMPRESSION='KHR_draco_mesh_compression';var name$3=KHR_DRACO_MESH_COMPRESSION;function preprocess$1(gltfData,options,context){var scenegraph=new GLTFScenegraph(gltfData);var _iterator24=_createForOfIteratorHelper(makeMeshPrimitiveIterator(scenegraph)),_step24;try{for(_iterator24.s();!(_step24=_iterator24.n()).done;){var primitive=_step24.value;if(scenegraph.getObjectExtension(primitive,KHR_DRACO_MESH_COMPRESSION));}}catch(err){_iterator24.e(err);}finally{_iterator24.f();}}function decode$3(_x72,_x73,_x74){return _decode$2.apply(this,arguments);}function _decode$2(){_decode$2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee54(gltfData,options,context){var _options$gltf,scenegraph,promises,_iterator42,_step42,primitive;return _regeneratorRuntime().wrap(function _callee54$(_context57){while(1){switch(_context57.prev=_context57.next){case 0:if(options!==null&&options!==void 0&&(_options$gltf=options.gltf)!==null&&_options$gltf!==void 0&&_options$gltf.decompressMeshes){_context57.next=2;break;}return _context57.abrupt("return");case 2:scenegraph=new GLTFScenegraph(gltfData);promises=[];_iterator42=_createForOfIteratorHelper(makeMeshPrimitiveIterator(scenegraph));try{for(_iterator42.s();!(_step42=_iterator42.n()).done;){primitive=_step42.value;if(scenegraph.getObjectExtension(primitive,KHR_DRACO_MESH_COMPRESSION)){promises.push(decompressPrimitive(scenegraph,primitive,options,context));}}}catch(err){_iterator42.e(err);}finally{_iterator42.f();}_context57.next=8;return Promise.all(promises);case 8:scenegraph.removeExtension(KHR_DRACO_MESH_COMPRESSION);case 9:case"end":return _context57.stop();}}},_callee54);}));return _decode$2.apply(this,arguments);}function encode$3(gltfData){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var scenegraph=new GLTFScenegraph(gltfData);var _iterator25=_createForOfIteratorHelper(scenegraph.json.meshes||[]),_step25;try{for(_iterator25.s();!(_step25=_iterator25.n()).done;){var _mesh6=_step25.value;compressMesh(_mesh6);scenegraph.addRequiredExtension(KHR_DRACO_MESH_COMPRESSION);}}catch(err){_iterator25.e(err);}finally{_iterator25.f();}}function decompressPrimitive(_x75,_x76,_x77,_x78){return _decompressPrimitive.apply(this,arguments);}function _decompressPrimitive(){_decompressPrimitive=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee55(scenegraph,primitive,options,context){var dracoExtension,buffer,bufferCopy,parse,dracoOptions,decodedData,decodedAttributes,_i637,_Object$entries4,_Object$entries4$_i,attributeName,decodedAttribute,accessorIndex,accessor;return _regeneratorRuntime().wrap(function _callee55$(_context58){while(1){switch(_context58.prev=_context58.next){case 0:dracoExtension=scenegraph.getObjectExtension(primitive,KHR_DRACO_MESH_COMPRESSION);if(dracoExtension){_context58.next=3;break;}return _context58.abrupt("return");case 3:buffer=scenegraph.getTypedArrayForBufferView(dracoExtension.bufferView);bufferCopy=sliceArrayBuffer(buffer.buffer,buffer.byteOffset);parse=context.parse;dracoOptions=_objectSpread({},options);delete dracoOptions['3d-tiles'];_context58.next=10;return parse(bufferCopy,DracoLoader,dracoOptions,context);case 10:decodedData=_context58.sent;decodedAttributes=getGLTFAccessors(decodedData.attributes);for(_i637=0,_Object$entries4=Object.entries(decodedAttributes);_i637<_Object$entries4.length;_i637++){_Object$entries4$_i=_slicedToArray(_Object$entries4[_i637],2),attributeName=_Object$entries4$_i[0],decodedAttribute=_Object$entries4$_i[1];if(attributeName in primitive.attributes){accessorIndex=primitive.attributes[attributeName];accessor=scenegraph.getAccessor(accessorIndex);if(accessor!==null&&accessor!==void 0&&accessor.min&&accessor!==null&&accessor!==void 0&&accessor.max){decodedAttribute.min=accessor.min;decodedAttribute.max=accessor.max;}}}primitive.attributes=decodedAttributes;if(decodedData.indices){primitive.indices=getGLTFAccessor(decodedData.indices);}checkPrimitive(primitive);case 16:case"end":return _context58.stop();}}},_callee55);}));return _decompressPrimitive.apply(this,arguments);}function compressMesh(attributes,indices){var mode=arguments.length>2&&arguments[2]!==undefined?arguments[2]:4;var options=arguments.length>3?arguments[3]:undefined;var context=arguments.length>4?arguments[4]:undefined;var _context$parseSync;if(!options.DracoWriter){throw new Error('options.gltf.DracoWriter not provided');}var compressedData=options.DracoWriter.encodeSync({attributes:attributes});var decodedData=context===null||context===void 0?void 0:(_context$parseSync=context.parseSync)===null||_context$parseSync===void 0?void 0:_context$parseSync.call(context,{attributes:attributes});var fauxAccessors=options._addFauxAttributes(decodedData.attributes);var bufferViewIndex=options.addBufferView(compressedData);var glTFMesh={primitives:[{attributes:fauxAccessors,mode:mode,extensions:_defineProperty2({},KHR_DRACO_MESH_COMPRESSION,{bufferView:bufferViewIndex,attributes:fauxAccessors})}]};return glTFMesh;}function checkPrimitive(primitive){if(!primitive.attributes&&Object.keys(primitive.attributes).length>0){throw new Error('glTF: Empty primitive detected: Draco decompression failure?');}}function makeMeshPrimitiveIterator(scenegraph){var _iterator26,_step26,_mesh7,_iterator27,_step27,primitive;return _regeneratorRuntime().wrap(function makeMeshPrimitiveIterator$(_context8){while(1){switch(_context8.prev=_context8.next){case 0:_iterator26=_createForOfIteratorHelper(scenegraph.json.meshes||[]);_context8.prev=1;_iterator26.s();case 3:if((_step26=_iterator26.n()).done){_context8.next=24;break;}_mesh7=_step26.value;_iterator27=_createForOfIteratorHelper(_mesh7.primitives);_context8.prev=6;_iterator27.s();case 8:if((_step27=_iterator27.n()).done){_context8.next=14;break;}primitive=_step27.value;_context8.next=12;return primitive;case 12:_context8.next=8;break;case 14:_context8.next=19;break;case 16:_context8.prev=16;_context8.t0=_context8["catch"](6);_iterator27.e(_context8.t0);case 19:_context8.prev=19;_iterator27.f();return _context8.finish(19);case 22:_context8.next=3;break;case 24:_context8.next=29;break;case 26:_context8.prev=26;_context8.t1=_context8["catch"](1);_iterator26.e(_context8.t1);case 29:_context8.prev=29;_iterator26.f();return _context8.finish(29);case 32:case"end":return _context8.stop();}}},_marked3,null,[[1,26,29,32],[6,16,19,22]]);}var KHR_draco_mesh_compression=/*#__PURE__*/Object.freeze({__proto__:null,name:name$3,preprocess:preprocess$1,decode:decode$3,encode:encode$3});var KHR_LIGHTS_PUNCTUAL='KHR_lights_punctual';var name$2=KHR_LIGHTS_PUNCTUAL;function decode$2(_x79){return _decode$3.apply(this,arguments);}function _decode$3(){_decode$3=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee56(gltfData){var gltfScenegraph,json,extension,_iterator43,_step43,_node20,nodeExtension;return _regeneratorRuntime().wrap(function _callee56$(_context59){while(1){switch(_context59.prev=_context59.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;extension=gltfScenegraph.getExtension(KHR_LIGHTS_PUNCTUAL);if(extension){gltfScenegraph.json.lights=extension.lights;gltfScenegraph.removeExtension(KHR_LIGHTS_PUNCTUAL);}_iterator43=_createForOfIteratorHelper(json.nodes||[]);try{for(_iterator43.s();!(_step43=_iterator43.n()).done;){_node20=_step43.value;nodeExtension=gltfScenegraph.getObjectExtension(_node20,KHR_LIGHTS_PUNCTUAL);if(nodeExtension){_node20.light=nodeExtension.light;}gltfScenegraph.removeObjectExtension(_node20,KHR_LIGHTS_PUNCTUAL);}}catch(err){_iterator43.e(err);}finally{_iterator43.f();}case 6:case"end":return _context59.stop();}}},_callee56);}));return _decode$3.apply(this,arguments);}function encode$2(_x80){return _encode$.apply(this,arguments);}function _encode$(){_encode$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee57(gltfData){var gltfScenegraph,json,extension,_iterator44,_step44,light,_node21;return _regeneratorRuntime().wrap(function _callee57$(_context60){while(1){switch(_context60.prev=_context60.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;if(json.lights){extension=gltfScenegraph.addExtension(KHR_LIGHTS_PUNCTUAL);assert$1(!extension.lights);extension.lights=json.lights;delete json.lights;}if(gltfScenegraph.json.lights){_iterator44=_createForOfIteratorHelper(gltfScenegraph.json.lights);try{for(_iterator44.s();!(_step44=_iterator44.n()).done;){light=_step44.value;_node21=light.node;gltfScenegraph.addObjectExtension(_node21,KHR_LIGHTS_PUNCTUAL,light);}}catch(err){_iterator44.e(err);}finally{_iterator44.f();}delete gltfScenegraph.json.lights;}case 4:case"end":return _context60.stop();}}},_callee57);}));return _encode$.apply(this,arguments);}var KHR_lights_punctual=/*#__PURE__*/Object.freeze({__proto__:null,name:name$2,decode:decode$2,encode:encode$2});var KHR_MATERIALS_UNLIT='KHR_materials_unlit';var name$1=KHR_MATERIALS_UNLIT;function decode$1(_x81){return _decode$4.apply(this,arguments);}function _decode$4(){_decode$4=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee58(gltfData){var gltfScenegraph,json,_iterator45,_step45,material,extension;return _regeneratorRuntime().wrap(function _callee58$(_context61){while(1){switch(_context61.prev=_context61.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;gltfScenegraph.removeExtension(KHR_MATERIALS_UNLIT);_iterator45=_createForOfIteratorHelper(json.materials||[]);try{for(_iterator45.s();!(_step45=_iterator45.n()).done;){material=_step45.value;extension=material.extensions&&material.extensions.KHR_materials_unlit;if(extension){material.unlit=true;}gltfScenegraph.removeObjectExtension(material,KHR_MATERIALS_UNLIT);}}catch(err){_iterator45.e(err);}finally{_iterator45.f();}case 5:case"end":return _context61.stop();}}},_callee58);}));return _decode$4.apply(this,arguments);}function encode$1(gltfData){var gltfScenegraph=new GLTFScenegraph(gltfData);var json=gltfScenegraph.json;if(gltfScenegraph.materials){var _iterator28=_createForOfIteratorHelper(json.materials||[]),_step28;try{for(_iterator28.s();!(_step28=_iterator28.n()).done;){var material=_step28.value;if(material.unlit){delete material.unlit;gltfScenegraph.addObjectExtension(material,KHR_MATERIALS_UNLIT,{});gltfScenegraph.addExtension(KHR_MATERIALS_UNLIT);}}}catch(err){_iterator28.e(err);}finally{_iterator28.f();}}}var KHR_materials_unlit=/*#__PURE__*/Object.freeze({__proto__:null,name:name$1,decode:decode$1,encode:encode$1});var KHR_TECHNIQUES_WEBGL='KHR_techniques_webgl';var name=KHR_TECHNIQUES_WEBGL;function decode(_x82){return _decode.apply(this,arguments);}function _decode(){_decode=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee59(gltfData){var gltfScenegraph,json,extension,techniques,_iterator46,_step46,material,materialExtension;return _regeneratorRuntime().wrap(function _callee59$(_context62){while(1){switch(_context62.prev=_context62.next){case 0:gltfScenegraph=new GLTFScenegraph(gltfData);json=gltfScenegraph.json;extension=gltfScenegraph.getExtension(KHR_TECHNIQUES_WEBGL);if(extension){techniques=resolveTechniques(extension,gltfScenegraph);_iterator46=_createForOfIteratorHelper(json.materials||[]);try{for(_iterator46.s();!(_step46=_iterator46.n()).done;){material=_step46.value;materialExtension=gltfScenegraph.getObjectExtension(material,KHR_TECHNIQUES_WEBGL);if(materialExtension){material.technique=Object.assign({},materialExtension,techniques[materialExtension.technique]);material.technique.values=resolveValues(material.technique,gltfScenegraph);}gltfScenegraph.removeObjectExtension(material,KHR_TECHNIQUES_WEBGL);}}catch(err){_iterator46.e(err);}finally{_iterator46.f();}gltfScenegraph.removeExtension(KHR_TECHNIQUES_WEBGL);}case 4:case"end":return _context62.stop();}}},_callee59);}));return _decode.apply(this,arguments);}function encode(_x83,_x84){return _encode.apply(this,arguments);}function _encode(){_encode=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee60(gltfData,options){return _regeneratorRuntime().wrap(function _callee60$(_context63){while(1){switch(_context63.prev=_context63.next){case 0:case"end":return _context63.stop();}}},_callee60);}));return _encode.apply(this,arguments);}function resolveTechniques(techniquesExtension,gltfScenegraph){var _techniquesExtension$=techniquesExtension.programs,programs=_techniquesExtension$===void 0?[]:_techniquesExtension$,_techniquesExtension$2=techniquesExtension.shaders,shaders=_techniquesExtension$2===void 0?[]:_techniquesExtension$2,_techniquesExtension$3=techniquesExtension.techniques,techniques=_techniquesExtension$3===void 0?[]:_techniquesExtension$3;var textDecoder=new TextDecoder();shaders.forEach(function(shader){if(Number.isFinite(shader.bufferView)){shader.code=textDecoder.decode(gltfScenegraph.getTypedArrayForBufferView(shader.bufferView));}else{throw new Error('KHR_techniques_webgl: no shader code');}});programs.forEach(function(program){program.fragmentShader=shaders[program.fragmentShader];program.vertexShader=shaders[program.vertexShader];});techniques.forEach(function(technique){technique.program=programs[technique.program];});return techniques;}function resolveValues(technique,gltfScenegraph){var values=Object.assign({},technique.values);Object.keys(technique.uniforms||{}).forEach(function(uniform){if(technique.uniforms[uniform].value&&!(uniform in values)){values[uniform]=technique.uniforms[uniform].value;}});Object.keys(values).forEach(function(uniform){if(_typeof(values[uniform])==='object'&&values[uniform].index!==undefined){values[uniform].texture=gltfScenegraph.getTexture(values[uniform].index);}});return values;}var KHR_techniques_webgl=/*#__PURE__*/Object.freeze({__proto__:null,name:name,decode:decode,encode:encode});var EXTENSIONS=[EXT_meshopt_compression,EXT_texture_webp,KHR_texture_basisu,KHR_draco_mesh_compression,KHR_lights_punctual,KHR_materials_unlit,KHR_techniques_webgl];function preprocessExtensions(gltf){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var context=arguments.length>2?arguments[2]:undefined;var extensions=EXTENSIONS.filter(function(extension){return useExtension(extension.name,options);});var _iterator29=_createForOfIteratorHelper(extensions),_step29;try{for(_iterator29.s();!(_step29=_iterator29.n()).done;){var extension=_step29.value;var _extension$preprocess;(_extension$preprocess=extension.preprocess)===null||_extension$preprocess===void 0?void 0:_extension$preprocess.call(extension,gltf,options,context);}}catch(err){_iterator29.e(err);}finally{_iterator29.f();}}function decodeExtensions(_x85){return _decodeExtensions.apply(this,arguments);}function _decodeExtensions(){_decodeExtensions=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee61(gltf){var options,context,extensions,_iterator47,_step47,extension,_extension$decode,_args59=arguments;return _regeneratorRuntime().wrap(function _callee61$(_context64){while(1){switch(_context64.prev=_context64.next){case 0:options=_args59.length>1&&_args59[1]!==undefined?_args59[1]:{};context=_args59.length>2?_args59[2]:undefined;extensions=EXTENSIONS.filter(function(extension){return useExtension(extension.name,options);});_iterator47=_createForOfIteratorHelper(extensions);_context64.prev=4;_iterator47.s();case 6:if((_step47=_iterator47.n()).done){_context64.next=12;break;}extension=_step47.value;_context64.next=10;return(_extension$decode=extension.decode)===null||_extension$decode===void 0?void 0:_extension$decode.call(extension,gltf,options,context);case 10:_context64.next=6;break;case 12:_context64.next=17;break;case 14:_context64.prev=14;_context64.t0=_context64["catch"](4);_iterator47.e(_context64.t0);case 17:_context64.prev=17;_iterator47.f();return _context64.finish(17);case 20:case"end":return _context64.stop();}}},_callee61,null,[[4,14,17,20]]);}));return _decodeExtensions.apply(this,arguments);}function useExtension(extensionName,options){var _options$gltf;var excludes=(options===null||options===void 0?void 0:(_options$gltf=options.gltf)===null||_options$gltf===void 0?void 0:_options$gltf.excludeExtensions)||{};var exclude=extensionName in excludes&&!excludes[extensionName];return!exclude;}var KHR_BINARY_GLTF='KHR_binary_glTF';function preprocess(gltfData){var gltfScenegraph=new GLTFScenegraph(gltfData);var json=gltfScenegraph.json;var _iterator30=_createForOfIteratorHelper(json.images||[]),_step30;try{for(_iterator30.s();!(_step30=_iterator30.n()).done;){var _image7=_step30.value;var extension=gltfScenegraph.getObjectExtension(_image7,KHR_BINARY_GLTF);if(extension){Object.assign(_image7,extension);}gltfScenegraph.removeObjectExtension(_image7,KHR_BINARY_GLTF);}}catch(err){_iterator30.e(err);}finally{_iterator30.f();}if(json.buffers&&json.buffers[0]){delete json.buffers[0].uri;}gltfScenegraph.removeExtension(KHR_BINARY_GLTF);}var GLTF_ARRAYS={accessors:'accessor',animations:'animation',buffers:'buffer',bufferViews:'bufferView',images:'image',materials:'material',meshes:'mesh',nodes:'node',samplers:'sampler',scenes:'scene',skins:'skin',textures:'texture'};var GLTF_KEYS={accessor:'accessors',animations:'animation',buffer:'buffers',bufferView:'bufferViews',image:'images',material:'materials',mesh:'meshes',node:'nodes',sampler:'samplers',scene:'scenes',skin:'skins',texture:'textures'};var GLTFV1Normalizer=/*#__PURE__*/function(){function GLTFV1Normalizer(){_classCallCheck(this,GLTFV1Normalizer);_defineProperty(this,"idToIndexMap",{animations:{},accessors:{},buffers:{},bufferViews:{},images:{},materials:{},meshes:{},nodes:{},samplers:{},scenes:{},skins:{},textures:{}});_defineProperty(this,"json",void 0);}_createClass(GLTFV1Normalizer,[{key:"normalize",value:function normalize(gltf,options){this.json=gltf.json;var json=gltf.json;switch(json.asset&&json.asset.version){case'2.0':return;case undefined:case'1.0':break;default:console.warn("glTF: Unknown version ".concat(json.asset.version));return;}if(!options.normalize){throw new Error('glTF v1 is not supported.');}console.warn('Converting glTF v1 to glTF v2 format. This is experimental and may fail.');this._addAsset(json);this._convertTopLevelObjectsToArrays(json);preprocess(gltf);this._convertObjectIdsToArrayIndices(json);this._updateObjects(json);this._updateMaterial(json);}},{key:"_addAsset",value:function _addAsset(json){json.asset=json.asset||{};json.asset.version='2.0';json.asset.generator=json.asset.generator||'Normalized to glTF 2.0 by loaders.gl';}},{key:"_convertTopLevelObjectsToArrays",value:function _convertTopLevelObjectsToArrays(json){for(var arrayName in GLTF_ARRAYS){this._convertTopLevelObjectToArray(json,arrayName);}}},{key:"_convertTopLevelObjectToArray",value:function _convertTopLevelObjectToArray(json,mapName){var objectMap=json[mapName];if(!objectMap||Array.isArray(objectMap)){return;}json[mapName]=[];for(var id in objectMap){var object=objectMap[id];object.id=object.id||id;var index=json[mapName].length;json[mapName].push(object);this.idToIndexMap[mapName][id]=index;}}},{key:"_convertObjectIdsToArrayIndices",value:function _convertObjectIdsToArrayIndices(json){for(var arrayName in GLTF_ARRAYS){this._convertIdsToIndices(json,arrayName);}if('scene'in json){json.scene=this._convertIdToIndex(json.scene,'scene');}var _iterator31=_createForOfIteratorHelper(json.textures),_step31;try{for(_iterator31.s();!(_step31=_iterator31.n()).done;){var texture=_step31.value;this._convertTextureIds(texture);}}catch(err){_iterator31.e(err);}finally{_iterator31.f();}var _iterator32=_createForOfIteratorHelper(json.meshes),_step32;try{for(_iterator32.s();!(_step32=_iterator32.n()).done;){var _mesh8=_step32.value;this._convertMeshIds(_mesh8);}}catch(err){_iterator32.e(err);}finally{_iterator32.f();}var _iterator33=_createForOfIteratorHelper(json.nodes),_step33;try{for(_iterator33.s();!(_step33=_iterator33.n()).done;){var _node11=_step33.value;this._convertNodeIds(_node11);}}catch(err){_iterator33.e(err);}finally{_iterator33.f();}var _iterator34=_createForOfIteratorHelper(json.scenes),_step34;try{for(_iterator34.s();!(_step34=_iterator34.n()).done;){var _node12=_step34.value;this._convertSceneIds(_node12);}}catch(err){_iterator34.e(err);}finally{_iterator34.f();}}},{key:"_convertTextureIds",value:function _convertTextureIds(texture){if(texture.source){texture.source=this._convertIdToIndex(texture.source,'image');}}},{key:"_convertMeshIds",value:function _convertMeshIds(mesh){var _iterator35=_createForOfIteratorHelper(mesh.primitives),_step35;try{for(_iterator35.s();!(_step35=_iterator35.n()).done;){var primitive=_step35.value;var attributes=primitive.attributes,indices=primitive.indices,material=primitive.material;for(var attributeName in attributes){attributes[attributeName]=this._convertIdToIndex(attributes[attributeName],'accessor');}if(indices){primitive.indices=this._convertIdToIndex(indices,'accessor');}if(material){primitive.material=this._convertIdToIndex(material,'material');}}}catch(err){_iterator35.e(err);}finally{_iterator35.f();}}},{key:"_convertNodeIds",value:function _convertNodeIds(node){var _this110=this;if(node.children){node.children=node.children.map(function(child){return _this110._convertIdToIndex(child,'node');});}if(node.meshes){node.meshes=node.meshes.map(function(mesh){return _this110._convertIdToIndex(mesh,'mesh');});}}},{key:"_convertSceneIds",value:function _convertSceneIds(scene){var _this111=this;if(scene.nodes){scene.nodes=scene.nodes.map(function(node){return _this111._convertIdToIndex(node,'node');});}}},{key:"_convertIdsToIndices",value:function _convertIdsToIndices(json,topLevelArrayName){if(!json[topLevelArrayName]){console.warn("gltf v1: json doesn't contain attribute ".concat(topLevelArrayName));json[topLevelArrayName]=[];}var _iterator36=_createForOfIteratorHelper(json[topLevelArrayName]),_step36;try{for(_iterator36.s();!(_step36=_iterator36.n()).done;){var object=_step36.value;for(var key in object){var id=object[key];var index=this._convertIdToIndex(id,key);object[key]=index;}}}catch(err){_iterator36.e(err);}finally{_iterator36.f();}}},{key:"_convertIdToIndex",value:function _convertIdToIndex(id,key){var arrayName=GLTF_KEYS[key];if(arrayName in this.idToIndexMap){var index=this.idToIndexMap[arrayName][id];if(!Number.isFinite(index)){throw new Error("gltf v1: failed to resolve ".concat(key," with id ").concat(id));}return index;}return id;}},{key:"_updateObjects",value:function _updateObjects(json){var _iterator37=_createForOfIteratorHelper(this.json.buffers),_step37;try{for(_iterator37.s();!(_step37=_iterator37.n()).done;){var buffer=_step37.value;delete buffer.type;}}catch(err){_iterator37.e(err);}finally{_iterator37.f();}}},{key:"_updateMaterial",value:function _updateMaterial(json){var _iterator38=_createForOfIteratorHelper(json.materials),_step38;try{var _loop7=function _loop7(){var material=_step38.value;material.pbrMetallicRoughness={baseColorFactor:[1,1,1,1],metallicFactor:1,roughnessFactor:1};var textureId=((_material$values=material.values)===null||_material$values===void 0?void 0:_material$values.tex)||((_material$values2=material.values)===null||_material$values2===void 0?void 0:_material$values2.texture2d_0);var textureIndex=json.textures.findIndex(function(texture){return texture.id===textureId;});if(textureIndex!==-1){material.pbrMetallicRoughness.baseColorTexture={index:textureIndex};}};for(_iterator38.s();!(_step38=_iterator38.n()).done;){var _material$values,_material$values2;_loop7();}}catch(err){_iterator38.e(err);}finally{_iterator38.f();}}}]);return GLTFV1Normalizer;}();function normalizeGLTFV1(gltf){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new GLTFV1Normalizer().normalize(gltf,options);}var COMPONENTS={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16};var BYTES={5120:1,5121:1,5122:2,5123:2,5125:4,5126:4};var GL_SAMPLER={TEXTURE_MAG_FILTER:0x2800,TEXTURE_MIN_FILTER:0x2801,TEXTURE_WRAP_S:0x2802,TEXTURE_WRAP_T:0x2803,REPEAT:0x2901,LINEAR:0x2601,NEAREST_MIPMAP_LINEAR:0x2702};var SAMPLER_PARAMETER_GLTF_TO_GL={magFilter:GL_SAMPLER.TEXTURE_MAG_FILTER,minFilter:GL_SAMPLER.TEXTURE_MIN_FILTER,wrapS:GL_SAMPLER.TEXTURE_WRAP_S,wrapT:GL_SAMPLER.TEXTURE_WRAP_T};var DEFAULT_SAMPLER=(_DEFAULT_SAMPLER={},_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_MAG_FILTER,GL_SAMPLER.LINEAR),_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_MIN_FILTER,GL_SAMPLER.NEAREST_MIPMAP_LINEAR),_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_WRAP_S,GL_SAMPLER.REPEAT),_defineProperty2(_DEFAULT_SAMPLER,GL_SAMPLER.TEXTURE_WRAP_T,GL_SAMPLER.REPEAT),_DEFAULT_SAMPLER);function getBytesFromComponentType(componentType){return BYTES[componentType];}function getSizeFromAccessorType(type){return COMPONENTS[type];}var GLTFPostProcessor=/*#__PURE__*/function(){function GLTFPostProcessor(){_classCallCheck(this,GLTFPostProcessor);_defineProperty(this,"baseUri",'');_defineProperty(this,"json",{});_defineProperty(this,"buffers",[]);_defineProperty(this,"images",[]);}_createClass(GLTFPostProcessor,[{key:"postProcess",value:function postProcess(gltf){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var json=gltf.json,_gltf$buffers=gltf.buffers,buffers=_gltf$buffers===void 0?[]:_gltf$buffers,_gltf$images=gltf.images,images=_gltf$images===void 0?[]:_gltf$images,_gltf$baseUri=gltf.baseUri,baseUri=_gltf$baseUri===void 0?'':_gltf$baseUri;assert$1(json);this.baseUri=baseUri;this.json=json;this.buffers=buffers;this.images=images;this._resolveTree(this.json,options);return this.json;}},{key:"_resolveTree",value:function _resolveTree(json){var _this112=this;var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(json.bufferViews){json.bufferViews=json.bufferViews.map(function(bufView,i){return _this112._resolveBufferView(bufView,i);});}if(json.images){json.images=json.images.map(function(image,i){return _this112._resolveImage(image,i);});}if(json.samplers){json.samplers=json.samplers.map(function(sampler,i){return _this112._resolveSampler(sampler,i);});}if(json.textures){json.textures=json.textures.map(function(texture,i){return _this112._resolveTexture(texture,i);});}if(json.accessors){json.accessors=json.accessors.map(function(accessor,i){return _this112._resolveAccessor(accessor,i);});}if(json.materials){json.materials=json.materials.map(function(material,i){return _this112._resolveMaterial(material,i);});}if(json.meshes){json.meshes=json.meshes.map(function(mesh,i){return _this112._resolveMesh(mesh,i);});}if(json.nodes){json.nodes=json.nodes.map(function(node,i){return _this112._resolveNode(node,i);});}if(json.skins){json.skins=json.skins.map(function(skin,i){return _this112._resolveSkin(skin,i);});}if(json.scenes){json.scenes=json.scenes.map(function(scene,i){return _this112._resolveScene(scene,i);});}if(json.scene!==undefined){json.scene=json.scenes[this.json.scene];}}},{key:"getScene",value:function getScene(index){return this._get('scenes',index);}},{key:"getNode",value:function getNode(index){return this._get('nodes',index);}},{key:"getSkin",value:function getSkin(index){return this._get('skins',index);}},{key:"getMesh",value:function getMesh(index){return this._get('meshes',index);}},{key:"getMaterial",value:function getMaterial(index){return this._get('materials',index);}},{key:"getAccessor",value:function getAccessor(index){return this._get('accessors',index);}},{key:"getCamera",value:function getCamera(index){return null;}},{key:"getTexture",value:function getTexture(index){return this._get('textures',index);}},{key:"getSampler",value:function getSampler(index){return this._get('samplers',index);}},{key:"getImage",value:function getImage(index){return this._get('images',index);}},{key:"getBufferView",value:function getBufferView(index){return this._get('bufferViews',index);}},{key:"getBuffer",value:function getBuffer(index){return this._get('buffers',index);}},{key:"_get",value:function _get(array,index){if(_typeof(index)==='object'){return index;}var object=this.json[array]&&this.json[array][index];if(!object){console.warn("glTF file error: Could not find ".concat(array,"[").concat(index,"]"));}return object;}},{key:"_resolveScene",value:function _resolveScene(scene,index){var _this113=this;scene.id=scene.id||"scene-".concat(index);scene.nodes=(scene.nodes||[]).map(function(node){return _this113.getNode(node);});return scene;}},{key:"_resolveNode",value:function _resolveNode(node,index){var _this114=this;node.id=node.id||"node-".concat(index);if(node.children){node.children=node.children.map(function(child){return _this114.getNode(child);});}if(node.mesh!==undefined){node.mesh=this.getMesh(node.mesh);}else if(node.meshes!==undefined&&node.meshes.length){node.mesh=node.meshes.reduce(function(accum,meshIndex){var mesh=_this114.getMesh(meshIndex);accum.id=mesh.id;accum.primitives=accum.primitives.concat(mesh.primitives);return accum;},{primitives:[]});}if(node.camera!==undefined){node.camera=this.getCamera(node.camera);}if(node.skin!==undefined){node.skin=this.getSkin(node.skin);}return node;}},{key:"_resolveSkin",value:function _resolveSkin(skin,index){skin.id=skin.id||"skin-".concat(index);skin.inverseBindMatrices=this.getAccessor(skin.inverseBindMatrices);return skin;}},{key:"_resolveMesh",value:function _resolveMesh(mesh,index){var _this115=this;mesh.id=mesh.id||"mesh-".concat(index);if(mesh.primitives){mesh.primitives=mesh.primitives.map(function(primitive){primitive=_objectSpread({},primitive);var attributes=primitive.attributes;primitive.attributes={};for(var attribute in attributes){primitive.attributes[attribute]=_this115.getAccessor(attributes[attribute]);}if(primitive.indices!==undefined){primitive.indices=_this115.getAccessor(primitive.indices);}if(primitive.material!==undefined){primitive.material=_this115.getMaterial(primitive.material);}return primitive;});}return mesh;}},{key:"_resolveMaterial",value:function _resolveMaterial(material,index){material.id=material.id||"material-".concat(index);if(material.normalTexture){material.normalTexture=_objectSpread({},material.normalTexture);material.normalTexture.texture=this.getTexture(material.normalTexture.index);}if(material.occlusionTexture){material.occlustionTexture=_objectSpread({},material.occlustionTexture);material.occlusionTexture.texture=this.getTexture(material.occlusionTexture.index);}if(material.emissiveTexture){material.emmisiveTexture=_objectSpread({},material.emmisiveTexture);material.emissiveTexture.texture=this.getTexture(material.emissiveTexture.index);}if(!material.emissiveFactor){material.emissiveFactor=material.emmisiveTexture?[1,1,1]:[0,0,0];}if(material.pbrMetallicRoughness){material.pbrMetallicRoughness=_objectSpread({},material.pbrMetallicRoughness);var mr=material.pbrMetallicRoughness;if(mr.baseColorTexture){mr.baseColorTexture=_objectSpread({},mr.baseColorTexture);mr.baseColorTexture.texture=this.getTexture(mr.baseColorTexture.index);}if(mr.metallicRoughnessTexture){mr.metallicRoughnessTexture=_objectSpread({},mr.metallicRoughnessTexture);mr.metallicRoughnessTexture.texture=this.getTexture(mr.metallicRoughnessTexture.index);}}return material;}},{key:"_resolveAccessor",value:function _resolveAccessor(accessor,index){accessor.id=accessor.id||"accessor-".concat(index);if(accessor.bufferView!==undefined){accessor.bufferView=this.getBufferView(accessor.bufferView);}accessor.bytesPerComponent=getBytesFromComponentType(accessor.componentType);accessor.components=getSizeFromAccessorType(accessor.type);accessor.bytesPerElement=accessor.bytesPerComponent*accessor.components;if(accessor.bufferView){var buffer=accessor.bufferView.buffer;var _getAccessorArrayType2=getAccessorArrayTypeAndLength(accessor,accessor.bufferView),ArrayType=_getAccessorArrayType2.ArrayType,byteLength=_getAccessorArrayType2.byteLength;var byteOffset=(accessor.bufferView.byteOffset||0)+(accessor.byteOffset||0)+buffer.byteOffset;var cutBuffer=buffer.arrayBuffer.slice(byteOffset,byteOffset+byteLength);if(accessor.bufferView.byteStride){cutBuffer=this._getValueFromInterleavedBuffer(buffer,byteOffset,accessor.bufferView.byteStride,accessor.bytesPerElement,accessor.count);}accessor.value=new ArrayType(cutBuffer);}return accessor;}},{key:"_getValueFromInterleavedBuffer",value:function _getValueFromInterleavedBuffer(buffer,byteOffset,byteStride,bytesPerElement,count){var result=new Uint8Array(count*bytesPerElement);for(var _i555=0;_i555<count;_i555++){var elementOffset=byteOffset+_i555*byteStride;result.set(new Uint8Array(buffer.arrayBuffer.slice(elementOffset,elementOffset+bytesPerElement)),_i555*bytesPerElement);}return result.buffer;}},{key:"_resolveTexture",value:function _resolveTexture(texture,index){texture.id=texture.id||"texture-".concat(index);texture.sampler='sampler'in texture?this.getSampler(texture.sampler):DEFAULT_SAMPLER;texture.source=this.getImage(texture.source);return texture;}},{key:"_resolveSampler",value:function _resolveSampler(sampler,index){sampler.id=sampler.id||"sampler-".concat(index);sampler.parameters={};for(var key in sampler){var glEnum=this._enumSamplerParameter(key);if(glEnum!==undefined){sampler.parameters[glEnum]=sampler[key];}}return sampler;}},{key:"_enumSamplerParameter",value:function _enumSamplerParameter(key){return SAMPLER_PARAMETER_GLTF_TO_GL[key];}},{key:"_resolveImage",value:function _resolveImage(image,index){image.id=image.id||"image-".concat(index);if(image.bufferView!==undefined){image.bufferView=this.getBufferView(image.bufferView);}var preloadedImage=this.images[index];if(preloadedImage){image.image=preloadedImage;}return image;}},{key:"_resolveBufferView",value:function _resolveBufferView(bufferView,index){var bufferIndex=bufferView.buffer;var result=_objectSpread(_objectSpread({id:"bufferView-".concat(index)},bufferView),{},{buffer:this.buffers[bufferIndex]});var arrayBuffer=this.buffers[bufferIndex].arrayBuffer;var byteOffset=this.buffers[bufferIndex].byteOffset||0;if('byteOffset'in bufferView){byteOffset+=bufferView.byteOffset;}result.data=new Uint8Array(arrayBuffer,byteOffset,bufferView.byteLength);return result;}},{key:"_resolveCamera",value:function _resolveCamera(camera,index){camera.id=camera.id||"camera-".concat(index);if(camera.perspective);if(camera.orthographic);return camera;}}]);return GLTFPostProcessor;}();function postProcessGLTF(gltf,options){return new GLTFPostProcessor().postProcess(gltf,options);}var MAGIC_glTF=0x676c5446;var GLB_FILE_HEADER_SIZE=12;var GLB_CHUNK_HEADER_SIZE=8;var GLB_CHUNK_TYPE_JSON=0x4e4f534a;var GLB_CHUNK_TYPE_BIN=0x004e4942;var GLB_CHUNK_TYPE_JSON_XVIZ_DEPRECATED=0;var GLB_CHUNK_TYPE_BIX_XVIZ_DEPRECATED=1;var GLB_V1_CONTENT_FORMAT_JSON=0x0;var LE=true;function getMagicString(dataView){var byteOffset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return"".concat(String.fromCharCode(dataView.getUint8(byteOffset+0))).concat(String.fromCharCode(dataView.getUint8(byteOffset+1))).concat(String.fromCharCode(dataView.getUint8(byteOffset+2))).concat(String.fromCharCode(dataView.getUint8(byteOffset+3)));}function isGLB(arrayBuffer){var byteOffset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var dataView=new DataView(arrayBuffer);var _options$magic=options.magic,magic=_options$magic===void 0?MAGIC_glTF:_options$magic;var magic1=dataView.getUint32(byteOffset,false);return magic1===magic||magic1===MAGIC_glTF;}function parseGLBSync(glb,arrayBuffer){var byteOffset=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;var options=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var dataView=new DataView(arrayBuffer);var type=getMagicString(dataView,byteOffset+0);var version=dataView.getUint32(byteOffset+4,LE);var byteLength=dataView.getUint32(byteOffset+8,LE);Object.assign(glb,{header:{byteOffset:byteOffset,byteLength:byteLength,hasBinChunk:false},type:type,version:version,json:{},binChunks:[]});byteOffset+=GLB_FILE_HEADER_SIZE;switch(glb.version){case 1:return parseGLBV1(glb,dataView,byteOffset);case 2:return parseGLBV2(glb,dataView,byteOffset,options={});default:throw new Error("Invalid GLB version ".concat(glb.version,". Only supports v1 and v2."));}}function parseGLBV1(glb,dataView,byteOffset){assert$5(glb.header.byteLength>GLB_FILE_HEADER_SIZE+GLB_CHUNK_HEADER_SIZE);var contentLength=dataView.getUint32(byteOffset+0,LE);var contentFormat=dataView.getUint32(byteOffset+4,LE);byteOffset+=GLB_CHUNK_HEADER_SIZE;assert$5(contentFormat===GLB_V1_CONTENT_FORMAT_JSON);parseJSONChunk(glb,dataView,byteOffset,contentLength);byteOffset+=contentLength;byteOffset+=parseBINChunk(glb,dataView,byteOffset,glb.header.byteLength);return byteOffset;}function parseGLBV2(glb,dataView,byteOffset,options){assert$5(glb.header.byteLength>GLB_FILE_HEADER_SIZE+GLB_CHUNK_HEADER_SIZE);parseGLBChunksSync(glb,dataView,byteOffset,options);return byteOffset+glb.header.byteLength;}function parseGLBChunksSync(glb,dataView,byteOffset,options){while(byteOffset+8<=glb.header.byteLength){var chunkLength=dataView.getUint32(byteOffset+0,LE);var chunkFormat=dataView.getUint32(byteOffset+4,LE);byteOffset+=GLB_CHUNK_HEADER_SIZE;switch(chunkFormat){case GLB_CHUNK_TYPE_JSON:parseJSONChunk(glb,dataView,byteOffset,chunkLength);break;case GLB_CHUNK_TYPE_BIN:parseBINChunk(glb,dataView,byteOffset,chunkLength);break;case GLB_CHUNK_TYPE_JSON_XVIZ_DEPRECATED:if(!options.strict){parseJSONChunk(glb,dataView,byteOffset,chunkLength);}break;case GLB_CHUNK_TYPE_BIX_XVIZ_DEPRECATED:if(!options.strict){parseBINChunk(glb,dataView,byteOffset,chunkLength);}break;}byteOffset+=padToNBytes(chunkLength,4);}return byteOffset;}function parseJSONChunk(glb,dataView,byteOffset,chunkLength){var jsonChunk=new Uint8Array(dataView.buffer,byteOffset,chunkLength);var textDecoder=new TextDecoder('utf8');var jsonText=textDecoder.decode(jsonChunk);glb.json=JSON.parse(jsonText);return padToNBytes(chunkLength,4);}function parseBINChunk(glb,dataView,byteOffset,chunkLength){glb.header.hasBinChunk=true;glb.binChunks.push({byteOffset:byteOffset,byteLength:chunkLength,arrayBuffer:dataView.buffer});return padToNBytes(chunkLength,4);}function parseGLTF$1(_x86,_x87){return _parseGLTF$.apply(this,arguments);}function _parseGLTF$(){_parseGLTF$=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee62(gltf,arrayBufferOrString){var byteOffset,options,context,_options$gltf,_options$gltf2,_options$gltf3,_options$gltf4,promises,_promise,promise,_args60=arguments;return _regeneratorRuntime().wrap(function _callee62$(_context65){while(1){switch(_context65.prev=_context65.next){case 0:byteOffset=_args60.length>2&&_args60[2]!==undefined?_args60[2]:0;options=_args60.length>3?_args60[3]:undefined;context=_args60.length>4?_args60[4]:undefined;parseGLTFContainerSync(gltf,arrayBufferOrString,byteOffset,options);normalizeGLTFV1(gltf,{normalize:options===null||options===void 0?void 0:(_options$gltf=options.gltf)===null||_options$gltf===void 0?void 0:_options$gltf.normalize});preprocessExtensions(gltf,options,context);promises=[];if(!(options!==null&&options!==void 0&&(_options$gltf2=options.gltf)!==null&&_options$gltf2!==void 0&&_options$gltf2.loadBuffers&&gltf.json.buffers)){_context65.next=10;break;}_context65.next=10;return loadBuffers(gltf,options,context);case 10:if(options!==null&&options!==void 0&&(_options$gltf3=options.gltf)!==null&&_options$gltf3!==void 0&&_options$gltf3.loadImages){_promise=loadImages(gltf,options,context);promises.push(_promise);}promise=decodeExtensions(gltf,options,context);promises.push(promise);_context65.next=15;return Promise.all(promises);case 15:return _context65.abrupt("return",options!==null&&options!==void 0&&(_options$gltf4=options.gltf)!==null&&_options$gltf4!==void 0&&_options$gltf4.postProcess?postProcessGLTF(gltf,options):gltf);case 16:case"end":return _context65.stop();}}},_callee62);}));return _parseGLTF$.apply(this,arguments);}function parseGLTFContainerSync(gltf,data,byteOffset,options){if(options.uri){gltf.baseUri=options.uri;}if(data instanceof ArrayBuffer&&!isGLB(data,byteOffset,options)){var textDecoder=new TextDecoder();data=textDecoder.decode(data);}if(typeof data==='string'){gltf.json=parseJSON(data);}else if(data instanceof ArrayBuffer){var glb={};byteOffset=parseGLBSync(glb,data,byteOffset,options.glb);assert$1(glb.type==='glTF',"Invalid GLB magic string ".concat(glb.type));gltf._glb=glb;gltf.json=glb.json;}else{assert$1(false,'GLTF: must be ArrayBuffer or string');}var buffers=gltf.json.buffers||[];gltf.buffers=new Array(buffers.length).fill(null);if(gltf._glb&&gltf._glb.header.hasBinChunk){var binChunks=gltf._glb.binChunks;gltf.buffers[0]={arrayBuffer:binChunks[0].arrayBuffer,byteOffset:binChunks[0].byteOffset,byteLength:binChunks[0].byteLength};}var images=gltf.json.images||[];gltf.images=new Array(images.length).fill({});}function loadBuffers(_x88,_x89,_x90){return _loadBuffers.apply(this,arguments);}function _loadBuffers(){_loadBuffers=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee63(gltf,options,context){var buffers,_i638,buffer,_context$fetch,_response$arrayBuffer,_fetch,uri,response,arrayBuffer;return _regeneratorRuntime().wrap(function _callee63$(_context66){while(1){switch(_context66.prev=_context66.next){case 0:buffers=gltf.json.buffers||[];_i638=0;case 2:if(!(_i638<buffers.length)){_context66.next=22;break;}buffer=buffers[_i638];if(!buffer.uri){_context66.next=18;break;}_fetch=context.fetch;assert$1(_fetch);uri=resolveUrl(buffer.uri,options);_context66.next=10;return context===null||context===void 0?void 0:(_context$fetch=context.fetch)===null||_context$fetch===void 0?void 0:_context$fetch.call(context,uri);case 10:response=_context66.sent;_context66.next=13;return response===null||response===void 0?void 0:(_response$arrayBuffer=response.arrayBuffer)===null||_response$arrayBuffer===void 0?void 0:_response$arrayBuffer.call(response);case 13:arrayBuffer=_context66.sent;gltf.buffers[_i638]={arrayBuffer:arrayBuffer,byteOffset:0,byteLength:arrayBuffer.byteLength};delete buffer.uri;_context66.next=19;break;case 18:if(gltf.buffers[_i638]===null){gltf.buffers[_i638]={arrayBuffer:new ArrayBuffer(buffer.byteLength),byteOffset:0,byteLength:buffer.byteLength};}case 19:++_i638;_context66.next=2;break;case 22:case"end":return _context66.stop();}}},_callee63);}));return _loadBuffers.apply(this,arguments);}function loadImages(_x91,_x92,_x93){return _loadImages.apply(this,arguments);}function _loadImages(){_loadImages=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee64(gltf,options,context){var imageIndices,images,promises,_iterator48,_step48,imageIndex;return _regeneratorRuntime().wrap(function _callee64$(_context67){while(1){switch(_context67.prev=_context67.next){case 0:imageIndices=getReferencesImageIndices(gltf);images=gltf.json.images||[];promises=[];_iterator48=_createForOfIteratorHelper(imageIndices);try{for(_iterator48.s();!(_step48=_iterator48.n()).done;){imageIndex=_step48.value;promises.push(loadImage(gltf,images[imageIndex],imageIndex,options,context));}}catch(err){_iterator48.e(err);}finally{_iterator48.f();}_context67.next=7;return Promise.all(promises);case 7:return _context67.abrupt("return",_context67.sent);case 8:case"end":return _context67.stop();}}},_callee64);}));return _loadImages.apply(this,arguments);}function getReferencesImageIndices(gltf){var imageIndices=new Set();var textures=gltf.json.textures||[];var _iterator39=_createForOfIteratorHelper(textures),_step39;try{for(_iterator39.s();!(_step39=_iterator39.n()).done;){var texture=_step39.value;if(texture.source!==undefined){imageIndices.add(texture.source);}}}catch(err){_iterator39.e(err);}finally{_iterator39.f();}return Array.from(imageIndices).sort();}function loadImage(_x94,_x95,_x96,_x97,_x98){return _loadImage.apply(this,arguments);}function _loadImage(){_loadImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee65(gltf,image,index,options,context){var fetch,parse,arrayBuffer,uri,response,array,parsedImage;return _regeneratorRuntime().wrap(function _callee65$(_context68){while(1){switch(_context68.prev=_context68.next){case 0:fetch=context.fetch,parse=context.parse;if(!image.uri){_context68.next=9;break;}uri=resolveUrl(image.uri,options);_context68.next=5;return fetch(uri);case 5:response=_context68.sent;_context68.next=8;return response.arrayBuffer();case 8:arrayBuffer=_context68.sent;case 9:if(Number.isFinite(image.bufferView)){array=getTypedArrayForBufferView(gltf.json,gltf.buffers,image.bufferView);arrayBuffer=sliceArrayBuffer(array.buffer,array.byteOffset,array.byteLength);}assert$1(arrayBuffer,'glTF image has no data');_context68.next=13;return parse(arrayBuffer,[ImageLoader,BasisLoader],{mimeType:image.mimeType,basis:options.basis||{format:selectSupportedBasisFormat()}},context);case 13:parsedImage=_context68.sent;if(parsedImage&&parsedImage[0]){parsedImage={compressed:true,mipmaps:false,width:parsedImage[0].width,height:parsedImage[0].height,data:parsedImage[0]};}gltf.images=gltf.images||[];gltf.images[index]=parsedImage;case 17:case"end":return _context68.stop();}}},_callee65);}));return _loadImage.apply(this,arguments);}var GLTFLoader={name:'glTF',id:'gltf',module:'gltf',version:VERSION$5,extensions:['gltf','glb'],mimeTypes:['model/gltf+json','model/gltf-binary'],text:true,binary:true,tests:['glTF'],parse:parse$1,options:{gltf:{normalize:true,loadBuffers:true,loadImages:true,decompressMeshes:true,postProcess:true},log:console},deprecatedOptions:{fetchImages:'gltf.loadImages',createImages:'gltf.loadImages',decompress:'gltf.decompressMeshes',postProcess:'gltf.postProcess',gltf:{decompress:'gltf.decompressMeshes'}}};function parse$1(_x99){return _parse$3.apply(this,arguments);}/**
|
|
24173
24173
|
* @private
|
|
24174
24174
|
*/function _parse$3(){_parse$3=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee66(arrayBuffer){var options,context,_options,_options$byteOffset,byteOffset,gltf,_args64=arguments;return _regeneratorRuntime().wrap(function _callee66$(_context69){while(1){switch(_context69.prev=_context69.next){case 0:options=_args64.length>1&&_args64[1]!==undefined?_args64[1]:{};context=_args64.length>2?_args64[2]:undefined;options=_objectSpread(_objectSpread({},GLTFLoader.options),options);options.gltf=_objectSpread(_objectSpread({},GLTFLoader.options.gltf),options.gltf);_options=options,_options$byteOffset=_options.byteOffset,byteOffset=_options$byteOffset===void 0?0:_options$byteOffset;gltf={};_context69.next=8;return parseGLTF$1(gltf,arrayBuffer,byteOffset,options,context);case 8:return _context69.abrupt("return",_context69.sent);case 9:case"end":return _context69.stop();}}},_callee66);}));return _parse$3.apply(this,arguments);}var GLTFVBOSceneModelLoader=/*#__PURE__*/function(){function GLTFVBOSceneModelLoader(cfg){_classCallCheck(this,GLTFVBOSceneModelLoader);}_createClass(GLTFVBOSceneModelLoader,[{key:"load",value:function load(plugin,src,metaModelJSON,options,sceneModel,ok,error){options=options||{};loadGLTF(plugin,src,metaModelJSON,options,sceneModel,function(){core.scheduleTask(function(){sceneModel.scene.fire("modelLoaded",sceneModel.id);// FIXME: Assumes listeners know order of these two events
|
|
24175
24175
|
sceneModel.fire("loaded",true,false);});if(ok){ok();}},function(msg){plugin.error(msg);if(error){error(msg);}sceneModel.fire("error",msg);});}},{key:"parse",value:function parse(plugin,gltf,metaModelJSON,options,sceneModel,ok,error){options=options||{};parseGLTF(plugin,"",gltf,metaModelJSON,options,sceneModel,function(){sceneModel.scene.fire("modelLoaded",sceneModel.id);// FIXME: Assumes listeners know order of these two events
|
|
@@ -26264,11 +26264,11 @@ imagePos[0]=Math.floor(storeyMap.width-(worldPos[0]-xmin)*ratioX);imagePos[1]=Ma
|
|
|
26264
26264
|
*/_this132.errors=[];/**
|
|
26265
26265
|
* True if errors were found generating this TreeView.
|
|
26266
26266
|
* @type {boolean}
|
|
26267
|
-
*/_this132.valid=true;if(!cfg.containerElement){_this132.error("Config expected: containerElement");return _possibleConstructorReturn(_this132);}for(var _i575=0;;_i575++){if(!treeViews[_i575]){treeViews[_i575]=_assertThisInitialized(_this132);_this132._index=_i575;_this132._id="tree-".concat(_i575
|
|
26267
|
+
*/_this132.valid=true;if(!cfg.containerElement){_this132.error("Config expected: containerElement");return _possibleConstructorReturn(_this132);}for(var _i575=0;;_i575++){if(!treeViews[_i575]){treeViews[_i575]=_assertThisInitialized(_this132);_this132._index=_i575;_this132._id="tree-".concat(_i575);break;}}_this132._containerElement=cfg.containerElement;_this132._metaModels={};_this132._autoAddModels=cfg.autoAddModels!==false;_this132._autoExpandDepth=cfg.autoExpandDepth||0;_this132._sortNodes=cfg.sortNodes!==false;_this132._pruneEmptyNodes=cfg.pruneEmptyNodes!==false;_this132._viewer=viewer;_this132._rootElement=null;_this132._muteSceneEvents=false;_this132._muteTreeEvents=false;_this132._rootNodes=[];_this132._objectNodes={};// Object ID -> Node
|
|
26268
26268
|
_this132._nodeNodes={};// Node ID -> Node
|
|
26269
26269
|
_this132._rootName=cfg.rootName;_this132._sortNodes=cfg.sortNodes;_this132._pruneEmptyNodes=cfg.pruneEmptyNodes;_this132._showListItemElementId=null;_this132._containerElement.oncontextmenu=function(e){e.preventDefault();};_this132._onObjectVisibility=_this132._viewer.scene.on("objectVisibility",function(entity){if(_this132._muteSceneEvents){return;}var objectId=entity.id;var node=_this132._objectNodes[objectId];if(!node){return;// Not in this tree
|
|
26270
|
-
}var visible=entity.visible;var updated=visible!==node.checked;if(!updated){return;}_this132._muteTreeEvents=true;node.checked=visible;if(visible){node.numVisibleEntities++;}else{node.numVisibleEntities--;}var checkbox=document.getElementById(node.nodeId);if(checkbox){checkbox.checked=visible;}var parent=node.parent;while(parent){parent.checked=visible;if(visible){parent.numVisibleEntities++;}else{parent.numVisibleEntities--;}var parentCheckbox=document.getElementById(parent.nodeId);if(parentCheckbox){var newChecked=parent.numVisibleEntities>0;if(newChecked!==parentCheckbox.checked){parentCheckbox.checked=newChecked;}}parent=parent.parent;}_this132._muteTreeEvents=false;});_this132._onObjectXrayed=_this132._viewer.scene.on('objectXRayed',function(entity){if(_this132._muteSceneEvents){return;}var objectId=entity.id;var node=_this132._objectNodes[objectId];if(!node){return;// Not in this tree
|
|
26271
|
-
}_this132._muteTreeEvents=true;var xrayed=entity.xrayed;var updated=xrayed!==node.xrayed;if(!updated){return;}node.xrayed=xrayed;var listItemElementId=node.nodeId;var listItemElement=document.getElementById(listItemElementId);if(listItemElement!==null){if(xrayed){listItemElement.classList.add('xrayed-node');}else{listItemElement.classList.remove('xrayed-node');}}_this132._muteTreeEvents=false;});_this132._switchExpandHandler=function(event){event.preventDefault();event.stopPropagation();var switchElement=event.target;_this132._expandSwitchElement(switchElement);};_this132._switchCollapseHandler=function(event){event.preventDefault();event.stopPropagation();var switchElement=event.target;_this132._collapseSwitchElement(switchElement);};_this132._checkboxChangeHandler=function(event){if(_this132._muteTreeEvents){return;}_this132._muteSceneEvents=true;var checkbox=event.target;var visible=checkbox.checked;var nodeId=checkbox.id;var checkedNode=_this132._nodeNodes[nodeId];var objects=_this132._viewer.scene.objects;var numUpdated=0;_this132._withNodeTree(checkedNode,function(node){var objectId=node.objectId;var checkBoxId=node.nodeId;var entity=objects[objectId];var isLeaf=node.children.length===0;node.numVisibleEntities=visible?node.numEntities:0;if(isLeaf&&visible!==node.checked){numUpdated++;}node.checked=visible;var checkbox2=document.getElementById(checkBoxId);if(checkbox2){checkbox2.checked=visible;}if(entity){entity.visible=visible;}});var parent=checkedNode.parent;while(parent){parent.checked=visible;var checkbox2=document.getElementById(parent.nodeId);// Parent checkboxes are always in DOM
|
|
26270
|
+
}var visible=entity.visible;var updated=visible!==node.checked;if(!updated){return;}_this132._muteTreeEvents=true;node.checked=visible;if(visible){node.numVisibleEntities++;}else{node.numVisibleEntities--;}var checkbox=document.getElementById("checkbox-".concat(node.nodeId));if(checkbox){checkbox.checked=visible;}var parent=node.parent;while(parent){parent.checked=visible;if(visible){parent.numVisibleEntities++;}else{parent.numVisibleEntities--;}var parentCheckbox=document.getElementById("checkbox-".concat(parent.nodeId));if(parentCheckbox){var newChecked=parent.numVisibleEntities>0;if(newChecked!==parentCheckbox.checked){parentCheckbox.checked=newChecked;}}parent=parent.parent;}_this132._muteTreeEvents=false;});_this132._onObjectXrayed=_this132._viewer.scene.on('objectXRayed',function(entity){if(_this132._muteSceneEvents){return;}var objectId=entity.id;var node=_this132._objectNodes[objectId];if(!node){return;// Not in this tree
|
|
26271
|
+
}_this132._muteTreeEvents=true;var xrayed=entity.xrayed;var updated=xrayed!==node.xrayed;if(!updated){return;}node.xrayed=xrayed;var listItemElementId=node.nodeId;var listItemElement=document.getElementById(listItemElementId);if(listItemElement!==null){if(xrayed){listItemElement.classList.add('xrayed-node');}else{listItemElement.classList.remove('xrayed-node');}}_this132._muteTreeEvents=false;});_this132._switchExpandHandler=function(event){event.preventDefault();event.stopPropagation();var switchElement=event.target;_this132._expandSwitchElement(switchElement);};_this132._switchCollapseHandler=function(event){event.preventDefault();event.stopPropagation();var switchElement=event.target;_this132._collapseSwitchElement(switchElement);};_this132._checkboxChangeHandler=function(event){if(_this132._muteTreeEvents){return;}_this132._muteSceneEvents=true;var checkbox=event.target;var visible=checkbox.checked;var nodeId=checkbox.id.replace('checkbox-','');var checkedNode=_this132._nodeNodes[nodeId];var objects=_this132._viewer.scene.objects;var numUpdated=0;_this132._withNodeTree(checkedNode,function(node){var objectId=node.objectId;var checkBoxId="checkbox-".concat(node.nodeId);var entity=objects[objectId];var isLeaf=node.children.length===0;node.numVisibleEntities=visible?node.numEntities:0;if(isLeaf&&visible!==node.checked){numUpdated++;}node.checked=visible;var checkbox2=document.getElementById(checkBoxId);if(checkbox2){checkbox2.checked=visible;}if(entity){entity.visible=visible;}});var parent=checkedNode.parent;while(parent){parent.checked=visible;var checkbox2=document.getElementById("checkbox-".concat(parent.nodeId));// Parent checkboxes are always in DOM
|
|
26272
26272
|
if(visible){parent.numVisibleEntities+=numUpdated;}else{parent.numVisibleEntities-=numUpdated;}var newChecked=parent.numVisibleEntities>0;if(newChecked!==checkbox2.checked){checkbox2.checked=newChecked;}parent=parent.parent;}_this132._muteSceneEvents=false;};_this132._hierarchy=cfg.hierarchy||"containment";_this132._autoExpandDepth=cfg.autoExpandDepth||0;if(_this132._autoAddModels){var modelIds=Object.keys(_this132.viewer.metaScene.metaModels);for(var _i576=0,len=modelIds.length;_i576<len;_i576++){var modelId=modelIds[_i576];_this132.addModel(modelId);}_this132.viewer.scene.on("modelLoaded",function(modelId){if(_this132.viewer.metaScene.metaModels[modelId]){_this132.addModel(modelId);}});}_this132.hierarchy=cfg.hierarchy;return _this132;}/**
|
|
26273
26273
|
* Sets how the nodes are organized within this tree view.
|
|
26274
26274
|
*
|
|
@@ -26372,13 +26372,13 @@ if(visible){parent.numVisibleEntities+=numUpdated;}else{parent.numVisibleEntitie
|
|
|
26372
26372
|
// // errors.push("Can't build storeys hierarchy: no IfcBuildingStoreys found");
|
|
26373
26373
|
// }
|
|
26374
26374
|
// }
|
|
26375
|
-
return true;}},{key:"_createEnabledNodes",value:function _createEnabledNodes(){if(this._pruneEmptyNodes){this._findEmptyNodes();}switch(this._hierarchy){case"storeys":this._createStoreysNodes();if(this._rootNodes.length===0){this.error("Failed to build storeys hierarchy");}break;case"types":this._createTypesNodes();break;case"containment":default:this._createContainmentNodes();}if(this._sortNodes){this._doSortNodes();}this._synchNodesToEntities();this._createTrees();this.expandToDepth(this._autoExpandDepth);}},{key:"_createDisabledNodes",value:function _createDisabledNodes(){var ul=document.createElement('ul');this._rootElement=ul;this._containerElement.appendChild(ul);var rootMetaObjects=this._viewer.metaScene.rootMetaObjects;for(var
|
|
26376
|
-
children.sort(this._getSpatialSortFunc());}else{children.sort(this._alphaSortFunc);}for(var
|
|
26375
|
+
return true;}},{key:"_createEnabledNodes",value:function _createEnabledNodes(){if(this._pruneEmptyNodes){this._findEmptyNodes();}switch(this._hierarchy){case"storeys":this._createStoreysNodes();if(this._rootNodes.length===0){this.error("Failed to build storeys hierarchy");}break;case"types":this._createTypesNodes();break;case"containment":default:this._createContainmentNodes();}if(this._sortNodes){this._doSortNodes();}this._synchNodesToEntities();this._createTrees();this.expandToDepth(this._autoExpandDepth);}},{key:"_createDisabledNodes",value:function _createDisabledNodes(){var ul=document.createElement('ul');this._rootElement=ul;this._containerElement.appendChild(ul);var rootMetaObjects=this._viewer.metaScene.rootMetaObjects;for(var objectId in rootMetaObjects){var rootMetaObject=rootMetaObjects[objectId];var metaObjectType=rootMetaObject.type;var metaObjectName=rootMetaObject.name;var rootName=metaObjectName&&metaObjectName!==""&&metaObjectName!=="Undefined"&&metaObjectName!=="Default"?metaObjectName:metaObjectType;var li=document.createElement('li');ul.appendChild(li);var switchElement=document.createElement('a');switchElement.href='#';switchElement.textContent='!';switchElement.classList.add('warn');switchElement.classList.add('warning');li.appendChild(switchElement);var span=document.createElement('span');span.textContent=rootName;li.appendChild(span);}}},{key:"_findEmptyNodes",value:function _findEmptyNodes(){var rootMetaObjects=this._viewer.metaScene.rootMetaObjects;for(var objectId in rootMetaObjects){this._findEmptyNodes2(rootMetaObjects[objectId]);}}},{key:"_findEmptyNodes2",value:function _findEmptyNodes2(metaObject){var countEntities=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var viewer=this.viewer;var scene=viewer.scene;var children=metaObject.children;var objectId=metaObject.id;var entity=scene.objects[objectId];metaObject._countEntities=0;if(entity){metaObject._countEntities++;}if(children){for(var _i581=0,len=children.length;_i581<len;_i581++){var childMetaObject=children[_i581];childMetaObject._countEntities=this._findEmptyNodes2(childMetaObject);metaObject._countEntities+=childMetaObject._countEntities;}}return metaObject._countEntities;}},{key:"_createStoreysNodes",value:function _createStoreysNodes(){var rootMetaObjects=this._viewer.metaScene.rootMetaObjects;for(var id in rootMetaObjects){this._createStoreysNodes2(rootMetaObjects[id],null,null,null);}}},{key:"_createStoreysNodes2",value:function _createStoreysNodes2(metaObject,buildingNode,storeyNode,typeNodes){if(this._pruneEmptyNodes&&metaObject._countEntities===0){return;}var metaObjectType=metaObject.type;var metaObjectName=metaObject.name;var children=metaObject.children;var objectId=metaObject.id;if(metaObjectType==="IfcBuilding"){buildingNode={nodeId:"".concat(this._id,"-").concat(objectId),objectId:objectId,title:this._rootName||(metaObjectName&&metaObjectName!==""&&metaObjectName!=="Undefined"&&metaObjectName!=="Default"?metaObjectName:metaObjectType),type:metaObjectType,parent:null,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};this._rootNodes.push(buildingNode);this._objectNodes[buildingNode.objectId]=buildingNode;this._nodeNodes[buildingNode.nodeId]=buildingNode;}else if(metaObjectType==="IfcBuildingStorey"){if(!buildingNode){this.error("Failed to build storeys hierarchy for model '"+this.metaModel.id+"' - model does not have an IfcBuilding object, or is not an IFC model");return;}storeyNode={nodeId:"".concat(this._id,"-").concat(objectId),objectId:objectId,title:metaObjectName&&metaObjectName!==""&&metaObjectName!=="Undefined"&&metaObjectName!=="Default"?metaObjectName:metaObjectType,type:metaObjectType,parent:buildingNode,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};buildingNode.children.push(storeyNode);this._objectNodes[storeyNode.objectId]=storeyNode;this._nodeNodes[storeyNode.nodeId]=storeyNode;typeNodes={};}else{if(storeyNode){var objects=this._viewer.scene.objects;var object=objects[objectId];if(object){typeNodes=typeNodes||{};var typeNode=typeNodes[metaObjectType];if(!typeNode){typeNode={nodeId:"".concat(this._id,"-").concat(storeyNode.objectId,"-").concat(metaObjectType),objectId:"".concat(storeyNode.objectId,"-").concat(metaObjectType),title:metaObjectType,type:metaObjectType,parent:storeyNode,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};storeyNode.children.push(typeNode);this._objectNodes[typeNode.objectId]=typeNode;this._nodeNodes[typeNode.nodeId]=typeNode;typeNodes[metaObjectType]=typeNode;}var _node16={nodeId:"".concat(this._id,"-").concat(objectId),objectId:objectId,title:metaObjectName&&metaObjectName!==""&&metaObjectName!=="Undefined"&&metaObjectName!=="Default"?metaObjectName:metaObjectType,type:metaObjectType,parent:typeNode,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};typeNode.children.push(_node16);this._objectNodes[_node16.objectId]=_node16;this._nodeNodes[_node16.nodeId]=_node16;}}}if(children){for(var _i582=0,len=children.length;_i582<len;_i582++){var childMetaObject=children[_i582];this._createStoreysNodes2(childMetaObject,buildingNode,storeyNode,typeNodes);}}}},{key:"_createTypesNodes",value:function _createTypesNodes(){var rootMetaObjects=this._viewer.metaScene.rootMetaObjects;for(var id in rootMetaObjects){this._createTypesNodes2(rootMetaObjects[id],null,null);}}},{key:"_createTypesNodes2",value:function _createTypesNodes2(metaObject,rootNode,typeNodes){if(this._pruneEmptyNodes&&metaObject._countEntities===0){return;}var metaObjectType=metaObject.type;var metaObjectName=metaObject.name;var children=metaObject.children;var objectId=metaObject.id;if(!metaObject.parent){rootNode={nodeId:"".concat(this._id,"-").concat(objectId),objectId:objectId,title:this._rootName||(metaObjectName&&metaObjectName!==""&&metaObjectName!=="Undefined"&&metaObjectName!=="Default"?metaObjectName:metaObjectType),type:metaObjectType,parent:null,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};this._rootNodes.push(rootNode);this._objectNodes[rootNode.objectId]=rootNode;this._nodeNodes[rootNode.nodeId]=rootNode;typeNodes={};}else{if(rootNode){var objects=this._viewer.scene.objects;var object=objects[objectId];if(object){var typeNode=typeNodes[metaObjectType];if(!typeNode){typeNode={nodeId:"".concat(this._id,"-").concat(rootNode.objectId,"-").concat(metaObjectType),objectId:"".concat(rootNode.objectId,"-").concat(metaObjectType),title:metaObjectType,type:metaObjectType,parent:rootNode,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};rootNode.children.push(typeNode);this._objectNodes[typeNode.objectId]=typeNode;this._nodeNodes[typeNode.nodeId]=typeNode;typeNodes[metaObjectType]=typeNode;}var _node17={nodeId:"".concat(this._id,"-").concat(objectId),objectId:objectId,title:metaObjectName&&metaObjectName!==""&&metaObjectName!=="Default"?metaObjectName:metaObjectType,type:metaObjectType,parent:typeNode,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};typeNode.children.push(_node17);this._objectNodes[_node17.objectId]=_node17;this._nodeNodes[_node17.nodeId]=_node17;}}}if(children){for(var _i583=0,len=children.length;_i583<len;_i583++){var childMetaObject=children[_i583];this._createTypesNodes2(childMetaObject,rootNode,typeNodes);}}}},{key:"_createContainmentNodes",value:function _createContainmentNodes(){var rootMetaObjects=this._viewer.metaScene.rootMetaObjects;for(var id in rootMetaObjects){this._createContainmentNodes2(rootMetaObjects[id],null);}}},{key:"_createContainmentNodes2",value:function _createContainmentNodes2(metaObject,parent){if(this._pruneEmptyNodes&&metaObject._countEntities===0){return;}var metaObjectType=metaObject.type;var metaObjectName=metaObject.name||metaObjectType;var children=metaObject.children;var objectId=metaObject.id;var node={nodeId:"".concat(this._id,"-").concat(objectId),objectId:objectId,title:!parent?this._rootName||metaObjectName:metaObjectName&&metaObjectName!==""&&metaObjectName!=="Undefined"&&metaObjectName!=="Default"?metaObjectName:metaObjectType,type:metaObjectType,parent:parent,numEntities:0,numVisibleEntities:0,checked:false,xrayed:false,children:[]};if(parent){parent.children.push(node);}else{this._rootNodes.push(node);}this._objectNodes[node.objectId]=node;this._nodeNodes[node.nodeId]=node;if(children){for(var _i584=0,len=children.length;_i584<len;_i584++){var childMetaObject=children[_i584];this._createContainmentNodes2(childMetaObject,node);}}}},{key:"_doSortNodes",value:function _doSortNodes(){for(var _i585=0,len=this._rootNodes.length;_i585<len;_i585++){var rootNode=this._rootNodes[_i585];this._sortChildren(rootNode);}}},{key:"_sortChildren",value:function _sortChildren(node){var children=node.children;if(!children||children.length===0){return;}if(this._hierarchy==="storeys"&&node.type==="IfcBuilding"){// Assumes that children of an IfcBuilding will always be IfcBuildingStoreys
|
|
26376
|
+
children.sort(this._getSpatialSortFunc());}else{children.sort(this._alphaSortFunc);}for(var _i586=0,len=children.length;_i586<len;_i586++){var _node18=children[_i586];this._sortChildren(_node18);}}},{key:"_getSpatialSortFunc",value:function _getSpatialSortFunc(){// Creates cached sort func with Viewer in scope
|
|
26377
26377
|
var viewer=this.viewer;var scene=viewer.scene;var camera=scene.camera;var metaScene=viewer.metaScene;return this._spatialSortFunc||(this._spatialSortFunc=function(node1,node2){if(!node1.aabb||!node2.aabb){// Sorting on lowest point of the AABB is likely more more robust when objects could overlap storeys
|
|
26378
26378
|
if(!node1.aabb){node1.aabb=scene.getAABB(metaScene.getObjectIDsInSubtree(node1.objectId));}if(!node2.aabb){node2.aabb=scene.getAABB(metaScene.getObjectIDsInSubtree(node2.objectId));}}var idx=0;if(camera.xUp){idx=0;}else if(camera.yUp){idx=1;}else{idx=2;}if(node1.aabb[idx]>node2.aabb[idx]){return-1;}if(node1.aabb[idx]<node2.aabb[idx]){return 1;}return 0;});}},{key:"_alphaSortFunc",value:function _alphaSortFunc(node1,node2){var title1=node1.title.toUpperCase();// FIXME: Should be case sensitive?
|
|
26379
|
-
var title2=node2.title.toUpperCase();if(title1<title2){return-1;}if(title1>title2){return 1;}return 0;}},{key:"_synchNodesToEntities",value:function _synchNodesToEntities(){var objectIds=Object.keys(this.viewer.metaScene.metaObjects);var metaObjects=this._viewer.metaScene.metaObjects;var objects=this._viewer.scene.objects;for(var
|
|
26380
|
-
while(parent){parent.numEntities++;if(visible){parent.numVisibleEntities++;parent.checked=true;}parent=parent.parent;}}}}}}},{key:"_withNodeTree",value:function _withNodeTree(node,callback){callback(node);var children=node.children;if(!children){return;}for(var
|
|
26381
|
-
var nodeId=node.nodeId;if(node.xrayed){nodeElement.classList.add('xrayed-node');}nodeElement.id=
|
|
26379
|
+
var title2=node2.title.toUpperCase();if(title1<title2){return-1;}if(title1>title2){return 1;}return 0;}},{key:"_synchNodesToEntities",value:function _synchNodesToEntities(){var objectIds=Object.keys(this.viewer.metaScene.metaObjects);var metaObjects=this._viewer.metaScene.metaObjects;var objects=this._viewer.scene.objects;for(var _i587=0,len=objectIds.length;_i587<len;_i587++){var objectId=objectIds[_i587];var metaObject=metaObjects[objectId];if(metaObject){var _node19=this._objectNodes[objectId];if(_node19){var entity=objects[objectId];if(entity){var visible=entity.visible;_node19.numEntities=1;_node19.xrayed=entity.xrayed;if(visible){_node19.numVisibleEntities=1;_node19.checked=true;}else{_node19.numVisibleEntities=0;_node19.checked=false;}var parent=_node19.parent;// Synch parents
|
|
26380
|
+
while(parent){parent.numEntities++;if(visible){parent.numVisibleEntities++;parent.checked=true;}parent=parent.parent;}}}}}}},{key:"_withNodeTree",value:function _withNodeTree(node,callback){callback(node);var children=node.children;if(!children){return;}for(var _i588=0,len=children.length;_i588<len;_i588++){this._withNodeTree(children[_i588],callback);}}},{key:"_createTrees",value:function _createTrees(){var _this135=this;if(this._rootNodes.length===0){return;}var rootNodeElements=this._rootNodes.map(function(rootNode){return _this135._createNodeElement(rootNode);});var ul=document.createElement('ul');rootNodeElements.forEach(function(nodeElement){ul.appendChild(nodeElement);});this._containerElement.appendChild(ul);this._rootElement=ul;}},{key:"_createNodeElement",value:function _createNodeElement(node){var _this136=this;var nodeElement=document.createElement('li');//const nodeId = this._objectToNodeID(node.objectId);
|
|
26381
|
+
var nodeId=node.nodeId;if(node.xrayed){nodeElement.classList.add('xrayed-node');}nodeElement.id=nodeId;if(node.children.length>0){var switchElementId="switch-"+nodeId;var switchElement=document.createElement('a');switchElement.href='#';switchElement.id=switchElementId;switchElement.textContent='+';switchElement.classList.add('plus');switchElement.addEventListener('click',this._switchExpandHandler);nodeElement.appendChild(switchElement);}var checkbox=document.createElement('input');checkbox.id="checkbox-".concat(nodeId);checkbox.type="checkbox";checkbox.checked=node.checked;checkbox.style["pointer-events"]="all";checkbox.addEventListener("change",this._checkboxChangeHandler);nodeElement.appendChild(checkbox);var span=document.createElement('span');span.textContent=node.title;nodeElement.appendChild(span);span.oncontextmenu=function(e){_this136.fire("contextmenu",{event:e,viewer:_this136._viewer,treeViewPlugin:_this136,treeViewNode:node});e.preventDefault();};span.onclick=function(e){_this136.fire("nodeTitleClicked",{event:e,viewer:_this136._viewer,treeViewPlugin:_this136,treeViewNode:node});e.preventDefault();};return nodeElement;}},{key:"_expandSwitchElement",value:function _expandSwitchElement(switchElement){var _this137=this;var parentElement=switchElement.parentElement;var expanded=parentElement.getElementsByTagName('li')[0];if(expanded){return;}var nodeId=parentElement.id;var switchNode=this._nodeNodes[nodeId];var childNodes=switchNode.children;var nodeElements=childNodes.map(function(node){return _this137._createNodeElement(node);});var ul=document.createElement('ul');nodeElements.forEach(function(nodeElement){ul.appendChild(nodeElement);});parentElement.appendChild(ul);switchElement.classList.remove('plus');switchElement.classList.add('minus');switchElement.textContent='-';switchElement.removeEventListener('click',this._switchExpandHandler);switchElement.addEventListener('click',this._switchCollapseHandler);}},{key:"_collapseNode",value:function _collapseNode(objectId){var nodeId=objectId;var switchElementId="switch-"+nodeId;var switchElement=document.getElementById(switchElementId);this._collapseSwitchElement(switchElement);}},{key:"_collapseSwitchElement",value:function _collapseSwitchElement(switchElement){if(!switchElement){return;}var parent=switchElement.parentElement;if(!parent){return;}var ul=parent.querySelector('ul');if(!ul){return;}parent.removeChild(ul);switchElement.classList.remove('minus');switchElement.classList.add('plus');switchElement.textContent='+';switchElement.removeEventListener('click',this._switchCollapseHandler);switchElement.addEventListener('click',this._switchExpandHandler);}}]);return TreeViewPlugin;}(Plugin);/**
|
|
26382
26382
|
* For each Entity in its Scene, efficiently combines updates from multiple culling systems into a single "culled" state.
|
|
26383
26383
|
*
|
|
26384
26384
|
* Two culling systems are supported:
|
|
@@ -26395,7 +26395,7 @@ this._objectsViewCulled=[];// A flag for each object to indicate its view-cull s
|
|
|
26395
26395
|
this._objectsDetailCulled=[];// A flag for each object to indicate its detail-cull status
|
|
26396
26396
|
this._objectsChanged=[];// A flag for each object, set whenever its cull status has changed since last _applyChanges()
|
|
26397
26397
|
this._objectsChangedList=[];// A list of objects whose cull status has changed, applied and cleared by _applyChanges()
|
|
26398
|
-
this._modelInfos={};this._numObjects=0;this._lenObjectsChangedList=0;this._dirty=true;this._onModelLoaded=scene.on("modelLoaded",function(modelId){var model=scene.models[modelId];if(model){_this138._addModel(model);}});this._onTick=scene.on("tick",function(){if(_this138._dirty){_this138._build();}_this138._applyChanges();});}_createClass(ObjectCullStates,[{key:"_addModel",value:function _addModel(model){var _this139=this;var modelInfo={model:model,onDestroyed:model.on("destroyed",function(){_this139._removeModel(model);})};this._modelInfos[model.id]=modelInfo;this._dirty=true;}},{key:"_removeModel",value:function _removeModel(model){var modelInfo=this._modelInfos[model.id];if(modelInfo){modelInfo.model.off(modelInfo.onDestroyed);delete this._modelInfos[model.id];this._dirty=true;}}},{key:"_build",value:function _build(){if(!this._dirty){return;}this._applyChanges();var objects=this._scene.objects;for(var
|
|
26398
|
+
this._modelInfos={};this._numObjects=0;this._lenObjectsChangedList=0;this._dirty=true;this._onModelLoaded=scene.on("modelLoaded",function(modelId){var model=scene.models[modelId];if(model){_this138._addModel(model);}});this._onTick=scene.on("tick",function(){if(_this138._dirty){_this138._build();}_this138._applyChanges();});}_createClass(ObjectCullStates,[{key:"_addModel",value:function _addModel(model){var _this139=this;var modelInfo={model:model,onDestroyed:model.on("destroyed",function(){_this139._removeModel(model);})};this._modelInfos[model.id]=modelInfo;this._dirty=true;}},{key:"_removeModel",value:function _removeModel(model){var modelInfo=this._modelInfos[model.id];if(modelInfo){modelInfo.model.off(modelInfo.onDestroyed);delete this._modelInfos[model.id];this._dirty=true;}}},{key:"_build",value:function _build(){if(!this._dirty){return;}this._applyChanges();var objects=this._scene.objects;for(var _i589=0;_i589<this._numObjects;_i589++){this._objects[_i589]=null;}this._numObjects=0;for(var objectId in objects){var entity=objects[objectId];this._objects[this._numObjects++]=entity;}this._lenObjectsChangedList=0;this._dirty=false;}},{key:"_applyChanges",value:function _applyChanges(){if(this._lenObjectsChangedList>0){for(var _i590=0;_i590<this._lenObjectsChangedList;_i590++){var objectIdx=this._objectsChangedList[_i590];var object=this._objects[objectIdx];var viewCulled=this._objectsViewCulled[objectIdx];var detailCulled=this._objectsDetailCulled[objectIdx];var culled=viewCulled||detailCulled;object.culled=culled;this._objectsChanged[objectIdx]=false;}this._lenObjectsChangedList=0;}}/**
|
|
26399
26399
|
* Array of {@link Entity} instances that represent objects in the {@link Scene}.
|
|
26400
26400
|
*
|
|
26401
26401
|
* ObjectCullStates rebuilds this from {@link Scene#objects} whenever ````Scene```` fires a ````modelLoaded```` event.
|
|
@@ -26471,7 +26471,7 @@ _this140._maxTreeDepth=cfg.maxTreeDepth||MAX_KD_TREE_DEPTH;_this140._modelInfos=
|
|
|
26471
26471
|
* Gets whether view culling is enabled.
|
|
26472
26472
|
*
|
|
26473
26473
|
* @retutns {Boolean} Whether view culling is enabled.
|
|
26474
|
-
*/function get(){return this._enabled;},set:function set(enabled){this._enabled=enabled;}},{key:"_addModel",value:function _addModel(model){var _this141=this;var modelInfo={model:model,onDestroyed:model.on("destroyed",function(){_this141._removeModel(model);})};this._modelInfos[model.id]=modelInfo;this._kdTreeDirty=true;}},{key:"_removeModel",value:function _removeModel(model){var modelInfo=this._modelInfos[model.id];if(modelInfo){modelInfo.model.off(modelInfo.onDestroyed);delete this._modelInfos[model.id];this._kdTreeDirty=true;}}},{key:"_doCull",value:function _doCull(){var cullDirty=this._frustumDirty||this._kdTreeDirty;if(this._frustumDirty){this._buildFrustum();}if(this._kdTreeDirty){this._buildKDTree();}if(cullDirty){var kdNode=this._kdRoot;if(kdNode){this._visitKDNode(kdNode);}}}},{key:"_buildFrustum",value:function _buildFrustum(){var camera=this.viewer.scene.camera;setFrustum(this._frustum,camera.viewMatrix,camera.projMatrix);this._frustumDirty=false;}},{key:"_buildKDTree",value:function _buildKDTree(){var viewer=this.viewer;var scene=viewer.scene;var depth=0;if(this._kdRoot);this._kdRoot={aabb:scene.getAABB(),intersection:Frustum.INTERSECT};for(var objectIdx=0,len=this._objectCullStates.numObjects;objectIdx<len;objectIdx++){var entity=this._objectCullStates.objects[objectIdx];this._insertEntityIntoKDTree(this._kdRoot,entity,objectIdx,depth+1);}this._kdTreeDirty=false;}},{key:"_insertEntityIntoKDTree",value:function _insertEntityIntoKDTree(kdNode,entity,objectIdx,depth){var entityAABB=entity.aabb;if(depth>=this._maxTreeDepth){kdNode.objects=kdNode.objects||[];kdNode.objects.push(objectIdx);math.expandAABB3(kdNode.aabb,entityAABB);return;}if(kdNode.left){if(math.containsAABB3(kdNode.left.aabb,entityAABB)){this._insertEntityIntoKDTree(kdNode.left,entity,objectIdx,depth+1);return;}}if(kdNode.right){if(math.containsAABB3(kdNode.right.aabb,entityAABB)){this._insertEntityIntoKDTree(kdNode.right,entity,objectIdx,depth+1);return;}}var nodeAABB=kdNode.aabb;kdTreeDimLength[0]=nodeAABB[3]-nodeAABB[0];kdTreeDimLength[1]=nodeAABB[4]-nodeAABB[1];kdTreeDimLength[2]=nodeAABB[5]-nodeAABB[2];var dim=0;if(kdTreeDimLength[1]>kdTreeDimLength[dim]){dim=1;}if(kdTreeDimLength[2]>kdTreeDimLength[dim]){dim=2;}if(!kdNode.left){var aabbLeft=nodeAABB.slice();aabbLeft[dim+3]=(nodeAABB[dim]+nodeAABB[dim+3])/2.0;kdNode.left={aabb:aabbLeft,intersection:Frustum.INTERSECT};if(math.containsAABB3(aabbLeft,entityAABB)){this._insertEntityIntoKDTree(kdNode.left,entity,objectIdx,depth+1);return;}}if(!kdNode.right){var aabbRight=nodeAABB.slice();aabbRight[dim]=(nodeAABB[dim]+nodeAABB[dim+3])/2.0;kdNode.right={aabb:aabbRight,intersection:Frustum.INTERSECT};if(math.containsAABB3(aabbRight,entityAABB)){this._insertEntityIntoKDTree(kdNode.right,entity,objectIdx,depth+1);return;}}kdNode.objects=kdNode.objects||[];kdNode.objects.push(objectIdx);math.expandAABB3(kdNode.aabb,entityAABB);}},{key:"_visitKDNode",value:function _visitKDNode(kdNode){var intersects=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Frustum.INTERSECT;if(intersects!==Frustum.INTERSECT&&kdNode.intersects===intersects){return;}if(intersects===Frustum.INTERSECT){intersects=frustumIntersectsAABB3(this._frustum,kdNode.aabb);kdNode.intersects=intersects;}var culled=intersects===Frustum.OUTSIDE;var objects=kdNode.objects;if(objects&&objects.length>0){for(var
|
|
26474
|
+
*/function get(){return this._enabled;},set:function set(enabled){this._enabled=enabled;}},{key:"_addModel",value:function _addModel(model){var _this141=this;var modelInfo={model:model,onDestroyed:model.on("destroyed",function(){_this141._removeModel(model);})};this._modelInfos[model.id]=modelInfo;this._kdTreeDirty=true;}},{key:"_removeModel",value:function _removeModel(model){var modelInfo=this._modelInfos[model.id];if(modelInfo){modelInfo.model.off(modelInfo.onDestroyed);delete this._modelInfos[model.id];this._kdTreeDirty=true;}}},{key:"_doCull",value:function _doCull(){var cullDirty=this._frustumDirty||this._kdTreeDirty;if(this._frustumDirty){this._buildFrustum();}if(this._kdTreeDirty){this._buildKDTree();}if(cullDirty){var kdNode=this._kdRoot;if(kdNode){this._visitKDNode(kdNode);}}}},{key:"_buildFrustum",value:function _buildFrustum(){var camera=this.viewer.scene.camera;setFrustum(this._frustum,camera.viewMatrix,camera.projMatrix);this._frustumDirty=false;}},{key:"_buildKDTree",value:function _buildKDTree(){var viewer=this.viewer;var scene=viewer.scene;var depth=0;if(this._kdRoot);this._kdRoot={aabb:scene.getAABB(),intersection:Frustum.INTERSECT};for(var objectIdx=0,len=this._objectCullStates.numObjects;objectIdx<len;objectIdx++){var entity=this._objectCullStates.objects[objectIdx];this._insertEntityIntoKDTree(this._kdRoot,entity,objectIdx,depth+1);}this._kdTreeDirty=false;}},{key:"_insertEntityIntoKDTree",value:function _insertEntityIntoKDTree(kdNode,entity,objectIdx,depth){var entityAABB=entity.aabb;if(depth>=this._maxTreeDepth){kdNode.objects=kdNode.objects||[];kdNode.objects.push(objectIdx);math.expandAABB3(kdNode.aabb,entityAABB);return;}if(kdNode.left){if(math.containsAABB3(kdNode.left.aabb,entityAABB)){this._insertEntityIntoKDTree(kdNode.left,entity,objectIdx,depth+1);return;}}if(kdNode.right){if(math.containsAABB3(kdNode.right.aabb,entityAABB)){this._insertEntityIntoKDTree(kdNode.right,entity,objectIdx,depth+1);return;}}var nodeAABB=kdNode.aabb;kdTreeDimLength[0]=nodeAABB[3]-nodeAABB[0];kdTreeDimLength[1]=nodeAABB[4]-nodeAABB[1];kdTreeDimLength[2]=nodeAABB[5]-nodeAABB[2];var dim=0;if(kdTreeDimLength[1]>kdTreeDimLength[dim]){dim=1;}if(kdTreeDimLength[2]>kdTreeDimLength[dim]){dim=2;}if(!kdNode.left){var aabbLeft=nodeAABB.slice();aabbLeft[dim+3]=(nodeAABB[dim]+nodeAABB[dim+3])/2.0;kdNode.left={aabb:aabbLeft,intersection:Frustum.INTERSECT};if(math.containsAABB3(aabbLeft,entityAABB)){this._insertEntityIntoKDTree(kdNode.left,entity,objectIdx,depth+1);return;}}if(!kdNode.right){var aabbRight=nodeAABB.slice();aabbRight[dim]=(nodeAABB[dim]+nodeAABB[dim+3])/2.0;kdNode.right={aabb:aabbRight,intersection:Frustum.INTERSECT};if(math.containsAABB3(aabbRight,entityAABB)){this._insertEntityIntoKDTree(kdNode.right,entity,objectIdx,depth+1);return;}}kdNode.objects=kdNode.objects||[];kdNode.objects.push(objectIdx);math.expandAABB3(kdNode.aabb,entityAABB);}},{key:"_visitKDNode",value:function _visitKDNode(kdNode){var intersects=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Frustum.INTERSECT;if(intersects!==Frustum.INTERSECT&&kdNode.intersects===intersects){return;}if(intersects===Frustum.INTERSECT){intersects=frustumIntersectsAABB3(this._frustum,kdNode.aabb);kdNode.intersects=intersects;}var culled=intersects===Frustum.OUTSIDE;var objects=kdNode.objects;if(objects&&objects.length>0){for(var _i591=0,len=objects.length;_i591<len;_i591++){var objectIdx=objects[_i591];this._objectCullStates.setObjectViewCulled(objectIdx,culled);}}if(kdNode.left){this._visitKDNode(kdNode.left,intersects);}if(kdNode.right){this._visitKDNode(kdNode.right,intersects);}}/**
|
|
26475
26475
|
* @private
|
|
26476
26476
|
*/},{key:"send",value:function send(name,value){}/**
|
|
26477
26477
|
* Destroys this ViewCullPlugin.
|
|
@@ -26845,7 +26845,7 @@ n=len>2000?2000:len;len-=n;do{s1=s1+buf[pos++]|0;s2=s2+s1|0;}while(--n);s1%=6552
|
|
|
26845
26845
|
// 3. This notice may not be removed or altered from any source distribution.
|
|
26846
26846
|
// Use ordinary array, since untyped makes no boost here
|
|
26847
26847
|
var makeTable=function makeTable(){var c,table=[];for(var n=0;n<256;n++){c=n;for(var k=0;k<8;k++){c=c&1?0xEDB88320^c>>>1:c>>>1;}table[n]=c;}return table;};// Create table on load. Just 255 signed longs. Not a problem.
|
|
26848
|
-
var crcTable=new Uint32Array(makeTable());var crc32=function crc32(crc,buf,len,pos){var t=crcTable;var end=pos+len;crc^=-1;for(var
|
|
26848
|
+
var crcTable=new Uint32Array(makeTable());var crc32=function crc32(crc,buf,len,pos){var t=crcTable;var end=pos+len;crc^=-1;for(var _i592=pos;_i592<end;_i592++){crc=crc>>>8^t[(crc^buf[_i592])&0xFF];}return crc^-1;// >>> 0;
|
|
26849
26849
|
};var crc32_1=crc32;// (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
|
26850
26850
|
// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
|
|
26851
26851
|
//
|
|
@@ -27277,8 +27277,8 @@ var tmpDict=new Uint8Array(s.w_size);tmpDict.set(dictionary.subarray(dictLength-
|
|
|
27277
27277
|
module.exports.deflateTune = deflateTune;
|
|
27278
27278
|
*/var deflate_1$2={deflateInit:deflateInit_1,deflateInit2:deflateInit2_1,deflateReset:deflateReset_1,deflateResetKeep:deflateResetKeep_1,deflateSetHeader:deflateSetHeader_1,deflate:deflate_2$1,deflateEnd:deflateEnd_1,deflateSetDictionary:deflateSetDictionary_1,deflateInfo:deflateInfo};var _has=function _has(obj,key){return Object.prototype.hasOwnProperty.call(obj,key);};var assign=function assign(obj/*from1, from2, from3, ...*/){var sources=Array.prototype.slice.call(arguments,1);while(sources.length){var source=sources.shift();if(!source){continue;}if(_typeof(source)!=='object'){throw new TypeError(source+'must be non-object');}for(var _p4 in source){if(_has(source,_p4)){obj[_p4]=source[_p4];}}}return obj;};// Join array of chunks to single array.
|
|
27279
27279
|
var flattenChunks=function flattenChunks(chunks){// calculate data length
|
|
27280
|
-
var len=0;for(var
|
|
27281
|
-
var result=new Uint8Array(len);for(var
|
|
27280
|
+
var len=0;for(var _i593=0,_l2=chunks.length;_i593<_l2;_i593++){len+=chunks[_i593].length;}// join chunks
|
|
27281
|
+
var result=new Uint8Array(len);for(var _i594=0,pos=0,_l3=chunks.length;_i594<_l3;_i594++){var chunk=chunks[_i594];result.set(chunk,pos);pos+=chunk.length;}return result;};var common={assign:assign,flattenChunks:flattenChunks};// String encode/decode helpers
|
|
27282
27282
|
// Quick check if we can use fast array to bin string conversion
|
|
27283
27283
|
//
|
|
27284
27284
|
// - apply(Array) can fail on Android 2.2
|
|
@@ -27296,7 +27296,7 @@ for(i=0,m_pos=0;i<buf_len;m_pos++){c=str.charCodeAt(m_pos);if((c&0xfc00)===0xd80
|
|
|
27296
27296
|
var buf2binstring=function buf2binstring(buf,len){// On Chrome, the arguments in a function call that are allowed is `65534`.
|
|
27297
27297
|
// If the length of the buffer is smaller than that, we can use this optimization,
|
|
27298
27298
|
// otherwise we will take a slower path.
|
|
27299
|
-
if(len<65534){if(buf.subarray&&STR_APPLY_UIA_OK){return String.fromCharCode.apply(null,buf.length===len?buf:buf.subarray(0,len));}}var result='';for(var
|
|
27299
|
+
if(len<65534){if(buf.subarray&&STR_APPLY_UIA_OK){return String.fromCharCode.apply(null,buf.length===len?buf:buf.subarray(0,len));}}var result='';for(var _i595=0;_i595<len;_i595++){result+=String.fromCharCode(buf[_i595]);}return result;};// convert array to string
|
|
27300
27300
|
var buf2string=function buf2string(buf,max){var len=max||buf.length;if(typeof TextDecoder==='function'&&TextDecoder.prototype.decode){return new TextDecoder().decode(buf.subarray(0,max));}var i,out;// Reserve max possible length (2 words per char)
|
|
27301
27301
|
// NB: by unknown reasons, Array is significantly faster for
|
|
27302
27302
|
// String.fromCharCode.apply than Uint16Array.
|
|
@@ -28193,7 +28193,7 @@ if(inflator.err)throw inflator.msg||messages[inflator.err];return inflator.resul
|
|
|
28193
28193
|
DEPRECATED
|
|
28194
28194
|
|
|
28195
28195
|
*/var pako$9=window.pako||p;if(!pako$9.inflate){// See https://github.com/nodeca/pako/issues/97
|
|
28196
|
-
pako$9=pako$9["default"];}var decompressColor$9=function(){var color2=new Float32Array(3);return function(color){color2[0]=color[0]/255.0;color2[1]=color[1]/255.0;color2[2]=color[2]/255.0;return color2;};}();function extract$9(elements){return{positions:elements[0],normals:elements[1],indices:elements[2],edgeIndices:elements[3],meshPositions:elements[4],meshIndices:elements[5],meshEdgesIndices:elements[6],meshColors:elements[7],entityIDs:elements[8],entityMeshes:elements[9],entityIsObjects:elements[10],positionsDecodeMatrix:elements[11]};}function inflate$9(deflatedData){return{positions:new Uint16Array(pako$9.inflate(deflatedData.positions).buffer),normals:new Int8Array(pako$9.inflate(deflatedData.normals).buffer),indices:new Uint32Array(pako$9.inflate(deflatedData.indices).buffer),edgeIndices:new Uint32Array(pako$9.inflate(deflatedData.edgeIndices).buffer),meshPositions:new Uint32Array(pako$9.inflate(deflatedData.meshPositions).buffer),meshIndices:new Uint32Array(pako$9.inflate(deflatedData.meshIndices).buffer),meshEdgesIndices:new Uint32Array(pako$9.inflate(deflatedData.meshEdgesIndices).buffer),meshColors:new Uint8Array(pako$9.inflate(deflatedData.meshColors).buffer),entityIDs:pako$9.inflate(deflatedData.entityIDs,{to:'string'}),entityMeshes:new Uint32Array(pako$9.inflate(deflatedData.entityMeshes).buffer),entityIsObjects:new Uint8Array(pako$9.inflate(deflatedData.entityIsObjects).buffer),positionsDecodeMatrix:new Float32Array(pako$9.inflate(deflatedData.positionsDecodeMatrix).buffer)};}function load$9(viewer,options,inflatedData,sceneModel){sceneModel.positionsCompression="precompressed";sceneModel.normalsCompression="precompressed";var positions=inflatedData.positions;var normals=inflatedData.normals;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var meshPositions=inflatedData.meshPositions;var meshIndices=inflatedData.meshIndices;var meshEdgesIndices=inflatedData.meshEdgesIndices;var meshColors=inflatedData.meshColors;var entityIDs=JSON.parse(inflatedData.entityIDs);var entityMeshes=inflatedData.entityMeshes;var entityIsObjects=inflatedData.entityIsObjects;var numMeshes=meshPositions.length;var numEntities=entityMeshes.length;for(var
|
|
28196
|
+
pako$9=pako$9["default"];}var decompressColor$9=function(){var color2=new Float32Array(3);return function(color){color2[0]=color[0]/255.0;color2[1]=color[1]/255.0;color2[2]=color[2]/255.0;return color2;};}();function extract$9(elements){return{positions:elements[0],normals:elements[1],indices:elements[2],edgeIndices:elements[3],meshPositions:elements[4],meshIndices:elements[5],meshEdgesIndices:elements[6],meshColors:elements[7],entityIDs:elements[8],entityMeshes:elements[9],entityIsObjects:elements[10],positionsDecodeMatrix:elements[11]};}function inflate$9(deflatedData){return{positions:new Uint16Array(pako$9.inflate(deflatedData.positions).buffer),normals:new Int8Array(pako$9.inflate(deflatedData.normals).buffer),indices:new Uint32Array(pako$9.inflate(deflatedData.indices).buffer),edgeIndices:new Uint32Array(pako$9.inflate(deflatedData.edgeIndices).buffer),meshPositions:new Uint32Array(pako$9.inflate(deflatedData.meshPositions).buffer),meshIndices:new Uint32Array(pako$9.inflate(deflatedData.meshIndices).buffer),meshEdgesIndices:new Uint32Array(pako$9.inflate(deflatedData.meshEdgesIndices).buffer),meshColors:new Uint8Array(pako$9.inflate(deflatedData.meshColors).buffer),entityIDs:pako$9.inflate(deflatedData.entityIDs,{to:'string'}),entityMeshes:new Uint32Array(pako$9.inflate(deflatedData.entityMeshes).buffer),entityIsObjects:new Uint8Array(pako$9.inflate(deflatedData.entityIsObjects).buffer),positionsDecodeMatrix:new Float32Array(pako$9.inflate(deflatedData.positionsDecodeMatrix).buffer)};}function load$9(viewer,options,inflatedData,sceneModel){sceneModel.positionsCompression="precompressed";sceneModel.normalsCompression="precompressed";var positions=inflatedData.positions;var normals=inflatedData.normals;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var meshPositions=inflatedData.meshPositions;var meshIndices=inflatedData.meshIndices;var meshEdgesIndices=inflatedData.meshEdgesIndices;var meshColors=inflatedData.meshColors;var entityIDs=JSON.parse(inflatedData.entityIDs);var entityMeshes=inflatedData.entityMeshes;var entityIsObjects=inflatedData.entityIsObjects;var numMeshes=meshPositions.length;var numEntities=entityMeshes.length;for(var _i596=0;_i596<numEntities;_i596++){var xktEntityId=entityIDs[_i596];var entityId=options.globalizeObjectIds?math.globalizeObjectId(sceneModel.id,xktEntityId):xktEntityId;var metaObject=viewer.metaScene.metaObjects[entityId];var entityDefaults={};var meshDefaults={};if(metaObject){if(options.excludeTypesMap&&metaObject.type&&options.excludeTypesMap[metaObject.type]){continue;}if(options.includeTypesMap&&metaObject.type&&!options.includeTypesMap[metaObject.type]){continue;}var props=options.objectDefaults?options.objectDefaults[metaObject.type]||options.objectDefaults["DEFAULT"]:null;if(props){if(props.visible===false){entityDefaults.visible=false;}if(props.pickable===false){entityDefaults.pickable=false;}if(props.colorize){meshDefaults.color=props.colorize;}if(props.opacity!==undefined&&props.opacity!==null){meshDefaults.opacity=props.opacity;}}}else{if(options.excludeUnclassifiedObjects){continue;}}var lastEntity=_i596===numEntities-1;var meshIds=[];for(var j=entityMeshes[_i596],jlen=lastEntity?entityMeshes.length:entityMeshes[_i596+1];j<jlen;j++){var lastMesh=j===numMeshes-1;var meshId=entityId+".mesh."+j;var _color3=decompressColor$9(meshColors.subarray(j*4,j*4+3));var opacity=meshColors[j*4+3]/255.0;sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,primitive:"triangles",positionsCompressed:positions.subarray(meshPositions[j],lastMesh?positions.length:meshPositions[j+1]),normalsCompressed:normals.subarray(meshPositions[j],lastMesh?positions.length:meshPositions[j+1]),indices:indices.subarray(meshIndices[j],lastMesh?indices.length:meshIndices[j+1]),edgeIndices:edgeIndices.subarray(meshEdgesIndices[j],lastMesh?edgeIndices.length:meshEdgesIndices[j+1]),positionsDecodeMatrix:inflatedData.positionsDecodeMatrix,color:_color3,opacity:opacity}));meshIds.push(meshId);}sceneModel.createEntity(utils.apply(entityDefaults,{id:entityId,isObject:entityIsObjects[_i596]===1,meshIds:meshIds}));}}/** @private */var ParserV1={version:1,parse:function parse(viewer,options,elements,sceneModel){var deflatedData=extract$9(elements);var inflatedData=inflate$9(deflatedData);load$9(viewer,options,inflatedData,sceneModel);}};/*
|
|
28197
28197
|
|
|
28198
28198
|
Parser for .XKT Format V2
|
|
28199
28199
|
|
|
@@ -28202,14 +28202,14 @@ DEPRECATED
|
|
|
28202
28202
|
.XKT specifications: https://github.com/xeokit/xeokit-sdk/wiki/XKT-Format
|
|
28203
28203
|
|
|
28204
28204
|
*/var pako$8=window.pako||p;if(!pako$8.inflate){// See https://github.com/nodeca/pako/issues/97
|
|
28205
|
-
pako$8=pako$8["default"];}function extract$8(elements){return{positions:elements[0],normals:elements[1],indices:elements[2],edgeIndices:elements[3],meshPositions:elements[4],meshIndices:elements[5],meshEdgesIndices:elements[6],meshColors:elements[7],entityIDs:elements[8],entityMeshes:elements[9],entityIsObjects:elements[10],positionsDecodeMatrix:elements[11],entityMeshIds:elements[12],entityMatrices:elements[13],entityUsesInstancing:elements[14]};}function inflate$8(deflatedData){return{positions:new Uint16Array(pako$8.inflate(deflatedData.positions).buffer),normals:new Int8Array(pako$8.inflate(deflatedData.normals).buffer),indices:new Uint32Array(pako$8.inflate(deflatedData.indices).buffer),edgeIndices:new Uint32Array(pako$8.inflate(deflatedData.edgeIndices).buffer),meshPositions:new Uint32Array(pako$8.inflate(deflatedData.meshPositions).buffer),meshIndices:new Uint32Array(pako$8.inflate(deflatedData.meshIndices).buffer),meshEdgesIndices:new Uint32Array(pako$8.inflate(deflatedData.meshEdgesIndices).buffer),meshColors:new Uint8Array(pako$8.inflate(deflatedData.meshColors).buffer),entityIDs:pako$8.inflate(deflatedData.entityIDs,{to:'string'}),entityMeshes:new Uint32Array(pako$8.inflate(deflatedData.entityMeshes).buffer),entityIsObjects:new Uint8Array(pako$8.inflate(deflatedData.entityIsObjects).buffer),positionsDecodeMatrix:new Float32Array(pako$8.inflate(deflatedData.positionsDecodeMatrix).buffer),entityMeshIds:new Uint32Array(pako$8.inflate(deflatedData.entityMeshIds).buffer),entityMatrices:new Float32Array(pako$8.inflate(deflatedData.entityMatrices).buffer),entityUsesInstancing:new Uint8Array(pako$8.inflate(deflatedData.entityUsesInstancing).buffer)};}var decompressColor$8=function(){var color2=new Float32Array(3);return function(color){color2[0]=color[0]/255.0;color2[1]=color[1]/255.0;color2[2]=color[2]/255.0;return color2;};}();function load$8(viewer,options,inflatedData,sceneModel){sceneModel.positionsCompression="precompressed";sceneModel.normalsCompression="precompressed";var positions=inflatedData.positions;var normals=inflatedData.normals;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var meshPositions=inflatedData.meshPositions;var meshIndices=inflatedData.meshIndices;var meshEdgesIndices=inflatedData.meshEdgesIndices;var meshColors=inflatedData.meshColors;var entityIDs=JSON.parse(inflatedData.entityIDs);var entityMeshes=inflatedData.entityMeshes;var entityIsObjects=inflatedData.entityIsObjects;var entityMeshIds=inflatedData.entityMeshIds;var entityMatrices=inflatedData.entityMatrices;var entityUsesInstancing=inflatedData.entityUsesInstancing;var numMeshes=meshPositions.length;var numEntities=entityMeshes.length;var alreadyCreatedGeometries={};for(var
|
|
28205
|
+
pako$8=pako$8["default"];}function extract$8(elements){return{positions:elements[0],normals:elements[1],indices:elements[2],edgeIndices:elements[3],meshPositions:elements[4],meshIndices:elements[5],meshEdgesIndices:elements[6],meshColors:elements[7],entityIDs:elements[8],entityMeshes:elements[9],entityIsObjects:elements[10],positionsDecodeMatrix:elements[11],entityMeshIds:elements[12],entityMatrices:elements[13],entityUsesInstancing:elements[14]};}function inflate$8(deflatedData){return{positions:new Uint16Array(pako$8.inflate(deflatedData.positions).buffer),normals:new Int8Array(pako$8.inflate(deflatedData.normals).buffer),indices:new Uint32Array(pako$8.inflate(deflatedData.indices).buffer),edgeIndices:new Uint32Array(pako$8.inflate(deflatedData.edgeIndices).buffer),meshPositions:new Uint32Array(pako$8.inflate(deflatedData.meshPositions).buffer),meshIndices:new Uint32Array(pako$8.inflate(deflatedData.meshIndices).buffer),meshEdgesIndices:new Uint32Array(pako$8.inflate(deflatedData.meshEdgesIndices).buffer),meshColors:new Uint8Array(pako$8.inflate(deflatedData.meshColors).buffer),entityIDs:pako$8.inflate(deflatedData.entityIDs,{to:'string'}),entityMeshes:new Uint32Array(pako$8.inflate(deflatedData.entityMeshes).buffer),entityIsObjects:new Uint8Array(pako$8.inflate(deflatedData.entityIsObjects).buffer),positionsDecodeMatrix:new Float32Array(pako$8.inflate(deflatedData.positionsDecodeMatrix).buffer),entityMeshIds:new Uint32Array(pako$8.inflate(deflatedData.entityMeshIds).buffer),entityMatrices:new Float32Array(pako$8.inflate(deflatedData.entityMatrices).buffer),entityUsesInstancing:new Uint8Array(pako$8.inflate(deflatedData.entityUsesInstancing).buffer)};}var decompressColor$8=function(){var color2=new Float32Array(3);return function(color){color2[0]=color[0]/255.0;color2[1]=color[1]/255.0;color2[2]=color[2]/255.0;return color2;};}();function load$8(viewer,options,inflatedData,sceneModel){sceneModel.positionsCompression="precompressed";sceneModel.normalsCompression="precompressed";var positions=inflatedData.positions;var normals=inflatedData.normals;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var meshPositions=inflatedData.meshPositions;var meshIndices=inflatedData.meshIndices;var meshEdgesIndices=inflatedData.meshEdgesIndices;var meshColors=inflatedData.meshColors;var entityIDs=JSON.parse(inflatedData.entityIDs);var entityMeshes=inflatedData.entityMeshes;var entityIsObjects=inflatedData.entityIsObjects;var entityMeshIds=inflatedData.entityMeshIds;var entityMatrices=inflatedData.entityMatrices;var entityUsesInstancing=inflatedData.entityUsesInstancing;var numMeshes=meshPositions.length;var numEntities=entityMeshes.length;var alreadyCreatedGeometries={};for(var _i597=0;_i597<numEntities;_i597++){var xktEntityId=entityIDs[_i597];var entityId=options.globalizeObjectIds?math.globalizeObjectId(sceneModel.id,xktEntityId):xktEntityId;var metaObject=viewer.metaScene.metaObjects[entityId];var entityDefaults={};var meshDefaults={};var entityMatrix=entityMatrices.subarray(_i597*16,_i597*16+16);if(metaObject){if(options.excludeTypesMap&&metaObject.type&&options.excludeTypesMap[metaObject.type]){continue;}if(options.includeTypesMap&&metaObject.type&&!options.includeTypesMap[metaObject.type]){continue;}var props=options.objectDefaults?options.objectDefaults[metaObject.type]||options.objectDefaults["DEFAULT"]:null;if(props){if(props.visible===false){entityDefaults.visible=false;}if(props.pickable===false){entityDefaults.pickable=false;}if(props.colorize){meshDefaults.color=props.colorize;}if(props.opacity!==undefined&&props.opacity!==null){meshDefaults.opacity=props.opacity;}}}else{if(options.excludeUnclassifiedObjects){continue;}}var lastEntity=_i597===numEntities-1;var meshIds=[];for(var j=entityMeshes[_i597],jlen=lastEntity?entityMeshIds.length:entityMeshes[_i597+1];j<jlen;j++){var jj=entityMeshIds[j];var lastMesh=jj===numMeshes-1;var meshId=entityId+".mesh."+jj;var _color4=decompressColor$8(meshColors.subarray(jj*4,jj*4+3));var opacity=meshColors[jj*4+3]/255.0;var tmpPositions=positions.subarray(meshPositions[jj],lastMesh?positions.length:meshPositions[jj+1]);var tmpNormals=normals.subarray(meshPositions[jj],lastMesh?positions.length:meshPositions[jj+1]);var tmpIndices=indices.subarray(meshIndices[jj],lastMesh?indices.length:meshIndices[jj+1]);var tmpEdgeIndices=edgeIndices.subarray(meshEdgesIndices[jj],lastMesh?edgeIndices.length:meshEdgesIndices[jj+1]);if(entityUsesInstancing[_i597]===1){var geometryId="geometry."+jj;if(!(geometryId in alreadyCreatedGeometries)){sceneModel.createGeometry({id:geometryId,positionsCompressed:tmpPositions,normalsCompressed:tmpNormals,indices:tmpIndices,edgeIndices:tmpEdgeIndices,primitive:"triangles",positionsDecodeMatrix:inflatedData.positionsDecodeMatrix});alreadyCreatedGeometries[geometryId]=true;}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,color:_color4,opacity:opacity,matrix:entityMatrix,geometryId:geometryId}));meshIds.push(meshId);}else{sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,primitive:"triangles",positionsCompressed:tmpPositions,normalsCompressed:tmpNormals,indices:tmpIndices,edgeIndices:tmpEdgeIndices,positionsDecodeMatrix:inflatedData.positionsDecodeMatrix,color:_color4,opacity:opacity}));meshIds.push(meshId);}}if(meshIds.length){sceneModel.createEntity(utils.apply(entityDefaults,{id:entityId,isObject:entityIsObjects[_i597]===1,meshIds:meshIds}));}}}/** @private */var ParserV2={version:2,parse:function parse(viewer,options,elements,sceneModel){var deflatedData=extract$8(elements);var inflatedData=inflate$8(deflatedData);load$8(viewer,options,inflatedData,sceneModel);}};/*
|
|
28206
28206
|
|
|
28207
28207
|
Parser for .XKT Format V3
|
|
28208
28208
|
|
|
28209
28209
|
.XKT specifications: https://github.com/xeokit/xeokit-sdk/wiki/XKT-Format
|
|
28210
28210
|
|
|
28211
28211
|
*/var pako$7=window.pako||p;if(!pako$7.inflate){// See https://github.com/nodeca/pako/issues/97
|
|
28212
|
-
pako$7=pako$7["default"];}function extract$7(elements){return{positions:elements[0],normals:elements[1],indices:elements[2],edgeIndices:elements[3],meshPositions:elements[4],meshIndices:elements[5],meshEdgesIndices:elements[6],meshColors:elements[7],entityIDs:elements[8],entityMeshes:elements[9],entityIsObjects:elements[10],instancedPositionsDecodeMatrix:elements[11],batchedPositionsDecodeMatrix:elements[12],entityMeshIds:elements[13],entityMatrices:elements[14],entityUsesInstancing:elements[15]};}function inflate$7(deflatedData){return{positions:new Uint16Array(pako$7.inflate(deflatedData.positions).buffer),normals:new Int8Array(pako$7.inflate(deflatedData.normals).buffer),indices:new Uint32Array(pako$7.inflate(deflatedData.indices).buffer),edgeIndices:new Uint32Array(pako$7.inflate(deflatedData.edgeIndices).buffer),meshPositions:new Uint32Array(pako$7.inflate(deflatedData.meshPositions).buffer),meshIndices:new Uint32Array(pako$7.inflate(deflatedData.meshIndices).buffer),meshEdgesIndices:new Uint32Array(pako$7.inflate(deflatedData.meshEdgesIndices).buffer),meshColors:new Uint8Array(pako$7.inflate(deflatedData.meshColors).buffer),entityIDs:pako$7.inflate(deflatedData.entityIDs,{to:'string'}),entityMeshes:new Uint32Array(pako$7.inflate(deflatedData.entityMeshes).buffer),entityIsObjects:new Uint8Array(pako$7.inflate(deflatedData.entityIsObjects).buffer),instancedPositionsDecodeMatrix:new Float32Array(pako$7.inflate(deflatedData.instancedPositionsDecodeMatrix).buffer),batchedPositionsDecodeMatrix:new Float32Array(pako$7.inflate(deflatedData.batchedPositionsDecodeMatrix).buffer),entityMeshIds:new Uint32Array(pako$7.inflate(deflatedData.entityMeshIds).buffer),entityMatrices:new Float32Array(pako$7.inflate(deflatedData.entityMatrices).buffer),entityUsesInstancing:new Uint8Array(pako$7.inflate(deflatedData.entityUsesInstancing).buffer)};}var decompressColor$7=function(){var color2=new Float32Array(3);return function(color){color2[0]=color[0]/255.0;color2[1]=color[1]/255.0;color2[2]=color[2]/255.0;return color2;};}();function load$7(viewer,options,inflatedData,sceneModel){sceneModel.positionsCompression="precompressed";sceneModel.normalsCompression="precompressed";var positions=inflatedData.positions;var normals=inflatedData.normals;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var meshPositions=inflatedData.meshPositions;var meshIndices=inflatedData.meshIndices;var meshEdgesIndices=inflatedData.meshEdgesIndices;var meshColors=inflatedData.meshColors;var entityIDs=JSON.parse(inflatedData.entityIDs);var entityMeshes=inflatedData.entityMeshes;var entityIsObjects=inflatedData.entityIsObjects;var entityMeshIds=inflatedData.entityMeshIds;var entityMatrices=inflatedData.entityMatrices;var entityUsesInstancing=inflatedData.entityUsesInstancing;var numMeshes=meshPositions.length;var numEntities=entityMeshes.length;var _alreadyCreatedGeometries={};for(var
|
|
28212
|
+
pako$7=pako$7["default"];}function extract$7(elements){return{positions:elements[0],normals:elements[1],indices:elements[2],edgeIndices:elements[3],meshPositions:elements[4],meshIndices:elements[5],meshEdgesIndices:elements[6],meshColors:elements[7],entityIDs:elements[8],entityMeshes:elements[9],entityIsObjects:elements[10],instancedPositionsDecodeMatrix:elements[11],batchedPositionsDecodeMatrix:elements[12],entityMeshIds:elements[13],entityMatrices:elements[14],entityUsesInstancing:elements[15]};}function inflate$7(deflatedData){return{positions:new Uint16Array(pako$7.inflate(deflatedData.positions).buffer),normals:new Int8Array(pako$7.inflate(deflatedData.normals).buffer),indices:new Uint32Array(pako$7.inflate(deflatedData.indices).buffer),edgeIndices:new Uint32Array(pako$7.inflate(deflatedData.edgeIndices).buffer),meshPositions:new Uint32Array(pako$7.inflate(deflatedData.meshPositions).buffer),meshIndices:new Uint32Array(pako$7.inflate(deflatedData.meshIndices).buffer),meshEdgesIndices:new Uint32Array(pako$7.inflate(deflatedData.meshEdgesIndices).buffer),meshColors:new Uint8Array(pako$7.inflate(deflatedData.meshColors).buffer),entityIDs:pako$7.inflate(deflatedData.entityIDs,{to:'string'}),entityMeshes:new Uint32Array(pako$7.inflate(deflatedData.entityMeshes).buffer),entityIsObjects:new Uint8Array(pako$7.inflate(deflatedData.entityIsObjects).buffer),instancedPositionsDecodeMatrix:new Float32Array(pako$7.inflate(deflatedData.instancedPositionsDecodeMatrix).buffer),batchedPositionsDecodeMatrix:new Float32Array(pako$7.inflate(deflatedData.batchedPositionsDecodeMatrix).buffer),entityMeshIds:new Uint32Array(pako$7.inflate(deflatedData.entityMeshIds).buffer),entityMatrices:new Float32Array(pako$7.inflate(deflatedData.entityMatrices).buffer),entityUsesInstancing:new Uint8Array(pako$7.inflate(deflatedData.entityUsesInstancing).buffer)};}var decompressColor$7=function(){var color2=new Float32Array(3);return function(color){color2[0]=color[0]/255.0;color2[1]=color[1]/255.0;color2[2]=color[2]/255.0;return color2;};}();function load$7(viewer,options,inflatedData,sceneModel){sceneModel.positionsCompression="precompressed";sceneModel.normalsCompression="precompressed";var positions=inflatedData.positions;var normals=inflatedData.normals;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var meshPositions=inflatedData.meshPositions;var meshIndices=inflatedData.meshIndices;var meshEdgesIndices=inflatedData.meshEdgesIndices;var meshColors=inflatedData.meshColors;var entityIDs=JSON.parse(inflatedData.entityIDs);var entityMeshes=inflatedData.entityMeshes;var entityIsObjects=inflatedData.entityIsObjects;var entityMeshIds=inflatedData.entityMeshIds;var entityMatrices=inflatedData.entityMatrices;var entityUsesInstancing=inflatedData.entityUsesInstancing;var numMeshes=meshPositions.length;var numEntities=entityMeshes.length;var _alreadyCreatedGeometries={};for(var _i598=0;_i598<numEntities;_i598++){var xktEntityId=entityIDs[_i598];var entityId=options.globalizeObjectIds?math.globalizeObjectId(sceneModel.id,xktEntityId):xktEntityId;var metaObject=viewer.metaScene.metaObjects[entityId];var entityDefaults={};var meshDefaults={};var entityMatrix=entityMatrices.subarray(_i598*16,_i598*16+16);if(metaObject){if(options.excludeTypesMap&&metaObject.type&&options.excludeTypesMap[metaObject.type]){continue;}if(options.includeTypesMap&&metaObject.type&&!options.includeTypesMap[metaObject.type]){continue;}var props=options.objectDefaults?options.objectDefaults[metaObject.type]||options.objectDefaults["DEFAULT"]:null;if(props){if(props.visible===false){entityDefaults.visible=false;}if(props.pickable===false){entityDefaults.pickable=false;}if(props.colorize){meshDefaults.color=props.colorize;}if(props.opacity!==undefined&&props.opacity!==null){meshDefaults.opacity=props.opacity;}}}else{if(options.excludeUnclassifiedObjects){continue;}}var lastEntity=_i598===numEntities-1;var meshIds=[];for(var j=entityMeshes[_i598],jlen=lastEntity?entityMeshIds.length:entityMeshes[_i598+1];j<jlen;j++){var jj=entityMeshIds[j];var lastMesh=jj===numMeshes-1;var meshId=entityId+".mesh."+jj;var _color5=decompressColor$7(meshColors.subarray(jj*4,jj*4+3));var opacity=meshColors[jj*4+3]/255.0;var tmpPositions=positions.subarray(meshPositions[jj],lastMesh?positions.length:meshPositions[jj+1]);var tmpNormals=normals.subarray(meshPositions[jj],lastMesh?positions.length:meshPositions[jj+1]);var tmpIndices=indices.subarray(meshIndices[jj],lastMesh?indices.length:meshIndices[jj+1]);var tmpEdgeIndices=edgeIndices.subarray(meshEdgesIndices[jj],lastMesh?edgeIndices.length:meshEdgesIndices[jj+1]);if(entityUsesInstancing[_i598]===1){var geometryId="geometry."+jj;if(!(geometryId in _alreadyCreatedGeometries)){sceneModel.createGeometry({id:geometryId,positionsCompressed:tmpPositions,normalsCompressed:tmpNormals,indices:tmpIndices,edgeIndices:tmpEdgeIndices,primitive:"triangles",positionsDecodeMatrix:inflatedData.instancedPositionsDecodeMatrix});_alreadyCreatedGeometries[geometryId]=true;}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,color:_color5,opacity:opacity,matrix:entityMatrix,geometryId:geometryId}));meshIds.push(meshId);}else{sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,primitive:"triangles",positionsCompressed:tmpPositions,normalsCompressed:tmpNormals,indices:tmpIndices,edgeIndices:tmpEdgeIndices,positionsDecodeMatrix:inflatedData.batchedPositionsDecodeMatrix,color:_color5,opacity:opacity}));meshIds.push(meshId);}}if(meshIds.length){sceneModel.createEntity(utils.apply(entityDefaults,{id:entityId,isObject:entityIsObjects[_i598]===1,meshIds:meshIds}));}}}/** @private */var ParserV3={version:3,parse:function parse(viewer,options,elements,sceneModel){var deflatedData=extract$7(elements);var inflatedData=inflate$7(deflatedData);load$7(viewer,options,inflatedData,sceneModel);}};/*
|
|
28213
28213
|
|
|
28214
28214
|
Parser for .XKT Format V4
|
|
28215
28215
|
|
|
@@ -28281,7 +28281,7 @@ indices:elements[3],edgeIndices:elements[4],// Transform matrices
|
|
|
28281
28281
|
matrices:elements[5],reusedGeometriesDecodeMatrix:elements[6],// Geometries
|
|
28282
28282
|
eachGeometryPrimitiveType:elements[7],eachGeometryPositionsPortion:elements[8],eachGeometryNormalsPortion:elements[9],eachGeometryColorsPortion:elements[10],eachGeometryIndicesPortion:elements[11],eachGeometryEdgeIndicesPortion:elements[12],// Meshes are grouped in runs that are shared by the same entities
|
|
28283
28283
|
eachMeshGeometriesPortion:elements[13],eachMeshMatricesPortion:elements[14],eachMeshMaterial:elements[15],// Entity elements in the following arrays are grouped in runs that are shared by the same tiles
|
|
28284
|
-
eachEntityId:elements[16],eachEntityMeshesPortion:elements[17],eachTileAABB:elements[18],eachTileEntitiesPortion:elements[19]};}function inflate$3(deflatedData){function inflate(array,options){return array.length===0?[]:pako$3.inflate(array,options).buffer;}return{positions:new Uint16Array(inflate(deflatedData.positions)),normals:new Int8Array(inflate(deflatedData.normals)),colors:new Uint8Array(inflate(deflatedData.colors)),indices:new Uint32Array(inflate(deflatedData.indices)),edgeIndices:new Uint32Array(inflate(deflatedData.edgeIndices)),matrices:new Float32Array(inflate(deflatedData.matrices)),reusedGeometriesDecodeMatrix:new Float32Array(inflate(deflatedData.reusedGeometriesDecodeMatrix)),eachGeometryPrimitiveType:new Uint8Array(inflate(deflatedData.eachGeometryPrimitiveType)),eachGeometryPositionsPortion:new Uint32Array(inflate(deflatedData.eachGeometryPositionsPortion)),eachGeometryNormalsPortion:new Uint32Array(inflate(deflatedData.eachGeometryNormalsPortion)),eachGeometryColorsPortion:new Uint32Array(inflate(deflatedData.eachGeometryColorsPortion)),eachGeometryIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryIndicesPortion)),eachGeometryEdgeIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryEdgeIndicesPortion)),eachMeshGeometriesPortion:new Uint32Array(inflate(deflatedData.eachMeshGeometriesPortion)),eachMeshMatricesPortion:new Uint32Array(inflate(deflatedData.eachMeshMatricesPortion)),eachMeshMaterial:new Uint8Array(inflate(deflatedData.eachMeshMaterial)),eachEntityId:pako$3.inflate(deflatedData.eachEntityId,{to:'string'}),eachEntityMeshesPortion:new Uint32Array(inflate(deflatedData.eachEntityMeshesPortion)),eachTileAABB:new Float64Array(inflate(deflatedData.eachTileAABB)),eachTileEntitiesPortion:new Uint32Array(inflate(deflatedData.eachTileEntitiesPortion))};}var decompressColor$3=function(){var floatColor=new Float32Array(3);return function(intColor){floatColor[0]=intColor[0]/255.0;floatColor[1]=intColor[1]/255.0;floatColor[2]=intColor[2]/255.0;return floatColor;};}();function convertColorsRGBToRGBA$1(colorsRGB){var colorsRGBA=[];for(var
|
|
28284
|
+
eachEntityId:elements[16],eachEntityMeshesPortion:elements[17],eachTileAABB:elements[18],eachTileEntitiesPortion:elements[19]};}function inflate$3(deflatedData){function inflate(array,options){return array.length===0?[]:pako$3.inflate(array,options).buffer;}return{positions:new Uint16Array(inflate(deflatedData.positions)),normals:new Int8Array(inflate(deflatedData.normals)),colors:new Uint8Array(inflate(deflatedData.colors)),indices:new Uint32Array(inflate(deflatedData.indices)),edgeIndices:new Uint32Array(inflate(deflatedData.edgeIndices)),matrices:new Float32Array(inflate(deflatedData.matrices)),reusedGeometriesDecodeMatrix:new Float32Array(inflate(deflatedData.reusedGeometriesDecodeMatrix)),eachGeometryPrimitiveType:new Uint8Array(inflate(deflatedData.eachGeometryPrimitiveType)),eachGeometryPositionsPortion:new Uint32Array(inflate(deflatedData.eachGeometryPositionsPortion)),eachGeometryNormalsPortion:new Uint32Array(inflate(deflatedData.eachGeometryNormalsPortion)),eachGeometryColorsPortion:new Uint32Array(inflate(deflatedData.eachGeometryColorsPortion)),eachGeometryIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryIndicesPortion)),eachGeometryEdgeIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryEdgeIndicesPortion)),eachMeshGeometriesPortion:new Uint32Array(inflate(deflatedData.eachMeshGeometriesPortion)),eachMeshMatricesPortion:new Uint32Array(inflate(deflatedData.eachMeshMatricesPortion)),eachMeshMaterial:new Uint8Array(inflate(deflatedData.eachMeshMaterial)),eachEntityId:pako$3.inflate(deflatedData.eachEntityId,{to:'string'}),eachEntityMeshesPortion:new Uint32Array(inflate(deflatedData.eachEntityMeshesPortion)),eachTileAABB:new Float64Array(inflate(deflatedData.eachTileAABB)),eachTileEntitiesPortion:new Uint32Array(inflate(deflatedData.eachTileEntitiesPortion))};}var decompressColor$3=function(){var floatColor=new Float32Array(3);return function(intColor){floatColor[0]=intColor[0]/255.0;floatColor[1]=intColor[1]/255.0;floatColor[2]=intColor[2]/255.0;return floatColor;};}();function convertColorsRGBToRGBA$1(colorsRGB){var colorsRGBA=[];for(var _i599=0,len=colorsRGB.length;_i599<len;_i599+=3){colorsRGBA.push(colorsRGB[_i599]);colorsRGBA.push(colorsRGB[_i599+1]);colorsRGBA.push(colorsRGB[_i599+2]);colorsRGBA.push(1.0);}return colorsRGBA;}function load$3(viewer,options,inflatedData,sceneModel){var positions=inflatedData.positions;var normals=inflatedData.normals;var colors=inflatedData.colors;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var matrices=inflatedData.matrices;var reusedGeometriesDecodeMatrix=inflatedData.reusedGeometriesDecodeMatrix;var eachGeometryPrimitiveType=inflatedData.eachGeometryPrimitiveType;var eachGeometryPositionsPortion=inflatedData.eachGeometryPositionsPortion;var eachGeometryNormalsPortion=inflatedData.eachGeometryNormalsPortion;var eachGeometryColorsPortion=inflatedData.eachGeometryColorsPortion;var eachGeometryIndicesPortion=inflatedData.eachGeometryIndicesPortion;var eachGeometryEdgeIndicesPortion=inflatedData.eachGeometryEdgeIndicesPortion;var eachMeshGeometriesPortion=inflatedData.eachMeshGeometriesPortion;var eachMeshMatricesPortion=inflatedData.eachMeshMatricesPortion;var eachMeshMaterial=inflatedData.eachMeshMaterial;var eachEntityId=JSON.parse(inflatedData.eachEntityId);var eachEntityMeshesPortion=inflatedData.eachEntityMeshesPortion;var eachTileAABB=inflatedData.eachTileAABB;var eachTileEntitiesPortion=inflatedData.eachTileEntitiesPortion;var numGeometries=eachGeometryPositionsPortion.length;var numMeshes=eachMeshGeometriesPortion.length;var numEntities=eachEntityId.length;var numTiles=eachTileEntitiesPortion.length;var nextMeshId=0;// Count instances of each geometry
|
|
28285
28285
|
var geometryReuseCounts=new Uint32Array(numGeometries);for(var meshIndex=0;meshIndex<numMeshes;meshIndex++){var geometryIndex=eachMeshGeometriesPortion[meshIndex];if(geometryReuseCounts[geometryIndex]!==undefined){geometryReuseCounts[geometryIndex]++;}else{geometryReuseCounts[geometryIndex]=1;}}// Iterate over tiles
|
|
28286
28286
|
var tileCenter=math.vec3();var rtcAABB=math.AABB3();for(var tileIndex=0;tileIndex<numTiles;tileIndex++){var lastTileIndex=numTiles-1;var atLastTile=tileIndex===lastTileIndex;var firstTileEntityIndex=eachTileEntitiesPortion[tileIndex];var lastTileEntityIndex=atLastTile?numEntities:eachTileEntitiesPortion[tileIndex+1];var tileAABBIndex=tileIndex*6;var tileAABB=eachTileAABB.subarray(tileAABBIndex,tileAABBIndex+6);math.getAABB3Center(tileAABB,tileCenter);rtcAABB[0]=tileAABB[0]-tileCenter[0];rtcAABB[1]=tileAABB[1]-tileCenter[1];rtcAABB[2]=tileAABB[2]-tileCenter[2];rtcAABB[3]=tileAABB[3]-tileCenter[0];rtcAABB[4]=tileAABB[4]-tileCenter[1];rtcAABB[5]=tileAABB[5]-tileCenter[2];var tileDecodeMatrix=geometryCompressionUtils.createPositionsDecodeMatrix(rtcAABB);var geometryCreated={};// Iterate over each tile's entities
|
|
28287
28287
|
for(var tileEntityIndex=firstTileEntityIndex;tileEntityIndex<lastTileEntityIndex;tileEntityIndex++){var xktEntityId=eachEntityId[tileEntityIndex];var entityId=options.globalizeObjectIds?math.globalizeObjectId(sceneModel.id,xktEntityId):xktEntityId;var _lastTileEntityIndex2=numEntities-1;var atLastTileEntity=tileEntityIndex===_lastTileEntityIndex2;var firstMeshIndex=eachEntityMeshesPortion[tileEntityIndex];var lastMeshIndex=atLastTileEntity?eachMeshGeometriesPortion.length:eachEntityMeshesPortion[tileEntityIndex+1];var meshIds=[];var metaObject=viewer.metaScene.metaObjects[entityId];var entityDefaults={};var meshDefaults={};if(metaObject){// Mask loading of object types
|
|
@@ -28299,7 +28299,7 @@ types:elements[0],eachMetaObjectId:elements[1],eachMetaObjectType:elements[2],ea
|
|
|
28299
28299
|
matrices:elements[10],reusedGeometriesDecodeMatrix:elements[11],// Geometries
|
|
28300
28300
|
eachGeometryPrimitiveType:elements[12],eachGeometryPositionsPortion:elements[13],eachGeometryNormalsPortion:elements[14],eachGeometryColorsPortion:elements[15],eachGeometryIndicesPortion:elements[16],eachGeometryEdgeIndicesPortion:elements[17],// Meshes are grouped in runs that are shared by the same entities
|
|
28301
28301
|
eachMeshGeometriesPortion:elements[18],eachMeshMatricesPortion:elements[19],eachMeshMaterial:elements[20],// Entity elements in the following arrays are grouped in runs that are shared by the same tiles
|
|
28302
|
-
eachEntityMetaObject:elements[21],eachEntityMeshesPortion:elements[22],eachTileAABB:elements[23],eachTileEntitiesPortion:elements[24]};}function inflate$2(deflatedData){function inflate(array,options){return array.length===0?[]:pako$2.inflate(array,options).buffer;}return{types:pako$2.inflate(deflatedData.types,{to:'string'}),eachMetaObjectId:pako$2.inflate(deflatedData.eachMetaObjectId,{to:'string'}),eachMetaObjectType:new Uint32Array(inflate(deflatedData.eachMetaObjectType)),eachMetaObjectName:pako$2.inflate(deflatedData.eachMetaObjectName,{to:'string'}),eachMetaObjectParent:new Uint32Array(inflate(deflatedData.eachMetaObjectParent)),positions:new Uint16Array(inflate(deflatedData.positions)),normals:new Int8Array(inflate(deflatedData.normals)),colors:new Uint8Array(inflate(deflatedData.colors)),indices:new Uint32Array(inflate(deflatedData.indices)),edgeIndices:new Uint32Array(inflate(deflatedData.edgeIndices)),matrices:new Float32Array(inflate(deflatedData.matrices)),reusedGeometriesDecodeMatrix:new Float32Array(inflate(deflatedData.reusedGeometriesDecodeMatrix)),eachGeometryPrimitiveType:new Uint8Array(inflate(deflatedData.eachGeometryPrimitiveType)),eachGeometryPositionsPortion:new Uint32Array(inflate(deflatedData.eachGeometryPositionsPortion)),eachGeometryNormalsPortion:new Uint32Array(inflate(deflatedData.eachGeometryNormalsPortion)),eachGeometryColorsPortion:new Uint32Array(inflate(deflatedData.eachGeometryColorsPortion)),eachGeometryIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryIndicesPortion)),eachGeometryEdgeIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryEdgeIndicesPortion)),eachMeshGeometriesPortion:new Uint32Array(inflate(deflatedData.eachMeshGeometriesPortion)),eachMeshMatricesPortion:new Uint32Array(inflate(deflatedData.eachMeshMatricesPortion)),eachMeshMaterial:new Uint8Array(inflate(deflatedData.eachMeshMaterial)),eachEntityMetaObject:new Uint32Array(inflate(deflatedData.eachEntityMetaObject)),eachEntityMeshesPortion:new Uint32Array(inflate(deflatedData.eachEntityMeshesPortion)),eachTileAABB:new Float64Array(inflate(deflatedData.eachTileAABB)),eachTileEntitiesPortion:new Uint32Array(inflate(deflatedData.eachTileEntitiesPortion))};}var decompressColor$2=function(){var floatColor=new Float32Array(3);return function(intColor){floatColor[0]=intColor[0]/255.0;floatColor[1]=intColor[1]/255.0;floatColor[2]=intColor[2]/255.0;return floatColor;};}();function convertColorsRGBToRGBA(colorsRGB){var colorsRGBA=[];for(var
|
|
28302
|
+
eachEntityMetaObject:elements[21],eachEntityMeshesPortion:elements[22],eachTileAABB:elements[23],eachTileEntitiesPortion:elements[24]};}function inflate$2(deflatedData){function inflate(array,options){return array.length===0?[]:pako$2.inflate(array,options).buffer;}return{types:pako$2.inflate(deflatedData.types,{to:'string'}),eachMetaObjectId:pako$2.inflate(deflatedData.eachMetaObjectId,{to:'string'}),eachMetaObjectType:new Uint32Array(inflate(deflatedData.eachMetaObjectType)),eachMetaObjectName:pako$2.inflate(deflatedData.eachMetaObjectName,{to:'string'}),eachMetaObjectParent:new Uint32Array(inflate(deflatedData.eachMetaObjectParent)),positions:new Uint16Array(inflate(deflatedData.positions)),normals:new Int8Array(inflate(deflatedData.normals)),colors:new Uint8Array(inflate(deflatedData.colors)),indices:new Uint32Array(inflate(deflatedData.indices)),edgeIndices:new Uint32Array(inflate(deflatedData.edgeIndices)),matrices:new Float32Array(inflate(deflatedData.matrices)),reusedGeometriesDecodeMatrix:new Float32Array(inflate(deflatedData.reusedGeometriesDecodeMatrix)),eachGeometryPrimitiveType:new Uint8Array(inflate(deflatedData.eachGeometryPrimitiveType)),eachGeometryPositionsPortion:new Uint32Array(inflate(deflatedData.eachGeometryPositionsPortion)),eachGeometryNormalsPortion:new Uint32Array(inflate(deflatedData.eachGeometryNormalsPortion)),eachGeometryColorsPortion:new Uint32Array(inflate(deflatedData.eachGeometryColorsPortion)),eachGeometryIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryIndicesPortion)),eachGeometryEdgeIndicesPortion:new Uint32Array(inflate(deflatedData.eachGeometryEdgeIndicesPortion)),eachMeshGeometriesPortion:new Uint32Array(inflate(deflatedData.eachMeshGeometriesPortion)),eachMeshMatricesPortion:new Uint32Array(inflate(deflatedData.eachMeshMatricesPortion)),eachMeshMaterial:new Uint8Array(inflate(deflatedData.eachMeshMaterial)),eachEntityMetaObject:new Uint32Array(inflate(deflatedData.eachEntityMetaObject)),eachEntityMeshesPortion:new Uint32Array(inflate(deflatedData.eachEntityMeshesPortion)),eachTileAABB:new Float64Array(inflate(deflatedData.eachTileAABB)),eachTileEntitiesPortion:new Uint32Array(inflate(deflatedData.eachTileEntitiesPortion))};}var decompressColor$2=function(){var floatColor=new Float32Array(3);return function(intColor){floatColor[0]=intColor[0]/255.0;floatColor[1]=intColor[1]/255.0;floatColor[2]=intColor[2]/255.0;return floatColor;};}();function convertColorsRGBToRGBA(colorsRGB){var colorsRGBA=[];for(var _i600=0,len=colorsRGB.length;_i600<len;_i600+=3){colorsRGBA.push(colorsRGB[_i600]);colorsRGBA.push(colorsRGB[_i600+1]);colorsRGBA.push(colorsRGB[_i600+2]);colorsRGBA.push(1.0);}return colorsRGBA;}function load$2(viewer,options,inflatedData,sceneModel){var types=JSON.parse(inflatedData.types);var eachMetaObjectId=JSON.parse(inflatedData.eachMetaObjectId);var eachMetaObjectType=inflatedData.eachMetaObjectType;var eachMetaObjectName=JSON.parse(inflatedData.eachMetaObjectName);var eachMetaObjectParent=inflatedData.eachMetaObjectParent;var positions=inflatedData.positions;var normals=inflatedData.normals;var colors=inflatedData.colors;var indices=inflatedData.indices;var edgeIndices=inflatedData.edgeIndices;var matrices=inflatedData.matrices;var reusedGeometriesDecodeMatrix=inflatedData.reusedGeometriesDecodeMatrix;var eachGeometryPrimitiveType=inflatedData.eachGeometryPrimitiveType;var eachGeometryPositionsPortion=inflatedData.eachGeometryPositionsPortion;var eachGeometryNormalsPortion=inflatedData.eachGeometryNormalsPortion;var eachGeometryColorsPortion=inflatedData.eachGeometryColorsPortion;var eachGeometryIndicesPortion=inflatedData.eachGeometryIndicesPortion;var eachGeometryEdgeIndicesPortion=inflatedData.eachGeometryEdgeIndicesPortion;var eachMeshGeometriesPortion=inflatedData.eachMeshGeometriesPortion;var eachMeshMatricesPortion=inflatedData.eachMeshMatricesPortion;var eachMeshMaterial=inflatedData.eachMeshMaterial;var eachEntityMetaObject=inflatedData.eachEntityMetaObject;var eachEntityMeshesPortion=inflatedData.eachEntityMeshesPortion;var eachTileAABB=inflatedData.eachTileAABB;var eachTileEntitiesPortion=inflatedData.eachTileEntitiesPortion;var numMetaObjects=eachMetaObjectId.length;var numGeometries=eachGeometryPositionsPortion.length;var numMeshes=eachMeshGeometriesPortion.length;var numEntities=eachEntityMetaObject.length;var numTiles=eachTileEntitiesPortion.length;var nextMeshId=0;// Create metamodel, unless already loaded from JSON by XKTLoaderPlugin
|
|
28303
28303
|
var metaModelId=sceneModel.id;if(!viewer.metaScene.metaModels[metaModelId]){var metaModelData={metaObjects:[]};for(var metaObjectIndex=0;metaObjectIndex<numMetaObjects;metaObjectIndex++){var metaObjectId=eachMetaObjectId[metaObjectIndex];var typeIndex=eachMetaObjectType[metaObjectIndex];var metaObjectType=types[typeIndex]||"default";var metaObjectName=eachMetaObjectName[metaObjectIndex];var metaObjectParentIndex=eachMetaObjectParent[metaObjectIndex];var metaObjectParentId=metaObjectParentIndex!==metaObjectIndex?eachMetaObjectId[metaObjectParentIndex]:null;metaModelData.metaObjects.push({id:metaObjectId,type:metaObjectType,name:metaObjectName,parent:metaObjectParentId});}viewer.metaScene.createMetaModel(metaModelId,metaModelData,{includeTypes:options.includeTypes,excludeTypes:options.excludeTypes,globalizeObjectIds:options.globalizeObjectIds});sceneModel.once("destroyed",function(){viewer.metaScene.destroyMetaModel(metaModelId);});}// Count instances of each geometry
|
|
28304
28304
|
var geometryReuseCounts=new Uint32Array(numGeometries);for(var meshIndex=0;meshIndex<numMeshes;meshIndex++){var geometryIndex=eachMeshGeometriesPortion[meshIndex];if(geometryReuseCounts[geometryIndex]!==undefined){geometryReuseCounts[geometryIndex]++;}else{geometryReuseCounts[geometryIndex]=1;}}// Iterate over tiles
|
|
28305
28305
|
var tileCenter=math.vec3();var rtcAABB=math.AABB3();var geometryArraysCache={};for(var tileIndex=0;tileIndex<numTiles;tileIndex++){var lastTileIndex=numTiles-1;var atLastTile=tileIndex===lastTileIndex;var firstTileEntityIndex=eachTileEntitiesPortion[tileIndex];var lastTileEntityIndex=atLastTile?numEntities:eachTileEntitiesPortion[tileIndex+1];var tileAABBIndex=tileIndex*6;var tileAABB=eachTileAABB.subarray(tileAABBIndex,tileAABBIndex+6);math.getAABB3Center(tileAABB,tileCenter);rtcAABB[0]=tileAABB[0]-tileCenter[0];rtcAABB[1]=tileAABB[1]-tileCenter[1];rtcAABB[2]=tileAABB[2]-tileCenter[2];rtcAABB[3]=tileAABB[3]-tileCenter[0];rtcAABB[4]=tileAABB[4]-tileCenter[1];rtcAABB[5]=tileAABB[5]-tileCenter[2];var tileDecodeMatrix=geometryCompressionUtils.createPositionsDecodeMatrix(rtcAABB);var geometryCreatedInTile={};// Iterate over each tile's entities
|
|
@@ -28308,7 +28308,7 @@ if(options.excludeTypesMap&&metaObject.type&&options.excludeTypesMap[metaObject.
|
|
|
28308
28308
|
var props=options.objectDefaults?options.objectDefaults[metaObject.type]||options.objectDefaults["DEFAULT"]:null;if(props){if(props.visible===false){entityDefaults.visible=false;}if(props.pickable===false){entityDefaults.pickable=false;}if(props.colorize){meshDefaults.color=props.colorize;}if(props.opacity!==undefined&&props.opacity!==null){meshDefaults.opacity=props.opacity;}if(props.metallic!==undefined&&props.metallic!==null){meshDefaults.metallic=props.metallic;}if(props.roughness!==undefined&&props.roughness!==null){meshDefaults.roughness=props.roughness;}}}else{if(options.excludeUnclassifiedObjects){continue;}}// Iterate each entity's meshes
|
|
28309
28309
|
for(var _meshIndex3=firstMeshIndex;_meshIndex3<lastMeshIndex;_meshIndex3++){var _geometryIndex2=eachMeshGeometriesPortion[_meshIndex3];var geometryReuseCount=geometryReuseCounts[_geometryIndex2];var isReusedGeometry=geometryReuseCount>1;var atLastGeometry=_geometryIndex2===numGeometries-1;var meshColor=decompressColor$2(eachMeshMaterial.subarray(_meshIndex3*6,_meshIndex3*6+3));var meshOpacity=eachMeshMaterial[_meshIndex3*6+3]/255.0;var meshMetallic=eachMeshMaterial[_meshIndex3*6+4]/255.0;var meshRoughness=eachMeshMaterial[_meshIndex3*6+5]/255.0;var meshId=nextMeshId++;if(isReusedGeometry){// Create mesh for multi-use geometry - create (or reuse) geometry, create mesh using that geometry
|
|
28310
28310
|
var meshMatrixIndex=eachMeshMatricesPortion[_meshIndex3];var meshMatrix=matrices.slice(meshMatrixIndex,meshMatrixIndex+16);var geometryId="geometry."+tileIndex+"."+_geometryIndex2;// These IDs are local to the VBOSceneModel
|
|
28311
|
-
var geometryArrays=geometryArraysCache[geometryId];if(!geometryArrays){geometryArrays={batchThisMesh:!options.reuseGeometries};var primitiveType=eachGeometryPrimitiveType[_geometryIndex2];var geometryValid=false;switch(primitiveType){case 0:geometryArrays.primitiveName="solid";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex2],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex2+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex2],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex2+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 1:geometryArrays.primitiveName="surface";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex2],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex2+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex2],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex2+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 2:geometryArrays.primitiveName="points";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryColors=convertColorsRGBToRGBA(colors.subarray(eachGeometryColorsPortion[_geometryIndex2],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex2+1]));geometryValid=geometryArrays.geometryPositions.length>0;break;case 3:geometryArrays.primitiveName="lines";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;default:continue;}if(!geometryValid){geometryArrays=null;}if(geometryArrays){if(geometryArrays.geometryPositions.length>1000);if(geometryArrays.batchThisMesh){geometryArrays.decompressedPositions=new Float32Array(geometryArrays.geometryPositions.length);var geometryPositions=geometryArrays.geometryPositions;var decompressedPositions=geometryArrays.decompressedPositions;for(var
|
|
28311
|
+
var geometryArrays=geometryArraysCache[geometryId];if(!geometryArrays){geometryArrays={batchThisMesh:!options.reuseGeometries};var primitiveType=eachGeometryPrimitiveType[_geometryIndex2];var geometryValid=false;switch(primitiveType){case 0:geometryArrays.primitiveName="solid";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex2],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex2+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex2],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex2+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 1:geometryArrays.primitiveName="surface";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex2],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex2+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex2],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex2+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 2:geometryArrays.primitiveName="points";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryColors=convertColorsRGBToRGBA(colors.subarray(eachGeometryColorsPortion[_geometryIndex2],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex2+1]));geometryValid=geometryArrays.geometryPositions.length>0;break;case 3:geometryArrays.primitiveName="lines";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;default:continue;}if(!geometryValid){geometryArrays=null;}if(geometryArrays){if(geometryArrays.geometryPositions.length>1000);if(geometryArrays.batchThisMesh){geometryArrays.decompressedPositions=new Float32Array(geometryArrays.geometryPositions.length);var geometryPositions=geometryArrays.geometryPositions;var decompressedPositions=geometryArrays.decompressedPositions;for(var _i601=0,len=geometryPositions.length;_i601<len;_i601+=3){decompressedPositions[_i601+0]=geometryPositions[_i601+0]*reusedGeometriesDecodeMatrix[0]+reusedGeometriesDecodeMatrix[12];decompressedPositions[_i601+1]=geometryPositions[_i601+1]*reusedGeometriesDecodeMatrix[5]+reusedGeometriesDecodeMatrix[13];decompressedPositions[_i601+2]=geometryPositions[_i601+2]*reusedGeometriesDecodeMatrix[10]+reusedGeometriesDecodeMatrix[14];}geometryArrays.geometryPositions=null;geometryArraysCache[geometryId]=geometryArrays;}}}if(geometryArrays){if(geometryArrays.batchThisMesh){var _decompressedPositions=geometryArrays.decompressedPositions;var _positions12=new Uint16Array(_decompressedPositions.length);for(var _i602=0,_len132=_decompressedPositions.length;_i602<_len132;_i602+=3){tempVec4a$2[0]=_decompressedPositions[_i602+0];tempVec4a$2[1]=_decompressedPositions[_i602+1];tempVec4a$2[2]=_decompressedPositions[_i602+2];tempVec4a$2[3]=1;math.transformVec4(meshMatrix,tempVec4a$2,tempVec4b$2);geometryCompressionUtils.compressPosition(tempVec4b$2,rtcAABB,tempVec4a$2);_positions12[_i602+0]=tempVec4a$2[0];_positions12[_i602+1]=tempVec4a$2[1];_positions12[_i602+2]=tempVec4a$2[2];}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,origin:tileCenter,primitive:geometryArrays.primitiveName,positionsCompressed:_positions12,normalsCompressed:geometryArrays.geometryNormals,colorsCompressed:geometryArrays.geometryColors,indices:geometryArrays.geometryIndices,edgeIndices:geometryArrays.geometryEdgeIndices,positionsDecodeMatrix:tileDecodeMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}else{if(!geometryCreatedInTile[geometryId]){sceneModel.createGeometry({id:geometryId,primitive:geometryArrays.primitiveName,positionsCompressed:geometryArrays.geometryPositions,normalsCompressed:geometryArrays.geometryNormals,colorsCompressed:geometryArrays.geometryColors,indices:geometryArrays.geometryIndices,edgeIndices:geometryArrays.geometryEdgeIndices,positionsDecodeMatrix:reusedGeometriesDecodeMatrix});geometryCreatedInTile[geometryId]=true;}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,geometryId:geometryId,origin:tileCenter,matrix:meshMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}}}else{var _primitiveType2=eachGeometryPrimitiveType[_geometryIndex2];var primitiveName=void 0;var _geometryPositions2=void 0;var geometryNormals=void 0;var geometryColors=void 0;var geometryIndices=void 0;var geometryEdgeIndices=void 0;var _geometryValid=false;switch(_primitiveType2){case 0:primitiveName="solid";_geometryPositions2=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex2],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex2+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex2],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex2+1]);_geometryValid=_geometryPositions2.length>0&&geometryIndices.length>0;break;case 1:primitiveName="surface";_geometryPositions2=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex2],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex2+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex2],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex2+1]);_geometryValid=_geometryPositions2.length>0&&geometryIndices.length>0;break;case 2:primitiveName="points";_geometryPositions2=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryColors=convertColorsRGBToRGBA(colors.subarray(eachGeometryColorsPortion[_geometryIndex2],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex2+1]));_geometryValid=_geometryPositions2.length>0;break;case 3:primitiveName="lines";_geometryPositions2=positions.subarray(eachGeometryPositionsPortion[_geometryIndex2],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex2+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex2],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex2+1]);_geometryValid=_geometryPositions2.length>0&&geometryIndices.length>0;break;default:continue;}if(_geometryValid){sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,origin:tileCenter,primitive:primitiveName,positionsCompressed:_geometryPositions2,normalsCompressed:geometryNormals,colorsCompressed:geometryColors,indices:geometryIndices,edgeIndices:geometryEdgeIndices,positionsDecodeMatrix:tileDecodeMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}}}if(meshIds.length>0){sceneModel.createEntity(utils.apply(entityDefaults,{id:entityId,isObject:true,meshIds:meshIds}));}}}}/** @private */var ParserV8={version:8,parse:function parse(viewer,options,elements,sceneModel){var deflatedData=extract$2(elements);var inflatedData=inflate$2(deflatedData);load$2(viewer,options,inflatedData,sceneModel);}};/*
|
|
28312
28312
|
|
|
28313
28313
|
Parser for .XKT Format V9
|
|
28314
28314
|
|
|
@@ -28327,7 +28327,7 @@ if(options.excludeTypesMap&&metaObject.type&&options.excludeTypesMap[metaObject.
|
|
|
28327
28327
|
var props=options.objectDefaults?options.objectDefaults[metaObject.type]||options.objectDefaults["DEFAULT"]:null;if(props){if(props.visible===false){entityDefaults.visible=false;}if(props.pickable===false){entityDefaults.pickable=false;}if(props.colorize){meshDefaults.color=props.colorize;}if(props.opacity!==undefined&&props.opacity!==null){meshDefaults.opacity=props.opacity;}if(props.metallic!==undefined&&props.metallic!==null){meshDefaults.metallic=props.metallic;}if(props.roughness!==undefined&&props.roughness!==null){meshDefaults.roughness=props.roughness;}}}else{if(options.excludeUnclassifiedObjects){continue;}}// Iterate each entity's meshes
|
|
28328
28328
|
for(var _meshIndex4=firstMeshIndex;_meshIndex4<=lastMeshIndex;_meshIndex4++){var _geometryIndex3=eachMeshGeometriesPortion[_meshIndex4];var geometryReuseCount=geometryReuseCounts[_geometryIndex3];var isReusedGeometry=geometryReuseCount>1;var atLastGeometry=_geometryIndex3===numGeometries-1;var meshColor=decompressColor$1(eachMeshMaterial.subarray(_meshIndex4*6,_meshIndex4*6+3));var meshOpacity=eachMeshMaterial[_meshIndex4*6+3]/255.0;var meshMetallic=eachMeshMaterial[_meshIndex4*6+4]/255.0;var meshRoughness=eachMeshMaterial[_meshIndex4*6+5]/255.0;var meshId=nextMeshId++;if(isReusedGeometry){// Create mesh for multi-use geometry - create (or reuse) geometry, create mesh using that geometry
|
|
28329
28329
|
var meshMatrixIndex=eachMeshMatricesPortion[_meshIndex4];var meshMatrix=matrices.slice(meshMatrixIndex,meshMatrixIndex+16);var geometryId="geometry."+tileIndex+"."+_geometryIndex3;// These IDs are local to the VBOSceneModel
|
|
28330
|
-
var geometryArrays=geometryArraysCache[geometryId];if(!geometryArrays){geometryArrays={batchThisMesh:!options.reuseGeometries};var primitiveType=eachGeometryPrimitiveType[_geometryIndex3];var geometryValid=false;switch(primitiveType){case 0:geometryArrays.primitiveName="solid";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex3],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex3+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex3],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 1:geometryArrays.primitiveName="surface";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex3],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex3+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex3],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 2:geometryArrays.primitiveName="points";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryColors=colors.subarray(eachGeometryColorsPortion[_geometryIndex3],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0;break;case 3:geometryArrays.primitiveName="lines";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;default:continue;}if(!geometryValid){geometryArrays=null;}if(geometryArrays){if(geometryArrays.geometryPositions.length>1000);if(geometryArrays.batchThisMesh){geometryArrays.decompressedPositions=new Float32Array(geometryArrays.geometryPositions.length);geometryArrays.transformedAndRecompressedPositions=new Uint16Array(geometryArrays.geometryPositions.length);var geometryPositions=geometryArrays.geometryPositions;var decompressedPositions=geometryArrays.decompressedPositions;for(var
|
|
28330
|
+
var geometryArrays=geometryArraysCache[geometryId];if(!geometryArrays){geometryArrays={batchThisMesh:!options.reuseGeometries};var primitiveType=eachGeometryPrimitiveType[_geometryIndex3];var geometryValid=false;switch(primitiveType){case 0:geometryArrays.primitiveName="solid";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex3],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex3+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex3],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 1:geometryArrays.primitiveName="surface";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex3],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex3+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex3],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 2:geometryArrays.primitiveName="points";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryColors=colors.subarray(eachGeometryColorsPortion[_geometryIndex3],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0;break;case 3:geometryArrays.primitiveName="lines";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;default:continue;}if(!geometryValid){geometryArrays=null;}if(geometryArrays){if(geometryArrays.geometryPositions.length>1000);if(geometryArrays.batchThisMesh){geometryArrays.decompressedPositions=new Float32Array(geometryArrays.geometryPositions.length);geometryArrays.transformedAndRecompressedPositions=new Uint16Array(geometryArrays.geometryPositions.length);var geometryPositions=geometryArrays.geometryPositions;var decompressedPositions=geometryArrays.decompressedPositions;for(var _i603=0,len=geometryPositions.length;_i603<len;_i603+=3){decompressedPositions[_i603+0]=geometryPositions[_i603+0]*reusedGeometriesDecodeMatrix[0]+reusedGeometriesDecodeMatrix[12];decompressedPositions[_i603+1]=geometryPositions[_i603+1]*reusedGeometriesDecodeMatrix[5]+reusedGeometriesDecodeMatrix[13];decompressedPositions[_i603+2]=geometryPositions[_i603+2]*reusedGeometriesDecodeMatrix[10]+reusedGeometriesDecodeMatrix[14];}geometryArrays.geometryPositions=null;geometryArraysCache[geometryId]=geometryArrays;}}}if(geometryArrays){if(geometryArrays.batchThisMesh){var _decompressedPositions2=geometryArrays.decompressedPositions;var transformedAndRecompressedPositions=geometryArrays.transformedAndRecompressedPositions;for(var _i604=0,_len133=_decompressedPositions2.length;_i604<_len133;_i604+=3){tempVec4a$1[0]=_decompressedPositions2[_i604+0];tempVec4a$1[1]=_decompressedPositions2[_i604+1];tempVec4a$1[2]=_decompressedPositions2[_i604+2];tempVec4a$1[3]=1;math.transformVec4(meshMatrix,tempVec4a$1,tempVec4b$1);geometryCompressionUtils.compressPosition(tempVec4b$1,rtcAABB,tempVec4a$1);transformedAndRecompressedPositions[_i604+0]=tempVec4a$1[0];transformedAndRecompressedPositions[_i604+1]=tempVec4a$1[1];transformedAndRecompressedPositions[_i604+2]=tempVec4a$1[2];}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,origin:tileCenter,primitive:geometryArrays.primitiveName,positionsCompressed:transformedAndRecompressedPositions,normalsCompressed:geometryArrays.geometryNormals,colorsCompressed:geometryArrays.geometryColors,indices:geometryArrays.geometryIndices,edgeIndices:geometryArrays.geometryEdgeIndices,positionsDecodeMatrix:tileDecodeMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}else{if(!geometryCreatedInTile[geometryId]){sceneModel.createGeometry({id:geometryId,primitive:geometryArrays.primitiveName,positionsCompressed:geometryArrays.geometryPositions,normalsCompressed:geometryArrays.geometryNormals,colorsCompressed:geometryArrays.geometryColors,indices:geometryArrays.geometryIndices,edgeIndices:geometryArrays.geometryEdgeIndices,positionsDecodeMatrix:reusedGeometriesDecodeMatrix});geometryCreatedInTile[geometryId]=true;}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,geometryId:geometryId,origin:tileCenter,matrix:meshMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}}}else{var _primitiveType3=eachGeometryPrimitiveType[_geometryIndex3];var primitiveName=void 0;var _geometryPositions3=void 0;var geometryNormals=void 0;var geometryColors=void 0;var geometryIndices=void 0;var geometryEdgeIndices=void 0;var _geometryValid2=false;switch(_primitiveType3){case 0:primitiveName="solid";_geometryPositions3=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex3],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex3+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex3],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex3+1]);_geometryValid2=_geometryPositions3.length>0&&geometryIndices.length>0;break;case 1:primitiveName="surface";_geometryPositions3=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex3],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex3+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex3],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex3+1]);_geometryValid2=_geometryPositions3.length>0&&geometryIndices.length>0;break;case 2:primitiveName="points";_geometryPositions3=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryColors=colors.subarray(eachGeometryColorsPortion[_geometryIndex3],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex3+1]);_geometryValid2=_geometryPositions3.length>0;break;case 3:primitiveName="lines";_geometryPositions3=positions.subarray(eachGeometryPositionsPortion[_geometryIndex3],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex3+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex3],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex3+1]);_geometryValid2=_geometryPositions3.length>0&&geometryIndices.length>0;break;default:continue;}if(_geometryValid2){sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,origin:tileCenter,primitive:primitiveName,positionsCompressed:_geometryPositions3,normalsCompressed:geometryNormals,colorsCompressed:geometryColors,indices:geometryIndices,edgeIndices:geometryEdgeIndices,positionsDecodeMatrix:tileDecodeMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}}}if(meshIds.length>0){sceneModel.createEntity(utils.apply(entityDefaults,{id:entityId,isObject:true,meshIds:meshIds}));}}}}/** @private */var ParserV9={version:9,parse:function parse(viewer,options,elements,sceneModel){var deflatedData=extract$1(elements);var inflatedData=inflate$1(deflatedData);load$1(viewer,options,inflatedData,sceneModel);}};/*
|
|
28331
28331
|
Parser for .XKT Format V10
|
|
28332
28332
|
*/var pako=window.pako||p;if(!pako.inflate){// See https://github.com/nodeca/pako/issues/97
|
|
28333
28333
|
pako=pako["default"];}var tempVec4a=math.vec4();var tempVec4b=math.vec4();var NUM_TEXTURE_ATTRIBUTES=9;function extract(elements){var i=0;return{metadata:elements[i++],textureData:elements[i++],eachTextureDataPortion:elements[i++],eachTextureAttributes:elements[i++],positions:elements[i++],normals:elements[i++],colors:elements[i++],uvs:elements[i++],indices:elements[i++],edgeIndices:elements[i++],eachTextureSetTextures:elements[i++],matrices:elements[i++],reusedGeometriesDecodeMatrix:elements[i++],eachGeometryPrimitiveType:elements[i++],eachGeometryPositionsPortion:elements[i++],eachGeometryNormalsPortion:elements[i++],eachGeometryColorsPortion:elements[i++],eachGeometryUVsPortion:elements[i++],eachGeometryIndicesPortion:elements[i++],eachGeometryEdgeIndicesPortion:elements[i++],eachMeshGeometriesPortion:elements[i++],eachMeshMatricesPortion:elements[i++],eachMeshTextureSet:elements[i++],eachMeshMaterialAttributes:elements[i++],eachEntityId:elements[i++],eachEntityMeshesPortion:elements[i++],eachTileAABB:elements[i++],eachTileEntitiesPortion:elements[i++]};}function inflate(deflatedData){function inflate(array,options){return array.length===0?[]:pako.inflate(array,options).buffer;}return{metadata:JSON.parse(pako.inflate(deflatedData.metadata,{to:'string'})),textureData:new Uint8Array(inflate(deflatedData.textureData)),// <<----------------------------- ??? ZIPPing to blame?
|
|
@@ -28348,7 +28348,7 @@ if(options.excludeTypesMap&&metaObject.type&&options.excludeTypesMap[metaObject.
|
|
|
28348
28348
|
var props=options.objectDefaults?options.objectDefaults[metaObject.type]||options.objectDefaults["DEFAULT"]:null;if(props){if(props.visible===false){entityDefaults.visible=false;}if(props.pickable===false){entityDefaults.pickable=false;}if(props.colorize){meshDefaults.color=props.colorize;}if(props.opacity!==undefined&&props.opacity!==null){meshDefaults.opacity=props.opacity;}if(props.metallic!==undefined&&props.metallic!==null){meshDefaults.metallic=props.metallic;}if(props.roughness!==undefined&&props.roughness!==null){meshDefaults.roughness=props.roughness;}}}else{if(options.excludeUnclassifiedObjects){continue;}}// Iterate each entity's meshes
|
|
28349
28349
|
for(var _meshIndex5=firstMeshIndex;_meshIndex5<=lastMeshIndex;_meshIndex5++){var _geometryIndex4=eachMeshGeometriesPortion[_meshIndex5];var geometryReuseCount=geometryReuseCounts[_geometryIndex4];var isReusedGeometry=geometryReuseCount>1;var atLastGeometry=_geometryIndex4===numGeometries-1;var _textureSetIndex=eachMeshTextureSet[_meshIndex5];var _textureSetId=_textureSetIndex>=0?"textureSet-".concat(_textureSetIndex):null;var meshColor=decompressColor(eachMeshMaterialAttributes.subarray(_meshIndex5*6,_meshIndex5*6+3));var meshOpacity=eachMeshMaterialAttributes[_meshIndex5*6+3]/255.0;var meshMetallic=eachMeshMaterialAttributes[_meshIndex5*6+4]/255.0;var meshRoughness=eachMeshMaterialAttributes[_meshIndex5*6+5]/255.0;var meshId=nextMeshId++;if(isReusedGeometry){// Create mesh for multi-use geometry - create (or reuse) geometry, create mesh using that geometry
|
|
28350
28350
|
var meshMatrixIndex=eachMeshMatricesPortion[_meshIndex5];var meshMatrix=matrices.slice(meshMatrixIndex,meshMatrixIndex+16);var geometryId="geometry."+tileIndex+"."+_geometryIndex4;// These IDs are local to the VBOSceneModel
|
|
28351
|
-
var geometryArrays=geometryArraysCache[geometryId];if(!geometryArrays){geometryArrays={batchThisMesh:!options.reuseGeometries};var primitiveType=eachGeometryPrimitiveType[_geometryIndex4];var geometryValid=false;switch(primitiveType){case 0:geometryArrays.primitiveName="solid";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex4],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex4+1]);geometryArrays.geometryUVs=uvs.subarray(eachGeometryUVsPortion[_geometryIndex4],atLastGeometry?uvs.length:eachGeometryUVsPortion[_geometryIndex4+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex4],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 1:geometryArrays.primitiveName="surface";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex4],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex4+1]);geometryArrays.geometryUVs=uvs.subarray(eachGeometryUVsPortion[_geometryIndex4],atLastGeometry?uvs.length:eachGeometryUVsPortion[_geometryIndex4+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex4],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 2:geometryArrays.primitiveName="points";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryColors=colors.subarray(eachGeometryColorsPortion[_geometryIndex4],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0;break;case 3:geometryArrays.primitiveName="lines";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;default:continue;}if(!geometryValid){geometryArrays=null;}if(geometryArrays){if(geometryArrays.geometryPositions.length>1000);if(geometryArrays.batchThisMesh){geometryArrays.decompressedPositions=new Float32Array(geometryArrays.geometryPositions.length);geometryArrays.transformedAndRecompressedPositions=new Uint16Array(geometryArrays.geometryPositions.length);var geometryPositions=geometryArrays.geometryPositions;var decompressedPositions=geometryArrays.decompressedPositions;for(var
|
|
28351
|
+
var geometryArrays=geometryArraysCache[geometryId];if(!geometryArrays){geometryArrays={batchThisMesh:!options.reuseGeometries};var primitiveType=eachGeometryPrimitiveType[_geometryIndex4];var geometryValid=false;switch(primitiveType){case 0:geometryArrays.primitiveName="solid";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex4],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex4+1]);geometryArrays.geometryUVs=uvs.subarray(eachGeometryUVsPortion[_geometryIndex4],atLastGeometry?uvs.length:eachGeometryUVsPortion[_geometryIndex4+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex4],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 1:geometryArrays.primitiveName="surface";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex4],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex4+1]);geometryArrays.geometryUVs=uvs.subarray(eachGeometryUVsPortion[_geometryIndex4],atLastGeometry?uvs.length:eachGeometryUVsPortion[_geometryIndex4+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryArrays.geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex4],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;case 2:geometryArrays.primitiveName="points";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryColors=colors.subarray(eachGeometryColorsPortion[_geometryIndex4],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0;break;case 3:geometryArrays.primitiveName="lines";geometryArrays.geometryPositions=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryArrays.geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryValid=geometryArrays.geometryPositions.length>0&&geometryArrays.geometryIndices.length>0;break;default:continue;}if(!geometryValid){geometryArrays=null;}if(geometryArrays){if(geometryArrays.geometryPositions.length>1000);if(geometryArrays.batchThisMesh){geometryArrays.decompressedPositions=new Float32Array(geometryArrays.geometryPositions.length);geometryArrays.transformedAndRecompressedPositions=new Uint16Array(geometryArrays.geometryPositions.length);var geometryPositions=geometryArrays.geometryPositions;var decompressedPositions=geometryArrays.decompressedPositions;for(var _i605=0,len=geometryPositions.length;_i605<len;_i605+=3){decompressedPositions[_i605+0]=geometryPositions[_i605+0]*reusedGeometriesDecodeMatrix[0]+reusedGeometriesDecodeMatrix[12];decompressedPositions[_i605+1]=geometryPositions[_i605+1]*reusedGeometriesDecodeMatrix[5]+reusedGeometriesDecodeMatrix[13];decompressedPositions[_i605+2]=geometryPositions[_i605+2]*reusedGeometriesDecodeMatrix[10]+reusedGeometriesDecodeMatrix[14];}geometryArrays.geometryPositions=null;geometryArraysCache[geometryId]=geometryArrays;}}}if(geometryArrays){if(geometryArrays.batchThisMesh){var _decompressedPositions3=geometryArrays.decompressedPositions;var transformedAndRecompressedPositions=geometryArrays.transformedAndRecompressedPositions;for(var _i606=0,_len134=_decompressedPositions3.length;_i606<_len134;_i606+=3){tempVec4a[0]=_decompressedPositions3[_i606+0];tempVec4a[1]=_decompressedPositions3[_i606+1];tempVec4a[2]=_decompressedPositions3[_i606+2];tempVec4a[3]=1;math.transformVec4(meshMatrix,tempVec4a,tempVec4b);geometryCompressionUtils.compressPosition(tempVec4b,rtcAABB,tempVec4a);transformedAndRecompressedPositions[_i606+0]=tempVec4a[0];transformedAndRecompressedPositions[_i606+1]=tempVec4a[1];transformedAndRecompressedPositions[_i606+2]=tempVec4a[2];}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,textureSetId:_textureSetId,origin:tileCenter,primitive:geometryArrays.primitiveName,positionsCompressed:transformedAndRecompressedPositions,normalsCompressed:geometryArrays.geometryNormals,uv:geometryArrays.geometryUVs,colorsCompressed:geometryArrays.geometryColors,indices:geometryArrays.geometryIndices,edgeIndices:geometryArrays.geometryEdgeIndices,positionsDecodeMatrix:tileDecodeMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}else{if(!geometryCreatedInTile[geometryId]){sceneModel.createGeometry({id:geometryId,primitive:geometryArrays.primitiveName,positionsCompressed:geometryArrays.geometryPositions,normalsCompressed:geometryArrays.geometryNormals,uv:geometryArrays.geometryUVs,colorsCompressed:geometryArrays.geometryColors,indices:geometryArrays.geometryIndices,edgeIndices:geometryArrays.geometryEdgeIndices,positionsDecodeMatrix:reusedGeometriesDecodeMatrix});geometryCreatedInTile[geometryId]=true;}sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,geometryId:geometryId,textureSetId:_textureSetId,matrix:meshMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity,origin:tileCenter}));meshIds.push(meshId);}}}else{// Do not reuse geometry
|
|
28352
28352
|
var _primitiveType4=eachGeometryPrimitiveType[_geometryIndex4];var primitiveName=void 0;var _geometryPositions4=void 0;var geometryNormals=void 0;var geometryUVs=void 0;var geometryColors=void 0;var geometryIndices=void 0;var geometryEdgeIndices=void 0;var _geometryValid3=false;switch(_primitiveType4){case 0:primitiveName="solid";_geometryPositions4=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex4],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex4+1]);geometryUVs=uvs.subarray(eachGeometryUVsPortion[_geometryIndex4],atLastGeometry?uvs.length:eachGeometryUVsPortion[_geometryIndex4+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex4],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex4+1]);_geometryValid3=_geometryPositions4.length>0&&geometryIndices.length>0;break;case 1:primitiveName="surface";_geometryPositions4=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryNormals=normals.subarray(eachGeometryNormalsPortion[_geometryIndex4],atLastGeometry?normals.length:eachGeometryNormalsPortion[_geometryIndex4+1]);geometryUVs=uvs.subarray(eachGeometryUVsPortion[_geometryIndex4],atLastGeometry?uvs.length:eachGeometryUVsPortion[_geometryIndex4+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);geometryEdgeIndices=edgeIndices.subarray(eachGeometryEdgeIndicesPortion[_geometryIndex4],atLastGeometry?edgeIndices.length:eachGeometryEdgeIndicesPortion[_geometryIndex4+1]);_geometryValid3=_geometryPositions4.length>0&&geometryIndices.length>0;break;case 2:primitiveName="points";_geometryPositions4=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryColors=colors.subarray(eachGeometryColorsPortion[_geometryIndex4],atLastGeometry?colors.length:eachGeometryColorsPortion[_geometryIndex4+1]);_geometryValid3=_geometryPositions4.length>0;break;case 3:primitiveName="lines";_geometryPositions4=positions.subarray(eachGeometryPositionsPortion[_geometryIndex4],atLastGeometry?positions.length:eachGeometryPositionsPortion[_geometryIndex4+1]);geometryIndices=indices.subarray(eachGeometryIndicesPortion[_geometryIndex4],atLastGeometry?indices.length:eachGeometryIndicesPortion[_geometryIndex4+1]);_geometryValid3=_geometryPositions4.length>0&&geometryIndices.length>0;break;default:continue;}if(_geometryValid3){sceneModel.createMesh(utils.apply(meshDefaults,{id:meshId,textureSetId:_textureSetId,origin:tileCenter,primitive:primitiveName,positionsCompressed:_geometryPositions4,normalsCompressed:geometryNormals,uv:geometryUVs&&geometryUVs.length>0?geometryUVs:null,colorsCompressed:geometryColors,indices:geometryIndices,edgeIndices:geometryEdgeIndices,positionsDecodeMatrix:tileDecodeMatrix,color:meshColor,metallic:meshMetallic,roughness:meshRoughness,opacity:meshOpacity}));meshIds.push(meshId);}}}if(meshIds.length>0){sceneModel.createEntity(utils.apply(entityDefaults,{id:entityId,isObject:true,meshIds:meshIds}));}}}}/** @private */var ParserV10={version:10,parse:function parse(viewer,options,elements,sceneModel){var deflatedData=extract(elements);var inflatedData=inflate(deflatedData);load(viewer,options,inflatedData,sceneModel);}};var parsers={};parsers[ParserV1.version]=ParserV1;parsers[ParserV2.version]=ParserV2;parsers[ParserV3.version]=ParserV3;parsers[ParserV4.version]=ParserV4;parsers[ParserV5.version]=ParserV5;parsers[ParserV6.version]=ParserV6;parsers[ParserV7.version]=ParserV7;parsers[ParserV8.version]=ParserV8;parsers[ParserV9.version]=ParserV9;parsers[ParserV10.version]=ParserV10;/**
|
|
28353
28353
|
* {@link Viewer} plugin that loads models from xeokit's optimized *````.XKT````* format.
|
|
28354
28354
|
*
|
|
@@ -28945,9 +28945,9 @@ var _primitiveType4=eachGeometryPrimitiveType[_geometryIndex4];var primitiveName
|
|
|
28945
28945
|
* @returns {Entity} Entity representing the model, which will have {@link Entity#isModel} set ````true```` and will be registered by {@link Entity#id} in {@link Scene#models}.
|
|
28946
28946
|
*/},{key:"load",value:function load(){var _this143=this;var params=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(params.id&&this.viewer.scene.components[params.id]){this.error("Component with this ID already exists in viewer: "+params.id+" - will autogenerate this ID");delete params.id;}var sceneModel;if(!!params.useDataTextures){sceneModel=new DataTextureSceneModel(this.viewer.scene,utils.apply(params,{isModel:true,origin:params.origin,targetLodFps:params.useDataTextures.targetLodFps||false,enableViewFrustumCulling:params.useDataTextures.enableViewFrustumCulling||false,disableVertexWelding:params.useDataTextures.disableVertexWelding||false,disableIndexRebucketing:params.useDataTextures.disableIndexRebucketing||false}));}else{sceneModel=new VBOSceneModel(this.viewer.scene,utils.apply(params,{isModel:true,textureTranscoder:this._textureTranscoder,maxGeometryBatchSize:this._maxGeometryBatchSize,origin:params.origin}));}var modelId=sceneModel.id;// In case ID was auto-generated
|
|
28947
28947
|
if(!params.src&&!params.xkt){this.error("load() param expected: src or xkt");return sceneModel;// Return new empty model
|
|
28948
|
-
}var options={};var includeTypes=params.includeTypes||this._includeTypes;var excludeTypes=params.excludeTypes||this._excludeTypes;var objectDefaults=params.objectDefaults||this._objectDefaults;options.reuseGeometries=params.reuseGeometries!==null&¶ms.reuseGeometries!==undefined?params.reuseGeometries:this._reuseGeometries!==false;if(includeTypes){options.includeTypesMap={};for(var
|
|
28948
|
+
}var options={};var includeTypes=params.includeTypes||this._includeTypes;var excludeTypes=params.excludeTypes||this._excludeTypes;var objectDefaults=params.objectDefaults||this._objectDefaults;options.reuseGeometries=params.reuseGeometries!==null&¶ms.reuseGeometries!==undefined?params.reuseGeometries:this._reuseGeometries!==false;if(includeTypes){options.includeTypesMap={};for(var _i607=0,len=includeTypes.length;_i607<len;_i607++){options.includeTypesMap[includeTypes[_i607]]=true;}}if(excludeTypes){options.excludeTypesMap={};for(var _i608=0,_len135=excludeTypes.length;_i608<_len135;_i608++){options.excludeTypesMap[excludeTypes[_i608]]=true;}}if(objectDefaults){options.objectDefaults=objectDefaults;}options.excludeUnclassifiedObjects=params.excludeUnclassifiedObjects!==undefined?!!params.excludeUnclassifiedObjects:this._excludeUnclassifiedObjects;options.globalizeObjectIds=params.globalizeObjectIds!==undefined&¶ms.globalizeObjectIds!==null?!!params.globalizeObjectIds:this._globalizeObjectIds;if(params.metaModelSrc||params.metaModelData){var processMetaModelData=function processMetaModelData(metaModelData){var metaModel=_this143.viewer.metaScene.createMetaModel(modelId,metaModelData,{includeTypes:includeTypes,excludeTypes:excludeTypes,globalizeObjectIds:options.globalizeObjectIds});if(!metaModel){return false;}if(params.src){_this143._loadModel(params.src,params,options,sceneModel);}else{_this143._parseModel(params.xkt,params,options,sceneModel);}sceneModel.once("destroyed",function(){_this143.viewer.metaScene.destroyMetaModel(sceneModel.id);});return true;};if(params.metaModelSrc){var metaModelSrc=params.metaModelSrc;this.viewer.scene.canvas.spinner.processes++;this._dataSource.getMetaModel(metaModelSrc,function(metaModelData){if(sceneModel.destroyed){return;}if(!processMetaModelData(metaModelData)){_this143.error("load(): Failed to load model metadata for model '".concat(modelId," from '").concat(metaModelSrc,"' - metadata not valid"));sceneModel.fire("error","Metadata not valid");}_this143.viewer.scene.canvas.spinner.processes--;},function(errMsg){_this143.error("load(): Failed to load model metadata for model '".concat(modelId," from '").concat(metaModelSrc,"' - ").concat(errMsg));sceneModel.fire("error","Failed to load model metadata from '".concat(metaModelSrc,"' - ").concat(errMsg));_this143.viewer.scene.canvas.spinner.processes--;});}else if(params.metaModelData){if(!processMetaModelData(params.metaModelData)){this.error("load(): Failed to load model metadata for model '".concat(modelId," from '").concat(params.metaModelSrc,"' - metadata not valid"));sceneModel.fire("error","Metadata not valid");}}}else{if(params.src){this._loadModel(params.src,params,options,sceneModel);}else{this._parseModel(params.xkt,params,options,sceneModel);}}return sceneModel;}},{key:"_loadModel",value:function _loadModel(src,params,options,sceneModel){var _this144=this;var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._dataSource.getXKT(params.src,function(arrayBuffer){_this144._parseModel(arrayBuffer,params,options,sceneModel);spinner.processes--;},function(errMsg){spinner.processes--;_this144.error(errMsg);sceneModel.fire("error",errMsg);});}},{key:"_parseModel",value:function _parseModel(arrayBuffer,params,options,sceneModel){if(sceneModel.destroyed){return;}var dataView=new DataView(arrayBuffer);var dataArray=new Uint8Array(arrayBuffer);var xktVersion=dataView.getUint32(0,true);var parser=parsers[xktVersion];if(!parser){this.error("Unsupported .XKT file version: "+xktVersion+" - this XKTLoaderPlugin supports versions "+Object.keys(parsers));return;}this.log("Loading .xkt V"+xktVersion);var numElements=dataView.getUint32(4,true);var elements=[];var byteOffset=(numElements+2)*4;for(var _i609=0;_i609<numElements;_i609++){var elementSize=dataView.getUint32((_i609+2)*4,true);elements.push(dataArray.subarray(byteOffset,byteOffset+elementSize));byteOffset+=elementSize;}parser.parse(this.viewer,options,elements,sceneModel);sceneModel.finalize();this._createDefaultMetaModelIfNeeded(sceneModel,params,options);sceneModel.scene.once("tick",function(){if(sceneModel.destroyed){return;}sceneModel.scene.fire("modelLoaded",sceneModel.id);// FIXME: Assumes listeners know order of these two events
|
|
28949
28949
|
sceneModel.fire("loaded",true,false);// Don't forget the event, for late subscribers
|
|
28950
|
-
});}},{key:"_createDefaultMetaModelIfNeeded",value:function _createDefaultMetaModelIfNeeded(sceneModel,params,options){var _this145=this;var metaModelId=sceneModel.id;if(!this.viewer.metaScene.metaModels[metaModelId]){var metaModelData={metaObjects:[]};metaModelData.metaObjects.push({id:metaModelId,type:"default",name:metaModelId,parent:null});var entityList=sceneModel.entityList;for(var
|
|
28950
|
+
});}},{key:"_createDefaultMetaModelIfNeeded",value:function _createDefaultMetaModelIfNeeded(sceneModel,params,options){var _this145=this;var metaModelId=sceneModel.id;if(!this.viewer.metaScene.metaModels[metaModelId]){var metaModelData={metaObjects:[]};metaModelData.metaObjects.push({id:metaModelId,type:"default",name:metaModelId,parent:null});var entityList=sceneModel.entityList;for(var _i610=0,len=entityList.length;_i610<len;_i610++){var entity=entityList[_i610];if(entity.isObject){metaModelData.metaObjects.push({id:entity.id,type:"default",name:entity.id,parent:metaModelId});}}var src=params.src;this.viewer.metaScene.createMetaModel(metaModelId,metaModelData,{includeTypes:options.includeTypes,excludeTypes:options.excludeTypes,globalizeObjectIds:options.globalizeObjectIds,getProperties:function(){var _getProperties=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(propertiesId){return _regeneratorRuntime().wrap(function _callee6$(_context9){while(1){switch(_context9.prev=_context9.next){case 0:_context9.next=2;return _this145._dataSource.getProperties(src,propertiesId);case 2:return _context9.abrupt("return",_context9.sent);case 3:case"end":return _context9.stop();}}},_callee6);}));function getProperties(_x100){return _getProperties.apply(this,arguments);}return getProperties;}()});sceneModel.once("destroyed",function(){_this145.viewer.metaScene.destroyMetaModel(metaModelId);});}}}]);return XKTLoaderPlugin;}(Plugin);/*
|
|
28951
28951
|
Copyright (c) 2013 Gildas Lormeau. All rights reserved.
|
|
28952
28952
|
|
|
28953
28953
|
Redistribution and use in source and binary forms, with or without
|
|
@@ -29320,8 +29320,8 @@ var IFCACTIONREQUEST=3821786052;var IFCACTOR=2296667514;var IFCACTORROLE=3630933
|
|
|
29320
29320
|
var FromRawLineData={};FromRawLineData[IFCACTIONREQUEST]=function(d){return IfcActionRequest.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCACTOR]=function(d){return IfcActor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCACTORROLE]=function(d){return IfcActorRole.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCACTUATOR]=function(d){return IfcActuator.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCACTUATORTYPE]=function(d){return IfcActuatorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCADDRESS]=function(d){return IfcAddress.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCADVANCEDBREP]=function(d){return IfcAdvancedBrep.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCADVANCEDBREPWITHVOIDS]=function(d){return IfcAdvancedBrepWithVoids.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCADVANCEDFACE]=function(d){return IfcAdvancedFace.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAIRTERMINAL]=function(d){return IfcAirTerminal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAIRTERMINALBOX]=function(d){return IfcAirTerminalBox.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAIRTERMINALBOXTYPE]=function(d){return IfcAirTerminalBoxType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAIRTERMINALTYPE]=function(d){return IfcAirTerminalType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAIRTOAIRHEATRECOVERY]=function(d){return IfcAirToAirHeatRecovery.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAIRTOAIRHEATRECOVERYTYPE]=function(d){return IfcAirToAirHeatRecoveryType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALARM]=function(d){return IfcAlarm.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALARMTYPE]=function(d){return IfcAlarmType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT]=function(d){return IfcAlignment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DHORIZONTAL]=function(d){return IfcAlignment2DHorizontal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DHORIZONTALSEGMENT]=function(d){return IfcAlignment2DHorizontalSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DSEGMENT]=function(d){return IfcAlignment2DSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DVERSEGCIRCULARARC]=function(d){return IfcAlignment2DVerSegCircularArc.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DVERSEGLINE]=function(d){return IfcAlignment2DVerSegLine.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DVERSEGPARABOLICARC]=function(d){return IfcAlignment2DVerSegParabolicArc.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DVERTICAL]=function(d){return IfcAlignment2DVertical.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENT2DVERTICALSEGMENT]=function(d){return IfcAlignment2DVerticalSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCALIGNMENTCURVE]=function(d){return IfcAlignmentCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCANNOTATION]=function(d){return IfcAnnotation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCANNOTATIONFILLAREA]=function(d){return IfcAnnotationFillArea.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAPPLICATION]=function(d){return IfcApplication.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAPPLIEDVALUE]=function(d){return IfcAppliedValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAPPROVAL]=function(d){return IfcApproval.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAPPROVALRELATIONSHIP]=function(d){return IfcApprovalRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCARBITRARYCLOSEDPROFILEDEF]=function(d){return IfcArbitraryClosedProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCARBITRARYOPENPROFILEDEF]=function(d){return IfcArbitraryOpenProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCARBITRARYPROFILEDEFWITHVOIDS]=function(d){return IfcArbitraryProfileDefWithVoids.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCASSET]=function(d){return IfcAsset.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCASYMMETRICISHAPEPROFILEDEF]=function(d){return IfcAsymmetricIShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAUDIOVISUALAPPLIANCE]=function(d){return IfcAudioVisualAppliance.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAUDIOVISUALAPPLIANCETYPE]=function(d){return IfcAudioVisualApplianceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAXIS1PLACEMENT]=function(d){return IfcAxis1Placement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAXIS2PLACEMENT2D]=function(d){return IfcAxis2Placement2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCAXIS2PLACEMENT3D]=function(d){return IfcAxis2Placement3D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBSPLINECURVE]=function(d){return IfcBSplineCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBSPLINECURVEWITHKNOTS]=function(d){return IfcBSplineCurveWithKnots.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBSPLINESURFACE]=function(d){return IfcBSplineSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBSPLINESURFACEWITHKNOTS]=function(d){return IfcBSplineSurfaceWithKnots.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBEAM]=function(d){return IfcBeam.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBEAMSTANDARDCASE]=function(d){return IfcBeamStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBEAMTYPE]=function(d){return IfcBeamType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBEARING]=function(d){return IfcBearing.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBEARINGTYPE]=function(d){return IfcBearingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBLOBTEXTURE]=function(d){return IfcBlobTexture.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBLOCK]=function(d){return IfcBlock.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOILER]=function(d){return IfcBoiler.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOILERTYPE]=function(d){return IfcBoilerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOOLEANCLIPPINGRESULT]=function(d){return IfcBooleanClippingResult.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOOLEANRESULT]=function(d){return IfcBooleanResult.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDARYCONDITION]=function(d){return IfcBoundaryCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDARYCURVE]=function(d){return IfcBoundaryCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDARYEDGECONDITION]=function(d){return IfcBoundaryEdgeCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDARYFACECONDITION]=function(d){return IfcBoundaryFaceCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDARYNODECONDITION]=function(d){return IfcBoundaryNodeCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDARYNODECONDITIONWARPING]=function(d){return IfcBoundaryNodeConditionWarping.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDEDCURVE]=function(d){return IfcBoundedCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDEDSURFACE]=function(d){return IfcBoundedSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOUNDINGBOX]=function(d){return IfcBoundingBox.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBOXEDHALFSPACE]=function(d){return IfcBoxedHalfSpace.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBRIDGE]=function(d){return IfcBridge.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBRIDGEPART]=function(d){return IfcBridgePart.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDING]=function(d){return IfcBuilding.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGELEMENT]=function(d){return IfcBuildingElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGELEMENTPART]=function(d){return IfcBuildingElementPart.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGELEMENTPARTTYPE]=function(d){return IfcBuildingElementPartType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGELEMENTPROXY]=function(d){return IfcBuildingElementProxy.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGELEMENTPROXYTYPE]=function(d){return IfcBuildingElementProxyType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGELEMENTTYPE]=function(d){return IfcBuildingElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGSTOREY]=function(d){return IfcBuildingStorey.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBUILDINGSYSTEM]=function(d){return IfcBuildingSystem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBURNER]=function(d){return IfcBurner.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCBURNERTYPE]=function(d){return IfcBurnerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCSHAPEPROFILEDEF]=function(d){return IfcCShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLECARRIERFITTING]=function(d){return IfcCableCarrierFitting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLECARRIERFITTINGTYPE]=function(d){return IfcCableCarrierFittingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLECARRIERSEGMENT]=function(d){return IfcCableCarrierSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLECARRIERSEGMENTTYPE]=function(d){return IfcCableCarrierSegmentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLEFITTING]=function(d){return IfcCableFitting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLEFITTINGTYPE]=function(d){return IfcCableFittingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLESEGMENT]=function(d){return IfcCableSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCABLESEGMENTTYPE]=function(d){return IfcCableSegmentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCAISSONFOUNDATION]=function(d){return IfcCaissonFoundation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCAISSONFOUNDATIONTYPE]=function(d){return IfcCaissonFoundationType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANPOINT]=function(d){return IfcCartesianPoint.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANPOINTLIST]=function(d){return IfcCartesianPointList.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANPOINTLIST2D]=function(d){return IfcCartesianPointList2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANPOINTLIST3D]=function(d){return IfcCartesianPointList3D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR]=function(d){return IfcCartesianTransformationOperator.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR2D]=function(d){return IfcCartesianTransformationOperator2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM]=function(d){return IfcCartesianTransformationOperator2DnonUniform.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR3D]=function(d){return IfcCartesianTransformationOperator3D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM]=function(d){return IfcCartesianTransformationOperator3DnonUniform.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCENTERLINEPROFILEDEF]=function(d){return IfcCenterLineProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCHILLER]=function(d){return IfcChiller.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCHILLERTYPE]=function(d){return IfcChillerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCHIMNEY]=function(d){return IfcChimney.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCHIMNEYTYPE]=function(d){return IfcChimneyType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCIRCLE]=function(d){return IfcCircle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCIRCLEHOLLOWPROFILEDEF]=function(d){return IfcCircleHollowProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCIRCLEPROFILEDEF]=function(d){return IfcCircleProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCIRCULARARCSEGMENT2D]=function(d){return IfcCircularArcSegment2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCIVILELEMENT]=function(d){return IfcCivilElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCIVILELEMENTTYPE]=function(d){return IfcCivilElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCLASSIFICATION]=function(d){return IfcClassification.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCLASSIFICATIONREFERENCE]=function(d){return IfcClassificationReference.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCLOSEDSHELL]=function(d){return IfcClosedShell.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOIL]=function(d){return IfcCoil.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOILTYPE]=function(d){return IfcCoilType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOLOURRGB]=function(d){return IfcColourRgb.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOLOURRGBLIST]=function(d){return IfcColourRgbList.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOLOURSPECIFICATION]=function(d){return IfcColourSpecification.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOLUMN]=function(d){return IfcColumn.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOLUMNSTANDARDCASE]=function(d){return IfcColumnStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOLUMNTYPE]=function(d){return IfcColumnType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMMUNICATIONSAPPLIANCE]=function(d){return IfcCommunicationsAppliance.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMMUNICATIONSAPPLIANCETYPE]=function(d){return IfcCommunicationsApplianceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPLEXPROPERTY]=function(d){return IfcComplexProperty.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPLEXPROPERTYTEMPLATE]=function(d){return IfcComplexPropertyTemplate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPOSITECURVE]=function(d){return IfcCompositeCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPOSITECURVEONSURFACE]=function(d){return IfcCompositeCurveOnSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPOSITECURVESEGMENT]=function(d){return IfcCompositeCurveSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPOSITEPROFILEDEF]=function(d){return IfcCompositeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPRESSOR]=function(d){return IfcCompressor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOMPRESSORTYPE]=function(d){return IfcCompressorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONDENSER]=function(d){return IfcCondenser.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONDENSERTYPE]=function(d){return IfcCondenserType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONIC]=function(d){return IfcConic.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTEDFACESET]=function(d){return IfcConnectedFaceSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTIONCURVEGEOMETRY]=function(d){return IfcConnectionCurveGeometry.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTIONGEOMETRY]=function(d){return IfcConnectionGeometry.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTIONPOINTECCENTRICITY]=function(d){return IfcConnectionPointEccentricity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTIONPOINTGEOMETRY]=function(d){return IfcConnectionPointGeometry.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTIONSURFACEGEOMETRY]=function(d){return IfcConnectionSurfaceGeometry.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONNECTIONVOLUMEGEOMETRY]=function(d){return IfcConnectionVolumeGeometry.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRAINT]=function(d){return IfcConstraint.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONEQUIPMENTRESOURCE]=function(d){return IfcConstructionEquipmentResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE]=function(d){return IfcConstructionEquipmentResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONMATERIALRESOURCE]=function(d){return IfcConstructionMaterialResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONMATERIALRESOURCETYPE]=function(d){return IfcConstructionMaterialResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONPRODUCTRESOURCE]=function(d){return IfcConstructionProductResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONPRODUCTRESOURCETYPE]=function(d){return IfcConstructionProductResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONRESOURCE]=function(d){return IfcConstructionResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONSTRUCTIONRESOURCETYPE]=function(d){return IfcConstructionResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONTEXT]=function(d){return IfcContext.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONTEXTDEPENDENTUNIT]=function(d){return IfcContextDependentUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONTROL]=function(d){return IfcControl.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONTROLLER]=function(d){return IfcController.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONTROLLERTYPE]=function(d){return IfcControllerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONVERSIONBASEDUNIT]=function(d){return IfcConversionBasedUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCONVERSIONBASEDUNITWITHOFFSET]=function(d){return IfcConversionBasedUnitWithOffset.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOOLEDBEAM]=function(d){return IfcCooledBeam.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOOLEDBEAMTYPE]=function(d){return IfcCooledBeamType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOOLINGTOWER]=function(d){return IfcCoolingTower.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOOLINGTOWERTYPE]=function(d){return IfcCoolingTowerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOORDINATEOPERATION]=function(d){return IfcCoordinateOperation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOORDINATEREFERENCESYSTEM]=function(d){return IfcCoordinateReferenceSystem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOSTITEM]=function(d){return IfcCostItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOSTSCHEDULE]=function(d){return IfcCostSchedule.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOSTVALUE]=function(d){return IfcCostValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOVERING]=function(d){return IfcCovering.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCOVERINGTYPE]=function(d){return IfcCoveringType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCREWRESOURCE]=function(d){return IfcCrewResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCREWRESOURCETYPE]=function(d){return IfcCrewResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCSGPRIMITIVE3D]=function(d){return IfcCsgPrimitive3D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCSGSOLID]=function(d){return IfcCsgSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURRENCYRELATIONSHIP]=function(d){return IfcCurrencyRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURTAINWALL]=function(d){return IfcCurtainWall.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURTAINWALLTYPE]=function(d){return IfcCurtainWallType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVE]=function(d){return IfcCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVEBOUNDEDPLANE]=function(d){return IfcCurveBoundedPlane.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVEBOUNDEDSURFACE]=function(d){return IfcCurveBoundedSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVESEGMENT2D]=function(d){return IfcCurveSegment2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVESTYLE]=function(d){return IfcCurveStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVESTYLEFONT]=function(d){return IfcCurveStyleFont.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVESTYLEFONTANDSCALING]=function(d){return IfcCurveStyleFontAndScaling.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCURVESTYLEFONTPATTERN]=function(d){return IfcCurveStyleFontPattern.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCCYLINDRICALSURFACE]=function(d){return IfcCylindricalSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDAMPER]=function(d){return IfcDamper.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDAMPERTYPE]=function(d){return IfcDamperType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDEEPFOUNDATION]=function(d){return IfcDeepFoundation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDEEPFOUNDATIONTYPE]=function(d){return IfcDeepFoundationType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDERIVEDPROFILEDEF]=function(d){return IfcDerivedProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDERIVEDUNIT]=function(d){return IfcDerivedUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDERIVEDUNITELEMENT]=function(d){return IfcDerivedUnitElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDIMENSIONALEXPONENTS]=function(d){return IfcDimensionalExponents.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDIRECTION]=function(d){return IfcDirection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISCRETEACCESSORY]=function(d){return IfcDiscreteAccessory.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISCRETEACCESSORYTYPE]=function(d){return IfcDiscreteAccessoryType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTANCEEXPRESSION]=function(d){return IfcDistanceExpression.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONCHAMBERELEMENT]=function(d){return IfcDistributionChamberElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONCHAMBERELEMENTTYPE]=function(d){return IfcDistributionChamberElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONCIRCUIT]=function(d){return IfcDistributionCircuit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONCONTROLELEMENT]=function(d){return IfcDistributionControlElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONCONTROLELEMENTTYPE]=function(d){return IfcDistributionControlElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONELEMENT]=function(d){return IfcDistributionElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONELEMENTTYPE]=function(d){return IfcDistributionElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONFLOWELEMENT]=function(d){return IfcDistributionFlowElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONFLOWELEMENTTYPE]=function(d){return IfcDistributionFlowElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONPORT]=function(d){return IfcDistributionPort.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDISTRIBUTIONSYSTEM]=function(d){return IfcDistributionSystem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOCUMENTINFORMATION]=function(d){return IfcDocumentInformation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOCUMENTINFORMATIONRELATIONSHIP]=function(d){return IfcDocumentInformationRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOCUMENTREFERENCE]=function(d){return IfcDocumentReference.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOOR]=function(d){return IfcDoor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOORLININGPROPERTIES]=function(d){return IfcDoorLiningProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOORPANELPROPERTIES]=function(d){return IfcDoorPanelProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOORSTANDARDCASE]=function(d){return IfcDoorStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOORSTYLE]=function(d){return IfcDoorStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDOORTYPE]=function(d){return IfcDoorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDRAUGHTINGPREDEFINEDCOLOUR]=function(d){return IfcDraughtingPreDefinedColour.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDRAUGHTINGPREDEFINEDCURVEFONT]=function(d){return IfcDraughtingPreDefinedCurveFont.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDUCTFITTING]=function(d){return IfcDuctFitting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDUCTFITTINGTYPE]=function(d){return IfcDuctFittingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDUCTSEGMENT]=function(d){return IfcDuctSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDUCTSEGMENTTYPE]=function(d){return IfcDuctSegmentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDUCTSILENCER]=function(d){return IfcDuctSilencer.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCDUCTSILENCERTYPE]=function(d){return IfcDuctSilencerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEDGE]=function(d){return IfcEdge.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEDGECURVE]=function(d){return IfcEdgeCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEDGELOOP]=function(d){return IfcEdgeLoop.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICAPPLIANCE]=function(d){return IfcElectricAppliance.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICAPPLIANCETYPE]=function(d){return IfcElectricApplianceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICDISTRIBUTIONBOARD]=function(d){return IfcElectricDistributionBoard.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICDISTRIBUTIONBOARDTYPE]=function(d){return IfcElectricDistributionBoardType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICFLOWSTORAGEDEVICE]=function(d){return IfcElectricFlowStorageDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICFLOWSTORAGEDEVICETYPE]=function(d){return IfcElectricFlowStorageDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICGENERATOR]=function(d){return IfcElectricGenerator.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICGENERATORTYPE]=function(d){return IfcElectricGeneratorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICMOTOR]=function(d){return IfcElectricMotor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICMOTORTYPE]=function(d){return IfcElectricMotorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICTIMECONTROL]=function(d){return IfcElectricTimeControl.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELECTRICTIMECONTROLTYPE]=function(d){return IfcElectricTimeControlType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENT]=function(d){return IfcElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTASSEMBLY]=function(d){return IfcElementAssembly.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTASSEMBLYTYPE]=function(d){return IfcElementAssemblyType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTCOMPONENT]=function(d){return IfcElementComponent.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTCOMPONENTTYPE]=function(d){return IfcElementComponentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTQUANTITY]=function(d){return IfcElementQuantity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTTYPE]=function(d){return IfcElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELEMENTARYSURFACE]=function(d){return IfcElementarySurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELLIPSE]=function(d){return IfcEllipse.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCELLIPSEPROFILEDEF]=function(d){return IfcEllipseProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCENERGYCONVERSIONDEVICE]=function(d){return IfcEnergyConversionDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCENERGYCONVERSIONDEVICETYPE]=function(d){return IfcEnergyConversionDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCENGINE]=function(d){return IfcEngine.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCENGINETYPE]=function(d){return IfcEngineType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVAPORATIVECOOLER]=function(d){return IfcEvaporativeCooler.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVAPORATIVECOOLERTYPE]=function(d){return IfcEvaporativeCoolerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVAPORATOR]=function(d){return IfcEvaporator.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVAPORATORTYPE]=function(d){return IfcEvaporatorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVENT]=function(d){return IfcEvent.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVENTTIME]=function(d){return IfcEventTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEVENTTYPE]=function(d){return IfcEventType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTENDEDPROPERTIES]=function(d){return IfcExtendedProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALINFORMATION]=function(d){return IfcExternalInformation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALREFERENCE]=function(d){return IfcExternalReference.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALREFERENCERELATIONSHIP]=function(d){return IfcExternalReferenceRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALSPATIALELEMENT]=function(d){return IfcExternalSpatialElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALSPATIALSTRUCTUREELEMENT]=function(d){return IfcExternalSpatialStructureElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALLYDEFINEDHATCHSTYLE]=function(d){return IfcExternallyDefinedHatchStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALLYDEFINEDSURFACESTYLE]=function(d){return IfcExternallyDefinedSurfaceStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTERNALLYDEFINEDTEXTFONT]=function(d){return IfcExternallyDefinedTextFont.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTRUDEDAREASOLID]=function(d){return IfcExtrudedAreaSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCEXTRUDEDAREASOLIDTAPERED]=function(d){return IfcExtrudedAreaSolidTapered.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACE]=function(d){return IfcFace.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACEBASEDSURFACEMODEL]=function(d){return IfcFaceBasedSurfaceModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACEBOUND]=function(d){return IfcFaceBound.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACEOUTERBOUND]=function(d){return IfcFaceOuterBound.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACESURFACE]=function(d){return IfcFaceSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACETEDBREP]=function(d){return IfcFacetedBrep.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACETEDBREPWITHVOIDS]=function(d){return IfcFacetedBrepWithVoids.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACILITY]=function(d){return IfcFacility.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFACILITYPART]=function(d){return IfcFacilityPart.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFAILURECONNECTIONCONDITION]=function(d){return IfcFailureConnectionCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFAN]=function(d){return IfcFan.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFANTYPE]=function(d){return IfcFanType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFASTENER]=function(d){return IfcFastener.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFASTENERTYPE]=function(d){return IfcFastenerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFEATUREELEMENT]=function(d){return IfcFeatureElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFEATUREELEMENTADDITION]=function(d){return IfcFeatureElementAddition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFEATUREELEMENTSUBTRACTION]=function(d){return IfcFeatureElementSubtraction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFILLAREASTYLE]=function(d){return IfcFillAreaStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFILLAREASTYLEHATCHING]=function(d){return IfcFillAreaStyleHatching.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFILLAREASTYLETILES]=function(d){return IfcFillAreaStyleTiles.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFILTER]=function(d){return IfcFilter.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFILTERTYPE]=function(d){return IfcFilterType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFIRESUPPRESSIONTERMINAL]=function(d){return IfcFireSuppressionTerminal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFIRESUPPRESSIONTERMINALTYPE]=function(d){return IfcFireSuppressionTerminalType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFIXEDREFERENCESWEPTAREASOLID]=function(d){return IfcFixedReferenceSweptAreaSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWCONTROLLER]=function(d){return IfcFlowController.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWCONTROLLERTYPE]=function(d){return IfcFlowControllerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWFITTING]=function(d){return IfcFlowFitting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWFITTINGTYPE]=function(d){return IfcFlowFittingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWINSTRUMENT]=function(d){return IfcFlowInstrument.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWINSTRUMENTTYPE]=function(d){return IfcFlowInstrumentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWMETER]=function(d){return IfcFlowMeter.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWMETERTYPE]=function(d){return IfcFlowMeterType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWMOVINGDEVICE]=function(d){return IfcFlowMovingDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWMOVINGDEVICETYPE]=function(d){return IfcFlowMovingDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWSEGMENT]=function(d){return IfcFlowSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWSEGMENTTYPE]=function(d){return IfcFlowSegmentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWSTORAGEDEVICE]=function(d){return IfcFlowStorageDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWSTORAGEDEVICETYPE]=function(d){return IfcFlowStorageDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWTERMINAL]=function(d){return IfcFlowTerminal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWTERMINALTYPE]=function(d){return IfcFlowTerminalType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWTREATMENTDEVICE]=function(d){return IfcFlowTreatmentDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFLOWTREATMENTDEVICETYPE]=function(d){return IfcFlowTreatmentDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFOOTING]=function(d){return IfcFooting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFOOTINGTYPE]=function(d){return IfcFootingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFURNISHINGELEMENT]=function(d){return IfcFurnishingElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFURNISHINGELEMENTTYPE]=function(d){return IfcFurnishingElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFURNITURE]=function(d){return IfcFurniture.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCFURNITURETYPE]=function(d){return IfcFurnitureType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOGRAPHICELEMENT]=function(d){return IfcGeographicElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOGRAPHICELEMENTTYPE]=function(d){return IfcGeographicElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOMETRICCURVESET]=function(d){return IfcGeometricCurveSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOMETRICREPRESENTATIONCONTEXT]=function(d){return IfcGeometricRepresentationContext.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOMETRICREPRESENTATIONITEM]=function(d){return IfcGeometricRepresentationItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOMETRICREPRESENTATIONSUBCONTEXT]=function(d){return IfcGeometricRepresentationSubContext.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGEOMETRICSET]=function(d){return IfcGeometricSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGRID]=function(d){return IfcGrid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGRIDAXIS]=function(d){return IfcGridAxis.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGRIDPLACEMENT]=function(d){return IfcGridPlacement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCGROUP]=function(d){return IfcGroup.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCHALFSPACESOLID]=function(d){return IfcHalfSpaceSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCHEATEXCHANGER]=function(d){return IfcHeatExchanger.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCHEATEXCHANGERTYPE]=function(d){return IfcHeatExchangerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCHUMIDIFIER]=function(d){return IfcHumidifier.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCHUMIDIFIERTYPE]=function(d){return IfcHumidifierType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCISHAPEPROFILEDEF]=function(d){return IfcIShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCIMAGETEXTURE]=function(d){return IfcImageTexture.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINDEXEDCOLOURMAP]=function(d){return IfcIndexedColourMap.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINDEXEDPOLYCURVE]=function(d){return IfcIndexedPolyCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINDEXEDPOLYGONALFACE]=function(d){return IfcIndexedPolygonalFace.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINDEXEDPOLYGONALFACEWITHVOIDS]=function(d){return IfcIndexedPolygonalFaceWithVoids.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINDEXEDTEXTUREMAP]=function(d){return IfcIndexedTextureMap.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINDEXEDTRIANGLETEXTUREMAP]=function(d){return IfcIndexedTriangleTextureMap.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINTERCEPTOR]=function(d){return IfcInterceptor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINTERCEPTORTYPE]=function(d){return IfcInterceptorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINTERSECTIONCURVE]=function(d){return IfcIntersectionCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCINVENTORY]=function(d){return IfcInventory.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCIRREGULARTIMESERIES]=function(d){return IfcIrregularTimeSeries.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCIRREGULARTIMESERIESVALUE]=function(d){return IfcIrregularTimeSeriesValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCJUNCTIONBOX]=function(d){return IfcJunctionBox.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCJUNCTIONBOXTYPE]=function(d){return IfcJunctionBoxType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLSHAPEPROFILEDEF]=function(d){return IfcLShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLABORRESOURCE]=function(d){return IfcLaborResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLABORRESOURCETYPE]=function(d){return IfcLaborResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLAGTIME]=function(d){return IfcLagTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLAMP]=function(d){return IfcLamp.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLAMPTYPE]=function(d){return IfcLampType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIBRARYINFORMATION]=function(d){return IfcLibraryInformation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIBRARYREFERENCE]=function(d){return IfcLibraryReference.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTDISTRIBUTIONDATA]=function(d){return IfcLightDistributionData.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTFIXTURE]=function(d){return IfcLightFixture.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTFIXTURETYPE]=function(d){return IfcLightFixtureType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTINTENSITYDISTRIBUTION]=function(d){return IfcLightIntensityDistribution.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTSOURCE]=function(d){return IfcLightSource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTSOURCEAMBIENT]=function(d){return IfcLightSourceAmbient.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTSOURCEDIRECTIONAL]=function(d){return IfcLightSourceDirectional.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTSOURCEGONIOMETRIC]=function(d){return IfcLightSourceGoniometric.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTSOURCEPOSITIONAL]=function(d){return IfcLightSourcePositional.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLIGHTSOURCESPOT]=function(d){return IfcLightSourceSpot.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLINE]=function(d){return IfcLine.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLINESEGMENT2D]=function(d){return IfcLineSegment2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLINEARPLACEMENT]=function(d){return IfcLinearPlacement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLINEARPOSITIONINGELEMENT]=function(d){return IfcLinearPositioningElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLOCALPLACEMENT]=function(d){return IfcLocalPlacement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCLOOP]=function(d){return IfcLoop.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMANIFOLDSOLIDBREP]=function(d){return IfcManifoldSolidBrep.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMAPCONVERSION]=function(d){return IfcMapConversion.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMAPPEDITEM]=function(d){return IfcMappedItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIAL]=function(d){return IfcMaterial.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALCLASSIFICATIONRELATIONSHIP]=function(d){return IfcMaterialClassificationRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALCONSTITUENT]=function(d){return IfcMaterialConstituent.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALCONSTITUENTSET]=function(d){return IfcMaterialConstituentSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALDEFINITION]=function(d){return IfcMaterialDefinition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALDEFINITIONREPRESENTATION]=function(d){return IfcMaterialDefinitionRepresentation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALLAYER]=function(d){return IfcMaterialLayer.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALLAYERSET]=function(d){return IfcMaterialLayerSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALLAYERSETUSAGE]=function(d){return IfcMaterialLayerSetUsage.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALLAYERWITHOFFSETS]=function(d){return IfcMaterialLayerWithOffsets.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALLIST]=function(d){return IfcMaterialList.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALPROFILE]=function(d){return IfcMaterialProfile.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALPROFILESET]=function(d){return IfcMaterialProfileSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALPROFILESETUSAGE]=function(d){return IfcMaterialProfileSetUsage.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALPROFILESETUSAGETAPERING]=function(d){return IfcMaterialProfileSetUsageTapering.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALPROFILEWITHOFFSETS]=function(d){return IfcMaterialProfileWithOffsets.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALPROPERTIES]=function(d){return IfcMaterialProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALRELATIONSHIP]=function(d){return IfcMaterialRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMATERIALUSAGEDEFINITION]=function(d){return IfcMaterialUsageDefinition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMEASUREWITHUNIT]=function(d){return IfcMeasureWithUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMECHANICALFASTENER]=function(d){return IfcMechanicalFastener.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMECHANICALFASTENERTYPE]=function(d){return IfcMechanicalFastenerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMEDICALDEVICE]=function(d){return IfcMedicalDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMEDICALDEVICETYPE]=function(d){return IfcMedicalDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMEMBER]=function(d){return IfcMember.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMEMBERSTANDARDCASE]=function(d){return IfcMemberStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMEMBERTYPE]=function(d){return IfcMemberType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMETRIC]=function(d){return IfcMetric.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMIRROREDPROFILEDEF]=function(d){return IfcMirroredProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMONETARYUNIT]=function(d){return IfcMonetaryUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMOTORCONNECTION]=function(d){return IfcMotorConnection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCMOTORCONNECTIONTYPE]=function(d){return IfcMotorConnectionType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCNAMEDUNIT]=function(d){return IfcNamedUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOBJECT]=function(d){return IfcObject.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOBJECTDEFINITION]=function(d){return IfcObjectDefinition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOBJECTPLACEMENT]=function(d){return IfcObjectPlacement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOBJECTIVE]=function(d){return IfcObjective.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOCCUPANT]=function(d){return IfcOccupant.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOFFSETCURVE]=function(d){return IfcOffsetCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOFFSETCURVE2D]=function(d){return IfcOffsetCurve2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOFFSETCURVE3D]=function(d){return IfcOffsetCurve3D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOFFSETCURVEBYDISTANCES]=function(d){return IfcOffsetCurveByDistances.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOPENSHELL]=function(d){return IfcOpenShell.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOPENINGELEMENT]=function(d){return IfcOpeningElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOPENINGSTANDARDCASE]=function(d){return IfcOpeningStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCORGANIZATION]=function(d){return IfcOrganization.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCORGANIZATIONRELATIONSHIP]=function(d){return IfcOrganizationRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCORIENTATIONEXPRESSION]=function(d){return IfcOrientationExpression.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCORIENTEDEDGE]=function(d){return IfcOrientedEdge.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOUTERBOUNDARYCURVE]=function(d){return IfcOuterBoundaryCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOUTLET]=function(d){return IfcOutlet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOUTLETTYPE]=function(d){return IfcOutletType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCOWNERHISTORY]=function(d){return IfcOwnerHistory.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPARAMETERIZEDPROFILEDEF]=function(d){return IfcParameterizedProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPATH]=function(d){return IfcPath.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPCURVE]=function(d){return IfcPcurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPERFORMANCEHISTORY]=function(d){return IfcPerformanceHistory.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPERMEABLECOVERINGPROPERTIES]=function(d){return IfcPermeableCoveringProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPERMIT]=function(d){return IfcPermit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPERSON]=function(d){return IfcPerson.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPERSONANDORGANIZATION]=function(d){return IfcPersonAndOrganization.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPHYSICALCOMPLEXQUANTITY]=function(d){return IfcPhysicalComplexQuantity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPHYSICALQUANTITY]=function(d){return IfcPhysicalQuantity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPHYSICALSIMPLEQUANTITY]=function(d){return IfcPhysicalSimpleQuantity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPILE]=function(d){return IfcPile.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPILETYPE]=function(d){return IfcPileType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPIPEFITTING]=function(d){return IfcPipeFitting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPIPEFITTINGTYPE]=function(d){return IfcPipeFittingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPIPESEGMENT]=function(d){return IfcPipeSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPIPESEGMENTTYPE]=function(d){return IfcPipeSegmentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPIXELTEXTURE]=function(d){return IfcPixelTexture.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLACEMENT]=function(d){return IfcPlacement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLANARBOX]=function(d){return IfcPlanarBox.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLANAREXTENT]=function(d){return IfcPlanarExtent.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLANE]=function(d){return IfcPlane.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLATE]=function(d){return IfcPlate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLATESTANDARDCASE]=function(d){return IfcPlateStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPLATETYPE]=function(d){return IfcPlateType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOINT]=function(d){return IfcPoint.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOINTONCURVE]=function(d){return IfcPointOnCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOINTONSURFACE]=function(d){return IfcPointOnSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOLYLOOP]=function(d){return IfcPolyLoop.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOLYGONALBOUNDEDHALFSPACE]=function(d){return IfcPolygonalBoundedHalfSpace.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOLYGONALFACESET]=function(d){return IfcPolygonalFaceSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOLYLINE]=function(d){return IfcPolyline.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPORT]=function(d){return IfcPort.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOSITIONINGELEMENT]=function(d){return IfcPositioningElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPOSTALADDRESS]=function(d){return IfcPostalAddress.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPREDEFINEDCOLOUR]=function(d){return IfcPreDefinedColour.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPREDEFINEDCURVEFONT]=function(d){return IfcPreDefinedCurveFont.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPREDEFINEDITEM]=function(d){return IfcPreDefinedItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPREDEFINEDPROPERTIES]=function(d){return IfcPreDefinedProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPREDEFINEDPROPERTYSET]=function(d){return IfcPreDefinedPropertySet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPREDEFINEDTEXTFONT]=function(d){return IfcPreDefinedTextFont.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRESENTATIONITEM]=function(d){return IfcPresentationItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRESENTATIONLAYERASSIGNMENT]=function(d){return IfcPresentationLayerAssignment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRESENTATIONLAYERWITHSTYLE]=function(d){return IfcPresentationLayerWithStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRESENTATIONSTYLE]=function(d){return IfcPresentationStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRESENTATIONSTYLEASSIGNMENT]=function(d){return IfcPresentationStyleAssignment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROCEDURE]=function(d){return IfcProcedure.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROCEDURETYPE]=function(d){return IfcProcedureType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROCESS]=function(d){return IfcProcess.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRODUCT]=function(d){return IfcProduct.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRODUCTDEFINITIONSHAPE]=function(d){return IfcProductDefinitionShape.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPRODUCTREPRESENTATION]=function(d){return IfcProductRepresentation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROFILEDEF]=function(d){return IfcProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROFILEPROPERTIES]=function(d){return IfcProfileProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROJECT]=function(d){return IfcProject.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROJECTLIBRARY]=function(d){return IfcProjectLibrary.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROJECTORDER]=function(d){return IfcProjectOrder.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROJECTEDCRS]=function(d){return IfcProjectedCRS.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROJECTIONELEMENT]=function(d){return IfcProjectionElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTY]=function(d){return IfcProperty.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYABSTRACTION]=function(d){return IfcPropertyAbstraction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYBOUNDEDVALUE]=function(d){return IfcPropertyBoundedValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYDEFINITION]=function(d){return IfcPropertyDefinition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYDEPENDENCYRELATIONSHIP]=function(d){return IfcPropertyDependencyRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYENUMERATEDVALUE]=function(d){return IfcPropertyEnumeratedValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYENUMERATION]=function(d){return IfcPropertyEnumeration.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYLISTVALUE]=function(d){return IfcPropertyListValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYREFERENCEVALUE]=function(d){return IfcPropertyReferenceValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYSET]=function(d){return IfcPropertySet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYSETDEFINITION]=function(d){return IfcPropertySetDefinition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYSETTEMPLATE]=function(d){return IfcPropertySetTemplate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYSINGLEVALUE]=function(d){return IfcPropertySingleValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYTABLEVALUE]=function(d){return IfcPropertyTableValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYTEMPLATE]=function(d){return IfcPropertyTemplate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROPERTYTEMPLATEDEFINITION]=function(d){return IfcPropertyTemplateDefinition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROTECTIVEDEVICE]=function(d){return IfcProtectiveDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROTECTIVEDEVICETRIPPINGUNIT]=function(d){return IfcProtectiveDeviceTrippingUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROTECTIVEDEVICETRIPPINGUNITTYPE]=function(d){return IfcProtectiveDeviceTrippingUnitType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROTECTIVEDEVICETYPE]=function(d){return IfcProtectiveDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPROXY]=function(d){return IfcProxy.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPUMP]=function(d){return IfcPump.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCPUMPTYPE]=function(d){return IfcPumpType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYAREA]=function(d){return IfcQuantityArea.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYCOUNT]=function(d){return IfcQuantityCount.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYLENGTH]=function(d){return IfcQuantityLength.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYSET]=function(d){return IfcQuantitySet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYTIME]=function(d){return IfcQuantityTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYVOLUME]=function(d){return IfcQuantityVolume.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCQUANTITYWEIGHT]=function(d){return IfcQuantityWeight.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRAILING]=function(d){return IfcRailing.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRAILINGTYPE]=function(d){return IfcRailingType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRAMP]=function(d){return IfcRamp.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRAMPFLIGHT]=function(d){return IfcRampFlight.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRAMPFLIGHTTYPE]=function(d){return IfcRampFlightType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRAMPTYPE]=function(d){return IfcRampType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRATIONALBSPLINECURVEWITHKNOTS]=function(d){return IfcRationalBSplineCurveWithKnots.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRATIONALBSPLINESURFACEWITHKNOTS]=function(d){return IfcRationalBSplineSurfaceWithKnots.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRECTANGLEHOLLOWPROFILEDEF]=function(d){return IfcRectangleHollowProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRECTANGLEPROFILEDEF]=function(d){return IfcRectangleProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRECTANGULARPYRAMID]=function(d){return IfcRectangularPyramid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRECTANGULARTRIMMEDSURFACE]=function(d){return IfcRectangularTrimmedSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRECURRENCEPATTERN]=function(d){return IfcRecurrencePattern.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREFERENCE]=function(d){return IfcReference.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREFERENT]=function(d){return IfcReferent.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREGULARTIMESERIES]=function(d){return IfcRegularTimeSeries.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCEMENTBARPROPERTIES]=function(d){return IfcReinforcementBarProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCEMENTDEFINITIONPROPERTIES]=function(d){return IfcReinforcementDefinitionProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCINGBAR]=function(d){return IfcReinforcingBar.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCINGBARTYPE]=function(d){return IfcReinforcingBarType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCINGELEMENT]=function(d){return IfcReinforcingElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCINGELEMENTTYPE]=function(d){return IfcReinforcingElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCINGMESH]=function(d){return IfcReinforcingMesh.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREINFORCINGMESHTYPE]=function(d){return IfcReinforcingMeshType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELAGGREGATES]=function(d){return IfcRelAggregates.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNS]=function(d){return IfcRelAssigns.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTOACTOR]=function(d){return IfcRelAssignsToActor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTOCONTROL]=function(d){return IfcRelAssignsToControl.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTOGROUP]=function(d){return IfcRelAssignsToGroup.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTOGROUPBYFACTOR]=function(d){return IfcRelAssignsToGroupByFactor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTOPROCESS]=function(d){return IfcRelAssignsToProcess.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTOPRODUCT]=function(d){return IfcRelAssignsToProduct.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSIGNSTORESOURCE]=function(d){return IfcRelAssignsToResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATES]=function(d){return IfcRelAssociates.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATESAPPROVAL]=function(d){return IfcRelAssociatesApproval.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATESCLASSIFICATION]=function(d){return IfcRelAssociatesClassification.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATESCONSTRAINT]=function(d){return IfcRelAssociatesConstraint.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATESDOCUMENT]=function(d){return IfcRelAssociatesDocument.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATESLIBRARY]=function(d){return IfcRelAssociatesLibrary.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELASSOCIATESMATERIAL]=function(d){return IfcRelAssociatesMaterial.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTS]=function(d){return IfcRelConnects.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSELEMENTS]=function(d){return IfcRelConnectsElements.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSPATHELEMENTS]=function(d){return IfcRelConnectsPathElements.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSPORTTOELEMENT]=function(d){return IfcRelConnectsPortToElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSPORTS]=function(d){return IfcRelConnectsPorts.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSSTRUCTURALACTIVITY]=function(d){return IfcRelConnectsStructuralActivity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSSTRUCTURALMEMBER]=function(d){return IfcRelConnectsStructuralMember.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSWITHECCENTRICITY]=function(d){return IfcRelConnectsWithEccentricity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONNECTSWITHREALIZINGELEMENTS]=function(d){return IfcRelConnectsWithRealizingElements.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCONTAINEDINSPATIALSTRUCTURE]=function(d){return IfcRelContainedInSpatialStructure.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCOVERSBLDGELEMENTS]=function(d){return IfcRelCoversBldgElements.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELCOVERSSPACES]=function(d){return IfcRelCoversSpaces.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDECLARES]=function(d){return IfcRelDeclares.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDECOMPOSES]=function(d){return IfcRelDecomposes.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDEFINES]=function(d){return IfcRelDefines.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDEFINESBYOBJECT]=function(d){return IfcRelDefinesByObject.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDEFINESBYPROPERTIES]=function(d){return IfcRelDefinesByProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDEFINESBYTEMPLATE]=function(d){return IfcRelDefinesByTemplate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELDEFINESBYTYPE]=function(d){return IfcRelDefinesByType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELFILLSELEMENT]=function(d){return IfcRelFillsElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELFLOWCONTROLELEMENTS]=function(d){return IfcRelFlowControlElements.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELINTERFERESELEMENTS]=function(d){return IfcRelInterferesElements.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELNESTS]=function(d){return IfcRelNests.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELPOSITIONS]=function(d){return IfcRelPositions.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELPROJECTSELEMENT]=function(d){return IfcRelProjectsElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELREFERENCEDINSPATIALSTRUCTURE]=function(d){return IfcRelReferencedInSpatialStructure.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELSEQUENCE]=function(d){return IfcRelSequence.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELSERVICESBUILDINGS]=function(d){return IfcRelServicesBuildings.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELSPACEBOUNDARY]=function(d){return IfcRelSpaceBoundary.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELSPACEBOUNDARY1STLEVEL]=function(d){return IfcRelSpaceBoundary1stLevel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELSPACEBOUNDARY2NDLEVEL]=function(d){return IfcRelSpaceBoundary2ndLevel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELVOIDSELEMENT]=function(d){return IfcRelVoidsElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRELATIONSHIP]=function(d){return IfcRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREPARAMETRISEDCOMPOSITECURVESEGMENT]=function(d){return IfcReparametrisedCompositeCurveSegment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREPRESENTATION]=function(d){return IfcRepresentation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREPRESENTATIONCONTEXT]=function(d){return IfcRepresentationContext.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREPRESENTATIONITEM]=function(d){return IfcRepresentationItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREPRESENTATIONMAP]=function(d){return IfcRepresentationMap.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRESOURCE]=function(d){return IfcResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRESOURCEAPPROVALRELATIONSHIP]=function(d){return IfcResourceApprovalRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRESOURCECONSTRAINTRELATIONSHIP]=function(d){return IfcResourceConstraintRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRESOURCELEVELRELATIONSHIP]=function(d){return IfcResourceLevelRelationship.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRESOURCETIME]=function(d){return IfcResourceTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREVOLVEDAREASOLID]=function(d){return IfcRevolvedAreaSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCREVOLVEDAREASOLIDTAPERED]=function(d){return IfcRevolvedAreaSolidTapered.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRIGHTCIRCULARCONE]=function(d){return IfcRightCircularCone.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCRIGHTCIRCULARCYLINDER]=function(d){return IfcRightCircularCylinder.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCROOF]=function(d){return IfcRoof.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCROOFTYPE]=function(d){return IfcRoofType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCROOT]=function(d){return IfcRoot.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCROUNDEDRECTANGLEPROFILEDEF]=function(d){return IfcRoundedRectangleProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSIUNIT]=function(d){return IfcSIUnit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSANITARYTERMINAL]=function(d){return IfcSanitaryTerminal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSANITARYTERMINALTYPE]=function(d){return IfcSanitaryTerminalType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSCHEDULINGTIME]=function(d){return IfcSchedulingTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSEAMCURVE]=function(d){return IfcSeamCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSECTIONPROPERTIES]=function(d){return IfcSectionProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSECTIONREINFORCEMENTPROPERTIES]=function(d){return IfcSectionReinforcementProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSECTIONEDSOLID]=function(d){return IfcSectionedSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSECTIONEDSOLIDHORIZONTAL]=function(d){return IfcSectionedSolidHorizontal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSECTIONEDSPINE]=function(d){return IfcSectionedSpine.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSENSOR]=function(d){return IfcSensor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSENSORTYPE]=function(d){return IfcSensorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSHADINGDEVICE]=function(d){return IfcShadingDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSHADINGDEVICETYPE]=function(d){return IfcShadingDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSHAPEASPECT]=function(d){return IfcShapeAspect.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSHAPEMODEL]=function(d){return IfcShapeModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSHAPEREPRESENTATION]=function(d){return IfcShapeRepresentation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSHELLBASEDSURFACEMODEL]=function(d){return IfcShellBasedSurfaceModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSIMPLEPROPERTY]=function(d){return IfcSimpleProperty.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSIMPLEPROPERTYTEMPLATE]=function(d){return IfcSimplePropertyTemplate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSITE]=function(d){return IfcSite.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSLAB]=function(d){return IfcSlab.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSLABELEMENTEDCASE]=function(d){return IfcSlabElementedCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSLABSTANDARDCASE]=function(d){return IfcSlabStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSLABTYPE]=function(d){return IfcSlabType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSLIPPAGECONNECTIONCONDITION]=function(d){return IfcSlippageConnectionCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSOLARDEVICE]=function(d){return IfcSolarDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSOLARDEVICETYPE]=function(d){return IfcSolarDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSOLIDMODEL]=function(d){return IfcSolidModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPACE]=function(d){return IfcSpace.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPACEHEATER]=function(d){return IfcSpaceHeater.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPACEHEATERTYPE]=function(d){return IfcSpaceHeaterType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPACETYPE]=function(d){return IfcSpaceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPATIALELEMENT]=function(d){return IfcSpatialElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPATIALELEMENTTYPE]=function(d){return IfcSpatialElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPATIALSTRUCTUREELEMENT]=function(d){return IfcSpatialStructureElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPATIALSTRUCTUREELEMENTTYPE]=function(d){return IfcSpatialStructureElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPATIALZONE]=function(d){return IfcSpatialZone.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPATIALZONETYPE]=function(d){return IfcSpatialZoneType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPHERE]=function(d){return IfcSphere.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSPHERICALSURFACE]=function(d){return IfcSphericalSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTACKTERMINAL]=function(d){return IfcStackTerminal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTACKTERMINALTYPE]=function(d){return IfcStackTerminalType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTAIR]=function(d){return IfcStair.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTAIRFLIGHT]=function(d){return IfcStairFlight.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTAIRFLIGHTTYPE]=function(d){return IfcStairFlightType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTAIRTYPE]=function(d){return IfcStairType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALACTION]=function(d){return IfcStructuralAction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALACTIVITY]=function(d){return IfcStructuralActivity.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALANALYSISMODEL]=function(d){return IfcStructuralAnalysisModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCONNECTION]=function(d){return IfcStructuralConnection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCONNECTIONCONDITION]=function(d){return IfcStructuralConnectionCondition.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCURVEACTION]=function(d){return IfcStructuralCurveAction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCURVECONNECTION]=function(d){return IfcStructuralCurveConnection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCURVEMEMBER]=function(d){return IfcStructuralCurveMember.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCURVEMEMBERVARYING]=function(d){return IfcStructuralCurveMemberVarying.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALCURVEREACTION]=function(d){return IfcStructuralCurveReaction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALITEM]=function(d){return IfcStructuralItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLINEARACTION]=function(d){return IfcStructuralLinearAction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOAD]=function(d){return IfcStructuralLoad.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADCASE]=function(d){return IfcStructuralLoadCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADCONFIGURATION]=function(d){return IfcStructuralLoadConfiguration.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADGROUP]=function(d){return IfcStructuralLoadGroup.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADLINEARFORCE]=function(d){return IfcStructuralLoadLinearForce.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADORRESULT]=function(d){return IfcStructuralLoadOrResult.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADPLANARFORCE]=function(d){return IfcStructuralLoadPlanarForce.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADSINGLEDISPLACEMENT]=function(d){return IfcStructuralLoadSingleDisplacement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION]=function(d){return IfcStructuralLoadSingleDisplacementDistortion.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADSINGLEFORCE]=function(d){return IfcStructuralLoadSingleForce.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADSINGLEFORCEWARPING]=function(d){return IfcStructuralLoadSingleForceWarping.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADSTATIC]=function(d){return IfcStructuralLoadStatic.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALLOADTEMPERATURE]=function(d){return IfcStructuralLoadTemperature.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALMEMBER]=function(d){return IfcStructuralMember.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALPLANARACTION]=function(d){return IfcStructuralPlanarAction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALPOINTACTION]=function(d){return IfcStructuralPointAction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALPOINTCONNECTION]=function(d){return IfcStructuralPointConnection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALPOINTREACTION]=function(d){return IfcStructuralPointReaction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALREACTION]=function(d){return IfcStructuralReaction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALRESULTGROUP]=function(d){return IfcStructuralResultGroup.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALSURFACEACTION]=function(d){return IfcStructuralSurfaceAction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALSURFACECONNECTION]=function(d){return IfcStructuralSurfaceConnection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALSURFACEMEMBER]=function(d){return IfcStructuralSurfaceMember.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALSURFACEMEMBERVARYING]=function(d){return IfcStructuralSurfaceMemberVarying.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTRUCTURALSURFACEREACTION]=function(d){return IfcStructuralSurfaceReaction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTYLEMODEL]=function(d){return IfcStyleModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTYLEDITEM]=function(d){return IfcStyledItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSTYLEDREPRESENTATION]=function(d){return IfcStyledRepresentation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSUBCONTRACTRESOURCE]=function(d){return IfcSubContractResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSUBCONTRACTRESOURCETYPE]=function(d){return IfcSubContractResourceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSUBEDGE]=function(d){return IfcSubedge.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACE]=function(d){return IfcSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACECURVE]=function(d){return IfcSurfaceCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACECURVESWEPTAREASOLID]=function(d){return IfcSurfaceCurveSweptAreaSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACEFEATURE]=function(d){return IfcSurfaceFeature.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACEOFLINEAREXTRUSION]=function(d){return IfcSurfaceOfLinearExtrusion.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACEOFREVOLUTION]=function(d){return IfcSurfaceOfRevolution.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACEREINFORCEMENTAREA]=function(d){return IfcSurfaceReinforcementArea.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACESTYLE]=function(d){return IfcSurfaceStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACESTYLELIGHTING]=function(d){return IfcSurfaceStyleLighting.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACESTYLEREFRACTION]=function(d){return IfcSurfaceStyleRefraction.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACESTYLERENDERING]=function(d){return IfcSurfaceStyleRendering.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACESTYLESHADING]=function(d){return IfcSurfaceStyleShading.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACESTYLEWITHTEXTURES]=function(d){return IfcSurfaceStyleWithTextures.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSURFACETEXTURE]=function(d){return IfcSurfaceTexture.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSWEPTAREASOLID]=function(d){return IfcSweptAreaSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSWEPTDISKSOLID]=function(d){return IfcSweptDiskSolid.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSWEPTDISKSOLIDPOLYGONAL]=function(d){return IfcSweptDiskSolidPolygonal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSWEPTSURFACE]=function(d){return IfcSweptSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSWITCHINGDEVICE]=function(d){return IfcSwitchingDevice.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSWITCHINGDEVICETYPE]=function(d){return IfcSwitchingDeviceType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSYSTEM]=function(d){return IfcSystem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSYSTEMFURNITUREELEMENT]=function(d){return IfcSystemFurnitureElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCSYSTEMFURNITUREELEMENTTYPE]=function(d){return IfcSystemFurnitureElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTSHAPEPROFILEDEF]=function(d){return IfcTShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTABLE]=function(d){return IfcTable.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTABLECOLUMN]=function(d){return IfcTableColumn.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTABLEROW]=function(d){return IfcTableRow.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTANK]=function(d){return IfcTank.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTANKTYPE]=function(d){return IfcTankType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTASK]=function(d){return IfcTask.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTASKTIME]=function(d){return IfcTaskTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTASKTIMERECURRING]=function(d){return IfcTaskTimeRecurring.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTASKTYPE]=function(d){return IfcTaskType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTELECOMADDRESS]=function(d){return IfcTelecomAddress.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTENDON]=function(d){return IfcTendon.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTENDONANCHOR]=function(d){return IfcTendonAnchor.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTENDONANCHORTYPE]=function(d){return IfcTendonAnchorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTENDONCONDUIT]=function(d){return IfcTendonConduit.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTENDONCONDUITTYPE]=function(d){return IfcTendonConduitType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTENDONTYPE]=function(d){return IfcTendonType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTESSELLATEDFACESET]=function(d){return IfcTessellatedFaceSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTESSELLATEDITEM]=function(d){return IfcTessellatedItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTLITERAL]=function(d){return IfcTextLiteral.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTLITERALWITHEXTENT]=function(d){return IfcTextLiteralWithExtent.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTSTYLE]=function(d){return IfcTextStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTSTYLEFONTMODEL]=function(d){return IfcTextStyleFontModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTSTYLEFORDEFINEDFONT]=function(d){return IfcTextStyleForDefinedFont.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTSTYLETEXTMODEL]=function(d){return IfcTextStyleTextModel.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTURECOORDINATE]=function(d){return IfcTextureCoordinate.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTURECOORDINATEGENERATOR]=function(d){return IfcTextureCoordinateGenerator.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTUREMAP]=function(d){return IfcTextureMap.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTUREVERTEX]=function(d){return IfcTextureVertex.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTEXTUREVERTEXLIST]=function(d){return IfcTextureVertexList.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTIMEPERIOD]=function(d){return IfcTimePeriod.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTIMESERIES]=function(d){return IfcTimeSeries.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTIMESERIESVALUE]=function(d){return IfcTimeSeriesValue.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTOPOLOGICALREPRESENTATIONITEM]=function(d){return IfcTopologicalRepresentationItem.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTOPOLOGYREPRESENTATION]=function(d){return IfcTopologyRepresentation.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTOROIDALSURFACE]=function(d){return IfcToroidalSurface.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRANSFORMER]=function(d){return IfcTransformer.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRANSFORMERTYPE]=function(d){return IfcTransformerType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRANSITIONCURVESEGMENT2D]=function(d){return IfcTransitionCurveSegment2D.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRANSPORTELEMENT]=function(d){return IfcTransportElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRANSPORTELEMENTTYPE]=function(d){return IfcTransportElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRAPEZIUMPROFILEDEF]=function(d){return IfcTrapeziumProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRIANGULATEDFACESET]=function(d){return IfcTriangulatedFaceSet.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRIANGULATEDIRREGULARNETWORK]=function(d){return IfcTriangulatedIrregularNetwork.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTRIMMEDCURVE]=function(d){return IfcTrimmedCurve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTUBEBUNDLE]=function(d){return IfcTubeBundle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTUBEBUNDLETYPE]=function(d){return IfcTubeBundleType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTYPEOBJECT]=function(d){return IfcTypeObject.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTYPEPROCESS]=function(d){return IfcTypeProcess.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTYPEPRODUCT]=function(d){return IfcTypeProduct.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCTYPERESOURCE]=function(d){return IfcTypeResource.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCUSHAPEPROFILEDEF]=function(d){return IfcUShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCUNITASSIGNMENT]=function(d){return IfcUnitAssignment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCUNITARYCONTROLELEMENT]=function(d){return IfcUnitaryControlElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCUNITARYCONTROLELEMENTTYPE]=function(d){return IfcUnitaryControlElementType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCUNITARYEQUIPMENT]=function(d){return IfcUnitaryEquipment.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCUNITARYEQUIPMENTTYPE]=function(d){return IfcUnitaryEquipmentType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVALVE]=function(d){return IfcValve.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVALVETYPE]=function(d){return IfcValveType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVECTOR]=function(d){return IfcVector.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVERTEX]=function(d){return IfcVertex.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVERTEXLOOP]=function(d){return IfcVertexLoop.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVERTEXPOINT]=function(d){return IfcVertexPoint.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVIBRATIONDAMPER]=function(d){return IfcVibrationDamper.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVIBRATIONDAMPERTYPE]=function(d){return IfcVibrationDamperType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVIBRATIONISOLATOR]=function(d){return IfcVibrationIsolator.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVIBRATIONISOLATORTYPE]=function(d){return IfcVibrationIsolatorType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVIRTUALELEMENT]=function(d){return IfcVirtualElement.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVIRTUALGRIDINTERSECTION]=function(d){return IfcVirtualGridIntersection.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCVOIDINGFEATURE]=function(d){return IfcVoidingFeature.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWALL]=function(d){return IfcWall.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWALLELEMENTEDCASE]=function(d){return IfcWallElementedCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWALLSTANDARDCASE]=function(d){return IfcWallStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWALLTYPE]=function(d){return IfcWallType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWASTETERMINAL]=function(d){return IfcWasteTerminal.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWASTETERMINALTYPE]=function(d){return IfcWasteTerminalType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWINDOW]=function(d){return IfcWindow.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWINDOWLININGPROPERTIES]=function(d){return IfcWindowLiningProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWINDOWPANELPROPERTIES]=function(d){return IfcWindowPanelProperties.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWINDOWSTANDARDCASE]=function(d){return IfcWindowStandardCase.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWINDOWSTYLE]=function(d){return IfcWindowStyle.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWINDOWTYPE]=function(d){return IfcWindowType.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWORKCALENDAR]=function(d){return IfcWorkCalendar.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWORKCONTROL]=function(d){return IfcWorkControl.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWORKPLAN]=function(d){return IfcWorkPlan.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWORKSCHEDULE]=function(d){return IfcWorkSchedule.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCWORKTIME]=function(d){return IfcWorkTime.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCZSHAPEPROFILEDEF]=function(d){return IfcZShapeProfileDef.FromTape(d.ID,d.type,d.arguments);};FromRawLineData[IFCZONE]=function(d){return IfcZone.FromTape(d.ID,d.type,d.arguments);};var IfcActionRequest=/*#__PURE__*/function(){function IfcActionRequest(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,LongDescription){_classCallCheck(this,IfcActionRequest);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.PredefinedType=PredefinedType;this.Status=Status;this.LongDescription=LongDescription;}_createClass(IfcActionRequest,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.PredefinedType);args.push(this.Status);args.push(this.LongDescription);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var PredefinedType=tape[ptr++];var Status=tape[ptr++];var LongDescription=tape[ptr++];return new IfcActionRequest(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,LongDescription);}}]);return IfcActionRequest;}();var IfcActor=/*#__PURE__*/function(){function IfcActor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,TheActor){_classCallCheck(this,IfcActor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.TheActor=TheActor;}_createClass(IfcActor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.TheActor);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var TheActor=tape[ptr++];return new IfcActor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,TheActor);}}]);return IfcActor;}();var IfcActorRole=/*#__PURE__*/function(){function IfcActorRole(expressID,type,Role,UserDefinedRole,Description){_classCallCheck(this,IfcActorRole);this.expressID=expressID;this.type=type;this.Role=Role;this.UserDefinedRole=UserDefinedRole;this.Description=Description;}_createClass(IfcActorRole,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Role);args.push(this.UserDefinedRole);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Role=tape[ptr++];var UserDefinedRole=tape[ptr++];var Description=tape[ptr++];return new IfcActorRole(expressID,type,Role,UserDefinedRole,Description);}}]);return IfcActorRole;}();var IfcActuator=/*#__PURE__*/function(){function IfcActuator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcActuator);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcActuator,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcActuator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcActuator;}();var IfcActuatorType=/*#__PURE__*/function(){function IfcActuatorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcActuatorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcActuatorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcActuatorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcActuatorType;}();var IfcAddress=/*#__PURE__*/function(){function IfcAddress(expressID,type,Purpose,Description,UserDefinedPurpose){_classCallCheck(this,IfcAddress);this.expressID=expressID;this.type=type;this.Purpose=Purpose;this.Description=Description;this.UserDefinedPurpose=UserDefinedPurpose;}_createClass(IfcAddress,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Purpose);args.push(this.Description);args.push(this.UserDefinedPurpose);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Purpose=tape[ptr++];var Description=tape[ptr++];var UserDefinedPurpose=tape[ptr++];return new IfcAddress(expressID,type,Purpose,Description,UserDefinedPurpose);}}]);return IfcAddress;}();var IfcAdvancedBrep=/*#__PURE__*/function(){function IfcAdvancedBrep(expressID,type,Outer){_classCallCheck(this,IfcAdvancedBrep);this.expressID=expressID;this.type=type;this.Outer=Outer;}_createClass(IfcAdvancedBrep,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Outer);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Outer=tape[ptr++];return new IfcAdvancedBrep(expressID,type,Outer);}}]);return IfcAdvancedBrep;}();var IfcAdvancedBrepWithVoids=/*#__PURE__*/function(){function IfcAdvancedBrepWithVoids(expressID,type,Outer,Voids){_classCallCheck(this,IfcAdvancedBrepWithVoids);this.expressID=expressID;this.type=type;this.Outer=Outer;this.Voids=Voids;}_createClass(IfcAdvancedBrepWithVoids,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Outer);args.push(this.Voids);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Outer=tape[ptr++];var Voids=tape[ptr++];return new IfcAdvancedBrepWithVoids(expressID,type,Outer,Voids);}}]);return IfcAdvancedBrepWithVoids;}();var IfcAdvancedFace=/*#__PURE__*/function(){function IfcAdvancedFace(expressID,type,Bounds,FaceSurface,SameSense){_classCallCheck(this,IfcAdvancedFace);this.expressID=expressID;this.type=type;this.Bounds=Bounds;this.FaceSurface=FaceSurface;this.SameSense=SameSense;}_createClass(IfcAdvancedFace,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Bounds);args.push(this.FaceSurface);args.push(this.SameSense);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Bounds=tape[ptr++];var FaceSurface=tape[ptr++];var SameSense=tape[ptr++];return new IfcAdvancedFace(expressID,type,Bounds,FaceSurface,SameSense);}}]);return IfcAdvancedFace;}();var IfcAirTerminal=/*#__PURE__*/function(){function IfcAirTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcAirTerminal);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcAirTerminal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAirTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcAirTerminal;}();var IfcAirTerminalBox=/*#__PURE__*/function(){function IfcAirTerminalBox(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcAirTerminalBox);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcAirTerminalBox,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAirTerminalBox(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcAirTerminalBox;}();var IfcAirTerminalBoxType=/*#__PURE__*/function(){function IfcAirTerminalBoxType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcAirTerminalBoxType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcAirTerminalBoxType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAirTerminalBoxType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcAirTerminalBoxType;}();var IfcAirTerminalType=/*#__PURE__*/function(){function IfcAirTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcAirTerminalType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcAirTerminalType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAirTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcAirTerminalType;}();var IfcAirToAirHeatRecovery=/*#__PURE__*/function(){function IfcAirToAirHeatRecovery(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcAirToAirHeatRecovery);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcAirToAirHeatRecovery,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAirToAirHeatRecovery(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcAirToAirHeatRecovery;}();var IfcAirToAirHeatRecoveryType=/*#__PURE__*/function(){function IfcAirToAirHeatRecoveryType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcAirToAirHeatRecoveryType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcAirToAirHeatRecoveryType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAirToAirHeatRecoveryType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcAirToAirHeatRecoveryType;}();var IfcAlarm=/*#__PURE__*/function(){function IfcAlarm(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcAlarm);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcAlarm,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAlarm(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcAlarm;}();var IfcAlarmType=/*#__PURE__*/function(){function IfcAlarmType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcAlarmType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcAlarmType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAlarmType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcAlarmType;}();var IfcAlignment=/*#__PURE__*/function(){function IfcAlignment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Axis,PredefinedType){_classCallCheck(this,IfcAlignment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Axis=Axis;this.PredefinedType=PredefinedType;}_createClass(IfcAlignment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Axis);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Axis=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAlignment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Axis,PredefinedType);}}]);return IfcAlignment;}();var IfcAlignment2DHorizontal=/*#__PURE__*/function(){function IfcAlignment2DHorizontal(expressID,type,StartDistAlong,Segments){_classCallCheck(this,IfcAlignment2DHorizontal);this.expressID=expressID;this.type=type;this.StartDistAlong=StartDistAlong;this.Segments=Segments;}_createClass(IfcAlignment2DHorizontal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.StartDistAlong);args.push(this.Segments);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var StartDistAlong=tape[ptr++];var Segments=tape[ptr++];return new IfcAlignment2DHorizontal(expressID,type,StartDistAlong,Segments);}}]);return IfcAlignment2DHorizontal;}();var IfcAlignment2DHorizontalSegment=/*#__PURE__*/function(){function IfcAlignment2DHorizontalSegment(expressID,type,TangentialContinuity,StartTag,EndTag,CurveGeometry){_classCallCheck(this,IfcAlignment2DHorizontalSegment);this.expressID=expressID;this.type=type;this.TangentialContinuity=TangentialContinuity;this.StartTag=StartTag;this.EndTag=EndTag;this.CurveGeometry=CurveGeometry;}_createClass(IfcAlignment2DHorizontalSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TangentialContinuity);args.push(this.StartTag);args.push(this.EndTag);args.push(this.CurveGeometry);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TangentialContinuity=tape[ptr++];var StartTag=tape[ptr++];var EndTag=tape[ptr++];var CurveGeometry=tape[ptr++];return new IfcAlignment2DHorizontalSegment(expressID,type,TangentialContinuity,StartTag,EndTag,CurveGeometry);}}]);return IfcAlignment2DHorizontalSegment;}();var IfcAlignment2DSegment=/*#__PURE__*/function(){function IfcAlignment2DSegment(expressID,type,TangentialContinuity,StartTag,EndTag){_classCallCheck(this,IfcAlignment2DSegment);this.expressID=expressID;this.type=type;this.TangentialContinuity=TangentialContinuity;this.StartTag=StartTag;this.EndTag=EndTag;}_createClass(IfcAlignment2DSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TangentialContinuity);args.push(this.StartTag);args.push(this.EndTag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TangentialContinuity=tape[ptr++];var StartTag=tape[ptr++];var EndTag=tape[ptr++];return new IfcAlignment2DSegment(expressID,type,TangentialContinuity,StartTag,EndTag);}}]);return IfcAlignment2DSegment;}();var IfcAlignment2DVerSegCircularArc=/*#__PURE__*/function(){function IfcAlignment2DVerSegCircularArc(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient,Radius,IsConvex){_classCallCheck(this,IfcAlignment2DVerSegCircularArc);this.expressID=expressID;this.type=type;this.TangentialContinuity=TangentialContinuity;this.StartTag=StartTag;this.EndTag=EndTag;this.StartDistAlong=StartDistAlong;this.HorizontalLength=HorizontalLength;this.StartHeight=StartHeight;this.StartGradient=StartGradient;this.Radius=Radius;this.IsConvex=IsConvex;}_createClass(IfcAlignment2DVerSegCircularArc,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TangentialContinuity);args.push(this.StartTag);args.push(this.EndTag);args.push(this.StartDistAlong);args.push(this.HorizontalLength);args.push(this.StartHeight);args.push(this.StartGradient);args.push(this.Radius);args.push(this.IsConvex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TangentialContinuity=tape[ptr++];var StartTag=tape[ptr++];var EndTag=tape[ptr++];var StartDistAlong=tape[ptr++];var HorizontalLength=tape[ptr++];var StartHeight=tape[ptr++];var StartGradient=tape[ptr++];var Radius=tape[ptr++];var IsConvex=tape[ptr++];return new IfcAlignment2DVerSegCircularArc(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient,Radius,IsConvex);}}]);return IfcAlignment2DVerSegCircularArc;}();var IfcAlignment2DVerSegLine=/*#__PURE__*/function(){function IfcAlignment2DVerSegLine(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient){_classCallCheck(this,IfcAlignment2DVerSegLine);this.expressID=expressID;this.type=type;this.TangentialContinuity=TangentialContinuity;this.StartTag=StartTag;this.EndTag=EndTag;this.StartDistAlong=StartDistAlong;this.HorizontalLength=HorizontalLength;this.StartHeight=StartHeight;this.StartGradient=StartGradient;}_createClass(IfcAlignment2DVerSegLine,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TangentialContinuity);args.push(this.StartTag);args.push(this.EndTag);args.push(this.StartDistAlong);args.push(this.HorizontalLength);args.push(this.StartHeight);args.push(this.StartGradient);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TangentialContinuity=tape[ptr++];var StartTag=tape[ptr++];var EndTag=tape[ptr++];var StartDistAlong=tape[ptr++];var HorizontalLength=tape[ptr++];var StartHeight=tape[ptr++];var StartGradient=tape[ptr++];return new IfcAlignment2DVerSegLine(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient);}}]);return IfcAlignment2DVerSegLine;}();var IfcAlignment2DVerSegParabolicArc=/*#__PURE__*/function(){function IfcAlignment2DVerSegParabolicArc(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient,ParabolaConstant,IsConvex){_classCallCheck(this,IfcAlignment2DVerSegParabolicArc);this.expressID=expressID;this.type=type;this.TangentialContinuity=TangentialContinuity;this.StartTag=StartTag;this.EndTag=EndTag;this.StartDistAlong=StartDistAlong;this.HorizontalLength=HorizontalLength;this.StartHeight=StartHeight;this.StartGradient=StartGradient;this.ParabolaConstant=ParabolaConstant;this.IsConvex=IsConvex;}_createClass(IfcAlignment2DVerSegParabolicArc,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TangentialContinuity);args.push(this.StartTag);args.push(this.EndTag);args.push(this.StartDistAlong);args.push(this.HorizontalLength);args.push(this.StartHeight);args.push(this.StartGradient);args.push(this.ParabolaConstant);args.push(this.IsConvex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TangentialContinuity=tape[ptr++];var StartTag=tape[ptr++];var EndTag=tape[ptr++];var StartDistAlong=tape[ptr++];var HorizontalLength=tape[ptr++];var StartHeight=tape[ptr++];var StartGradient=tape[ptr++];var ParabolaConstant=tape[ptr++];var IsConvex=tape[ptr++];return new IfcAlignment2DVerSegParabolicArc(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient,ParabolaConstant,IsConvex);}}]);return IfcAlignment2DVerSegParabolicArc;}();var IfcAlignment2DVertical=/*#__PURE__*/function(){function IfcAlignment2DVertical(expressID,type,Segments){_classCallCheck(this,IfcAlignment2DVertical);this.expressID=expressID;this.type=type;this.Segments=Segments;}_createClass(IfcAlignment2DVertical,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Segments);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Segments=tape[ptr++];return new IfcAlignment2DVertical(expressID,type,Segments);}}]);return IfcAlignment2DVertical;}();var IfcAlignment2DVerticalSegment=/*#__PURE__*/function(){function IfcAlignment2DVerticalSegment(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient){_classCallCheck(this,IfcAlignment2DVerticalSegment);this.expressID=expressID;this.type=type;this.TangentialContinuity=TangentialContinuity;this.StartTag=StartTag;this.EndTag=EndTag;this.StartDistAlong=StartDistAlong;this.HorizontalLength=HorizontalLength;this.StartHeight=StartHeight;this.StartGradient=StartGradient;}_createClass(IfcAlignment2DVerticalSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TangentialContinuity);args.push(this.StartTag);args.push(this.EndTag);args.push(this.StartDistAlong);args.push(this.HorizontalLength);args.push(this.StartHeight);args.push(this.StartGradient);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TangentialContinuity=tape[ptr++];var StartTag=tape[ptr++];var EndTag=tape[ptr++];var StartDistAlong=tape[ptr++];var HorizontalLength=tape[ptr++];var StartHeight=tape[ptr++];var StartGradient=tape[ptr++];return new IfcAlignment2DVerticalSegment(expressID,type,TangentialContinuity,StartTag,EndTag,StartDistAlong,HorizontalLength,StartHeight,StartGradient);}}]);return IfcAlignment2DVerticalSegment;}();var IfcAlignmentCurve=/*#__PURE__*/function(){function IfcAlignmentCurve(expressID,type,Horizontal,Vertical,Tag){_classCallCheck(this,IfcAlignmentCurve);this.expressID=expressID;this.type=type;this.Horizontal=Horizontal;this.Vertical=Vertical;this.Tag=Tag;}_createClass(IfcAlignmentCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Horizontal);args.push(this.Vertical);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Horizontal=tape[ptr++];var Vertical=tape[ptr++];var Tag=tape[ptr++];return new IfcAlignmentCurve(expressID,type,Horizontal,Vertical,Tag);}}]);return IfcAlignmentCurve;}();var IfcAnnotation=/*#__PURE__*/function(){function IfcAnnotation(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation){_classCallCheck(this,IfcAnnotation);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;}_createClass(IfcAnnotation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];return new IfcAnnotation(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation);}}]);return IfcAnnotation;}();var IfcAnnotationFillArea=/*#__PURE__*/function(){function IfcAnnotationFillArea(expressID,type,OuterBoundary,InnerBoundaries){_classCallCheck(this,IfcAnnotationFillArea);this.expressID=expressID;this.type=type;this.OuterBoundary=OuterBoundary;this.InnerBoundaries=InnerBoundaries;}_createClass(IfcAnnotationFillArea,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.OuterBoundary);args.push(this.InnerBoundaries);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var OuterBoundary=tape[ptr++];var InnerBoundaries=tape[ptr++];return new IfcAnnotationFillArea(expressID,type,OuterBoundary,InnerBoundaries);}}]);return IfcAnnotationFillArea;}();var IfcApplication=/*#__PURE__*/function(){function IfcApplication(expressID,type,ApplicationDeveloper,Version,ApplicationFullName,ApplicationIdentifier){_classCallCheck(this,IfcApplication);this.expressID=expressID;this.type=type;this.ApplicationDeveloper=ApplicationDeveloper;this.Version=Version;this.ApplicationFullName=ApplicationFullName;this.ApplicationIdentifier=ApplicationIdentifier;}_createClass(IfcApplication,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ApplicationDeveloper);args.push(this.Version);args.push(this.ApplicationFullName);args.push(this.ApplicationIdentifier);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ApplicationDeveloper=tape[ptr++];var Version=tape[ptr++];var ApplicationFullName=tape[ptr++];var ApplicationIdentifier=tape[ptr++];return new IfcApplication(expressID,type,ApplicationDeveloper,Version,ApplicationFullName,ApplicationIdentifier);}}]);return IfcApplication;}();var IfcAppliedValue=/*#__PURE__*/function(){function IfcAppliedValue(expressID,type,Name,Description,AppliedValue,UnitBasis,ApplicableDate,FixedUntilDate,Category,Condition,ArithmeticOperator,Components){_classCallCheck(this,IfcAppliedValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.AppliedValue=AppliedValue;this.UnitBasis=UnitBasis;this.ApplicableDate=ApplicableDate;this.FixedUntilDate=FixedUntilDate;this.Category=Category;this.Condition=Condition;this.ArithmeticOperator=ArithmeticOperator;this.Components=Components;}_createClass(IfcAppliedValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.AppliedValue);args.push(this.UnitBasis);args.push(this.ApplicableDate);args.push(this.FixedUntilDate);args.push(this.Category);args.push(this.Condition);args.push(this.ArithmeticOperator);args.push(this.Components);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var AppliedValue=tape[ptr++];var UnitBasis=tape[ptr++];var ApplicableDate=tape[ptr++];var FixedUntilDate=tape[ptr++];var Category=tape[ptr++];var Condition=tape[ptr++];var ArithmeticOperator=tape[ptr++];var Components=tape[ptr++];return new IfcAppliedValue(expressID,type,Name,Description,AppliedValue,UnitBasis,ApplicableDate,FixedUntilDate,Category,Condition,ArithmeticOperator,Components);}}]);return IfcAppliedValue;}();var IfcApproval=/*#__PURE__*/function(){function IfcApproval(expressID,type,Identifier,Name,Description,TimeOfApproval,Status,Level,Qualifier,RequestingApproval,GivingApproval){_classCallCheck(this,IfcApproval);this.expressID=expressID;this.type=type;this.Identifier=Identifier;this.Name=Name;this.Description=Description;this.TimeOfApproval=TimeOfApproval;this.Status=Status;this.Level=Level;this.Qualifier=Qualifier;this.RequestingApproval=RequestingApproval;this.GivingApproval=GivingApproval;}_createClass(IfcApproval,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Identifier);args.push(this.Name);args.push(this.Description);args.push(this.TimeOfApproval);args.push(this.Status);args.push(this.Level);args.push(this.Qualifier);args.push(this.RequestingApproval);args.push(this.GivingApproval);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Identifier=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var TimeOfApproval=tape[ptr++];var Status=tape[ptr++];var Level=tape[ptr++];var Qualifier=tape[ptr++];var RequestingApproval=tape[ptr++];var GivingApproval=tape[ptr++];return new IfcApproval(expressID,type,Identifier,Name,Description,TimeOfApproval,Status,Level,Qualifier,RequestingApproval,GivingApproval);}}]);return IfcApproval;}();var IfcApprovalRelationship=/*#__PURE__*/function(){function IfcApprovalRelationship(expressID,type,Name,Description,RelatingApproval,RelatedApprovals){_classCallCheck(this,IfcApprovalRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingApproval=RelatingApproval;this.RelatedApprovals=RelatedApprovals;}_createClass(IfcApprovalRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingApproval);args.push(this.RelatedApprovals);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingApproval=tape[ptr++];var RelatedApprovals=tape[ptr++];return new IfcApprovalRelationship(expressID,type,Name,Description,RelatingApproval,RelatedApprovals);}}]);return IfcApprovalRelationship;}();var IfcArbitraryClosedProfileDef=/*#__PURE__*/function(){function IfcArbitraryClosedProfileDef(expressID,type,ProfileType,ProfileName,OuterCurve){_classCallCheck(this,IfcArbitraryClosedProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.OuterCurve=OuterCurve;}_createClass(IfcArbitraryClosedProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.OuterCurve);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var OuterCurve=tape[ptr++];return new IfcArbitraryClosedProfileDef(expressID,type,ProfileType,ProfileName,OuterCurve);}}]);return IfcArbitraryClosedProfileDef;}();var IfcArbitraryOpenProfileDef=/*#__PURE__*/function(){function IfcArbitraryOpenProfileDef(expressID,type,ProfileType,ProfileName,Curve){_classCallCheck(this,IfcArbitraryOpenProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Curve=Curve;}_createClass(IfcArbitraryOpenProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Curve);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Curve=tape[ptr++];return new IfcArbitraryOpenProfileDef(expressID,type,ProfileType,ProfileName,Curve);}}]);return IfcArbitraryOpenProfileDef;}();var IfcArbitraryProfileDefWithVoids=/*#__PURE__*/function(){function IfcArbitraryProfileDefWithVoids(expressID,type,ProfileType,ProfileName,OuterCurve,InnerCurves){_classCallCheck(this,IfcArbitraryProfileDefWithVoids);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.OuterCurve=OuterCurve;this.InnerCurves=InnerCurves;}_createClass(IfcArbitraryProfileDefWithVoids,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.OuterCurve);args.push(this.InnerCurves);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var OuterCurve=tape[ptr++];var InnerCurves=tape[ptr++];return new IfcArbitraryProfileDefWithVoids(expressID,type,ProfileType,ProfileName,OuterCurve,InnerCurves);}}]);return IfcArbitraryProfileDefWithVoids;}();var IfcAsset=/*#__PURE__*/function(){function IfcAsset(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,OriginalValue,CurrentValue,TotalReplacementCost,Owner,User,ResponsiblePerson,IncorporationDate,DepreciatedValue){_classCallCheck(this,IfcAsset);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.OriginalValue=OriginalValue;this.CurrentValue=CurrentValue;this.TotalReplacementCost=TotalReplacementCost;this.Owner=Owner;this.User=User;this.ResponsiblePerson=ResponsiblePerson;this.IncorporationDate=IncorporationDate;this.DepreciatedValue=DepreciatedValue;}_createClass(IfcAsset,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.OriginalValue);args.push(this.CurrentValue);args.push(this.TotalReplacementCost);args.push(this.Owner);args.push(this.User);args.push(this.ResponsiblePerson);args.push(this.IncorporationDate);args.push(this.DepreciatedValue);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var OriginalValue=tape[ptr++];var CurrentValue=tape[ptr++];var TotalReplacementCost=tape[ptr++];var Owner=tape[ptr++];var User=tape[ptr++];var ResponsiblePerson=tape[ptr++];var IncorporationDate=tape[ptr++];var DepreciatedValue=tape[ptr++];return new IfcAsset(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,OriginalValue,CurrentValue,TotalReplacementCost,Owner,User,ResponsiblePerson,IncorporationDate,DepreciatedValue);}}]);return IfcAsset;}();var IfcAsymmetricIShapeProfileDef=/*#__PURE__*/function(){function IfcAsymmetricIShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,BottomFlangeWidth,OverallDepth,WebThickness,BottomFlangeThickness,BottomFlangeFilletRadius,TopFlangeWidth,TopFlangeThickness,TopFlangeFilletRadius,BottomFlangeEdgeRadius,BottomFlangeSlope,TopFlangeEdgeRadius,TopFlangeSlope){_classCallCheck(this,IfcAsymmetricIShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.BottomFlangeWidth=BottomFlangeWidth;this.OverallDepth=OverallDepth;this.WebThickness=WebThickness;this.BottomFlangeThickness=BottomFlangeThickness;this.BottomFlangeFilletRadius=BottomFlangeFilletRadius;this.TopFlangeWidth=TopFlangeWidth;this.TopFlangeThickness=TopFlangeThickness;this.TopFlangeFilletRadius=TopFlangeFilletRadius;this.BottomFlangeEdgeRadius=BottomFlangeEdgeRadius;this.BottomFlangeSlope=BottomFlangeSlope;this.TopFlangeEdgeRadius=TopFlangeEdgeRadius;this.TopFlangeSlope=TopFlangeSlope;}_createClass(IfcAsymmetricIShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.BottomFlangeWidth);args.push(this.OverallDepth);args.push(this.WebThickness);args.push(this.BottomFlangeThickness);args.push(this.BottomFlangeFilletRadius);args.push(this.TopFlangeWidth);args.push(this.TopFlangeThickness);args.push(this.TopFlangeFilletRadius);args.push(this.BottomFlangeEdgeRadius);args.push(this.BottomFlangeSlope);args.push(this.TopFlangeEdgeRadius);args.push(this.TopFlangeSlope);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var BottomFlangeWidth=tape[ptr++];var OverallDepth=tape[ptr++];var WebThickness=tape[ptr++];var BottomFlangeThickness=tape[ptr++];var BottomFlangeFilletRadius=tape[ptr++];var TopFlangeWidth=tape[ptr++];var TopFlangeThickness=tape[ptr++];var TopFlangeFilletRadius=tape[ptr++];var BottomFlangeEdgeRadius=tape[ptr++];var BottomFlangeSlope=tape[ptr++];var TopFlangeEdgeRadius=tape[ptr++];var TopFlangeSlope=tape[ptr++];return new IfcAsymmetricIShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,BottomFlangeWidth,OverallDepth,WebThickness,BottomFlangeThickness,BottomFlangeFilletRadius,TopFlangeWidth,TopFlangeThickness,TopFlangeFilletRadius,BottomFlangeEdgeRadius,BottomFlangeSlope,TopFlangeEdgeRadius,TopFlangeSlope);}}]);return IfcAsymmetricIShapeProfileDef;}();var IfcAudioVisualAppliance=/*#__PURE__*/function(){function IfcAudioVisualAppliance(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcAudioVisualAppliance);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcAudioVisualAppliance,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAudioVisualAppliance(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcAudioVisualAppliance;}();var IfcAudioVisualApplianceType=/*#__PURE__*/function(){function IfcAudioVisualApplianceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcAudioVisualApplianceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcAudioVisualApplianceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcAudioVisualApplianceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcAudioVisualApplianceType;}();var IfcAxis1Placement=/*#__PURE__*/function(){function IfcAxis1Placement(expressID,type,Location,Axis){_classCallCheck(this,IfcAxis1Placement);this.expressID=expressID;this.type=type;this.Location=Location;this.Axis=Axis;}_createClass(IfcAxis1Placement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Axis);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Axis=tape[ptr++];return new IfcAxis1Placement(expressID,type,Location,Axis);}}]);return IfcAxis1Placement;}();var IfcAxis2Placement2D=/*#__PURE__*/function(){function IfcAxis2Placement2D(expressID,type,Location,RefDirection){_classCallCheck(this,IfcAxis2Placement2D);this.expressID=expressID;this.type=type;this.Location=Location;this.RefDirection=RefDirection;}_createClass(IfcAxis2Placement2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.RefDirection);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var RefDirection=tape[ptr++];return new IfcAxis2Placement2D(expressID,type,Location,RefDirection);}}]);return IfcAxis2Placement2D;}();var IfcAxis2Placement3D=/*#__PURE__*/function(){function IfcAxis2Placement3D(expressID,type,Location,Axis,RefDirection){_classCallCheck(this,IfcAxis2Placement3D);this.expressID=expressID;this.type=type;this.Location=Location;this.Axis=Axis;this.RefDirection=RefDirection;}_createClass(IfcAxis2Placement3D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Axis);args.push(this.RefDirection);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Axis=tape[ptr++];var RefDirection=tape[ptr++];return new IfcAxis2Placement3D(expressID,type,Location,Axis,RefDirection);}}]);return IfcAxis2Placement3D;}();var IfcBSplineCurve=/*#__PURE__*/function(){function IfcBSplineCurve(expressID,type,Degree,ControlPointsList,CurveForm,ClosedCurve,SelfIntersect){_classCallCheck(this,IfcBSplineCurve);this.expressID=expressID;this.type=type;this.Degree=Degree;this.ControlPointsList=ControlPointsList;this.CurveForm=CurveForm;this.ClosedCurve=ClosedCurve;this.SelfIntersect=SelfIntersect;}_createClass(IfcBSplineCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Degree);args.push(this.ControlPointsList);args.push(this.CurveForm);args.push(this.ClosedCurve);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Degree=tape[ptr++];var ControlPointsList=tape[ptr++];var CurveForm=tape[ptr++];var ClosedCurve=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcBSplineCurve(expressID,type,Degree,ControlPointsList,CurveForm,ClosedCurve,SelfIntersect);}}]);return IfcBSplineCurve;}();var IfcBSplineCurveWithKnots=/*#__PURE__*/function(){function IfcBSplineCurveWithKnots(expressID,type,Degree,ControlPointsList,CurveForm,ClosedCurve,SelfIntersect,KnotMultiplicities,Knots,KnotSpec){_classCallCheck(this,IfcBSplineCurveWithKnots);this.expressID=expressID;this.type=type;this.Degree=Degree;this.ControlPointsList=ControlPointsList;this.CurveForm=CurveForm;this.ClosedCurve=ClosedCurve;this.SelfIntersect=SelfIntersect;this.KnotMultiplicities=KnotMultiplicities;this.Knots=Knots;this.KnotSpec=KnotSpec;}_createClass(IfcBSplineCurveWithKnots,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Degree);args.push(this.ControlPointsList);args.push(this.CurveForm);args.push(this.ClosedCurve);args.push(this.SelfIntersect);args.push(this.KnotMultiplicities);args.push(this.Knots);args.push(this.KnotSpec);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Degree=tape[ptr++];var ControlPointsList=tape[ptr++];var CurveForm=tape[ptr++];var ClosedCurve=tape[ptr++];var SelfIntersect=tape[ptr++];var KnotMultiplicities=tape[ptr++];var Knots=tape[ptr++];var KnotSpec=tape[ptr++];return new IfcBSplineCurveWithKnots(expressID,type,Degree,ControlPointsList,CurveForm,ClosedCurve,SelfIntersect,KnotMultiplicities,Knots,KnotSpec);}}]);return IfcBSplineCurveWithKnots;}();var IfcBSplineSurface=/*#__PURE__*/function(){function IfcBSplineSurface(expressID,type,UDegree,VDegree,ControlPointsList,SurfaceForm,UClosed,VClosed,SelfIntersect){_classCallCheck(this,IfcBSplineSurface);this.expressID=expressID;this.type=type;this.UDegree=UDegree;this.VDegree=VDegree;this.ControlPointsList=ControlPointsList;this.SurfaceForm=SurfaceForm;this.UClosed=UClosed;this.VClosed=VClosed;this.SelfIntersect=SelfIntersect;}_createClass(IfcBSplineSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.UDegree);args.push(this.VDegree);args.push(this.ControlPointsList);args.push(this.SurfaceForm);args.push(this.UClosed);args.push(this.VClosed);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var UDegree=tape[ptr++];var VDegree=tape[ptr++];var ControlPointsList=tape[ptr++];var SurfaceForm=tape[ptr++];var UClosed=tape[ptr++];var VClosed=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcBSplineSurface(expressID,type,UDegree,VDegree,ControlPointsList,SurfaceForm,UClosed,VClosed,SelfIntersect);}}]);return IfcBSplineSurface;}();var IfcBSplineSurfaceWithKnots=/*#__PURE__*/function(){function IfcBSplineSurfaceWithKnots(expressID,type,UDegree,VDegree,ControlPointsList,SurfaceForm,UClosed,VClosed,SelfIntersect,UMultiplicities,VMultiplicities,UKnots,VKnots,KnotSpec){_classCallCheck(this,IfcBSplineSurfaceWithKnots);this.expressID=expressID;this.type=type;this.UDegree=UDegree;this.VDegree=VDegree;this.ControlPointsList=ControlPointsList;this.SurfaceForm=SurfaceForm;this.UClosed=UClosed;this.VClosed=VClosed;this.SelfIntersect=SelfIntersect;this.UMultiplicities=UMultiplicities;this.VMultiplicities=VMultiplicities;this.UKnots=UKnots;this.VKnots=VKnots;this.KnotSpec=KnotSpec;}_createClass(IfcBSplineSurfaceWithKnots,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.UDegree);args.push(this.VDegree);args.push(this.ControlPointsList);args.push(this.SurfaceForm);args.push(this.UClosed);args.push(this.VClosed);args.push(this.SelfIntersect);args.push(this.UMultiplicities);args.push(this.VMultiplicities);args.push(this.UKnots);args.push(this.VKnots);args.push(this.KnotSpec);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var UDegree=tape[ptr++];var VDegree=tape[ptr++];var ControlPointsList=tape[ptr++];var SurfaceForm=tape[ptr++];var UClosed=tape[ptr++];var VClosed=tape[ptr++];var SelfIntersect=tape[ptr++];var UMultiplicities=tape[ptr++];var VMultiplicities=tape[ptr++];var UKnots=tape[ptr++];var VKnots=tape[ptr++];var KnotSpec=tape[ptr++];return new IfcBSplineSurfaceWithKnots(expressID,type,UDegree,VDegree,ControlPointsList,SurfaceForm,UClosed,VClosed,SelfIntersect,UMultiplicities,VMultiplicities,UKnots,VKnots,KnotSpec);}}]);return IfcBSplineSurfaceWithKnots;}();var IfcBeam=/*#__PURE__*/function(){function IfcBeam(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBeam);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBeam,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBeam(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBeam;}();var IfcBeamStandardCase=/*#__PURE__*/function(){function IfcBeamStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBeamStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBeamStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBeamStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBeamStandardCase;}();var IfcBeamType=/*#__PURE__*/function(){function IfcBeamType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcBeamType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcBeamType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBeamType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcBeamType;}();var IfcBearing=/*#__PURE__*/function(){function IfcBearing(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBearing);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBearing,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBearing(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBearing;}();var IfcBearingType=/*#__PURE__*/function(){function IfcBearingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcBearingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcBearingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBearingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcBearingType;}();var IfcBlobTexture=/*#__PURE__*/function(){function IfcBlobTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter,RasterFormat,RasterCode){_classCallCheck(this,IfcBlobTexture);this.expressID=expressID;this.type=type;this.RepeatS=RepeatS;this.RepeatT=RepeatT;this.Mode=Mode;this.TextureTransform=TextureTransform;this.Parameter=Parameter;this.RasterFormat=RasterFormat;this.RasterCode=RasterCode;}_createClass(IfcBlobTexture,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RepeatS);args.push(this.RepeatT);args.push(this.Mode);args.push(this.TextureTransform);args.push(this.Parameter);args.push(this.RasterFormat);args.push(this.RasterCode);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RepeatS=tape[ptr++];var RepeatT=tape[ptr++];var Mode=tape[ptr++];var TextureTransform=tape[ptr++];var Parameter=tape[ptr++];var RasterFormat=tape[ptr++];var RasterCode=tape[ptr++];return new IfcBlobTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter,RasterFormat,RasterCode);}}]);return IfcBlobTexture;}();var IfcBlock=/*#__PURE__*/function(){function IfcBlock(expressID,type,Position,XLength,YLength,ZLength){_classCallCheck(this,IfcBlock);this.expressID=expressID;this.type=type;this.Position=Position;this.XLength=XLength;this.YLength=YLength;this.ZLength=ZLength;}_createClass(IfcBlock,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.XLength);args.push(this.YLength);args.push(this.ZLength);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var XLength=tape[ptr++];var YLength=tape[ptr++];var ZLength=tape[ptr++];return new IfcBlock(expressID,type,Position,XLength,YLength,ZLength);}}]);return IfcBlock;}();var IfcBoiler=/*#__PURE__*/function(){function IfcBoiler(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBoiler);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBoiler,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBoiler(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBoiler;}();var IfcBoilerType=/*#__PURE__*/function(){function IfcBoilerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcBoilerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcBoilerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBoilerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcBoilerType;}();var IfcBooleanClippingResult=/*#__PURE__*/function(){function IfcBooleanClippingResult(expressID,type,Operator,FirstOperand,SecondOperand){_classCallCheck(this,IfcBooleanClippingResult);this.expressID=expressID;this.type=type;this.Operator=Operator;this.FirstOperand=FirstOperand;this.SecondOperand=SecondOperand;}_createClass(IfcBooleanClippingResult,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Operator);args.push(this.FirstOperand);args.push(this.SecondOperand);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Operator=tape[ptr++];var FirstOperand=tape[ptr++];var SecondOperand=tape[ptr++];return new IfcBooleanClippingResult(expressID,type,Operator,FirstOperand,SecondOperand);}}]);return IfcBooleanClippingResult;}();var IfcBooleanResult=/*#__PURE__*/function(){function IfcBooleanResult(expressID,type,Operator,FirstOperand,SecondOperand){_classCallCheck(this,IfcBooleanResult);this.expressID=expressID;this.type=type;this.Operator=Operator;this.FirstOperand=FirstOperand;this.SecondOperand=SecondOperand;}_createClass(IfcBooleanResult,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Operator);args.push(this.FirstOperand);args.push(this.SecondOperand);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Operator=tape[ptr++];var FirstOperand=tape[ptr++];var SecondOperand=tape[ptr++];return new IfcBooleanResult(expressID,type,Operator,FirstOperand,SecondOperand);}}]);return IfcBooleanResult;}();var IfcBoundaryCondition=/*#__PURE__*/function(){function IfcBoundaryCondition(expressID,type,Name){_classCallCheck(this,IfcBoundaryCondition);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcBoundaryCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcBoundaryCondition(expressID,type,Name);}}]);return IfcBoundaryCondition;}();var IfcBoundaryCurve=/*#__PURE__*/function(){function IfcBoundaryCurve(expressID,type,Segments,SelfIntersect){_classCallCheck(this,IfcBoundaryCurve);this.expressID=expressID;this.type=type;this.Segments=Segments;this.SelfIntersect=SelfIntersect;}_createClass(IfcBoundaryCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Segments);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Segments=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcBoundaryCurve(expressID,type,Segments,SelfIntersect);}}]);return IfcBoundaryCurve;}();var IfcBoundaryEdgeCondition=/*#__PURE__*/function(){function IfcBoundaryEdgeCondition(expressID,type,Name,TranslationalStiffnessByLengthX,TranslationalStiffnessByLengthY,TranslationalStiffnessByLengthZ,RotationalStiffnessByLengthX,RotationalStiffnessByLengthY,RotationalStiffnessByLengthZ){_classCallCheck(this,IfcBoundaryEdgeCondition);this.expressID=expressID;this.type=type;this.Name=Name;this.TranslationalStiffnessByLengthX=TranslationalStiffnessByLengthX;this.TranslationalStiffnessByLengthY=TranslationalStiffnessByLengthY;this.TranslationalStiffnessByLengthZ=TranslationalStiffnessByLengthZ;this.RotationalStiffnessByLengthX=RotationalStiffnessByLengthX;this.RotationalStiffnessByLengthY=RotationalStiffnessByLengthY;this.RotationalStiffnessByLengthZ=RotationalStiffnessByLengthZ;}_createClass(IfcBoundaryEdgeCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.TranslationalStiffnessByLengthX);args.push(this.TranslationalStiffnessByLengthY);args.push(this.TranslationalStiffnessByLengthZ);args.push(this.RotationalStiffnessByLengthX);args.push(this.RotationalStiffnessByLengthY);args.push(this.RotationalStiffnessByLengthZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var TranslationalStiffnessByLengthX=tape[ptr++];var TranslationalStiffnessByLengthY=tape[ptr++];var TranslationalStiffnessByLengthZ=tape[ptr++];var RotationalStiffnessByLengthX=tape[ptr++];var RotationalStiffnessByLengthY=tape[ptr++];var RotationalStiffnessByLengthZ=tape[ptr++];return new IfcBoundaryEdgeCondition(expressID,type,Name,TranslationalStiffnessByLengthX,TranslationalStiffnessByLengthY,TranslationalStiffnessByLengthZ,RotationalStiffnessByLengthX,RotationalStiffnessByLengthY,RotationalStiffnessByLengthZ);}}]);return IfcBoundaryEdgeCondition;}();var IfcBoundaryFaceCondition=/*#__PURE__*/function(){function IfcBoundaryFaceCondition(expressID,type,Name,TranslationalStiffnessByAreaX,TranslationalStiffnessByAreaY,TranslationalStiffnessByAreaZ){_classCallCheck(this,IfcBoundaryFaceCondition);this.expressID=expressID;this.type=type;this.Name=Name;this.TranslationalStiffnessByAreaX=TranslationalStiffnessByAreaX;this.TranslationalStiffnessByAreaY=TranslationalStiffnessByAreaY;this.TranslationalStiffnessByAreaZ=TranslationalStiffnessByAreaZ;}_createClass(IfcBoundaryFaceCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.TranslationalStiffnessByAreaX);args.push(this.TranslationalStiffnessByAreaY);args.push(this.TranslationalStiffnessByAreaZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var TranslationalStiffnessByAreaX=tape[ptr++];var TranslationalStiffnessByAreaY=tape[ptr++];var TranslationalStiffnessByAreaZ=tape[ptr++];return new IfcBoundaryFaceCondition(expressID,type,Name,TranslationalStiffnessByAreaX,TranslationalStiffnessByAreaY,TranslationalStiffnessByAreaZ);}}]);return IfcBoundaryFaceCondition;}();var IfcBoundaryNodeCondition=/*#__PURE__*/function(){function IfcBoundaryNodeCondition(expressID,type,Name,TranslationalStiffnessX,TranslationalStiffnessY,TranslationalStiffnessZ,RotationalStiffnessX,RotationalStiffnessY,RotationalStiffnessZ){_classCallCheck(this,IfcBoundaryNodeCondition);this.expressID=expressID;this.type=type;this.Name=Name;this.TranslationalStiffnessX=TranslationalStiffnessX;this.TranslationalStiffnessY=TranslationalStiffnessY;this.TranslationalStiffnessZ=TranslationalStiffnessZ;this.RotationalStiffnessX=RotationalStiffnessX;this.RotationalStiffnessY=RotationalStiffnessY;this.RotationalStiffnessZ=RotationalStiffnessZ;}_createClass(IfcBoundaryNodeCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.TranslationalStiffnessX);args.push(this.TranslationalStiffnessY);args.push(this.TranslationalStiffnessZ);args.push(this.RotationalStiffnessX);args.push(this.RotationalStiffnessY);args.push(this.RotationalStiffnessZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var TranslationalStiffnessX=tape[ptr++];var TranslationalStiffnessY=tape[ptr++];var TranslationalStiffnessZ=tape[ptr++];var RotationalStiffnessX=tape[ptr++];var RotationalStiffnessY=tape[ptr++];var RotationalStiffnessZ=tape[ptr++];return new IfcBoundaryNodeCondition(expressID,type,Name,TranslationalStiffnessX,TranslationalStiffnessY,TranslationalStiffnessZ,RotationalStiffnessX,RotationalStiffnessY,RotationalStiffnessZ);}}]);return IfcBoundaryNodeCondition;}();var IfcBoundaryNodeConditionWarping=/*#__PURE__*/function(){function IfcBoundaryNodeConditionWarping(expressID,type,Name,TranslationalStiffnessX,TranslationalStiffnessY,TranslationalStiffnessZ,RotationalStiffnessX,RotationalStiffnessY,RotationalStiffnessZ,WarpingStiffness){_classCallCheck(this,IfcBoundaryNodeConditionWarping);this.expressID=expressID;this.type=type;this.Name=Name;this.TranslationalStiffnessX=TranslationalStiffnessX;this.TranslationalStiffnessY=TranslationalStiffnessY;this.TranslationalStiffnessZ=TranslationalStiffnessZ;this.RotationalStiffnessX=RotationalStiffnessX;this.RotationalStiffnessY=RotationalStiffnessY;this.RotationalStiffnessZ=RotationalStiffnessZ;this.WarpingStiffness=WarpingStiffness;}_createClass(IfcBoundaryNodeConditionWarping,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.TranslationalStiffnessX);args.push(this.TranslationalStiffnessY);args.push(this.TranslationalStiffnessZ);args.push(this.RotationalStiffnessX);args.push(this.RotationalStiffnessY);args.push(this.RotationalStiffnessZ);args.push(this.WarpingStiffness);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var TranslationalStiffnessX=tape[ptr++];var TranslationalStiffnessY=tape[ptr++];var TranslationalStiffnessZ=tape[ptr++];var RotationalStiffnessX=tape[ptr++];var RotationalStiffnessY=tape[ptr++];var RotationalStiffnessZ=tape[ptr++];var WarpingStiffness=tape[ptr++];return new IfcBoundaryNodeConditionWarping(expressID,type,Name,TranslationalStiffnessX,TranslationalStiffnessY,TranslationalStiffnessZ,RotationalStiffnessX,RotationalStiffnessY,RotationalStiffnessZ,WarpingStiffness);}}]);return IfcBoundaryNodeConditionWarping;}();var IfcBoundedCurve=/*#__PURE__*/function(){function IfcBoundedCurve(expressID,type){_classCallCheck(this,IfcBoundedCurve);this.expressID=expressID;this.type=type;}_createClass(IfcBoundedCurve,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcBoundedCurve(expressID,type);}}]);return IfcBoundedCurve;}();var IfcBoundedSurface=/*#__PURE__*/function(){function IfcBoundedSurface(expressID,type){_classCallCheck(this,IfcBoundedSurface);this.expressID=expressID;this.type=type;}_createClass(IfcBoundedSurface,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcBoundedSurface(expressID,type);}}]);return IfcBoundedSurface;}();var IfcBoundingBox=/*#__PURE__*/function(){function IfcBoundingBox(expressID,type,Corner,XDim,YDim,ZDim){_classCallCheck(this,IfcBoundingBox);this.expressID=expressID;this.type=type;this.Corner=Corner;this.XDim=XDim;this.YDim=YDim;this.ZDim=ZDim;}_createClass(IfcBoundingBox,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Corner);args.push(this.XDim);args.push(this.YDim);args.push(this.ZDim);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Corner=tape[ptr++];var XDim=tape[ptr++];var YDim=tape[ptr++];var ZDim=tape[ptr++];return new IfcBoundingBox(expressID,type,Corner,XDim,YDim,ZDim);}}]);return IfcBoundingBox;}();var IfcBoxedHalfSpace=/*#__PURE__*/function(){function IfcBoxedHalfSpace(expressID,type,BaseSurface,AgreementFlag,Enclosure){_classCallCheck(this,IfcBoxedHalfSpace);this.expressID=expressID;this.type=type;this.BaseSurface=BaseSurface;this.AgreementFlag=AgreementFlag;this.Enclosure=Enclosure;}_createClass(IfcBoxedHalfSpace,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BaseSurface);args.push(this.AgreementFlag);args.push(this.Enclosure);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BaseSurface=tape[ptr++];var AgreementFlag=tape[ptr++];var Enclosure=tape[ptr++];return new IfcBoxedHalfSpace(expressID,type,BaseSurface,AgreementFlag,Enclosure);}}]);return IfcBoxedHalfSpace;}();var IfcBridge=/*#__PURE__*/function(){function IfcBridge(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,PredefinedType){_classCallCheck(this,IfcBridge);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;this.PredefinedType=PredefinedType;}_createClass(IfcBridge,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBridge(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,PredefinedType);}}]);return IfcBridge;}();var IfcBridgePart=/*#__PURE__*/function(){function IfcBridgePart(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,PredefinedType){_classCallCheck(this,IfcBridgePart);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;this.PredefinedType=PredefinedType;}_createClass(IfcBridgePart,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBridgePart(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,PredefinedType);}}]);return IfcBridgePart;}();var IfcBuilding=/*#__PURE__*/function(){function IfcBuilding(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,ElevationOfRefHeight,ElevationOfTerrain,BuildingAddress){_classCallCheck(this,IfcBuilding);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;this.ElevationOfRefHeight=ElevationOfRefHeight;this.ElevationOfTerrain=ElevationOfTerrain;this.BuildingAddress=BuildingAddress;}_createClass(IfcBuilding,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);args.push(this.ElevationOfRefHeight);args.push(this.ElevationOfTerrain);args.push(this.BuildingAddress);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];var ElevationOfRefHeight=tape[ptr++];var ElevationOfTerrain=tape[ptr++];var BuildingAddress=tape[ptr++];return new IfcBuilding(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,ElevationOfRefHeight,ElevationOfTerrain,BuildingAddress);}}]);return IfcBuilding;}();var IfcBuildingElement=/*#__PURE__*/function(){function IfcBuildingElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcBuildingElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcBuildingElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcBuildingElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcBuildingElement;}();var IfcBuildingElementPart=/*#__PURE__*/function(){function IfcBuildingElementPart(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBuildingElementPart);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBuildingElementPart,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBuildingElementPart(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBuildingElementPart;}();var IfcBuildingElementPartType=/*#__PURE__*/function(){function IfcBuildingElementPartType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcBuildingElementPartType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcBuildingElementPartType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBuildingElementPartType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcBuildingElementPartType;}();var IfcBuildingElementProxy=/*#__PURE__*/function(){function IfcBuildingElementProxy(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBuildingElementProxy);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBuildingElementProxy,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBuildingElementProxy(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBuildingElementProxy;}();var IfcBuildingElementProxyType=/*#__PURE__*/function(){function IfcBuildingElementProxyType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcBuildingElementProxyType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcBuildingElementProxyType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBuildingElementProxyType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcBuildingElementProxyType;}();var IfcBuildingElementType=/*#__PURE__*/function(){function IfcBuildingElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcBuildingElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcBuildingElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcBuildingElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcBuildingElementType;}();var IfcBuildingStorey=/*#__PURE__*/function(){function IfcBuildingStorey(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,Elevation){_classCallCheck(this,IfcBuildingStorey);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;this.Elevation=Elevation;}_createClass(IfcBuildingStorey,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);args.push(this.Elevation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];var Elevation=tape[ptr++];return new IfcBuildingStorey(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,Elevation);}}]);return IfcBuildingStorey;}();var IfcBuildingSystem=/*#__PURE__*/function(){function IfcBuildingSystem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,LongName){_classCallCheck(this,IfcBuildingSystem);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.PredefinedType=PredefinedType;this.LongName=LongName;}_createClass(IfcBuildingSystem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.PredefinedType);args.push(this.LongName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var PredefinedType=tape[ptr++];var LongName=tape[ptr++];return new IfcBuildingSystem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,LongName);}}]);return IfcBuildingSystem;}();var IfcBurner=/*#__PURE__*/function(){function IfcBurner(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcBurner);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcBurner,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBurner(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcBurner;}();var IfcBurnerType=/*#__PURE__*/function(){function IfcBurnerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcBurnerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcBurnerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcBurnerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcBurnerType;}();var IfcCShapeProfileDef=/*#__PURE__*/function(){function IfcCShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,Width,WallThickness,Girth,InternalFilletRadius){_classCallCheck(this,IfcCShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Depth=Depth;this.Width=Width;this.WallThickness=WallThickness;this.Girth=Girth;this.InternalFilletRadius=InternalFilletRadius;}_createClass(IfcCShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Depth);args.push(this.Width);args.push(this.WallThickness);args.push(this.Girth);args.push(this.InternalFilletRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Depth=tape[ptr++];var Width=tape[ptr++];var WallThickness=tape[ptr++];var Girth=tape[ptr++];var InternalFilletRadius=tape[ptr++];return new IfcCShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,Width,WallThickness,Girth,InternalFilletRadius);}}]);return IfcCShapeProfileDef;}();var IfcCableCarrierFitting=/*#__PURE__*/function(){function IfcCableCarrierFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCableCarrierFitting);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCableCarrierFitting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableCarrierFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCableCarrierFitting;}();var IfcCableCarrierFittingType=/*#__PURE__*/function(){function IfcCableCarrierFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCableCarrierFittingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCableCarrierFittingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableCarrierFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCableCarrierFittingType;}();var IfcCableCarrierSegment=/*#__PURE__*/function(){function IfcCableCarrierSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCableCarrierSegment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCableCarrierSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableCarrierSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCableCarrierSegment;}();var IfcCableCarrierSegmentType=/*#__PURE__*/function(){function IfcCableCarrierSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCableCarrierSegmentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCableCarrierSegmentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableCarrierSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCableCarrierSegmentType;}();var IfcCableFitting=/*#__PURE__*/function(){function IfcCableFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCableFitting);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCableFitting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCableFitting;}();var IfcCableFittingType=/*#__PURE__*/function(){function IfcCableFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCableFittingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCableFittingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCableFittingType;}();var IfcCableSegment=/*#__PURE__*/function(){function IfcCableSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCableSegment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCableSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCableSegment;}();var IfcCableSegmentType=/*#__PURE__*/function(){function IfcCableSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCableSegmentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCableSegmentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCableSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCableSegmentType;}();var IfcCaissonFoundation=/*#__PURE__*/function(){function IfcCaissonFoundation(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCaissonFoundation);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCaissonFoundation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCaissonFoundation(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCaissonFoundation;}();var IfcCaissonFoundationType=/*#__PURE__*/function(){function IfcCaissonFoundationType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCaissonFoundationType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCaissonFoundationType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCaissonFoundationType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCaissonFoundationType;}();var IfcCartesianPoint=/*#__PURE__*/function(){function IfcCartesianPoint(expressID,type,Coordinates){_classCallCheck(this,IfcCartesianPoint);this.expressID=expressID;this.type=type;this.Coordinates=Coordinates;}_createClass(IfcCartesianPoint,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Coordinates);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Coordinates=tape[ptr++];return new IfcCartesianPoint(expressID,type,Coordinates);}}]);return IfcCartesianPoint;}();var IfcCartesianPointList=/*#__PURE__*/function(){function IfcCartesianPointList(expressID,type){_classCallCheck(this,IfcCartesianPointList);this.expressID=expressID;this.type=type;}_createClass(IfcCartesianPointList,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcCartesianPointList(expressID,type);}}]);return IfcCartesianPointList;}();var IfcCartesianPointList2D=/*#__PURE__*/function(){function IfcCartesianPointList2D(expressID,type,CoordList,TagList){_classCallCheck(this,IfcCartesianPointList2D);this.expressID=expressID;this.type=type;this.CoordList=CoordList;this.TagList=TagList;}_createClass(IfcCartesianPointList2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CoordList);args.push(this.TagList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CoordList=tape[ptr++];var TagList=tape[ptr++];return new IfcCartesianPointList2D(expressID,type,CoordList,TagList);}}]);return IfcCartesianPointList2D;}();var IfcCartesianPointList3D=/*#__PURE__*/function(){function IfcCartesianPointList3D(expressID,type,CoordList,TagList){_classCallCheck(this,IfcCartesianPointList3D);this.expressID=expressID;this.type=type;this.CoordList=CoordList;this.TagList=TagList;}_createClass(IfcCartesianPointList3D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CoordList);args.push(this.TagList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CoordList=tape[ptr++];var TagList=tape[ptr++];return new IfcCartesianPointList3D(expressID,type,CoordList,TagList);}}]);return IfcCartesianPointList3D;}();var IfcCartesianTransformationOperator=/*#__PURE__*/function(){function IfcCartesianTransformationOperator(expressID,type,Axis1,Axis2,LocalOrigin,Scale){_classCallCheck(this,IfcCartesianTransformationOperator);this.expressID=expressID;this.type=type;this.Axis1=Axis1;this.Axis2=Axis2;this.LocalOrigin=LocalOrigin;this.Scale=Scale;}_createClass(IfcCartesianTransformationOperator,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Axis1);args.push(this.Axis2);args.push(this.LocalOrigin);args.push(this.Scale);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Axis1=tape[ptr++];var Axis2=tape[ptr++];var LocalOrigin=tape[ptr++];var Scale=tape[ptr++];return new IfcCartesianTransformationOperator(expressID,type,Axis1,Axis2,LocalOrigin,Scale);}}]);return IfcCartesianTransformationOperator;}();var IfcCartesianTransformationOperator2D=/*#__PURE__*/function(){function IfcCartesianTransformationOperator2D(expressID,type,Axis1,Axis2,LocalOrigin,Scale){_classCallCheck(this,IfcCartesianTransformationOperator2D);this.expressID=expressID;this.type=type;this.Axis1=Axis1;this.Axis2=Axis2;this.LocalOrigin=LocalOrigin;this.Scale=Scale;}_createClass(IfcCartesianTransformationOperator2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Axis1);args.push(this.Axis2);args.push(this.LocalOrigin);args.push(this.Scale);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Axis1=tape[ptr++];var Axis2=tape[ptr++];var LocalOrigin=tape[ptr++];var Scale=tape[ptr++];return new IfcCartesianTransformationOperator2D(expressID,type,Axis1,Axis2,LocalOrigin,Scale);}}]);return IfcCartesianTransformationOperator2D;}();var IfcCartesianTransformationOperator2DnonUniform=/*#__PURE__*/function(){function IfcCartesianTransformationOperator2DnonUniform(expressID,type,Axis1,Axis2,LocalOrigin,Scale,Scale2){_classCallCheck(this,IfcCartesianTransformationOperator2DnonUniform);this.expressID=expressID;this.type=type;this.Axis1=Axis1;this.Axis2=Axis2;this.LocalOrigin=LocalOrigin;this.Scale=Scale;this.Scale2=Scale2;}_createClass(IfcCartesianTransformationOperator2DnonUniform,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Axis1);args.push(this.Axis2);args.push(this.LocalOrigin);args.push(this.Scale);args.push(this.Scale2);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Axis1=tape[ptr++];var Axis2=tape[ptr++];var LocalOrigin=tape[ptr++];var Scale=tape[ptr++];var Scale2=tape[ptr++];return new IfcCartesianTransformationOperator2DnonUniform(expressID,type,Axis1,Axis2,LocalOrigin,Scale,Scale2);}}]);return IfcCartesianTransformationOperator2DnonUniform;}();var IfcCartesianTransformationOperator3D=/*#__PURE__*/function(){function IfcCartesianTransformationOperator3D(expressID,type,Axis1,Axis2,LocalOrigin,Scale,Axis3){_classCallCheck(this,IfcCartesianTransformationOperator3D);this.expressID=expressID;this.type=type;this.Axis1=Axis1;this.Axis2=Axis2;this.LocalOrigin=LocalOrigin;this.Scale=Scale;this.Axis3=Axis3;}_createClass(IfcCartesianTransformationOperator3D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Axis1);args.push(this.Axis2);args.push(this.LocalOrigin);args.push(this.Scale);args.push(this.Axis3);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Axis1=tape[ptr++];var Axis2=tape[ptr++];var LocalOrigin=tape[ptr++];var Scale=tape[ptr++];var Axis3=tape[ptr++];return new IfcCartesianTransformationOperator3D(expressID,type,Axis1,Axis2,LocalOrigin,Scale,Axis3);}}]);return IfcCartesianTransformationOperator3D;}();var IfcCartesianTransformationOperator3DnonUniform=/*#__PURE__*/function(){function IfcCartesianTransformationOperator3DnonUniform(expressID,type,Axis1,Axis2,LocalOrigin,Scale,Axis3,Scale2,Scale3){_classCallCheck(this,IfcCartesianTransformationOperator3DnonUniform);this.expressID=expressID;this.type=type;this.Axis1=Axis1;this.Axis2=Axis2;this.LocalOrigin=LocalOrigin;this.Scale=Scale;this.Axis3=Axis3;this.Scale2=Scale2;this.Scale3=Scale3;}_createClass(IfcCartesianTransformationOperator3DnonUniform,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Axis1);args.push(this.Axis2);args.push(this.LocalOrigin);args.push(this.Scale);args.push(this.Axis3);args.push(this.Scale2);args.push(this.Scale3);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Axis1=tape[ptr++];var Axis2=tape[ptr++];var LocalOrigin=tape[ptr++];var Scale=tape[ptr++];var Axis3=tape[ptr++];var Scale2=tape[ptr++];var Scale3=tape[ptr++];return new IfcCartesianTransformationOperator3DnonUniform(expressID,type,Axis1,Axis2,LocalOrigin,Scale,Axis3,Scale2,Scale3);}}]);return IfcCartesianTransformationOperator3DnonUniform;}();var IfcCenterLineProfileDef=/*#__PURE__*/function(){function IfcCenterLineProfileDef(expressID,type,ProfileType,ProfileName,Curve,Thickness){_classCallCheck(this,IfcCenterLineProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Curve=Curve;this.Thickness=Thickness;}_createClass(IfcCenterLineProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Curve);args.push(this.Thickness);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Curve=tape[ptr++];var Thickness=tape[ptr++];return new IfcCenterLineProfileDef(expressID,type,ProfileType,ProfileName,Curve,Thickness);}}]);return IfcCenterLineProfileDef;}();var IfcChiller=/*#__PURE__*/function(){function IfcChiller(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcChiller);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcChiller,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcChiller(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcChiller;}();var IfcChillerType=/*#__PURE__*/function(){function IfcChillerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcChillerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcChillerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcChillerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcChillerType;}();var IfcChimney=/*#__PURE__*/function(){function IfcChimney(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcChimney);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcChimney,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcChimney(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcChimney;}();var IfcChimneyType=/*#__PURE__*/function(){function IfcChimneyType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcChimneyType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcChimneyType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcChimneyType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcChimneyType;}();var IfcCircle=/*#__PURE__*/function(){function IfcCircle(expressID,type,Position,Radius){_classCallCheck(this,IfcCircle);this.expressID=expressID;this.type=type;this.Position=Position;this.Radius=Radius;}_createClass(IfcCircle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.Radius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var Radius=tape[ptr++];return new IfcCircle(expressID,type,Position,Radius);}}]);return IfcCircle;}();var IfcCircleHollowProfileDef=/*#__PURE__*/function(){function IfcCircleHollowProfileDef(expressID,type,ProfileType,ProfileName,Position,Radius,WallThickness){_classCallCheck(this,IfcCircleHollowProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Radius=Radius;this.WallThickness=WallThickness;}_createClass(IfcCircleHollowProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Radius);args.push(this.WallThickness);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Radius=tape[ptr++];var WallThickness=tape[ptr++];return new IfcCircleHollowProfileDef(expressID,type,ProfileType,ProfileName,Position,Radius,WallThickness);}}]);return IfcCircleHollowProfileDef;}();var IfcCircleProfileDef=/*#__PURE__*/function(){function IfcCircleProfileDef(expressID,type,ProfileType,ProfileName,Position,Radius){_classCallCheck(this,IfcCircleProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Radius=Radius;}_createClass(IfcCircleProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Radius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Radius=tape[ptr++];return new IfcCircleProfileDef(expressID,type,ProfileType,ProfileName,Position,Radius);}}]);return IfcCircleProfileDef;}();var IfcCircularArcSegment2D=/*#__PURE__*/function(){function IfcCircularArcSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength,Radius,IsCCW){_classCallCheck(this,IfcCircularArcSegment2D);this.expressID=expressID;this.type=type;this.StartPoint=StartPoint;this.StartDirection=StartDirection;this.SegmentLength=SegmentLength;this.Radius=Radius;this.IsCCW=IsCCW;}_createClass(IfcCircularArcSegment2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.StartPoint);args.push(this.StartDirection);args.push(this.SegmentLength);args.push(this.Radius);args.push(this.IsCCW);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var StartPoint=tape[ptr++];var StartDirection=tape[ptr++];var SegmentLength=tape[ptr++];var Radius=tape[ptr++];var IsCCW=tape[ptr++];return new IfcCircularArcSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength,Radius,IsCCW);}}]);return IfcCircularArcSegment2D;}();var IfcCivilElement=/*#__PURE__*/function(){function IfcCivilElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcCivilElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcCivilElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcCivilElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcCivilElement;}();var IfcCivilElementType=/*#__PURE__*/function(){function IfcCivilElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcCivilElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcCivilElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcCivilElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcCivilElementType;}();var IfcClassification=/*#__PURE__*/function(){function IfcClassification(expressID,type,Source,Edition,EditionDate,Name,Description,Location,ReferenceTokens){_classCallCheck(this,IfcClassification);this.expressID=expressID;this.type=type;this.Source=Source;this.Edition=Edition;this.EditionDate=EditionDate;this.Name=Name;this.Description=Description;this.Location=Location;this.ReferenceTokens=ReferenceTokens;}_createClass(IfcClassification,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Source);args.push(this.Edition);args.push(this.EditionDate);args.push(this.Name);args.push(this.Description);args.push(this.Location);args.push(this.ReferenceTokens);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Source=tape[ptr++];var Edition=tape[ptr++];var EditionDate=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Location=tape[ptr++];var ReferenceTokens=tape[ptr++];return new IfcClassification(expressID,type,Source,Edition,EditionDate,Name,Description,Location,ReferenceTokens);}}]);return IfcClassification;}();var IfcClassificationReference=/*#__PURE__*/function(){function IfcClassificationReference(expressID,type,Location,Identification,Name,ReferencedSource,Description,Sort){_classCallCheck(this,IfcClassificationReference);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;this.ReferencedSource=ReferencedSource;this.Description=Description;this.Sort=Sort;}_createClass(IfcClassificationReference,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);args.push(this.ReferencedSource);args.push(this.Description);args.push(this.Sort);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];var ReferencedSource=tape[ptr++];var Description=tape[ptr++];var Sort=tape[ptr++];return new IfcClassificationReference(expressID,type,Location,Identification,Name,ReferencedSource,Description,Sort);}}]);return IfcClassificationReference;}();var IfcClosedShell=/*#__PURE__*/function(){function IfcClosedShell(expressID,type,CfsFaces){_classCallCheck(this,IfcClosedShell);this.expressID=expressID;this.type=type;this.CfsFaces=CfsFaces;}_createClass(IfcClosedShell,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CfsFaces);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CfsFaces=tape[ptr++];return new IfcClosedShell(expressID,type,CfsFaces);}}]);return IfcClosedShell;}();var IfcCoil=/*#__PURE__*/function(){function IfcCoil(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCoil);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCoil,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCoil(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCoil;}();var IfcCoilType=/*#__PURE__*/function(){function IfcCoilType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCoilType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCoilType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCoilType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCoilType;}();var IfcColourRgb=/*#__PURE__*/function(){function IfcColourRgb(expressID,type,Name,Red,Green,Blue){_classCallCheck(this,IfcColourRgb);this.expressID=expressID;this.type=type;this.Name=Name;this.Red=Red;this.Green=Green;this.Blue=Blue;}_createClass(IfcColourRgb,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Red);args.push(this.Green);args.push(this.Blue);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Red=tape[ptr++];var Green=tape[ptr++];var Blue=tape[ptr++];return new IfcColourRgb(expressID,type,Name,Red,Green,Blue);}}]);return IfcColourRgb;}();var IfcColourRgbList=/*#__PURE__*/function(){function IfcColourRgbList(expressID,type,ColourList){_classCallCheck(this,IfcColourRgbList);this.expressID=expressID;this.type=type;this.ColourList=ColourList;}_createClass(IfcColourRgbList,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ColourList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ColourList=tape[ptr++];return new IfcColourRgbList(expressID,type,ColourList);}}]);return IfcColourRgbList;}();var IfcColourSpecification=/*#__PURE__*/function(){function IfcColourSpecification(expressID,type,Name){_classCallCheck(this,IfcColourSpecification);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcColourSpecification,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcColourSpecification(expressID,type,Name);}}]);return IfcColourSpecification;}();var IfcColumn=/*#__PURE__*/function(){function IfcColumn(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcColumn);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcColumn,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcColumn(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcColumn;}();var IfcColumnStandardCase=/*#__PURE__*/function(){function IfcColumnStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcColumnStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcColumnStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcColumnStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcColumnStandardCase;}();var IfcColumnType=/*#__PURE__*/function(){function IfcColumnType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcColumnType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcColumnType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcColumnType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcColumnType;}();var IfcCommunicationsAppliance=/*#__PURE__*/function(){function IfcCommunicationsAppliance(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCommunicationsAppliance);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCommunicationsAppliance,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCommunicationsAppliance(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCommunicationsAppliance;}();var IfcCommunicationsApplianceType=/*#__PURE__*/function(){function IfcCommunicationsApplianceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCommunicationsApplianceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCommunicationsApplianceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCommunicationsApplianceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCommunicationsApplianceType;}();var IfcComplexProperty=/*#__PURE__*/function(){function IfcComplexProperty(expressID,type,Name,Description,UsageName,HasProperties){_classCallCheck(this,IfcComplexProperty);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.UsageName=UsageName;this.HasProperties=HasProperties;}_createClass(IfcComplexProperty,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.UsageName);args.push(this.HasProperties);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var UsageName=tape[ptr++];var HasProperties=tape[ptr++];return new IfcComplexProperty(expressID,type,Name,Description,UsageName,HasProperties);}}]);return IfcComplexProperty;}();var IfcComplexPropertyTemplate=/*#__PURE__*/function(){function IfcComplexPropertyTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,UsageName,TemplateType,HasPropertyTemplates){_classCallCheck(this,IfcComplexPropertyTemplate);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.UsageName=UsageName;this.TemplateType=TemplateType;this.HasPropertyTemplates=HasPropertyTemplates;}_createClass(IfcComplexPropertyTemplate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.UsageName);args.push(this.TemplateType);args.push(this.HasPropertyTemplates);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var UsageName=tape[ptr++];var TemplateType=tape[ptr++];var HasPropertyTemplates=tape[ptr++];return new IfcComplexPropertyTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,UsageName,TemplateType,HasPropertyTemplates);}}]);return IfcComplexPropertyTemplate;}();var IfcCompositeCurve=/*#__PURE__*/function(){function IfcCompositeCurve(expressID,type,Segments,SelfIntersect){_classCallCheck(this,IfcCompositeCurve);this.expressID=expressID;this.type=type;this.Segments=Segments;this.SelfIntersect=SelfIntersect;}_createClass(IfcCompositeCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Segments);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Segments=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcCompositeCurve(expressID,type,Segments,SelfIntersect);}}]);return IfcCompositeCurve;}();var IfcCompositeCurveOnSurface=/*#__PURE__*/function(){function IfcCompositeCurveOnSurface(expressID,type,Segments,SelfIntersect){_classCallCheck(this,IfcCompositeCurveOnSurface);this.expressID=expressID;this.type=type;this.Segments=Segments;this.SelfIntersect=SelfIntersect;}_createClass(IfcCompositeCurveOnSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Segments);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Segments=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcCompositeCurveOnSurface(expressID,type,Segments,SelfIntersect);}}]);return IfcCompositeCurveOnSurface;}();var IfcCompositeCurveSegment=/*#__PURE__*/function(){function IfcCompositeCurveSegment(expressID,type,Transition,SameSense,ParentCurve){_classCallCheck(this,IfcCompositeCurveSegment);this.expressID=expressID;this.type=type;this.Transition=Transition;this.SameSense=SameSense;this.ParentCurve=ParentCurve;}_createClass(IfcCompositeCurveSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Transition);args.push(this.SameSense);args.push(this.ParentCurve);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Transition=tape[ptr++];var SameSense=tape[ptr++];var ParentCurve=tape[ptr++];return new IfcCompositeCurveSegment(expressID,type,Transition,SameSense,ParentCurve);}}]);return IfcCompositeCurveSegment;}();var IfcCompositeProfileDef=/*#__PURE__*/function(){function IfcCompositeProfileDef(expressID,type,ProfileType,ProfileName,Profiles,Label){_classCallCheck(this,IfcCompositeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Profiles=Profiles;this.Label=Label;}_createClass(IfcCompositeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Profiles);args.push(this.Label);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Profiles=tape[ptr++];var Label=tape[ptr++];return new IfcCompositeProfileDef(expressID,type,ProfileType,ProfileName,Profiles,Label);}}]);return IfcCompositeProfileDef;}();var IfcCompressor=/*#__PURE__*/function(){function IfcCompressor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCompressor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCompressor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCompressor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCompressor;}();var IfcCompressorType=/*#__PURE__*/function(){function IfcCompressorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCompressorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCompressorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCompressorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCompressorType;}();var IfcCondenser=/*#__PURE__*/function(){function IfcCondenser(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCondenser);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCondenser,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCondenser(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCondenser;}();var IfcCondenserType=/*#__PURE__*/function(){function IfcCondenserType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCondenserType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCondenserType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCondenserType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCondenserType;}();var IfcConic=/*#__PURE__*/function(){function IfcConic(expressID,type,Position){_classCallCheck(this,IfcConic);this.expressID=expressID;this.type=type;this.Position=Position;}_createClass(IfcConic,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];return new IfcConic(expressID,type,Position);}}]);return IfcConic;}();var IfcConnectedFaceSet=/*#__PURE__*/function(){function IfcConnectedFaceSet(expressID,type,CfsFaces){_classCallCheck(this,IfcConnectedFaceSet);this.expressID=expressID;this.type=type;this.CfsFaces=CfsFaces;}_createClass(IfcConnectedFaceSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CfsFaces);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CfsFaces=tape[ptr++];return new IfcConnectedFaceSet(expressID,type,CfsFaces);}}]);return IfcConnectedFaceSet;}();var IfcConnectionCurveGeometry=/*#__PURE__*/function(){function IfcConnectionCurveGeometry(expressID,type,CurveOnRelatingElement,CurveOnRelatedElement){_classCallCheck(this,IfcConnectionCurveGeometry);this.expressID=expressID;this.type=type;this.CurveOnRelatingElement=CurveOnRelatingElement;this.CurveOnRelatedElement=CurveOnRelatedElement;}_createClass(IfcConnectionCurveGeometry,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CurveOnRelatingElement);args.push(this.CurveOnRelatedElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CurveOnRelatingElement=tape[ptr++];var CurveOnRelatedElement=tape[ptr++];return new IfcConnectionCurveGeometry(expressID,type,CurveOnRelatingElement,CurveOnRelatedElement);}}]);return IfcConnectionCurveGeometry;}();var IfcConnectionGeometry=/*#__PURE__*/function(){function IfcConnectionGeometry(expressID,type){_classCallCheck(this,IfcConnectionGeometry);this.expressID=expressID;this.type=type;}_createClass(IfcConnectionGeometry,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcConnectionGeometry(expressID,type);}}]);return IfcConnectionGeometry;}();var IfcConnectionPointEccentricity=/*#__PURE__*/function(){function IfcConnectionPointEccentricity(expressID,type,PointOnRelatingElement,PointOnRelatedElement,EccentricityInX,EccentricityInY,EccentricityInZ){_classCallCheck(this,IfcConnectionPointEccentricity);this.expressID=expressID;this.type=type;this.PointOnRelatingElement=PointOnRelatingElement;this.PointOnRelatedElement=PointOnRelatedElement;this.EccentricityInX=EccentricityInX;this.EccentricityInY=EccentricityInY;this.EccentricityInZ=EccentricityInZ;}_createClass(IfcConnectionPointEccentricity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.PointOnRelatingElement);args.push(this.PointOnRelatedElement);args.push(this.EccentricityInX);args.push(this.EccentricityInY);args.push(this.EccentricityInZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var PointOnRelatingElement=tape[ptr++];var PointOnRelatedElement=tape[ptr++];var EccentricityInX=tape[ptr++];var EccentricityInY=tape[ptr++];var EccentricityInZ=tape[ptr++];return new IfcConnectionPointEccentricity(expressID,type,PointOnRelatingElement,PointOnRelatedElement,EccentricityInX,EccentricityInY,EccentricityInZ);}}]);return IfcConnectionPointEccentricity;}();var IfcConnectionPointGeometry=/*#__PURE__*/function(){function IfcConnectionPointGeometry(expressID,type,PointOnRelatingElement,PointOnRelatedElement){_classCallCheck(this,IfcConnectionPointGeometry);this.expressID=expressID;this.type=type;this.PointOnRelatingElement=PointOnRelatingElement;this.PointOnRelatedElement=PointOnRelatedElement;}_createClass(IfcConnectionPointGeometry,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.PointOnRelatingElement);args.push(this.PointOnRelatedElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var PointOnRelatingElement=tape[ptr++];var PointOnRelatedElement=tape[ptr++];return new IfcConnectionPointGeometry(expressID,type,PointOnRelatingElement,PointOnRelatedElement);}}]);return IfcConnectionPointGeometry;}();var IfcConnectionSurfaceGeometry=/*#__PURE__*/function(){function IfcConnectionSurfaceGeometry(expressID,type,SurfaceOnRelatingElement,SurfaceOnRelatedElement){_classCallCheck(this,IfcConnectionSurfaceGeometry);this.expressID=expressID;this.type=type;this.SurfaceOnRelatingElement=SurfaceOnRelatingElement;this.SurfaceOnRelatedElement=SurfaceOnRelatedElement;}_createClass(IfcConnectionSurfaceGeometry,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SurfaceOnRelatingElement);args.push(this.SurfaceOnRelatedElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SurfaceOnRelatingElement=tape[ptr++];var SurfaceOnRelatedElement=tape[ptr++];return new IfcConnectionSurfaceGeometry(expressID,type,SurfaceOnRelatingElement,SurfaceOnRelatedElement);}}]);return IfcConnectionSurfaceGeometry;}();var IfcConnectionVolumeGeometry=/*#__PURE__*/function(){function IfcConnectionVolumeGeometry(expressID,type,VolumeOnRelatingElement,VolumeOnRelatedElement){_classCallCheck(this,IfcConnectionVolumeGeometry);this.expressID=expressID;this.type=type;this.VolumeOnRelatingElement=VolumeOnRelatingElement;this.VolumeOnRelatedElement=VolumeOnRelatedElement;}_createClass(IfcConnectionVolumeGeometry,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.VolumeOnRelatingElement);args.push(this.VolumeOnRelatedElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var VolumeOnRelatingElement=tape[ptr++];var VolumeOnRelatedElement=tape[ptr++];return new IfcConnectionVolumeGeometry(expressID,type,VolumeOnRelatingElement,VolumeOnRelatedElement);}}]);return IfcConnectionVolumeGeometry;}();var IfcConstraint=/*#__PURE__*/function(){function IfcConstraint(expressID,type,Name,Description,ConstraintGrade,ConstraintSource,CreatingActor,CreationTime,UserDefinedGrade){_classCallCheck(this,IfcConstraint);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.ConstraintGrade=ConstraintGrade;this.ConstraintSource=ConstraintSource;this.CreatingActor=CreatingActor;this.CreationTime=CreationTime;this.UserDefinedGrade=UserDefinedGrade;}_createClass(IfcConstraint,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.ConstraintGrade);args.push(this.ConstraintSource);args.push(this.CreatingActor);args.push(this.CreationTime);args.push(this.UserDefinedGrade);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var ConstraintGrade=tape[ptr++];var ConstraintSource=tape[ptr++];var CreatingActor=tape[ptr++];var CreationTime=tape[ptr++];var UserDefinedGrade=tape[ptr++];return new IfcConstraint(expressID,type,Name,Description,ConstraintGrade,ConstraintSource,CreatingActor,CreationTime,UserDefinedGrade);}}]);return IfcConstraint;}();var IfcConstructionEquipmentResource=/*#__PURE__*/function(){function IfcConstructionEquipmentResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcConstructionEquipmentResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcConstructionEquipmentResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcConstructionEquipmentResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcConstructionEquipmentResource;}();var IfcConstructionEquipmentResourceType=/*#__PURE__*/function(){function IfcConstructionEquipmentResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcConstructionEquipmentResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcConstructionEquipmentResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcConstructionEquipmentResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcConstructionEquipmentResourceType;}();var IfcConstructionMaterialResource=/*#__PURE__*/function(){function IfcConstructionMaterialResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcConstructionMaterialResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcConstructionMaterialResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcConstructionMaterialResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcConstructionMaterialResource;}();var IfcConstructionMaterialResourceType=/*#__PURE__*/function(){function IfcConstructionMaterialResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcConstructionMaterialResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcConstructionMaterialResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcConstructionMaterialResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcConstructionMaterialResourceType;}();var IfcConstructionProductResource=/*#__PURE__*/function(){function IfcConstructionProductResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcConstructionProductResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcConstructionProductResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcConstructionProductResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcConstructionProductResource;}();var IfcConstructionProductResourceType=/*#__PURE__*/function(){function IfcConstructionProductResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcConstructionProductResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcConstructionProductResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcConstructionProductResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcConstructionProductResourceType;}();var IfcConstructionResource=/*#__PURE__*/function(){function IfcConstructionResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity){_classCallCheck(this,IfcConstructionResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;}_createClass(IfcConstructionResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];return new IfcConstructionResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity);}}]);return IfcConstructionResource;}();var IfcConstructionResourceType=/*#__PURE__*/function(){function IfcConstructionResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity){_classCallCheck(this,IfcConstructionResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;}_createClass(IfcConstructionResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];return new IfcConstructionResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity);}}]);return IfcConstructionResourceType;}();var IfcContext=/*#__PURE__*/function(){function IfcContext(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,Phase,RepresentationContexts,UnitsInContext){_classCallCheck(this,IfcContext);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.LongName=LongName;this.Phase=Phase;this.RepresentationContexts=RepresentationContexts;this.UnitsInContext=UnitsInContext;}_createClass(IfcContext,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.LongName);args.push(this.Phase);args.push(this.RepresentationContexts);args.push(this.UnitsInContext);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var LongName=tape[ptr++];var Phase=tape[ptr++];var RepresentationContexts=tape[ptr++];var UnitsInContext=tape[ptr++];return new IfcContext(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,Phase,RepresentationContexts,UnitsInContext);}}]);return IfcContext;}();var IfcContextDependentUnit=/*#__PURE__*/function(){function IfcContextDependentUnit(expressID,type,Dimensions,UnitType,Name){_classCallCheck(this,IfcContextDependentUnit);this.expressID=expressID;this.type=type;this.Dimensions=Dimensions;this.UnitType=UnitType;this.Name=Name;}_createClass(IfcContextDependentUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Dimensions);args.push(this.UnitType);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Dimensions=tape[ptr++];var UnitType=tape[ptr++];var Name=tape[ptr++];return new IfcContextDependentUnit(expressID,type,Dimensions,UnitType,Name);}}]);return IfcContextDependentUnit;}();var IfcControl=/*#__PURE__*/function(){function IfcControl(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification){_classCallCheck(this,IfcControl);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;}_createClass(IfcControl,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];return new IfcControl(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification);}}]);return IfcControl;}();var IfcController=/*#__PURE__*/function(){function IfcController(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcController);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcController,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcController(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcController;}();var IfcControllerType=/*#__PURE__*/function(){function IfcControllerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcControllerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcControllerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcControllerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcControllerType;}();var IfcConversionBasedUnit=/*#__PURE__*/function(){function IfcConversionBasedUnit(expressID,type,Dimensions,UnitType,Name,ConversionFactor){_classCallCheck(this,IfcConversionBasedUnit);this.expressID=expressID;this.type=type;this.Dimensions=Dimensions;this.UnitType=UnitType;this.Name=Name;this.ConversionFactor=ConversionFactor;}_createClass(IfcConversionBasedUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Dimensions);args.push(this.UnitType);args.push(this.Name);args.push(this.ConversionFactor);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Dimensions=tape[ptr++];var UnitType=tape[ptr++];var Name=tape[ptr++];var ConversionFactor=tape[ptr++];return new IfcConversionBasedUnit(expressID,type,Dimensions,UnitType,Name,ConversionFactor);}}]);return IfcConversionBasedUnit;}();var IfcConversionBasedUnitWithOffset=/*#__PURE__*/function(){function IfcConversionBasedUnitWithOffset(expressID,type,Dimensions,UnitType,Name,ConversionFactor,ConversionOffset){_classCallCheck(this,IfcConversionBasedUnitWithOffset);this.expressID=expressID;this.type=type;this.Dimensions=Dimensions;this.UnitType=UnitType;this.Name=Name;this.ConversionFactor=ConversionFactor;this.ConversionOffset=ConversionOffset;}_createClass(IfcConversionBasedUnitWithOffset,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Dimensions);args.push(this.UnitType);args.push(this.Name);args.push(this.ConversionFactor);args.push(this.ConversionOffset);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Dimensions=tape[ptr++];var UnitType=tape[ptr++];var Name=tape[ptr++];var ConversionFactor=tape[ptr++];var ConversionOffset=tape[ptr++];return new IfcConversionBasedUnitWithOffset(expressID,type,Dimensions,UnitType,Name,ConversionFactor,ConversionOffset);}}]);return IfcConversionBasedUnitWithOffset;}();var IfcCooledBeam=/*#__PURE__*/function(){function IfcCooledBeam(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCooledBeam);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCooledBeam,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCooledBeam(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCooledBeam;}();var IfcCooledBeamType=/*#__PURE__*/function(){function IfcCooledBeamType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCooledBeamType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCooledBeamType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCooledBeamType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCooledBeamType;}();var IfcCoolingTower=/*#__PURE__*/function(){function IfcCoolingTower(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCoolingTower);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCoolingTower,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCoolingTower(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCoolingTower;}();var IfcCoolingTowerType=/*#__PURE__*/function(){function IfcCoolingTowerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCoolingTowerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCoolingTowerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCoolingTowerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCoolingTowerType;}();var IfcCoordinateOperation=/*#__PURE__*/function(){function IfcCoordinateOperation(expressID,type,SourceCRS,TargetCRS){_classCallCheck(this,IfcCoordinateOperation);this.expressID=expressID;this.type=type;this.SourceCRS=SourceCRS;this.TargetCRS=TargetCRS;}_createClass(IfcCoordinateOperation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SourceCRS);args.push(this.TargetCRS);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SourceCRS=tape[ptr++];var TargetCRS=tape[ptr++];return new IfcCoordinateOperation(expressID,type,SourceCRS,TargetCRS);}}]);return IfcCoordinateOperation;}();var IfcCoordinateReferenceSystem=/*#__PURE__*/function(){function IfcCoordinateReferenceSystem(expressID,type,Name,Description,GeodeticDatum,VerticalDatum){_classCallCheck(this,IfcCoordinateReferenceSystem);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.GeodeticDatum=GeodeticDatum;this.VerticalDatum=VerticalDatum;}_createClass(IfcCoordinateReferenceSystem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.GeodeticDatum);args.push(this.VerticalDatum);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var GeodeticDatum=tape[ptr++];var VerticalDatum=tape[ptr++];return new IfcCoordinateReferenceSystem(expressID,type,Name,Description,GeodeticDatum,VerticalDatum);}}]);return IfcCoordinateReferenceSystem;}();var IfcCostItem=/*#__PURE__*/function(){function IfcCostItem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,CostValues,CostQuantities){_classCallCheck(this,IfcCostItem);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.PredefinedType=PredefinedType;this.CostValues=CostValues;this.CostQuantities=CostQuantities;}_createClass(IfcCostItem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.PredefinedType);args.push(this.CostValues);args.push(this.CostQuantities);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var PredefinedType=tape[ptr++];var CostValues=tape[ptr++];var CostQuantities=tape[ptr++];return new IfcCostItem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,CostValues,CostQuantities);}}]);return IfcCostItem;}();var IfcCostSchedule=/*#__PURE__*/function(){function IfcCostSchedule(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,SubmittedOn,UpdateDate){_classCallCheck(this,IfcCostSchedule);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.PredefinedType=PredefinedType;this.Status=Status;this.SubmittedOn=SubmittedOn;this.UpdateDate=UpdateDate;}_createClass(IfcCostSchedule,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.PredefinedType);args.push(this.Status);args.push(this.SubmittedOn);args.push(this.UpdateDate);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var PredefinedType=tape[ptr++];var Status=tape[ptr++];var SubmittedOn=tape[ptr++];var UpdateDate=tape[ptr++];return new IfcCostSchedule(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,SubmittedOn,UpdateDate);}}]);return IfcCostSchedule;}();var IfcCostValue=/*#__PURE__*/function(){function IfcCostValue(expressID,type,Name,Description,AppliedValue,UnitBasis,ApplicableDate,FixedUntilDate,Category,Condition,ArithmeticOperator,Components){_classCallCheck(this,IfcCostValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.AppliedValue=AppliedValue;this.UnitBasis=UnitBasis;this.ApplicableDate=ApplicableDate;this.FixedUntilDate=FixedUntilDate;this.Category=Category;this.Condition=Condition;this.ArithmeticOperator=ArithmeticOperator;this.Components=Components;}_createClass(IfcCostValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.AppliedValue);args.push(this.UnitBasis);args.push(this.ApplicableDate);args.push(this.FixedUntilDate);args.push(this.Category);args.push(this.Condition);args.push(this.ArithmeticOperator);args.push(this.Components);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var AppliedValue=tape[ptr++];var UnitBasis=tape[ptr++];var ApplicableDate=tape[ptr++];var FixedUntilDate=tape[ptr++];var Category=tape[ptr++];var Condition=tape[ptr++];var ArithmeticOperator=tape[ptr++];var Components=tape[ptr++];return new IfcCostValue(expressID,type,Name,Description,AppliedValue,UnitBasis,ApplicableDate,FixedUntilDate,Category,Condition,ArithmeticOperator,Components);}}]);return IfcCostValue;}();var IfcCovering=/*#__PURE__*/function(){function IfcCovering(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCovering);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCovering,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCovering(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCovering;}();var IfcCoveringType=/*#__PURE__*/function(){function IfcCoveringType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCoveringType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCoveringType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCoveringType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCoveringType;}();var IfcCrewResource=/*#__PURE__*/function(){function IfcCrewResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcCrewResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcCrewResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCrewResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcCrewResource;}();var IfcCrewResourceType=/*#__PURE__*/function(){function IfcCrewResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcCrewResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcCrewResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCrewResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcCrewResourceType;}();var IfcCsgPrimitive3D=/*#__PURE__*/function(){function IfcCsgPrimitive3D(expressID,type,Position){_classCallCheck(this,IfcCsgPrimitive3D);this.expressID=expressID;this.type=type;this.Position=Position;}_createClass(IfcCsgPrimitive3D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];return new IfcCsgPrimitive3D(expressID,type,Position);}}]);return IfcCsgPrimitive3D;}();var IfcCsgSolid=/*#__PURE__*/function(){function IfcCsgSolid(expressID,type,TreeRootExpression){_classCallCheck(this,IfcCsgSolid);this.expressID=expressID;this.type=type;this.TreeRootExpression=TreeRootExpression;}_createClass(IfcCsgSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TreeRootExpression);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TreeRootExpression=tape[ptr++];return new IfcCsgSolid(expressID,type,TreeRootExpression);}}]);return IfcCsgSolid;}();var IfcCurrencyRelationship=/*#__PURE__*/function(){function IfcCurrencyRelationship(expressID,type,Name,Description,RelatingMonetaryUnit,RelatedMonetaryUnit,ExchangeRate,RateDateTime,RateSource){_classCallCheck(this,IfcCurrencyRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingMonetaryUnit=RelatingMonetaryUnit;this.RelatedMonetaryUnit=RelatedMonetaryUnit;this.ExchangeRate=ExchangeRate;this.RateDateTime=RateDateTime;this.RateSource=RateSource;}_createClass(IfcCurrencyRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingMonetaryUnit);args.push(this.RelatedMonetaryUnit);args.push(this.ExchangeRate);args.push(this.RateDateTime);args.push(this.RateSource);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingMonetaryUnit=tape[ptr++];var RelatedMonetaryUnit=tape[ptr++];var ExchangeRate=tape[ptr++];var RateDateTime=tape[ptr++];var RateSource=tape[ptr++];return new IfcCurrencyRelationship(expressID,type,Name,Description,RelatingMonetaryUnit,RelatedMonetaryUnit,ExchangeRate,RateDateTime,RateSource);}}]);return IfcCurrencyRelationship;}();var IfcCurtainWall=/*#__PURE__*/function(){function IfcCurtainWall(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcCurtainWall);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcCurtainWall,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCurtainWall(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcCurtainWall;}();var IfcCurtainWallType=/*#__PURE__*/function(){function IfcCurtainWallType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcCurtainWallType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcCurtainWallType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcCurtainWallType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcCurtainWallType;}();var IfcCurve=/*#__PURE__*/function(){function IfcCurve(expressID,type){_classCallCheck(this,IfcCurve);this.expressID=expressID;this.type=type;}_createClass(IfcCurve,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcCurve(expressID,type);}}]);return IfcCurve;}();var IfcCurveBoundedPlane=/*#__PURE__*/function(){function IfcCurveBoundedPlane(expressID,type,BasisSurface,OuterBoundary,InnerBoundaries){_classCallCheck(this,IfcCurveBoundedPlane);this.expressID=expressID;this.type=type;this.BasisSurface=BasisSurface;this.OuterBoundary=OuterBoundary;this.InnerBoundaries=InnerBoundaries;}_createClass(IfcCurveBoundedPlane,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisSurface);args.push(this.OuterBoundary);args.push(this.InnerBoundaries);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisSurface=tape[ptr++];var OuterBoundary=tape[ptr++];var InnerBoundaries=tape[ptr++];return new IfcCurveBoundedPlane(expressID,type,BasisSurface,OuterBoundary,InnerBoundaries);}}]);return IfcCurveBoundedPlane;}();var IfcCurveBoundedSurface=/*#__PURE__*/function(){function IfcCurveBoundedSurface(expressID,type,BasisSurface,Boundaries,ImplicitOuter){_classCallCheck(this,IfcCurveBoundedSurface);this.expressID=expressID;this.type=type;this.BasisSurface=BasisSurface;this.Boundaries=Boundaries;this.ImplicitOuter=ImplicitOuter;}_createClass(IfcCurveBoundedSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisSurface);args.push(this.Boundaries);args.push(this.ImplicitOuter);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisSurface=tape[ptr++];var Boundaries=tape[ptr++];var ImplicitOuter=tape[ptr++];return new IfcCurveBoundedSurface(expressID,type,BasisSurface,Boundaries,ImplicitOuter);}}]);return IfcCurveBoundedSurface;}();var IfcCurveSegment2D=/*#__PURE__*/function(){function IfcCurveSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength){_classCallCheck(this,IfcCurveSegment2D);this.expressID=expressID;this.type=type;this.StartPoint=StartPoint;this.StartDirection=StartDirection;this.SegmentLength=SegmentLength;}_createClass(IfcCurveSegment2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.StartPoint);args.push(this.StartDirection);args.push(this.SegmentLength);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var StartPoint=tape[ptr++];var StartDirection=tape[ptr++];var SegmentLength=tape[ptr++];return new IfcCurveSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength);}}]);return IfcCurveSegment2D;}();var IfcCurveStyle=/*#__PURE__*/function(){function IfcCurveStyle(expressID,type,Name,CurveFont,CurveWidth,CurveColour,ModelOrDraughting){_classCallCheck(this,IfcCurveStyle);this.expressID=expressID;this.type=type;this.Name=Name;this.CurveFont=CurveFont;this.CurveWidth=CurveWidth;this.CurveColour=CurveColour;this.ModelOrDraughting=ModelOrDraughting;}_createClass(IfcCurveStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.CurveFont);args.push(this.CurveWidth);args.push(this.CurveColour);args.push(this.ModelOrDraughting);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var CurveFont=tape[ptr++];var CurveWidth=tape[ptr++];var CurveColour=tape[ptr++];var ModelOrDraughting=tape[ptr++];return new IfcCurveStyle(expressID,type,Name,CurveFont,CurveWidth,CurveColour,ModelOrDraughting);}}]);return IfcCurveStyle;}();var IfcCurveStyleFont=/*#__PURE__*/function(){function IfcCurveStyleFont(expressID,type,Name,PatternList){_classCallCheck(this,IfcCurveStyleFont);this.expressID=expressID;this.type=type;this.Name=Name;this.PatternList=PatternList;}_createClass(IfcCurveStyleFont,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.PatternList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var PatternList=tape[ptr++];return new IfcCurveStyleFont(expressID,type,Name,PatternList);}}]);return IfcCurveStyleFont;}();var IfcCurveStyleFontAndScaling=/*#__PURE__*/function(){function IfcCurveStyleFontAndScaling(expressID,type,Name,CurveFont,CurveFontScaling){_classCallCheck(this,IfcCurveStyleFontAndScaling);this.expressID=expressID;this.type=type;this.Name=Name;this.CurveFont=CurveFont;this.CurveFontScaling=CurveFontScaling;}_createClass(IfcCurveStyleFontAndScaling,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.CurveFont);args.push(this.CurveFontScaling);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var CurveFont=tape[ptr++];var CurveFontScaling=tape[ptr++];return new IfcCurveStyleFontAndScaling(expressID,type,Name,CurveFont,CurveFontScaling);}}]);return IfcCurveStyleFontAndScaling;}();var IfcCurveStyleFontPattern=/*#__PURE__*/function(){function IfcCurveStyleFontPattern(expressID,type,VisibleSegmentLength,InvisibleSegmentLength){_classCallCheck(this,IfcCurveStyleFontPattern);this.expressID=expressID;this.type=type;this.VisibleSegmentLength=VisibleSegmentLength;this.InvisibleSegmentLength=InvisibleSegmentLength;}_createClass(IfcCurveStyleFontPattern,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.VisibleSegmentLength);args.push(this.InvisibleSegmentLength);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var VisibleSegmentLength=tape[ptr++];var InvisibleSegmentLength=tape[ptr++];return new IfcCurveStyleFontPattern(expressID,type,VisibleSegmentLength,InvisibleSegmentLength);}}]);return IfcCurveStyleFontPattern;}();var IfcCylindricalSurface=/*#__PURE__*/function(){function IfcCylindricalSurface(expressID,type,Position,Radius){_classCallCheck(this,IfcCylindricalSurface);this.expressID=expressID;this.type=type;this.Position=Position;this.Radius=Radius;}_createClass(IfcCylindricalSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.Radius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var Radius=tape[ptr++];return new IfcCylindricalSurface(expressID,type,Position,Radius);}}]);return IfcCylindricalSurface;}();var IfcDamper=/*#__PURE__*/function(){function IfcDamper(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcDamper);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcDamper,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDamper(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcDamper;}();var IfcDamperType=/*#__PURE__*/function(){function IfcDamperType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcDamperType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcDamperType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDamperType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcDamperType;}();var IfcDeepFoundation=/*#__PURE__*/function(){function IfcDeepFoundation(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcDeepFoundation);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcDeepFoundation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcDeepFoundation(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcDeepFoundation;}();var IfcDeepFoundationType=/*#__PURE__*/function(){function IfcDeepFoundationType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcDeepFoundationType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcDeepFoundationType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcDeepFoundationType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcDeepFoundationType;}();var IfcDerivedProfileDef=/*#__PURE__*/function(){function IfcDerivedProfileDef(expressID,type,ProfileType,ProfileName,ParentProfile,Operator,Label){_classCallCheck(this,IfcDerivedProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.ParentProfile=ParentProfile;this.Operator=Operator;this.Label=Label;}_createClass(IfcDerivedProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.ParentProfile);args.push(this.Operator);args.push(this.Label);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var ParentProfile=tape[ptr++];var Operator=tape[ptr++];var Label=tape[ptr++];return new IfcDerivedProfileDef(expressID,type,ProfileType,ProfileName,ParentProfile,Operator,Label);}}]);return IfcDerivedProfileDef;}();var IfcDerivedUnit=/*#__PURE__*/function(){function IfcDerivedUnit(expressID,type,Elements,UnitType,UserDefinedType){_classCallCheck(this,IfcDerivedUnit);this.expressID=expressID;this.type=type;this.Elements=Elements;this.UnitType=UnitType;this.UserDefinedType=UserDefinedType;}_createClass(IfcDerivedUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Elements);args.push(this.UnitType);args.push(this.UserDefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Elements=tape[ptr++];var UnitType=tape[ptr++];var UserDefinedType=tape[ptr++];return new IfcDerivedUnit(expressID,type,Elements,UnitType,UserDefinedType);}}]);return IfcDerivedUnit;}();var IfcDerivedUnitElement=/*#__PURE__*/function(){function IfcDerivedUnitElement(expressID,type,Unit,Exponent){_classCallCheck(this,IfcDerivedUnitElement);this.expressID=expressID;this.type=type;this.Unit=Unit;this.Exponent=Exponent;}_createClass(IfcDerivedUnitElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Unit);args.push(this.Exponent);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Unit=tape[ptr++];var Exponent=tape[ptr++];return new IfcDerivedUnitElement(expressID,type,Unit,Exponent);}}]);return IfcDerivedUnitElement;}();var IfcDimensionalExponents=/*#__PURE__*/function(){function IfcDimensionalExponents(expressID,type,LengthExponent,MassExponent,TimeExponent,ElectricCurrentExponent,ThermodynamicTemperatureExponent,AmountOfSubstanceExponent,LuminousIntensityExponent){_classCallCheck(this,IfcDimensionalExponents);this.expressID=expressID;this.type=type;this.LengthExponent=LengthExponent;this.MassExponent=MassExponent;this.TimeExponent=TimeExponent;this.ElectricCurrentExponent=ElectricCurrentExponent;this.ThermodynamicTemperatureExponent=ThermodynamicTemperatureExponent;this.AmountOfSubstanceExponent=AmountOfSubstanceExponent;this.LuminousIntensityExponent=LuminousIntensityExponent;}_createClass(IfcDimensionalExponents,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.LengthExponent);args.push(this.MassExponent);args.push(this.TimeExponent);args.push(this.ElectricCurrentExponent);args.push(this.ThermodynamicTemperatureExponent);args.push(this.AmountOfSubstanceExponent);args.push(this.LuminousIntensityExponent);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var LengthExponent=tape[ptr++];var MassExponent=tape[ptr++];var TimeExponent=tape[ptr++];var ElectricCurrentExponent=tape[ptr++];var ThermodynamicTemperatureExponent=tape[ptr++];var AmountOfSubstanceExponent=tape[ptr++];var LuminousIntensityExponent=tape[ptr++];return new IfcDimensionalExponents(expressID,type,LengthExponent,MassExponent,TimeExponent,ElectricCurrentExponent,ThermodynamicTemperatureExponent,AmountOfSubstanceExponent,LuminousIntensityExponent);}}]);return IfcDimensionalExponents;}();var IfcDirection=/*#__PURE__*/function(){function IfcDirection(expressID,type,DirectionRatios){_classCallCheck(this,IfcDirection);this.expressID=expressID;this.type=type;this.DirectionRatios=DirectionRatios;}_createClass(IfcDirection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.DirectionRatios);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var DirectionRatios=tape[ptr++];return new IfcDirection(expressID,type,DirectionRatios);}}]);return IfcDirection;}();var IfcDiscreteAccessory=/*#__PURE__*/function(){function IfcDiscreteAccessory(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcDiscreteAccessory);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcDiscreteAccessory,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDiscreteAccessory(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcDiscreteAccessory;}();var IfcDiscreteAccessoryType=/*#__PURE__*/function(){function IfcDiscreteAccessoryType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcDiscreteAccessoryType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcDiscreteAccessoryType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDiscreteAccessoryType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcDiscreteAccessoryType;}();var IfcDistanceExpression=/*#__PURE__*/function(){function IfcDistanceExpression(expressID,type,DistanceAlong,OffsetLateral,OffsetVertical,OffsetLongitudinal,AlongHorizontal){_classCallCheck(this,IfcDistanceExpression);this.expressID=expressID;this.type=type;this.DistanceAlong=DistanceAlong;this.OffsetLateral=OffsetLateral;this.OffsetVertical=OffsetVertical;this.OffsetLongitudinal=OffsetLongitudinal;this.AlongHorizontal=AlongHorizontal;}_createClass(IfcDistanceExpression,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.DistanceAlong);args.push(this.OffsetLateral);args.push(this.OffsetVertical);args.push(this.OffsetLongitudinal);args.push(this.AlongHorizontal);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var DistanceAlong=tape[ptr++];var OffsetLateral=tape[ptr++];var OffsetVertical=tape[ptr++];var OffsetLongitudinal=tape[ptr++];var AlongHorizontal=tape[ptr++];return new IfcDistanceExpression(expressID,type,DistanceAlong,OffsetLateral,OffsetVertical,OffsetLongitudinal,AlongHorizontal);}}]);return IfcDistanceExpression;}();var IfcDistributionChamberElement=/*#__PURE__*/function(){function IfcDistributionChamberElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcDistributionChamberElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcDistributionChamberElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDistributionChamberElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcDistributionChamberElement;}();var IfcDistributionChamberElementType=/*#__PURE__*/function(){function IfcDistributionChamberElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcDistributionChamberElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcDistributionChamberElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDistributionChamberElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcDistributionChamberElementType;}();var IfcDistributionCircuit=/*#__PURE__*/function(){function IfcDistributionCircuit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,PredefinedType){_classCallCheck(this,IfcDistributionCircuit);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.LongName=LongName;this.PredefinedType=PredefinedType;}_createClass(IfcDistributionCircuit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.LongName);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var LongName=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDistributionCircuit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,PredefinedType);}}]);return IfcDistributionCircuit;}();var IfcDistributionControlElement=/*#__PURE__*/function(){function IfcDistributionControlElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcDistributionControlElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcDistributionControlElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcDistributionControlElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcDistributionControlElement;}();var IfcDistributionControlElementType=/*#__PURE__*/function(){function IfcDistributionControlElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcDistributionControlElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcDistributionControlElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcDistributionControlElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcDistributionControlElementType;}();var IfcDistributionElement=/*#__PURE__*/function(){function IfcDistributionElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcDistributionElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcDistributionElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcDistributionElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcDistributionElement;}();var IfcDistributionElementType=/*#__PURE__*/function(){function IfcDistributionElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcDistributionElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcDistributionElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcDistributionElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcDistributionElementType;}();var IfcDistributionFlowElement=/*#__PURE__*/function(){function IfcDistributionFlowElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcDistributionFlowElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcDistributionFlowElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcDistributionFlowElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcDistributionFlowElement;}();var IfcDistributionFlowElementType=/*#__PURE__*/function(){function IfcDistributionFlowElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcDistributionFlowElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcDistributionFlowElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcDistributionFlowElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcDistributionFlowElementType;}();var IfcDistributionPort=/*#__PURE__*/function(){function IfcDistributionPort(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,FlowDirection,PredefinedType,SystemType){_classCallCheck(this,IfcDistributionPort);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.FlowDirection=FlowDirection;this.PredefinedType=PredefinedType;this.SystemType=SystemType;}_createClass(IfcDistributionPort,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.FlowDirection);args.push(this.PredefinedType);args.push(this.SystemType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var FlowDirection=tape[ptr++];var PredefinedType=tape[ptr++];var SystemType=tape[ptr++];return new IfcDistributionPort(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,FlowDirection,PredefinedType,SystemType);}}]);return IfcDistributionPort;}();var IfcDistributionSystem=/*#__PURE__*/function(){function IfcDistributionSystem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,PredefinedType){_classCallCheck(this,IfcDistributionSystem);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.LongName=LongName;this.PredefinedType=PredefinedType;}_createClass(IfcDistributionSystem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.LongName);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var LongName=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDistributionSystem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,PredefinedType);}}]);return IfcDistributionSystem;}();var IfcDocumentInformation=/*#__PURE__*/function(){function IfcDocumentInformation(expressID,type,Identification,Name,Description,Location,Purpose,IntendedUse,Scope,Revision,DocumentOwner,Editors,CreationTime,LastRevisionTime,ElectronicFormat,ValidFrom,ValidUntil,Confidentiality,Status){_classCallCheck(this,IfcDocumentInformation);this.expressID=expressID;this.type=type;this.Identification=Identification;this.Name=Name;this.Description=Description;this.Location=Location;this.Purpose=Purpose;this.IntendedUse=IntendedUse;this.Scope=Scope;this.Revision=Revision;this.DocumentOwner=DocumentOwner;this.Editors=Editors;this.CreationTime=CreationTime;this.LastRevisionTime=LastRevisionTime;this.ElectronicFormat=ElectronicFormat;this.ValidFrom=ValidFrom;this.ValidUntil=ValidUntil;this.Confidentiality=Confidentiality;this.Status=Status;}_createClass(IfcDocumentInformation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Identification);args.push(this.Name);args.push(this.Description);args.push(this.Location);args.push(this.Purpose);args.push(this.IntendedUse);args.push(this.Scope);args.push(this.Revision);args.push(this.DocumentOwner);args.push(this.Editors);args.push(this.CreationTime);args.push(this.LastRevisionTime);args.push(this.ElectronicFormat);args.push(this.ValidFrom);args.push(this.ValidUntil);args.push(this.Confidentiality);args.push(this.Status);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Identification=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Location=tape[ptr++];var Purpose=tape[ptr++];var IntendedUse=tape[ptr++];var Scope=tape[ptr++];var Revision=tape[ptr++];var DocumentOwner=tape[ptr++];var Editors=tape[ptr++];var CreationTime=tape[ptr++];var LastRevisionTime=tape[ptr++];var ElectronicFormat=tape[ptr++];var ValidFrom=tape[ptr++];var ValidUntil=tape[ptr++];var Confidentiality=tape[ptr++];var Status=tape[ptr++];return new IfcDocumentInformation(expressID,type,Identification,Name,Description,Location,Purpose,IntendedUse,Scope,Revision,DocumentOwner,Editors,CreationTime,LastRevisionTime,ElectronicFormat,ValidFrom,ValidUntil,Confidentiality,Status);}}]);return IfcDocumentInformation;}();var IfcDocumentInformationRelationship=/*#__PURE__*/function(){function IfcDocumentInformationRelationship(expressID,type,Name,Description,RelatingDocument,RelatedDocuments,RelationshipType){_classCallCheck(this,IfcDocumentInformationRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingDocument=RelatingDocument;this.RelatedDocuments=RelatedDocuments;this.RelationshipType=RelationshipType;}_createClass(IfcDocumentInformationRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingDocument);args.push(this.RelatedDocuments);args.push(this.RelationshipType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingDocument=tape[ptr++];var RelatedDocuments=tape[ptr++];var RelationshipType=tape[ptr++];return new IfcDocumentInformationRelationship(expressID,type,Name,Description,RelatingDocument,RelatedDocuments,RelationshipType);}}]);return IfcDocumentInformationRelationship;}();var IfcDocumentReference=/*#__PURE__*/function(){function IfcDocumentReference(expressID,type,Location,Identification,Name,Description,ReferencedDocument){_classCallCheck(this,IfcDocumentReference);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;this.Description=Description;this.ReferencedDocument=ReferencedDocument;}_createClass(IfcDocumentReference,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);args.push(this.Description);args.push(this.ReferencedDocument);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ReferencedDocument=tape[ptr++];return new IfcDocumentReference(expressID,type,Location,Identification,Name,Description,ReferencedDocument);}}]);return IfcDocumentReference;}();var IfcDoor=/*#__PURE__*/function(){function IfcDoor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,OperationType,UserDefinedOperationType){_classCallCheck(this,IfcDoor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.OverallHeight=OverallHeight;this.OverallWidth=OverallWidth;this.PredefinedType=PredefinedType;this.OperationType=OperationType;this.UserDefinedOperationType=UserDefinedOperationType;}_createClass(IfcDoor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.OverallHeight);args.push(this.OverallWidth);args.push(this.PredefinedType);args.push(this.OperationType);args.push(this.UserDefinedOperationType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var OverallHeight=tape[ptr++];var OverallWidth=tape[ptr++];var PredefinedType=tape[ptr++];var OperationType=tape[ptr++];var UserDefinedOperationType=tape[ptr++];return new IfcDoor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,OperationType,UserDefinedOperationType);}}]);return IfcDoor;}();var IfcDoorLiningProperties=/*#__PURE__*/function(){function IfcDoorLiningProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,LiningDepth,LiningThickness,ThresholdDepth,ThresholdThickness,TransomThickness,TransomOffset,LiningOffset,ThresholdOffset,CasingThickness,CasingDepth,ShapeAspectStyle,LiningToPanelOffsetX,LiningToPanelOffsetY){_classCallCheck(this,IfcDoorLiningProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.LiningDepth=LiningDepth;this.LiningThickness=LiningThickness;this.ThresholdDepth=ThresholdDepth;this.ThresholdThickness=ThresholdThickness;this.TransomThickness=TransomThickness;this.TransomOffset=TransomOffset;this.LiningOffset=LiningOffset;this.ThresholdOffset=ThresholdOffset;this.CasingThickness=CasingThickness;this.CasingDepth=CasingDepth;this.ShapeAspectStyle=ShapeAspectStyle;this.LiningToPanelOffsetX=LiningToPanelOffsetX;this.LiningToPanelOffsetY=LiningToPanelOffsetY;}_createClass(IfcDoorLiningProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.LiningDepth);args.push(this.LiningThickness);args.push(this.ThresholdDepth);args.push(this.ThresholdThickness);args.push(this.TransomThickness);args.push(this.TransomOffset);args.push(this.LiningOffset);args.push(this.ThresholdOffset);args.push(this.CasingThickness);args.push(this.CasingDepth);args.push(this.ShapeAspectStyle);args.push(this.LiningToPanelOffsetX);args.push(this.LiningToPanelOffsetY);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var LiningDepth=tape[ptr++];var LiningThickness=tape[ptr++];var ThresholdDepth=tape[ptr++];var ThresholdThickness=tape[ptr++];var TransomThickness=tape[ptr++];var TransomOffset=tape[ptr++];var LiningOffset=tape[ptr++];var ThresholdOffset=tape[ptr++];var CasingThickness=tape[ptr++];var CasingDepth=tape[ptr++];var ShapeAspectStyle=tape[ptr++];var LiningToPanelOffsetX=tape[ptr++];var LiningToPanelOffsetY=tape[ptr++];return new IfcDoorLiningProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,LiningDepth,LiningThickness,ThresholdDepth,ThresholdThickness,TransomThickness,TransomOffset,LiningOffset,ThresholdOffset,CasingThickness,CasingDepth,ShapeAspectStyle,LiningToPanelOffsetX,LiningToPanelOffsetY);}}]);return IfcDoorLiningProperties;}();var IfcDoorPanelProperties=/*#__PURE__*/function(){function IfcDoorPanelProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,PanelDepth,PanelOperation,PanelWidth,PanelPosition,ShapeAspectStyle){_classCallCheck(this,IfcDoorPanelProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.PanelDepth=PanelDepth;this.PanelOperation=PanelOperation;this.PanelWidth=PanelWidth;this.PanelPosition=PanelPosition;this.ShapeAspectStyle=ShapeAspectStyle;}_createClass(IfcDoorPanelProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.PanelDepth);args.push(this.PanelOperation);args.push(this.PanelWidth);args.push(this.PanelPosition);args.push(this.ShapeAspectStyle);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var PanelDepth=tape[ptr++];var PanelOperation=tape[ptr++];var PanelWidth=tape[ptr++];var PanelPosition=tape[ptr++];var ShapeAspectStyle=tape[ptr++];return new IfcDoorPanelProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,PanelDepth,PanelOperation,PanelWidth,PanelPosition,ShapeAspectStyle);}}]);return IfcDoorPanelProperties;}();var IfcDoorStandardCase=/*#__PURE__*/function(){function IfcDoorStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,OperationType,UserDefinedOperationType){_classCallCheck(this,IfcDoorStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.OverallHeight=OverallHeight;this.OverallWidth=OverallWidth;this.PredefinedType=PredefinedType;this.OperationType=OperationType;this.UserDefinedOperationType=UserDefinedOperationType;}_createClass(IfcDoorStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.OverallHeight);args.push(this.OverallWidth);args.push(this.PredefinedType);args.push(this.OperationType);args.push(this.UserDefinedOperationType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var OverallHeight=tape[ptr++];var OverallWidth=tape[ptr++];var PredefinedType=tape[ptr++];var OperationType=tape[ptr++];var UserDefinedOperationType=tape[ptr++];return new IfcDoorStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,OperationType,UserDefinedOperationType);}}]);return IfcDoorStandardCase;}();var IfcDoorStyle=/*#__PURE__*/function(){function IfcDoorStyle(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,OperationType,ConstructionType,ParameterTakesPrecedence,Sizeable){_classCallCheck(this,IfcDoorStyle);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.OperationType=OperationType;this.ConstructionType=ConstructionType;this.ParameterTakesPrecedence=ParameterTakesPrecedence;this.Sizeable=Sizeable;}_createClass(IfcDoorStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.OperationType);args.push(this.ConstructionType);args.push(this.ParameterTakesPrecedence);args.push(this.Sizeable);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var OperationType=tape[ptr++];var ConstructionType=tape[ptr++];var ParameterTakesPrecedence=tape[ptr++];var Sizeable=tape[ptr++];return new IfcDoorStyle(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,OperationType,ConstructionType,ParameterTakesPrecedence,Sizeable);}}]);return IfcDoorStyle;}();var IfcDoorType=/*#__PURE__*/function(){function IfcDoorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,OperationType,ParameterTakesPrecedence,UserDefinedOperationType){_classCallCheck(this,IfcDoorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.OperationType=OperationType;this.ParameterTakesPrecedence=ParameterTakesPrecedence;this.UserDefinedOperationType=UserDefinedOperationType;}_createClass(IfcDoorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.OperationType);args.push(this.ParameterTakesPrecedence);args.push(this.UserDefinedOperationType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var OperationType=tape[ptr++];var ParameterTakesPrecedence=tape[ptr++];var UserDefinedOperationType=tape[ptr++];return new IfcDoorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,OperationType,ParameterTakesPrecedence,UserDefinedOperationType);}}]);return IfcDoorType;}();var IfcDraughtingPreDefinedColour=/*#__PURE__*/function(){function IfcDraughtingPreDefinedColour(expressID,type,Name){_classCallCheck(this,IfcDraughtingPreDefinedColour);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcDraughtingPreDefinedColour,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcDraughtingPreDefinedColour(expressID,type,Name);}}]);return IfcDraughtingPreDefinedColour;}();var IfcDraughtingPreDefinedCurveFont=/*#__PURE__*/function(){function IfcDraughtingPreDefinedCurveFont(expressID,type,Name){_classCallCheck(this,IfcDraughtingPreDefinedCurveFont);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcDraughtingPreDefinedCurveFont,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcDraughtingPreDefinedCurveFont(expressID,type,Name);}}]);return IfcDraughtingPreDefinedCurveFont;}();var IfcDuctFitting=/*#__PURE__*/function(){function IfcDuctFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcDuctFitting);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcDuctFitting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDuctFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcDuctFitting;}();var IfcDuctFittingType=/*#__PURE__*/function(){function IfcDuctFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcDuctFittingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcDuctFittingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDuctFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcDuctFittingType;}();var IfcDuctSegment=/*#__PURE__*/function(){function IfcDuctSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcDuctSegment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcDuctSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDuctSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcDuctSegment;}();var IfcDuctSegmentType=/*#__PURE__*/function(){function IfcDuctSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcDuctSegmentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcDuctSegmentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDuctSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcDuctSegmentType;}();var IfcDuctSilencer=/*#__PURE__*/function(){function IfcDuctSilencer(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcDuctSilencer);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcDuctSilencer,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDuctSilencer(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcDuctSilencer;}();var IfcDuctSilencerType=/*#__PURE__*/function(){function IfcDuctSilencerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcDuctSilencerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcDuctSilencerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcDuctSilencerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcDuctSilencerType;}();var IfcEdge=/*#__PURE__*/function(){function IfcEdge(expressID,type,EdgeStart,EdgeEnd){_classCallCheck(this,IfcEdge);this.expressID=expressID;this.type=type;this.EdgeStart=EdgeStart;this.EdgeEnd=EdgeEnd;}_createClass(IfcEdge,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.EdgeStart);args.push(this.EdgeEnd);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var EdgeStart=tape[ptr++];var EdgeEnd=tape[ptr++];return new IfcEdge(expressID,type,EdgeStart,EdgeEnd);}}]);return IfcEdge;}();var IfcEdgeCurve=/*#__PURE__*/function(){function IfcEdgeCurve(expressID,type,EdgeStart,EdgeEnd,EdgeGeometry,SameSense){_classCallCheck(this,IfcEdgeCurve);this.expressID=expressID;this.type=type;this.EdgeStart=EdgeStart;this.EdgeEnd=EdgeEnd;this.EdgeGeometry=EdgeGeometry;this.SameSense=SameSense;}_createClass(IfcEdgeCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.EdgeStart);args.push(this.EdgeEnd);args.push(this.EdgeGeometry);args.push(this.SameSense);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var EdgeStart=tape[ptr++];var EdgeEnd=tape[ptr++];var EdgeGeometry=tape[ptr++];var SameSense=tape[ptr++];return new IfcEdgeCurve(expressID,type,EdgeStart,EdgeEnd,EdgeGeometry,SameSense);}}]);return IfcEdgeCurve;}();var IfcEdgeLoop=/*#__PURE__*/function(){function IfcEdgeLoop(expressID,type,EdgeList){_classCallCheck(this,IfcEdgeLoop);this.expressID=expressID;this.type=type;this.EdgeList=EdgeList;}_createClass(IfcEdgeLoop,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.EdgeList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var EdgeList=tape[ptr++];return new IfcEdgeLoop(expressID,type,EdgeList);}}]);return IfcEdgeLoop;}();var IfcElectricAppliance=/*#__PURE__*/function(){function IfcElectricAppliance(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcElectricAppliance);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcElectricAppliance,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricAppliance(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcElectricAppliance;}();var IfcElectricApplianceType=/*#__PURE__*/function(){function IfcElectricApplianceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElectricApplianceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElectricApplianceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricApplianceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElectricApplianceType;}();var IfcElectricDistributionBoard=/*#__PURE__*/function(){function IfcElectricDistributionBoard(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcElectricDistributionBoard);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcElectricDistributionBoard,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricDistributionBoard(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcElectricDistributionBoard;}();var IfcElectricDistributionBoardType=/*#__PURE__*/function(){function IfcElectricDistributionBoardType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElectricDistributionBoardType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElectricDistributionBoardType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricDistributionBoardType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElectricDistributionBoardType;}();var IfcElectricFlowStorageDevice=/*#__PURE__*/function(){function IfcElectricFlowStorageDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcElectricFlowStorageDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcElectricFlowStorageDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricFlowStorageDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcElectricFlowStorageDevice;}();var IfcElectricFlowStorageDeviceType=/*#__PURE__*/function(){function IfcElectricFlowStorageDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElectricFlowStorageDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElectricFlowStorageDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricFlowStorageDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElectricFlowStorageDeviceType;}();var IfcElectricGenerator=/*#__PURE__*/function(){function IfcElectricGenerator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcElectricGenerator);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcElectricGenerator,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricGenerator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcElectricGenerator;}();var IfcElectricGeneratorType=/*#__PURE__*/function(){function IfcElectricGeneratorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElectricGeneratorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElectricGeneratorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricGeneratorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElectricGeneratorType;}();var IfcElectricMotor=/*#__PURE__*/function(){function IfcElectricMotor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcElectricMotor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcElectricMotor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricMotor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcElectricMotor;}();var IfcElectricMotorType=/*#__PURE__*/function(){function IfcElectricMotorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElectricMotorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElectricMotorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricMotorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElectricMotorType;}();var IfcElectricTimeControl=/*#__PURE__*/function(){function IfcElectricTimeControl(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcElectricTimeControl);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcElectricTimeControl,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricTimeControl(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcElectricTimeControl;}();var IfcElectricTimeControlType=/*#__PURE__*/function(){function IfcElectricTimeControlType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElectricTimeControlType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElectricTimeControlType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElectricTimeControlType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElectricTimeControlType;}();var IfcElement=/*#__PURE__*/function(){function IfcElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcElement;}();var IfcElementAssembly=/*#__PURE__*/function(){function IfcElementAssembly(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,AssemblyPlace,PredefinedType){_classCallCheck(this,IfcElementAssembly);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.AssemblyPlace=AssemblyPlace;this.PredefinedType=PredefinedType;}_createClass(IfcElementAssembly,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.AssemblyPlace);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var AssemblyPlace=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElementAssembly(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,AssemblyPlace,PredefinedType);}}]);return IfcElementAssembly;}();var IfcElementAssemblyType=/*#__PURE__*/function(){function IfcElementAssemblyType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcElementAssemblyType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcElementAssemblyType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcElementAssemblyType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcElementAssemblyType;}();var IfcElementComponent=/*#__PURE__*/function(){function IfcElementComponent(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcElementComponent);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcElementComponent,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcElementComponent(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcElementComponent;}();var IfcElementComponentType=/*#__PURE__*/function(){function IfcElementComponentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcElementComponentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcElementComponentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcElementComponentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcElementComponentType;}();var IfcElementQuantity=/*#__PURE__*/function(){function IfcElementQuantity(expressID,type,GlobalId,OwnerHistory,Name,Description,MethodOfMeasurement,Quantities){_classCallCheck(this,IfcElementQuantity);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.MethodOfMeasurement=MethodOfMeasurement;this.Quantities=Quantities;}_createClass(IfcElementQuantity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.MethodOfMeasurement);args.push(this.Quantities);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var MethodOfMeasurement=tape[ptr++];var Quantities=tape[ptr++];return new IfcElementQuantity(expressID,type,GlobalId,OwnerHistory,Name,Description,MethodOfMeasurement,Quantities);}}]);return IfcElementQuantity;}();var IfcElementType=/*#__PURE__*/function(){function IfcElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcElementType;}();var IfcElementarySurface=/*#__PURE__*/function(){function IfcElementarySurface(expressID,type,Position){_classCallCheck(this,IfcElementarySurface);this.expressID=expressID;this.type=type;this.Position=Position;}_createClass(IfcElementarySurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];return new IfcElementarySurface(expressID,type,Position);}}]);return IfcElementarySurface;}();var IfcEllipse=/*#__PURE__*/function(){function IfcEllipse(expressID,type,Position,SemiAxis1,SemiAxis2){_classCallCheck(this,IfcEllipse);this.expressID=expressID;this.type=type;this.Position=Position;this.SemiAxis1=SemiAxis1;this.SemiAxis2=SemiAxis2;}_createClass(IfcEllipse,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.SemiAxis1);args.push(this.SemiAxis2);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var SemiAxis1=tape[ptr++];var SemiAxis2=tape[ptr++];return new IfcEllipse(expressID,type,Position,SemiAxis1,SemiAxis2);}}]);return IfcEllipse;}();var IfcEllipseProfileDef=/*#__PURE__*/function(){function IfcEllipseProfileDef(expressID,type,ProfileType,ProfileName,Position,SemiAxis1,SemiAxis2){_classCallCheck(this,IfcEllipseProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.SemiAxis1=SemiAxis1;this.SemiAxis2=SemiAxis2;}_createClass(IfcEllipseProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.SemiAxis1);args.push(this.SemiAxis2);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var SemiAxis1=tape[ptr++];var SemiAxis2=tape[ptr++];return new IfcEllipseProfileDef(expressID,type,ProfileType,ProfileName,Position,SemiAxis1,SemiAxis2);}}]);return IfcEllipseProfileDef;}();var IfcEnergyConversionDevice=/*#__PURE__*/function(){function IfcEnergyConversionDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcEnergyConversionDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcEnergyConversionDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcEnergyConversionDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcEnergyConversionDevice;}();var IfcEnergyConversionDeviceType=/*#__PURE__*/function(){function IfcEnergyConversionDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcEnergyConversionDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcEnergyConversionDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcEnergyConversionDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcEnergyConversionDeviceType;}();var IfcEngine=/*#__PURE__*/function(){function IfcEngine(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcEngine);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcEngine,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcEngine(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcEngine;}();var IfcEngineType=/*#__PURE__*/function(){function IfcEngineType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcEngineType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcEngineType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcEngineType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcEngineType;}();var IfcEvaporativeCooler=/*#__PURE__*/function(){function IfcEvaporativeCooler(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcEvaporativeCooler);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcEvaporativeCooler,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcEvaporativeCooler(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcEvaporativeCooler;}();var IfcEvaporativeCoolerType=/*#__PURE__*/function(){function IfcEvaporativeCoolerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcEvaporativeCoolerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcEvaporativeCoolerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcEvaporativeCoolerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcEvaporativeCoolerType;}();var IfcEvaporator=/*#__PURE__*/function(){function IfcEvaporator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcEvaporator);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcEvaporator,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcEvaporator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcEvaporator;}();var IfcEvaporatorType=/*#__PURE__*/function(){function IfcEvaporatorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcEvaporatorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcEvaporatorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcEvaporatorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcEvaporatorType;}();var IfcEvent=/*#__PURE__*/function(){function IfcEvent(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,PredefinedType,EventTriggerType,UserDefinedEventTriggerType,EventOccurenceTime){_classCallCheck(this,IfcEvent);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.PredefinedType=PredefinedType;this.EventTriggerType=EventTriggerType;this.UserDefinedEventTriggerType=UserDefinedEventTriggerType;this.EventOccurenceTime=EventOccurenceTime;}_createClass(IfcEvent,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.PredefinedType);args.push(this.EventTriggerType);args.push(this.UserDefinedEventTriggerType);args.push(this.EventOccurenceTime);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var PredefinedType=tape[ptr++];var EventTriggerType=tape[ptr++];var UserDefinedEventTriggerType=tape[ptr++];var EventOccurenceTime=tape[ptr++];return new IfcEvent(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,PredefinedType,EventTriggerType,UserDefinedEventTriggerType,EventOccurenceTime);}}]);return IfcEvent;}();var IfcEventTime=/*#__PURE__*/function(){function IfcEventTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,ActualDate,EarlyDate,LateDate,ScheduleDate){_classCallCheck(this,IfcEventTime);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.ActualDate=ActualDate;this.EarlyDate=EarlyDate;this.LateDate=LateDate;this.ScheduleDate=ScheduleDate;}_createClass(IfcEventTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.ActualDate);args.push(this.EarlyDate);args.push(this.LateDate);args.push(this.ScheduleDate);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var ActualDate=tape[ptr++];var EarlyDate=tape[ptr++];var LateDate=tape[ptr++];var ScheduleDate=tape[ptr++];return new IfcEventTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,ActualDate,EarlyDate,LateDate,ScheduleDate);}}]);return IfcEventTime;}();var IfcEventType=/*#__PURE__*/function(){function IfcEventType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType,PredefinedType,EventTriggerType,UserDefinedEventTriggerType){_classCallCheck(this,IfcEventType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ProcessType=ProcessType;this.PredefinedType=PredefinedType;this.EventTriggerType=EventTriggerType;this.UserDefinedEventTriggerType=UserDefinedEventTriggerType;}_createClass(IfcEventType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ProcessType);args.push(this.PredefinedType);args.push(this.EventTriggerType);args.push(this.UserDefinedEventTriggerType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ProcessType=tape[ptr++];var PredefinedType=tape[ptr++];var EventTriggerType=tape[ptr++];var UserDefinedEventTriggerType=tape[ptr++];return new IfcEventType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType,PredefinedType,EventTriggerType,UserDefinedEventTriggerType);}}]);return IfcEventType;}();var IfcExtendedProperties=/*#__PURE__*/function(){function IfcExtendedProperties(expressID,type,Name,Description,Properties2){_classCallCheck(this,IfcExtendedProperties);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Properties=Properties2;}_createClass(IfcExtendedProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Properties);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Properties2=tape[ptr++];return new IfcExtendedProperties(expressID,type,Name,Description,Properties2);}}]);return IfcExtendedProperties;}();var IfcExternalInformation=/*#__PURE__*/function(){function IfcExternalInformation(expressID,type){_classCallCheck(this,IfcExternalInformation);this.expressID=expressID;this.type=type;}_createClass(IfcExternalInformation,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcExternalInformation(expressID,type);}}]);return IfcExternalInformation;}();var IfcExternalReference=/*#__PURE__*/function(){function IfcExternalReference(expressID,type,Location,Identification,Name){_classCallCheck(this,IfcExternalReference);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;}_createClass(IfcExternalReference,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];return new IfcExternalReference(expressID,type,Location,Identification,Name);}}]);return IfcExternalReference;}();var IfcExternalReferenceRelationship=/*#__PURE__*/function(){function IfcExternalReferenceRelationship(expressID,type,Name,Description,RelatingReference,RelatedResourceObjects){_classCallCheck(this,IfcExternalReferenceRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingReference=RelatingReference;this.RelatedResourceObjects=RelatedResourceObjects;}_createClass(IfcExternalReferenceRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingReference);args.push(this.RelatedResourceObjects);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingReference=tape[ptr++];var RelatedResourceObjects=tape[ptr++];return new IfcExternalReferenceRelationship(expressID,type,Name,Description,RelatingReference,RelatedResourceObjects);}}]);return IfcExternalReferenceRelationship;}();var IfcExternalSpatialElement=/*#__PURE__*/function(){function IfcExternalSpatialElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,PredefinedType){_classCallCheck(this,IfcExternalSpatialElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.PredefinedType=PredefinedType;}_createClass(IfcExternalSpatialElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcExternalSpatialElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,PredefinedType);}}]);return IfcExternalSpatialElement;}();var IfcExternalSpatialStructureElement=/*#__PURE__*/function(){function IfcExternalSpatialStructureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName){_classCallCheck(this,IfcExternalSpatialStructureElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;}_createClass(IfcExternalSpatialStructureElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];return new IfcExternalSpatialStructureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName);}}]);return IfcExternalSpatialStructureElement;}();var IfcExternallyDefinedHatchStyle=/*#__PURE__*/function(){function IfcExternallyDefinedHatchStyle(expressID,type,Location,Identification,Name){_classCallCheck(this,IfcExternallyDefinedHatchStyle);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;}_createClass(IfcExternallyDefinedHatchStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];return new IfcExternallyDefinedHatchStyle(expressID,type,Location,Identification,Name);}}]);return IfcExternallyDefinedHatchStyle;}();var IfcExternallyDefinedSurfaceStyle=/*#__PURE__*/function(){function IfcExternallyDefinedSurfaceStyle(expressID,type,Location,Identification,Name){_classCallCheck(this,IfcExternallyDefinedSurfaceStyle);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;}_createClass(IfcExternallyDefinedSurfaceStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];return new IfcExternallyDefinedSurfaceStyle(expressID,type,Location,Identification,Name);}}]);return IfcExternallyDefinedSurfaceStyle;}();var IfcExternallyDefinedTextFont=/*#__PURE__*/function(){function IfcExternallyDefinedTextFont(expressID,type,Location,Identification,Name){_classCallCheck(this,IfcExternallyDefinedTextFont);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;}_createClass(IfcExternallyDefinedTextFont,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];return new IfcExternallyDefinedTextFont(expressID,type,Location,Identification,Name);}}]);return IfcExternallyDefinedTextFont;}();var IfcExtrudedAreaSolid=/*#__PURE__*/function(){function IfcExtrudedAreaSolid(expressID,type,SweptArea,Position,ExtrudedDirection,Depth){_classCallCheck(this,IfcExtrudedAreaSolid);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;this.ExtrudedDirection=ExtrudedDirection;this.Depth=Depth;}_createClass(IfcExtrudedAreaSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);args.push(this.ExtrudedDirection);args.push(this.Depth);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];var ExtrudedDirection=tape[ptr++];var Depth=tape[ptr++];return new IfcExtrudedAreaSolid(expressID,type,SweptArea,Position,ExtrudedDirection,Depth);}}]);return IfcExtrudedAreaSolid;}();var IfcExtrudedAreaSolidTapered=/*#__PURE__*/function(){function IfcExtrudedAreaSolidTapered(expressID,type,SweptArea,Position,ExtrudedDirection,Depth,EndSweptArea){_classCallCheck(this,IfcExtrudedAreaSolidTapered);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;this.ExtrudedDirection=ExtrudedDirection;this.Depth=Depth;this.EndSweptArea=EndSweptArea;}_createClass(IfcExtrudedAreaSolidTapered,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);args.push(this.ExtrudedDirection);args.push(this.Depth);args.push(this.EndSweptArea);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];var ExtrudedDirection=tape[ptr++];var Depth=tape[ptr++];var EndSweptArea=tape[ptr++];return new IfcExtrudedAreaSolidTapered(expressID,type,SweptArea,Position,ExtrudedDirection,Depth,EndSweptArea);}}]);return IfcExtrudedAreaSolidTapered;}();var IfcFace=/*#__PURE__*/function(){function IfcFace(expressID,type,Bounds){_classCallCheck(this,IfcFace);this.expressID=expressID;this.type=type;this.Bounds=Bounds;}_createClass(IfcFace,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Bounds);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Bounds=tape[ptr++];return new IfcFace(expressID,type,Bounds);}}]);return IfcFace;}();var IfcFaceBasedSurfaceModel=/*#__PURE__*/function(){function IfcFaceBasedSurfaceModel(expressID,type,FbsmFaces){_classCallCheck(this,IfcFaceBasedSurfaceModel);this.expressID=expressID;this.type=type;this.FbsmFaces=FbsmFaces;}_createClass(IfcFaceBasedSurfaceModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.FbsmFaces);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var FbsmFaces=tape[ptr++];return new IfcFaceBasedSurfaceModel(expressID,type,FbsmFaces);}}]);return IfcFaceBasedSurfaceModel;}();var IfcFaceBound=/*#__PURE__*/function(){function IfcFaceBound(expressID,type,Bound,Orientation){_classCallCheck(this,IfcFaceBound);this.expressID=expressID;this.type=type;this.Bound=Bound;this.Orientation=Orientation;}_createClass(IfcFaceBound,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Bound);args.push(this.Orientation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Bound=tape[ptr++];var Orientation=tape[ptr++];return new IfcFaceBound(expressID,type,Bound,Orientation);}}]);return IfcFaceBound;}();var IfcFaceOuterBound=/*#__PURE__*/function(){function IfcFaceOuterBound(expressID,type,Bound,Orientation){_classCallCheck(this,IfcFaceOuterBound);this.expressID=expressID;this.type=type;this.Bound=Bound;this.Orientation=Orientation;}_createClass(IfcFaceOuterBound,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Bound);args.push(this.Orientation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Bound=tape[ptr++];var Orientation=tape[ptr++];return new IfcFaceOuterBound(expressID,type,Bound,Orientation);}}]);return IfcFaceOuterBound;}();var IfcFaceSurface=/*#__PURE__*/function(){function IfcFaceSurface(expressID,type,Bounds,FaceSurface,SameSense){_classCallCheck(this,IfcFaceSurface);this.expressID=expressID;this.type=type;this.Bounds=Bounds;this.FaceSurface=FaceSurface;this.SameSense=SameSense;}_createClass(IfcFaceSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Bounds);args.push(this.FaceSurface);args.push(this.SameSense);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Bounds=tape[ptr++];var FaceSurface=tape[ptr++];var SameSense=tape[ptr++];return new IfcFaceSurface(expressID,type,Bounds,FaceSurface,SameSense);}}]);return IfcFaceSurface;}();var IfcFacetedBrep=/*#__PURE__*/function(){function IfcFacetedBrep(expressID,type,Outer){_classCallCheck(this,IfcFacetedBrep);this.expressID=expressID;this.type=type;this.Outer=Outer;}_createClass(IfcFacetedBrep,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Outer);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Outer=tape[ptr++];return new IfcFacetedBrep(expressID,type,Outer);}}]);return IfcFacetedBrep;}();var IfcFacetedBrepWithVoids=/*#__PURE__*/function(){function IfcFacetedBrepWithVoids(expressID,type,Outer,Voids){_classCallCheck(this,IfcFacetedBrepWithVoids);this.expressID=expressID;this.type=type;this.Outer=Outer;this.Voids=Voids;}_createClass(IfcFacetedBrepWithVoids,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Outer);args.push(this.Voids);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Outer=tape[ptr++];var Voids=tape[ptr++];return new IfcFacetedBrepWithVoids(expressID,type,Outer,Voids);}}]);return IfcFacetedBrepWithVoids;}();var IfcFacility=/*#__PURE__*/function(){function IfcFacility(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType){_classCallCheck(this,IfcFacility);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;}_createClass(IfcFacility,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];return new IfcFacility(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType);}}]);return IfcFacility;}();var IfcFacilityPart=/*#__PURE__*/function(){function IfcFacilityPart(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType){_classCallCheck(this,IfcFacilityPart);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;}_createClass(IfcFacilityPart,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];return new IfcFacilityPart(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType);}}]);return IfcFacilityPart;}();var IfcFailureConnectionCondition=/*#__PURE__*/function(){function IfcFailureConnectionCondition(expressID,type,Name,TensionFailureX,TensionFailureY,TensionFailureZ,CompressionFailureX,CompressionFailureY,CompressionFailureZ){_classCallCheck(this,IfcFailureConnectionCondition);this.expressID=expressID;this.type=type;this.Name=Name;this.TensionFailureX=TensionFailureX;this.TensionFailureY=TensionFailureY;this.TensionFailureZ=TensionFailureZ;this.CompressionFailureX=CompressionFailureX;this.CompressionFailureY=CompressionFailureY;this.CompressionFailureZ=CompressionFailureZ;}_createClass(IfcFailureConnectionCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.TensionFailureX);args.push(this.TensionFailureY);args.push(this.TensionFailureZ);args.push(this.CompressionFailureX);args.push(this.CompressionFailureY);args.push(this.CompressionFailureZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var TensionFailureX=tape[ptr++];var TensionFailureY=tape[ptr++];var TensionFailureZ=tape[ptr++];var CompressionFailureX=tape[ptr++];var CompressionFailureY=tape[ptr++];var CompressionFailureZ=tape[ptr++];return new IfcFailureConnectionCondition(expressID,type,Name,TensionFailureX,TensionFailureY,TensionFailureZ,CompressionFailureX,CompressionFailureY,CompressionFailureZ);}}]);return IfcFailureConnectionCondition;}();var IfcFan=/*#__PURE__*/function(){function IfcFan(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFan);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFan,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFan(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFan;}();var IfcFanType=/*#__PURE__*/function(){function IfcFanType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFanType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFanType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFanType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFanType;}();var IfcFastener=/*#__PURE__*/function(){function IfcFastener(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFastener);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFastener,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFastener(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFastener;}();var IfcFastenerType=/*#__PURE__*/function(){function IfcFastenerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFastenerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFastenerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFastenerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFastenerType;}();var IfcFeatureElement=/*#__PURE__*/function(){function IfcFeatureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFeatureElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFeatureElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFeatureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFeatureElement;}();var IfcFeatureElementAddition=/*#__PURE__*/function(){function IfcFeatureElementAddition(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFeatureElementAddition);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFeatureElementAddition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFeatureElementAddition(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFeatureElementAddition;}();var IfcFeatureElementSubtraction=/*#__PURE__*/function(){function IfcFeatureElementSubtraction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFeatureElementSubtraction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFeatureElementSubtraction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFeatureElementSubtraction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFeatureElementSubtraction;}();var IfcFillAreaStyle=/*#__PURE__*/function(){function IfcFillAreaStyle(expressID,type,Name,FillStyles,ModelorDraughting){_classCallCheck(this,IfcFillAreaStyle);this.expressID=expressID;this.type=type;this.Name=Name;this.FillStyles=FillStyles;this.ModelorDraughting=ModelorDraughting;}_createClass(IfcFillAreaStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.FillStyles);args.push(this.ModelorDraughting);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var FillStyles=tape[ptr++];var ModelorDraughting=tape[ptr++];return new IfcFillAreaStyle(expressID,type,Name,FillStyles,ModelorDraughting);}}]);return IfcFillAreaStyle;}();var IfcFillAreaStyleHatching=/*#__PURE__*/function(){function IfcFillAreaStyleHatching(expressID,type,HatchLineAppearance,StartOfNextHatchLine,PointOfReferenceHatchLine,PatternStart,HatchLineAngle){_classCallCheck(this,IfcFillAreaStyleHatching);this.expressID=expressID;this.type=type;this.HatchLineAppearance=HatchLineAppearance;this.StartOfNextHatchLine=StartOfNextHatchLine;this.PointOfReferenceHatchLine=PointOfReferenceHatchLine;this.PatternStart=PatternStart;this.HatchLineAngle=HatchLineAngle;}_createClass(IfcFillAreaStyleHatching,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.HatchLineAppearance);args.push(this.StartOfNextHatchLine);args.push(this.PointOfReferenceHatchLine);args.push(this.PatternStart);args.push(this.HatchLineAngle);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var HatchLineAppearance=tape[ptr++];var StartOfNextHatchLine=tape[ptr++];var PointOfReferenceHatchLine=tape[ptr++];var PatternStart=tape[ptr++];var HatchLineAngle=tape[ptr++];return new IfcFillAreaStyleHatching(expressID,type,HatchLineAppearance,StartOfNextHatchLine,PointOfReferenceHatchLine,PatternStart,HatchLineAngle);}}]);return IfcFillAreaStyleHatching;}();var IfcFillAreaStyleTiles=/*#__PURE__*/function(){function IfcFillAreaStyleTiles(expressID,type,TilingPattern,Tiles,TilingScale){_classCallCheck(this,IfcFillAreaStyleTiles);this.expressID=expressID;this.type=type;this.TilingPattern=TilingPattern;this.Tiles=Tiles;this.TilingScale=TilingScale;}_createClass(IfcFillAreaStyleTiles,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TilingPattern);args.push(this.Tiles);args.push(this.TilingScale);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TilingPattern=tape[ptr++];var Tiles=tape[ptr++];var TilingScale=tape[ptr++];return new IfcFillAreaStyleTiles(expressID,type,TilingPattern,Tiles,TilingScale);}}]);return IfcFillAreaStyleTiles;}();var IfcFilter=/*#__PURE__*/function(){function IfcFilter(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFilter);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFilter,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFilter(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFilter;}();var IfcFilterType=/*#__PURE__*/function(){function IfcFilterType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFilterType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFilterType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFilterType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFilterType;}();var IfcFireSuppressionTerminal=/*#__PURE__*/function(){function IfcFireSuppressionTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFireSuppressionTerminal);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFireSuppressionTerminal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFireSuppressionTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFireSuppressionTerminal;}();var IfcFireSuppressionTerminalType=/*#__PURE__*/function(){function IfcFireSuppressionTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFireSuppressionTerminalType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFireSuppressionTerminalType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFireSuppressionTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFireSuppressionTerminalType;}();var IfcFixedReferenceSweptAreaSolid=/*#__PURE__*/function(){function IfcFixedReferenceSweptAreaSolid(expressID,type,SweptArea,Position,Directrix,StartParam,EndParam,FixedReference){_classCallCheck(this,IfcFixedReferenceSweptAreaSolid);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;this.Directrix=Directrix;this.StartParam=StartParam;this.EndParam=EndParam;this.FixedReference=FixedReference;}_createClass(IfcFixedReferenceSweptAreaSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);args.push(this.Directrix);args.push(this.StartParam);args.push(this.EndParam);args.push(this.FixedReference);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];var Directrix=tape[ptr++];var StartParam=tape[ptr++];var EndParam=tape[ptr++];var FixedReference=tape[ptr++];return new IfcFixedReferenceSweptAreaSolid(expressID,type,SweptArea,Position,Directrix,StartParam,EndParam,FixedReference);}}]);return IfcFixedReferenceSweptAreaSolid;}();var IfcFlowController=/*#__PURE__*/function(){function IfcFlowController(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowController);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowController,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowController(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowController;}();var IfcFlowControllerType=/*#__PURE__*/function(){function IfcFlowControllerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowControllerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowControllerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowControllerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowControllerType;}();var IfcFlowFitting=/*#__PURE__*/function(){function IfcFlowFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowFitting);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowFitting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowFitting;}();var IfcFlowFittingType=/*#__PURE__*/function(){function IfcFlowFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowFittingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowFittingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowFittingType;}();var IfcFlowInstrument=/*#__PURE__*/function(){function IfcFlowInstrument(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFlowInstrument);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFlowInstrument,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFlowInstrument(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFlowInstrument;}();var IfcFlowInstrumentType=/*#__PURE__*/function(){function IfcFlowInstrumentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFlowInstrumentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFlowInstrumentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFlowInstrumentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFlowInstrumentType;}();var IfcFlowMeter=/*#__PURE__*/function(){function IfcFlowMeter(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFlowMeter);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFlowMeter,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFlowMeter(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFlowMeter;}();var IfcFlowMeterType=/*#__PURE__*/function(){function IfcFlowMeterType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFlowMeterType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFlowMeterType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFlowMeterType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFlowMeterType;}();var IfcFlowMovingDevice=/*#__PURE__*/function(){function IfcFlowMovingDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowMovingDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowMovingDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowMovingDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowMovingDevice;}();var IfcFlowMovingDeviceType=/*#__PURE__*/function(){function IfcFlowMovingDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowMovingDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowMovingDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowMovingDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowMovingDeviceType;}();var IfcFlowSegment=/*#__PURE__*/function(){function IfcFlowSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowSegment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowSegment;}();var IfcFlowSegmentType=/*#__PURE__*/function(){function IfcFlowSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowSegmentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowSegmentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowSegmentType;}();var IfcFlowStorageDevice=/*#__PURE__*/function(){function IfcFlowStorageDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowStorageDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowStorageDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowStorageDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowStorageDevice;}();var IfcFlowStorageDeviceType=/*#__PURE__*/function(){function IfcFlowStorageDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowStorageDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowStorageDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowStorageDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowStorageDeviceType;}();var IfcFlowTerminal=/*#__PURE__*/function(){function IfcFlowTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowTerminal);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowTerminal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowTerminal;}();var IfcFlowTerminalType=/*#__PURE__*/function(){function IfcFlowTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowTerminalType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowTerminalType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowTerminalType;}();var IfcFlowTreatmentDevice=/*#__PURE__*/function(){function IfcFlowTreatmentDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFlowTreatmentDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFlowTreatmentDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFlowTreatmentDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFlowTreatmentDevice;}();var IfcFlowTreatmentDeviceType=/*#__PURE__*/function(){function IfcFlowTreatmentDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFlowTreatmentDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFlowTreatmentDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFlowTreatmentDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFlowTreatmentDeviceType;}();var IfcFooting=/*#__PURE__*/function(){function IfcFooting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFooting);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFooting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFooting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFooting;}();var IfcFootingType=/*#__PURE__*/function(){function IfcFootingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcFootingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcFootingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFootingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcFootingType;}();var IfcFurnishingElement=/*#__PURE__*/function(){function IfcFurnishingElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcFurnishingElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcFurnishingElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcFurnishingElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcFurnishingElement;}();var IfcFurnishingElementType=/*#__PURE__*/function(){function IfcFurnishingElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcFurnishingElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcFurnishingElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcFurnishingElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcFurnishingElementType;}();var IfcFurniture=/*#__PURE__*/function(){function IfcFurniture(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcFurniture);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcFurniture,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFurniture(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcFurniture;}();var IfcFurnitureType=/*#__PURE__*/function(){function IfcFurnitureType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,AssemblyPlace,PredefinedType){_classCallCheck(this,IfcFurnitureType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.AssemblyPlace=AssemblyPlace;this.PredefinedType=PredefinedType;}_createClass(IfcFurnitureType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.AssemblyPlace);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var AssemblyPlace=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcFurnitureType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,AssemblyPlace,PredefinedType);}}]);return IfcFurnitureType;}();var IfcGeographicElement=/*#__PURE__*/function(){function IfcGeographicElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcGeographicElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcGeographicElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcGeographicElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcGeographicElement;}();var IfcGeographicElementType=/*#__PURE__*/function(){function IfcGeographicElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcGeographicElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcGeographicElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcGeographicElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcGeographicElementType;}();var IfcGeometricCurveSet=/*#__PURE__*/function(){function IfcGeometricCurveSet(expressID,type,Elements){_classCallCheck(this,IfcGeometricCurveSet);this.expressID=expressID;this.type=type;this.Elements=Elements;}_createClass(IfcGeometricCurveSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Elements);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Elements=tape[ptr++];return new IfcGeometricCurveSet(expressID,type,Elements);}}]);return IfcGeometricCurveSet;}();var IfcGeometricRepresentationContext=/*#__PURE__*/function(){function IfcGeometricRepresentationContext(expressID,type,ContextIdentifier,ContextType,CoordinateSpaceDimension,Precision,WorldCoordinateSystem,TrueNorth){_classCallCheck(this,IfcGeometricRepresentationContext);this.expressID=expressID;this.type=type;this.ContextIdentifier=ContextIdentifier;this.ContextType=ContextType;this.CoordinateSpaceDimension=CoordinateSpaceDimension;this.Precision=Precision;this.WorldCoordinateSystem=WorldCoordinateSystem;this.TrueNorth=TrueNorth;}_createClass(IfcGeometricRepresentationContext,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextIdentifier);args.push(this.ContextType);args.push(this.CoordinateSpaceDimension);args.push(this.Precision);args.push(this.WorldCoordinateSystem);args.push(this.TrueNorth);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextIdentifier=tape[ptr++];var ContextType=tape[ptr++];var CoordinateSpaceDimension=tape[ptr++];var Precision=tape[ptr++];var WorldCoordinateSystem=tape[ptr++];var TrueNorth=tape[ptr++];return new IfcGeometricRepresentationContext(expressID,type,ContextIdentifier,ContextType,CoordinateSpaceDimension,Precision,WorldCoordinateSystem,TrueNorth);}}]);return IfcGeometricRepresentationContext;}();var IfcGeometricRepresentationItem=/*#__PURE__*/function(){function IfcGeometricRepresentationItem(expressID,type){_classCallCheck(this,IfcGeometricRepresentationItem);this.expressID=expressID;this.type=type;}_createClass(IfcGeometricRepresentationItem,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcGeometricRepresentationItem(expressID,type);}}]);return IfcGeometricRepresentationItem;}();var IfcGeometricRepresentationSubContext=/*#__PURE__*/function(){function IfcGeometricRepresentationSubContext(expressID,type,ContextIdentifier,ContextType,CoordinateSpaceDimension,Precision,WorldCoordinateSystem,TrueNorth,ParentContext,TargetScale,TargetView,UserDefinedTargetView){_classCallCheck(this,IfcGeometricRepresentationSubContext);this.expressID=expressID;this.type=type;this.ContextIdentifier=ContextIdentifier;this.ContextType=ContextType;this.CoordinateSpaceDimension=CoordinateSpaceDimension;this.Precision=Precision;this.WorldCoordinateSystem=WorldCoordinateSystem;this.TrueNorth=TrueNorth;this.ParentContext=ParentContext;this.TargetScale=TargetScale;this.TargetView=TargetView;this.UserDefinedTargetView=UserDefinedTargetView;}_createClass(IfcGeometricRepresentationSubContext,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextIdentifier);args.push(this.ContextType);args.push(this.CoordinateSpaceDimension);args.push(this.Precision);args.push(this.WorldCoordinateSystem);args.push(this.TrueNorth);args.push(this.ParentContext);args.push(this.TargetScale);args.push(this.TargetView);args.push(this.UserDefinedTargetView);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextIdentifier=tape[ptr++];var ContextType=tape[ptr++];var CoordinateSpaceDimension=tape[ptr++];var Precision=tape[ptr++];var WorldCoordinateSystem=tape[ptr++];var TrueNorth=tape[ptr++];var ParentContext=tape[ptr++];var TargetScale=tape[ptr++];var TargetView=tape[ptr++];var UserDefinedTargetView=tape[ptr++];return new IfcGeometricRepresentationSubContext(expressID,type,ContextIdentifier,ContextType,CoordinateSpaceDimension,Precision,WorldCoordinateSystem,TrueNorth,ParentContext,TargetScale,TargetView,UserDefinedTargetView);}}]);return IfcGeometricRepresentationSubContext;}();var IfcGeometricSet=/*#__PURE__*/function(){function IfcGeometricSet(expressID,type,Elements){_classCallCheck(this,IfcGeometricSet);this.expressID=expressID;this.type=type;this.Elements=Elements;}_createClass(IfcGeometricSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Elements);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Elements=tape[ptr++];return new IfcGeometricSet(expressID,type,Elements);}}]);return IfcGeometricSet;}();var IfcGrid=/*#__PURE__*/function(){function IfcGrid(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,UAxes,VAxes,WAxes,PredefinedType){_classCallCheck(this,IfcGrid);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.UAxes=UAxes;this.VAxes=VAxes;this.WAxes=WAxes;this.PredefinedType=PredefinedType;}_createClass(IfcGrid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.UAxes);args.push(this.VAxes);args.push(this.WAxes);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var UAxes=tape[ptr++];var VAxes=tape[ptr++];var WAxes=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcGrid(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,UAxes,VAxes,WAxes,PredefinedType);}}]);return IfcGrid;}();var IfcGridAxis=/*#__PURE__*/function(){function IfcGridAxis(expressID,type,AxisTag,AxisCurve,SameSense){_classCallCheck(this,IfcGridAxis);this.expressID=expressID;this.type=type;this.AxisTag=AxisTag;this.AxisCurve=AxisCurve;this.SameSense=SameSense;}_createClass(IfcGridAxis,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.AxisTag);args.push(this.AxisCurve);args.push(this.SameSense);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var AxisTag=tape[ptr++];var AxisCurve=tape[ptr++];var SameSense=tape[ptr++];return new IfcGridAxis(expressID,type,AxisTag,AxisCurve,SameSense);}}]);return IfcGridAxis;}();var IfcGridPlacement=/*#__PURE__*/function(){function IfcGridPlacement(expressID,type,PlacementRelTo,PlacementLocation,PlacementRefDirection){_classCallCheck(this,IfcGridPlacement);this.expressID=expressID;this.type=type;this.PlacementRelTo=PlacementRelTo;this.PlacementLocation=PlacementLocation;this.PlacementRefDirection=PlacementRefDirection;}_createClass(IfcGridPlacement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.PlacementRelTo);args.push(this.PlacementLocation);args.push(this.PlacementRefDirection);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var PlacementRelTo=tape[ptr++];var PlacementLocation=tape[ptr++];var PlacementRefDirection=tape[ptr++];return new IfcGridPlacement(expressID,type,PlacementRelTo,PlacementLocation,PlacementRefDirection);}}]);return IfcGridPlacement;}();var IfcGroup=/*#__PURE__*/function(){function IfcGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType){_classCallCheck(this,IfcGroup);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;}_createClass(IfcGroup,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];return new IfcGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType);}}]);return IfcGroup;}();var IfcHalfSpaceSolid=/*#__PURE__*/function(){function IfcHalfSpaceSolid(expressID,type,BaseSurface,AgreementFlag){_classCallCheck(this,IfcHalfSpaceSolid);this.expressID=expressID;this.type=type;this.BaseSurface=BaseSurface;this.AgreementFlag=AgreementFlag;}_createClass(IfcHalfSpaceSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BaseSurface);args.push(this.AgreementFlag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BaseSurface=tape[ptr++];var AgreementFlag=tape[ptr++];return new IfcHalfSpaceSolid(expressID,type,BaseSurface,AgreementFlag);}}]);return IfcHalfSpaceSolid;}();var IfcHeatExchanger=/*#__PURE__*/function(){function IfcHeatExchanger(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcHeatExchanger);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcHeatExchanger,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcHeatExchanger(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcHeatExchanger;}();var IfcHeatExchangerType=/*#__PURE__*/function(){function IfcHeatExchangerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcHeatExchangerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcHeatExchangerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcHeatExchangerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcHeatExchangerType;}();var IfcHumidifier=/*#__PURE__*/function(){function IfcHumidifier(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcHumidifier);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcHumidifier,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcHumidifier(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcHumidifier;}();var IfcHumidifierType=/*#__PURE__*/function(){function IfcHumidifierType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcHumidifierType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcHumidifierType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcHumidifierType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcHumidifierType;}();var IfcIShapeProfileDef=/*#__PURE__*/function(){function IfcIShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,OverallWidth,OverallDepth,WebThickness,FlangeThickness,FilletRadius,FlangeEdgeRadius,FlangeSlope){_classCallCheck(this,IfcIShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.OverallWidth=OverallWidth;this.OverallDepth=OverallDepth;this.WebThickness=WebThickness;this.FlangeThickness=FlangeThickness;this.FilletRadius=FilletRadius;this.FlangeEdgeRadius=FlangeEdgeRadius;this.FlangeSlope=FlangeSlope;}_createClass(IfcIShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.OverallWidth);args.push(this.OverallDepth);args.push(this.WebThickness);args.push(this.FlangeThickness);args.push(this.FilletRadius);args.push(this.FlangeEdgeRadius);args.push(this.FlangeSlope);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var OverallWidth=tape[ptr++];var OverallDepth=tape[ptr++];var WebThickness=tape[ptr++];var FlangeThickness=tape[ptr++];var FilletRadius=tape[ptr++];var FlangeEdgeRadius=tape[ptr++];var FlangeSlope=tape[ptr++];return new IfcIShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,OverallWidth,OverallDepth,WebThickness,FlangeThickness,FilletRadius,FlangeEdgeRadius,FlangeSlope);}}]);return IfcIShapeProfileDef;}();var IfcImageTexture=/*#__PURE__*/function(){function IfcImageTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter,URLReference){_classCallCheck(this,IfcImageTexture);this.expressID=expressID;this.type=type;this.RepeatS=RepeatS;this.RepeatT=RepeatT;this.Mode=Mode;this.TextureTransform=TextureTransform;this.Parameter=Parameter;this.URLReference=URLReference;}_createClass(IfcImageTexture,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RepeatS);args.push(this.RepeatT);args.push(this.Mode);args.push(this.TextureTransform);args.push(this.Parameter);args.push(this.URLReference);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RepeatS=tape[ptr++];var RepeatT=tape[ptr++];var Mode=tape[ptr++];var TextureTransform=tape[ptr++];var Parameter=tape[ptr++];var URLReference=tape[ptr++];return new IfcImageTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter,URLReference);}}]);return IfcImageTexture;}();var IfcIndexedColourMap=/*#__PURE__*/function(){function IfcIndexedColourMap(expressID,type,MappedTo,Opacity,Colours,ColourIndex){_classCallCheck(this,IfcIndexedColourMap);this.expressID=expressID;this.type=type;this.MappedTo=MappedTo;this.Opacity=Opacity;this.Colours=Colours;this.ColourIndex=ColourIndex;}_createClass(IfcIndexedColourMap,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.MappedTo);args.push(this.Opacity);args.push(this.Colours);args.push(this.ColourIndex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var MappedTo=tape[ptr++];var Opacity=tape[ptr++];var Colours=tape[ptr++];var ColourIndex=tape[ptr++];return new IfcIndexedColourMap(expressID,type,MappedTo,Opacity,Colours,ColourIndex);}}]);return IfcIndexedColourMap;}();var IfcIndexedPolyCurve=/*#__PURE__*/function(){function IfcIndexedPolyCurve(expressID,type,Points,Segments,SelfIntersect){_classCallCheck(this,IfcIndexedPolyCurve);this.expressID=expressID;this.type=type;this.Points=Points;this.Segments=Segments;this.SelfIntersect=SelfIntersect;}_createClass(IfcIndexedPolyCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Points);args.push(this.Segments);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Points=tape[ptr++];var Segments=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcIndexedPolyCurve(expressID,type,Points,Segments,SelfIntersect);}}]);return IfcIndexedPolyCurve;}();var IfcIndexedPolygonalFace=/*#__PURE__*/function(){function IfcIndexedPolygonalFace(expressID,type,CoordIndex){_classCallCheck(this,IfcIndexedPolygonalFace);this.expressID=expressID;this.type=type;this.CoordIndex=CoordIndex;}_createClass(IfcIndexedPolygonalFace,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CoordIndex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CoordIndex=tape[ptr++];return new IfcIndexedPolygonalFace(expressID,type,CoordIndex);}}]);return IfcIndexedPolygonalFace;}();var IfcIndexedPolygonalFaceWithVoids=/*#__PURE__*/function(){function IfcIndexedPolygonalFaceWithVoids(expressID,type,CoordIndex,InnerCoordIndices){_classCallCheck(this,IfcIndexedPolygonalFaceWithVoids);this.expressID=expressID;this.type=type;this.CoordIndex=CoordIndex;this.InnerCoordIndices=InnerCoordIndices;}_createClass(IfcIndexedPolygonalFaceWithVoids,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CoordIndex);args.push(this.InnerCoordIndices);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CoordIndex=tape[ptr++];var InnerCoordIndices=tape[ptr++];return new IfcIndexedPolygonalFaceWithVoids(expressID,type,CoordIndex,InnerCoordIndices);}}]);return IfcIndexedPolygonalFaceWithVoids;}();var IfcIndexedTextureMap=/*#__PURE__*/function(){function IfcIndexedTextureMap(expressID,type,Maps,MappedTo,TexCoords){_classCallCheck(this,IfcIndexedTextureMap);this.expressID=expressID;this.type=type;this.Maps=Maps;this.MappedTo=MappedTo;this.TexCoords=TexCoords;}_createClass(IfcIndexedTextureMap,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Maps);args.push(this.MappedTo);args.push(this.TexCoords);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Maps=tape[ptr++];var MappedTo=tape[ptr++];var TexCoords=tape[ptr++];return new IfcIndexedTextureMap(expressID,type,Maps,MappedTo,TexCoords);}}]);return IfcIndexedTextureMap;}();var IfcIndexedTriangleTextureMap=/*#__PURE__*/function(){function IfcIndexedTriangleTextureMap(expressID,type,Maps,MappedTo,TexCoords,TexCoordIndex){_classCallCheck(this,IfcIndexedTriangleTextureMap);this.expressID=expressID;this.type=type;this.Maps=Maps;this.MappedTo=MappedTo;this.TexCoords=TexCoords;this.TexCoordIndex=TexCoordIndex;}_createClass(IfcIndexedTriangleTextureMap,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Maps);args.push(this.MappedTo);args.push(this.TexCoords);args.push(this.TexCoordIndex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Maps=tape[ptr++];var MappedTo=tape[ptr++];var TexCoords=tape[ptr++];var TexCoordIndex=tape[ptr++];return new IfcIndexedTriangleTextureMap(expressID,type,Maps,MappedTo,TexCoords,TexCoordIndex);}}]);return IfcIndexedTriangleTextureMap;}();var IfcInterceptor=/*#__PURE__*/function(){function IfcInterceptor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcInterceptor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcInterceptor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcInterceptor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcInterceptor;}();var IfcInterceptorType=/*#__PURE__*/function(){function IfcInterceptorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcInterceptorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcInterceptorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcInterceptorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcInterceptorType;}();var IfcIntersectionCurve=/*#__PURE__*/function(){function IfcIntersectionCurve(expressID,type,Curve3D,AssociatedGeometry,MasterRepresentation){_classCallCheck(this,IfcIntersectionCurve);this.expressID=expressID;this.type=type;this.Curve3D=Curve3D;this.AssociatedGeometry=AssociatedGeometry;this.MasterRepresentation=MasterRepresentation;}_createClass(IfcIntersectionCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Curve3D);args.push(this.AssociatedGeometry);args.push(this.MasterRepresentation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Curve3D=tape[ptr++];var AssociatedGeometry=tape[ptr++];var MasterRepresentation=tape[ptr++];return new IfcIntersectionCurve(expressID,type,Curve3D,AssociatedGeometry,MasterRepresentation);}}]);return IfcIntersectionCurve;}();var IfcInventory=/*#__PURE__*/function(){function IfcInventory(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,Jurisdiction,ResponsiblePersons,LastUpdateDate,CurrentValue,OriginalValue){_classCallCheck(this,IfcInventory);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.PredefinedType=PredefinedType;this.Jurisdiction=Jurisdiction;this.ResponsiblePersons=ResponsiblePersons;this.LastUpdateDate=LastUpdateDate;this.CurrentValue=CurrentValue;this.OriginalValue=OriginalValue;}_createClass(IfcInventory,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.PredefinedType);args.push(this.Jurisdiction);args.push(this.ResponsiblePersons);args.push(this.LastUpdateDate);args.push(this.CurrentValue);args.push(this.OriginalValue);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var PredefinedType=tape[ptr++];var Jurisdiction=tape[ptr++];var ResponsiblePersons=tape[ptr++];var LastUpdateDate=tape[ptr++];var CurrentValue=tape[ptr++];var OriginalValue=tape[ptr++];return new IfcInventory(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,Jurisdiction,ResponsiblePersons,LastUpdateDate,CurrentValue,OriginalValue);}}]);return IfcInventory;}();var IfcIrregularTimeSeries=/*#__PURE__*/function(){function IfcIrregularTimeSeries(expressID,type,Name,Description,StartTime,EndTime,TimeSeriesDataType,DataOrigin,UserDefinedDataOrigin,Unit,Values){_classCallCheck(this,IfcIrregularTimeSeries);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.StartTime=StartTime;this.EndTime=EndTime;this.TimeSeriesDataType=TimeSeriesDataType;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.Unit=Unit;this.Values=Values;}_createClass(IfcIrregularTimeSeries,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.StartTime);args.push(this.EndTime);args.push(this.TimeSeriesDataType);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.Unit);args.push(this.Values);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var StartTime=tape[ptr++];var EndTime=tape[ptr++];var TimeSeriesDataType=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var Unit=tape[ptr++];var Values=tape[ptr++];return new IfcIrregularTimeSeries(expressID,type,Name,Description,StartTime,EndTime,TimeSeriesDataType,DataOrigin,UserDefinedDataOrigin,Unit,Values);}}]);return IfcIrregularTimeSeries;}();var IfcIrregularTimeSeriesValue=/*#__PURE__*/function(){function IfcIrregularTimeSeriesValue(expressID,type,TimeStamp,ListValues){_classCallCheck(this,IfcIrregularTimeSeriesValue);this.expressID=expressID;this.type=type;this.TimeStamp=TimeStamp;this.ListValues=ListValues;}_createClass(IfcIrregularTimeSeriesValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TimeStamp);args.push(this.ListValues);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TimeStamp=tape[ptr++];var ListValues=tape[ptr++];return new IfcIrregularTimeSeriesValue(expressID,type,TimeStamp,ListValues);}}]);return IfcIrregularTimeSeriesValue;}();var IfcJunctionBox=/*#__PURE__*/function(){function IfcJunctionBox(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcJunctionBox);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcJunctionBox,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcJunctionBox(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcJunctionBox;}();var IfcJunctionBoxType=/*#__PURE__*/function(){function IfcJunctionBoxType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcJunctionBoxType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcJunctionBoxType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcJunctionBoxType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcJunctionBoxType;}();var IfcLShapeProfileDef=/*#__PURE__*/function(){function IfcLShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,Width,Thickness,FilletRadius,EdgeRadius,LegSlope){_classCallCheck(this,IfcLShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Depth=Depth;this.Width=Width;this.Thickness=Thickness;this.FilletRadius=FilletRadius;this.EdgeRadius=EdgeRadius;this.LegSlope=LegSlope;}_createClass(IfcLShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Depth);args.push(this.Width);args.push(this.Thickness);args.push(this.FilletRadius);args.push(this.EdgeRadius);args.push(this.LegSlope);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Depth=tape[ptr++];var Width=tape[ptr++];var Thickness=tape[ptr++];var FilletRadius=tape[ptr++];var EdgeRadius=tape[ptr++];var LegSlope=tape[ptr++];return new IfcLShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,Width,Thickness,FilletRadius,EdgeRadius,LegSlope);}}]);return IfcLShapeProfileDef;}();var IfcLaborResource=/*#__PURE__*/function(){function IfcLaborResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcLaborResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcLaborResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcLaborResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcLaborResource;}();var IfcLaborResourceType=/*#__PURE__*/function(){function IfcLaborResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcLaborResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcLaborResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcLaborResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcLaborResourceType;}();var IfcLagTime=/*#__PURE__*/function(){function IfcLagTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,LagValue,DurationType){_classCallCheck(this,IfcLagTime);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.LagValue=LagValue;this.DurationType=DurationType;}_createClass(IfcLagTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.LagValue);args.push(this.DurationType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var LagValue=tape[ptr++];var DurationType=tape[ptr++];return new IfcLagTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,LagValue,DurationType);}}]);return IfcLagTime;}();var IfcLamp=/*#__PURE__*/function(){function IfcLamp(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcLamp);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcLamp,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcLamp(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcLamp;}();var IfcLampType=/*#__PURE__*/function(){function IfcLampType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcLampType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcLampType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcLampType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcLampType;}();var IfcLibraryInformation=/*#__PURE__*/function(){function IfcLibraryInformation(expressID,type,Name,Version,Publisher,VersionDate,Location,Description){_classCallCheck(this,IfcLibraryInformation);this.expressID=expressID;this.type=type;this.Name=Name;this.Version=Version;this.Publisher=Publisher;this.VersionDate=VersionDate;this.Location=Location;this.Description=Description;}_createClass(IfcLibraryInformation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Version);args.push(this.Publisher);args.push(this.VersionDate);args.push(this.Location);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Version=tape[ptr++];var Publisher=tape[ptr++];var VersionDate=tape[ptr++];var Location=tape[ptr++];var Description=tape[ptr++];return new IfcLibraryInformation(expressID,type,Name,Version,Publisher,VersionDate,Location,Description);}}]);return IfcLibraryInformation;}();var IfcLibraryReference=/*#__PURE__*/function(){function IfcLibraryReference(expressID,type,Location,Identification,Name,Description,Language,ReferencedLibrary){_classCallCheck(this,IfcLibraryReference);this.expressID=expressID;this.type=type;this.Location=Location;this.Identification=Identification;this.Name=Name;this.Description=Description;this.Language=Language;this.ReferencedLibrary=ReferencedLibrary;}_createClass(IfcLibraryReference,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);args.push(this.Identification);args.push(this.Name);args.push(this.Description);args.push(this.Language);args.push(this.ReferencedLibrary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];var Identification=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Language=tape[ptr++];var ReferencedLibrary=tape[ptr++];return new IfcLibraryReference(expressID,type,Location,Identification,Name,Description,Language,ReferencedLibrary);}}]);return IfcLibraryReference;}();var IfcLightDistributionData=/*#__PURE__*/function(){function IfcLightDistributionData(expressID,type,MainPlaneAngle,SecondaryPlaneAngle,LuminousIntensity){_classCallCheck(this,IfcLightDistributionData);this.expressID=expressID;this.type=type;this.MainPlaneAngle=MainPlaneAngle;this.SecondaryPlaneAngle=SecondaryPlaneAngle;this.LuminousIntensity=LuminousIntensity;}_createClass(IfcLightDistributionData,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.MainPlaneAngle);args.push(this.SecondaryPlaneAngle);args.push(this.LuminousIntensity);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var MainPlaneAngle=tape[ptr++];var SecondaryPlaneAngle=tape[ptr++];var LuminousIntensity=tape[ptr++];return new IfcLightDistributionData(expressID,type,MainPlaneAngle,SecondaryPlaneAngle,LuminousIntensity);}}]);return IfcLightDistributionData;}();var IfcLightFixture=/*#__PURE__*/function(){function IfcLightFixture(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcLightFixture);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcLightFixture,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcLightFixture(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcLightFixture;}();var IfcLightFixtureType=/*#__PURE__*/function(){function IfcLightFixtureType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcLightFixtureType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcLightFixtureType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcLightFixtureType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcLightFixtureType;}();var IfcLightIntensityDistribution=/*#__PURE__*/function(){function IfcLightIntensityDistribution(expressID,type,LightDistributionCurve,DistributionData){_classCallCheck(this,IfcLightIntensityDistribution);this.expressID=expressID;this.type=type;this.LightDistributionCurve=LightDistributionCurve;this.DistributionData=DistributionData;}_createClass(IfcLightIntensityDistribution,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.LightDistributionCurve);args.push(this.DistributionData);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var LightDistributionCurve=tape[ptr++];var DistributionData=tape[ptr++];return new IfcLightIntensityDistribution(expressID,type,LightDistributionCurve,DistributionData);}}]);return IfcLightIntensityDistribution;}();var IfcLightSource=/*#__PURE__*/function(){function IfcLightSource(expressID,type,Name,LightColour,AmbientIntensity,Intensity){_classCallCheck(this,IfcLightSource);this.expressID=expressID;this.type=type;this.Name=Name;this.LightColour=LightColour;this.AmbientIntensity=AmbientIntensity;this.Intensity=Intensity;}_createClass(IfcLightSource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LightColour);args.push(this.AmbientIntensity);args.push(this.Intensity);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LightColour=tape[ptr++];var AmbientIntensity=tape[ptr++];var Intensity=tape[ptr++];return new IfcLightSource(expressID,type,Name,LightColour,AmbientIntensity,Intensity);}}]);return IfcLightSource;}();var IfcLightSourceAmbient=/*#__PURE__*/function(){function IfcLightSourceAmbient(expressID,type,Name,LightColour,AmbientIntensity,Intensity){_classCallCheck(this,IfcLightSourceAmbient);this.expressID=expressID;this.type=type;this.Name=Name;this.LightColour=LightColour;this.AmbientIntensity=AmbientIntensity;this.Intensity=Intensity;}_createClass(IfcLightSourceAmbient,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LightColour);args.push(this.AmbientIntensity);args.push(this.Intensity);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LightColour=tape[ptr++];var AmbientIntensity=tape[ptr++];var Intensity=tape[ptr++];return new IfcLightSourceAmbient(expressID,type,Name,LightColour,AmbientIntensity,Intensity);}}]);return IfcLightSourceAmbient;}();var IfcLightSourceDirectional=/*#__PURE__*/function(){function IfcLightSourceDirectional(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Orientation){_classCallCheck(this,IfcLightSourceDirectional);this.expressID=expressID;this.type=type;this.Name=Name;this.LightColour=LightColour;this.AmbientIntensity=AmbientIntensity;this.Intensity=Intensity;this.Orientation=Orientation;}_createClass(IfcLightSourceDirectional,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LightColour);args.push(this.AmbientIntensity);args.push(this.Intensity);args.push(this.Orientation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LightColour=tape[ptr++];var AmbientIntensity=tape[ptr++];var Intensity=tape[ptr++];var Orientation=tape[ptr++];return new IfcLightSourceDirectional(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Orientation);}}]);return IfcLightSourceDirectional;}();var IfcLightSourceGoniometric=/*#__PURE__*/function(){function IfcLightSourceGoniometric(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Position,ColourAppearance,ColourTemperature,LuminousFlux,LightEmissionSource,LightDistributionDataSource){_classCallCheck(this,IfcLightSourceGoniometric);this.expressID=expressID;this.type=type;this.Name=Name;this.LightColour=LightColour;this.AmbientIntensity=AmbientIntensity;this.Intensity=Intensity;this.Position=Position;this.ColourAppearance=ColourAppearance;this.ColourTemperature=ColourTemperature;this.LuminousFlux=LuminousFlux;this.LightEmissionSource=LightEmissionSource;this.LightDistributionDataSource=LightDistributionDataSource;}_createClass(IfcLightSourceGoniometric,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LightColour);args.push(this.AmbientIntensity);args.push(this.Intensity);args.push(this.Position);args.push(this.ColourAppearance);args.push(this.ColourTemperature);args.push(this.LuminousFlux);args.push(this.LightEmissionSource);args.push(this.LightDistributionDataSource);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LightColour=tape[ptr++];var AmbientIntensity=tape[ptr++];var Intensity=tape[ptr++];var Position=tape[ptr++];var ColourAppearance=tape[ptr++];var ColourTemperature=tape[ptr++];var LuminousFlux=tape[ptr++];var LightEmissionSource=tape[ptr++];var LightDistributionDataSource=tape[ptr++];return new IfcLightSourceGoniometric(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Position,ColourAppearance,ColourTemperature,LuminousFlux,LightEmissionSource,LightDistributionDataSource);}}]);return IfcLightSourceGoniometric;}();var IfcLightSourcePositional=/*#__PURE__*/function(){function IfcLightSourcePositional(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Position,Radius,ConstantAttenuation,DistanceAttenuation,QuadricAttenuation){_classCallCheck(this,IfcLightSourcePositional);this.expressID=expressID;this.type=type;this.Name=Name;this.LightColour=LightColour;this.AmbientIntensity=AmbientIntensity;this.Intensity=Intensity;this.Position=Position;this.Radius=Radius;this.ConstantAttenuation=ConstantAttenuation;this.DistanceAttenuation=DistanceAttenuation;this.QuadricAttenuation=QuadricAttenuation;}_createClass(IfcLightSourcePositional,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LightColour);args.push(this.AmbientIntensity);args.push(this.Intensity);args.push(this.Position);args.push(this.Radius);args.push(this.ConstantAttenuation);args.push(this.DistanceAttenuation);args.push(this.QuadricAttenuation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LightColour=tape[ptr++];var AmbientIntensity=tape[ptr++];var Intensity=tape[ptr++];var Position=tape[ptr++];var Radius=tape[ptr++];var ConstantAttenuation=tape[ptr++];var DistanceAttenuation=tape[ptr++];var QuadricAttenuation=tape[ptr++];return new IfcLightSourcePositional(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Position,Radius,ConstantAttenuation,DistanceAttenuation,QuadricAttenuation);}}]);return IfcLightSourcePositional;}();var IfcLightSourceSpot=/*#__PURE__*/function(){function IfcLightSourceSpot(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Position,Radius,ConstantAttenuation,DistanceAttenuation,QuadricAttenuation,Orientation,ConcentrationExponent,SpreadAngle,BeamWidthAngle){_classCallCheck(this,IfcLightSourceSpot);this.expressID=expressID;this.type=type;this.Name=Name;this.LightColour=LightColour;this.AmbientIntensity=AmbientIntensity;this.Intensity=Intensity;this.Position=Position;this.Radius=Radius;this.ConstantAttenuation=ConstantAttenuation;this.DistanceAttenuation=DistanceAttenuation;this.QuadricAttenuation=QuadricAttenuation;this.Orientation=Orientation;this.ConcentrationExponent=ConcentrationExponent;this.SpreadAngle=SpreadAngle;this.BeamWidthAngle=BeamWidthAngle;}_createClass(IfcLightSourceSpot,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LightColour);args.push(this.AmbientIntensity);args.push(this.Intensity);args.push(this.Position);args.push(this.Radius);args.push(this.ConstantAttenuation);args.push(this.DistanceAttenuation);args.push(this.QuadricAttenuation);args.push(this.Orientation);args.push(this.ConcentrationExponent);args.push(this.SpreadAngle);args.push(this.BeamWidthAngle);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LightColour=tape[ptr++];var AmbientIntensity=tape[ptr++];var Intensity=tape[ptr++];var Position=tape[ptr++];var Radius=tape[ptr++];var ConstantAttenuation=tape[ptr++];var DistanceAttenuation=tape[ptr++];var QuadricAttenuation=tape[ptr++];var Orientation=tape[ptr++];var ConcentrationExponent=tape[ptr++];var SpreadAngle=tape[ptr++];var BeamWidthAngle=tape[ptr++];return new IfcLightSourceSpot(expressID,type,Name,LightColour,AmbientIntensity,Intensity,Position,Radius,ConstantAttenuation,DistanceAttenuation,QuadricAttenuation,Orientation,ConcentrationExponent,SpreadAngle,BeamWidthAngle);}}]);return IfcLightSourceSpot;}();var IfcLine=/*#__PURE__*/function(){function IfcLine(expressID,type,Pnt,Dir){_classCallCheck(this,IfcLine);this.expressID=expressID;this.type=type;this.Pnt=Pnt;this.Dir=Dir;}_createClass(IfcLine,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Pnt);args.push(this.Dir);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Pnt=tape[ptr++];var Dir=tape[ptr++];return new IfcLine(expressID,type,Pnt,Dir);}}]);return IfcLine;}();var IfcLineSegment2D=/*#__PURE__*/function(){function IfcLineSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength){_classCallCheck(this,IfcLineSegment2D);this.expressID=expressID;this.type=type;this.StartPoint=StartPoint;this.StartDirection=StartDirection;this.SegmentLength=SegmentLength;}_createClass(IfcLineSegment2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.StartPoint);args.push(this.StartDirection);args.push(this.SegmentLength);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var StartPoint=tape[ptr++];var StartDirection=tape[ptr++];var SegmentLength=tape[ptr++];return new IfcLineSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength);}}]);return IfcLineSegment2D;}();var IfcLinearPlacement=/*#__PURE__*/function(){function IfcLinearPlacement(expressID,type,PlacementRelTo,PlacementMeasuredAlong,Distance,Orientation,CartesianPosition){_classCallCheck(this,IfcLinearPlacement);this.expressID=expressID;this.type=type;this.PlacementRelTo=PlacementRelTo;this.PlacementMeasuredAlong=PlacementMeasuredAlong;this.Distance=Distance;this.Orientation=Orientation;this.CartesianPosition=CartesianPosition;}_createClass(IfcLinearPlacement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.PlacementRelTo);args.push(this.PlacementMeasuredAlong);args.push(this.Distance);args.push(this.Orientation);args.push(this.CartesianPosition);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var PlacementRelTo=tape[ptr++];var PlacementMeasuredAlong=tape[ptr++];var Distance=tape[ptr++];var Orientation=tape[ptr++];var CartesianPosition=tape[ptr++];return new IfcLinearPlacement(expressID,type,PlacementRelTo,PlacementMeasuredAlong,Distance,Orientation,CartesianPosition);}}]);return IfcLinearPlacement;}();var IfcLinearPositioningElement=/*#__PURE__*/function(){function IfcLinearPositioningElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Axis){_classCallCheck(this,IfcLinearPositioningElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Axis=Axis;}_createClass(IfcLinearPositioningElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Axis);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Axis=tape[ptr++];return new IfcLinearPositioningElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Axis);}}]);return IfcLinearPositioningElement;}();var IfcLocalPlacement=/*#__PURE__*/function(){function IfcLocalPlacement(expressID,type,PlacementRelTo,RelativePlacement){_classCallCheck(this,IfcLocalPlacement);this.expressID=expressID;this.type=type;this.PlacementRelTo=PlacementRelTo;this.RelativePlacement=RelativePlacement;}_createClass(IfcLocalPlacement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.PlacementRelTo);args.push(this.RelativePlacement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var PlacementRelTo=tape[ptr++];var RelativePlacement=tape[ptr++];return new IfcLocalPlacement(expressID,type,PlacementRelTo,RelativePlacement);}}]);return IfcLocalPlacement;}();var IfcLoop=/*#__PURE__*/function(){function IfcLoop(expressID,type){_classCallCheck(this,IfcLoop);this.expressID=expressID;this.type=type;}_createClass(IfcLoop,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcLoop(expressID,type);}}]);return IfcLoop;}();var IfcManifoldSolidBrep=/*#__PURE__*/function(){function IfcManifoldSolidBrep(expressID,type,Outer){_classCallCheck(this,IfcManifoldSolidBrep);this.expressID=expressID;this.type=type;this.Outer=Outer;}_createClass(IfcManifoldSolidBrep,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Outer);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Outer=tape[ptr++];return new IfcManifoldSolidBrep(expressID,type,Outer);}}]);return IfcManifoldSolidBrep;}();var IfcMapConversion=/*#__PURE__*/function(){function IfcMapConversion(expressID,type,SourceCRS,TargetCRS,Eastings,Northings,OrthogonalHeight,XAxisAbscissa,XAxisOrdinate,Scale){_classCallCheck(this,IfcMapConversion);this.expressID=expressID;this.type=type;this.SourceCRS=SourceCRS;this.TargetCRS=TargetCRS;this.Eastings=Eastings;this.Northings=Northings;this.OrthogonalHeight=OrthogonalHeight;this.XAxisAbscissa=XAxisAbscissa;this.XAxisOrdinate=XAxisOrdinate;this.Scale=Scale;}_createClass(IfcMapConversion,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SourceCRS);args.push(this.TargetCRS);args.push(this.Eastings);args.push(this.Northings);args.push(this.OrthogonalHeight);args.push(this.XAxisAbscissa);args.push(this.XAxisOrdinate);args.push(this.Scale);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SourceCRS=tape[ptr++];var TargetCRS=tape[ptr++];var Eastings=tape[ptr++];var Northings=tape[ptr++];var OrthogonalHeight=tape[ptr++];var XAxisAbscissa=tape[ptr++];var XAxisOrdinate=tape[ptr++];var Scale=tape[ptr++];return new IfcMapConversion(expressID,type,SourceCRS,TargetCRS,Eastings,Northings,OrthogonalHeight,XAxisAbscissa,XAxisOrdinate,Scale);}}]);return IfcMapConversion;}();var IfcMappedItem=/*#__PURE__*/function(){function IfcMappedItem(expressID,type,MappingSource,MappingTarget){_classCallCheck(this,IfcMappedItem);this.expressID=expressID;this.type=type;this.MappingSource=MappingSource;this.MappingTarget=MappingTarget;}_createClass(IfcMappedItem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.MappingSource);args.push(this.MappingTarget);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var MappingSource=tape[ptr++];var MappingTarget=tape[ptr++];return new IfcMappedItem(expressID,type,MappingSource,MappingTarget);}}]);return IfcMappedItem;}();var IfcMaterial=/*#__PURE__*/function(){function IfcMaterial(expressID,type,Name,Description,Category){_classCallCheck(this,IfcMaterial);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Category=Category;}_createClass(IfcMaterial,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Category);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Category=tape[ptr++];return new IfcMaterial(expressID,type,Name,Description,Category);}}]);return IfcMaterial;}();var IfcMaterialClassificationRelationship=/*#__PURE__*/function(){function IfcMaterialClassificationRelationship(expressID,type,MaterialClassifications,ClassifiedMaterial){_classCallCheck(this,IfcMaterialClassificationRelationship);this.expressID=expressID;this.type=type;this.MaterialClassifications=MaterialClassifications;this.ClassifiedMaterial=ClassifiedMaterial;}_createClass(IfcMaterialClassificationRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.MaterialClassifications);args.push(this.ClassifiedMaterial);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var MaterialClassifications=tape[ptr++];var ClassifiedMaterial=tape[ptr++];return new IfcMaterialClassificationRelationship(expressID,type,MaterialClassifications,ClassifiedMaterial);}}]);return IfcMaterialClassificationRelationship;}();var IfcMaterialConstituent=/*#__PURE__*/function(){function IfcMaterialConstituent(expressID,type,Name,Description,Material,Fraction,Category){_classCallCheck(this,IfcMaterialConstituent);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Material=Material;this.Fraction=Fraction;this.Category=Category;}_createClass(IfcMaterialConstituent,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Material);args.push(this.Fraction);args.push(this.Category);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Material=tape[ptr++];var Fraction=tape[ptr++];var Category=tape[ptr++];return new IfcMaterialConstituent(expressID,type,Name,Description,Material,Fraction,Category);}}]);return IfcMaterialConstituent;}();var IfcMaterialConstituentSet=/*#__PURE__*/function(){function IfcMaterialConstituentSet(expressID,type,Name,Description,MaterialConstituents){_classCallCheck(this,IfcMaterialConstituentSet);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.MaterialConstituents=MaterialConstituents;}_createClass(IfcMaterialConstituentSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.MaterialConstituents);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var MaterialConstituents=tape[ptr++];return new IfcMaterialConstituentSet(expressID,type,Name,Description,MaterialConstituents);}}]);return IfcMaterialConstituentSet;}();var IfcMaterialDefinition=/*#__PURE__*/function(){function IfcMaterialDefinition(expressID,type){_classCallCheck(this,IfcMaterialDefinition);this.expressID=expressID;this.type=type;}_createClass(IfcMaterialDefinition,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcMaterialDefinition(expressID,type);}}]);return IfcMaterialDefinition;}();var IfcMaterialDefinitionRepresentation=/*#__PURE__*/function(){function IfcMaterialDefinitionRepresentation(expressID,type,Name,Description,Representations,RepresentedMaterial){_classCallCheck(this,IfcMaterialDefinitionRepresentation);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Representations=Representations;this.RepresentedMaterial=RepresentedMaterial;}_createClass(IfcMaterialDefinitionRepresentation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Representations);args.push(this.RepresentedMaterial);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Representations=tape[ptr++];var RepresentedMaterial=tape[ptr++];return new IfcMaterialDefinitionRepresentation(expressID,type,Name,Description,Representations,RepresentedMaterial);}}]);return IfcMaterialDefinitionRepresentation;}();var IfcMaterialLayer=/*#__PURE__*/function(){function IfcMaterialLayer(expressID,type,Material,LayerThickness,IsVentilated,Name,Description,Category,Priority){_classCallCheck(this,IfcMaterialLayer);this.expressID=expressID;this.type=type;this.Material=Material;this.LayerThickness=LayerThickness;this.IsVentilated=IsVentilated;this.Name=Name;this.Description=Description;this.Category=Category;this.Priority=Priority;}_createClass(IfcMaterialLayer,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Material);args.push(this.LayerThickness);args.push(this.IsVentilated);args.push(this.Name);args.push(this.Description);args.push(this.Category);args.push(this.Priority);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Material=tape[ptr++];var LayerThickness=tape[ptr++];var IsVentilated=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Category=tape[ptr++];var Priority=tape[ptr++];return new IfcMaterialLayer(expressID,type,Material,LayerThickness,IsVentilated,Name,Description,Category,Priority);}}]);return IfcMaterialLayer;}();var IfcMaterialLayerSet=/*#__PURE__*/function(){function IfcMaterialLayerSet(expressID,type,MaterialLayers,LayerSetName,Description){_classCallCheck(this,IfcMaterialLayerSet);this.expressID=expressID;this.type=type;this.MaterialLayers=MaterialLayers;this.LayerSetName=LayerSetName;this.Description=Description;}_createClass(IfcMaterialLayerSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.MaterialLayers);args.push(this.LayerSetName);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var MaterialLayers=tape[ptr++];var LayerSetName=tape[ptr++];var Description=tape[ptr++];return new IfcMaterialLayerSet(expressID,type,MaterialLayers,LayerSetName,Description);}}]);return IfcMaterialLayerSet;}();var IfcMaterialLayerSetUsage=/*#__PURE__*/function(){function IfcMaterialLayerSetUsage(expressID,type,ForLayerSet,LayerSetDirection,DirectionSense,OffsetFromReferenceLine,ReferenceExtent){_classCallCheck(this,IfcMaterialLayerSetUsage);this.expressID=expressID;this.type=type;this.ForLayerSet=ForLayerSet;this.LayerSetDirection=LayerSetDirection;this.DirectionSense=DirectionSense;this.OffsetFromReferenceLine=OffsetFromReferenceLine;this.ReferenceExtent=ReferenceExtent;}_createClass(IfcMaterialLayerSetUsage,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ForLayerSet);args.push(this.LayerSetDirection);args.push(this.DirectionSense);args.push(this.OffsetFromReferenceLine);args.push(this.ReferenceExtent);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ForLayerSet=tape[ptr++];var LayerSetDirection=tape[ptr++];var DirectionSense=tape[ptr++];var OffsetFromReferenceLine=tape[ptr++];var ReferenceExtent=tape[ptr++];return new IfcMaterialLayerSetUsage(expressID,type,ForLayerSet,LayerSetDirection,DirectionSense,OffsetFromReferenceLine,ReferenceExtent);}}]);return IfcMaterialLayerSetUsage;}();var IfcMaterialLayerWithOffsets=/*#__PURE__*/function(){function IfcMaterialLayerWithOffsets(expressID,type,Material,LayerThickness,IsVentilated,Name,Description,Category,Priority,OffsetDirection,OffsetValues){_classCallCheck(this,IfcMaterialLayerWithOffsets);this.expressID=expressID;this.type=type;this.Material=Material;this.LayerThickness=LayerThickness;this.IsVentilated=IsVentilated;this.Name=Name;this.Description=Description;this.Category=Category;this.Priority=Priority;this.OffsetDirection=OffsetDirection;this.OffsetValues=OffsetValues;}_createClass(IfcMaterialLayerWithOffsets,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Material);args.push(this.LayerThickness);args.push(this.IsVentilated);args.push(this.Name);args.push(this.Description);args.push(this.Category);args.push(this.Priority);args.push(this.OffsetDirection);args.push(this.OffsetValues);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Material=tape[ptr++];var LayerThickness=tape[ptr++];var IsVentilated=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Category=tape[ptr++];var Priority=tape[ptr++];var OffsetDirection=tape[ptr++];var OffsetValues=tape[ptr++];return new IfcMaterialLayerWithOffsets(expressID,type,Material,LayerThickness,IsVentilated,Name,Description,Category,Priority,OffsetDirection,OffsetValues);}}]);return IfcMaterialLayerWithOffsets;}();var IfcMaterialList=/*#__PURE__*/function(){function IfcMaterialList(expressID,type,Materials){_classCallCheck(this,IfcMaterialList);this.expressID=expressID;this.type=type;this.Materials=Materials;}_createClass(IfcMaterialList,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Materials);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Materials=tape[ptr++];return new IfcMaterialList(expressID,type,Materials);}}]);return IfcMaterialList;}();var IfcMaterialProfile=/*#__PURE__*/function(){function IfcMaterialProfile(expressID,type,Name,Description,Material,Profile,Priority,Category){_classCallCheck(this,IfcMaterialProfile);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Material=Material;this.Profile=Profile;this.Priority=Priority;this.Category=Category;}_createClass(IfcMaterialProfile,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Material);args.push(this.Profile);args.push(this.Priority);args.push(this.Category);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Material=tape[ptr++];var Profile=tape[ptr++];var Priority=tape[ptr++];var Category=tape[ptr++];return new IfcMaterialProfile(expressID,type,Name,Description,Material,Profile,Priority,Category);}}]);return IfcMaterialProfile;}();var IfcMaterialProfileSet=/*#__PURE__*/function(){function IfcMaterialProfileSet(expressID,type,Name,Description,MaterialProfiles,CompositeProfile){_classCallCheck(this,IfcMaterialProfileSet);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.MaterialProfiles=MaterialProfiles;this.CompositeProfile=CompositeProfile;}_createClass(IfcMaterialProfileSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.MaterialProfiles);args.push(this.CompositeProfile);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var MaterialProfiles=tape[ptr++];var CompositeProfile=tape[ptr++];return new IfcMaterialProfileSet(expressID,type,Name,Description,MaterialProfiles,CompositeProfile);}}]);return IfcMaterialProfileSet;}();var IfcMaterialProfileSetUsage=/*#__PURE__*/function(){function IfcMaterialProfileSetUsage(expressID,type,ForProfileSet,CardinalPoint,ReferenceExtent){_classCallCheck(this,IfcMaterialProfileSetUsage);this.expressID=expressID;this.type=type;this.ForProfileSet=ForProfileSet;this.CardinalPoint=CardinalPoint;this.ReferenceExtent=ReferenceExtent;}_createClass(IfcMaterialProfileSetUsage,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ForProfileSet);args.push(this.CardinalPoint);args.push(this.ReferenceExtent);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ForProfileSet=tape[ptr++];var CardinalPoint=tape[ptr++];var ReferenceExtent=tape[ptr++];return new IfcMaterialProfileSetUsage(expressID,type,ForProfileSet,CardinalPoint,ReferenceExtent);}}]);return IfcMaterialProfileSetUsage;}();var IfcMaterialProfileSetUsageTapering=/*#__PURE__*/function(){function IfcMaterialProfileSetUsageTapering(expressID,type,ForProfileSet,CardinalPoint,ReferenceExtent,ForProfileEndSet,CardinalEndPoint){_classCallCheck(this,IfcMaterialProfileSetUsageTapering);this.expressID=expressID;this.type=type;this.ForProfileSet=ForProfileSet;this.CardinalPoint=CardinalPoint;this.ReferenceExtent=ReferenceExtent;this.ForProfileEndSet=ForProfileEndSet;this.CardinalEndPoint=CardinalEndPoint;}_createClass(IfcMaterialProfileSetUsageTapering,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ForProfileSet);args.push(this.CardinalPoint);args.push(this.ReferenceExtent);args.push(this.ForProfileEndSet);args.push(this.CardinalEndPoint);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ForProfileSet=tape[ptr++];var CardinalPoint=tape[ptr++];var ReferenceExtent=tape[ptr++];var ForProfileEndSet=tape[ptr++];var CardinalEndPoint=tape[ptr++];return new IfcMaterialProfileSetUsageTapering(expressID,type,ForProfileSet,CardinalPoint,ReferenceExtent,ForProfileEndSet,CardinalEndPoint);}}]);return IfcMaterialProfileSetUsageTapering;}();var IfcMaterialProfileWithOffsets=/*#__PURE__*/function(){function IfcMaterialProfileWithOffsets(expressID,type,Name,Description,Material,Profile,Priority,Category,OffsetValues){_classCallCheck(this,IfcMaterialProfileWithOffsets);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Material=Material;this.Profile=Profile;this.Priority=Priority;this.Category=Category;this.OffsetValues=OffsetValues;}_createClass(IfcMaterialProfileWithOffsets,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Material);args.push(this.Profile);args.push(this.Priority);args.push(this.Category);args.push(this.OffsetValues);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Material=tape[ptr++];var Profile=tape[ptr++];var Priority=tape[ptr++];var Category=tape[ptr++];var OffsetValues=tape[ptr++];return new IfcMaterialProfileWithOffsets(expressID,type,Name,Description,Material,Profile,Priority,Category,OffsetValues);}}]);return IfcMaterialProfileWithOffsets;}();var IfcMaterialProperties=/*#__PURE__*/function(){function IfcMaterialProperties(expressID,type,Name,Description,Properties2,Material){_classCallCheck(this,IfcMaterialProperties);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Properties=Properties2;this.Material=Material;}_createClass(IfcMaterialProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Properties);args.push(this.Material);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Properties2=tape[ptr++];var Material=tape[ptr++];return new IfcMaterialProperties(expressID,type,Name,Description,Properties2,Material);}}]);return IfcMaterialProperties;}();var IfcMaterialRelationship=/*#__PURE__*/function(){function IfcMaterialRelationship(expressID,type,Name,Description,RelatingMaterial,RelatedMaterials,Expression){_classCallCheck(this,IfcMaterialRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingMaterial=RelatingMaterial;this.RelatedMaterials=RelatedMaterials;this.Expression=Expression;}_createClass(IfcMaterialRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingMaterial);args.push(this.RelatedMaterials);args.push(this.Expression);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingMaterial=tape[ptr++];var RelatedMaterials=tape[ptr++];var Expression=tape[ptr++];return new IfcMaterialRelationship(expressID,type,Name,Description,RelatingMaterial,RelatedMaterials,Expression);}}]);return IfcMaterialRelationship;}();var IfcMaterialUsageDefinition=/*#__PURE__*/function(){function IfcMaterialUsageDefinition(expressID,type){_classCallCheck(this,IfcMaterialUsageDefinition);this.expressID=expressID;this.type=type;}_createClass(IfcMaterialUsageDefinition,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcMaterialUsageDefinition(expressID,type);}}]);return IfcMaterialUsageDefinition;}();var IfcMeasureWithUnit=/*#__PURE__*/function(){function IfcMeasureWithUnit(expressID,type,ValueComponent,UnitComponent){_classCallCheck(this,IfcMeasureWithUnit);this.expressID=expressID;this.type=type;this.ValueComponent=ValueComponent;this.UnitComponent=UnitComponent;}_createClass(IfcMeasureWithUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ValueComponent);args.push(this.UnitComponent);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ValueComponent=tape[ptr++];var UnitComponent=tape[ptr++];return new IfcMeasureWithUnit(expressID,type,ValueComponent,UnitComponent);}}]);return IfcMeasureWithUnit;}();var IfcMechanicalFastener=/*#__PURE__*/function(){function IfcMechanicalFastener(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,NominalDiameter,NominalLength,PredefinedType){_classCallCheck(this,IfcMechanicalFastener);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.NominalDiameter=NominalDiameter;this.NominalLength=NominalLength;this.PredefinedType=PredefinedType;}_createClass(IfcMechanicalFastener,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.NominalDiameter);args.push(this.NominalLength);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var NominalDiameter=tape[ptr++];var NominalLength=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMechanicalFastener(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,NominalDiameter,NominalLength,PredefinedType);}}]);return IfcMechanicalFastener;}();var IfcMechanicalFastenerType=/*#__PURE__*/function(){function IfcMechanicalFastenerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,NominalDiameter,NominalLength){_classCallCheck(this,IfcMechanicalFastenerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.NominalDiameter=NominalDiameter;this.NominalLength=NominalLength;}_createClass(IfcMechanicalFastenerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.NominalDiameter);args.push(this.NominalLength);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var NominalDiameter=tape[ptr++];var NominalLength=tape[ptr++];return new IfcMechanicalFastenerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,NominalDiameter,NominalLength);}}]);return IfcMechanicalFastenerType;}();var IfcMedicalDevice=/*#__PURE__*/function(){function IfcMedicalDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcMedicalDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcMedicalDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMedicalDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcMedicalDevice;}();var IfcMedicalDeviceType=/*#__PURE__*/function(){function IfcMedicalDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcMedicalDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcMedicalDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMedicalDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcMedicalDeviceType;}();var IfcMember=/*#__PURE__*/function(){function IfcMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcMember);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcMember,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcMember;}();var IfcMemberStandardCase=/*#__PURE__*/function(){function IfcMemberStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcMemberStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcMemberStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMemberStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcMemberStandardCase;}();var IfcMemberType=/*#__PURE__*/function(){function IfcMemberType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcMemberType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcMemberType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMemberType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcMemberType;}();var IfcMetric=/*#__PURE__*/function(){function IfcMetric(expressID,type,Name,Description,ConstraintGrade,ConstraintSource,CreatingActor,CreationTime,UserDefinedGrade,Benchmark,ValueSource,DataValue,ReferencePath){_classCallCheck(this,IfcMetric);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.ConstraintGrade=ConstraintGrade;this.ConstraintSource=ConstraintSource;this.CreatingActor=CreatingActor;this.CreationTime=CreationTime;this.UserDefinedGrade=UserDefinedGrade;this.Benchmark=Benchmark;this.ValueSource=ValueSource;this.DataValue=DataValue;this.ReferencePath=ReferencePath;}_createClass(IfcMetric,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.ConstraintGrade);args.push(this.ConstraintSource);args.push(this.CreatingActor);args.push(this.CreationTime);args.push(this.UserDefinedGrade);args.push(this.Benchmark);args.push(this.ValueSource);args.push(this.DataValue);args.push(this.ReferencePath);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var ConstraintGrade=tape[ptr++];var ConstraintSource=tape[ptr++];var CreatingActor=tape[ptr++];var CreationTime=tape[ptr++];var UserDefinedGrade=tape[ptr++];var Benchmark=tape[ptr++];var ValueSource=tape[ptr++];var DataValue=tape[ptr++];var ReferencePath=tape[ptr++];return new IfcMetric(expressID,type,Name,Description,ConstraintGrade,ConstraintSource,CreatingActor,CreationTime,UserDefinedGrade,Benchmark,ValueSource,DataValue,ReferencePath);}}]);return IfcMetric;}();var IfcMirroredProfileDef=/*#__PURE__*/function(){function IfcMirroredProfileDef(expressID,type,ProfileType,ProfileName,ParentProfile,Operator,Label){_classCallCheck(this,IfcMirroredProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.ParentProfile=ParentProfile;this.Operator=Operator;this.Label=Label;}_createClass(IfcMirroredProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.ParentProfile);args.push(this.Operator);args.push(this.Label);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var ParentProfile=tape[ptr++];var Operator=tape[ptr++];var Label=tape[ptr++];return new IfcMirroredProfileDef(expressID,type,ProfileType,ProfileName,ParentProfile,Operator,Label);}}]);return IfcMirroredProfileDef;}();var IfcMonetaryUnit=/*#__PURE__*/function(){function IfcMonetaryUnit(expressID,type,Currency){_classCallCheck(this,IfcMonetaryUnit);this.expressID=expressID;this.type=type;this.Currency=Currency;}_createClass(IfcMonetaryUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Currency);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Currency=tape[ptr++];return new IfcMonetaryUnit(expressID,type,Currency);}}]);return IfcMonetaryUnit;}();var IfcMotorConnection=/*#__PURE__*/function(){function IfcMotorConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcMotorConnection);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcMotorConnection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMotorConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcMotorConnection;}();var IfcMotorConnectionType=/*#__PURE__*/function(){function IfcMotorConnectionType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcMotorConnectionType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcMotorConnectionType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcMotorConnectionType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcMotorConnectionType;}();var IfcNamedUnit=/*#__PURE__*/function(){function IfcNamedUnit(expressID,type,Dimensions,UnitType){_classCallCheck(this,IfcNamedUnit);this.expressID=expressID;this.type=type;this.Dimensions=Dimensions;this.UnitType=UnitType;}_createClass(IfcNamedUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Dimensions);args.push(this.UnitType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Dimensions=tape[ptr++];var UnitType=tape[ptr++];return new IfcNamedUnit(expressID,type,Dimensions,UnitType);}}]);return IfcNamedUnit;}();var IfcObject=/*#__PURE__*/function(){function IfcObject(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType){_classCallCheck(this,IfcObject);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;}_createClass(IfcObject,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];return new IfcObject(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType);}}]);return IfcObject;}();var IfcObjectDefinition=/*#__PURE__*/function(){function IfcObjectDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcObjectDefinition);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcObjectDefinition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcObjectDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcObjectDefinition;}();var IfcObjectPlacement=/*#__PURE__*/function(){function IfcObjectPlacement(expressID,type,PlacementRelTo){_classCallCheck(this,IfcObjectPlacement);this.expressID=expressID;this.type=type;this.PlacementRelTo=PlacementRelTo;}_createClass(IfcObjectPlacement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.PlacementRelTo);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var PlacementRelTo=tape[ptr++];return new IfcObjectPlacement(expressID,type,PlacementRelTo);}}]);return IfcObjectPlacement;}();var IfcObjective=/*#__PURE__*/function(){function IfcObjective(expressID,type,Name,Description,ConstraintGrade,ConstraintSource,CreatingActor,CreationTime,UserDefinedGrade,BenchmarkValues,LogicalAggregator,ObjectiveQualifier,UserDefinedQualifier){_classCallCheck(this,IfcObjective);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.ConstraintGrade=ConstraintGrade;this.ConstraintSource=ConstraintSource;this.CreatingActor=CreatingActor;this.CreationTime=CreationTime;this.UserDefinedGrade=UserDefinedGrade;this.BenchmarkValues=BenchmarkValues;this.LogicalAggregator=LogicalAggregator;this.ObjectiveQualifier=ObjectiveQualifier;this.UserDefinedQualifier=UserDefinedQualifier;}_createClass(IfcObjective,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.ConstraintGrade);args.push(this.ConstraintSource);args.push(this.CreatingActor);args.push(this.CreationTime);args.push(this.UserDefinedGrade);args.push(this.BenchmarkValues);args.push(this.LogicalAggregator);args.push(this.ObjectiveQualifier);args.push(this.UserDefinedQualifier);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var ConstraintGrade=tape[ptr++];var ConstraintSource=tape[ptr++];var CreatingActor=tape[ptr++];var CreationTime=tape[ptr++];var UserDefinedGrade=tape[ptr++];var BenchmarkValues=tape[ptr++];var LogicalAggregator=tape[ptr++];var ObjectiveQualifier=tape[ptr++];var UserDefinedQualifier=tape[ptr++];return new IfcObjective(expressID,type,Name,Description,ConstraintGrade,ConstraintSource,CreatingActor,CreationTime,UserDefinedGrade,BenchmarkValues,LogicalAggregator,ObjectiveQualifier,UserDefinedQualifier);}}]);return IfcObjective;}();var IfcOccupant=/*#__PURE__*/function(){function IfcOccupant(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,TheActor,PredefinedType){_classCallCheck(this,IfcOccupant);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.TheActor=TheActor;this.PredefinedType=PredefinedType;}_createClass(IfcOccupant,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.TheActor);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var TheActor=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcOccupant(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,TheActor,PredefinedType);}}]);return IfcOccupant;}();var IfcOffsetCurve=/*#__PURE__*/function(){function IfcOffsetCurve(expressID,type,BasisCurve){_classCallCheck(this,IfcOffsetCurve);this.expressID=expressID;this.type=type;this.BasisCurve=BasisCurve;}_createClass(IfcOffsetCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisCurve);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisCurve=tape[ptr++];return new IfcOffsetCurve(expressID,type,BasisCurve);}}]);return IfcOffsetCurve;}();var IfcOffsetCurve2D=/*#__PURE__*/function(){function IfcOffsetCurve2D(expressID,type,BasisCurve,Distance,SelfIntersect){_classCallCheck(this,IfcOffsetCurve2D);this.expressID=expressID;this.type=type;this.BasisCurve=BasisCurve;this.Distance=Distance;this.SelfIntersect=SelfIntersect;}_createClass(IfcOffsetCurve2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisCurve);args.push(this.Distance);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisCurve=tape[ptr++];var Distance=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcOffsetCurve2D(expressID,type,BasisCurve,Distance,SelfIntersect);}}]);return IfcOffsetCurve2D;}();var IfcOffsetCurve3D=/*#__PURE__*/function(){function IfcOffsetCurve3D(expressID,type,BasisCurve,Distance,SelfIntersect,RefDirection){_classCallCheck(this,IfcOffsetCurve3D);this.expressID=expressID;this.type=type;this.BasisCurve=BasisCurve;this.Distance=Distance;this.SelfIntersect=SelfIntersect;this.RefDirection=RefDirection;}_createClass(IfcOffsetCurve3D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisCurve);args.push(this.Distance);args.push(this.SelfIntersect);args.push(this.RefDirection);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisCurve=tape[ptr++];var Distance=tape[ptr++];var SelfIntersect=tape[ptr++];var RefDirection=tape[ptr++];return new IfcOffsetCurve3D(expressID,type,BasisCurve,Distance,SelfIntersect,RefDirection);}}]);return IfcOffsetCurve3D;}();var IfcOffsetCurveByDistances=/*#__PURE__*/function(){function IfcOffsetCurveByDistances(expressID,type,BasisCurve,OffsetValues,Tag){_classCallCheck(this,IfcOffsetCurveByDistances);this.expressID=expressID;this.type=type;this.BasisCurve=BasisCurve;this.OffsetValues=OffsetValues;this.Tag=Tag;}_createClass(IfcOffsetCurveByDistances,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisCurve);args.push(this.OffsetValues);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisCurve=tape[ptr++];var OffsetValues=tape[ptr++];var Tag=tape[ptr++];return new IfcOffsetCurveByDistances(expressID,type,BasisCurve,OffsetValues,Tag);}}]);return IfcOffsetCurveByDistances;}();var IfcOpenShell=/*#__PURE__*/function(){function IfcOpenShell(expressID,type,CfsFaces){_classCallCheck(this,IfcOpenShell);this.expressID=expressID;this.type=type;this.CfsFaces=CfsFaces;}_createClass(IfcOpenShell,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.CfsFaces);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var CfsFaces=tape[ptr++];return new IfcOpenShell(expressID,type,CfsFaces);}}]);return IfcOpenShell;}();var IfcOpeningElement=/*#__PURE__*/function(){function IfcOpeningElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcOpeningElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcOpeningElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcOpeningElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcOpeningElement;}();var IfcOpeningStandardCase=/*#__PURE__*/function(){function IfcOpeningStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcOpeningStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcOpeningStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcOpeningStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcOpeningStandardCase;}();var IfcOrganization=/*#__PURE__*/function(){function IfcOrganization(expressID,type,Identification,Name,Description,Roles,Addresses){_classCallCheck(this,IfcOrganization);this.expressID=expressID;this.type=type;this.Identification=Identification;this.Name=Name;this.Description=Description;this.Roles=Roles;this.Addresses=Addresses;}_createClass(IfcOrganization,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Identification);args.push(this.Name);args.push(this.Description);args.push(this.Roles);args.push(this.Addresses);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Identification=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Roles=tape[ptr++];var Addresses=tape[ptr++];return new IfcOrganization(expressID,type,Identification,Name,Description,Roles,Addresses);}}]);return IfcOrganization;}();var IfcOrganizationRelationship=/*#__PURE__*/function(){function IfcOrganizationRelationship(expressID,type,Name,Description,RelatingOrganization,RelatedOrganizations){_classCallCheck(this,IfcOrganizationRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingOrganization=RelatingOrganization;this.RelatedOrganizations=RelatedOrganizations;}_createClass(IfcOrganizationRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingOrganization);args.push(this.RelatedOrganizations);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingOrganization=tape[ptr++];var RelatedOrganizations=tape[ptr++];return new IfcOrganizationRelationship(expressID,type,Name,Description,RelatingOrganization,RelatedOrganizations);}}]);return IfcOrganizationRelationship;}();var IfcOrientationExpression=/*#__PURE__*/function(){function IfcOrientationExpression(expressID,type,LateralAxisDirection,VerticalAxisDirection){_classCallCheck(this,IfcOrientationExpression);this.expressID=expressID;this.type=type;this.LateralAxisDirection=LateralAxisDirection;this.VerticalAxisDirection=VerticalAxisDirection;}_createClass(IfcOrientationExpression,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.LateralAxisDirection);args.push(this.VerticalAxisDirection);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var LateralAxisDirection=tape[ptr++];var VerticalAxisDirection=tape[ptr++];return new IfcOrientationExpression(expressID,type,LateralAxisDirection,VerticalAxisDirection);}}]);return IfcOrientationExpression;}();var IfcOrientedEdge=/*#__PURE__*/function(){function IfcOrientedEdge(expressID,type,EdgeStart,EdgeEnd,EdgeElement,Orientation){_classCallCheck(this,IfcOrientedEdge);this.expressID=expressID;this.type=type;this.EdgeStart=EdgeStart;this.EdgeEnd=EdgeEnd;this.EdgeElement=EdgeElement;this.Orientation=Orientation;}_createClass(IfcOrientedEdge,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.EdgeStart);args.push(this.EdgeEnd);args.push(this.EdgeElement);args.push(this.Orientation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var EdgeStart=tape[ptr++];var EdgeEnd=tape[ptr++];var EdgeElement=tape[ptr++];var Orientation=tape[ptr++];return new IfcOrientedEdge(expressID,type,EdgeStart,EdgeEnd,EdgeElement,Orientation);}}]);return IfcOrientedEdge;}();var IfcOuterBoundaryCurve=/*#__PURE__*/function(){function IfcOuterBoundaryCurve(expressID,type,Segments,SelfIntersect){_classCallCheck(this,IfcOuterBoundaryCurve);this.expressID=expressID;this.type=type;this.Segments=Segments;this.SelfIntersect=SelfIntersect;}_createClass(IfcOuterBoundaryCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Segments);args.push(this.SelfIntersect);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Segments=tape[ptr++];var SelfIntersect=tape[ptr++];return new IfcOuterBoundaryCurve(expressID,type,Segments,SelfIntersect);}}]);return IfcOuterBoundaryCurve;}();var IfcOutlet=/*#__PURE__*/function(){function IfcOutlet(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcOutlet);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcOutlet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcOutlet(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcOutlet;}();var IfcOutletType=/*#__PURE__*/function(){function IfcOutletType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcOutletType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcOutletType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcOutletType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcOutletType;}();var IfcOwnerHistory=/*#__PURE__*/function(){function IfcOwnerHistory(expressID,type,OwningUser,OwningApplication,State,ChangeAction,LastModifiedDate,LastModifyingUser,LastModifyingApplication,CreationDate){_classCallCheck(this,IfcOwnerHistory);this.expressID=expressID;this.type=type;this.OwningUser=OwningUser;this.OwningApplication=OwningApplication;this.State=State;this.ChangeAction=ChangeAction;this.LastModifiedDate=LastModifiedDate;this.LastModifyingUser=LastModifyingUser;this.LastModifyingApplication=LastModifyingApplication;this.CreationDate=CreationDate;}_createClass(IfcOwnerHistory,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.OwningUser);args.push(this.OwningApplication);args.push(this.State);args.push(this.ChangeAction);args.push(this.LastModifiedDate);args.push(this.LastModifyingUser);args.push(this.LastModifyingApplication);args.push(this.CreationDate);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var OwningUser=tape[ptr++];var OwningApplication=tape[ptr++];var State=tape[ptr++];var ChangeAction=tape[ptr++];var LastModifiedDate=tape[ptr++];var LastModifyingUser=tape[ptr++];var LastModifyingApplication=tape[ptr++];var CreationDate=tape[ptr++];return new IfcOwnerHistory(expressID,type,OwningUser,OwningApplication,State,ChangeAction,LastModifiedDate,LastModifyingUser,LastModifyingApplication,CreationDate);}}]);return IfcOwnerHistory;}();var IfcParameterizedProfileDef=/*#__PURE__*/function(){function IfcParameterizedProfileDef(expressID,type,ProfileType,ProfileName,Position){_classCallCheck(this,IfcParameterizedProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;}_createClass(IfcParameterizedProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];return new IfcParameterizedProfileDef(expressID,type,ProfileType,ProfileName,Position);}}]);return IfcParameterizedProfileDef;}();var IfcPath=/*#__PURE__*/function(){function IfcPath(expressID,type,EdgeList){_classCallCheck(this,IfcPath);this.expressID=expressID;this.type=type;this.EdgeList=EdgeList;}_createClass(IfcPath,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.EdgeList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var EdgeList=tape[ptr++];return new IfcPath(expressID,type,EdgeList);}}]);return IfcPath;}();var IfcPcurve=/*#__PURE__*/function(){function IfcPcurve(expressID,type,BasisSurface,ReferenceCurve){_classCallCheck(this,IfcPcurve);this.expressID=expressID;this.type=type;this.BasisSurface=BasisSurface;this.ReferenceCurve=ReferenceCurve;}_createClass(IfcPcurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisSurface);args.push(this.ReferenceCurve);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisSurface=tape[ptr++];var ReferenceCurve=tape[ptr++];return new IfcPcurve(expressID,type,BasisSurface,ReferenceCurve);}}]);return IfcPcurve;}();var IfcPerformanceHistory=/*#__PURE__*/function(){function IfcPerformanceHistory(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LifeCyclePhase,PredefinedType){_classCallCheck(this,IfcPerformanceHistory);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LifeCyclePhase=LifeCyclePhase;this.PredefinedType=PredefinedType;}_createClass(IfcPerformanceHistory,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LifeCyclePhase);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LifeCyclePhase=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPerformanceHistory(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LifeCyclePhase,PredefinedType);}}]);return IfcPerformanceHistory;}();var IfcPermeableCoveringProperties=/*#__PURE__*/function(){function IfcPermeableCoveringProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,OperationType,PanelPosition,FrameDepth,FrameThickness,ShapeAspectStyle){_classCallCheck(this,IfcPermeableCoveringProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.OperationType=OperationType;this.PanelPosition=PanelPosition;this.FrameDepth=FrameDepth;this.FrameThickness=FrameThickness;this.ShapeAspectStyle=ShapeAspectStyle;}_createClass(IfcPermeableCoveringProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.OperationType);args.push(this.PanelPosition);args.push(this.FrameDepth);args.push(this.FrameThickness);args.push(this.ShapeAspectStyle);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var OperationType=tape[ptr++];var PanelPosition=tape[ptr++];var FrameDepth=tape[ptr++];var FrameThickness=tape[ptr++];var ShapeAspectStyle=tape[ptr++];return new IfcPermeableCoveringProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,OperationType,PanelPosition,FrameDepth,FrameThickness,ShapeAspectStyle);}}]);return IfcPermeableCoveringProperties;}();var IfcPermit=/*#__PURE__*/function(){function IfcPermit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,LongDescription){_classCallCheck(this,IfcPermit);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.PredefinedType=PredefinedType;this.Status=Status;this.LongDescription=LongDescription;}_createClass(IfcPermit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.PredefinedType);args.push(this.Status);args.push(this.LongDescription);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var PredefinedType=tape[ptr++];var Status=tape[ptr++];var LongDescription=tape[ptr++];return new IfcPermit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,LongDescription);}}]);return IfcPermit;}();var IfcPerson=/*#__PURE__*/function(){function IfcPerson(expressID,type,Identification,FamilyName,GivenName,MiddleNames,PrefixTitles,SuffixTitles,Roles,Addresses){_classCallCheck(this,IfcPerson);this.expressID=expressID;this.type=type;this.Identification=Identification;this.FamilyName=FamilyName;this.GivenName=GivenName;this.MiddleNames=MiddleNames;this.PrefixTitles=PrefixTitles;this.SuffixTitles=SuffixTitles;this.Roles=Roles;this.Addresses=Addresses;}_createClass(IfcPerson,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Identification);args.push(this.FamilyName);args.push(this.GivenName);args.push(this.MiddleNames);args.push(this.PrefixTitles);args.push(this.SuffixTitles);args.push(this.Roles);args.push(this.Addresses);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Identification=tape[ptr++];var FamilyName=tape[ptr++];var GivenName=tape[ptr++];var MiddleNames=tape[ptr++];var PrefixTitles=tape[ptr++];var SuffixTitles=tape[ptr++];var Roles=tape[ptr++];var Addresses=tape[ptr++];return new IfcPerson(expressID,type,Identification,FamilyName,GivenName,MiddleNames,PrefixTitles,SuffixTitles,Roles,Addresses);}}]);return IfcPerson;}();var IfcPersonAndOrganization=/*#__PURE__*/function(){function IfcPersonAndOrganization(expressID,type,ThePerson,TheOrganization,Roles){_classCallCheck(this,IfcPersonAndOrganization);this.expressID=expressID;this.type=type;this.ThePerson=ThePerson;this.TheOrganization=TheOrganization;this.Roles=Roles;}_createClass(IfcPersonAndOrganization,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ThePerson);args.push(this.TheOrganization);args.push(this.Roles);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ThePerson=tape[ptr++];var TheOrganization=tape[ptr++];var Roles=tape[ptr++];return new IfcPersonAndOrganization(expressID,type,ThePerson,TheOrganization,Roles);}}]);return IfcPersonAndOrganization;}();var IfcPhysicalComplexQuantity=/*#__PURE__*/function(){function IfcPhysicalComplexQuantity(expressID,type,Name,Description,HasQuantities,Discrimination,Quality,Usage){_classCallCheck(this,IfcPhysicalComplexQuantity);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.HasQuantities=HasQuantities;this.Discrimination=Discrimination;this.Quality=Quality;this.Usage=Usage;}_createClass(IfcPhysicalComplexQuantity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.HasQuantities);args.push(this.Discrimination);args.push(this.Quality);args.push(this.Usage);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var HasQuantities=tape[ptr++];var Discrimination=tape[ptr++];var Quality=tape[ptr++];var Usage=tape[ptr++];return new IfcPhysicalComplexQuantity(expressID,type,Name,Description,HasQuantities,Discrimination,Quality,Usage);}}]);return IfcPhysicalComplexQuantity;}();var IfcPhysicalQuantity=/*#__PURE__*/function(){function IfcPhysicalQuantity(expressID,type,Name,Description){_classCallCheck(this,IfcPhysicalQuantity);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;}_createClass(IfcPhysicalQuantity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];return new IfcPhysicalQuantity(expressID,type,Name,Description);}}]);return IfcPhysicalQuantity;}();var IfcPhysicalSimpleQuantity=/*#__PURE__*/function(){function IfcPhysicalSimpleQuantity(expressID,type,Name,Description,Unit){_classCallCheck(this,IfcPhysicalSimpleQuantity);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;}_createClass(IfcPhysicalSimpleQuantity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];return new IfcPhysicalSimpleQuantity(expressID,type,Name,Description,Unit);}}]);return IfcPhysicalSimpleQuantity;}();var IfcPile=/*#__PURE__*/function(){function IfcPile(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType,ConstructionType){_classCallCheck(this,IfcPile);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;this.ConstructionType=ConstructionType;}_createClass(IfcPile,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);args.push(this.ConstructionType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];var ConstructionType=tape[ptr++];return new IfcPile(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType,ConstructionType);}}]);return IfcPile;}();var IfcPileType=/*#__PURE__*/function(){function IfcPileType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcPileType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcPileType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPileType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcPileType;}();var IfcPipeFitting=/*#__PURE__*/function(){function IfcPipeFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcPipeFitting);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcPipeFitting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPipeFitting(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcPipeFitting;}();var IfcPipeFittingType=/*#__PURE__*/function(){function IfcPipeFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcPipeFittingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcPipeFittingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPipeFittingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcPipeFittingType;}();var IfcPipeSegment=/*#__PURE__*/function(){function IfcPipeSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcPipeSegment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcPipeSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPipeSegment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcPipeSegment;}();var IfcPipeSegmentType=/*#__PURE__*/function(){function IfcPipeSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcPipeSegmentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcPipeSegmentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPipeSegmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcPipeSegmentType;}();var IfcPixelTexture=/*#__PURE__*/function(){function IfcPixelTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter,Width,Height,ColourComponents,Pixel){_classCallCheck(this,IfcPixelTexture);this.expressID=expressID;this.type=type;this.RepeatS=RepeatS;this.RepeatT=RepeatT;this.Mode=Mode;this.TextureTransform=TextureTransform;this.Parameter=Parameter;this.Width=Width;this.Height=Height;this.ColourComponents=ColourComponents;this.Pixel=Pixel;}_createClass(IfcPixelTexture,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RepeatS);args.push(this.RepeatT);args.push(this.Mode);args.push(this.TextureTransform);args.push(this.Parameter);args.push(this.Width);args.push(this.Height);args.push(this.ColourComponents);args.push(this.Pixel);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RepeatS=tape[ptr++];var RepeatT=tape[ptr++];var Mode=tape[ptr++];var TextureTransform=tape[ptr++];var Parameter=tape[ptr++];var Width=tape[ptr++];var Height=tape[ptr++];var ColourComponents=tape[ptr++];var Pixel=tape[ptr++];return new IfcPixelTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter,Width,Height,ColourComponents,Pixel);}}]);return IfcPixelTexture;}();var IfcPlacement=/*#__PURE__*/function(){function IfcPlacement(expressID,type,Location){_classCallCheck(this,IfcPlacement);this.expressID=expressID;this.type=type;this.Location=Location;}_createClass(IfcPlacement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Location);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Location=tape[ptr++];return new IfcPlacement(expressID,type,Location);}}]);return IfcPlacement;}();var IfcPlanarBox=/*#__PURE__*/function(){function IfcPlanarBox(expressID,type,SizeInX,SizeInY,Placement){_classCallCheck(this,IfcPlanarBox);this.expressID=expressID;this.type=type;this.SizeInX=SizeInX;this.SizeInY=SizeInY;this.Placement=Placement;}_createClass(IfcPlanarBox,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SizeInX);args.push(this.SizeInY);args.push(this.Placement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SizeInX=tape[ptr++];var SizeInY=tape[ptr++];var Placement=tape[ptr++];return new IfcPlanarBox(expressID,type,SizeInX,SizeInY,Placement);}}]);return IfcPlanarBox;}();var IfcPlanarExtent=/*#__PURE__*/function(){function IfcPlanarExtent(expressID,type,SizeInX,SizeInY){_classCallCheck(this,IfcPlanarExtent);this.expressID=expressID;this.type=type;this.SizeInX=SizeInX;this.SizeInY=SizeInY;}_createClass(IfcPlanarExtent,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SizeInX);args.push(this.SizeInY);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SizeInX=tape[ptr++];var SizeInY=tape[ptr++];return new IfcPlanarExtent(expressID,type,SizeInX,SizeInY);}}]);return IfcPlanarExtent;}();var IfcPlane=/*#__PURE__*/function(){function IfcPlane(expressID,type,Position){_classCallCheck(this,IfcPlane);this.expressID=expressID;this.type=type;this.Position=Position;}_createClass(IfcPlane,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];return new IfcPlane(expressID,type,Position);}}]);return IfcPlane;}();var IfcPlate=/*#__PURE__*/function(){function IfcPlate(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcPlate);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcPlate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPlate(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcPlate;}();var IfcPlateStandardCase=/*#__PURE__*/function(){function IfcPlateStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcPlateStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcPlateStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPlateStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcPlateStandardCase;}();var IfcPlateType=/*#__PURE__*/function(){function IfcPlateType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcPlateType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcPlateType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPlateType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcPlateType;}();var IfcPoint=/*#__PURE__*/function(){function IfcPoint(expressID,type){_classCallCheck(this,IfcPoint);this.expressID=expressID;this.type=type;}_createClass(IfcPoint,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcPoint(expressID,type);}}]);return IfcPoint;}();var IfcPointOnCurve=/*#__PURE__*/function(){function IfcPointOnCurve(expressID,type,BasisCurve,PointParameter){_classCallCheck(this,IfcPointOnCurve);this.expressID=expressID;this.type=type;this.BasisCurve=BasisCurve;this.PointParameter=PointParameter;}_createClass(IfcPointOnCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisCurve);args.push(this.PointParameter);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisCurve=tape[ptr++];var PointParameter=tape[ptr++];return new IfcPointOnCurve(expressID,type,BasisCurve,PointParameter);}}]);return IfcPointOnCurve;}();var IfcPointOnSurface=/*#__PURE__*/function(){function IfcPointOnSurface(expressID,type,BasisSurface,PointParameterU,PointParameterV){_classCallCheck(this,IfcPointOnSurface);this.expressID=expressID;this.type=type;this.BasisSurface=BasisSurface;this.PointParameterU=PointParameterU;this.PointParameterV=PointParameterV;}_createClass(IfcPointOnSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisSurface);args.push(this.PointParameterU);args.push(this.PointParameterV);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisSurface=tape[ptr++];var PointParameterU=tape[ptr++];var PointParameterV=tape[ptr++];return new IfcPointOnSurface(expressID,type,BasisSurface,PointParameterU,PointParameterV);}}]);return IfcPointOnSurface;}();var IfcPolyLoop=/*#__PURE__*/function(){function IfcPolyLoop(expressID,type,Polygon){_classCallCheck(this,IfcPolyLoop);this.expressID=expressID;this.type=type;this.Polygon=Polygon;}_createClass(IfcPolyLoop,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Polygon);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Polygon=tape[ptr++];return new IfcPolyLoop(expressID,type,Polygon);}}]);return IfcPolyLoop;}();var IfcPolygonalBoundedHalfSpace=/*#__PURE__*/function(){function IfcPolygonalBoundedHalfSpace(expressID,type,BaseSurface,AgreementFlag,Position,PolygonalBoundary){_classCallCheck(this,IfcPolygonalBoundedHalfSpace);this.expressID=expressID;this.type=type;this.BaseSurface=BaseSurface;this.AgreementFlag=AgreementFlag;this.Position=Position;this.PolygonalBoundary=PolygonalBoundary;}_createClass(IfcPolygonalBoundedHalfSpace,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BaseSurface);args.push(this.AgreementFlag);args.push(this.Position);args.push(this.PolygonalBoundary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BaseSurface=tape[ptr++];var AgreementFlag=tape[ptr++];var Position=tape[ptr++];var PolygonalBoundary=tape[ptr++];return new IfcPolygonalBoundedHalfSpace(expressID,type,BaseSurface,AgreementFlag,Position,PolygonalBoundary);}}]);return IfcPolygonalBoundedHalfSpace;}();var IfcPolygonalFaceSet=/*#__PURE__*/function(){function IfcPolygonalFaceSet(expressID,type,Coordinates,Closed,Faces,PnIndex){_classCallCheck(this,IfcPolygonalFaceSet);this.expressID=expressID;this.type=type;this.Coordinates=Coordinates;this.Closed=Closed;this.Faces=Faces;this.PnIndex=PnIndex;}_createClass(IfcPolygonalFaceSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Coordinates);args.push(this.Closed);args.push(this.Faces);args.push(this.PnIndex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Coordinates=tape[ptr++];var Closed=tape[ptr++];var Faces=tape[ptr++];var PnIndex=tape[ptr++];return new IfcPolygonalFaceSet(expressID,type,Coordinates,Closed,Faces,PnIndex);}}]);return IfcPolygonalFaceSet;}();var IfcPolyline=/*#__PURE__*/function(){function IfcPolyline(expressID,type,Points){_classCallCheck(this,IfcPolyline);this.expressID=expressID;this.type=type;this.Points=Points;}_createClass(IfcPolyline,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Points);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Points=tape[ptr++];return new IfcPolyline(expressID,type,Points);}}]);return IfcPolyline;}();var IfcPort=/*#__PURE__*/function(){function IfcPort(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation){_classCallCheck(this,IfcPort);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;}_createClass(IfcPort,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];return new IfcPort(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation);}}]);return IfcPort;}();var IfcPositioningElement=/*#__PURE__*/function(){function IfcPositioningElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation){_classCallCheck(this,IfcPositioningElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;}_createClass(IfcPositioningElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];return new IfcPositioningElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation);}}]);return IfcPositioningElement;}();var IfcPostalAddress=/*#__PURE__*/function(){function IfcPostalAddress(expressID,type,Purpose,Description,UserDefinedPurpose,InternalLocation,AddressLines,PostalBox,Town,Region,PostalCode,Country){_classCallCheck(this,IfcPostalAddress);this.expressID=expressID;this.type=type;this.Purpose=Purpose;this.Description=Description;this.UserDefinedPurpose=UserDefinedPurpose;this.InternalLocation=InternalLocation;this.AddressLines=AddressLines;this.PostalBox=PostalBox;this.Town=Town;this.Region=Region;this.PostalCode=PostalCode;this.Country=Country;}_createClass(IfcPostalAddress,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Purpose);args.push(this.Description);args.push(this.UserDefinedPurpose);args.push(this.InternalLocation);args.push(this.AddressLines);args.push(this.PostalBox);args.push(this.Town);args.push(this.Region);args.push(this.PostalCode);args.push(this.Country);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Purpose=tape[ptr++];var Description=tape[ptr++];var UserDefinedPurpose=tape[ptr++];var InternalLocation=tape[ptr++];var AddressLines=tape[ptr++];var PostalBox=tape[ptr++];var Town=tape[ptr++];var Region=tape[ptr++];var PostalCode=tape[ptr++];var Country=tape[ptr++];return new IfcPostalAddress(expressID,type,Purpose,Description,UserDefinedPurpose,InternalLocation,AddressLines,PostalBox,Town,Region,PostalCode,Country);}}]);return IfcPostalAddress;}();var IfcPreDefinedColour=/*#__PURE__*/function(){function IfcPreDefinedColour(expressID,type,Name){_classCallCheck(this,IfcPreDefinedColour);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcPreDefinedColour,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcPreDefinedColour(expressID,type,Name);}}]);return IfcPreDefinedColour;}();var IfcPreDefinedCurveFont=/*#__PURE__*/function(){function IfcPreDefinedCurveFont(expressID,type,Name){_classCallCheck(this,IfcPreDefinedCurveFont);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcPreDefinedCurveFont,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcPreDefinedCurveFont(expressID,type,Name);}}]);return IfcPreDefinedCurveFont;}();var IfcPreDefinedItem=/*#__PURE__*/function(){function IfcPreDefinedItem(expressID,type,Name){_classCallCheck(this,IfcPreDefinedItem);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcPreDefinedItem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcPreDefinedItem(expressID,type,Name);}}]);return IfcPreDefinedItem;}();var IfcPreDefinedProperties=/*#__PURE__*/function(){function IfcPreDefinedProperties(expressID,type){_classCallCheck(this,IfcPreDefinedProperties);this.expressID=expressID;this.type=type;}_createClass(IfcPreDefinedProperties,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcPreDefinedProperties(expressID,type);}}]);return IfcPreDefinedProperties;}();var IfcPreDefinedPropertySet=/*#__PURE__*/function(){function IfcPreDefinedPropertySet(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcPreDefinedPropertySet);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcPreDefinedPropertySet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcPreDefinedPropertySet(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcPreDefinedPropertySet;}();var IfcPreDefinedTextFont=/*#__PURE__*/function(){function IfcPreDefinedTextFont(expressID,type,Name){_classCallCheck(this,IfcPreDefinedTextFont);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcPreDefinedTextFont,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcPreDefinedTextFont(expressID,type,Name);}}]);return IfcPreDefinedTextFont;}();var IfcPresentationItem=/*#__PURE__*/function(){function IfcPresentationItem(expressID,type){_classCallCheck(this,IfcPresentationItem);this.expressID=expressID;this.type=type;}_createClass(IfcPresentationItem,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcPresentationItem(expressID,type);}}]);return IfcPresentationItem;}();var IfcPresentationLayerAssignment=/*#__PURE__*/function(){function IfcPresentationLayerAssignment(expressID,type,Name,Description,AssignedItems,Identifier){_classCallCheck(this,IfcPresentationLayerAssignment);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.AssignedItems=AssignedItems;this.Identifier=Identifier;}_createClass(IfcPresentationLayerAssignment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.AssignedItems);args.push(this.Identifier);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var AssignedItems=tape[ptr++];var Identifier=tape[ptr++];return new IfcPresentationLayerAssignment(expressID,type,Name,Description,AssignedItems,Identifier);}}]);return IfcPresentationLayerAssignment;}();var IfcPresentationLayerWithStyle=/*#__PURE__*/function(){function IfcPresentationLayerWithStyle(expressID,type,Name,Description,AssignedItems,Identifier,LayerOn,LayerFrozen,LayerBlocked,LayerStyles){_classCallCheck(this,IfcPresentationLayerWithStyle);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.AssignedItems=AssignedItems;this.Identifier=Identifier;this.LayerOn=LayerOn;this.LayerFrozen=LayerFrozen;this.LayerBlocked=LayerBlocked;this.LayerStyles=LayerStyles;}_createClass(IfcPresentationLayerWithStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.AssignedItems);args.push(this.Identifier);args.push(this.LayerOn);args.push(this.LayerFrozen);args.push(this.LayerBlocked);args.push(this.LayerStyles);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var AssignedItems=tape[ptr++];var Identifier=tape[ptr++];var LayerOn=tape[ptr++];var LayerFrozen=tape[ptr++];var LayerBlocked=tape[ptr++];var LayerStyles=tape[ptr++];return new IfcPresentationLayerWithStyle(expressID,type,Name,Description,AssignedItems,Identifier,LayerOn,LayerFrozen,LayerBlocked,LayerStyles);}}]);return IfcPresentationLayerWithStyle;}();var IfcPresentationStyle=/*#__PURE__*/function(){function IfcPresentationStyle(expressID,type,Name){_classCallCheck(this,IfcPresentationStyle);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcPresentationStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcPresentationStyle(expressID,type,Name);}}]);return IfcPresentationStyle;}();var IfcPresentationStyleAssignment=/*#__PURE__*/function(){function IfcPresentationStyleAssignment(expressID,type,Styles){_classCallCheck(this,IfcPresentationStyleAssignment);this.expressID=expressID;this.type=type;this.Styles=Styles;}_createClass(IfcPresentationStyleAssignment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Styles);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Styles=tape[ptr++];return new IfcPresentationStyleAssignment(expressID,type,Styles);}}]);return IfcPresentationStyleAssignment;}();var IfcProcedure=/*#__PURE__*/function(){function IfcProcedure(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,PredefinedType){_classCallCheck(this,IfcProcedure);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.PredefinedType=PredefinedType;}_createClass(IfcProcedure,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProcedure(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,PredefinedType);}}]);return IfcProcedure;}();var IfcProcedureType=/*#__PURE__*/function(){function IfcProcedureType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType,PredefinedType){_classCallCheck(this,IfcProcedureType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ProcessType=ProcessType;this.PredefinedType=PredefinedType;}_createClass(IfcProcedureType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ProcessType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ProcessType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProcedureType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType,PredefinedType);}}]);return IfcProcedureType;}();var IfcProcess=/*#__PURE__*/function(){function IfcProcess(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription){_classCallCheck(this,IfcProcess);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;}_createClass(IfcProcess,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];return new IfcProcess(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription);}}]);return IfcProcess;}();var IfcProduct=/*#__PURE__*/function(){function IfcProduct(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation){_classCallCheck(this,IfcProduct);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;}_createClass(IfcProduct,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];return new IfcProduct(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation);}}]);return IfcProduct;}();var IfcProductDefinitionShape=/*#__PURE__*/function(){function IfcProductDefinitionShape(expressID,type,Name,Description,Representations){_classCallCheck(this,IfcProductDefinitionShape);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Representations=Representations;}_createClass(IfcProductDefinitionShape,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Representations);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Representations=tape[ptr++];return new IfcProductDefinitionShape(expressID,type,Name,Description,Representations);}}]);return IfcProductDefinitionShape;}();var IfcProductRepresentation=/*#__PURE__*/function(){function IfcProductRepresentation(expressID,type,Name,Description,Representations){_classCallCheck(this,IfcProductRepresentation);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Representations=Representations;}_createClass(IfcProductRepresentation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Representations);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Representations=tape[ptr++];return new IfcProductRepresentation(expressID,type,Name,Description,Representations);}}]);return IfcProductRepresentation;}();var IfcProfileDef=/*#__PURE__*/function(){function IfcProfileDef(expressID,type,ProfileType,ProfileName){_classCallCheck(this,IfcProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;}_createClass(IfcProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];return new IfcProfileDef(expressID,type,ProfileType,ProfileName);}}]);return IfcProfileDef;}();var IfcProfileProperties=/*#__PURE__*/function(){function IfcProfileProperties(expressID,type,Name,Description,Properties2,ProfileDefinition){_classCallCheck(this,IfcProfileProperties);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Properties=Properties2;this.ProfileDefinition=ProfileDefinition;}_createClass(IfcProfileProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Properties);args.push(this.ProfileDefinition);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Properties2=tape[ptr++];var ProfileDefinition=tape[ptr++];return new IfcProfileProperties(expressID,type,Name,Description,Properties2,ProfileDefinition);}}]);return IfcProfileProperties;}();var IfcProject=/*#__PURE__*/function(){function IfcProject(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,Phase,RepresentationContexts,UnitsInContext){_classCallCheck(this,IfcProject);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.LongName=LongName;this.Phase=Phase;this.RepresentationContexts=RepresentationContexts;this.UnitsInContext=UnitsInContext;}_createClass(IfcProject,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.LongName);args.push(this.Phase);args.push(this.RepresentationContexts);args.push(this.UnitsInContext);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var LongName=tape[ptr++];var Phase=tape[ptr++];var RepresentationContexts=tape[ptr++];var UnitsInContext=tape[ptr++];return new IfcProject(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,Phase,RepresentationContexts,UnitsInContext);}}]);return IfcProject;}();var IfcProjectLibrary=/*#__PURE__*/function(){function IfcProjectLibrary(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,Phase,RepresentationContexts,UnitsInContext){_classCallCheck(this,IfcProjectLibrary);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.LongName=LongName;this.Phase=Phase;this.RepresentationContexts=RepresentationContexts;this.UnitsInContext=UnitsInContext;}_createClass(IfcProjectLibrary,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.LongName);args.push(this.Phase);args.push(this.RepresentationContexts);args.push(this.UnitsInContext);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var LongName=tape[ptr++];var Phase=tape[ptr++];var RepresentationContexts=tape[ptr++];var UnitsInContext=tape[ptr++];return new IfcProjectLibrary(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName,Phase,RepresentationContexts,UnitsInContext);}}]);return IfcProjectLibrary;}();var IfcProjectOrder=/*#__PURE__*/function(){function IfcProjectOrder(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,LongDescription){_classCallCheck(this,IfcProjectOrder);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.PredefinedType=PredefinedType;this.Status=Status;this.LongDescription=LongDescription;}_createClass(IfcProjectOrder,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.PredefinedType);args.push(this.Status);args.push(this.LongDescription);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var PredefinedType=tape[ptr++];var Status=tape[ptr++];var LongDescription=tape[ptr++];return new IfcProjectOrder(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,PredefinedType,Status,LongDescription);}}]);return IfcProjectOrder;}();var IfcProjectedCRS=/*#__PURE__*/function(){function IfcProjectedCRS(expressID,type,Name,Description,GeodeticDatum,VerticalDatum,MapProjection,MapZone,MapUnit){_classCallCheck(this,IfcProjectedCRS);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.GeodeticDatum=GeodeticDatum;this.VerticalDatum=VerticalDatum;this.MapProjection=MapProjection;this.MapZone=MapZone;this.MapUnit=MapUnit;}_createClass(IfcProjectedCRS,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.GeodeticDatum);args.push(this.VerticalDatum);args.push(this.MapProjection);args.push(this.MapZone);args.push(this.MapUnit);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var GeodeticDatum=tape[ptr++];var VerticalDatum=tape[ptr++];var MapProjection=tape[ptr++];var MapZone=tape[ptr++];var MapUnit=tape[ptr++];return new IfcProjectedCRS(expressID,type,Name,Description,GeodeticDatum,VerticalDatum,MapProjection,MapZone,MapUnit);}}]);return IfcProjectedCRS;}();var IfcProjectionElement=/*#__PURE__*/function(){function IfcProjectionElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcProjectionElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcProjectionElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProjectionElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcProjectionElement;}();var IfcProperty=/*#__PURE__*/function(){function IfcProperty(expressID,type,Name,Description){_classCallCheck(this,IfcProperty);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;}_createClass(IfcProperty,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];return new IfcProperty(expressID,type,Name,Description);}}]);return IfcProperty;}();var IfcPropertyAbstraction=/*#__PURE__*/function(){function IfcPropertyAbstraction(expressID,type){_classCallCheck(this,IfcPropertyAbstraction);this.expressID=expressID;this.type=type;}_createClass(IfcPropertyAbstraction,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcPropertyAbstraction(expressID,type);}}]);return IfcPropertyAbstraction;}();var IfcPropertyBoundedValue=/*#__PURE__*/function(){function IfcPropertyBoundedValue(expressID,type,Name,Description,UpperBoundValue,LowerBoundValue,Unit,SetPointValue){_classCallCheck(this,IfcPropertyBoundedValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.UpperBoundValue=UpperBoundValue;this.LowerBoundValue=LowerBoundValue;this.Unit=Unit;this.SetPointValue=SetPointValue;}_createClass(IfcPropertyBoundedValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.UpperBoundValue);args.push(this.LowerBoundValue);args.push(this.Unit);args.push(this.SetPointValue);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var UpperBoundValue=tape[ptr++];var LowerBoundValue=tape[ptr++];var Unit=tape[ptr++];var SetPointValue=tape[ptr++];return new IfcPropertyBoundedValue(expressID,type,Name,Description,UpperBoundValue,LowerBoundValue,Unit,SetPointValue);}}]);return IfcPropertyBoundedValue;}();var IfcPropertyDefinition=/*#__PURE__*/function(){function IfcPropertyDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcPropertyDefinition);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcPropertyDefinition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcPropertyDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcPropertyDefinition;}();var IfcPropertyDependencyRelationship=/*#__PURE__*/function(){function IfcPropertyDependencyRelationship(expressID,type,Name,Description,DependingProperty,DependantProperty,Expression){_classCallCheck(this,IfcPropertyDependencyRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.DependingProperty=DependingProperty;this.DependantProperty=DependantProperty;this.Expression=Expression;}_createClass(IfcPropertyDependencyRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.DependingProperty);args.push(this.DependantProperty);args.push(this.Expression);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var DependingProperty=tape[ptr++];var DependantProperty=tape[ptr++];var Expression=tape[ptr++];return new IfcPropertyDependencyRelationship(expressID,type,Name,Description,DependingProperty,DependantProperty,Expression);}}]);return IfcPropertyDependencyRelationship;}();var IfcPropertyEnumeratedValue=/*#__PURE__*/function(){function IfcPropertyEnumeratedValue(expressID,type,Name,Description,EnumerationValues,EnumerationReference){_classCallCheck(this,IfcPropertyEnumeratedValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.EnumerationValues=EnumerationValues;this.EnumerationReference=EnumerationReference;}_createClass(IfcPropertyEnumeratedValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.EnumerationValues);args.push(this.EnumerationReference);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var EnumerationValues=tape[ptr++];var EnumerationReference=tape[ptr++];return new IfcPropertyEnumeratedValue(expressID,type,Name,Description,EnumerationValues,EnumerationReference);}}]);return IfcPropertyEnumeratedValue;}();var IfcPropertyEnumeration=/*#__PURE__*/function(){function IfcPropertyEnumeration(expressID,type,Name,EnumerationValues,Unit){_classCallCheck(this,IfcPropertyEnumeration);this.expressID=expressID;this.type=type;this.Name=Name;this.EnumerationValues=EnumerationValues;this.Unit=Unit;}_createClass(IfcPropertyEnumeration,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.EnumerationValues);args.push(this.Unit);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var EnumerationValues=tape[ptr++];var Unit=tape[ptr++];return new IfcPropertyEnumeration(expressID,type,Name,EnumerationValues,Unit);}}]);return IfcPropertyEnumeration;}();var IfcPropertyListValue=/*#__PURE__*/function(){function IfcPropertyListValue(expressID,type,Name,Description,ListValues,Unit){_classCallCheck(this,IfcPropertyListValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.ListValues=ListValues;this.Unit=Unit;}_createClass(IfcPropertyListValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.ListValues);args.push(this.Unit);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var ListValues=tape[ptr++];var Unit=tape[ptr++];return new IfcPropertyListValue(expressID,type,Name,Description,ListValues,Unit);}}]);return IfcPropertyListValue;}();var IfcPropertyReferenceValue=/*#__PURE__*/function(){function IfcPropertyReferenceValue(expressID,type,Name,Description,UsageName,PropertyReference){_classCallCheck(this,IfcPropertyReferenceValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.UsageName=UsageName;this.PropertyReference=PropertyReference;}_createClass(IfcPropertyReferenceValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.UsageName);args.push(this.PropertyReference);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var UsageName=tape[ptr++];var PropertyReference=tape[ptr++];return new IfcPropertyReferenceValue(expressID,type,Name,Description,UsageName,PropertyReference);}}]);return IfcPropertyReferenceValue;}();var IfcPropertySet=/*#__PURE__*/function(){function IfcPropertySet(expressID,type,GlobalId,OwnerHistory,Name,Description,HasProperties){_classCallCheck(this,IfcPropertySet);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.HasProperties=HasProperties;}_createClass(IfcPropertySet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.HasProperties);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var HasProperties=tape[ptr++];return new IfcPropertySet(expressID,type,GlobalId,OwnerHistory,Name,Description,HasProperties);}}]);return IfcPropertySet;}();var IfcPropertySetDefinition=/*#__PURE__*/function(){function IfcPropertySetDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcPropertySetDefinition);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcPropertySetDefinition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcPropertySetDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcPropertySetDefinition;}();var IfcPropertySetTemplate=/*#__PURE__*/function(){function IfcPropertySetTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,TemplateType,ApplicableEntity,HasPropertyTemplates){_classCallCheck(this,IfcPropertySetTemplate);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.TemplateType=TemplateType;this.ApplicableEntity=ApplicableEntity;this.HasPropertyTemplates=HasPropertyTemplates;}_createClass(IfcPropertySetTemplate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.TemplateType);args.push(this.ApplicableEntity);args.push(this.HasPropertyTemplates);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var TemplateType=tape[ptr++];var ApplicableEntity=tape[ptr++];var HasPropertyTemplates=tape[ptr++];return new IfcPropertySetTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,TemplateType,ApplicableEntity,HasPropertyTemplates);}}]);return IfcPropertySetTemplate;}();var IfcPropertySingleValue=/*#__PURE__*/function(){function IfcPropertySingleValue(expressID,type,Name,Description,NominalValue,Unit){_classCallCheck(this,IfcPropertySingleValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.NominalValue=NominalValue;this.Unit=Unit;}_createClass(IfcPropertySingleValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.NominalValue);args.push(this.Unit);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var NominalValue=tape[ptr++];var Unit=tape[ptr++];return new IfcPropertySingleValue(expressID,type,Name,Description,NominalValue,Unit);}}]);return IfcPropertySingleValue;}();var IfcPropertyTableValue=/*#__PURE__*/function(){function IfcPropertyTableValue(expressID,type,Name,Description,DefiningValues,DefinedValues,Expression,DefiningUnit,DefinedUnit,CurveInterpolation){_classCallCheck(this,IfcPropertyTableValue);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.DefiningValues=DefiningValues;this.DefinedValues=DefinedValues;this.Expression=Expression;this.DefiningUnit=DefiningUnit;this.DefinedUnit=DefinedUnit;this.CurveInterpolation=CurveInterpolation;}_createClass(IfcPropertyTableValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.DefiningValues);args.push(this.DefinedValues);args.push(this.Expression);args.push(this.DefiningUnit);args.push(this.DefinedUnit);args.push(this.CurveInterpolation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var DefiningValues=tape[ptr++];var DefinedValues=tape[ptr++];var Expression=tape[ptr++];var DefiningUnit=tape[ptr++];var DefinedUnit=tape[ptr++];var CurveInterpolation=tape[ptr++];return new IfcPropertyTableValue(expressID,type,Name,Description,DefiningValues,DefinedValues,Expression,DefiningUnit,DefinedUnit,CurveInterpolation);}}]);return IfcPropertyTableValue;}();var IfcPropertyTemplate=/*#__PURE__*/function(){function IfcPropertyTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcPropertyTemplate);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcPropertyTemplate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcPropertyTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcPropertyTemplate;}();var IfcPropertyTemplateDefinition=/*#__PURE__*/function(){function IfcPropertyTemplateDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcPropertyTemplateDefinition);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcPropertyTemplateDefinition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcPropertyTemplateDefinition(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcPropertyTemplateDefinition;}();var IfcProtectiveDevice=/*#__PURE__*/function(){function IfcProtectiveDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcProtectiveDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcProtectiveDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProtectiveDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcProtectiveDevice;}();var IfcProtectiveDeviceTrippingUnit=/*#__PURE__*/function(){function IfcProtectiveDeviceTrippingUnit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcProtectiveDeviceTrippingUnit);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcProtectiveDeviceTrippingUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProtectiveDeviceTrippingUnit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcProtectiveDeviceTrippingUnit;}();var IfcProtectiveDeviceTrippingUnitType=/*#__PURE__*/function(){function IfcProtectiveDeviceTrippingUnitType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcProtectiveDeviceTrippingUnitType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcProtectiveDeviceTrippingUnitType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProtectiveDeviceTrippingUnitType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcProtectiveDeviceTrippingUnitType;}();var IfcProtectiveDeviceType=/*#__PURE__*/function(){function IfcProtectiveDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcProtectiveDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcProtectiveDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcProtectiveDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcProtectiveDeviceType;}();var IfcProxy=/*#__PURE__*/function(){function IfcProxy(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,ProxyType,Tag){_classCallCheck(this,IfcProxy);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.ProxyType=ProxyType;this.Tag=Tag;}_createClass(IfcProxy,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.ProxyType);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var ProxyType=tape[ptr++];var Tag=tape[ptr++];return new IfcProxy(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,ProxyType,Tag);}}]);return IfcProxy;}();var IfcPump=/*#__PURE__*/function(){function IfcPump(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcPump);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcPump,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPump(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcPump;}();var IfcPumpType=/*#__PURE__*/function(){function IfcPumpType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcPumpType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcPumpType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcPumpType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcPumpType;}();var IfcQuantityArea=/*#__PURE__*/function(){function IfcQuantityArea(expressID,type,Name,Description,Unit,AreaValue,Formula){_classCallCheck(this,IfcQuantityArea);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;this.AreaValue=AreaValue;this.Formula=Formula;}_createClass(IfcQuantityArea,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.AreaValue);args.push(this.Formula);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var AreaValue=tape[ptr++];var Formula=tape[ptr++];return new IfcQuantityArea(expressID,type,Name,Description,Unit,AreaValue,Formula);}}]);return IfcQuantityArea;}();var IfcQuantityCount=/*#__PURE__*/function(){function IfcQuantityCount(expressID,type,Name,Description,Unit,CountValue,Formula){_classCallCheck(this,IfcQuantityCount);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;this.CountValue=CountValue;this.Formula=Formula;}_createClass(IfcQuantityCount,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.CountValue);args.push(this.Formula);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var CountValue=tape[ptr++];var Formula=tape[ptr++];return new IfcQuantityCount(expressID,type,Name,Description,Unit,CountValue,Formula);}}]);return IfcQuantityCount;}();var IfcQuantityLength=/*#__PURE__*/function(){function IfcQuantityLength(expressID,type,Name,Description,Unit,LengthValue,Formula){_classCallCheck(this,IfcQuantityLength);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;this.LengthValue=LengthValue;this.Formula=Formula;}_createClass(IfcQuantityLength,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.LengthValue);args.push(this.Formula);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var LengthValue=tape[ptr++];var Formula=tape[ptr++];return new IfcQuantityLength(expressID,type,Name,Description,Unit,LengthValue,Formula);}}]);return IfcQuantityLength;}();var IfcQuantitySet=/*#__PURE__*/function(){function IfcQuantitySet(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcQuantitySet);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcQuantitySet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcQuantitySet(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcQuantitySet;}();var IfcQuantityTime=/*#__PURE__*/function(){function IfcQuantityTime(expressID,type,Name,Description,Unit,TimeValue,Formula){_classCallCheck(this,IfcQuantityTime);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;this.TimeValue=TimeValue;this.Formula=Formula;}_createClass(IfcQuantityTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.TimeValue);args.push(this.Formula);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var TimeValue=tape[ptr++];var Formula=tape[ptr++];return new IfcQuantityTime(expressID,type,Name,Description,Unit,TimeValue,Formula);}}]);return IfcQuantityTime;}();var IfcQuantityVolume=/*#__PURE__*/function(){function IfcQuantityVolume(expressID,type,Name,Description,Unit,VolumeValue,Formula){_classCallCheck(this,IfcQuantityVolume);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;this.VolumeValue=VolumeValue;this.Formula=Formula;}_createClass(IfcQuantityVolume,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.VolumeValue);args.push(this.Formula);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var VolumeValue=tape[ptr++];var Formula=tape[ptr++];return new IfcQuantityVolume(expressID,type,Name,Description,Unit,VolumeValue,Formula);}}]);return IfcQuantityVolume;}();var IfcQuantityWeight=/*#__PURE__*/function(){function IfcQuantityWeight(expressID,type,Name,Description,Unit,WeightValue,Formula){_classCallCheck(this,IfcQuantityWeight);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.Unit=Unit;this.WeightValue=WeightValue;this.Formula=Formula;}_createClass(IfcQuantityWeight,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.WeightValue);args.push(this.Formula);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var WeightValue=tape[ptr++];var Formula=tape[ptr++];return new IfcQuantityWeight(expressID,type,Name,Description,Unit,WeightValue,Formula);}}]);return IfcQuantityWeight;}();var IfcRailing=/*#__PURE__*/function(){function IfcRailing(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcRailing);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcRailing,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRailing(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcRailing;}();var IfcRailingType=/*#__PURE__*/function(){function IfcRailingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcRailingType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcRailingType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRailingType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcRailingType;}();var IfcRamp=/*#__PURE__*/function(){function IfcRamp(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcRamp);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcRamp,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRamp(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcRamp;}();var IfcRampFlight=/*#__PURE__*/function(){function IfcRampFlight(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcRampFlight);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcRampFlight,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRampFlight(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcRampFlight;}();var IfcRampFlightType=/*#__PURE__*/function(){function IfcRampFlightType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcRampFlightType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcRampFlightType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRampFlightType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcRampFlightType;}();var IfcRampType=/*#__PURE__*/function(){function IfcRampType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcRampType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcRampType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRampType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcRampType;}();var IfcRationalBSplineCurveWithKnots=/*#__PURE__*/function(){function IfcRationalBSplineCurveWithKnots(expressID,type,Degree,ControlPointsList,CurveForm,ClosedCurve,SelfIntersect,KnotMultiplicities,Knots,KnotSpec,WeightsData){_classCallCheck(this,IfcRationalBSplineCurveWithKnots);this.expressID=expressID;this.type=type;this.Degree=Degree;this.ControlPointsList=ControlPointsList;this.CurveForm=CurveForm;this.ClosedCurve=ClosedCurve;this.SelfIntersect=SelfIntersect;this.KnotMultiplicities=KnotMultiplicities;this.Knots=Knots;this.KnotSpec=KnotSpec;this.WeightsData=WeightsData;}_createClass(IfcRationalBSplineCurveWithKnots,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Degree);args.push(this.ControlPointsList);args.push(this.CurveForm);args.push(this.ClosedCurve);args.push(this.SelfIntersect);args.push(this.KnotMultiplicities);args.push(this.Knots);args.push(this.KnotSpec);args.push(this.WeightsData);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Degree=tape[ptr++];var ControlPointsList=tape[ptr++];var CurveForm=tape[ptr++];var ClosedCurve=tape[ptr++];var SelfIntersect=tape[ptr++];var KnotMultiplicities=tape[ptr++];var Knots=tape[ptr++];var KnotSpec=tape[ptr++];var WeightsData=tape[ptr++];return new IfcRationalBSplineCurveWithKnots(expressID,type,Degree,ControlPointsList,CurveForm,ClosedCurve,SelfIntersect,KnotMultiplicities,Knots,KnotSpec,WeightsData);}}]);return IfcRationalBSplineCurveWithKnots;}();var IfcRationalBSplineSurfaceWithKnots=/*#__PURE__*/function(){function IfcRationalBSplineSurfaceWithKnots(expressID,type,UDegree,VDegree,ControlPointsList,SurfaceForm,UClosed,VClosed,SelfIntersect,UMultiplicities,VMultiplicities,UKnots,VKnots,KnotSpec,WeightsData){_classCallCheck(this,IfcRationalBSplineSurfaceWithKnots);this.expressID=expressID;this.type=type;this.UDegree=UDegree;this.VDegree=VDegree;this.ControlPointsList=ControlPointsList;this.SurfaceForm=SurfaceForm;this.UClosed=UClosed;this.VClosed=VClosed;this.SelfIntersect=SelfIntersect;this.UMultiplicities=UMultiplicities;this.VMultiplicities=VMultiplicities;this.UKnots=UKnots;this.VKnots=VKnots;this.KnotSpec=KnotSpec;this.WeightsData=WeightsData;}_createClass(IfcRationalBSplineSurfaceWithKnots,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.UDegree);args.push(this.VDegree);args.push(this.ControlPointsList);args.push(this.SurfaceForm);args.push(this.UClosed);args.push(this.VClosed);args.push(this.SelfIntersect);args.push(this.UMultiplicities);args.push(this.VMultiplicities);args.push(this.UKnots);args.push(this.VKnots);args.push(this.KnotSpec);args.push(this.WeightsData);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var UDegree=tape[ptr++];var VDegree=tape[ptr++];var ControlPointsList=tape[ptr++];var SurfaceForm=tape[ptr++];var UClosed=tape[ptr++];var VClosed=tape[ptr++];var SelfIntersect=tape[ptr++];var UMultiplicities=tape[ptr++];var VMultiplicities=tape[ptr++];var UKnots=tape[ptr++];var VKnots=tape[ptr++];var KnotSpec=tape[ptr++];var WeightsData=tape[ptr++];return new IfcRationalBSplineSurfaceWithKnots(expressID,type,UDegree,VDegree,ControlPointsList,SurfaceForm,UClosed,VClosed,SelfIntersect,UMultiplicities,VMultiplicities,UKnots,VKnots,KnotSpec,WeightsData);}}]);return IfcRationalBSplineSurfaceWithKnots;}();var IfcRectangleHollowProfileDef=/*#__PURE__*/function(){function IfcRectangleHollowProfileDef(expressID,type,ProfileType,ProfileName,Position,XDim,YDim,WallThickness,InnerFilletRadius,OuterFilletRadius){_classCallCheck(this,IfcRectangleHollowProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.XDim=XDim;this.YDim=YDim;this.WallThickness=WallThickness;this.InnerFilletRadius=InnerFilletRadius;this.OuterFilletRadius=OuterFilletRadius;}_createClass(IfcRectangleHollowProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.XDim);args.push(this.YDim);args.push(this.WallThickness);args.push(this.InnerFilletRadius);args.push(this.OuterFilletRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var XDim=tape[ptr++];var YDim=tape[ptr++];var WallThickness=tape[ptr++];var InnerFilletRadius=tape[ptr++];var OuterFilletRadius=tape[ptr++];return new IfcRectangleHollowProfileDef(expressID,type,ProfileType,ProfileName,Position,XDim,YDim,WallThickness,InnerFilletRadius,OuterFilletRadius);}}]);return IfcRectangleHollowProfileDef;}();var IfcRectangleProfileDef=/*#__PURE__*/function(){function IfcRectangleProfileDef(expressID,type,ProfileType,ProfileName,Position,XDim,YDim){_classCallCheck(this,IfcRectangleProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.XDim=XDim;this.YDim=YDim;}_createClass(IfcRectangleProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.XDim);args.push(this.YDim);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var XDim=tape[ptr++];var YDim=tape[ptr++];return new IfcRectangleProfileDef(expressID,type,ProfileType,ProfileName,Position,XDim,YDim);}}]);return IfcRectangleProfileDef;}();var IfcRectangularPyramid=/*#__PURE__*/function(){function IfcRectangularPyramid(expressID,type,Position,XLength,YLength,Height){_classCallCheck(this,IfcRectangularPyramid);this.expressID=expressID;this.type=type;this.Position=Position;this.XLength=XLength;this.YLength=YLength;this.Height=Height;}_createClass(IfcRectangularPyramid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.XLength);args.push(this.YLength);args.push(this.Height);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var XLength=tape[ptr++];var YLength=tape[ptr++];var Height=tape[ptr++];return new IfcRectangularPyramid(expressID,type,Position,XLength,YLength,Height);}}]);return IfcRectangularPyramid;}();var IfcRectangularTrimmedSurface=/*#__PURE__*/function(){function IfcRectangularTrimmedSurface(expressID,type,BasisSurface,U1,V1,U2,V2,Usense,Vsense){_classCallCheck(this,IfcRectangularTrimmedSurface);this.expressID=expressID;this.type=type;this.BasisSurface=BasisSurface;this.U1=U1;this.V1=V1;this.U2=U2;this.V2=V2;this.Usense=Usense;this.Vsense=Vsense;}_createClass(IfcRectangularTrimmedSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisSurface);args.push(this.U1);args.push(this.V1);args.push(this.U2);args.push(this.V2);args.push(this.Usense);args.push(this.Vsense);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisSurface=tape[ptr++];var U1=tape[ptr++];var V1=tape[ptr++];var U2=tape[ptr++];var V2=tape[ptr++];var Usense=tape[ptr++];var Vsense=tape[ptr++];return new IfcRectangularTrimmedSurface(expressID,type,BasisSurface,U1,V1,U2,V2,Usense,Vsense);}}]);return IfcRectangularTrimmedSurface;}();var IfcRecurrencePattern=/*#__PURE__*/function(){function IfcRecurrencePattern(expressID,type,RecurrenceType,DayComponent,WeekdayComponent,MonthComponent,Position,Interval,Occurrences,TimePeriods){_classCallCheck(this,IfcRecurrencePattern);this.expressID=expressID;this.type=type;this.RecurrenceType=RecurrenceType;this.DayComponent=DayComponent;this.WeekdayComponent=WeekdayComponent;this.MonthComponent=MonthComponent;this.Position=Position;this.Interval=Interval;this.Occurrences=Occurrences;this.TimePeriods=TimePeriods;}_createClass(IfcRecurrencePattern,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RecurrenceType);args.push(this.DayComponent);args.push(this.WeekdayComponent);args.push(this.MonthComponent);args.push(this.Position);args.push(this.Interval);args.push(this.Occurrences);args.push(this.TimePeriods);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RecurrenceType=tape[ptr++];var DayComponent=tape[ptr++];var WeekdayComponent=tape[ptr++];var MonthComponent=tape[ptr++];var Position=tape[ptr++];var Interval=tape[ptr++];var Occurrences=tape[ptr++];var TimePeriods=tape[ptr++];return new IfcRecurrencePattern(expressID,type,RecurrenceType,DayComponent,WeekdayComponent,MonthComponent,Position,Interval,Occurrences,TimePeriods);}}]);return IfcRecurrencePattern;}();var IfcReference=/*#__PURE__*/function(){function IfcReference(expressID,type,TypeIdentifier,AttributeIdentifier,InstanceName,ListPositions,InnerReference){_classCallCheck(this,IfcReference);this.expressID=expressID;this.type=type;this.TypeIdentifier=TypeIdentifier;this.AttributeIdentifier=AttributeIdentifier;this.InstanceName=InstanceName;this.ListPositions=ListPositions;this.InnerReference=InnerReference;}_createClass(IfcReference,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TypeIdentifier);args.push(this.AttributeIdentifier);args.push(this.InstanceName);args.push(this.ListPositions);args.push(this.InnerReference);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TypeIdentifier=tape[ptr++];var AttributeIdentifier=tape[ptr++];var InstanceName=tape[ptr++];var ListPositions=tape[ptr++];var InnerReference=tape[ptr++];return new IfcReference(expressID,type,TypeIdentifier,AttributeIdentifier,InstanceName,ListPositions,InnerReference);}}]);return IfcReference;}();var IfcReferent=/*#__PURE__*/function(){function IfcReferent(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,RestartDistance){_classCallCheck(this,IfcReferent);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.PredefinedType=PredefinedType;this.RestartDistance=RestartDistance;}_createClass(IfcReferent,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.PredefinedType);args.push(this.RestartDistance);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var PredefinedType=tape[ptr++];var RestartDistance=tape[ptr++];return new IfcReferent(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,RestartDistance);}}]);return IfcReferent;}();var IfcRegularTimeSeries=/*#__PURE__*/function(){function IfcRegularTimeSeries(expressID,type,Name,Description,StartTime,EndTime,TimeSeriesDataType,DataOrigin,UserDefinedDataOrigin,Unit,TimeStep,Values){_classCallCheck(this,IfcRegularTimeSeries);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.StartTime=StartTime;this.EndTime=EndTime;this.TimeSeriesDataType=TimeSeriesDataType;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.Unit=Unit;this.TimeStep=TimeStep;this.Values=Values;}_createClass(IfcRegularTimeSeries,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.StartTime);args.push(this.EndTime);args.push(this.TimeSeriesDataType);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.Unit);args.push(this.TimeStep);args.push(this.Values);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var StartTime=tape[ptr++];var EndTime=tape[ptr++];var TimeSeriesDataType=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var Unit=tape[ptr++];var TimeStep=tape[ptr++];var Values=tape[ptr++];return new IfcRegularTimeSeries(expressID,type,Name,Description,StartTime,EndTime,TimeSeriesDataType,DataOrigin,UserDefinedDataOrigin,Unit,TimeStep,Values);}}]);return IfcRegularTimeSeries;}();var IfcReinforcementBarProperties=/*#__PURE__*/function(){function IfcReinforcementBarProperties(expressID,type,TotalCrossSectionArea,SteelGrade,BarSurface,EffectiveDepth,NominalBarDiameter,BarCount){_classCallCheck(this,IfcReinforcementBarProperties);this.expressID=expressID;this.type=type;this.TotalCrossSectionArea=TotalCrossSectionArea;this.SteelGrade=SteelGrade;this.BarSurface=BarSurface;this.EffectiveDepth=EffectiveDepth;this.NominalBarDiameter=NominalBarDiameter;this.BarCount=BarCount;}_createClass(IfcReinforcementBarProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TotalCrossSectionArea);args.push(this.SteelGrade);args.push(this.BarSurface);args.push(this.EffectiveDepth);args.push(this.NominalBarDiameter);args.push(this.BarCount);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TotalCrossSectionArea=tape[ptr++];var SteelGrade=tape[ptr++];var BarSurface=tape[ptr++];var EffectiveDepth=tape[ptr++];var NominalBarDiameter=tape[ptr++];var BarCount=tape[ptr++];return new IfcReinforcementBarProperties(expressID,type,TotalCrossSectionArea,SteelGrade,BarSurface,EffectiveDepth,NominalBarDiameter,BarCount);}}]);return IfcReinforcementBarProperties;}();var IfcReinforcementDefinitionProperties=/*#__PURE__*/function(){function IfcReinforcementDefinitionProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,DefinitionType,ReinforcementSectionDefinitions){_classCallCheck(this,IfcReinforcementDefinitionProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.DefinitionType=DefinitionType;this.ReinforcementSectionDefinitions=ReinforcementSectionDefinitions;}_createClass(IfcReinforcementDefinitionProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.DefinitionType);args.push(this.ReinforcementSectionDefinitions);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var DefinitionType=tape[ptr++];var ReinforcementSectionDefinitions=tape[ptr++];return new IfcReinforcementDefinitionProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,DefinitionType,ReinforcementSectionDefinitions);}}]);return IfcReinforcementDefinitionProperties;}();var IfcReinforcingBar=/*#__PURE__*/function(){function IfcReinforcingBar(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,NominalDiameter,CrossSectionArea,BarLength,PredefinedType,BarSurface){_classCallCheck(this,IfcReinforcingBar);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.SteelGrade=SteelGrade;this.NominalDiameter=NominalDiameter;this.CrossSectionArea=CrossSectionArea;this.BarLength=BarLength;this.PredefinedType=PredefinedType;this.BarSurface=BarSurface;}_createClass(IfcReinforcingBar,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.SteelGrade);args.push(this.NominalDiameter);args.push(this.CrossSectionArea);args.push(this.BarLength);args.push(this.PredefinedType);args.push(this.BarSurface);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var SteelGrade=tape[ptr++];var NominalDiameter=tape[ptr++];var CrossSectionArea=tape[ptr++];var BarLength=tape[ptr++];var PredefinedType=tape[ptr++];var BarSurface=tape[ptr++];return new IfcReinforcingBar(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,NominalDiameter,CrossSectionArea,BarLength,PredefinedType,BarSurface);}}]);return IfcReinforcingBar;}();var IfcReinforcingBarType=/*#__PURE__*/function(){function IfcReinforcingBarType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,NominalDiameter,CrossSectionArea,BarLength,BarSurface,BendingShapeCode,BendingParameters){_classCallCheck(this,IfcReinforcingBarType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.NominalDiameter=NominalDiameter;this.CrossSectionArea=CrossSectionArea;this.BarLength=BarLength;this.BarSurface=BarSurface;this.BendingShapeCode=BendingShapeCode;this.BendingParameters=BendingParameters;}_createClass(IfcReinforcingBarType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.NominalDiameter);args.push(this.CrossSectionArea);args.push(this.BarLength);args.push(this.BarSurface);args.push(this.BendingShapeCode);args.push(this.BendingParameters);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var NominalDiameter=tape[ptr++];var CrossSectionArea=tape[ptr++];var BarLength=tape[ptr++];var BarSurface=tape[ptr++];var BendingShapeCode=tape[ptr++];var BendingParameters=tape[ptr++];return new IfcReinforcingBarType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,NominalDiameter,CrossSectionArea,BarLength,BarSurface,BendingShapeCode,BendingParameters);}}]);return IfcReinforcingBarType;}();var IfcReinforcingElement=/*#__PURE__*/function(){function IfcReinforcingElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade){_classCallCheck(this,IfcReinforcingElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.SteelGrade=SteelGrade;}_createClass(IfcReinforcingElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.SteelGrade);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var SteelGrade=tape[ptr++];return new IfcReinforcingElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade);}}]);return IfcReinforcingElement;}();var IfcReinforcingElementType=/*#__PURE__*/function(){function IfcReinforcingElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcReinforcingElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcReinforcingElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcReinforcingElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcReinforcingElementType;}();var IfcReinforcingMesh=/*#__PURE__*/function(){function IfcReinforcingMesh(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,MeshLength,MeshWidth,LongitudinalBarNominalDiameter,TransverseBarNominalDiameter,LongitudinalBarCrossSectionArea,TransverseBarCrossSectionArea,LongitudinalBarSpacing,TransverseBarSpacing,PredefinedType){_classCallCheck(this,IfcReinforcingMesh);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.SteelGrade=SteelGrade;this.MeshLength=MeshLength;this.MeshWidth=MeshWidth;this.LongitudinalBarNominalDiameter=LongitudinalBarNominalDiameter;this.TransverseBarNominalDiameter=TransverseBarNominalDiameter;this.LongitudinalBarCrossSectionArea=LongitudinalBarCrossSectionArea;this.TransverseBarCrossSectionArea=TransverseBarCrossSectionArea;this.LongitudinalBarSpacing=LongitudinalBarSpacing;this.TransverseBarSpacing=TransverseBarSpacing;this.PredefinedType=PredefinedType;}_createClass(IfcReinforcingMesh,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.SteelGrade);args.push(this.MeshLength);args.push(this.MeshWidth);args.push(this.LongitudinalBarNominalDiameter);args.push(this.TransverseBarNominalDiameter);args.push(this.LongitudinalBarCrossSectionArea);args.push(this.TransverseBarCrossSectionArea);args.push(this.LongitudinalBarSpacing);args.push(this.TransverseBarSpacing);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var SteelGrade=tape[ptr++];var MeshLength=tape[ptr++];var MeshWidth=tape[ptr++];var LongitudinalBarNominalDiameter=tape[ptr++];var TransverseBarNominalDiameter=tape[ptr++];var LongitudinalBarCrossSectionArea=tape[ptr++];var TransverseBarCrossSectionArea=tape[ptr++];var LongitudinalBarSpacing=tape[ptr++];var TransverseBarSpacing=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcReinforcingMesh(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,MeshLength,MeshWidth,LongitudinalBarNominalDiameter,TransverseBarNominalDiameter,LongitudinalBarCrossSectionArea,TransverseBarCrossSectionArea,LongitudinalBarSpacing,TransverseBarSpacing,PredefinedType);}}]);return IfcReinforcingMesh;}();var IfcReinforcingMeshType=/*#__PURE__*/function(){function IfcReinforcingMeshType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,MeshLength,MeshWidth,LongitudinalBarNominalDiameter,TransverseBarNominalDiameter,LongitudinalBarCrossSectionArea,TransverseBarCrossSectionArea,LongitudinalBarSpacing,TransverseBarSpacing,BendingShapeCode,BendingParameters){_classCallCheck(this,IfcReinforcingMeshType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.MeshLength=MeshLength;this.MeshWidth=MeshWidth;this.LongitudinalBarNominalDiameter=LongitudinalBarNominalDiameter;this.TransverseBarNominalDiameter=TransverseBarNominalDiameter;this.LongitudinalBarCrossSectionArea=LongitudinalBarCrossSectionArea;this.TransverseBarCrossSectionArea=TransverseBarCrossSectionArea;this.LongitudinalBarSpacing=LongitudinalBarSpacing;this.TransverseBarSpacing=TransverseBarSpacing;this.BendingShapeCode=BendingShapeCode;this.BendingParameters=BendingParameters;}_createClass(IfcReinforcingMeshType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.MeshLength);args.push(this.MeshWidth);args.push(this.LongitudinalBarNominalDiameter);args.push(this.TransverseBarNominalDiameter);args.push(this.LongitudinalBarCrossSectionArea);args.push(this.TransverseBarCrossSectionArea);args.push(this.LongitudinalBarSpacing);args.push(this.TransverseBarSpacing);args.push(this.BendingShapeCode);args.push(this.BendingParameters);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var MeshLength=tape[ptr++];var MeshWidth=tape[ptr++];var LongitudinalBarNominalDiameter=tape[ptr++];var TransverseBarNominalDiameter=tape[ptr++];var LongitudinalBarCrossSectionArea=tape[ptr++];var TransverseBarCrossSectionArea=tape[ptr++];var LongitudinalBarSpacing=tape[ptr++];var TransverseBarSpacing=tape[ptr++];var BendingShapeCode=tape[ptr++];var BendingParameters=tape[ptr++];return new IfcReinforcingMeshType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,MeshLength,MeshWidth,LongitudinalBarNominalDiameter,TransverseBarNominalDiameter,LongitudinalBarCrossSectionArea,TransverseBarCrossSectionArea,LongitudinalBarSpacing,TransverseBarSpacing,BendingShapeCode,BendingParameters);}}]);return IfcReinforcingMeshType;}();var IfcRelAggregates=/*#__PURE__*/function(){function IfcRelAggregates(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingObject,RelatedObjects){_classCallCheck(this,IfcRelAggregates);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingObject=RelatingObject;this.RelatedObjects=RelatedObjects;}_createClass(IfcRelAggregates,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingObject);args.push(this.RelatedObjects);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingObject=tape[ptr++];var RelatedObjects=tape[ptr++];return new IfcRelAggregates(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingObject,RelatedObjects);}}]);return IfcRelAggregates;}();var IfcRelAssigns=/*#__PURE__*/function(){function IfcRelAssigns(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType){_classCallCheck(this,IfcRelAssigns);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;}_createClass(IfcRelAssigns,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];return new IfcRelAssigns(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType);}}]);return IfcRelAssigns;}();var IfcRelAssignsToActor=/*#__PURE__*/function(){function IfcRelAssignsToActor(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingActor,ActingRole){_classCallCheck(this,IfcRelAssignsToActor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingActor=RelatingActor;this.ActingRole=ActingRole;}_createClass(IfcRelAssignsToActor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingActor);args.push(this.ActingRole);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingActor=tape[ptr++];var ActingRole=tape[ptr++];return new IfcRelAssignsToActor(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingActor,ActingRole);}}]);return IfcRelAssignsToActor;}();var IfcRelAssignsToControl=/*#__PURE__*/function(){function IfcRelAssignsToControl(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingControl){_classCallCheck(this,IfcRelAssignsToControl);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingControl=RelatingControl;}_createClass(IfcRelAssignsToControl,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingControl);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingControl=tape[ptr++];return new IfcRelAssignsToControl(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingControl);}}]);return IfcRelAssignsToControl;}();var IfcRelAssignsToGroup=/*#__PURE__*/function(){function IfcRelAssignsToGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingGroup){_classCallCheck(this,IfcRelAssignsToGroup);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingGroup=RelatingGroup;}_createClass(IfcRelAssignsToGroup,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingGroup);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingGroup=tape[ptr++];return new IfcRelAssignsToGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingGroup);}}]);return IfcRelAssignsToGroup;}();var IfcRelAssignsToGroupByFactor=/*#__PURE__*/function(){function IfcRelAssignsToGroupByFactor(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingGroup,Factor){_classCallCheck(this,IfcRelAssignsToGroupByFactor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingGroup=RelatingGroup;this.Factor=Factor;}_createClass(IfcRelAssignsToGroupByFactor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingGroup);args.push(this.Factor);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingGroup=tape[ptr++];var Factor=tape[ptr++];return new IfcRelAssignsToGroupByFactor(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingGroup,Factor);}}]);return IfcRelAssignsToGroupByFactor;}();var IfcRelAssignsToProcess=/*#__PURE__*/function(){function IfcRelAssignsToProcess(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingProcess,QuantityInProcess){_classCallCheck(this,IfcRelAssignsToProcess);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingProcess=RelatingProcess;this.QuantityInProcess=QuantityInProcess;}_createClass(IfcRelAssignsToProcess,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingProcess);args.push(this.QuantityInProcess);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingProcess=tape[ptr++];var QuantityInProcess=tape[ptr++];return new IfcRelAssignsToProcess(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingProcess,QuantityInProcess);}}]);return IfcRelAssignsToProcess;}();var IfcRelAssignsToProduct=/*#__PURE__*/function(){function IfcRelAssignsToProduct(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingProduct){_classCallCheck(this,IfcRelAssignsToProduct);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingProduct=RelatingProduct;}_createClass(IfcRelAssignsToProduct,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingProduct);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingProduct=tape[ptr++];return new IfcRelAssignsToProduct(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingProduct);}}]);return IfcRelAssignsToProduct;}();var IfcRelAssignsToResource=/*#__PURE__*/function(){function IfcRelAssignsToResource(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingResource){_classCallCheck(this,IfcRelAssignsToResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatedObjectsType=RelatedObjectsType;this.RelatingResource=RelatingResource;}_createClass(IfcRelAssignsToResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatedObjectsType);args.push(this.RelatingResource);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatedObjectsType=tape[ptr++];var RelatingResource=tape[ptr++];return new IfcRelAssignsToResource(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatedObjectsType,RelatingResource);}}]);return IfcRelAssignsToResource;}();var IfcRelAssociates=/*#__PURE__*/function(){function IfcRelAssociates(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects){_classCallCheck(this,IfcRelAssociates);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;}_createClass(IfcRelAssociates,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];return new IfcRelAssociates(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects);}}]);return IfcRelAssociates;}();var IfcRelAssociatesApproval=/*#__PURE__*/function(){function IfcRelAssociatesApproval(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingApproval){_classCallCheck(this,IfcRelAssociatesApproval);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingApproval=RelatingApproval;}_createClass(IfcRelAssociatesApproval,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingApproval);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingApproval=tape[ptr++];return new IfcRelAssociatesApproval(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingApproval);}}]);return IfcRelAssociatesApproval;}();var IfcRelAssociatesClassification=/*#__PURE__*/function(){function IfcRelAssociatesClassification(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingClassification){_classCallCheck(this,IfcRelAssociatesClassification);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingClassification=RelatingClassification;}_createClass(IfcRelAssociatesClassification,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingClassification);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingClassification=tape[ptr++];return new IfcRelAssociatesClassification(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingClassification);}}]);return IfcRelAssociatesClassification;}();var IfcRelAssociatesConstraint=/*#__PURE__*/function(){function IfcRelAssociatesConstraint(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,Intent,RelatingConstraint){_classCallCheck(this,IfcRelAssociatesConstraint);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.Intent=Intent;this.RelatingConstraint=RelatingConstraint;}_createClass(IfcRelAssociatesConstraint,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.Intent);args.push(this.RelatingConstraint);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var Intent=tape[ptr++];var RelatingConstraint=tape[ptr++];return new IfcRelAssociatesConstraint(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,Intent,RelatingConstraint);}}]);return IfcRelAssociatesConstraint;}();var IfcRelAssociatesDocument=/*#__PURE__*/function(){function IfcRelAssociatesDocument(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingDocument){_classCallCheck(this,IfcRelAssociatesDocument);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingDocument=RelatingDocument;}_createClass(IfcRelAssociatesDocument,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingDocument);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingDocument=tape[ptr++];return new IfcRelAssociatesDocument(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingDocument);}}]);return IfcRelAssociatesDocument;}();var IfcRelAssociatesLibrary=/*#__PURE__*/function(){function IfcRelAssociatesLibrary(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingLibrary){_classCallCheck(this,IfcRelAssociatesLibrary);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingLibrary=RelatingLibrary;}_createClass(IfcRelAssociatesLibrary,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingLibrary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingLibrary=tape[ptr++];return new IfcRelAssociatesLibrary(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingLibrary);}}]);return IfcRelAssociatesLibrary;}();var IfcRelAssociatesMaterial=/*#__PURE__*/function(){function IfcRelAssociatesMaterial(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingMaterial){_classCallCheck(this,IfcRelAssociatesMaterial);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingMaterial=RelatingMaterial;}_createClass(IfcRelAssociatesMaterial,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingMaterial);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingMaterial=tape[ptr++];return new IfcRelAssociatesMaterial(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingMaterial);}}]);return IfcRelAssociatesMaterial;}();var IfcRelConnects=/*#__PURE__*/function(){function IfcRelConnects(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcRelConnects);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcRelConnects,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcRelConnects(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcRelConnects;}();var IfcRelConnectsElements=/*#__PURE__*/function(){function IfcRelConnectsElements(expressID,type,GlobalId,OwnerHistory,Name,Description,ConnectionGeometry,RelatingElement,RelatedElement){_classCallCheck(this,IfcRelConnectsElements);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ConnectionGeometry=ConnectionGeometry;this.RelatingElement=RelatingElement;this.RelatedElement=RelatedElement;}_createClass(IfcRelConnectsElements,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ConnectionGeometry);args.push(this.RelatingElement);args.push(this.RelatedElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ConnectionGeometry=tape[ptr++];var RelatingElement=tape[ptr++];var RelatedElement=tape[ptr++];return new IfcRelConnectsElements(expressID,type,GlobalId,OwnerHistory,Name,Description,ConnectionGeometry,RelatingElement,RelatedElement);}}]);return IfcRelConnectsElements;}();var IfcRelConnectsPathElements=/*#__PURE__*/function(){function IfcRelConnectsPathElements(expressID,type,GlobalId,OwnerHistory,Name,Description,ConnectionGeometry,RelatingElement,RelatedElement,RelatingPriorities,RelatedPriorities,RelatedConnectionType,RelatingConnectionType){_classCallCheck(this,IfcRelConnectsPathElements);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ConnectionGeometry=ConnectionGeometry;this.RelatingElement=RelatingElement;this.RelatedElement=RelatedElement;this.RelatingPriorities=RelatingPriorities;this.RelatedPriorities=RelatedPriorities;this.RelatedConnectionType=RelatedConnectionType;this.RelatingConnectionType=RelatingConnectionType;}_createClass(IfcRelConnectsPathElements,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ConnectionGeometry);args.push(this.RelatingElement);args.push(this.RelatedElement);args.push(this.RelatingPriorities);args.push(this.RelatedPriorities);args.push(this.RelatedConnectionType);args.push(this.RelatingConnectionType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ConnectionGeometry=tape[ptr++];var RelatingElement=tape[ptr++];var RelatedElement=tape[ptr++];var RelatingPriorities=tape[ptr++];var RelatedPriorities=tape[ptr++];var RelatedConnectionType=tape[ptr++];var RelatingConnectionType=tape[ptr++];return new IfcRelConnectsPathElements(expressID,type,GlobalId,OwnerHistory,Name,Description,ConnectionGeometry,RelatingElement,RelatedElement,RelatingPriorities,RelatedPriorities,RelatedConnectionType,RelatingConnectionType);}}]);return IfcRelConnectsPathElements;}();var IfcRelConnectsPortToElement=/*#__PURE__*/function(){function IfcRelConnectsPortToElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingPort,RelatedElement){_classCallCheck(this,IfcRelConnectsPortToElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingPort=RelatingPort;this.RelatedElement=RelatedElement;}_createClass(IfcRelConnectsPortToElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingPort);args.push(this.RelatedElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingPort=tape[ptr++];var RelatedElement=tape[ptr++];return new IfcRelConnectsPortToElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingPort,RelatedElement);}}]);return IfcRelConnectsPortToElement;}();var IfcRelConnectsPorts=/*#__PURE__*/function(){function IfcRelConnectsPorts(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingPort,RelatedPort,RealizingElement){_classCallCheck(this,IfcRelConnectsPorts);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingPort=RelatingPort;this.RelatedPort=RelatedPort;this.RealizingElement=RealizingElement;}_createClass(IfcRelConnectsPorts,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingPort);args.push(this.RelatedPort);args.push(this.RealizingElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingPort=tape[ptr++];var RelatedPort=tape[ptr++];var RealizingElement=tape[ptr++];return new IfcRelConnectsPorts(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingPort,RelatedPort,RealizingElement);}}]);return IfcRelConnectsPorts;}();var IfcRelConnectsStructuralActivity=/*#__PURE__*/function(){function IfcRelConnectsStructuralActivity(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingElement,RelatedStructuralActivity){_classCallCheck(this,IfcRelConnectsStructuralActivity);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingElement=RelatingElement;this.RelatedStructuralActivity=RelatedStructuralActivity;}_createClass(IfcRelConnectsStructuralActivity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingElement);args.push(this.RelatedStructuralActivity);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingElement=tape[ptr++];var RelatedStructuralActivity=tape[ptr++];return new IfcRelConnectsStructuralActivity(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingElement,RelatedStructuralActivity);}}]);return IfcRelConnectsStructuralActivity;}();var IfcRelConnectsStructuralMember=/*#__PURE__*/function(){function IfcRelConnectsStructuralMember(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingStructuralMember,RelatedStructuralConnection,AppliedCondition,AdditionalConditions,SupportedLength,ConditionCoordinateSystem){_classCallCheck(this,IfcRelConnectsStructuralMember);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingStructuralMember=RelatingStructuralMember;this.RelatedStructuralConnection=RelatedStructuralConnection;this.AppliedCondition=AppliedCondition;this.AdditionalConditions=AdditionalConditions;this.SupportedLength=SupportedLength;this.ConditionCoordinateSystem=ConditionCoordinateSystem;}_createClass(IfcRelConnectsStructuralMember,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingStructuralMember);args.push(this.RelatedStructuralConnection);args.push(this.AppliedCondition);args.push(this.AdditionalConditions);args.push(this.SupportedLength);args.push(this.ConditionCoordinateSystem);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingStructuralMember=tape[ptr++];var RelatedStructuralConnection=tape[ptr++];var AppliedCondition=tape[ptr++];var AdditionalConditions=tape[ptr++];var SupportedLength=tape[ptr++];var ConditionCoordinateSystem=tape[ptr++];return new IfcRelConnectsStructuralMember(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingStructuralMember,RelatedStructuralConnection,AppliedCondition,AdditionalConditions,SupportedLength,ConditionCoordinateSystem);}}]);return IfcRelConnectsStructuralMember;}();var IfcRelConnectsWithEccentricity=/*#__PURE__*/function(){function IfcRelConnectsWithEccentricity(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingStructuralMember,RelatedStructuralConnection,AppliedCondition,AdditionalConditions,SupportedLength,ConditionCoordinateSystem,ConnectionConstraint){_classCallCheck(this,IfcRelConnectsWithEccentricity);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingStructuralMember=RelatingStructuralMember;this.RelatedStructuralConnection=RelatedStructuralConnection;this.AppliedCondition=AppliedCondition;this.AdditionalConditions=AdditionalConditions;this.SupportedLength=SupportedLength;this.ConditionCoordinateSystem=ConditionCoordinateSystem;this.ConnectionConstraint=ConnectionConstraint;}_createClass(IfcRelConnectsWithEccentricity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingStructuralMember);args.push(this.RelatedStructuralConnection);args.push(this.AppliedCondition);args.push(this.AdditionalConditions);args.push(this.SupportedLength);args.push(this.ConditionCoordinateSystem);args.push(this.ConnectionConstraint);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingStructuralMember=tape[ptr++];var RelatedStructuralConnection=tape[ptr++];var AppliedCondition=tape[ptr++];var AdditionalConditions=tape[ptr++];var SupportedLength=tape[ptr++];var ConditionCoordinateSystem=tape[ptr++];var ConnectionConstraint=tape[ptr++];return new IfcRelConnectsWithEccentricity(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingStructuralMember,RelatedStructuralConnection,AppliedCondition,AdditionalConditions,SupportedLength,ConditionCoordinateSystem,ConnectionConstraint);}}]);return IfcRelConnectsWithEccentricity;}();var IfcRelConnectsWithRealizingElements=/*#__PURE__*/function(){function IfcRelConnectsWithRealizingElements(expressID,type,GlobalId,OwnerHistory,Name,Description,ConnectionGeometry,RelatingElement,RelatedElement,RealizingElements,ConnectionType){_classCallCheck(this,IfcRelConnectsWithRealizingElements);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ConnectionGeometry=ConnectionGeometry;this.RelatingElement=RelatingElement;this.RelatedElement=RelatedElement;this.RealizingElements=RealizingElements;this.ConnectionType=ConnectionType;}_createClass(IfcRelConnectsWithRealizingElements,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ConnectionGeometry);args.push(this.RelatingElement);args.push(this.RelatedElement);args.push(this.RealizingElements);args.push(this.ConnectionType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ConnectionGeometry=tape[ptr++];var RelatingElement=tape[ptr++];var RelatedElement=tape[ptr++];var RealizingElements=tape[ptr++];var ConnectionType=tape[ptr++];return new IfcRelConnectsWithRealizingElements(expressID,type,GlobalId,OwnerHistory,Name,Description,ConnectionGeometry,RelatingElement,RelatedElement,RealizingElements,ConnectionType);}}]);return IfcRelConnectsWithRealizingElements;}();var IfcRelContainedInSpatialStructure=/*#__PURE__*/function(){function IfcRelContainedInSpatialStructure(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedElements,RelatingStructure){_classCallCheck(this,IfcRelContainedInSpatialStructure);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedElements=RelatedElements;this.RelatingStructure=RelatingStructure;}_createClass(IfcRelContainedInSpatialStructure,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedElements);args.push(this.RelatingStructure);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedElements=tape[ptr++];var RelatingStructure=tape[ptr++];return new IfcRelContainedInSpatialStructure(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedElements,RelatingStructure);}}]);return IfcRelContainedInSpatialStructure;}();var IfcRelCoversBldgElements=/*#__PURE__*/function(){function IfcRelCoversBldgElements(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingBuildingElement,RelatedCoverings){_classCallCheck(this,IfcRelCoversBldgElements);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingBuildingElement=RelatingBuildingElement;this.RelatedCoverings=RelatedCoverings;}_createClass(IfcRelCoversBldgElements,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingBuildingElement);args.push(this.RelatedCoverings);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingBuildingElement=tape[ptr++];var RelatedCoverings=tape[ptr++];return new IfcRelCoversBldgElements(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingBuildingElement,RelatedCoverings);}}]);return IfcRelCoversBldgElements;}();var IfcRelCoversSpaces=/*#__PURE__*/function(){function IfcRelCoversSpaces(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedCoverings){_classCallCheck(this,IfcRelCoversSpaces);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingSpace=RelatingSpace;this.RelatedCoverings=RelatedCoverings;}_createClass(IfcRelCoversSpaces,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingSpace);args.push(this.RelatedCoverings);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingSpace=tape[ptr++];var RelatedCoverings=tape[ptr++];return new IfcRelCoversSpaces(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedCoverings);}}]);return IfcRelCoversSpaces;}();var IfcRelDeclares=/*#__PURE__*/function(){function IfcRelDeclares(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingContext,RelatedDefinitions){_classCallCheck(this,IfcRelDeclares);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingContext=RelatingContext;this.RelatedDefinitions=RelatedDefinitions;}_createClass(IfcRelDeclares,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingContext);args.push(this.RelatedDefinitions);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingContext=tape[ptr++];var RelatedDefinitions=tape[ptr++];return new IfcRelDeclares(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingContext,RelatedDefinitions);}}]);return IfcRelDeclares;}();var IfcRelDecomposes=/*#__PURE__*/function(){function IfcRelDecomposes(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcRelDecomposes);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcRelDecomposes,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcRelDecomposes(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcRelDecomposes;}();var IfcRelDefines=/*#__PURE__*/function(){function IfcRelDefines(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcRelDefines);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcRelDefines,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcRelDefines(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcRelDefines;}();var IfcRelDefinesByObject=/*#__PURE__*/function(){function IfcRelDefinesByObject(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingObject){_classCallCheck(this,IfcRelDefinesByObject);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingObject=RelatingObject;}_createClass(IfcRelDefinesByObject,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingObject);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingObject=tape[ptr++];return new IfcRelDefinesByObject(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingObject);}}]);return IfcRelDefinesByObject;}();var IfcRelDefinesByProperties=/*#__PURE__*/function(){function IfcRelDefinesByProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingPropertyDefinition){_classCallCheck(this,IfcRelDefinesByProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingPropertyDefinition=RelatingPropertyDefinition;}_createClass(IfcRelDefinesByProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingPropertyDefinition);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingPropertyDefinition=tape[ptr++];return new IfcRelDefinesByProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingPropertyDefinition);}}]);return IfcRelDefinesByProperties;}();var IfcRelDefinesByTemplate=/*#__PURE__*/function(){function IfcRelDefinesByTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedPropertySets,RelatingTemplate){_classCallCheck(this,IfcRelDefinesByTemplate);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedPropertySets=RelatedPropertySets;this.RelatingTemplate=RelatingTemplate;}_createClass(IfcRelDefinesByTemplate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedPropertySets);args.push(this.RelatingTemplate);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedPropertySets=tape[ptr++];var RelatingTemplate=tape[ptr++];return new IfcRelDefinesByTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedPropertySets,RelatingTemplate);}}]);return IfcRelDefinesByTemplate;}();var IfcRelDefinesByType=/*#__PURE__*/function(){function IfcRelDefinesByType(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingType){_classCallCheck(this,IfcRelDefinesByType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedObjects=RelatedObjects;this.RelatingType=RelatingType;}_createClass(IfcRelDefinesByType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedObjects);args.push(this.RelatingType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedObjects=tape[ptr++];var RelatingType=tape[ptr++];return new IfcRelDefinesByType(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedObjects,RelatingType);}}]);return IfcRelDefinesByType;}();var IfcRelFillsElement=/*#__PURE__*/function(){function IfcRelFillsElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingOpeningElement,RelatedBuildingElement){_classCallCheck(this,IfcRelFillsElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingOpeningElement=RelatingOpeningElement;this.RelatedBuildingElement=RelatedBuildingElement;}_createClass(IfcRelFillsElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingOpeningElement);args.push(this.RelatedBuildingElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingOpeningElement=tape[ptr++];var RelatedBuildingElement=tape[ptr++];return new IfcRelFillsElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingOpeningElement,RelatedBuildingElement);}}]);return IfcRelFillsElement;}();var IfcRelFlowControlElements=/*#__PURE__*/function(){function IfcRelFlowControlElements(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedControlElements,RelatingFlowElement){_classCallCheck(this,IfcRelFlowControlElements);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedControlElements=RelatedControlElements;this.RelatingFlowElement=RelatingFlowElement;}_createClass(IfcRelFlowControlElements,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedControlElements);args.push(this.RelatingFlowElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedControlElements=tape[ptr++];var RelatingFlowElement=tape[ptr++];return new IfcRelFlowControlElements(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedControlElements,RelatingFlowElement);}}]);return IfcRelFlowControlElements;}();var IfcRelInterferesElements=/*#__PURE__*/function(){function IfcRelInterferesElements(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingElement,RelatedElement,InterferenceGeometry,InterferenceType,ImpliedOrder){_classCallCheck(this,IfcRelInterferesElements);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingElement=RelatingElement;this.RelatedElement=RelatedElement;this.InterferenceGeometry=InterferenceGeometry;this.InterferenceType=InterferenceType;this.ImpliedOrder=ImpliedOrder;}_createClass(IfcRelInterferesElements,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingElement);args.push(this.RelatedElement);args.push(this.InterferenceGeometry);args.push(this.InterferenceType);args.push(this.ImpliedOrder);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingElement=tape[ptr++];var RelatedElement=tape[ptr++];var InterferenceGeometry=tape[ptr++];var InterferenceType=tape[ptr++];var ImpliedOrder=tape[ptr++];return new IfcRelInterferesElements(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingElement,RelatedElement,InterferenceGeometry,InterferenceType,ImpliedOrder);}}]);return IfcRelInterferesElements;}();var IfcRelNests=/*#__PURE__*/function(){function IfcRelNests(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingObject,RelatedObjects){_classCallCheck(this,IfcRelNests);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingObject=RelatingObject;this.RelatedObjects=RelatedObjects;}_createClass(IfcRelNests,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingObject);args.push(this.RelatedObjects);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingObject=tape[ptr++];var RelatedObjects=tape[ptr++];return new IfcRelNests(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingObject,RelatedObjects);}}]);return IfcRelNests;}();var IfcRelPositions=/*#__PURE__*/function(){function IfcRelPositions(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingPositioningElement,RelatedProducts){_classCallCheck(this,IfcRelPositions);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingPositioningElement=RelatingPositioningElement;this.RelatedProducts=RelatedProducts;}_createClass(IfcRelPositions,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingPositioningElement);args.push(this.RelatedProducts);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingPositioningElement=tape[ptr++];var RelatedProducts=tape[ptr++];return new IfcRelPositions(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingPositioningElement,RelatedProducts);}}]);return IfcRelPositions;}();var IfcRelProjectsElement=/*#__PURE__*/function(){function IfcRelProjectsElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingElement,RelatedFeatureElement){_classCallCheck(this,IfcRelProjectsElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingElement=RelatingElement;this.RelatedFeatureElement=RelatedFeatureElement;}_createClass(IfcRelProjectsElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingElement);args.push(this.RelatedFeatureElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingElement=tape[ptr++];var RelatedFeatureElement=tape[ptr++];return new IfcRelProjectsElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingElement,RelatedFeatureElement);}}]);return IfcRelProjectsElement;}();var IfcRelReferencedInSpatialStructure=/*#__PURE__*/function(){function IfcRelReferencedInSpatialStructure(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedElements,RelatingStructure){_classCallCheck(this,IfcRelReferencedInSpatialStructure);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatedElements=RelatedElements;this.RelatingStructure=RelatingStructure;}_createClass(IfcRelReferencedInSpatialStructure,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatedElements);args.push(this.RelatingStructure);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatedElements=tape[ptr++];var RelatingStructure=tape[ptr++];return new IfcRelReferencedInSpatialStructure(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatedElements,RelatingStructure);}}]);return IfcRelReferencedInSpatialStructure;}();var IfcRelSequence=/*#__PURE__*/function(){function IfcRelSequence(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingProcess,RelatedProcess,TimeLag,SequenceType,UserDefinedSequenceType){_classCallCheck(this,IfcRelSequence);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingProcess=RelatingProcess;this.RelatedProcess=RelatedProcess;this.TimeLag=TimeLag;this.SequenceType=SequenceType;this.UserDefinedSequenceType=UserDefinedSequenceType;}_createClass(IfcRelSequence,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingProcess);args.push(this.RelatedProcess);args.push(this.TimeLag);args.push(this.SequenceType);args.push(this.UserDefinedSequenceType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingProcess=tape[ptr++];var RelatedProcess=tape[ptr++];var TimeLag=tape[ptr++];var SequenceType=tape[ptr++];var UserDefinedSequenceType=tape[ptr++];return new IfcRelSequence(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingProcess,RelatedProcess,TimeLag,SequenceType,UserDefinedSequenceType);}}]);return IfcRelSequence;}();var IfcRelServicesBuildings=/*#__PURE__*/function(){function IfcRelServicesBuildings(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSystem,RelatedBuildings){_classCallCheck(this,IfcRelServicesBuildings);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingSystem=RelatingSystem;this.RelatedBuildings=RelatedBuildings;}_createClass(IfcRelServicesBuildings,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingSystem);args.push(this.RelatedBuildings);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingSystem=tape[ptr++];var RelatedBuildings=tape[ptr++];return new IfcRelServicesBuildings(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSystem,RelatedBuildings);}}]);return IfcRelServicesBuildings;}();var IfcRelSpaceBoundary=/*#__PURE__*/function(){function IfcRelSpaceBoundary(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedBuildingElement,ConnectionGeometry,PhysicalOrVirtualBoundary,InternalOrExternalBoundary){_classCallCheck(this,IfcRelSpaceBoundary);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingSpace=RelatingSpace;this.RelatedBuildingElement=RelatedBuildingElement;this.ConnectionGeometry=ConnectionGeometry;this.PhysicalOrVirtualBoundary=PhysicalOrVirtualBoundary;this.InternalOrExternalBoundary=InternalOrExternalBoundary;}_createClass(IfcRelSpaceBoundary,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingSpace);args.push(this.RelatedBuildingElement);args.push(this.ConnectionGeometry);args.push(this.PhysicalOrVirtualBoundary);args.push(this.InternalOrExternalBoundary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingSpace=tape[ptr++];var RelatedBuildingElement=tape[ptr++];var ConnectionGeometry=tape[ptr++];var PhysicalOrVirtualBoundary=tape[ptr++];var InternalOrExternalBoundary=tape[ptr++];return new IfcRelSpaceBoundary(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedBuildingElement,ConnectionGeometry,PhysicalOrVirtualBoundary,InternalOrExternalBoundary);}}]);return IfcRelSpaceBoundary;}();var IfcRelSpaceBoundary1stLevel=/*#__PURE__*/function(){function IfcRelSpaceBoundary1stLevel(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedBuildingElement,ConnectionGeometry,PhysicalOrVirtualBoundary,InternalOrExternalBoundary,ParentBoundary){_classCallCheck(this,IfcRelSpaceBoundary1stLevel);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingSpace=RelatingSpace;this.RelatedBuildingElement=RelatedBuildingElement;this.ConnectionGeometry=ConnectionGeometry;this.PhysicalOrVirtualBoundary=PhysicalOrVirtualBoundary;this.InternalOrExternalBoundary=InternalOrExternalBoundary;this.ParentBoundary=ParentBoundary;}_createClass(IfcRelSpaceBoundary1stLevel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingSpace);args.push(this.RelatedBuildingElement);args.push(this.ConnectionGeometry);args.push(this.PhysicalOrVirtualBoundary);args.push(this.InternalOrExternalBoundary);args.push(this.ParentBoundary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingSpace=tape[ptr++];var RelatedBuildingElement=tape[ptr++];var ConnectionGeometry=tape[ptr++];var PhysicalOrVirtualBoundary=tape[ptr++];var InternalOrExternalBoundary=tape[ptr++];var ParentBoundary=tape[ptr++];return new IfcRelSpaceBoundary1stLevel(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedBuildingElement,ConnectionGeometry,PhysicalOrVirtualBoundary,InternalOrExternalBoundary,ParentBoundary);}}]);return IfcRelSpaceBoundary1stLevel;}();var IfcRelSpaceBoundary2ndLevel=/*#__PURE__*/function(){function IfcRelSpaceBoundary2ndLevel(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedBuildingElement,ConnectionGeometry,PhysicalOrVirtualBoundary,InternalOrExternalBoundary,ParentBoundary,CorrespondingBoundary){_classCallCheck(this,IfcRelSpaceBoundary2ndLevel);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingSpace=RelatingSpace;this.RelatedBuildingElement=RelatedBuildingElement;this.ConnectionGeometry=ConnectionGeometry;this.PhysicalOrVirtualBoundary=PhysicalOrVirtualBoundary;this.InternalOrExternalBoundary=InternalOrExternalBoundary;this.ParentBoundary=ParentBoundary;this.CorrespondingBoundary=CorrespondingBoundary;}_createClass(IfcRelSpaceBoundary2ndLevel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingSpace);args.push(this.RelatedBuildingElement);args.push(this.ConnectionGeometry);args.push(this.PhysicalOrVirtualBoundary);args.push(this.InternalOrExternalBoundary);args.push(this.ParentBoundary);args.push(this.CorrespondingBoundary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingSpace=tape[ptr++];var RelatedBuildingElement=tape[ptr++];var ConnectionGeometry=tape[ptr++];var PhysicalOrVirtualBoundary=tape[ptr++];var InternalOrExternalBoundary=tape[ptr++];var ParentBoundary=tape[ptr++];var CorrespondingBoundary=tape[ptr++];return new IfcRelSpaceBoundary2ndLevel(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingSpace,RelatedBuildingElement,ConnectionGeometry,PhysicalOrVirtualBoundary,InternalOrExternalBoundary,ParentBoundary,CorrespondingBoundary);}}]);return IfcRelSpaceBoundary2ndLevel;}();var IfcRelVoidsElement=/*#__PURE__*/function(){function IfcRelVoidsElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingBuildingElement,RelatedOpeningElement){_classCallCheck(this,IfcRelVoidsElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.RelatingBuildingElement=RelatingBuildingElement;this.RelatedOpeningElement=RelatedOpeningElement;}_createClass(IfcRelVoidsElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.RelatingBuildingElement);args.push(this.RelatedOpeningElement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var RelatingBuildingElement=tape[ptr++];var RelatedOpeningElement=tape[ptr++];return new IfcRelVoidsElement(expressID,type,GlobalId,OwnerHistory,Name,Description,RelatingBuildingElement,RelatedOpeningElement);}}]);return IfcRelVoidsElement;}();var IfcRelationship=/*#__PURE__*/function(){function IfcRelationship(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcRelationship);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcRelationship(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcRelationship;}();var IfcReparametrisedCompositeCurveSegment=/*#__PURE__*/function(){function IfcReparametrisedCompositeCurveSegment(expressID,type,Transition,SameSense,ParentCurve,ParamLength){_classCallCheck(this,IfcReparametrisedCompositeCurveSegment);this.expressID=expressID;this.type=type;this.Transition=Transition;this.SameSense=SameSense;this.ParentCurve=ParentCurve;this.ParamLength=ParamLength;}_createClass(IfcReparametrisedCompositeCurveSegment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Transition);args.push(this.SameSense);args.push(this.ParentCurve);args.push(this.ParamLength);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Transition=tape[ptr++];var SameSense=tape[ptr++];var ParentCurve=tape[ptr++];var ParamLength=tape[ptr++];return new IfcReparametrisedCompositeCurveSegment(expressID,type,Transition,SameSense,ParentCurve,ParamLength);}}]);return IfcReparametrisedCompositeCurveSegment;}();var IfcRepresentation=/*#__PURE__*/function(){function IfcRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items){_classCallCheck(this,IfcRepresentation);this.expressID=expressID;this.type=type;this.ContextOfItems=ContextOfItems;this.RepresentationIdentifier=RepresentationIdentifier;this.RepresentationType=RepresentationType;this.Items=Items;}_createClass(IfcRepresentation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextOfItems);args.push(this.RepresentationIdentifier);args.push(this.RepresentationType);args.push(this.Items);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextOfItems=tape[ptr++];var RepresentationIdentifier=tape[ptr++];var RepresentationType=tape[ptr++];var Items=tape[ptr++];return new IfcRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items);}}]);return IfcRepresentation;}();var IfcRepresentationContext=/*#__PURE__*/function(){function IfcRepresentationContext(expressID,type,ContextIdentifier,ContextType){_classCallCheck(this,IfcRepresentationContext);this.expressID=expressID;this.type=type;this.ContextIdentifier=ContextIdentifier;this.ContextType=ContextType;}_createClass(IfcRepresentationContext,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextIdentifier);args.push(this.ContextType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextIdentifier=tape[ptr++];var ContextType=tape[ptr++];return new IfcRepresentationContext(expressID,type,ContextIdentifier,ContextType);}}]);return IfcRepresentationContext;}();var IfcRepresentationItem=/*#__PURE__*/function(){function IfcRepresentationItem(expressID,type){_classCallCheck(this,IfcRepresentationItem);this.expressID=expressID;this.type=type;}_createClass(IfcRepresentationItem,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcRepresentationItem(expressID,type);}}]);return IfcRepresentationItem;}();var IfcRepresentationMap=/*#__PURE__*/function(){function IfcRepresentationMap(expressID,type,MappingOrigin,MappedRepresentation){_classCallCheck(this,IfcRepresentationMap);this.expressID=expressID;this.type=type;this.MappingOrigin=MappingOrigin;this.MappedRepresentation=MappedRepresentation;}_createClass(IfcRepresentationMap,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.MappingOrigin);args.push(this.MappedRepresentation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var MappingOrigin=tape[ptr++];var MappedRepresentation=tape[ptr++];return new IfcRepresentationMap(expressID,type,MappingOrigin,MappedRepresentation);}}]);return IfcRepresentationMap;}();var IfcResource=/*#__PURE__*/function(){function IfcResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription){_classCallCheck(this,IfcResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;}_createClass(IfcResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];return new IfcResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription);}}]);return IfcResource;}();var IfcResourceApprovalRelationship=/*#__PURE__*/function(){function IfcResourceApprovalRelationship(expressID,type,Name,Description,RelatedResourceObjects,RelatingApproval){_classCallCheck(this,IfcResourceApprovalRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatedResourceObjects=RelatedResourceObjects;this.RelatingApproval=RelatingApproval;}_createClass(IfcResourceApprovalRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatedResourceObjects);args.push(this.RelatingApproval);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatedResourceObjects=tape[ptr++];var RelatingApproval=tape[ptr++];return new IfcResourceApprovalRelationship(expressID,type,Name,Description,RelatedResourceObjects,RelatingApproval);}}]);return IfcResourceApprovalRelationship;}();var IfcResourceConstraintRelationship=/*#__PURE__*/function(){function IfcResourceConstraintRelationship(expressID,type,Name,Description,RelatingConstraint,RelatedResourceObjects){_classCallCheck(this,IfcResourceConstraintRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.RelatingConstraint=RelatingConstraint;this.RelatedResourceObjects=RelatedResourceObjects;}_createClass(IfcResourceConstraintRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.RelatingConstraint);args.push(this.RelatedResourceObjects);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var RelatingConstraint=tape[ptr++];var RelatedResourceObjects=tape[ptr++];return new IfcResourceConstraintRelationship(expressID,type,Name,Description,RelatingConstraint,RelatedResourceObjects);}}]);return IfcResourceConstraintRelationship;}();var IfcResourceLevelRelationship=/*#__PURE__*/function(){function IfcResourceLevelRelationship(expressID,type,Name,Description){_classCallCheck(this,IfcResourceLevelRelationship);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;}_createClass(IfcResourceLevelRelationship,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];return new IfcResourceLevelRelationship(expressID,type,Name,Description);}}]);return IfcResourceLevelRelationship;}();var IfcResourceTime=/*#__PURE__*/function(){function IfcResourceTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,ScheduleWork,ScheduleUsage,ScheduleStart,ScheduleFinish,ScheduleContour,LevelingDelay,IsOverAllocated,StatusTime,ActualWork,ActualUsage,ActualStart,ActualFinish,RemainingWork,RemainingUsage,Completion){_classCallCheck(this,IfcResourceTime);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.ScheduleWork=ScheduleWork;this.ScheduleUsage=ScheduleUsage;this.ScheduleStart=ScheduleStart;this.ScheduleFinish=ScheduleFinish;this.ScheduleContour=ScheduleContour;this.LevelingDelay=LevelingDelay;this.IsOverAllocated=IsOverAllocated;this.StatusTime=StatusTime;this.ActualWork=ActualWork;this.ActualUsage=ActualUsage;this.ActualStart=ActualStart;this.ActualFinish=ActualFinish;this.RemainingWork=RemainingWork;this.RemainingUsage=RemainingUsage;this.Completion=Completion;}_createClass(IfcResourceTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.ScheduleWork);args.push(this.ScheduleUsage);args.push(this.ScheduleStart);args.push(this.ScheduleFinish);args.push(this.ScheduleContour);args.push(this.LevelingDelay);args.push(this.IsOverAllocated);args.push(this.StatusTime);args.push(this.ActualWork);args.push(this.ActualUsage);args.push(this.ActualStart);args.push(this.ActualFinish);args.push(this.RemainingWork);args.push(this.RemainingUsage);args.push(this.Completion);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var ScheduleWork=tape[ptr++];var ScheduleUsage=tape[ptr++];var ScheduleStart=tape[ptr++];var ScheduleFinish=tape[ptr++];var ScheduleContour=tape[ptr++];var LevelingDelay=tape[ptr++];var IsOverAllocated=tape[ptr++];var StatusTime=tape[ptr++];var ActualWork=tape[ptr++];var ActualUsage=tape[ptr++];var ActualStart=tape[ptr++];var ActualFinish=tape[ptr++];var RemainingWork=tape[ptr++];var RemainingUsage=tape[ptr++];var Completion=tape[ptr++];return new IfcResourceTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,ScheduleWork,ScheduleUsage,ScheduleStart,ScheduleFinish,ScheduleContour,LevelingDelay,IsOverAllocated,StatusTime,ActualWork,ActualUsage,ActualStart,ActualFinish,RemainingWork,RemainingUsage,Completion);}}]);return IfcResourceTime;}();var IfcRevolvedAreaSolid=/*#__PURE__*/function(){function IfcRevolvedAreaSolid(expressID,type,SweptArea,Position,Axis,Angle){_classCallCheck(this,IfcRevolvedAreaSolid);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;this.Axis=Axis;this.Angle=Angle;}_createClass(IfcRevolvedAreaSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);args.push(this.Axis);args.push(this.Angle);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];var Axis=tape[ptr++];var Angle=tape[ptr++];return new IfcRevolvedAreaSolid(expressID,type,SweptArea,Position,Axis,Angle);}}]);return IfcRevolvedAreaSolid;}();var IfcRevolvedAreaSolidTapered=/*#__PURE__*/function(){function IfcRevolvedAreaSolidTapered(expressID,type,SweptArea,Position,Axis,Angle,EndSweptArea){_classCallCheck(this,IfcRevolvedAreaSolidTapered);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;this.Axis=Axis;this.Angle=Angle;this.EndSweptArea=EndSweptArea;}_createClass(IfcRevolvedAreaSolidTapered,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);args.push(this.Axis);args.push(this.Angle);args.push(this.EndSweptArea);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];var Axis=tape[ptr++];var Angle=tape[ptr++];var EndSweptArea=tape[ptr++];return new IfcRevolvedAreaSolidTapered(expressID,type,SweptArea,Position,Axis,Angle,EndSweptArea);}}]);return IfcRevolvedAreaSolidTapered;}();var IfcRightCircularCone=/*#__PURE__*/function(){function IfcRightCircularCone(expressID,type,Position,Height,BottomRadius){_classCallCheck(this,IfcRightCircularCone);this.expressID=expressID;this.type=type;this.Position=Position;this.Height=Height;this.BottomRadius=BottomRadius;}_createClass(IfcRightCircularCone,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.Height);args.push(this.BottomRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var Height=tape[ptr++];var BottomRadius=tape[ptr++];return new IfcRightCircularCone(expressID,type,Position,Height,BottomRadius);}}]);return IfcRightCircularCone;}();var IfcRightCircularCylinder=/*#__PURE__*/function(){function IfcRightCircularCylinder(expressID,type,Position,Height,Radius){_classCallCheck(this,IfcRightCircularCylinder);this.expressID=expressID;this.type=type;this.Position=Position;this.Height=Height;this.Radius=Radius;}_createClass(IfcRightCircularCylinder,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.Height);args.push(this.Radius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var Height=tape[ptr++];var Radius=tape[ptr++];return new IfcRightCircularCylinder(expressID,type,Position,Height,Radius);}}]);return IfcRightCircularCylinder;}();var IfcRoof=/*#__PURE__*/function(){function IfcRoof(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcRoof);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcRoof,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRoof(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcRoof;}();var IfcRoofType=/*#__PURE__*/function(){function IfcRoofType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcRoofType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcRoofType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcRoofType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcRoofType;}();var IfcRoot=/*#__PURE__*/function(){function IfcRoot(expressID,type,GlobalId,OwnerHistory,Name,Description){_classCallCheck(this,IfcRoot);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;}_createClass(IfcRoot,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];return new IfcRoot(expressID,type,GlobalId,OwnerHistory,Name,Description);}}]);return IfcRoot;}();var IfcRoundedRectangleProfileDef=/*#__PURE__*/function(){function IfcRoundedRectangleProfileDef(expressID,type,ProfileType,ProfileName,Position,XDim,YDim,RoundingRadius){_classCallCheck(this,IfcRoundedRectangleProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.XDim=XDim;this.YDim=YDim;this.RoundingRadius=RoundingRadius;}_createClass(IfcRoundedRectangleProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.XDim);args.push(this.YDim);args.push(this.RoundingRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var XDim=tape[ptr++];var YDim=tape[ptr++];var RoundingRadius=tape[ptr++];return new IfcRoundedRectangleProfileDef(expressID,type,ProfileType,ProfileName,Position,XDim,YDim,RoundingRadius);}}]);return IfcRoundedRectangleProfileDef;}();var IfcSIUnit=/*#__PURE__*/function(){function IfcSIUnit(expressID,type,Dimensions,UnitType,Prefix,Name){_classCallCheck(this,IfcSIUnit);this.expressID=expressID;this.type=type;this.Dimensions=Dimensions;this.UnitType=UnitType;this.Prefix=Prefix;this.Name=Name;}_createClass(IfcSIUnit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Dimensions);args.push(this.UnitType);args.push(this.Prefix);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Dimensions=tape[ptr++];var UnitType=tape[ptr++];var Prefix=tape[ptr++];var Name=tape[ptr++];return new IfcSIUnit(expressID,type,Dimensions,UnitType,Prefix,Name);}}]);return IfcSIUnit;}();var IfcSanitaryTerminal=/*#__PURE__*/function(){function IfcSanitaryTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSanitaryTerminal);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSanitaryTerminal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSanitaryTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSanitaryTerminal;}();var IfcSanitaryTerminalType=/*#__PURE__*/function(){function IfcSanitaryTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSanitaryTerminalType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSanitaryTerminalType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSanitaryTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSanitaryTerminalType;}();var IfcSchedulingTime=/*#__PURE__*/function(){function IfcSchedulingTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin){_classCallCheck(this,IfcSchedulingTime);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;}_createClass(IfcSchedulingTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];return new IfcSchedulingTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin);}}]);return IfcSchedulingTime;}();var IfcSeamCurve=/*#__PURE__*/function(){function IfcSeamCurve(expressID,type,Curve3D,AssociatedGeometry,MasterRepresentation){_classCallCheck(this,IfcSeamCurve);this.expressID=expressID;this.type=type;this.Curve3D=Curve3D;this.AssociatedGeometry=AssociatedGeometry;this.MasterRepresentation=MasterRepresentation;}_createClass(IfcSeamCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Curve3D);args.push(this.AssociatedGeometry);args.push(this.MasterRepresentation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Curve3D=tape[ptr++];var AssociatedGeometry=tape[ptr++];var MasterRepresentation=tape[ptr++];return new IfcSeamCurve(expressID,type,Curve3D,AssociatedGeometry,MasterRepresentation);}}]);return IfcSeamCurve;}();var IfcSectionProperties=/*#__PURE__*/function(){function IfcSectionProperties(expressID,type,SectionType,StartProfile,EndProfile){_classCallCheck(this,IfcSectionProperties);this.expressID=expressID;this.type=type;this.SectionType=SectionType;this.StartProfile=StartProfile;this.EndProfile=EndProfile;}_createClass(IfcSectionProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SectionType);args.push(this.StartProfile);args.push(this.EndProfile);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SectionType=tape[ptr++];var StartProfile=tape[ptr++];var EndProfile=tape[ptr++];return new IfcSectionProperties(expressID,type,SectionType,StartProfile,EndProfile);}}]);return IfcSectionProperties;}();var IfcSectionReinforcementProperties=/*#__PURE__*/function(){function IfcSectionReinforcementProperties(expressID,type,LongitudinalStartPosition,LongitudinalEndPosition,TransversePosition,ReinforcementRole,SectionDefinition,CrossSectionReinforcementDefinitions){_classCallCheck(this,IfcSectionReinforcementProperties);this.expressID=expressID;this.type=type;this.LongitudinalStartPosition=LongitudinalStartPosition;this.LongitudinalEndPosition=LongitudinalEndPosition;this.TransversePosition=TransversePosition;this.ReinforcementRole=ReinforcementRole;this.SectionDefinition=SectionDefinition;this.CrossSectionReinforcementDefinitions=CrossSectionReinforcementDefinitions;}_createClass(IfcSectionReinforcementProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.LongitudinalStartPosition);args.push(this.LongitudinalEndPosition);args.push(this.TransversePosition);args.push(this.ReinforcementRole);args.push(this.SectionDefinition);args.push(this.CrossSectionReinforcementDefinitions);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var LongitudinalStartPosition=tape[ptr++];var LongitudinalEndPosition=tape[ptr++];var TransversePosition=tape[ptr++];var ReinforcementRole=tape[ptr++];var SectionDefinition=tape[ptr++];var CrossSectionReinforcementDefinitions=tape[ptr++];return new IfcSectionReinforcementProperties(expressID,type,LongitudinalStartPosition,LongitudinalEndPosition,TransversePosition,ReinforcementRole,SectionDefinition,CrossSectionReinforcementDefinitions);}}]);return IfcSectionReinforcementProperties;}();var IfcSectionedSolid=/*#__PURE__*/function(){function IfcSectionedSolid(expressID,type,Directrix,CrossSections){_classCallCheck(this,IfcSectionedSolid);this.expressID=expressID;this.type=type;this.Directrix=Directrix;this.CrossSections=CrossSections;}_createClass(IfcSectionedSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Directrix);args.push(this.CrossSections);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Directrix=tape[ptr++];var CrossSections=tape[ptr++];return new IfcSectionedSolid(expressID,type,Directrix,CrossSections);}}]);return IfcSectionedSolid;}();var IfcSectionedSolidHorizontal=/*#__PURE__*/function(){function IfcSectionedSolidHorizontal(expressID,type,Directrix,CrossSections,CrossSectionPositions,FixedAxisVertical){_classCallCheck(this,IfcSectionedSolidHorizontal);this.expressID=expressID;this.type=type;this.Directrix=Directrix;this.CrossSections=CrossSections;this.CrossSectionPositions=CrossSectionPositions;this.FixedAxisVertical=FixedAxisVertical;}_createClass(IfcSectionedSolidHorizontal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Directrix);args.push(this.CrossSections);args.push(this.CrossSectionPositions);args.push(this.FixedAxisVertical);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Directrix=tape[ptr++];var CrossSections=tape[ptr++];var CrossSectionPositions=tape[ptr++];var FixedAxisVertical=tape[ptr++];return new IfcSectionedSolidHorizontal(expressID,type,Directrix,CrossSections,CrossSectionPositions,FixedAxisVertical);}}]);return IfcSectionedSolidHorizontal;}();var IfcSectionedSpine=/*#__PURE__*/function(){function IfcSectionedSpine(expressID,type,SpineCurve,CrossSections,CrossSectionPositions){_classCallCheck(this,IfcSectionedSpine);this.expressID=expressID;this.type=type;this.SpineCurve=SpineCurve;this.CrossSections=CrossSections;this.CrossSectionPositions=CrossSectionPositions;}_createClass(IfcSectionedSpine,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SpineCurve);args.push(this.CrossSections);args.push(this.CrossSectionPositions);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SpineCurve=tape[ptr++];var CrossSections=tape[ptr++];var CrossSectionPositions=tape[ptr++];return new IfcSectionedSpine(expressID,type,SpineCurve,CrossSections,CrossSectionPositions);}}]);return IfcSectionedSpine;}();var IfcSensor=/*#__PURE__*/function(){function IfcSensor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSensor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSensor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSensor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSensor;}();var IfcSensorType=/*#__PURE__*/function(){function IfcSensorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSensorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSensorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSensorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSensorType;}();var IfcShadingDevice=/*#__PURE__*/function(){function IfcShadingDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcShadingDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcShadingDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcShadingDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcShadingDevice;}();var IfcShadingDeviceType=/*#__PURE__*/function(){function IfcShadingDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcShadingDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcShadingDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcShadingDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcShadingDeviceType;}();var IfcShapeAspect=/*#__PURE__*/function(){function IfcShapeAspect(expressID,type,ShapeRepresentations,Name,Description,ProductDefinitional,PartOfProductDefinitionShape){_classCallCheck(this,IfcShapeAspect);this.expressID=expressID;this.type=type;this.ShapeRepresentations=ShapeRepresentations;this.Name=Name;this.Description=Description;this.ProductDefinitional=ProductDefinitional;this.PartOfProductDefinitionShape=PartOfProductDefinitionShape;}_createClass(IfcShapeAspect,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ShapeRepresentations);args.push(this.Name);args.push(this.Description);args.push(this.ProductDefinitional);args.push(this.PartOfProductDefinitionShape);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ShapeRepresentations=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ProductDefinitional=tape[ptr++];var PartOfProductDefinitionShape=tape[ptr++];return new IfcShapeAspect(expressID,type,ShapeRepresentations,Name,Description,ProductDefinitional,PartOfProductDefinitionShape);}}]);return IfcShapeAspect;}();var IfcShapeModel=/*#__PURE__*/function(){function IfcShapeModel(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items){_classCallCheck(this,IfcShapeModel);this.expressID=expressID;this.type=type;this.ContextOfItems=ContextOfItems;this.RepresentationIdentifier=RepresentationIdentifier;this.RepresentationType=RepresentationType;this.Items=Items;}_createClass(IfcShapeModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextOfItems);args.push(this.RepresentationIdentifier);args.push(this.RepresentationType);args.push(this.Items);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextOfItems=tape[ptr++];var RepresentationIdentifier=tape[ptr++];var RepresentationType=tape[ptr++];var Items=tape[ptr++];return new IfcShapeModel(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items);}}]);return IfcShapeModel;}();var IfcShapeRepresentation=/*#__PURE__*/function(){function IfcShapeRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items){_classCallCheck(this,IfcShapeRepresentation);this.expressID=expressID;this.type=type;this.ContextOfItems=ContextOfItems;this.RepresentationIdentifier=RepresentationIdentifier;this.RepresentationType=RepresentationType;this.Items=Items;}_createClass(IfcShapeRepresentation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextOfItems);args.push(this.RepresentationIdentifier);args.push(this.RepresentationType);args.push(this.Items);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextOfItems=tape[ptr++];var RepresentationIdentifier=tape[ptr++];var RepresentationType=tape[ptr++];var Items=tape[ptr++];return new IfcShapeRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items);}}]);return IfcShapeRepresentation;}();var IfcShellBasedSurfaceModel=/*#__PURE__*/function(){function IfcShellBasedSurfaceModel(expressID,type,SbsmBoundary){_classCallCheck(this,IfcShellBasedSurfaceModel);this.expressID=expressID;this.type=type;this.SbsmBoundary=SbsmBoundary;}_createClass(IfcShellBasedSurfaceModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SbsmBoundary);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SbsmBoundary=tape[ptr++];return new IfcShellBasedSurfaceModel(expressID,type,SbsmBoundary);}}]);return IfcShellBasedSurfaceModel;}();var IfcSimpleProperty=/*#__PURE__*/function(){function IfcSimpleProperty(expressID,type,Name,Description){_classCallCheck(this,IfcSimpleProperty);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;}_createClass(IfcSimpleProperty,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];return new IfcSimpleProperty(expressID,type,Name,Description);}}]);return IfcSimpleProperty;}();var IfcSimplePropertyTemplate=/*#__PURE__*/function(){function IfcSimplePropertyTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,TemplateType,PrimaryMeasureType,SecondaryMeasureType,Enumerators,PrimaryUnit,SecondaryUnit,Expression,AccessState){_classCallCheck(this,IfcSimplePropertyTemplate);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.TemplateType=TemplateType;this.PrimaryMeasureType=PrimaryMeasureType;this.SecondaryMeasureType=SecondaryMeasureType;this.Enumerators=Enumerators;this.PrimaryUnit=PrimaryUnit;this.SecondaryUnit=SecondaryUnit;this.Expression=Expression;this.AccessState=AccessState;}_createClass(IfcSimplePropertyTemplate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.TemplateType);args.push(this.PrimaryMeasureType);args.push(this.SecondaryMeasureType);args.push(this.Enumerators);args.push(this.PrimaryUnit);args.push(this.SecondaryUnit);args.push(this.Expression);args.push(this.AccessState);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var TemplateType=tape[ptr++];var PrimaryMeasureType=tape[ptr++];var SecondaryMeasureType=tape[ptr++];var Enumerators=tape[ptr++];var PrimaryUnit=tape[ptr++];var SecondaryUnit=tape[ptr++];var Expression=tape[ptr++];var AccessState=tape[ptr++];return new IfcSimplePropertyTemplate(expressID,type,GlobalId,OwnerHistory,Name,Description,TemplateType,PrimaryMeasureType,SecondaryMeasureType,Enumerators,PrimaryUnit,SecondaryUnit,Expression,AccessState);}}]);return IfcSimplePropertyTemplate;}();var IfcSite=/*#__PURE__*/function(){function IfcSite(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,RefLatitude,RefLongitude,RefElevation,LandTitleNumber,SiteAddress){_classCallCheck(this,IfcSite);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;this.RefLatitude=RefLatitude;this.RefLongitude=RefLongitude;this.RefElevation=RefElevation;this.LandTitleNumber=LandTitleNumber;this.SiteAddress=SiteAddress;}_createClass(IfcSite,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);args.push(this.RefLatitude);args.push(this.RefLongitude);args.push(this.RefElevation);args.push(this.LandTitleNumber);args.push(this.SiteAddress);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];var RefLatitude=tape[ptr++];var RefLongitude=tape[ptr++];var RefElevation=tape[ptr++];var LandTitleNumber=tape[ptr++];var SiteAddress=tape[ptr++];return new IfcSite(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,RefLatitude,RefLongitude,RefElevation,LandTitleNumber,SiteAddress);}}]);return IfcSite;}();var IfcSlab=/*#__PURE__*/function(){function IfcSlab(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSlab);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSlab,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSlab(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSlab;}();var IfcSlabElementedCase=/*#__PURE__*/function(){function IfcSlabElementedCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSlabElementedCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSlabElementedCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSlabElementedCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSlabElementedCase;}();var IfcSlabStandardCase=/*#__PURE__*/function(){function IfcSlabStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSlabStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSlabStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSlabStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSlabStandardCase;}();var IfcSlabType=/*#__PURE__*/function(){function IfcSlabType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSlabType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSlabType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSlabType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSlabType;}();var IfcSlippageConnectionCondition=/*#__PURE__*/function(){function IfcSlippageConnectionCondition(expressID,type,Name,SlippageX,SlippageY,SlippageZ){_classCallCheck(this,IfcSlippageConnectionCondition);this.expressID=expressID;this.type=type;this.Name=Name;this.SlippageX=SlippageX;this.SlippageY=SlippageY;this.SlippageZ=SlippageZ;}_createClass(IfcSlippageConnectionCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.SlippageX);args.push(this.SlippageY);args.push(this.SlippageZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var SlippageX=tape[ptr++];var SlippageY=tape[ptr++];var SlippageZ=tape[ptr++];return new IfcSlippageConnectionCondition(expressID,type,Name,SlippageX,SlippageY,SlippageZ);}}]);return IfcSlippageConnectionCondition;}();var IfcSolarDevice=/*#__PURE__*/function(){function IfcSolarDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSolarDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSolarDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSolarDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSolarDevice;}();var IfcSolarDeviceType=/*#__PURE__*/function(){function IfcSolarDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSolarDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSolarDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSolarDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSolarDeviceType;}();var IfcSolidModel=/*#__PURE__*/function(){function IfcSolidModel(expressID,type){_classCallCheck(this,IfcSolidModel);this.expressID=expressID;this.type=type;}_createClass(IfcSolidModel,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcSolidModel(expressID,type);}}]);return IfcSolidModel;}();var IfcSpace=/*#__PURE__*/function(){function IfcSpace(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,PredefinedType,ElevationWithFlooring){_classCallCheck(this,IfcSpace);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;this.PredefinedType=PredefinedType;this.ElevationWithFlooring=ElevationWithFlooring;}_createClass(IfcSpace,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);args.push(this.PredefinedType);args.push(this.ElevationWithFlooring);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];var PredefinedType=tape[ptr++];var ElevationWithFlooring=tape[ptr++];return new IfcSpace(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType,PredefinedType,ElevationWithFlooring);}}]);return IfcSpace;}();var IfcSpaceHeater=/*#__PURE__*/function(){function IfcSpaceHeater(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSpaceHeater);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSpaceHeater,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSpaceHeater(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSpaceHeater;}();var IfcSpaceHeaterType=/*#__PURE__*/function(){function IfcSpaceHeaterType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSpaceHeaterType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSpaceHeaterType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSpaceHeaterType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSpaceHeaterType;}();var IfcSpaceType=/*#__PURE__*/function(){function IfcSpaceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,LongName){_classCallCheck(this,IfcSpaceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.LongName=LongName;}_createClass(IfcSpaceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.LongName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var LongName=tape[ptr++];return new IfcSpaceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,LongName);}}]);return IfcSpaceType;}();var IfcSpatialElement=/*#__PURE__*/function(){function IfcSpatialElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName){_classCallCheck(this,IfcSpatialElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;}_createClass(IfcSpatialElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];return new IfcSpatialElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName);}}]);return IfcSpatialElement;}();var IfcSpatialElementType=/*#__PURE__*/function(){function IfcSpatialElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcSpatialElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcSpatialElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcSpatialElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcSpatialElementType;}();var IfcSpatialStructureElement=/*#__PURE__*/function(){function IfcSpatialStructureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType){_classCallCheck(this,IfcSpatialStructureElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.CompositionType=CompositionType;}_createClass(IfcSpatialStructureElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.CompositionType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var CompositionType=tape[ptr++];return new IfcSpatialStructureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,CompositionType);}}]);return IfcSpatialStructureElement;}();var IfcSpatialStructureElementType=/*#__PURE__*/function(){function IfcSpatialStructureElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType){_classCallCheck(this,IfcSpatialStructureElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;}_createClass(IfcSpatialStructureElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];return new IfcSpatialStructureElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType);}}]);return IfcSpatialStructureElementType;}();var IfcSpatialZone=/*#__PURE__*/function(){function IfcSpatialZone(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,PredefinedType){_classCallCheck(this,IfcSpatialZone);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.LongName=LongName;this.PredefinedType=PredefinedType;}_createClass(IfcSpatialZone,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.LongName);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var LongName=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSpatialZone(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,LongName,PredefinedType);}}]);return IfcSpatialZone;}();var IfcSpatialZoneType=/*#__PURE__*/function(){function IfcSpatialZoneType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,LongName){_classCallCheck(this,IfcSpatialZoneType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.LongName=LongName;}_createClass(IfcSpatialZoneType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.LongName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var LongName=tape[ptr++];return new IfcSpatialZoneType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,LongName);}}]);return IfcSpatialZoneType;}();var IfcSphere=/*#__PURE__*/function(){function IfcSphere(expressID,type,Position,Radius){_classCallCheck(this,IfcSphere);this.expressID=expressID;this.type=type;this.Position=Position;this.Radius=Radius;}_createClass(IfcSphere,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.Radius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var Radius=tape[ptr++];return new IfcSphere(expressID,type,Position,Radius);}}]);return IfcSphere;}();var IfcSphericalSurface=/*#__PURE__*/function(){function IfcSphericalSurface(expressID,type,Position,Radius){_classCallCheck(this,IfcSphericalSurface);this.expressID=expressID;this.type=type;this.Position=Position;this.Radius=Radius;}_createClass(IfcSphericalSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.Radius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var Radius=tape[ptr++];return new IfcSphericalSurface(expressID,type,Position,Radius);}}]);return IfcSphericalSurface;}();var IfcStackTerminal=/*#__PURE__*/function(){function IfcStackTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcStackTerminal);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcStackTerminal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStackTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcStackTerminal;}();var IfcStackTerminalType=/*#__PURE__*/function(){function IfcStackTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcStackTerminalType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcStackTerminalType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStackTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcStackTerminalType;}();var IfcStair=/*#__PURE__*/function(){function IfcStair(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcStair);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcStair,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStair(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcStair;}();var IfcStairFlight=/*#__PURE__*/function(){function IfcStairFlight(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,NumberOfRisers,NumberOfTreads,RiserHeight,TreadLength,PredefinedType){_classCallCheck(this,IfcStairFlight);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.NumberOfRisers=NumberOfRisers;this.NumberOfTreads=NumberOfTreads;this.RiserHeight=RiserHeight;this.TreadLength=TreadLength;this.PredefinedType=PredefinedType;}_createClass(IfcStairFlight,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.NumberOfRisers);args.push(this.NumberOfTreads);args.push(this.RiserHeight);args.push(this.TreadLength);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var NumberOfRisers=tape[ptr++];var NumberOfTreads=tape[ptr++];var RiserHeight=tape[ptr++];var TreadLength=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStairFlight(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,NumberOfRisers,NumberOfTreads,RiserHeight,TreadLength,PredefinedType);}}]);return IfcStairFlight;}();var IfcStairFlightType=/*#__PURE__*/function(){function IfcStairFlightType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcStairFlightType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcStairFlightType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStairFlightType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcStairFlightType;}();var IfcStairType=/*#__PURE__*/function(){function IfcStairType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcStairType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcStairType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStairType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcStairType;}();var IfcStructuralAction=/*#__PURE__*/function(){function IfcStructuralAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad){_classCallCheck(this,IfcStructuralAction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.DestabilizingLoad=DestabilizingLoad;}_createClass(IfcStructuralAction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.DestabilizingLoad);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var DestabilizingLoad=tape[ptr++];return new IfcStructuralAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad);}}]);return IfcStructuralAction;}();var IfcStructuralActivity=/*#__PURE__*/function(){function IfcStructuralActivity(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal){_classCallCheck(this,IfcStructuralActivity);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;}_createClass(IfcStructuralActivity,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];return new IfcStructuralActivity(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal);}}]);return IfcStructuralActivity;}();var IfcStructuralAnalysisModel=/*#__PURE__*/function(){function IfcStructuralAnalysisModel(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,OrientationOf2DPlane,LoadedBy,HasResults,SharedPlacement){_classCallCheck(this,IfcStructuralAnalysisModel);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.PredefinedType=PredefinedType;this.OrientationOf2DPlane=OrientationOf2DPlane;this.LoadedBy=LoadedBy;this.HasResults=HasResults;this.SharedPlacement=SharedPlacement;}_createClass(IfcStructuralAnalysisModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.PredefinedType);args.push(this.OrientationOf2DPlane);args.push(this.LoadedBy);args.push(this.HasResults);args.push(this.SharedPlacement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var PredefinedType=tape[ptr++];var OrientationOf2DPlane=tape[ptr++];var LoadedBy=tape[ptr++];var HasResults=tape[ptr++];var SharedPlacement=tape[ptr++];return new IfcStructuralAnalysisModel(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,OrientationOf2DPlane,LoadedBy,HasResults,SharedPlacement);}}]);return IfcStructuralAnalysisModel;}();var IfcStructuralConnection=/*#__PURE__*/function(){function IfcStructuralConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition){_classCallCheck(this,IfcStructuralConnection);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedCondition=AppliedCondition;}_createClass(IfcStructuralConnection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedCondition);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedCondition=tape[ptr++];return new IfcStructuralConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition);}}]);return IfcStructuralConnection;}();var IfcStructuralConnectionCondition=/*#__PURE__*/function(){function IfcStructuralConnectionCondition(expressID,type,Name){_classCallCheck(this,IfcStructuralConnectionCondition);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcStructuralConnectionCondition,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcStructuralConnectionCondition(expressID,type,Name);}}]);return IfcStructuralConnectionCondition;}();var IfcStructuralCurveAction=/*#__PURE__*/function(){function IfcStructuralCurveAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType){_classCallCheck(this,IfcStructuralCurveAction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.DestabilizingLoad=DestabilizingLoad;this.ProjectedOrTrue=ProjectedOrTrue;this.PredefinedType=PredefinedType;}_createClass(IfcStructuralCurveAction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.DestabilizingLoad);args.push(this.ProjectedOrTrue);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var DestabilizingLoad=tape[ptr++];var ProjectedOrTrue=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStructuralCurveAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType);}}]);return IfcStructuralCurveAction;}();var IfcStructuralCurveConnection=/*#__PURE__*/function(){function IfcStructuralCurveConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition,Axis){_classCallCheck(this,IfcStructuralCurveConnection);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedCondition=AppliedCondition;this.Axis=Axis;}_createClass(IfcStructuralCurveConnection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedCondition);args.push(this.Axis);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedCondition=tape[ptr++];var Axis=tape[ptr++];return new IfcStructuralCurveConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition,Axis);}}]);return IfcStructuralCurveConnection;}();var IfcStructuralCurveMember=/*#__PURE__*/function(){function IfcStructuralCurveMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Axis){_classCallCheck(this,IfcStructuralCurveMember);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.PredefinedType=PredefinedType;this.Axis=Axis;}_createClass(IfcStructuralCurveMember,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.PredefinedType);args.push(this.Axis);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var PredefinedType=tape[ptr++];var Axis=tape[ptr++];return new IfcStructuralCurveMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Axis);}}]);return IfcStructuralCurveMember;}();var IfcStructuralCurveMemberVarying=/*#__PURE__*/function(){function IfcStructuralCurveMemberVarying(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Axis){_classCallCheck(this,IfcStructuralCurveMemberVarying);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.PredefinedType=PredefinedType;this.Axis=Axis;}_createClass(IfcStructuralCurveMemberVarying,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.PredefinedType);args.push(this.Axis);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var PredefinedType=tape[ptr++];var Axis=tape[ptr++];return new IfcStructuralCurveMemberVarying(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Axis);}}]);return IfcStructuralCurveMemberVarying;}();var IfcStructuralCurveReaction=/*#__PURE__*/function(){function IfcStructuralCurveReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,PredefinedType){_classCallCheck(this,IfcStructuralCurveReaction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.PredefinedType=PredefinedType;}_createClass(IfcStructuralCurveReaction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStructuralCurveReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,PredefinedType);}}]);return IfcStructuralCurveReaction;}();var IfcStructuralItem=/*#__PURE__*/function(){function IfcStructuralItem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation){_classCallCheck(this,IfcStructuralItem);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;}_createClass(IfcStructuralItem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];return new IfcStructuralItem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation);}}]);return IfcStructuralItem;}();var IfcStructuralLinearAction=/*#__PURE__*/function(){function IfcStructuralLinearAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType){_classCallCheck(this,IfcStructuralLinearAction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.DestabilizingLoad=DestabilizingLoad;this.ProjectedOrTrue=ProjectedOrTrue;this.PredefinedType=PredefinedType;}_createClass(IfcStructuralLinearAction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.DestabilizingLoad);args.push(this.ProjectedOrTrue);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var DestabilizingLoad=tape[ptr++];var ProjectedOrTrue=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStructuralLinearAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType);}}]);return IfcStructuralLinearAction;}();var IfcStructuralLoad=/*#__PURE__*/function(){function IfcStructuralLoad(expressID,type,Name){_classCallCheck(this,IfcStructuralLoad);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcStructuralLoad,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcStructuralLoad(expressID,type,Name);}}]);return IfcStructuralLoad;}();var IfcStructuralLoadCase=/*#__PURE__*/function(){function IfcStructuralLoadCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,ActionType,ActionSource,Coefficient,Purpose,SelfWeightCoefficients){_classCallCheck(this,IfcStructuralLoadCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.PredefinedType=PredefinedType;this.ActionType=ActionType;this.ActionSource=ActionSource;this.Coefficient=Coefficient;this.Purpose=Purpose;this.SelfWeightCoefficients=SelfWeightCoefficients;}_createClass(IfcStructuralLoadCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.PredefinedType);args.push(this.ActionType);args.push(this.ActionSource);args.push(this.Coefficient);args.push(this.Purpose);args.push(this.SelfWeightCoefficients);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var PredefinedType=tape[ptr++];var ActionType=tape[ptr++];var ActionSource=tape[ptr++];var Coefficient=tape[ptr++];var Purpose=tape[ptr++];var SelfWeightCoefficients=tape[ptr++];return new IfcStructuralLoadCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,ActionType,ActionSource,Coefficient,Purpose,SelfWeightCoefficients);}}]);return IfcStructuralLoadCase;}();var IfcStructuralLoadConfiguration=/*#__PURE__*/function(){function IfcStructuralLoadConfiguration(expressID,type,Name,Values,Locations){_classCallCheck(this,IfcStructuralLoadConfiguration);this.expressID=expressID;this.type=type;this.Name=Name;this.Values=Values;this.Locations=Locations;}_createClass(IfcStructuralLoadConfiguration,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Values);args.push(this.Locations);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Values=tape[ptr++];var Locations=tape[ptr++];return new IfcStructuralLoadConfiguration(expressID,type,Name,Values,Locations);}}]);return IfcStructuralLoadConfiguration;}();var IfcStructuralLoadGroup=/*#__PURE__*/function(){function IfcStructuralLoadGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,ActionType,ActionSource,Coefficient,Purpose){_classCallCheck(this,IfcStructuralLoadGroup);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.PredefinedType=PredefinedType;this.ActionType=ActionType;this.ActionSource=ActionSource;this.Coefficient=Coefficient;this.Purpose=Purpose;}_createClass(IfcStructuralLoadGroup,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.PredefinedType);args.push(this.ActionType);args.push(this.ActionSource);args.push(this.Coefficient);args.push(this.Purpose);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var PredefinedType=tape[ptr++];var ActionType=tape[ptr++];var ActionSource=tape[ptr++];var Coefficient=tape[ptr++];var Purpose=tape[ptr++];return new IfcStructuralLoadGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,PredefinedType,ActionType,ActionSource,Coefficient,Purpose);}}]);return IfcStructuralLoadGroup;}();var IfcStructuralLoadLinearForce=/*#__PURE__*/function(){function IfcStructuralLoadLinearForce(expressID,type,Name,LinearForceX,LinearForceY,LinearForceZ,LinearMomentX,LinearMomentY,LinearMomentZ){_classCallCheck(this,IfcStructuralLoadLinearForce);this.expressID=expressID;this.type=type;this.Name=Name;this.LinearForceX=LinearForceX;this.LinearForceY=LinearForceY;this.LinearForceZ=LinearForceZ;this.LinearMomentX=LinearMomentX;this.LinearMomentY=LinearMomentY;this.LinearMomentZ=LinearMomentZ;}_createClass(IfcStructuralLoadLinearForce,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.LinearForceX);args.push(this.LinearForceY);args.push(this.LinearForceZ);args.push(this.LinearMomentX);args.push(this.LinearMomentY);args.push(this.LinearMomentZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var LinearForceX=tape[ptr++];var LinearForceY=tape[ptr++];var LinearForceZ=tape[ptr++];var LinearMomentX=tape[ptr++];var LinearMomentY=tape[ptr++];var LinearMomentZ=tape[ptr++];return new IfcStructuralLoadLinearForce(expressID,type,Name,LinearForceX,LinearForceY,LinearForceZ,LinearMomentX,LinearMomentY,LinearMomentZ);}}]);return IfcStructuralLoadLinearForce;}();var IfcStructuralLoadOrResult=/*#__PURE__*/function(){function IfcStructuralLoadOrResult(expressID,type,Name){_classCallCheck(this,IfcStructuralLoadOrResult);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcStructuralLoadOrResult,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcStructuralLoadOrResult(expressID,type,Name);}}]);return IfcStructuralLoadOrResult;}();var IfcStructuralLoadPlanarForce=/*#__PURE__*/function(){function IfcStructuralLoadPlanarForce(expressID,type,Name,PlanarForceX,PlanarForceY,PlanarForceZ){_classCallCheck(this,IfcStructuralLoadPlanarForce);this.expressID=expressID;this.type=type;this.Name=Name;this.PlanarForceX=PlanarForceX;this.PlanarForceY=PlanarForceY;this.PlanarForceZ=PlanarForceZ;}_createClass(IfcStructuralLoadPlanarForce,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.PlanarForceX);args.push(this.PlanarForceY);args.push(this.PlanarForceZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var PlanarForceX=tape[ptr++];var PlanarForceY=tape[ptr++];var PlanarForceZ=tape[ptr++];return new IfcStructuralLoadPlanarForce(expressID,type,Name,PlanarForceX,PlanarForceY,PlanarForceZ);}}]);return IfcStructuralLoadPlanarForce;}();var IfcStructuralLoadSingleDisplacement=/*#__PURE__*/function(){function IfcStructuralLoadSingleDisplacement(expressID,type,Name,DisplacementX,DisplacementY,DisplacementZ,RotationalDisplacementRX,RotationalDisplacementRY,RotationalDisplacementRZ){_classCallCheck(this,IfcStructuralLoadSingleDisplacement);this.expressID=expressID;this.type=type;this.Name=Name;this.DisplacementX=DisplacementX;this.DisplacementY=DisplacementY;this.DisplacementZ=DisplacementZ;this.RotationalDisplacementRX=RotationalDisplacementRX;this.RotationalDisplacementRY=RotationalDisplacementRY;this.RotationalDisplacementRZ=RotationalDisplacementRZ;}_createClass(IfcStructuralLoadSingleDisplacement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DisplacementX);args.push(this.DisplacementY);args.push(this.DisplacementZ);args.push(this.RotationalDisplacementRX);args.push(this.RotationalDisplacementRY);args.push(this.RotationalDisplacementRZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DisplacementX=tape[ptr++];var DisplacementY=tape[ptr++];var DisplacementZ=tape[ptr++];var RotationalDisplacementRX=tape[ptr++];var RotationalDisplacementRY=tape[ptr++];var RotationalDisplacementRZ=tape[ptr++];return new IfcStructuralLoadSingleDisplacement(expressID,type,Name,DisplacementX,DisplacementY,DisplacementZ,RotationalDisplacementRX,RotationalDisplacementRY,RotationalDisplacementRZ);}}]);return IfcStructuralLoadSingleDisplacement;}();var IfcStructuralLoadSingleDisplacementDistortion=/*#__PURE__*/function(){function IfcStructuralLoadSingleDisplacementDistortion(expressID,type,Name,DisplacementX,DisplacementY,DisplacementZ,RotationalDisplacementRX,RotationalDisplacementRY,RotationalDisplacementRZ,Distortion){_classCallCheck(this,IfcStructuralLoadSingleDisplacementDistortion);this.expressID=expressID;this.type=type;this.Name=Name;this.DisplacementX=DisplacementX;this.DisplacementY=DisplacementY;this.DisplacementZ=DisplacementZ;this.RotationalDisplacementRX=RotationalDisplacementRX;this.RotationalDisplacementRY=RotationalDisplacementRY;this.RotationalDisplacementRZ=RotationalDisplacementRZ;this.Distortion=Distortion;}_createClass(IfcStructuralLoadSingleDisplacementDistortion,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DisplacementX);args.push(this.DisplacementY);args.push(this.DisplacementZ);args.push(this.RotationalDisplacementRX);args.push(this.RotationalDisplacementRY);args.push(this.RotationalDisplacementRZ);args.push(this.Distortion);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DisplacementX=tape[ptr++];var DisplacementY=tape[ptr++];var DisplacementZ=tape[ptr++];var RotationalDisplacementRX=tape[ptr++];var RotationalDisplacementRY=tape[ptr++];var RotationalDisplacementRZ=tape[ptr++];var Distortion=tape[ptr++];return new IfcStructuralLoadSingleDisplacementDistortion(expressID,type,Name,DisplacementX,DisplacementY,DisplacementZ,RotationalDisplacementRX,RotationalDisplacementRY,RotationalDisplacementRZ,Distortion);}}]);return IfcStructuralLoadSingleDisplacementDistortion;}();var IfcStructuralLoadSingleForce=/*#__PURE__*/function(){function IfcStructuralLoadSingleForce(expressID,type,Name,ForceX,ForceY,ForceZ,MomentX,MomentY,MomentZ){_classCallCheck(this,IfcStructuralLoadSingleForce);this.expressID=expressID;this.type=type;this.Name=Name;this.ForceX=ForceX;this.ForceY=ForceY;this.ForceZ=ForceZ;this.MomentX=MomentX;this.MomentY=MomentY;this.MomentZ=MomentZ;}_createClass(IfcStructuralLoadSingleForce,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.ForceX);args.push(this.ForceY);args.push(this.ForceZ);args.push(this.MomentX);args.push(this.MomentY);args.push(this.MomentZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var ForceX=tape[ptr++];var ForceY=tape[ptr++];var ForceZ=tape[ptr++];var MomentX=tape[ptr++];var MomentY=tape[ptr++];var MomentZ=tape[ptr++];return new IfcStructuralLoadSingleForce(expressID,type,Name,ForceX,ForceY,ForceZ,MomentX,MomentY,MomentZ);}}]);return IfcStructuralLoadSingleForce;}();var IfcStructuralLoadSingleForceWarping=/*#__PURE__*/function(){function IfcStructuralLoadSingleForceWarping(expressID,type,Name,ForceX,ForceY,ForceZ,MomentX,MomentY,MomentZ,WarpingMoment){_classCallCheck(this,IfcStructuralLoadSingleForceWarping);this.expressID=expressID;this.type=type;this.Name=Name;this.ForceX=ForceX;this.ForceY=ForceY;this.ForceZ=ForceZ;this.MomentX=MomentX;this.MomentY=MomentY;this.MomentZ=MomentZ;this.WarpingMoment=WarpingMoment;}_createClass(IfcStructuralLoadSingleForceWarping,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.ForceX);args.push(this.ForceY);args.push(this.ForceZ);args.push(this.MomentX);args.push(this.MomentY);args.push(this.MomentZ);args.push(this.WarpingMoment);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var ForceX=tape[ptr++];var ForceY=tape[ptr++];var ForceZ=tape[ptr++];var MomentX=tape[ptr++];var MomentY=tape[ptr++];var MomentZ=tape[ptr++];var WarpingMoment=tape[ptr++];return new IfcStructuralLoadSingleForceWarping(expressID,type,Name,ForceX,ForceY,ForceZ,MomentX,MomentY,MomentZ,WarpingMoment);}}]);return IfcStructuralLoadSingleForceWarping;}();var IfcStructuralLoadStatic=/*#__PURE__*/function(){function IfcStructuralLoadStatic(expressID,type,Name){_classCallCheck(this,IfcStructuralLoadStatic);this.expressID=expressID;this.type=type;this.Name=Name;}_createClass(IfcStructuralLoadStatic,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];return new IfcStructuralLoadStatic(expressID,type,Name);}}]);return IfcStructuralLoadStatic;}();var IfcStructuralLoadTemperature=/*#__PURE__*/function(){function IfcStructuralLoadTemperature(expressID,type,Name,DeltaTConstant,DeltaTY,DeltaTZ){_classCallCheck(this,IfcStructuralLoadTemperature);this.expressID=expressID;this.type=type;this.Name=Name;this.DeltaTConstant=DeltaTConstant;this.DeltaTY=DeltaTY;this.DeltaTZ=DeltaTZ;}_createClass(IfcStructuralLoadTemperature,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DeltaTConstant);args.push(this.DeltaTY);args.push(this.DeltaTZ);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DeltaTConstant=tape[ptr++];var DeltaTY=tape[ptr++];var DeltaTZ=tape[ptr++];return new IfcStructuralLoadTemperature(expressID,type,Name,DeltaTConstant,DeltaTY,DeltaTZ);}}]);return IfcStructuralLoadTemperature;}();var IfcStructuralMember=/*#__PURE__*/function(){function IfcStructuralMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation){_classCallCheck(this,IfcStructuralMember);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;}_createClass(IfcStructuralMember,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];return new IfcStructuralMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation);}}]);return IfcStructuralMember;}();var IfcStructuralPlanarAction=/*#__PURE__*/function(){function IfcStructuralPlanarAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType){_classCallCheck(this,IfcStructuralPlanarAction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.DestabilizingLoad=DestabilizingLoad;this.ProjectedOrTrue=ProjectedOrTrue;this.PredefinedType=PredefinedType;}_createClass(IfcStructuralPlanarAction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.DestabilizingLoad);args.push(this.ProjectedOrTrue);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var DestabilizingLoad=tape[ptr++];var ProjectedOrTrue=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStructuralPlanarAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType);}}]);return IfcStructuralPlanarAction;}();var IfcStructuralPointAction=/*#__PURE__*/function(){function IfcStructuralPointAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad){_classCallCheck(this,IfcStructuralPointAction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.DestabilizingLoad=DestabilizingLoad;}_createClass(IfcStructuralPointAction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.DestabilizingLoad);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var DestabilizingLoad=tape[ptr++];return new IfcStructuralPointAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad);}}]);return IfcStructuralPointAction;}();var IfcStructuralPointConnection=/*#__PURE__*/function(){function IfcStructuralPointConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition,ConditionCoordinateSystem){_classCallCheck(this,IfcStructuralPointConnection);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedCondition=AppliedCondition;this.ConditionCoordinateSystem=ConditionCoordinateSystem;}_createClass(IfcStructuralPointConnection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedCondition);args.push(this.ConditionCoordinateSystem);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedCondition=tape[ptr++];var ConditionCoordinateSystem=tape[ptr++];return new IfcStructuralPointConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition,ConditionCoordinateSystem);}}]);return IfcStructuralPointConnection;}();var IfcStructuralPointReaction=/*#__PURE__*/function(){function IfcStructuralPointReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal){_classCallCheck(this,IfcStructuralPointReaction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;}_createClass(IfcStructuralPointReaction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];return new IfcStructuralPointReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal);}}]);return IfcStructuralPointReaction;}();var IfcStructuralReaction=/*#__PURE__*/function(){function IfcStructuralReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal){_classCallCheck(this,IfcStructuralReaction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;}_createClass(IfcStructuralReaction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];return new IfcStructuralReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal);}}]);return IfcStructuralReaction;}();var IfcStructuralResultGroup=/*#__PURE__*/function(){function IfcStructuralResultGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,TheoryType,ResultForLoadGroup,IsLinear){_classCallCheck(this,IfcStructuralResultGroup);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.TheoryType=TheoryType;this.ResultForLoadGroup=ResultForLoadGroup;this.IsLinear=IsLinear;}_createClass(IfcStructuralResultGroup,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.TheoryType);args.push(this.ResultForLoadGroup);args.push(this.IsLinear);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var TheoryType=tape[ptr++];var ResultForLoadGroup=tape[ptr++];var IsLinear=tape[ptr++];return new IfcStructuralResultGroup(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,TheoryType,ResultForLoadGroup,IsLinear);}}]);return IfcStructuralResultGroup;}();var IfcStructuralSurfaceAction=/*#__PURE__*/function(){function IfcStructuralSurfaceAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType){_classCallCheck(this,IfcStructuralSurfaceAction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.DestabilizingLoad=DestabilizingLoad;this.ProjectedOrTrue=ProjectedOrTrue;this.PredefinedType=PredefinedType;}_createClass(IfcStructuralSurfaceAction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.DestabilizingLoad);args.push(this.ProjectedOrTrue);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var DestabilizingLoad=tape[ptr++];var ProjectedOrTrue=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStructuralSurfaceAction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,DestabilizingLoad,ProjectedOrTrue,PredefinedType);}}]);return IfcStructuralSurfaceAction;}();var IfcStructuralSurfaceConnection=/*#__PURE__*/function(){function IfcStructuralSurfaceConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition){_classCallCheck(this,IfcStructuralSurfaceConnection);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedCondition=AppliedCondition;}_createClass(IfcStructuralSurfaceConnection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedCondition);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedCondition=tape[ptr++];return new IfcStructuralSurfaceConnection(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedCondition);}}]);return IfcStructuralSurfaceConnection;}();var IfcStructuralSurfaceMember=/*#__PURE__*/function(){function IfcStructuralSurfaceMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Thickness){_classCallCheck(this,IfcStructuralSurfaceMember);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.PredefinedType=PredefinedType;this.Thickness=Thickness;}_createClass(IfcStructuralSurfaceMember,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.PredefinedType);args.push(this.Thickness);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var PredefinedType=tape[ptr++];var Thickness=tape[ptr++];return new IfcStructuralSurfaceMember(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Thickness);}}]);return IfcStructuralSurfaceMember;}();var IfcStructuralSurfaceMemberVarying=/*#__PURE__*/function(){function IfcStructuralSurfaceMemberVarying(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Thickness){_classCallCheck(this,IfcStructuralSurfaceMemberVarying);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.PredefinedType=PredefinedType;this.Thickness=Thickness;}_createClass(IfcStructuralSurfaceMemberVarying,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.PredefinedType);args.push(this.Thickness);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var PredefinedType=tape[ptr++];var Thickness=tape[ptr++];return new IfcStructuralSurfaceMemberVarying(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,PredefinedType,Thickness);}}]);return IfcStructuralSurfaceMemberVarying;}();var IfcStructuralSurfaceReaction=/*#__PURE__*/function(){function IfcStructuralSurfaceReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,PredefinedType){_classCallCheck(this,IfcStructuralSurfaceReaction);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.AppliedLoad=AppliedLoad;this.GlobalOrLocal=GlobalOrLocal;this.PredefinedType=PredefinedType;}_createClass(IfcStructuralSurfaceReaction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.AppliedLoad);args.push(this.GlobalOrLocal);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var AppliedLoad=tape[ptr++];var GlobalOrLocal=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcStructuralSurfaceReaction(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,AppliedLoad,GlobalOrLocal,PredefinedType);}}]);return IfcStructuralSurfaceReaction;}();var IfcStyleModel=/*#__PURE__*/function(){function IfcStyleModel(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items){_classCallCheck(this,IfcStyleModel);this.expressID=expressID;this.type=type;this.ContextOfItems=ContextOfItems;this.RepresentationIdentifier=RepresentationIdentifier;this.RepresentationType=RepresentationType;this.Items=Items;}_createClass(IfcStyleModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextOfItems);args.push(this.RepresentationIdentifier);args.push(this.RepresentationType);args.push(this.Items);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextOfItems=tape[ptr++];var RepresentationIdentifier=tape[ptr++];var RepresentationType=tape[ptr++];var Items=tape[ptr++];return new IfcStyleModel(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items);}}]);return IfcStyleModel;}();var IfcStyledItem=/*#__PURE__*/function(){function IfcStyledItem(expressID,type,Item,Styles,Name){_classCallCheck(this,IfcStyledItem);this.expressID=expressID;this.type=type;this.Item=Item;this.Styles=Styles;this.Name=Name;}_createClass(IfcStyledItem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Item);args.push(this.Styles);args.push(this.Name);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Item=tape[ptr++];var Styles=tape[ptr++];var Name=tape[ptr++];return new IfcStyledItem(expressID,type,Item,Styles,Name);}}]);return IfcStyledItem;}();var IfcStyledRepresentation=/*#__PURE__*/function(){function IfcStyledRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items){_classCallCheck(this,IfcStyledRepresentation);this.expressID=expressID;this.type=type;this.ContextOfItems=ContextOfItems;this.RepresentationIdentifier=RepresentationIdentifier;this.RepresentationType=RepresentationType;this.Items=Items;}_createClass(IfcStyledRepresentation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextOfItems);args.push(this.RepresentationIdentifier);args.push(this.RepresentationType);args.push(this.Items);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextOfItems=tape[ptr++];var RepresentationIdentifier=tape[ptr++];var RepresentationType=tape[ptr++];var Items=tape[ptr++];return new IfcStyledRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items);}}]);return IfcStyledRepresentation;}();var IfcSubContractResource=/*#__PURE__*/function(){function IfcSubContractResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcSubContractResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Usage=Usage;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcSubContractResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Usage);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Usage=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSubContractResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Usage,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcSubContractResource;}();var IfcSubContractResourceType=/*#__PURE__*/function(){function IfcSubContractResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType){_classCallCheck(this,IfcSubContractResourceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;this.BaseCosts=BaseCosts;this.BaseQuantity=BaseQuantity;this.PredefinedType=PredefinedType;}_createClass(IfcSubContractResourceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);args.push(this.BaseCosts);args.push(this.BaseQuantity);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];var BaseCosts=tape[ptr++];var BaseQuantity=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSubContractResourceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType,BaseCosts,BaseQuantity,PredefinedType);}}]);return IfcSubContractResourceType;}();var IfcSubedge=/*#__PURE__*/function(){function IfcSubedge(expressID,type,EdgeStart,EdgeEnd,ParentEdge){_classCallCheck(this,IfcSubedge);this.expressID=expressID;this.type=type;this.EdgeStart=EdgeStart;this.EdgeEnd=EdgeEnd;this.ParentEdge=ParentEdge;}_createClass(IfcSubedge,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.EdgeStart);args.push(this.EdgeEnd);args.push(this.ParentEdge);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var EdgeStart=tape[ptr++];var EdgeEnd=tape[ptr++];var ParentEdge=tape[ptr++];return new IfcSubedge(expressID,type,EdgeStart,EdgeEnd,ParentEdge);}}]);return IfcSubedge;}();var IfcSurface=/*#__PURE__*/function(){function IfcSurface(expressID,type){_classCallCheck(this,IfcSurface);this.expressID=expressID;this.type=type;}_createClass(IfcSurface,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcSurface(expressID,type);}}]);return IfcSurface;}();var IfcSurfaceCurve=/*#__PURE__*/function(){function IfcSurfaceCurve(expressID,type,Curve3D,AssociatedGeometry,MasterRepresentation){_classCallCheck(this,IfcSurfaceCurve);this.expressID=expressID;this.type=type;this.Curve3D=Curve3D;this.AssociatedGeometry=AssociatedGeometry;this.MasterRepresentation=MasterRepresentation;}_createClass(IfcSurfaceCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Curve3D);args.push(this.AssociatedGeometry);args.push(this.MasterRepresentation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Curve3D=tape[ptr++];var AssociatedGeometry=tape[ptr++];var MasterRepresentation=tape[ptr++];return new IfcSurfaceCurve(expressID,type,Curve3D,AssociatedGeometry,MasterRepresentation);}}]);return IfcSurfaceCurve;}();var IfcSurfaceCurveSweptAreaSolid=/*#__PURE__*/function(){function IfcSurfaceCurveSweptAreaSolid(expressID,type,SweptArea,Position,Directrix,StartParam,EndParam,ReferenceSurface){_classCallCheck(this,IfcSurfaceCurveSweptAreaSolid);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;this.Directrix=Directrix;this.StartParam=StartParam;this.EndParam=EndParam;this.ReferenceSurface=ReferenceSurface;}_createClass(IfcSurfaceCurveSweptAreaSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);args.push(this.Directrix);args.push(this.StartParam);args.push(this.EndParam);args.push(this.ReferenceSurface);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];var Directrix=tape[ptr++];var StartParam=tape[ptr++];var EndParam=tape[ptr++];var ReferenceSurface=tape[ptr++];return new IfcSurfaceCurveSweptAreaSolid(expressID,type,SweptArea,Position,Directrix,StartParam,EndParam,ReferenceSurface);}}]);return IfcSurfaceCurveSweptAreaSolid;}();var IfcSurfaceFeature=/*#__PURE__*/function(){function IfcSurfaceFeature(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSurfaceFeature);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSurfaceFeature,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSurfaceFeature(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSurfaceFeature;}();var IfcSurfaceOfLinearExtrusion=/*#__PURE__*/function(){function IfcSurfaceOfLinearExtrusion(expressID,type,SweptCurve,Position,ExtrudedDirection,Depth){_classCallCheck(this,IfcSurfaceOfLinearExtrusion);this.expressID=expressID;this.type=type;this.SweptCurve=SweptCurve;this.Position=Position;this.ExtrudedDirection=ExtrudedDirection;this.Depth=Depth;}_createClass(IfcSurfaceOfLinearExtrusion,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptCurve);args.push(this.Position);args.push(this.ExtrudedDirection);args.push(this.Depth);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptCurve=tape[ptr++];var Position=tape[ptr++];var ExtrudedDirection=tape[ptr++];var Depth=tape[ptr++];return new IfcSurfaceOfLinearExtrusion(expressID,type,SweptCurve,Position,ExtrudedDirection,Depth);}}]);return IfcSurfaceOfLinearExtrusion;}();var IfcSurfaceOfRevolution=/*#__PURE__*/function(){function IfcSurfaceOfRevolution(expressID,type,SweptCurve,Position,AxisPosition){_classCallCheck(this,IfcSurfaceOfRevolution);this.expressID=expressID;this.type=type;this.SweptCurve=SweptCurve;this.Position=Position;this.AxisPosition=AxisPosition;}_createClass(IfcSurfaceOfRevolution,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptCurve);args.push(this.Position);args.push(this.AxisPosition);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptCurve=tape[ptr++];var Position=tape[ptr++];var AxisPosition=tape[ptr++];return new IfcSurfaceOfRevolution(expressID,type,SweptCurve,Position,AxisPosition);}}]);return IfcSurfaceOfRevolution;}();var IfcSurfaceReinforcementArea=/*#__PURE__*/function(){function IfcSurfaceReinforcementArea(expressID,type,Name,SurfaceReinforcement1,SurfaceReinforcement2,ShearReinforcement){_classCallCheck(this,IfcSurfaceReinforcementArea);this.expressID=expressID;this.type=type;this.Name=Name;this.SurfaceReinforcement1=SurfaceReinforcement1;this.SurfaceReinforcement2=SurfaceReinforcement2;this.ShearReinforcement=ShearReinforcement;}_createClass(IfcSurfaceReinforcementArea,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.SurfaceReinforcement1);args.push(this.SurfaceReinforcement2);args.push(this.ShearReinforcement);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var SurfaceReinforcement1=tape[ptr++];var SurfaceReinforcement2=tape[ptr++];var ShearReinforcement=tape[ptr++];return new IfcSurfaceReinforcementArea(expressID,type,Name,SurfaceReinforcement1,SurfaceReinforcement2,ShearReinforcement);}}]);return IfcSurfaceReinforcementArea;}();var IfcSurfaceStyle=/*#__PURE__*/function(){function IfcSurfaceStyle(expressID,type,Name,Side,Styles){_classCallCheck(this,IfcSurfaceStyle);this.expressID=expressID;this.type=type;this.Name=Name;this.Side=Side;this.Styles=Styles;}_createClass(IfcSurfaceStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Side);args.push(this.Styles);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Side=tape[ptr++];var Styles=tape[ptr++];return new IfcSurfaceStyle(expressID,type,Name,Side,Styles);}}]);return IfcSurfaceStyle;}();var IfcSurfaceStyleLighting=/*#__PURE__*/function(){function IfcSurfaceStyleLighting(expressID,type,DiffuseTransmissionColour,DiffuseReflectionColour,TransmissionColour,ReflectanceColour){_classCallCheck(this,IfcSurfaceStyleLighting);this.expressID=expressID;this.type=type;this.DiffuseTransmissionColour=DiffuseTransmissionColour;this.DiffuseReflectionColour=DiffuseReflectionColour;this.TransmissionColour=TransmissionColour;this.ReflectanceColour=ReflectanceColour;}_createClass(IfcSurfaceStyleLighting,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.DiffuseTransmissionColour);args.push(this.DiffuseReflectionColour);args.push(this.TransmissionColour);args.push(this.ReflectanceColour);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var DiffuseTransmissionColour=tape[ptr++];var DiffuseReflectionColour=tape[ptr++];var TransmissionColour=tape[ptr++];var ReflectanceColour=tape[ptr++];return new IfcSurfaceStyleLighting(expressID,type,DiffuseTransmissionColour,DiffuseReflectionColour,TransmissionColour,ReflectanceColour);}}]);return IfcSurfaceStyleLighting;}();var IfcSurfaceStyleRefraction=/*#__PURE__*/function(){function IfcSurfaceStyleRefraction(expressID,type,RefractionIndex,DispersionFactor){_classCallCheck(this,IfcSurfaceStyleRefraction);this.expressID=expressID;this.type=type;this.RefractionIndex=RefractionIndex;this.DispersionFactor=DispersionFactor;}_createClass(IfcSurfaceStyleRefraction,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RefractionIndex);args.push(this.DispersionFactor);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RefractionIndex=tape[ptr++];var DispersionFactor=tape[ptr++];return new IfcSurfaceStyleRefraction(expressID,type,RefractionIndex,DispersionFactor);}}]);return IfcSurfaceStyleRefraction;}();var IfcSurfaceStyleRendering=/*#__PURE__*/function(){function IfcSurfaceStyleRendering(expressID,type,SurfaceColour,Transparency,DiffuseColour,TransmissionColour,DiffuseTransmissionColour,ReflectionColour,SpecularColour,SpecularHighlight,ReflectanceMethod){_classCallCheck(this,IfcSurfaceStyleRendering);this.expressID=expressID;this.type=type;this.SurfaceColour=SurfaceColour;this.Transparency=Transparency;this.DiffuseColour=DiffuseColour;this.TransmissionColour=TransmissionColour;this.DiffuseTransmissionColour=DiffuseTransmissionColour;this.ReflectionColour=ReflectionColour;this.SpecularColour=SpecularColour;this.SpecularHighlight=SpecularHighlight;this.ReflectanceMethod=ReflectanceMethod;}_createClass(IfcSurfaceStyleRendering,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SurfaceColour);args.push(this.Transparency);args.push(this.DiffuseColour);args.push(this.TransmissionColour);args.push(this.DiffuseTransmissionColour);args.push(this.ReflectionColour);args.push(this.SpecularColour);args.push(this.SpecularHighlight);args.push(this.ReflectanceMethod);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SurfaceColour=tape[ptr++];var Transparency=tape[ptr++];var DiffuseColour=tape[ptr++];var TransmissionColour=tape[ptr++];var DiffuseTransmissionColour=tape[ptr++];var ReflectionColour=tape[ptr++];var SpecularColour=tape[ptr++];var SpecularHighlight=tape[ptr++];var ReflectanceMethod=tape[ptr++];return new IfcSurfaceStyleRendering(expressID,type,SurfaceColour,Transparency,DiffuseColour,TransmissionColour,DiffuseTransmissionColour,ReflectionColour,SpecularColour,SpecularHighlight,ReflectanceMethod);}}]);return IfcSurfaceStyleRendering;}();var IfcSurfaceStyleShading=/*#__PURE__*/function(){function IfcSurfaceStyleShading(expressID,type,SurfaceColour,Transparency){_classCallCheck(this,IfcSurfaceStyleShading);this.expressID=expressID;this.type=type;this.SurfaceColour=SurfaceColour;this.Transparency=Transparency;}_createClass(IfcSurfaceStyleShading,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SurfaceColour);args.push(this.Transparency);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SurfaceColour=tape[ptr++];var Transparency=tape[ptr++];return new IfcSurfaceStyleShading(expressID,type,SurfaceColour,Transparency);}}]);return IfcSurfaceStyleShading;}();var IfcSurfaceStyleWithTextures=/*#__PURE__*/function(){function IfcSurfaceStyleWithTextures(expressID,type,Textures){_classCallCheck(this,IfcSurfaceStyleWithTextures);this.expressID=expressID;this.type=type;this.Textures=Textures;}_createClass(IfcSurfaceStyleWithTextures,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Textures);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Textures=tape[ptr++];return new IfcSurfaceStyleWithTextures(expressID,type,Textures);}}]);return IfcSurfaceStyleWithTextures;}();var IfcSurfaceTexture=/*#__PURE__*/function(){function IfcSurfaceTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter){_classCallCheck(this,IfcSurfaceTexture);this.expressID=expressID;this.type=type;this.RepeatS=RepeatS;this.RepeatT=RepeatT;this.Mode=Mode;this.TextureTransform=TextureTransform;this.Parameter=Parameter;}_createClass(IfcSurfaceTexture,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RepeatS);args.push(this.RepeatT);args.push(this.Mode);args.push(this.TextureTransform);args.push(this.Parameter);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RepeatS=tape[ptr++];var RepeatT=tape[ptr++];var Mode=tape[ptr++];var TextureTransform=tape[ptr++];var Parameter=tape[ptr++];return new IfcSurfaceTexture(expressID,type,RepeatS,RepeatT,Mode,TextureTransform,Parameter);}}]);return IfcSurfaceTexture;}();var IfcSweptAreaSolid=/*#__PURE__*/function(){function IfcSweptAreaSolid(expressID,type,SweptArea,Position){_classCallCheck(this,IfcSweptAreaSolid);this.expressID=expressID;this.type=type;this.SweptArea=SweptArea;this.Position=Position;}_createClass(IfcSweptAreaSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptArea);args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptArea=tape[ptr++];var Position=tape[ptr++];return new IfcSweptAreaSolid(expressID,type,SweptArea,Position);}}]);return IfcSweptAreaSolid;}();var IfcSweptDiskSolid=/*#__PURE__*/function(){function IfcSweptDiskSolid(expressID,type,Directrix,Radius,InnerRadius,StartParam,EndParam){_classCallCheck(this,IfcSweptDiskSolid);this.expressID=expressID;this.type=type;this.Directrix=Directrix;this.Radius=Radius;this.InnerRadius=InnerRadius;this.StartParam=StartParam;this.EndParam=EndParam;}_createClass(IfcSweptDiskSolid,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Directrix);args.push(this.Radius);args.push(this.InnerRadius);args.push(this.StartParam);args.push(this.EndParam);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Directrix=tape[ptr++];var Radius=tape[ptr++];var InnerRadius=tape[ptr++];var StartParam=tape[ptr++];var EndParam=tape[ptr++];return new IfcSweptDiskSolid(expressID,type,Directrix,Radius,InnerRadius,StartParam,EndParam);}}]);return IfcSweptDiskSolid;}();var IfcSweptDiskSolidPolygonal=/*#__PURE__*/function(){function IfcSweptDiskSolidPolygonal(expressID,type,Directrix,Radius,InnerRadius,StartParam,EndParam,FilletRadius){_classCallCheck(this,IfcSweptDiskSolidPolygonal);this.expressID=expressID;this.type=type;this.Directrix=Directrix;this.Radius=Radius;this.InnerRadius=InnerRadius;this.StartParam=StartParam;this.EndParam=EndParam;this.FilletRadius=FilletRadius;}_createClass(IfcSweptDiskSolidPolygonal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Directrix);args.push(this.Radius);args.push(this.InnerRadius);args.push(this.StartParam);args.push(this.EndParam);args.push(this.FilletRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Directrix=tape[ptr++];var Radius=tape[ptr++];var InnerRadius=tape[ptr++];var StartParam=tape[ptr++];var EndParam=tape[ptr++];var FilletRadius=tape[ptr++];return new IfcSweptDiskSolidPolygonal(expressID,type,Directrix,Radius,InnerRadius,StartParam,EndParam,FilletRadius);}}]);return IfcSweptDiskSolidPolygonal;}();var IfcSweptSurface=/*#__PURE__*/function(){function IfcSweptSurface(expressID,type,SweptCurve,Position){_classCallCheck(this,IfcSweptSurface);this.expressID=expressID;this.type=type;this.SweptCurve=SweptCurve;this.Position=Position;}_createClass(IfcSweptSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.SweptCurve);args.push(this.Position);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var SweptCurve=tape[ptr++];var Position=tape[ptr++];return new IfcSweptSurface(expressID,type,SweptCurve,Position);}}]);return IfcSweptSurface;}();var IfcSwitchingDevice=/*#__PURE__*/function(){function IfcSwitchingDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSwitchingDevice);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSwitchingDevice,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSwitchingDevice(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSwitchingDevice;}();var IfcSwitchingDeviceType=/*#__PURE__*/function(){function IfcSwitchingDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSwitchingDeviceType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSwitchingDeviceType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSwitchingDeviceType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSwitchingDeviceType;}();var IfcSystem=/*#__PURE__*/function(){function IfcSystem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType){_classCallCheck(this,IfcSystem);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;}_createClass(IfcSystem,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];return new IfcSystem(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType);}}]);return IfcSystem;}();var IfcSystemFurnitureElement=/*#__PURE__*/function(){function IfcSystemFurnitureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcSystemFurnitureElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcSystemFurnitureElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSystemFurnitureElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcSystemFurnitureElement;}();var IfcSystemFurnitureElementType=/*#__PURE__*/function(){function IfcSystemFurnitureElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcSystemFurnitureElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcSystemFurnitureElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcSystemFurnitureElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcSystemFurnitureElementType;}();var IfcTShapeProfileDef=/*#__PURE__*/function(){function IfcTShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,FlangeWidth,WebThickness,FlangeThickness,FilletRadius,FlangeEdgeRadius,WebEdgeRadius,WebSlope,FlangeSlope){_classCallCheck(this,IfcTShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Depth=Depth;this.FlangeWidth=FlangeWidth;this.WebThickness=WebThickness;this.FlangeThickness=FlangeThickness;this.FilletRadius=FilletRadius;this.FlangeEdgeRadius=FlangeEdgeRadius;this.WebEdgeRadius=WebEdgeRadius;this.WebSlope=WebSlope;this.FlangeSlope=FlangeSlope;}_createClass(IfcTShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Depth);args.push(this.FlangeWidth);args.push(this.WebThickness);args.push(this.FlangeThickness);args.push(this.FilletRadius);args.push(this.FlangeEdgeRadius);args.push(this.WebEdgeRadius);args.push(this.WebSlope);args.push(this.FlangeSlope);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Depth=tape[ptr++];var FlangeWidth=tape[ptr++];var WebThickness=tape[ptr++];var FlangeThickness=tape[ptr++];var FilletRadius=tape[ptr++];var FlangeEdgeRadius=tape[ptr++];var WebEdgeRadius=tape[ptr++];var WebSlope=tape[ptr++];var FlangeSlope=tape[ptr++];return new IfcTShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,FlangeWidth,WebThickness,FlangeThickness,FilletRadius,FlangeEdgeRadius,WebEdgeRadius,WebSlope,FlangeSlope);}}]);return IfcTShapeProfileDef;}();var IfcTable=/*#__PURE__*/function(){function IfcTable(expressID,type,Name,Rows,Columns){_classCallCheck(this,IfcTable);this.expressID=expressID;this.type=type;this.Name=Name;this.Rows=Rows;this.Columns=Columns;}_createClass(IfcTable,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Rows);args.push(this.Columns);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Rows=tape[ptr++];var Columns=tape[ptr++];return new IfcTable(expressID,type,Name,Rows,Columns);}}]);return IfcTable;}();var IfcTableColumn=/*#__PURE__*/function(){function IfcTableColumn(expressID,type,Identifier,Name,Description,Unit,ReferencePath){_classCallCheck(this,IfcTableColumn);this.expressID=expressID;this.type=type;this.Identifier=Identifier;this.Name=Name;this.Description=Description;this.Unit=Unit;this.ReferencePath=ReferencePath;}_createClass(IfcTableColumn,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Identifier);args.push(this.Name);args.push(this.Description);args.push(this.Unit);args.push(this.ReferencePath);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Identifier=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var Unit=tape[ptr++];var ReferencePath=tape[ptr++];return new IfcTableColumn(expressID,type,Identifier,Name,Description,Unit,ReferencePath);}}]);return IfcTableColumn;}();var IfcTableRow=/*#__PURE__*/function(){function IfcTableRow(expressID,type,RowCells,IsHeading){_classCallCheck(this,IfcTableRow);this.expressID=expressID;this.type=type;this.RowCells=RowCells;this.IsHeading=IsHeading;}_createClass(IfcTableRow,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.RowCells);args.push(this.IsHeading);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var RowCells=tape[ptr++];var IsHeading=tape[ptr++];return new IfcTableRow(expressID,type,RowCells,IsHeading);}}]);return IfcTableRow;}();var IfcTank=/*#__PURE__*/function(){function IfcTank(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcTank);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcTank,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTank(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcTank;}();var IfcTankType=/*#__PURE__*/function(){function IfcTankType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcTankType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcTankType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTankType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcTankType;}();var IfcTask=/*#__PURE__*/function(){function IfcTask(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Status,WorkMethod,IsMilestone,Priority,TaskTime,PredefinedType){_classCallCheck(this,IfcTask);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.LongDescription=LongDescription;this.Status=Status;this.WorkMethod=WorkMethod;this.IsMilestone=IsMilestone;this.Priority=Priority;this.TaskTime=TaskTime;this.PredefinedType=PredefinedType;}_createClass(IfcTask,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.LongDescription);args.push(this.Status);args.push(this.WorkMethod);args.push(this.IsMilestone);args.push(this.Priority);args.push(this.TaskTime);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var Status=tape[ptr++];var WorkMethod=tape[ptr++];var IsMilestone=tape[ptr++];var Priority=tape[ptr++];var TaskTime=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTask(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,LongDescription,Status,WorkMethod,IsMilestone,Priority,TaskTime,PredefinedType);}}]);return IfcTask;}();var IfcTaskTime=/*#__PURE__*/function(){function IfcTaskTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,DurationType,ScheduleDuration,ScheduleStart,ScheduleFinish,EarlyStart,EarlyFinish,LateStart,LateFinish,FreeFloat,TotalFloat,IsCritical,StatusTime,ActualDuration,ActualStart,ActualFinish,RemainingTime,Completion){_classCallCheck(this,IfcTaskTime);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.DurationType=DurationType;this.ScheduleDuration=ScheduleDuration;this.ScheduleStart=ScheduleStart;this.ScheduleFinish=ScheduleFinish;this.EarlyStart=EarlyStart;this.EarlyFinish=EarlyFinish;this.LateStart=LateStart;this.LateFinish=LateFinish;this.FreeFloat=FreeFloat;this.TotalFloat=TotalFloat;this.IsCritical=IsCritical;this.StatusTime=StatusTime;this.ActualDuration=ActualDuration;this.ActualStart=ActualStart;this.ActualFinish=ActualFinish;this.RemainingTime=RemainingTime;this.Completion=Completion;}_createClass(IfcTaskTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.DurationType);args.push(this.ScheduleDuration);args.push(this.ScheduleStart);args.push(this.ScheduleFinish);args.push(this.EarlyStart);args.push(this.EarlyFinish);args.push(this.LateStart);args.push(this.LateFinish);args.push(this.FreeFloat);args.push(this.TotalFloat);args.push(this.IsCritical);args.push(this.StatusTime);args.push(this.ActualDuration);args.push(this.ActualStart);args.push(this.ActualFinish);args.push(this.RemainingTime);args.push(this.Completion);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var DurationType=tape[ptr++];var ScheduleDuration=tape[ptr++];var ScheduleStart=tape[ptr++];var ScheduleFinish=tape[ptr++];var EarlyStart=tape[ptr++];var EarlyFinish=tape[ptr++];var LateStart=tape[ptr++];var LateFinish=tape[ptr++];var FreeFloat=tape[ptr++];var TotalFloat=tape[ptr++];var IsCritical=tape[ptr++];var StatusTime=tape[ptr++];var ActualDuration=tape[ptr++];var ActualStart=tape[ptr++];var ActualFinish=tape[ptr++];var RemainingTime=tape[ptr++];var Completion=tape[ptr++];return new IfcTaskTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,DurationType,ScheduleDuration,ScheduleStart,ScheduleFinish,EarlyStart,EarlyFinish,LateStart,LateFinish,FreeFloat,TotalFloat,IsCritical,StatusTime,ActualDuration,ActualStart,ActualFinish,RemainingTime,Completion);}}]);return IfcTaskTime;}();var IfcTaskTimeRecurring=/*#__PURE__*/function(){function IfcTaskTimeRecurring(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,DurationType,ScheduleDuration,ScheduleStart,ScheduleFinish,EarlyStart,EarlyFinish,LateStart,LateFinish,FreeFloat,TotalFloat,IsCritical,StatusTime,ActualDuration,ActualStart,ActualFinish,RemainingTime,Completion,Recurrence){_classCallCheck(this,IfcTaskTimeRecurring);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.DurationType=DurationType;this.ScheduleDuration=ScheduleDuration;this.ScheduleStart=ScheduleStart;this.ScheduleFinish=ScheduleFinish;this.EarlyStart=EarlyStart;this.EarlyFinish=EarlyFinish;this.LateStart=LateStart;this.LateFinish=LateFinish;this.FreeFloat=FreeFloat;this.TotalFloat=TotalFloat;this.IsCritical=IsCritical;this.StatusTime=StatusTime;this.ActualDuration=ActualDuration;this.ActualStart=ActualStart;this.ActualFinish=ActualFinish;this.RemainingTime=RemainingTime;this.Completion=Completion;this.Recurrence=Recurrence;}_createClass(IfcTaskTimeRecurring,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.DurationType);args.push(this.ScheduleDuration);args.push(this.ScheduleStart);args.push(this.ScheduleFinish);args.push(this.EarlyStart);args.push(this.EarlyFinish);args.push(this.LateStart);args.push(this.LateFinish);args.push(this.FreeFloat);args.push(this.TotalFloat);args.push(this.IsCritical);args.push(this.StatusTime);args.push(this.ActualDuration);args.push(this.ActualStart);args.push(this.ActualFinish);args.push(this.RemainingTime);args.push(this.Completion);args.push(this.Recurrence);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var DurationType=tape[ptr++];var ScheduleDuration=tape[ptr++];var ScheduleStart=tape[ptr++];var ScheduleFinish=tape[ptr++];var EarlyStart=tape[ptr++];var EarlyFinish=tape[ptr++];var LateStart=tape[ptr++];var LateFinish=tape[ptr++];var FreeFloat=tape[ptr++];var TotalFloat=tape[ptr++];var IsCritical=tape[ptr++];var StatusTime=tape[ptr++];var ActualDuration=tape[ptr++];var ActualStart=tape[ptr++];var ActualFinish=tape[ptr++];var RemainingTime=tape[ptr++];var Completion=tape[ptr++];var Recurrence=tape[ptr++];return new IfcTaskTimeRecurring(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,DurationType,ScheduleDuration,ScheduleStart,ScheduleFinish,EarlyStart,EarlyFinish,LateStart,LateFinish,FreeFloat,TotalFloat,IsCritical,StatusTime,ActualDuration,ActualStart,ActualFinish,RemainingTime,Completion,Recurrence);}}]);return IfcTaskTimeRecurring;}();var IfcTaskType=/*#__PURE__*/function(){function IfcTaskType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType,PredefinedType,WorkMethod){_classCallCheck(this,IfcTaskType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ProcessType=ProcessType;this.PredefinedType=PredefinedType;this.WorkMethod=WorkMethod;}_createClass(IfcTaskType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ProcessType);args.push(this.PredefinedType);args.push(this.WorkMethod);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ProcessType=tape[ptr++];var PredefinedType=tape[ptr++];var WorkMethod=tape[ptr++];return new IfcTaskType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType,PredefinedType,WorkMethod);}}]);return IfcTaskType;}();var IfcTelecomAddress=/*#__PURE__*/function(){function IfcTelecomAddress(expressID,type,Purpose,Description,UserDefinedPurpose,TelephoneNumbers,FacsimileNumbers,PagerNumber,ElectronicMailAddresses,WWWHomePageURL,MessagingIDs){_classCallCheck(this,IfcTelecomAddress);this.expressID=expressID;this.type=type;this.Purpose=Purpose;this.Description=Description;this.UserDefinedPurpose=UserDefinedPurpose;this.TelephoneNumbers=TelephoneNumbers;this.FacsimileNumbers=FacsimileNumbers;this.PagerNumber=PagerNumber;this.ElectronicMailAddresses=ElectronicMailAddresses;this.WWWHomePageURL=WWWHomePageURL;this.MessagingIDs=MessagingIDs;}_createClass(IfcTelecomAddress,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Purpose);args.push(this.Description);args.push(this.UserDefinedPurpose);args.push(this.TelephoneNumbers);args.push(this.FacsimileNumbers);args.push(this.PagerNumber);args.push(this.ElectronicMailAddresses);args.push(this.WWWHomePageURL);args.push(this.MessagingIDs);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Purpose=tape[ptr++];var Description=tape[ptr++];var UserDefinedPurpose=tape[ptr++];var TelephoneNumbers=tape[ptr++];var FacsimileNumbers=tape[ptr++];var PagerNumber=tape[ptr++];var ElectronicMailAddresses=tape[ptr++];var WWWHomePageURL=tape[ptr++];var MessagingIDs=tape[ptr++];return new IfcTelecomAddress(expressID,type,Purpose,Description,UserDefinedPurpose,TelephoneNumbers,FacsimileNumbers,PagerNumber,ElectronicMailAddresses,WWWHomePageURL,MessagingIDs);}}]);return IfcTelecomAddress;}();var IfcTendon=/*#__PURE__*/function(){function IfcTendon(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,PredefinedType,NominalDiameter,CrossSectionArea,TensionForce,PreStress,FrictionCoefficient,AnchorageSlip,MinCurvatureRadius){_classCallCheck(this,IfcTendon);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.SteelGrade=SteelGrade;this.PredefinedType=PredefinedType;this.NominalDiameter=NominalDiameter;this.CrossSectionArea=CrossSectionArea;this.TensionForce=TensionForce;this.PreStress=PreStress;this.FrictionCoefficient=FrictionCoefficient;this.AnchorageSlip=AnchorageSlip;this.MinCurvatureRadius=MinCurvatureRadius;}_createClass(IfcTendon,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.SteelGrade);args.push(this.PredefinedType);args.push(this.NominalDiameter);args.push(this.CrossSectionArea);args.push(this.TensionForce);args.push(this.PreStress);args.push(this.FrictionCoefficient);args.push(this.AnchorageSlip);args.push(this.MinCurvatureRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var SteelGrade=tape[ptr++];var PredefinedType=tape[ptr++];var NominalDiameter=tape[ptr++];var CrossSectionArea=tape[ptr++];var TensionForce=tape[ptr++];var PreStress=tape[ptr++];var FrictionCoefficient=tape[ptr++];var AnchorageSlip=tape[ptr++];var MinCurvatureRadius=tape[ptr++];return new IfcTendon(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,PredefinedType,NominalDiameter,CrossSectionArea,TensionForce,PreStress,FrictionCoefficient,AnchorageSlip,MinCurvatureRadius);}}]);return IfcTendon;}();var IfcTendonAnchor=/*#__PURE__*/function(){function IfcTendonAnchor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,PredefinedType){_classCallCheck(this,IfcTendonAnchor);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.SteelGrade=SteelGrade;this.PredefinedType=PredefinedType;}_createClass(IfcTendonAnchor,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.SteelGrade);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var SteelGrade=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTendonAnchor(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,PredefinedType);}}]);return IfcTendonAnchor;}();var IfcTendonAnchorType=/*#__PURE__*/function(){function IfcTendonAnchorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcTendonAnchorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcTendonAnchorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTendonAnchorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcTendonAnchorType;}();var IfcTendonConduit=/*#__PURE__*/function(){function IfcTendonConduit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,PredefinedType){_classCallCheck(this,IfcTendonConduit);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.SteelGrade=SteelGrade;this.PredefinedType=PredefinedType;}_createClass(IfcTendonConduit,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.SteelGrade);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var SteelGrade=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTendonConduit(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,SteelGrade,PredefinedType);}}]);return IfcTendonConduit;}();var IfcTendonConduitType=/*#__PURE__*/function(){function IfcTendonConduitType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcTendonConduitType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcTendonConduitType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTendonConduitType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcTendonConduitType;}();var IfcTendonType=/*#__PURE__*/function(){function IfcTendonType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,NominalDiameter,CrossSectionArea,SheathDiameter){_classCallCheck(this,IfcTendonType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.NominalDiameter=NominalDiameter;this.CrossSectionArea=CrossSectionArea;this.SheathDiameter=SheathDiameter;}_createClass(IfcTendonType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.NominalDiameter);args.push(this.CrossSectionArea);args.push(this.SheathDiameter);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var NominalDiameter=tape[ptr++];var CrossSectionArea=tape[ptr++];var SheathDiameter=tape[ptr++];return new IfcTendonType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,NominalDiameter,CrossSectionArea,SheathDiameter);}}]);return IfcTendonType;}();var IfcTessellatedFaceSet=/*#__PURE__*/function(){function IfcTessellatedFaceSet(expressID,type,Coordinates){_classCallCheck(this,IfcTessellatedFaceSet);this.expressID=expressID;this.type=type;this.Coordinates=Coordinates;}_createClass(IfcTessellatedFaceSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Coordinates);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Coordinates=tape[ptr++];return new IfcTessellatedFaceSet(expressID,type,Coordinates);}}]);return IfcTessellatedFaceSet;}();var IfcTessellatedItem=/*#__PURE__*/function(){function IfcTessellatedItem(expressID,type){_classCallCheck(this,IfcTessellatedItem);this.expressID=expressID;this.type=type;}_createClass(IfcTessellatedItem,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcTessellatedItem(expressID,type);}}]);return IfcTessellatedItem;}();var IfcTextLiteral=/*#__PURE__*/function(){function IfcTextLiteral(expressID,type,Literal,Placement,Path){_classCallCheck(this,IfcTextLiteral);this.expressID=expressID;this.type=type;this.Literal=Literal;this.Placement=Placement;this.Path=Path;}_createClass(IfcTextLiteral,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Literal);args.push(this.Placement);args.push(this.Path);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Literal=tape[ptr++];var Placement=tape[ptr++];var Path=tape[ptr++];return new IfcTextLiteral(expressID,type,Literal,Placement,Path);}}]);return IfcTextLiteral;}();var IfcTextLiteralWithExtent=/*#__PURE__*/function(){function IfcTextLiteralWithExtent(expressID,type,Literal,Placement,Path,Extent,BoxAlignment){_classCallCheck(this,IfcTextLiteralWithExtent);this.expressID=expressID;this.type=type;this.Literal=Literal;this.Placement=Placement;this.Path=Path;this.Extent=Extent;this.BoxAlignment=BoxAlignment;}_createClass(IfcTextLiteralWithExtent,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Literal);args.push(this.Placement);args.push(this.Path);args.push(this.Extent);args.push(this.BoxAlignment);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Literal=tape[ptr++];var Placement=tape[ptr++];var Path=tape[ptr++];var Extent=tape[ptr++];var BoxAlignment=tape[ptr++];return new IfcTextLiteralWithExtent(expressID,type,Literal,Placement,Path,Extent,BoxAlignment);}}]);return IfcTextLiteralWithExtent;}();var IfcTextStyle=/*#__PURE__*/function(){function IfcTextStyle(expressID,type,Name,TextCharacterAppearance,TextStyle,TextFontStyle,ModelOrDraughting){_classCallCheck(this,IfcTextStyle);this.expressID=expressID;this.type=type;this.Name=Name;this.TextCharacterAppearance=TextCharacterAppearance;this.TextStyle=TextStyle;this.TextFontStyle=TextFontStyle;this.ModelOrDraughting=ModelOrDraughting;}_createClass(IfcTextStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.TextCharacterAppearance);args.push(this.TextStyle);args.push(this.TextFontStyle);args.push(this.ModelOrDraughting);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var TextCharacterAppearance=tape[ptr++];var TextStyle=tape[ptr++];var TextFontStyle=tape[ptr++];var ModelOrDraughting=tape[ptr++];return new IfcTextStyle(expressID,type,Name,TextCharacterAppearance,TextStyle,TextFontStyle,ModelOrDraughting);}}]);return IfcTextStyle;}();var IfcTextStyleFontModel=/*#__PURE__*/function(){function IfcTextStyleFontModel(expressID,type,Name,FontFamily,FontStyle,FontVariant,FontWeight,FontSize){_classCallCheck(this,IfcTextStyleFontModel);this.expressID=expressID;this.type=type;this.Name=Name;this.FontFamily=FontFamily;this.FontStyle=FontStyle;this.FontVariant=FontVariant;this.FontWeight=FontWeight;this.FontSize=FontSize;}_createClass(IfcTextStyleFontModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.FontFamily);args.push(this.FontStyle);args.push(this.FontVariant);args.push(this.FontWeight);args.push(this.FontSize);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var FontFamily=tape[ptr++];var FontStyle=tape[ptr++];var FontVariant=tape[ptr++];var FontWeight=tape[ptr++];var FontSize=tape[ptr++];return new IfcTextStyleFontModel(expressID,type,Name,FontFamily,FontStyle,FontVariant,FontWeight,FontSize);}}]);return IfcTextStyleFontModel;}();var IfcTextStyleForDefinedFont=/*#__PURE__*/function(){function IfcTextStyleForDefinedFont(expressID,type,Colour,BackgroundColour){_classCallCheck(this,IfcTextStyleForDefinedFont);this.expressID=expressID;this.type=type;this.Colour=Colour;this.BackgroundColour=BackgroundColour;}_createClass(IfcTextStyleForDefinedFont,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Colour);args.push(this.BackgroundColour);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Colour=tape[ptr++];var BackgroundColour=tape[ptr++];return new IfcTextStyleForDefinedFont(expressID,type,Colour,BackgroundColour);}}]);return IfcTextStyleForDefinedFont;}();var IfcTextStyleTextModel=/*#__PURE__*/function(){function IfcTextStyleTextModel(expressID,type,TextIndent,TextAlign,TextDecoration,LetterSpacing,WordSpacing,TextTransform,LineHeight){_classCallCheck(this,IfcTextStyleTextModel);this.expressID=expressID;this.type=type;this.TextIndent=TextIndent;this.TextAlign=TextAlign;this.TextDecoration=TextDecoration;this.LetterSpacing=LetterSpacing;this.WordSpacing=WordSpacing;this.TextTransform=TextTransform;this.LineHeight=LineHeight;}_createClass(IfcTextStyleTextModel,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TextIndent);args.push(this.TextAlign);args.push(this.TextDecoration);args.push(this.LetterSpacing);args.push(this.WordSpacing);args.push(this.TextTransform);args.push(this.LineHeight);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TextIndent=tape[ptr++];var TextAlign=tape[ptr++];var TextDecoration=tape[ptr++];var LetterSpacing=tape[ptr++];var WordSpacing=tape[ptr++];var TextTransform=tape[ptr++];var LineHeight=tape[ptr++];return new IfcTextStyleTextModel(expressID,type,TextIndent,TextAlign,TextDecoration,LetterSpacing,WordSpacing,TextTransform,LineHeight);}}]);return IfcTextStyleTextModel;}();var IfcTextureCoordinate=/*#__PURE__*/function(){function IfcTextureCoordinate(expressID,type,Maps){_classCallCheck(this,IfcTextureCoordinate);this.expressID=expressID;this.type=type;this.Maps=Maps;}_createClass(IfcTextureCoordinate,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Maps);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Maps=tape[ptr++];return new IfcTextureCoordinate(expressID,type,Maps);}}]);return IfcTextureCoordinate;}();var IfcTextureCoordinateGenerator=/*#__PURE__*/function(){function IfcTextureCoordinateGenerator(expressID,type,Maps,Mode,Parameter){_classCallCheck(this,IfcTextureCoordinateGenerator);this.expressID=expressID;this.type=type;this.Maps=Maps;this.Mode=Mode;this.Parameter=Parameter;}_createClass(IfcTextureCoordinateGenerator,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Maps);args.push(this.Mode);args.push(this.Parameter);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Maps=tape[ptr++];var Mode=tape[ptr++];var Parameter=tape[ptr++];return new IfcTextureCoordinateGenerator(expressID,type,Maps,Mode,Parameter);}}]);return IfcTextureCoordinateGenerator;}();var IfcTextureMap=/*#__PURE__*/function(){function IfcTextureMap(expressID,type,Maps,Vertices,MappedTo){_classCallCheck(this,IfcTextureMap);this.expressID=expressID;this.type=type;this.Maps=Maps;this.Vertices=Vertices;this.MappedTo=MappedTo;}_createClass(IfcTextureMap,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Maps);args.push(this.Vertices);args.push(this.MappedTo);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Maps=tape[ptr++];var Vertices=tape[ptr++];var MappedTo=tape[ptr++];return new IfcTextureMap(expressID,type,Maps,Vertices,MappedTo);}}]);return IfcTextureMap;}();var IfcTextureVertex=/*#__PURE__*/function(){function IfcTextureVertex(expressID,type,Coordinates){_classCallCheck(this,IfcTextureVertex);this.expressID=expressID;this.type=type;this.Coordinates=Coordinates;}_createClass(IfcTextureVertex,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Coordinates);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Coordinates=tape[ptr++];return new IfcTextureVertex(expressID,type,Coordinates);}}]);return IfcTextureVertex;}();var IfcTextureVertexList=/*#__PURE__*/function(){function IfcTextureVertexList(expressID,type,TexCoordsList){_classCallCheck(this,IfcTextureVertexList);this.expressID=expressID;this.type=type;this.TexCoordsList=TexCoordsList;}_createClass(IfcTextureVertexList,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.TexCoordsList);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var TexCoordsList=tape[ptr++];return new IfcTextureVertexList(expressID,type,TexCoordsList);}}]);return IfcTextureVertexList;}();var IfcTimePeriod=/*#__PURE__*/function(){function IfcTimePeriod(expressID,type,StartTime,EndTime){_classCallCheck(this,IfcTimePeriod);this.expressID=expressID;this.type=type;this.StartTime=StartTime;this.EndTime=EndTime;}_createClass(IfcTimePeriod,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.StartTime);args.push(this.EndTime);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var StartTime=tape[ptr++];var EndTime=tape[ptr++];return new IfcTimePeriod(expressID,type,StartTime,EndTime);}}]);return IfcTimePeriod;}();var IfcTimeSeries=/*#__PURE__*/function(){function IfcTimeSeries(expressID,type,Name,Description,StartTime,EndTime,TimeSeriesDataType,DataOrigin,UserDefinedDataOrigin,Unit){_classCallCheck(this,IfcTimeSeries);this.expressID=expressID;this.type=type;this.Name=Name;this.Description=Description;this.StartTime=StartTime;this.EndTime=EndTime;this.TimeSeriesDataType=TimeSeriesDataType;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.Unit=Unit;}_createClass(IfcTimeSeries,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.Description);args.push(this.StartTime);args.push(this.EndTime);args.push(this.TimeSeriesDataType);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.Unit);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var Description=tape[ptr++];var StartTime=tape[ptr++];var EndTime=tape[ptr++];var TimeSeriesDataType=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var Unit=tape[ptr++];return new IfcTimeSeries(expressID,type,Name,Description,StartTime,EndTime,TimeSeriesDataType,DataOrigin,UserDefinedDataOrigin,Unit);}}]);return IfcTimeSeries;}();var IfcTimeSeriesValue=/*#__PURE__*/function(){function IfcTimeSeriesValue(expressID,type,ListValues){_classCallCheck(this,IfcTimeSeriesValue);this.expressID=expressID;this.type=type;this.ListValues=ListValues;}_createClass(IfcTimeSeriesValue,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ListValues);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ListValues=tape[ptr++];return new IfcTimeSeriesValue(expressID,type,ListValues);}}]);return IfcTimeSeriesValue;}();var IfcTopologicalRepresentationItem=/*#__PURE__*/function(){function IfcTopologicalRepresentationItem(expressID,type){_classCallCheck(this,IfcTopologicalRepresentationItem);this.expressID=expressID;this.type=type;}_createClass(IfcTopologicalRepresentationItem,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcTopologicalRepresentationItem(expressID,type);}}]);return IfcTopologicalRepresentationItem;}();var IfcTopologyRepresentation=/*#__PURE__*/function(){function IfcTopologyRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items){_classCallCheck(this,IfcTopologyRepresentation);this.expressID=expressID;this.type=type;this.ContextOfItems=ContextOfItems;this.RepresentationIdentifier=RepresentationIdentifier;this.RepresentationType=RepresentationType;this.Items=Items;}_createClass(IfcTopologyRepresentation,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ContextOfItems);args.push(this.RepresentationIdentifier);args.push(this.RepresentationType);args.push(this.Items);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ContextOfItems=tape[ptr++];var RepresentationIdentifier=tape[ptr++];var RepresentationType=tape[ptr++];var Items=tape[ptr++];return new IfcTopologyRepresentation(expressID,type,ContextOfItems,RepresentationIdentifier,RepresentationType,Items);}}]);return IfcTopologyRepresentation;}();var IfcToroidalSurface=/*#__PURE__*/function(){function IfcToroidalSurface(expressID,type,Position,MajorRadius,MinorRadius){_classCallCheck(this,IfcToroidalSurface);this.expressID=expressID;this.type=type;this.Position=Position;this.MajorRadius=MajorRadius;this.MinorRadius=MinorRadius;}_createClass(IfcToroidalSurface,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Position);args.push(this.MajorRadius);args.push(this.MinorRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Position=tape[ptr++];var MajorRadius=tape[ptr++];var MinorRadius=tape[ptr++];return new IfcToroidalSurface(expressID,type,Position,MajorRadius,MinorRadius);}}]);return IfcToroidalSurface;}();var IfcTransformer=/*#__PURE__*/function(){function IfcTransformer(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcTransformer);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcTransformer,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTransformer(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcTransformer;}();var IfcTransformerType=/*#__PURE__*/function(){function IfcTransformerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcTransformerType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcTransformerType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTransformerType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcTransformerType;}();var IfcTransitionCurveSegment2D=/*#__PURE__*/function(){function IfcTransitionCurveSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength,StartRadius,EndRadius,IsStartRadiusCCW,IsEndRadiusCCW,TransitionCurveType){_classCallCheck(this,IfcTransitionCurveSegment2D);this.expressID=expressID;this.type=type;this.StartPoint=StartPoint;this.StartDirection=StartDirection;this.SegmentLength=SegmentLength;this.StartRadius=StartRadius;this.EndRadius=EndRadius;this.IsStartRadiusCCW=IsStartRadiusCCW;this.IsEndRadiusCCW=IsEndRadiusCCW;this.TransitionCurveType=TransitionCurveType;}_createClass(IfcTransitionCurveSegment2D,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.StartPoint);args.push(this.StartDirection);args.push(this.SegmentLength);args.push(this.StartRadius);args.push(this.EndRadius);args.push(this.IsStartRadiusCCW);args.push(this.IsEndRadiusCCW);args.push(this.TransitionCurveType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var StartPoint=tape[ptr++];var StartDirection=tape[ptr++];var SegmentLength=tape[ptr++];var StartRadius=tape[ptr++];var EndRadius=tape[ptr++];var IsStartRadiusCCW=tape[ptr++];var IsEndRadiusCCW=tape[ptr++];var TransitionCurveType=tape[ptr++];return new IfcTransitionCurveSegment2D(expressID,type,StartPoint,StartDirection,SegmentLength,StartRadius,EndRadius,IsStartRadiusCCW,IsEndRadiusCCW,TransitionCurveType);}}]);return IfcTransitionCurveSegment2D;}();var IfcTransportElement=/*#__PURE__*/function(){function IfcTransportElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcTransportElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcTransportElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTransportElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcTransportElement;}();var IfcTransportElementType=/*#__PURE__*/function(){function IfcTransportElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcTransportElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcTransportElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTransportElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcTransportElementType;}();var IfcTrapeziumProfileDef=/*#__PURE__*/function(){function IfcTrapeziumProfileDef(expressID,type,ProfileType,ProfileName,Position,BottomXDim,TopXDim,YDim,TopXOffset){_classCallCheck(this,IfcTrapeziumProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.BottomXDim=BottomXDim;this.TopXDim=TopXDim;this.YDim=YDim;this.TopXOffset=TopXOffset;}_createClass(IfcTrapeziumProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.BottomXDim);args.push(this.TopXDim);args.push(this.YDim);args.push(this.TopXOffset);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var BottomXDim=tape[ptr++];var TopXDim=tape[ptr++];var YDim=tape[ptr++];var TopXOffset=tape[ptr++];return new IfcTrapeziumProfileDef(expressID,type,ProfileType,ProfileName,Position,BottomXDim,TopXDim,YDim,TopXOffset);}}]);return IfcTrapeziumProfileDef;}();var IfcTriangulatedFaceSet=/*#__PURE__*/function(){function IfcTriangulatedFaceSet(expressID,type,Coordinates,Normals,Closed,CoordIndex,PnIndex){_classCallCheck(this,IfcTriangulatedFaceSet);this.expressID=expressID;this.type=type;this.Coordinates=Coordinates;this.Normals=Normals;this.Closed=Closed;this.CoordIndex=CoordIndex;this.PnIndex=PnIndex;}_createClass(IfcTriangulatedFaceSet,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Coordinates);args.push(this.Normals);args.push(this.Closed);args.push(this.CoordIndex);args.push(this.PnIndex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Coordinates=tape[ptr++];var Normals=tape[ptr++];var Closed=tape[ptr++];var CoordIndex=tape[ptr++];var PnIndex=tape[ptr++];return new IfcTriangulatedFaceSet(expressID,type,Coordinates,Normals,Closed,CoordIndex,PnIndex);}}]);return IfcTriangulatedFaceSet;}();var IfcTriangulatedIrregularNetwork=/*#__PURE__*/function(){function IfcTriangulatedIrregularNetwork(expressID,type,Coordinates,Normals,Closed,CoordIndex,PnIndex,Flags){_classCallCheck(this,IfcTriangulatedIrregularNetwork);this.expressID=expressID;this.type=type;this.Coordinates=Coordinates;this.Normals=Normals;this.Closed=Closed;this.CoordIndex=CoordIndex;this.PnIndex=PnIndex;this.Flags=Flags;}_createClass(IfcTriangulatedIrregularNetwork,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Coordinates);args.push(this.Normals);args.push(this.Closed);args.push(this.CoordIndex);args.push(this.PnIndex);args.push(this.Flags);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Coordinates=tape[ptr++];var Normals=tape[ptr++];var Closed=tape[ptr++];var CoordIndex=tape[ptr++];var PnIndex=tape[ptr++];var Flags=tape[ptr++];return new IfcTriangulatedIrregularNetwork(expressID,type,Coordinates,Normals,Closed,CoordIndex,PnIndex,Flags);}}]);return IfcTriangulatedIrregularNetwork;}();var IfcTrimmedCurve=/*#__PURE__*/function(){function IfcTrimmedCurve(expressID,type,BasisCurve,Trim1,Trim2,SenseAgreement,MasterRepresentation){_classCallCheck(this,IfcTrimmedCurve);this.expressID=expressID;this.type=type;this.BasisCurve=BasisCurve;this.Trim1=Trim1;this.Trim2=Trim2;this.SenseAgreement=SenseAgreement;this.MasterRepresentation=MasterRepresentation;}_createClass(IfcTrimmedCurve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.BasisCurve);args.push(this.Trim1);args.push(this.Trim2);args.push(this.SenseAgreement);args.push(this.MasterRepresentation);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var BasisCurve=tape[ptr++];var Trim1=tape[ptr++];var Trim2=tape[ptr++];var SenseAgreement=tape[ptr++];var MasterRepresentation=tape[ptr++];return new IfcTrimmedCurve(expressID,type,BasisCurve,Trim1,Trim2,SenseAgreement,MasterRepresentation);}}]);return IfcTrimmedCurve;}();var IfcTubeBundle=/*#__PURE__*/function(){function IfcTubeBundle(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcTubeBundle);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcTubeBundle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTubeBundle(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcTubeBundle;}();var IfcTubeBundleType=/*#__PURE__*/function(){function IfcTubeBundleType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcTubeBundleType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcTubeBundleType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcTubeBundleType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcTubeBundleType;}();var IfcTypeObject=/*#__PURE__*/function(){function IfcTypeObject(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets){_classCallCheck(this,IfcTypeObject);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;}_createClass(IfcTypeObject,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];return new IfcTypeObject(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets);}}]);return IfcTypeObject;}();var IfcTypeProcess=/*#__PURE__*/function(){function IfcTypeProcess(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType){_classCallCheck(this,IfcTypeProcess);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ProcessType=ProcessType;}_createClass(IfcTypeProcess,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ProcessType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ProcessType=tape[ptr++];return new IfcTypeProcess(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ProcessType);}}]);return IfcTypeProcess;}();var IfcTypeProduct=/*#__PURE__*/function(){function IfcTypeProduct(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag){_classCallCheck(this,IfcTypeProduct);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;}_createClass(IfcTypeProduct,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];return new IfcTypeProduct(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag);}}]);return IfcTypeProduct;}();var IfcTypeResource=/*#__PURE__*/function(){function IfcTypeResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType){_classCallCheck(this,IfcTypeResource);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.Identification=Identification;this.LongDescription=LongDescription;this.ResourceType=ResourceType;}_createClass(IfcTypeResource,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.Identification);args.push(this.LongDescription);args.push(this.ResourceType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var Identification=tape[ptr++];var LongDescription=tape[ptr++];var ResourceType=tape[ptr++];return new IfcTypeResource(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,Identification,LongDescription,ResourceType);}}]);return IfcTypeResource;}();var IfcUShapeProfileDef=/*#__PURE__*/function(){function IfcUShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,FlangeWidth,WebThickness,FlangeThickness,FilletRadius,EdgeRadius,FlangeSlope){_classCallCheck(this,IfcUShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Depth=Depth;this.FlangeWidth=FlangeWidth;this.WebThickness=WebThickness;this.FlangeThickness=FlangeThickness;this.FilletRadius=FilletRadius;this.EdgeRadius=EdgeRadius;this.FlangeSlope=FlangeSlope;}_createClass(IfcUShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Depth);args.push(this.FlangeWidth);args.push(this.WebThickness);args.push(this.FlangeThickness);args.push(this.FilletRadius);args.push(this.EdgeRadius);args.push(this.FlangeSlope);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Depth=tape[ptr++];var FlangeWidth=tape[ptr++];var WebThickness=tape[ptr++];var FlangeThickness=tape[ptr++];var FilletRadius=tape[ptr++];var EdgeRadius=tape[ptr++];var FlangeSlope=tape[ptr++];return new IfcUShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,FlangeWidth,WebThickness,FlangeThickness,FilletRadius,EdgeRadius,FlangeSlope);}}]);return IfcUShapeProfileDef;}();var IfcUnitAssignment=/*#__PURE__*/function(){function IfcUnitAssignment(expressID,type,Units){_classCallCheck(this,IfcUnitAssignment);this.expressID=expressID;this.type=type;this.Units=Units;}_createClass(IfcUnitAssignment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Units);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Units=tape[ptr++];return new IfcUnitAssignment(expressID,type,Units);}}]);return IfcUnitAssignment;}();var IfcUnitaryControlElement=/*#__PURE__*/function(){function IfcUnitaryControlElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcUnitaryControlElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcUnitaryControlElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcUnitaryControlElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcUnitaryControlElement;}();var IfcUnitaryControlElementType=/*#__PURE__*/function(){function IfcUnitaryControlElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcUnitaryControlElementType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcUnitaryControlElementType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcUnitaryControlElementType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcUnitaryControlElementType;}();var IfcUnitaryEquipment=/*#__PURE__*/function(){function IfcUnitaryEquipment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcUnitaryEquipment);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcUnitaryEquipment,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcUnitaryEquipment(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcUnitaryEquipment;}();var IfcUnitaryEquipmentType=/*#__PURE__*/function(){function IfcUnitaryEquipmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcUnitaryEquipmentType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcUnitaryEquipmentType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcUnitaryEquipmentType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcUnitaryEquipmentType;}();var IfcValve=/*#__PURE__*/function(){function IfcValve(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcValve);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcValve,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcValve(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcValve;}();var IfcValveType=/*#__PURE__*/function(){function IfcValveType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcValveType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcValveType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcValveType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcValveType;}();var IfcVector=/*#__PURE__*/function(){function IfcVector(expressID,type,Orientation,Magnitude){_classCallCheck(this,IfcVector);this.expressID=expressID;this.type=type;this.Orientation=Orientation;this.Magnitude=Magnitude;}_createClass(IfcVector,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Orientation);args.push(this.Magnitude);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Orientation=tape[ptr++];var Magnitude=tape[ptr++];return new IfcVector(expressID,type,Orientation,Magnitude);}}]);return IfcVector;}();var IfcVertex=/*#__PURE__*/function(){function IfcVertex(expressID,type){_classCallCheck(this,IfcVertex);this.expressID=expressID;this.type=type;}_createClass(IfcVertex,[{key:"ToTape",value:function ToTape(){var args=[];return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){return new IfcVertex(expressID,type);}}]);return IfcVertex;}();var IfcVertexLoop=/*#__PURE__*/function(){function IfcVertexLoop(expressID,type,LoopVertex){_classCallCheck(this,IfcVertexLoop);this.expressID=expressID;this.type=type;this.LoopVertex=LoopVertex;}_createClass(IfcVertexLoop,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.LoopVertex);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var LoopVertex=tape[ptr++];return new IfcVertexLoop(expressID,type,LoopVertex);}}]);return IfcVertexLoop;}();var IfcVertexPoint=/*#__PURE__*/function(){function IfcVertexPoint(expressID,type,VertexGeometry){_classCallCheck(this,IfcVertexPoint);this.expressID=expressID;this.type=type;this.VertexGeometry=VertexGeometry;}_createClass(IfcVertexPoint,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.VertexGeometry);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var VertexGeometry=tape[ptr++];return new IfcVertexPoint(expressID,type,VertexGeometry);}}]);return IfcVertexPoint;}();var IfcVibrationDamper=/*#__PURE__*/function(){function IfcVibrationDamper(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcVibrationDamper);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcVibrationDamper,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcVibrationDamper(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcVibrationDamper;}();var IfcVibrationDamperType=/*#__PURE__*/function(){function IfcVibrationDamperType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcVibrationDamperType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcVibrationDamperType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcVibrationDamperType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcVibrationDamperType;}();var IfcVibrationIsolator=/*#__PURE__*/function(){function IfcVibrationIsolator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcVibrationIsolator);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcVibrationIsolator,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcVibrationIsolator(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcVibrationIsolator;}();var IfcVibrationIsolatorType=/*#__PURE__*/function(){function IfcVibrationIsolatorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcVibrationIsolatorType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcVibrationIsolatorType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcVibrationIsolatorType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcVibrationIsolatorType;}();var IfcVirtualElement=/*#__PURE__*/function(){function IfcVirtualElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag){_classCallCheck(this,IfcVirtualElement);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;}_createClass(IfcVirtualElement,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];return new IfcVirtualElement(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag);}}]);return IfcVirtualElement;}();var IfcVirtualGridIntersection=/*#__PURE__*/function(){function IfcVirtualGridIntersection(expressID,type,IntersectingAxes,OffsetDistances){_classCallCheck(this,IfcVirtualGridIntersection);this.expressID=expressID;this.type=type;this.IntersectingAxes=IntersectingAxes;this.OffsetDistances=OffsetDistances;}_createClass(IfcVirtualGridIntersection,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.IntersectingAxes);args.push(this.OffsetDistances);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var IntersectingAxes=tape[ptr++];var OffsetDistances=tape[ptr++];return new IfcVirtualGridIntersection(expressID,type,IntersectingAxes,OffsetDistances);}}]);return IfcVirtualGridIntersection;}();var IfcVoidingFeature=/*#__PURE__*/function(){function IfcVoidingFeature(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcVoidingFeature);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcVoidingFeature,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcVoidingFeature(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcVoidingFeature;}();var IfcWall=/*#__PURE__*/function(){function IfcWall(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcWall);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcWall,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWall(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcWall;}();var IfcWallElementedCase=/*#__PURE__*/function(){function IfcWallElementedCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcWallElementedCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcWallElementedCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWallElementedCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcWallElementedCase;}();var IfcWallStandardCase=/*#__PURE__*/function(){function IfcWallStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcWallStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcWallStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWallStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcWallStandardCase;}();var IfcWallType=/*#__PURE__*/function(){function IfcWallType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcWallType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcWallType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWallType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcWallType;}();var IfcWasteTerminal=/*#__PURE__*/function(){function IfcWasteTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType){_classCallCheck(this,IfcWasteTerminal);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.PredefinedType=PredefinedType;}_createClass(IfcWasteTerminal,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWasteTerminal(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,PredefinedType);}}]);return IfcWasteTerminal;}();var IfcWasteTerminalType=/*#__PURE__*/function(){function IfcWasteTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType){_classCallCheck(this,IfcWasteTerminalType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;}_createClass(IfcWasteTerminalType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWasteTerminalType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType);}}]);return IfcWasteTerminalType;}();var IfcWindow=/*#__PURE__*/function(){function IfcWindow(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,PartitioningType,UserDefinedPartitioningType){_classCallCheck(this,IfcWindow);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.OverallHeight=OverallHeight;this.OverallWidth=OverallWidth;this.PredefinedType=PredefinedType;this.PartitioningType=PartitioningType;this.UserDefinedPartitioningType=UserDefinedPartitioningType;}_createClass(IfcWindow,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.OverallHeight);args.push(this.OverallWidth);args.push(this.PredefinedType);args.push(this.PartitioningType);args.push(this.UserDefinedPartitioningType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var OverallHeight=tape[ptr++];var OverallWidth=tape[ptr++];var PredefinedType=tape[ptr++];var PartitioningType=tape[ptr++];var UserDefinedPartitioningType=tape[ptr++];return new IfcWindow(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,PartitioningType,UserDefinedPartitioningType);}}]);return IfcWindow;}();var IfcWindowLiningProperties=/*#__PURE__*/function(){function IfcWindowLiningProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,LiningDepth,LiningThickness,TransomThickness,MullionThickness,FirstTransomOffset,SecondTransomOffset,FirstMullionOffset,SecondMullionOffset,ShapeAspectStyle,LiningOffset,LiningToPanelOffsetX,LiningToPanelOffsetY){_classCallCheck(this,IfcWindowLiningProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.LiningDepth=LiningDepth;this.LiningThickness=LiningThickness;this.TransomThickness=TransomThickness;this.MullionThickness=MullionThickness;this.FirstTransomOffset=FirstTransomOffset;this.SecondTransomOffset=SecondTransomOffset;this.FirstMullionOffset=FirstMullionOffset;this.SecondMullionOffset=SecondMullionOffset;this.ShapeAspectStyle=ShapeAspectStyle;this.LiningOffset=LiningOffset;this.LiningToPanelOffsetX=LiningToPanelOffsetX;this.LiningToPanelOffsetY=LiningToPanelOffsetY;}_createClass(IfcWindowLiningProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.LiningDepth);args.push(this.LiningThickness);args.push(this.TransomThickness);args.push(this.MullionThickness);args.push(this.FirstTransomOffset);args.push(this.SecondTransomOffset);args.push(this.FirstMullionOffset);args.push(this.SecondMullionOffset);args.push(this.ShapeAspectStyle);args.push(this.LiningOffset);args.push(this.LiningToPanelOffsetX);args.push(this.LiningToPanelOffsetY);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var LiningDepth=tape[ptr++];var LiningThickness=tape[ptr++];var TransomThickness=tape[ptr++];var MullionThickness=tape[ptr++];var FirstTransomOffset=tape[ptr++];var SecondTransomOffset=tape[ptr++];var FirstMullionOffset=tape[ptr++];var SecondMullionOffset=tape[ptr++];var ShapeAspectStyle=tape[ptr++];var LiningOffset=tape[ptr++];var LiningToPanelOffsetX=tape[ptr++];var LiningToPanelOffsetY=tape[ptr++];return new IfcWindowLiningProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,LiningDepth,LiningThickness,TransomThickness,MullionThickness,FirstTransomOffset,SecondTransomOffset,FirstMullionOffset,SecondMullionOffset,ShapeAspectStyle,LiningOffset,LiningToPanelOffsetX,LiningToPanelOffsetY);}}]);return IfcWindowLiningProperties;}();var IfcWindowPanelProperties=/*#__PURE__*/function(){function IfcWindowPanelProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,OperationType,PanelPosition,FrameDepth,FrameThickness,ShapeAspectStyle){_classCallCheck(this,IfcWindowPanelProperties);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.OperationType=OperationType;this.PanelPosition=PanelPosition;this.FrameDepth=FrameDepth;this.FrameThickness=FrameThickness;this.ShapeAspectStyle=ShapeAspectStyle;}_createClass(IfcWindowPanelProperties,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.OperationType);args.push(this.PanelPosition);args.push(this.FrameDepth);args.push(this.FrameThickness);args.push(this.ShapeAspectStyle);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var OperationType=tape[ptr++];var PanelPosition=tape[ptr++];var FrameDepth=tape[ptr++];var FrameThickness=tape[ptr++];var ShapeAspectStyle=tape[ptr++];return new IfcWindowPanelProperties(expressID,type,GlobalId,OwnerHistory,Name,Description,OperationType,PanelPosition,FrameDepth,FrameThickness,ShapeAspectStyle);}}]);return IfcWindowPanelProperties;}();var IfcWindowStandardCase=/*#__PURE__*/function(){function IfcWindowStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,PartitioningType,UserDefinedPartitioningType){_classCallCheck(this,IfcWindowStandardCase);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.ObjectPlacement=ObjectPlacement;this.Representation=Representation;this.Tag=Tag;this.OverallHeight=OverallHeight;this.OverallWidth=OverallWidth;this.PredefinedType=PredefinedType;this.PartitioningType=PartitioningType;this.UserDefinedPartitioningType=UserDefinedPartitioningType;}_createClass(IfcWindowStandardCase,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.ObjectPlacement);args.push(this.Representation);args.push(this.Tag);args.push(this.OverallHeight);args.push(this.OverallWidth);args.push(this.PredefinedType);args.push(this.PartitioningType);args.push(this.UserDefinedPartitioningType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var ObjectPlacement=tape[ptr++];var Representation=tape[ptr++];var Tag=tape[ptr++];var OverallHeight=tape[ptr++];var OverallWidth=tape[ptr++];var PredefinedType=tape[ptr++];var PartitioningType=tape[ptr++];var UserDefinedPartitioningType=tape[ptr++];return new IfcWindowStandardCase(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,ObjectPlacement,Representation,Tag,OverallHeight,OverallWidth,PredefinedType,PartitioningType,UserDefinedPartitioningType);}}]);return IfcWindowStandardCase;}();var IfcWindowStyle=/*#__PURE__*/function(){function IfcWindowStyle(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ConstructionType,OperationType,ParameterTakesPrecedence,Sizeable){_classCallCheck(this,IfcWindowStyle);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ConstructionType=ConstructionType;this.OperationType=OperationType;this.ParameterTakesPrecedence=ParameterTakesPrecedence;this.Sizeable=Sizeable;}_createClass(IfcWindowStyle,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ConstructionType);args.push(this.OperationType);args.push(this.ParameterTakesPrecedence);args.push(this.Sizeable);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ConstructionType=tape[ptr++];var OperationType=tape[ptr++];var ParameterTakesPrecedence=tape[ptr++];var Sizeable=tape[ptr++];return new IfcWindowStyle(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ConstructionType,OperationType,ParameterTakesPrecedence,Sizeable);}}]);return IfcWindowStyle;}();var IfcWindowType=/*#__PURE__*/function(){function IfcWindowType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,PartitioningType,ParameterTakesPrecedence,UserDefinedPartitioningType){_classCallCheck(this,IfcWindowType);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ApplicableOccurrence=ApplicableOccurrence;this.HasPropertySets=HasPropertySets;this.RepresentationMaps=RepresentationMaps;this.Tag=Tag;this.ElementType=ElementType;this.PredefinedType=PredefinedType;this.PartitioningType=PartitioningType;this.ParameterTakesPrecedence=ParameterTakesPrecedence;this.UserDefinedPartitioningType=UserDefinedPartitioningType;}_createClass(IfcWindowType,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ApplicableOccurrence);args.push(this.HasPropertySets);args.push(this.RepresentationMaps);args.push(this.Tag);args.push(this.ElementType);args.push(this.PredefinedType);args.push(this.PartitioningType);args.push(this.ParameterTakesPrecedence);args.push(this.UserDefinedPartitioningType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ApplicableOccurrence=tape[ptr++];var HasPropertySets=tape[ptr++];var RepresentationMaps=tape[ptr++];var Tag=tape[ptr++];var ElementType=tape[ptr++];var PredefinedType=tape[ptr++];var PartitioningType=tape[ptr++];var ParameterTakesPrecedence=tape[ptr++];var UserDefinedPartitioningType=tape[ptr++];return new IfcWindowType(expressID,type,GlobalId,OwnerHistory,Name,Description,ApplicableOccurrence,HasPropertySets,RepresentationMaps,Tag,ElementType,PredefinedType,PartitioningType,ParameterTakesPrecedence,UserDefinedPartitioningType);}}]);return IfcWindowType;}();var IfcWorkCalendar=/*#__PURE__*/function(){function IfcWorkCalendar(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,WorkingTimes,ExceptionTimes,PredefinedType){_classCallCheck(this,IfcWorkCalendar);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.WorkingTimes=WorkingTimes;this.ExceptionTimes=ExceptionTimes;this.PredefinedType=PredefinedType;}_createClass(IfcWorkCalendar,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.WorkingTimes);args.push(this.ExceptionTimes);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var WorkingTimes=tape[ptr++];var ExceptionTimes=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWorkCalendar(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,WorkingTimes,ExceptionTimes,PredefinedType);}}]);return IfcWorkCalendar;}();var IfcWorkControl=/*#__PURE__*/function(){function IfcWorkControl(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,CreationDate,Creators,Purpose,Duration,TotalFloat,StartTime,FinishTime){_classCallCheck(this,IfcWorkControl);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.CreationDate=CreationDate;this.Creators=Creators;this.Purpose=Purpose;this.Duration=Duration;this.TotalFloat=TotalFloat;this.StartTime=StartTime;this.FinishTime=FinishTime;}_createClass(IfcWorkControl,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.CreationDate);args.push(this.Creators);args.push(this.Purpose);args.push(this.Duration);args.push(this.TotalFloat);args.push(this.StartTime);args.push(this.FinishTime);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var CreationDate=tape[ptr++];var Creators=tape[ptr++];var Purpose=tape[ptr++];var Duration=tape[ptr++];var TotalFloat=tape[ptr++];var StartTime=tape[ptr++];var FinishTime=tape[ptr++];return new IfcWorkControl(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,CreationDate,Creators,Purpose,Duration,TotalFloat,StartTime,FinishTime);}}]);return IfcWorkControl;}();var IfcWorkPlan=/*#__PURE__*/function(){function IfcWorkPlan(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,CreationDate,Creators,Purpose,Duration,TotalFloat,StartTime,FinishTime,PredefinedType){_classCallCheck(this,IfcWorkPlan);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.CreationDate=CreationDate;this.Creators=Creators;this.Purpose=Purpose;this.Duration=Duration;this.TotalFloat=TotalFloat;this.StartTime=StartTime;this.FinishTime=FinishTime;this.PredefinedType=PredefinedType;}_createClass(IfcWorkPlan,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.CreationDate);args.push(this.Creators);args.push(this.Purpose);args.push(this.Duration);args.push(this.TotalFloat);args.push(this.StartTime);args.push(this.FinishTime);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var CreationDate=tape[ptr++];var Creators=tape[ptr++];var Purpose=tape[ptr++];var Duration=tape[ptr++];var TotalFloat=tape[ptr++];var StartTime=tape[ptr++];var FinishTime=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWorkPlan(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,CreationDate,Creators,Purpose,Duration,TotalFloat,StartTime,FinishTime,PredefinedType);}}]);return IfcWorkPlan;}();var IfcWorkSchedule=/*#__PURE__*/function(){function IfcWorkSchedule(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,CreationDate,Creators,Purpose,Duration,TotalFloat,StartTime,FinishTime,PredefinedType){_classCallCheck(this,IfcWorkSchedule);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.Identification=Identification;this.CreationDate=CreationDate;this.Creators=Creators;this.Purpose=Purpose;this.Duration=Duration;this.TotalFloat=TotalFloat;this.StartTime=StartTime;this.FinishTime=FinishTime;this.PredefinedType=PredefinedType;}_createClass(IfcWorkSchedule,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.Identification);args.push(this.CreationDate);args.push(this.Creators);args.push(this.Purpose);args.push(this.Duration);args.push(this.TotalFloat);args.push(this.StartTime);args.push(this.FinishTime);args.push(this.PredefinedType);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var Identification=tape[ptr++];var CreationDate=tape[ptr++];var Creators=tape[ptr++];var Purpose=tape[ptr++];var Duration=tape[ptr++];var TotalFloat=tape[ptr++];var StartTime=tape[ptr++];var FinishTime=tape[ptr++];var PredefinedType=tape[ptr++];return new IfcWorkSchedule(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,Identification,CreationDate,Creators,Purpose,Duration,TotalFloat,StartTime,FinishTime,PredefinedType);}}]);return IfcWorkSchedule;}();var IfcWorkTime=/*#__PURE__*/function(){function IfcWorkTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,RecurrencePattern,Start,Finish){_classCallCheck(this,IfcWorkTime);this.expressID=expressID;this.type=type;this.Name=Name;this.DataOrigin=DataOrigin;this.UserDefinedDataOrigin=UserDefinedDataOrigin;this.RecurrencePattern=RecurrencePattern;this.Start=Start;this.Finish=Finish;}_createClass(IfcWorkTime,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.Name);args.push(this.DataOrigin);args.push(this.UserDefinedDataOrigin);args.push(this.RecurrencePattern);args.push(this.Start);args.push(this.Finish);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var Name=tape[ptr++];var DataOrigin=tape[ptr++];var UserDefinedDataOrigin=tape[ptr++];var RecurrencePattern=tape[ptr++];var Start=tape[ptr++];var Finish=tape[ptr++];return new IfcWorkTime(expressID,type,Name,DataOrigin,UserDefinedDataOrigin,RecurrencePattern,Start,Finish);}}]);return IfcWorkTime;}();var IfcZShapeProfileDef=/*#__PURE__*/function(){function IfcZShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,FlangeWidth,WebThickness,FlangeThickness,FilletRadius,EdgeRadius){_classCallCheck(this,IfcZShapeProfileDef);this.expressID=expressID;this.type=type;this.ProfileType=ProfileType;this.ProfileName=ProfileName;this.Position=Position;this.Depth=Depth;this.FlangeWidth=FlangeWidth;this.WebThickness=WebThickness;this.FlangeThickness=FlangeThickness;this.FilletRadius=FilletRadius;this.EdgeRadius=EdgeRadius;}_createClass(IfcZShapeProfileDef,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.ProfileType);args.push(this.ProfileName);args.push(this.Position);args.push(this.Depth);args.push(this.FlangeWidth);args.push(this.WebThickness);args.push(this.FlangeThickness);args.push(this.FilletRadius);args.push(this.EdgeRadius);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var ProfileType=tape[ptr++];var ProfileName=tape[ptr++];var Position=tape[ptr++];var Depth=tape[ptr++];var FlangeWidth=tape[ptr++];var WebThickness=tape[ptr++];var FlangeThickness=tape[ptr++];var FilletRadius=tape[ptr++];var EdgeRadius=tape[ptr++];return new IfcZShapeProfileDef(expressID,type,ProfileType,ProfileName,Position,Depth,FlangeWidth,WebThickness,FlangeThickness,FilletRadius,EdgeRadius);}}]);return IfcZShapeProfileDef;}();var IfcZone=/*#__PURE__*/function(){function IfcZone(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName){_classCallCheck(this,IfcZone);this.expressID=expressID;this.type=type;this.GlobalId=GlobalId;this.OwnerHistory=OwnerHistory;this.Name=Name;this.Description=Description;this.ObjectType=ObjectType;this.LongName=LongName;}_createClass(IfcZone,[{key:"ToTape",value:function ToTape(){var args=[];args.push(this.GlobalId);args.push(this.OwnerHistory);args.push(this.Name);args.push(this.Description);args.push(this.ObjectType);args.push(this.LongName);return args;}}],[{key:"FromTape",value:function FromTape(expressID,type,tape){var ptr=0;var GlobalId=tape[ptr++];var OwnerHistory=tape[ptr++];var Name=tape[ptr++];var Description=tape[ptr++];var ObjectType=tape[ptr++];var LongName=tape[ptr++];return new IfcZone(expressID,type,GlobalId,OwnerHistory,Name,Description,ObjectType,LongName);}}]);return IfcZone;}();// dist/helpers/ifc-elements.ts
|
|
29321
29321
|
var IfcElements2={103090709:"IFCPROJECT",4097777520:"IFCSITE",4031249490:"IFCBUILDING",3124254112:"IFCBUILDINGSTOREY",3856911033:"IFCSPACE",1674181508:"IFCANNOTATION",25142252:"IFCCONTROLLER",32344328:"IFCBOILER",76236018:"IFCLAMP",90941305:"IFCPUMP",177149247:"IFCAIRTERMINALBOX",182646315:"IFCFLOWINSTRUMENT",263784265:"IFCFURNISHINGELEMENT",264262732:"IFCELECTRICGENERATOR",277319702:"IFCAUDIOVISUALAPPLIANCE",310824031:"IFCPIPEFITTING",331165859:"IFCSTAIR",342316401:"IFCDUCTFITTING",377706215:"IFCMECHANICALFASTENER",395920057:"IFCDOOR",402227799:"IFCELECTRICMOTOR",413509423:"IFCSYSTEMFURNITUREELEMENT",484807127:"IFCEVAPORATOR",486154966:"IFCWINDOWSTANDARDCASE",629592764:"IFCLIGHTFIXTURE",630975310:"IFCUNITARYCONTROLELEMENT",635142910:"IFCCABLECARRIERFITTING",639361253:"IFCCOIL",647756555:"IFCFASTENER",707683696:"IFCFLOWSTORAGEDEVICE",738039164:"IFCPROTECTIVEDEVICE",753842376:"IFCBEAM",812556717:"IFCTANK",819412036:"IFCFILTER",843113511:"IFCCOLUMN",862014818:"IFCELECTRICDISTRIBUTIONBOARD",900683007:"IFCFOOTING",905975707:"IFCCOLUMNSTANDARDCASE",926996030:"IFCVOIDINGFEATURE",979691226:"IFCREINFORCINGBAR",987401354:"IFCFLOWSEGMENT",1003880860:"IFCELECTRICTIMECONTROL",1051757585:"IFCCABLEFITTING",1052013943:"IFCDISTRIBUTIONCHAMBERELEMENT",1062813311:"IFCDISTRIBUTIONCONTROLELEMENT",1073191201:"IFCMEMBER",1095909175:"IFCBUILDINGELEMENTPROXY",1156407060:"IFCPLATESTANDARDCASE",1162798199:"IFCSWITCHINGDEVICE",1329646415:"IFCSHADINGDEVICE",1335981549:"IFCDISCRETEACCESSORY",1360408905:"IFCDUCTSILENCER",1404847402:"IFCSTACKTERMINAL",1426591983:"IFCFIRESUPPRESSIONTERMINAL",1437502449:"IFCMEDICALDEVICE",1509553395:"IFCFURNITURE",1529196076:"IFCSLAB",1620046519:"IFCTRANSPORTELEMENT",1634111441:"IFCAIRTERMINAL",1658829314:"IFCENERGYCONVERSIONDEVICE",1677625105:"IFCCIVILELEMENT",1687234759:"IFCPILE",1904799276:"IFCELECTRICAPPLIANCE",1911478936:"IFCMEMBERSTANDARDCASE",1945004755:"IFCDISTRIBUTIONELEMENT",1973544240:"IFCCOVERING",1999602285:"IFCSPACEHEATER",2016517767:"IFCROOF",2056796094:"IFCAIRTOAIRHEATRECOVERY",2058353004:"IFCFLOWCONTROLLER",2068733104:"IFCHUMIDIFIER",2176052936:"IFCJUNCTIONBOX",2188021234:"IFCFLOWMETER",2223149337:"IFCFLOWTERMINAL",2262370178:"IFCRAILING",2272882330:"IFCCONDENSER",2295281155:"IFCPROTECTIVEDEVICETRIPPINGUNIT",2320036040:"IFCREINFORCINGMESH",2347447852:"IFCTENDONANCHOR",2391383451:"IFCVIBRATIONISOLATOR",2391406946:"IFCWALL",2474470126:"IFCMOTORCONNECTION",2769231204:"IFCVIRTUALELEMENT",2814081492:"IFCENGINE",2906023776:"IFCBEAMSTANDARDCASE",2938176219:"IFCBURNER",2979338954:"IFCBUILDINGELEMENTPART",3024970846:"IFCRAMP",3026737570:"IFCTUBEBUNDLE",3027962421:"IFCSLABSTANDARDCASE",3040386961:"IFCDISTRIBUTIONFLOWELEMENT",3053780830:"IFCSANITARYTERMINAL",3079942009:"IFCOPENINGSTANDARDCASE",3087945054:"IFCALARM",3101698114:"IFCSURFACEFEATURE",3127900445:"IFCSLABELEMENTEDCASE",3132237377:"IFCFLOWMOVINGDEVICE",3171933400:"IFCPLATE",3221913625:"IFCCOMMUNICATIONSAPPLIANCE",3242481149:"IFCDOORSTANDARDCASE",3283111854:"IFCRAMPFLIGHT",3296154744:"IFCCHIMNEY",3304561284:"IFCWINDOW",3310460725:"IFCELECTRICFLOWSTORAGEDEVICE",3319311131:"IFCHEATEXCHANGER",3415622556:"IFCFAN",3420628829:"IFCSOLARDEVICE",3493046030:"IFCGEOGRAPHICELEMENT",3495092785:"IFCCURTAINWALL",3508470533:"IFCFLOWTREATMENTDEVICE",3512223829:"IFCWALLSTANDARDCASE",3518393246:"IFCDUCTSEGMENT",3571504051:"IFCCOMPRESSOR",3588315303:"IFCOPENINGELEMENT",3612865200:"IFCPIPESEGMENT",3640358203:"IFCCOOLINGTOWER",3651124850:"IFCPROJECTIONELEMENT",3694346114:"IFCOUTLET",3747195512:"IFCEVAPORATIVECOOLER",3758799889:"IFCCABLECARRIERSEGMENT",3824725483:"IFCTENDON",3825984169:"IFCTRANSFORMER",3902619387:"IFCCHILLER",4074379575:"IFCDAMPER",4086658281:"IFCSENSOR",4123344466:"IFCELEMENTASSEMBLY",4136498852:"IFCCOOLEDBEAM",4156078855:"IFCWALLELEMENTEDCASE",4175244083:"IFCINTERCEPTOR",4207607924:"IFCVALVE",4217484030:"IFCCABLESEGMENT",4237592921:"IFCWASTETERMINAL",4252922144:"IFCSTAIRFLIGHT",4278956645:"IFCFLOWFITTING",4288193352:"IFCACTUATOR",4292641817:"IFCUNITARYEQUIPMENT",3009204131:"IFCGRID"};// dist/helpers/types-map.ts
|
|
29322
29322
|
var IfcTypesMap={3821786052:"IFCACTIONREQUEST",2296667514:"IFCACTOR",3630933823:"IFCACTORROLE",4288193352:"IFCACTUATOR",2874132201:"IFCACTUATORTYPE",618182010:"IFCADDRESS",1635779807:"IFCADVANCEDBREP",2603310189:"IFCADVANCEDBREPWITHVOIDS",3406155212:"IFCADVANCEDFACE",1634111441:"IFCAIRTERMINAL",177149247:"IFCAIRTERMINALBOX",1411407467:"IFCAIRTERMINALBOXTYPE",3352864051:"IFCAIRTERMINALTYPE",2056796094:"IFCAIRTOAIRHEATRECOVERY",1871374353:"IFCAIRTOAIRHEATRECOVERYTYPE",3087945054:"IFCALARM",3001207471:"IFCALARMTYPE",325726236:"IFCALIGNMENT",749761778:"IFCALIGNMENT2DHORIZONTAL",3199563722:"IFCALIGNMENT2DHORIZONTALSEGMENT",2483840362:"IFCALIGNMENT2DSEGMENT",3379348081:"IFCALIGNMENT2DVERSEGCIRCULARARC",3239324667:"IFCALIGNMENT2DVERSEGLINE",4263986512:"IFCALIGNMENT2DVERSEGPARABOLICARC",53199957:"IFCALIGNMENT2DVERTICAL",2029264950:"IFCALIGNMENT2DVERTICALSEGMENT",3512275521:"IFCALIGNMENTCURVE",1674181508:"IFCANNOTATION",669184980:"IFCANNOTATIONFILLAREA",639542469:"IFCAPPLICATION",411424972:"IFCAPPLIEDVALUE",130549933:"IFCAPPROVAL",3869604511:"IFCAPPROVALRELATIONSHIP",3798115385:"IFCARBITRARYCLOSEDPROFILEDEF",1310608509:"IFCARBITRARYOPENPROFILEDEF",2705031697:"IFCARBITRARYPROFILEDEFWITHVOIDS",3460190687:"IFCASSET",3207858831:"IFCASYMMETRICISHAPEPROFILEDEF",277319702:"IFCAUDIOVISUALAPPLIANCE",1532957894:"IFCAUDIOVISUALAPPLIANCETYPE",4261334040:"IFCAXIS1PLACEMENT",3125803723:"IFCAXIS2PLACEMENT2D",2740243338:"IFCAXIS2PLACEMENT3D",1967976161:"IFCBSPLINECURVE",2461110595:"IFCBSPLINECURVEWITHKNOTS",2887950389:"IFCBSPLINESURFACE",167062518:"IFCBSPLINESURFACEWITHKNOTS",753842376:"IFCBEAM",2906023776:"IFCBEAMSTANDARDCASE",819618141:"IFCBEAMTYPE",4196446775:"IFCBEARING",3649138523:"IFCBEARINGTYPE",616511568:"IFCBLOBTEXTURE",1334484129:"IFCBLOCK",32344328:"IFCBOILER",231477066:"IFCBOILERTYPE",3649129432:"IFCBOOLEANCLIPPINGRESULT",2736907675:"IFCBOOLEANRESULT",4037036970:"IFCBOUNDARYCONDITION",1136057603:"IFCBOUNDARYCURVE",1560379544:"IFCBOUNDARYEDGECONDITION",3367102660:"IFCBOUNDARYFACECONDITION",1387855156:"IFCBOUNDARYNODECONDITION",2069777674:"IFCBOUNDARYNODECONDITIONWARPING",1260505505:"IFCBOUNDEDCURVE",4182860854:"IFCBOUNDEDSURFACE",2581212453:"IFCBOUNDINGBOX",2713105998:"IFCBOXEDHALFSPACE",644574406:"IFCBRIDGE",963979645:"IFCBRIDGEPART",4031249490:"IFCBUILDING",3299480353:"IFCBUILDINGELEMENT",2979338954:"IFCBUILDINGELEMENTPART",39481116:"IFCBUILDINGELEMENTPARTTYPE",1095909175:"IFCBUILDINGELEMENTPROXY",1909888760:"IFCBUILDINGELEMENTPROXYTYPE",1950629157:"IFCBUILDINGELEMENTTYPE",3124254112:"IFCBUILDINGSTOREY",1177604601:"IFCBUILDINGSYSTEM",2938176219:"IFCBURNER",2188180465:"IFCBURNERTYPE",2898889636:"IFCCSHAPEPROFILEDEF",635142910:"IFCCABLECARRIERFITTING",395041908:"IFCCABLECARRIERFITTINGTYPE",3758799889:"IFCCABLECARRIERSEGMENT",3293546465:"IFCCABLECARRIERSEGMENTTYPE",1051757585:"IFCCABLEFITTING",2674252688:"IFCCABLEFITTINGTYPE",4217484030:"IFCCABLESEGMENT",1285652485:"IFCCABLESEGMENTTYPE",3999819293:"IFCCAISSONFOUNDATION",3203706013:"IFCCAISSONFOUNDATIONTYPE",1123145078:"IFCCARTESIANPOINT",574549367:"IFCCARTESIANPOINTLIST",1675464909:"IFCCARTESIANPOINTLIST2D",2059837836:"IFCCARTESIANPOINTLIST3D",59481748:"IFCCARTESIANTRANSFORMATIONOPERATOR",3749851601:"IFCCARTESIANTRANSFORMATIONOPERATOR2D",3486308946:"IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM",3331915920:"IFCCARTESIANTRANSFORMATIONOPERATOR3D",1416205885:"IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM",3150382593:"IFCCENTERLINEPROFILEDEF",3902619387:"IFCCHILLER",2951183804:"IFCCHILLERTYPE",3296154744:"IFCCHIMNEY",2197970202:"IFCCHIMNEYTYPE",2611217952:"IFCCIRCLE",2937912522:"IFCCIRCLEHOLLOWPROFILEDEF",1383045692:"IFCCIRCLEPROFILEDEF",1062206242:"IFCCIRCULARARCSEGMENT2D",1677625105:"IFCCIVILELEMENT",3893394355:"IFCCIVILELEMENTTYPE",747523909:"IFCCLASSIFICATION",647927063:"IFCCLASSIFICATIONREFERENCE",2205249479:"IFCCLOSEDSHELL",639361253:"IFCCOIL",2301859152:"IFCCOILTYPE",776857604:"IFCCOLOURRGB",3285139300:"IFCCOLOURRGBLIST",3264961684:"IFCCOLOURSPECIFICATION",843113511:"IFCCOLUMN",905975707:"IFCCOLUMNSTANDARDCASE",300633059:"IFCCOLUMNTYPE",3221913625:"IFCCOMMUNICATIONSAPPLIANCE",400855858:"IFCCOMMUNICATIONSAPPLIANCETYPE",2542286263:"IFCCOMPLEXPROPERTY",3875453745:"IFCCOMPLEXPROPERTYTEMPLATE",3732776249:"IFCCOMPOSITECURVE",15328376:"IFCCOMPOSITECURVEONSURFACE",2485617015:"IFCCOMPOSITECURVESEGMENT",1485152156:"IFCCOMPOSITEPROFILEDEF",3571504051:"IFCCOMPRESSOR",3850581409:"IFCCOMPRESSORTYPE",2272882330:"IFCCONDENSER",2816379211:"IFCCONDENSERTYPE",2510884976:"IFCCONIC",370225590:"IFCCONNECTEDFACESET",1981873012:"IFCCONNECTIONCURVEGEOMETRY",2859738748:"IFCCONNECTIONGEOMETRY",45288368:"IFCCONNECTIONPOINTECCENTRICITY",2614616156:"IFCCONNECTIONPOINTGEOMETRY",2732653382:"IFCCONNECTIONSURFACEGEOMETRY",775493141:"IFCCONNECTIONVOLUMEGEOMETRY",1959218052:"IFCCONSTRAINT",3898045240:"IFCCONSTRUCTIONEQUIPMENTRESOURCE",2185764099:"IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE",1060000209:"IFCCONSTRUCTIONMATERIALRESOURCE",4105962743:"IFCCONSTRUCTIONMATERIALRESOURCETYPE",488727124:"IFCCONSTRUCTIONPRODUCTRESOURCE",1525564444:"IFCCONSTRUCTIONPRODUCTRESOURCETYPE",2559216714:"IFCCONSTRUCTIONRESOURCE",2574617495:"IFCCONSTRUCTIONRESOURCETYPE",3419103109:"IFCCONTEXT",3050246964:"IFCCONTEXTDEPENDENTUNIT",3293443760:"IFCCONTROL",25142252:"IFCCONTROLLER",578613899:"IFCCONTROLLERTYPE",2889183280:"IFCCONVERSIONBASEDUNIT",2713554722:"IFCCONVERSIONBASEDUNITWITHOFFSET",4136498852:"IFCCOOLEDBEAM",335055490:"IFCCOOLEDBEAMTYPE",3640358203:"IFCCOOLINGTOWER",2954562838:"IFCCOOLINGTOWERTYPE",1785450214:"IFCCOORDINATEOPERATION",1466758467:"IFCCOORDINATEREFERENCESYSTEM",3895139033:"IFCCOSTITEM",1419761937:"IFCCOSTSCHEDULE",602808272:"IFCCOSTVALUE",1973544240:"IFCCOVERING",1916426348:"IFCCOVERINGTYPE",3295246426:"IFCCREWRESOURCE",1815067380:"IFCCREWRESOURCETYPE",2506170314:"IFCCSGPRIMITIVE3D",2147822146:"IFCCSGSOLID",539742890:"IFCCURRENCYRELATIONSHIP",3495092785:"IFCCURTAINWALL",1457835157:"IFCCURTAINWALLTYPE",2601014836:"IFCCURVE",2827736869:"IFCCURVEBOUNDEDPLANE",2629017746:"IFCCURVEBOUNDEDSURFACE",1186437898:"IFCCURVESEGMENT2D",3800577675:"IFCCURVESTYLE",1105321065:"IFCCURVESTYLEFONT",2367409068:"IFCCURVESTYLEFONTANDSCALING",3510044353:"IFCCURVESTYLEFONTPATTERN",1213902940:"IFCCYLINDRICALSURFACE",4074379575:"IFCDAMPER",3961806047:"IFCDAMPERTYPE",3426335179:"IFCDEEPFOUNDATION",1306400036:"IFCDEEPFOUNDATIONTYPE",3632507154:"IFCDERIVEDPROFILEDEF",1765591967:"IFCDERIVEDUNIT",1045800335:"IFCDERIVEDUNITELEMENT",2949456006:"IFCDIMENSIONALEXPONENTS",32440307:"IFCDIRECTION",1335981549:"IFCDISCRETEACCESSORY",2635815018:"IFCDISCRETEACCESSORYTYPE",1945343521:"IFCDISTANCEEXPRESSION",1052013943:"IFCDISTRIBUTIONCHAMBERELEMENT",1599208980:"IFCDISTRIBUTIONCHAMBERELEMENTTYPE",562808652:"IFCDISTRIBUTIONCIRCUIT",1062813311:"IFCDISTRIBUTIONCONTROLELEMENT",2063403501:"IFCDISTRIBUTIONCONTROLELEMENTTYPE",1945004755:"IFCDISTRIBUTIONELEMENT",3256556792:"IFCDISTRIBUTIONELEMENTTYPE",3040386961:"IFCDISTRIBUTIONFLOWELEMENT",3849074793:"IFCDISTRIBUTIONFLOWELEMENTTYPE",3041715199:"IFCDISTRIBUTIONPORT",3205830791:"IFCDISTRIBUTIONSYSTEM",1154170062:"IFCDOCUMENTINFORMATION",770865208:"IFCDOCUMENTINFORMATIONRELATIONSHIP",3732053477:"IFCDOCUMENTREFERENCE",395920057:"IFCDOOR",2963535650:"IFCDOORLININGPROPERTIES",1714330368:"IFCDOORPANELPROPERTIES",3242481149:"IFCDOORSTANDARDCASE",526551008:"IFCDOORSTYLE",2323601079:"IFCDOORTYPE",445594917:"IFCDRAUGHTINGPREDEFINEDCOLOUR",4006246654:"IFCDRAUGHTINGPREDEFINEDCURVEFONT",342316401:"IFCDUCTFITTING",869906466:"IFCDUCTFITTINGTYPE",3518393246:"IFCDUCTSEGMENT",3760055223:"IFCDUCTSEGMENTTYPE",1360408905:"IFCDUCTSILENCER",2030761528:"IFCDUCTSILENCERTYPE",3900360178:"IFCEDGE",476780140:"IFCEDGECURVE",1472233963:"IFCEDGELOOP",1904799276:"IFCELECTRICAPPLIANCE",663422040:"IFCELECTRICAPPLIANCETYPE",862014818:"IFCELECTRICDISTRIBUTIONBOARD",2417008758:"IFCELECTRICDISTRIBUTIONBOARDTYPE",3310460725:"IFCELECTRICFLOWSTORAGEDEVICE",3277789161:"IFCELECTRICFLOWSTORAGEDEVICETYPE",264262732:"IFCELECTRICGENERATOR",1534661035:"IFCELECTRICGENERATORTYPE",402227799:"IFCELECTRICMOTOR",1217240411:"IFCELECTRICMOTORTYPE",1003880860:"IFCELECTRICTIMECONTROL",712377611:"IFCELECTRICTIMECONTROLTYPE",1758889154:"IFCELEMENT",4123344466:"IFCELEMENTASSEMBLY",2397081782:"IFCELEMENTASSEMBLYTYPE",1623761950:"IFCELEMENTCOMPONENT",2590856083:"IFCELEMENTCOMPONENTTYPE",1883228015:"IFCELEMENTQUANTITY",339256511:"IFCELEMENTTYPE",2777663545:"IFCELEMENTARYSURFACE",1704287377:"IFCELLIPSE",2835456948:"IFCELLIPSEPROFILEDEF",1658829314:"IFCENERGYCONVERSIONDEVICE",2107101300:"IFCENERGYCONVERSIONDEVICETYPE",2814081492:"IFCENGINE",132023988:"IFCENGINETYPE",3747195512:"IFCEVAPORATIVECOOLER",3174744832:"IFCEVAPORATIVECOOLERTYPE",484807127:"IFCEVAPORATOR",3390157468:"IFCEVAPORATORTYPE",4148101412:"IFCEVENT",211053100:"IFCEVENTTIME",4024345920:"IFCEVENTTYPE",297599258:"IFCEXTENDEDPROPERTIES",4294318154:"IFCEXTERNALINFORMATION",3200245327:"IFCEXTERNALREFERENCE",1437805879:"IFCEXTERNALREFERENCERELATIONSHIP",1209101575:"IFCEXTERNALSPATIALELEMENT",2853485674:"IFCEXTERNALSPATIALSTRUCTUREELEMENT",2242383968:"IFCEXTERNALLYDEFINEDHATCHSTYLE",1040185647:"IFCEXTERNALLYDEFINEDSURFACESTYLE",3548104201:"IFCEXTERNALLYDEFINEDTEXTFONT",477187591:"IFCEXTRUDEDAREASOLID",2804161546:"IFCEXTRUDEDAREASOLIDTAPERED",2556980723:"IFCFACE",2047409740:"IFCFACEBASEDSURFACEMODEL",1809719519:"IFCFACEBOUND",803316827:"IFCFACEOUTERBOUND",3008276851:"IFCFACESURFACE",807026263:"IFCFACETEDBREP",3737207727:"IFCFACETEDBREPWITHVOIDS",24185140:"IFCFACILITY",1310830890:"IFCFACILITYPART",4219587988:"IFCFAILURECONNECTIONCONDITION",3415622556:"IFCFAN",346874300:"IFCFANTYPE",647756555:"IFCFASTENER",2489546625:"IFCFASTENERTYPE",2827207264:"IFCFEATUREELEMENT",2143335405:"IFCFEATUREELEMENTADDITION",1287392070:"IFCFEATUREELEMENTSUBTRACTION",738692330:"IFCFILLAREASTYLE",374418227:"IFCFILLAREASTYLEHATCHING",315944413:"IFCFILLAREASTYLETILES",819412036:"IFCFILTER",1810631287:"IFCFILTERTYPE",1426591983:"IFCFIRESUPPRESSIONTERMINAL",4222183408:"IFCFIRESUPPRESSIONTERMINALTYPE",2652556860:"IFCFIXEDREFERENCESWEPTAREASOLID",2058353004:"IFCFLOWCONTROLLER",3907093117:"IFCFLOWCONTROLLERTYPE",4278956645:"IFCFLOWFITTING",3198132628:"IFCFLOWFITTINGTYPE",182646315:"IFCFLOWINSTRUMENT",4037862832:"IFCFLOWINSTRUMENTTYPE",2188021234:"IFCFLOWMETER",3815607619:"IFCFLOWMETERTYPE",3132237377:"IFCFLOWMOVINGDEVICE",1482959167:"IFCFLOWMOVINGDEVICETYPE",987401354:"IFCFLOWSEGMENT",1834744321:"IFCFLOWSEGMENTTYPE",707683696:"IFCFLOWSTORAGEDEVICE",1339347760:"IFCFLOWSTORAGEDEVICETYPE",2223149337:"IFCFLOWTERMINAL",2297155007:"IFCFLOWTERMINALTYPE",3508470533:"IFCFLOWTREATMENTDEVICE",3009222698:"IFCFLOWTREATMENTDEVICETYPE",900683007:"IFCFOOTING",1893162501:"IFCFOOTINGTYPE",263784265:"IFCFURNISHINGELEMENT",4238390223:"IFCFURNISHINGELEMENTTYPE",1509553395:"IFCFURNITURE",1268542332:"IFCFURNITURETYPE",3493046030:"IFCGEOGRAPHICELEMENT",4095422895:"IFCGEOGRAPHICELEMENTTYPE",987898635:"IFCGEOMETRICCURVESET",3448662350:"IFCGEOMETRICREPRESENTATIONCONTEXT",2453401579:"IFCGEOMETRICREPRESENTATIONITEM",4142052618:"IFCGEOMETRICREPRESENTATIONSUBCONTEXT",3590301190:"IFCGEOMETRICSET",3009204131:"IFCGRID",852622518:"IFCGRIDAXIS",178086475:"IFCGRIDPLACEMENT",2706460486:"IFCGROUP",812098782:"IFCHALFSPACESOLID",3319311131:"IFCHEATEXCHANGER",1251058090:"IFCHEATEXCHANGERTYPE",2068733104:"IFCHUMIDIFIER",1806887404:"IFCHUMIDIFIERTYPE",1484403080:"IFCISHAPEPROFILEDEF",3905492369:"IFCIMAGETEXTURE",3570813810:"IFCINDEXEDCOLOURMAP",2571569899:"IFCINDEXEDPOLYCURVE",178912537:"IFCINDEXEDPOLYGONALFACE",2294589976:"IFCINDEXEDPOLYGONALFACEWITHVOIDS",1437953363:"IFCINDEXEDTEXTUREMAP",2133299955:"IFCINDEXEDTRIANGLETEXTUREMAP",4175244083:"IFCINTERCEPTOR",3946677679:"IFCINTERCEPTORTYPE",3113134337:"IFCINTERSECTIONCURVE",2391368822:"IFCINVENTORY",3741457305:"IFCIRREGULARTIMESERIES",3020489413:"IFCIRREGULARTIMESERIESVALUE",2176052936:"IFCJUNCTIONBOX",4288270099:"IFCJUNCTIONBOXTYPE",572779678:"IFCLSHAPEPROFILEDEF",3827777499:"IFCLABORRESOURCE",428585644:"IFCLABORRESOURCETYPE",1585845231:"IFCLAGTIME",76236018:"IFCLAMP",1051575348:"IFCLAMPTYPE",2655187982:"IFCLIBRARYINFORMATION",3452421091:"IFCLIBRARYREFERENCE",4162380809:"IFCLIGHTDISTRIBUTIONDATA",629592764:"IFCLIGHTFIXTURE",1161773419:"IFCLIGHTFIXTURETYPE",1566485204:"IFCLIGHTINTENSITYDISTRIBUTION",1402838566:"IFCLIGHTSOURCE",125510826:"IFCLIGHTSOURCEAMBIENT",2604431987:"IFCLIGHTSOURCEDIRECTIONAL",4266656042:"IFCLIGHTSOURCEGONIOMETRIC",1520743889:"IFCLIGHTSOURCEPOSITIONAL",3422422726:"IFCLIGHTSOURCESPOT",1281925730:"IFCLINE",3092502836:"IFCLINESEGMENT2D",388784114:"IFCLINEARPLACEMENT",1154579445:"IFCLINEARPOSITIONINGELEMENT",2624227202:"IFCLOCALPLACEMENT",1008929658:"IFCLOOP",1425443689:"IFCMANIFOLDSOLIDBREP",3057273783:"IFCMAPCONVERSION",2347385850:"IFCMAPPEDITEM",1838606355:"IFCMATERIAL",1847130766:"IFCMATERIALCLASSIFICATIONRELATIONSHIP",3708119e3:"IFCMATERIALCONSTITUENT",2852063980:"IFCMATERIALCONSTITUENTSET",760658860:"IFCMATERIALDEFINITION",2022407955:"IFCMATERIALDEFINITIONREPRESENTATION",248100487:"IFCMATERIALLAYER",3303938423:"IFCMATERIALLAYERSET",1303795690:"IFCMATERIALLAYERSETUSAGE",1847252529:"IFCMATERIALLAYERWITHOFFSETS",2199411900:"IFCMATERIALLIST",2235152071:"IFCMATERIALPROFILE",164193824:"IFCMATERIALPROFILESET",3079605661:"IFCMATERIALPROFILESETUSAGE",3404854881:"IFCMATERIALPROFILESETUSAGETAPERING",552965576:"IFCMATERIALPROFILEWITHOFFSETS",3265635763:"IFCMATERIALPROPERTIES",853536259:"IFCMATERIALRELATIONSHIP",1507914824:"IFCMATERIALUSAGEDEFINITION",2597039031:"IFCMEASUREWITHUNIT",377706215:"IFCMECHANICALFASTENER",2108223431:"IFCMECHANICALFASTENERTYPE",1437502449:"IFCMEDICALDEVICE",1114901282:"IFCMEDICALDEVICETYPE",1073191201:"IFCMEMBER",1911478936:"IFCMEMBERSTANDARDCASE",3181161470:"IFCMEMBERTYPE",3368373690:"IFCMETRIC",2998442950:"IFCMIRROREDPROFILEDEF",2706619895:"IFCMONETARYUNIT",2474470126:"IFCMOTORCONNECTION",977012517:"IFCMOTORCONNECTIONTYPE",1918398963:"IFCNAMEDUNIT",3888040117:"IFCOBJECT",219451334:"IFCOBJECTDEFINITION",3701648758:"IFCOBJECTPLACEMENT",2251480897:"IFCOBJECTIVE",4143007308:"IFCOCCUPANT",590820931:"IFCOFFSETCURVE",3388369263:"IFCOFFSETCURVE2D",3505215534:"IFCOFFSETCURVE3D",2485787929:"IFCOFFSETCURVEBYDISTANCES",2665983363:"IFCOPENSHELL",3588315303:"IFCOPENINGELEMENT",3079942009:"IFCOPENINGSTANDARDCASE",4251960020:"IFCORGANIZATION",1411181986:"IFCORGANIZATIONRELATIONSHIP",643959842:"IFCORIENTATIONEXPRESSION",1029017970:"IFCORIENTEDEDGE",144952367:"IFCOUTERBOUNDARYCURVE",3694346114:"IFCOUTLET",2837617999:"IFCOUTLETTYPE",1207048766:"IFCOWNERHISTORY",2529465313:"IFCPARAMETERIZEDPROFILEDEF",2519244187:"IFCPATH",1682466193:"IFCPCURVE",2382730787:"IFCPERFORMANCEHISTORY",3566463478:"IFCPERMEABLECOVERINGPROPERTIES",3327091369:"IFCPERMIT",2077209135:"IFCPERSON",101040310:"IFCPERSONANDORGANIZATION",3021840470:"IFCPHYSICALCOMPLEXQUANTITY",2483315170:"IFCPHYSICALQUANTITY",2226359599:"IFCPHYSICALSIMPLEQUANTITY",1687234759:"IFCPILE",1158309216:"IFCPILETYPE",310824031:"IFCPIPEFITTING",804291784:"IFCPIPEFITTINGTYPE",3612865200:"IFCPIPESEGMENT",4231323485:"IFCPIPESEGMENTTYPE",597895409:"IFCPIXELTEXTURE",2004835150:"IFCPLACEMENT",603570806:"IFCPLANARBOX",1663979128:"IFCPLANAREXTENT",220341763:"IFCPLANE",3171933400:"IFCPLATE",1156407060:"IFCPLATESTANDARDCASE",4017108033:"IFCPLATETYPE",2067069095:"IFCPOINT",4022376103:"IFCPOINTONCURVE",1423911732:"IFCPOINTONSURFACE",2924175390:"IFCPOLYLOOP",2775532180:"IFCPOLYGONALBOUNDEDHALFSPACE",2839578677:"IFCPOLYGONALFACESET",3724593414:"IFCPOLYLINE",3740093272:"IFCPORT",1946335990:"IFCPOSITIONINGELEMENT",3355820592:"IFCPOSTALADDRESS",759155922:"IFCPREDEFINEDCOLOUR",2559016684:"IFCPREDEFINEDCURVEFONT",3727388367:"IFCPREDEFINEDITEM",3778827333:"IFCPREDEFINEDPROPERTIES",3967405729:"IFCPREDEFINEDPROPERTYSET",1775413392:"IFCPREDEFINEDTEXTFONT",677532197:"IFCPRESENTATIONITEM",2022622350:"IFCPRESENTATIONLAYERASSIGNMENT",1304840413:"IFCPRESENTATIONLAYERWITHSTYLE",3119450353:"IFCPRESENTATIONSTYLE",2417041796:"IFCPRESENTATIONSTYLEASSIGNMENT",2744685151:"IFCPROCEDURE",569719735:"IFCPROCEDURETYPE",2945172077:"IFCPROCESS",4208778838:"IFCPRODUCT",673634403:"IFCPRODUCTDEFINITIONSHAPE",2095639259:"IFCPRODUCTREPRESENTATION",3958567839:"IFCPROFILEDEF",2802850158:"IFCPROFILEPROPERTIES",103090709:"IFCPROJECT",653396225:"IFCPROJECTLIBRARY",2904328755:"IFCPROJECTORDER",3843373140:"IFCPROJECTEDCRS",3651124850:"IFCPROJECTIONELEMENT",2598011224:"IFCPROPERTY",986844984:"IFCPROPERTYABSTRACTION",871118103:"IFCPROPERTYBOUNDEDVALUE",1680319473:"IFCPROPERTYDEFINITION",148025276:"IFCPROPERTYDEPENDENCYRELATIONSHIP",4166981789:"IFCPROPERTYENUMERATEDVALUE",3710013099:"IFCPROPERTYENUMERATION",2752243245:"IFCPROPERTYLISTVALUE",941946838:"IFCPROPERTYREFERENCEVALUE",1451395588:"IFCPROPERTYSET",3357820518:"IFCPROPERTYSETDEFINITION",492091185:"IFCPROPERTYSETTEMPLATE",3650150729:"IFCPROPERTYSINGLEVALUE",110355661:"IFCPROPERTYTABLEVALUE",3521284610:"IFCPROPERTYTEMPLATE",1482703590:"IFCPROPERTYTEMPLATEDEFINITION",738039164:"IFCPROTECTIVEDEVICE",2295281155:"IFCPROTECTIVEDEVICETRIPPINGUNIT",655969474:"IFCPROTECTIVEDEVICETRIPPINGUNITTYPE",1842657554:"IFCPROTECTIVEDEVICETYPE",3219374653:"IFCPROXY",90941305:"IFCPUMP",2250791053:"IFCPUMPTYPE",2044713172:"IFCQUANTITYAREA",2093928680:"IFCQUANTITYCOUNT",931644368:"IFCQUANTITYLENGTH",2090586900:"IFCQUANTITYSET",3252649465:"IFCQUANTITYTIME",2405470396:"IFCQUANTITYVOLUME",825690147:"IFCQUANTITYWEIGHT",2262370178:"IFCRAILING",2893384427:"IFCRAILINGTYPE",3024970846:"IFCRAMP",3283111854:"IFCRAMPFLIGHT",2324767716:"IFCRAMPFLIGHTTYPE",1469900589:"IFCRAMPTYPE",1232101972:"IFCRATIONALBSPLINECURVEWITHKNOTS",683857671:"IFCRATIONALBSPLINESURFACEWITHKNOTS",2770003689:"IFCRECTANGLEHOLLOWPROFILEDEF",3615266464:"IFCRECTANGLEPROFILEDEF",2798486643:"IFCRECTANGULARPYRAMID",3454111270:"IFCRECTANGULARTRIMMEDSURFACE",3915482550:"IFCRECURRENCEPATTERN",2433181523:"IFCREFERENCE",4021432810:"IFCREFERENT",3413951693:"IFCREGULARTIMESERIES",1580146022:"IFCREINFORCEMENTBARPROPERTIES",3765753017:"IFCREINFORCEMENTDEFINITIONPROPERTIES",979691226:"IFCREINFORCINGBAR",2572171363:"IFCREINFORCINGBARTYPE",3027567501:"IFCREINFORCINGELEMENT",964333572:"IFCREINFORCINGELEMENTTYPE",2320036040:"IFCREINFORCINGMESH",2310774935:"IFCREINFORCINGMESHTYPE",160246688:"IFCRELAGGREGATES",3939117080:"IFCRELASSIGNS",1683148259:"IFCRELASSIGNSTOACTOR",2495723537:"IFCRELASSIGNSTOCONTROL",1307041759:"IFCRELASSIGNSTOGROUP",1027710054:"IFCRELASSIGNSTOGROUPBYFACTOR",4278684876:"IFCRELASSIGNSTOPROCESS",2857406711:"IFCRELASSIGNSTOPRODUCT",205026976:"IFCRELASSIGNSTORESOURCE",1865459582:"IFCRELASSOCIATES",4095574036:"IFCRELASSOCIATESAPPROVAL",919958153:"IFCRELASSOCIATESCLASSIFICATION",2728634034:"IFCRELASSOCIATESCONSTRAINT",982818633:"IFCRELASSOCIATESDOCUMENT",3840914261:"IFCRELASSOCIATESLIBRARY",2655215786:"IFCRELASSOCIATESMATERIAL",826625072:"IFCRELCONNECTS",1204542856:"IFCRELCONNECTSELEMENTS",3945020480:"IFCRELCONNECTSPATHELEMENTS",4201705270:"IFCRELCONNECTSPORTTOELEMENT",3190031847:"IFCRELCONNECTSPORTS",2127690289:"IFCRELCONNECTSSTRUCTURALACTIVITY",1638771189:"IFCRELCONNECTSSTRUCTURALMEMBER",504942748:"IFCRELCONNECTSWITHECCENTRICITY",3678494232:"IFCRELCONNECTSWITHREALIZINGELEMENTS",3242617779:"IFCRELCONTAINEDINSPATIALSTRUCTURE",886880790:"IFCRELCOVERSBLDGELEMENTS",2802773753:"IFCRELCOVERSSPACES",2565941209:"IFCRELDECLARES",2551354335:"IFCRELDECOMPOSES",693640335:"IFCRELDEFINES",1462361463:"IFCRELDEFINESBYOBJECT",4186316022:"IFCRELDEFINESBYPROPERTIES",307848117:"IFCRELDEFINESBYTEMPLATE",781010003:"IFCRELDEFINESBYTYPE",3940055652:"IFCRELFILLSELEMENT",279856033:"IFCRELFLOWCONTROLELEMENTS",427948657:"IFCRELINTERFERESELEMENTS",3268803585:"IFCRELNESTS",1441486842:"IFCRELPOSITIONS",750771296:"IFCRELPROJECTSELEMENT",1245217292:"IFCRELREFERENCEDINSPATIALSTRUCTURE",4122056220:"IFCRELSEQUENCE",366585022:"IFCRELSERVICESBUILDINGS",3451746338:"IFCRELSPACEBOUNDARY",3523091289:"IFCRELSPACEBOUNDARY1STLEVEL",1521410863:"IFCRELSPACEBOUNDARY2NDLEVEL",1401173127:"IFCRELVOIDSELEMENT",478536968:"IFCRELATIONSHIP",816062949:"IFCREPARAMETRISEDCOMPOSITECURVESEGMENT",1076942058:"IFCREPRESENTATION",3377609919:"IFCREPRESENTATIONCONTEXT",3008791417:"IFCREPRESENTATIONITEM",1660063152:"IFCREPRESENTATIONMAP",2914609552:"IFCRESOURCE",2943643501:"IFCRESOURCEAPPROVALRELATIONSHIP",1608871552:"IFCRESOURCECONSTRAINTRELATIONSHIP",2439245199:"IFCRESOURCELEVELRELATIONSHIP",1042787934:"IFCRESOURCETIME",1856042241:"IFCREVOLVEDAREASOLID",3243963512:"IFCREVOLVEDAREASOLIDTAPERED",4158566097:"IFCRIGHTCIRCULARCONE",3626867408:"IFCRIGHTCIRCULARCYLINDER",2016517767:"IFCROOF",2781568857:"IFCROOFTYPE",2341007311:"IFCROOT",2778083089:"IFCROUNDEDRECTANGLEPROFILEDEF",448429030:"IFCSIUNIT",3053780830:"IFCSANITARYTERMINAL",1768891740:"IFCSANITARYTERMINALTYPE",1054537805:"IFCSCHEDULINGTIME",2157484638:"IFCSEAMCURVE",2042790032:"IFCSECTIONPROPERTIES",4165799628:"IFCSECTIONREINFORCEMENTPROPERTIES",1862484736:"IFCSECTIONEDSOLID",1290935644:"IFCSECTIONEDSOLIDHORIZONTAL",1509187699:"IFCSECTIONEDSPINE",4086658281:"IFCSENSOR",1783015770:"IFCSENSORTYPE",1329646415:"IFCSHADINGDEVICE",4074543187:"IFCSHADINGDEVICETYPE",867548509:"IFCSHAPEASPECT",3982875396:"IFCSHAPEMODEL",4240577450:"IFCSHAPEREPRESENTATION",4124623270:"IFCSHELLBASEDSURFACEMODEL",3692461612:"IFCSIMPLEPROPERTY",3663146110:"IFCSIMPLEPROPERTYTEMPLATE",4097777520:"IFCSITE",1529196076:"IFCSLAB",3127900445:"IFCSLABELEMENTEDCASE",3027962421:"IFCSLABSTANDARDCASE",2533589738:"IFCSLABTYPE",2609359061:"IFCSLIPPAGECONNECTIONCONDITION",3420628829:"IFCSOLARDEVICE",1072016465:"IFCSOLARDEVICETYPE",723233188:"IFCSOLIDMODEL",3856911033:"IFCSPACE",1999602285:"IFCSPACEHEATER",1305183839:"IFCSPACEHEATERTYPE",3812236995:"IFCSPACETYPE",1412071761:"IFCSPATIALELEMENT",710998568:"IFCSPATIALELEMENTTYPE",2706606064:"IFCSPATIALSTRUCTUREELEMENT",3893378262:"IFCSPATIALSTRUCTUREELEMENTTYPE",463610769:"IFCSPATIALZONE",2481509218:"IFCSPATIALZONETYPE",451544542:"IFCSPHERE",4015995234:"IFCSPHERICALSURFACE",1404847402:"IFCSTACKTERMINAL",3112655638:"IFCSTACKTERMINALTYPE",331165859:"IFCSTAIR",4252922144:"IFCSTAIRFLIGHT",1039846685:"IFCSTAIRFLIGHTTYPE",338393293:"IFCSTAIRTYPE",682877961:"IFCSTRUCTURALACTION",3544373492:"IFCSTRUCTURALACTIVITY",2515109513:"IFCSTRUCTURALANALYSISMODEL",1179482911:"IFCSTRUCTURALCONNECTION",2273995522:"IFCSTRUCTURALCONNECTIONCONDITION",1004757350:"IFCSTRUCTURALCURVEACTION",4243806635:"IFCSTRUCTURALCURVECONNECTION",214636428:"IFCSTRUCTURALCURVEMEMBER",2445595289:"IFCSTRUCTURALCURVEMEMBERVARYING",2757150158:"IFCSTRUCTURALCURVEREACTION",3136571912:"IFCSTRUCTURALITEM",1807405624:"IFCSTRUCTURALLINEARACTION",2162789131:"IFCSTRUCTURALLOAD",385403989:"IFCSTRUCTURALLOADCASE",3478079324:"IFCSTRUCTURALLOADCONFIGURATION",1252848954:"IFCSTRUCTURALLOADGROUP",1595516126:"IFCSTRUCTURALLOADLINEARFORCE",609421318:"IFCSTRUCTURALLOADORRESULT",2668620305:"IFCSTRUCTURALLOADPLANARFORCE",2473145415:"IFCSTRUCTURALLOADSINGLEDISPLACEMENT",1973038258:"IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION",1597423693:"IFCSTRUCTURALLOADSINGLEFORCE",1190533807:"IFCSTRUCTURALLOADSINGLEFORCEWARPING",2525727697:"IFCSTRUCTURALLOADSTATIC",3408363356:"IFCSTRUCTURALLOADTEMPERATURE",530289379:"IFCSTRUCTURALMEMBER",1621171031:"IFCSTRUCTURALPLANARACTION",2082059205:"IFCSTRUCTURALPOINTACTION",734778138:"IFCSTRUCTURALPOINTCONNECTION",1235345126:"IFCSTRUCTURALPOINTREACTION",3689010777:"IFCSTRUCTURALREACTION",2986769608:"IFCSTRUCTURALRESULTGROUP",3657597509:"IFCSTRUCTURALSURFACEACTION",1975003073:"IFCSTRUCTURALSURFACECONNECTION",3979015343:"IFCSTRUCTURALSURFACEMEMBER",2218152070:"IFCSTRUCTURALSURFACEMEMBERVARYING",603775116:"IFCSTRUCTURALSURFACEREACTION",2830218821:"IFCSTYLEMODEL",3958052878:"IFCSTYLEDITEM",3049322572:"IFCSTYLEDREPRESENTATION",148013059:"IFCSUBCONTRACTRESOURCE",4095615324:"IFCSUBCONTRACTRESOURCETYPE",2233826070:"IFCSUBEDGE",2513912981:"IFCSURFACE",699246055:"IFCSURFACECURVE",2028607225:"IFCSURFACECURVESWEPTAREASOLID",3101698114:"IFCSURFACEFEATURE",2809605785:"IFCSURFACEOFLINEAREXTRUSION",4124788165:"IFCSURFACEOFREVOLUTION",2934153892:"IFCSURFACEREINFORCEMENTAREA",1300840506:"IFCSURFACESTYLE",3303107099:"IFCSURFACESTYLELIGHTING",1607154358:"IFCSURFACESTYLEREFRACTION",1878645084:"IFCSURFACESTYLERENDERING",846575682:"IFCSURFACESTYLESHADING",1351298697:"IFCSURFACESTYLEWITHTEXTURES",626085974:"IFCSURFACETEXTURE",2247615214:"IFCSWEPTAREASOLID",1260650574:"IFCSWEPTDISKSOLID",1096409881:"IFCSWEPTDISKSOLIDPOLYGONAL",230924584:"IFCSWEPTSURFACE",1162798199:"IFCSWITCHINGDEVICE",2315554128:"IFCSWITCHINGDEVICETYPE",2254336722:"IFCSYSTEM",413509423:"IFCSYSTEMFURNITUREELEMENT",1580310250:"IFCSYSTEMFURNITUREELEMENTTYPE",3071757647:"IFCTSHAPEPROFILEDEF",985171141:"IFCTABLE",2043862942:"IFCTABLECOLUMN",531007025:"IFCTABLEROW",812556717:"IFCTANK",5716631:"IFCTANKTYPE",3473067441:"IFCTASK",1549132990:"IFCTASKTIME",2771591690:"IFCTASKTIMERECURRING",3206491090:"IFCTASKTYPE",912023232:"IFCTELECOMADDRESS",3824725483:"IFCTENDON",2347447852:"IFCTENDONANCHOR",3081323446:"IFCTENDONANCHORTYPE",3663046924:"IFCTENDONCONDUIT",2281632017:"IFCTENDONCONDUITTYPE",2415094496:"IFCTENDONTYPE",2387106220:"IFCTESSELLATEDFACESET",901063453:"IFCTESSELLATEDITEM",4282788508:"IFCTEXTLITERAL",3124975700:"IFCTEXTLITERALWITHEXTENT",1447204868:"IFCTEXTSTYLE",1983826977:"IFCTEXTSTYLEFONTMODEL",2636378356:"IFCTEXTSTYLEFORDEFINEDFONT",1640371178:"IFCTEXTSTYLETEXTMODEL",280115917:"IFCTEXTURECOORDINATE",1742049831:"IFCTEXTURECOORDINATEGENERATOR",2552916305:"IFCTEXTUREMAP",1210645708:"IFCTEXTUREVERTEX",3611470254:"IFCTEXTUREVERTEXLIST",1199560280:"IFCTIMEPERIOD",3101149627:"IFCTIMESERIES",581633288:"IFCTIMESERIESVALUE",1377556343:"IFCTOPOLOGICALREPRESENTATIONITEM",1735638870:"IFCTOPOLOGYREPRESENTATION",1935646853:"IFCTOROIDALSURFACE",3825984169:"IFCTRANSFORMER",1692211062:"IFCTRANSFORMERTYPE",2595432518:"IFCTRANSITIONCURVESEGMENT2D",1620046519:"IFCTRANSPORTELEMENT",2097647324:"IFCTRANSPORTELEMENTTYPE",2715220739:"IFCTRAPEZIUMPROFILEDEF",2916149573:"IFCTRIANGULATEDFACESET",1229763772:"IFCTRIANGULATEDIRREGULARNETWORK",3593883385:"IFCTRIMMEDCURVE",3026737570:"IFCTUBEBUNDLE",1600972822:"IFCTUBEBUNDLETYPE",1628702193:"IFCTYPEOBJECT",3736923433:"IFCTYPEPROCESS",2347495698:"IFCTYPEPRODUCT",3698973494:"IFCTYPERESOURCE",427810014:"IFCUSHAPEPROFILEDEF",180925521:"IFCUNITASSIGNMENT",630975310:"IFCUNITARYCONTROLELEMENT",3179687236:"IFCUNITARYCONTROLELEMENTTYPE",4292641817:"IFCUNITARYEQUIPMENT",1911125066:"IFCUNITARYEQUIPMENTTYPE",4207607924:"IFCVALVE",728799441:"IFCVALVETYPE",1417489154:"IFCVECTOR",2799835756:"IFCVERTEX",2759199220:"IFCVERTEXLOOP",1907098498:"IFCVERTEXPOINT",1530820697:"IFCVIBRATIONDAMPER",3956297820:"IFCVIBRATIONDAMPERTYPE",2391383451:"IFCVIBRATIONISOLATOR",3313531582:"IFCVIBRATIONISOLATORTYPE",2769231204:"IFCVIRTUALELEMENT",891718957:"IFCVIRTUALGRIDINTERSECTION",926996030:"IFCVOIDINGFEATURE",2391406946:"IFCWALL",4156078855:"IFCWALLELEMENTEDCASE",3512223829:"IFCWALLSTANDARDCASE",1898987631:"IFCWALLTYPE",4237592921:"IFCWASTETERMINAL",1133259667:"IFCWASTETERMINALTYPE",3304561284:"IFCWINDOW",336235671:"IFCWINDOWLININGPROPERTIES",512836454:"IFCWINDOWPANELPROPERTIES",486154966:"IFCWINDOWSTANDARDCASE",1299126871:"IFCWINDOWSTYLE",4009809668:"IFCWINDOWTYPE",4088093105:"IFCWORKCALENDAR",1028945134:"IFCWORKCONTROL",4218914973:"IFCWORKPLAN",3342526732:"IFCWORKSCHEDULE",1236880293:"IFCWORKTIME",2543172580:"IFCZSHAPEPROFILEDEF",1033361043:"IFCZONE"};// dist/helpers/properties.ts
|
|
29323
|
-
var PropsNames={aggregates:{name:IFCRELAGGREGATES,relating:"RelatingObject",related:"RelatedObjects",key:"children"},spatial:{name:IFCRELCONTAINEDINSPATIALSTRUCTURE,relating:"RelatingStructure",related:"RelatedElements",key:"children"},psets:{name:IFCRELDEFINESBYPROPERTIES,relating:"RelatingPropertyDefinition",related:"RelatedObjects",key:"hasPsets"},materials:{name:IFCRELASSOCIATESMATERIAL,relating:"RelatingMaterial",related:"RelatedObjects",key:"hasMaterial"},type:{name:IFCRELDEFINESBYTYPE,relating:"RelatingType",related:"RelatedObjects",key:"hasType"}};var Properties=/*#__PURE__*/function(){function Properties(api){_classCallCheck(this,Properties);this.api=api;}_createClass(Properties,[{key:"getIfcType",value:function getIfcType(type){return IfcTypesMap[type];}},{key:"getItemProperties",value:function getItemProperties(modelID,id){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){return _regeneratorRuntime().wrap(function _callee7$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:return _context10.abrupt("return",this.api.GetLine(modelID,id,recursive));case 1:case"end":return _context10.stop();}}},_callee7,this);}));}},{key:"getPropertySets",value:function getPropertySets(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){return _regeneratorRuntime().wrap(function _callee8$(_context11){while(1){switch(_context11.prev=_context11.next){case 0:_context11.next=2;return this.getProperty(modelID,elementID,recursive,PropsNames.psets);case 2:return _context11.abrupt("return",_context11.sent);case 3:case"end":return _context11.stop();}}},_callee8,this);}));}},{key:"getTypeProperties",value:function getTypeProperties(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(){return _regeneratorRuntime().wrap(function _callee9$(_context12){while(1){switch(_context12.prev=_context12.next){case 0:_context12.next=2;return this.getProperty(modelID,elementID,recursive,PropsNames.type);case 2:return _context12.abrupt("return",_context12.sent);case 3:case"end":return _context12.stop();}}},_callee9,this);}));}},{key:"getMaterialsProperties",value:function getMaterialsProperties(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(){return _regeneratorRuntime().wrap(function _callee10$(_context13){while(1){switch(_context13.prev=_context13.next){case 0:_context13.next=2;return this.getProperty(modelID,elementID,recursive,PropsNames.materials);case 2:return _context13.abrupt("return",_context13.sent);case 3:case"end":return _context13.stop();}}},_callee10,this);}));}},{key:"getSpatialStructure",value:function getSpatialStructure(modelID,includeProperties){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(){var chunks,allLines,projectID,project;return _regeneratorRuntime().wrap(function _callee11$(_context14){while(1){switch(_context14.prev=_context14.next){case 0:_context14.next=2;return this.getAllTypesOfModel(modelID);case 2:_context14.next=4;return this.getSpatialTreeChunks(modelID);case 4:chunks=_context14.sent;_context14.next=7;return this.api.GetLineIDsWithType(modelID,IFCPROJECT);case 7:allLines=_context14.sent;projectID=allLines.get(0);project=Properties.newIfcProject(projectID);_context14.next=12;return this.getSpatialNode(modelID,project,chunks,includeProperties);case 12:this.cleanupTypes();return _context14.abrupt("return",project);case 14:case"end":return _context14.stop();}}},_callee11,this);}));}},{key:"getAllItemsOfType",value:function getAllItemsOfType(modelID,type,verbose){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(){var items,lines,_i613,result,_i614;return _regeneratorRuntime().wrap(function _callee12$(_context15){while(1){switch(_context15.prev=_context15.next){case 0:items=[];_context15.next=3;return this.api.GetLineIDsWithType(modelID,type);case 3:lines=_context15.sent;for(_i613=0;_i613<lines.size();_i613++){items.push(lines.get(_i613));}if(verbose){_context15.next=7;break;}return _context15.abrupt("return",items);case 7:result=[];_i614=0;case 9:if(!(_i614<items.length)){_context15.next=18;break;}_context15.t0=result;_context15.next=13;return this.api.GetLine(modelID,items[_i614]);case 13:_context15.t1=_context15.sent;_context15.t0.push.call(_context15.t0,_context15.t1);case 15:_i614++;_context15.next=9;break;case 18:return _context15.abrupt("return",result);case 19:case"end":return _context15.stop();}}},_callee12,this);}));}},{key:"getProperty",value:function getProperty(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var propName=arguments.length>3?arguments[3]:undefined;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(){var propSetIds,result,_i615;return _regeneratorRuntime().wrap(function _callee13$(_context16){while(1){switch(_context16.prev=_context16.next){case 0:_context16.next=2;return this.getAllRelatedItemsOfType(modelID,elementID,propName);case 2:propSetIds=_context16.sent;result=[];_i615=0;case 5:if(!(_i615<propSetIds.length)){_context16.next=14;break;}_context16.t0=result;_context16.next=9;return this.api.GetLine(modelID,propSetIds[_i615],recursive);case 9:_context16.t1=_context16.sent;_context16.t0.push.call(_context16.t0,_context16.t1);case 11:_i615++;_context16.next=5;break;case 14:return _context16.abrupt("return",result);case 15:case"end":return _context16.stop();}}},_callee13,this);}));}},{key:"getChunks",value:function getChunks(modelID,chunks,propNames){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(){var relation,_i616,rel;return _regeneratorRuntime().wrap(function _callee14$(_context17){while(1){switch(_context17.prev=_context17.next){case 0:_context17.next=2;return this.api.GetLineIDsWithType(modelID,propNames.name);case 2:relation=_context17.sent;_i616=0;case 4:if(!(_i616<relation.size())){_context17.next=12;break;}_context17.next=7;return this.api.GetLine(modelID,relation.get(_i616),false);case 7:rel=_context17.sent;this.saveChunk(chunks,propNames,rel);case 9:_i616++;_context17.next=4;break;case 12:case"end":return _context17.stop();}}},_callee14,this);}));}},{key:"getSpatialNode",value:function getSpatialNode(modelID,node,treeChunks,includeProperties){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(){return _regeneratorRuntime().wrap(function _callee15$(_context18){while(1){switch(_context18.prev=_context18.next){case 0:_context18.next=2;return this.getChildren(modelID,node,treeChunks,PropsNames.aggregates,includeProperties);case 2:_context18.next=4;return this.getChildren(modelID,node,treeChunks,PropsNames.spatial,includeProperties);case 4:case"end":return _context18.stop();}}},_callee15,this);}));}},{key:"getChildren",value:function getChildren(modelID,node,treeChunks,propNames,includeProperties){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee16(){var children,prop,nodes,_i617,child,node2,properties;return _regeneratorRuntime().wrap(function _callee16$(_context19){while(1){switch(_context19.prev=_context19.next){case 0:children=treeChunks[node.expressID];if(!(children==void 0)){_context19.next=3;break;}return _context19.abrupt("return");case 3:prop=propNames.key;nodes=[];_i617=0;case 6:if(!(_i617<children.length)){_context19.next=20;break;}child=children[_i617];node2=this.newNode(child);if(!includeProperties){_context19.next=14;break;}_context19.next=12;return this.getItemProperties(modelID,node2.expressID);case 12:properties=_context19.sent;node2=__spreadValues(__spreadValues({},properties),node2);case 14:_context19.next=16;return this.getSpatialNode(modelID,node2,treeChunks,includeProperties);case 16:nodes.push(node2);case 17:_i617++;_context19.next=6;break;case 20:node[prop]=nodes;case 21:case"end":return _context19.stop();}}},_callee16,this);}));}},{key:"newNode",value:function newNode(id){var typeName=this.getNodeType(id);return{expressID:id,type:typeName,children:[]};}},{key:"getNodeType",value:function getNodeType(id){var typeID=this.types[id];return IfcElements2[typeID];}},{key:"getSpatialTreeChunks",value:function getSpatialTreeChunks(modelID){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee17(){var treeChunks;return _regeneratorRuntime().wrap(function _callee17$(_context20){while(1){switch(_context20.prev=_context20.next){case 0:treeChunks={};_context20.next=3;return this.getChunks(modelID,treeChunks,PropsNames.aggregates);case 3:_context20.next=5;return this.getChunks(modelID,treeChunks,PropsNames.spatial);case 5:return _context20.abrupt("return",treeChunks);case 6:case"end":return _context20.stop();}}},_callee17,this);}));}},{key:"saveChunk",value:function saveChunk(chunks,propNames,rel){var relating=rel[propNames.relating].value;var related=rel[propNames.related].map(function(r){return r.value;});if(chunks[relating]==void 0){chunks[relating]=related;}else{chunks[relating]=chunks[relating].concat(related);}}},{key:"getRelated",value:function getRelated(rel,propNames,IDs){var element=rel[propNames.relating];if(!Array.isArray(element))IDs.push(element.value);else element.forEach(function(ele){return IDs.push(ele.value);});}},{key:"getAllRelatedItemsOfType",value:function getAllRelatedItemsOfType(modelID,id,propNames){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee18(){var lines,IDs,_i618,rel,isRelated;return _regeneratorRuntime().wrap(function _callee18$(_context21){while(1){switch(_context21.prev=_context21.next){case 0:_context21.next=2;return this.api.GetLineIDsWithType(modelID,propNames.name);case 2:lines=_context21.sent;IDs=[];_i618=0;case 5:if(!(_i618<lines.size())){_context21.next=14;break;}_context21.next=8;return this.api.GetLine(modelID,lines.get(_i618));case 8:rel=_context21.sent;isRelated=Properties.isRelated(id,rel,propNames);if(isRelated)this.getRelated(rel,propNames,IDs);case 11:_i618++;_context21.next=5;break;case 14:return _context21.abrupt("return",IDs);case 15:case"end":return _context21.stop();}}},_callee18,this);}));}},{key:"cleanupTypes",value:function cleanupTypes(){this.types={};}},{key:"getAllTypesOfModel",value:function getAllTypesOfModel(modelID){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee19(){var result,elements,_i619,element,lines,size,i2;return _regeneratorRuntime().wrap(function _callee19$(_context22){while(1){switch(_context22.prev=_context22.next){case 0:result={};elements=Object.keys(IfcElements2).map(function(e){return parseInt(e);});_i619=0;case 3:if(!(_i619<elements.length)){_context22.next=13;break;}element=elements[_i619];_context22.next=7;return this.api.GetLineIDsWithType(modelID,element);case 7:lines=_context22.sent;size=lines.size();for(i2=0;i2<size;i2++){result[lines.get(i2)]=element;}case 10:_i619++;_context22.next=3;break;case 13:this.types=result;case 14:case"end":return _context22.stop();}}},_callee19,this);}));}}],[{key:"isRelated",value:function isRelated(id,rel,propNames){var relatedItems=rel[propNames.related];if(Array.isArray(relatedItems)){var values=relatedItems.map(function(item){return item.value;});return values.includes(id);}return relatedItems.value===id;}},{key:"newIfcProject",value:function newIfcProject(id){return{expressID:id,type:"IFCPROJECT",children:[]};}}]);return Properties;}();// dist/web-ifc-api.ts
|
|
29324
|
-
var WebIFCWasm;if(typeof self!=="undefined"&&self.crossOriginIsolated){WebIFCWasm=require_web_ifc_mt();}else{WebIFCWasm=require_web_ifc();}var IfcAPI2=/*#__PURE__*/function(){function IfcAPI2(){_classCallCheck(this,IfcAPI2);this.wasmModule=void 0;this.fs=void 0;this.wasmPath="";this.isWasmPathAbsolute=false;this.ifcGuidMap=new Map();this.properties=new Properties(this);}_createClass(IfcAPI2,[{key:"Init",value:function Init(customLocateFileHandler){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee20(){var _this147=this;var locateFileHandler;return _regeneratorRuntime().wrap(function _callee20$(_context23){while(1){switch(_context23.prev=_context23.next){case 0:if(!WebIFCWasm){_context23.next=8;break;}locateFileHandler=function locateFileHandler(path,prefix){if(path.endsWith(".wasm")){if(_this147.isWasmPathAbsolute){return _this147.wasmPath+path;}return prefix+_this147.wasmPath+path;}return prefix+path;};_context23.next=4;return WebIFCWasm({noInitialRun:true,locateFile:customLocateFileHandler||locateFileHandler});case 4:this.wasmModule=_context23.sent;this.fs=this.wasmModule.FS;_context23.next=9;break;case 8:console.error("Could not find wasm module at './web-ifc' from web-ifc-api.ts");case 9:case"end":return _context23.stop();}}},_callee20,this);}));}},{key:"OpenModel",value:function OpenModel(data,settings){var _this148=this;var s=__spreadValues({COORDINATE_TO_ORIGIN:false,USE_FAST_BOOLS:false,CIRCLE_SEGMENTS_LOW:5,CIRCLE_SEGMENTS_MEDIUM:8,CIRCLE_SEGMENTS_HIGH:12,BOOL_ABORT_THRESHOLD:1e4},settings);var offsetInSrc=0;var result=this.wasmModule.OpenModel(s,function(destPtr,destSize){var srcSize=Math.min(data.byteLength-offsetInSrc,destSize);var dest=_this148.wasmModule.HEAPU8.subarray(destPtr,destPtr+destSize);var src=data.subarray(offsetInSrc,offsetInSrc+srcSize);dest.set(src);offsetInSrc+=srcSize;return srcSize;});return result;}},{key:"CreateModel",value:function CreateModel(settings){var s=__spreadValues({COORDINATE_TO_ORIGIN:false,USE_FAST_BOOLS:false,CIRCLE_SEGMENTS_LOW:5,CIRCLE_SEGMENTS_MEDIUM:8,CIRCLE_SEGMENTS_HIGH:12,BOOL_ABORT_THRESHOLD:1e4},settings);var result=this.wasmModule.CreateModel(s);return result;}},{key:"ExportFileAsIFC",value:function ExportFileAsIFC(modelID){this.wasmModule.ExportFileAsIFC(modelID);var result=this.fs.readFile("/export.ifc");this.wasmModule["FS_unlink"]("/export.ifc");return result;}},{key:"GetGeometry",value:function GetGeometry(modelID,geometryExpressID){return this.wasmModule.GetGeometry(modelID,geometryExpressID);}},{key:"GetLine",value:function GetLine(modelID,expressID){var flatten=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var rawLineData=this.GetRawLineData(modelID,expressID);var lineData=FromRawLineData[rawLineData.type](rawLineData);if(flatten){this.FlattenLine(modelID,lineData);}return lineData;}},{key:"GetAndClearErrors",value:function GetAndClearErrors(modelID){return this.wasmModule.GetAndClearErrors(modelID);}},{key:"WriteLine",value:function WriteLine(modelID,lineObject){var _this149=this;Object.keys(lineObject).forEach(function(propertyName){var property=lineObject[propertyName];if(property&&property.expressID!==void 0){_this149.WriteLine(modelID,property);lineObject[propertyName]={type:5,value:property.expressID};}else if(Array.isArray(property)&&property.length>0){for(var
|
|
29323
|
+
var PropsNames={aggregates:{name:IFCRELAGGREGATES,relating:"RelatingObject",related:"RelatedObjects",key:"children"},spatial:{name:IFCRELCONTAINEDINSPATIALSTRUCTURE,relating:"RelatingStructure",related:"RelatedElements",key:"children"},psets:{name:IFCRELDEFINESBYPROPERTIES,relating:"RelatingPropertyDefinition",related:"RelatedObjects",key:"hasPsets"},materials:{name:IFCRELASSOCIATESMATERIAL,relating:"RelatingMaterial",related:"RelatedObjects",key:"hasMaterial"},type:{name:IFCRELDEFINESBYTYPE,relating:"RelatingType",related:"RelatedObjects",key:"hasType"}};var Properties=/*#__PURE__*/function(){function Properties(api){_classCallCheck(this,Properties);this.api=api;}_createClass(Properties,[{key:"getIfcType",value:function getIfcType(type){return IfcTypesMap[type];}},{key:"getItemProperties",value:function getItemProperties(modelID,id){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){return _regeneratorRuntime().wrap(function _callee7$(_context10){while(1){switch(_context10.prev=_context10.next){case 0:return _context10.abrupt("return",this.api.GetLine(modelID,id,recursive));case 1:case"end":return _context10.stop();}}},_callee7,this);}));}},{key:"getPropertySets",value:function getPropertySets(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){return _regeneratorRuntime().wrap(function _callee8$(_context11){while(1){switch(_context11.prev=_context11.next){case 0:_context11.next=2;return this.getProperty(modelID,elementID,recursive,PropsNames.psets);case 2:return _context11.abrupt("return",_context11.sent);case 3:case"end":return _context11.stop();}}},_callee8,this);}));}},{key:"getTypeProperties",value:function getTypeProperties(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(){return _regeneratorRuntime().wrap(function _callee9$(_context12){while(1){switch(_context12.prev=_context12.next){case 0:_context12.next=2;return this.getProperty(modelID,elementID,recursive,PropsNames.type);case 2:return _context12.abrupt("return",_context12.sent);case 3:case"end":return _context12.stop();}}},_callee9,this);}));}},{key:"getMaterialsProperties",value:function getMaterialsProperties(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(){return _regeneratorRuntime().wrap(function _callee10$(_context13){while(1){switch(_context13.prev=_context13.next){case 0:_context13.next=2;return this.getProperty(modelID,elementID,recursive,PropsNames.materials);case 2:return _context13.abrupt("return",_context13.sent);case 3:case"end":return _context13.stop();}}},_callee10,this);}));}},{key:"getSpatialStructure",value:function getSpatialStructure(modelID,includeProperties){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(){var chunks,allLines,projectID,project;return _regeneratorRuntime().wrap(function _callee11$(_context14){while(1){switch(_context14.prev=_context14.next){case 0:_context14.next=2;return this.getAllTypesOfModel(modelID);case 2:_context14.next=4;return this.getSpatialTreeChunks(modelID);case 4:chunks=_context14.sent;_context14.next=7;return this.api.GetLineIDsWithType(modelID,IFCPROJECT);case 7:allLines=_context14.sent;projectID=allLines.get(0);project=Properties.newIfcProject(projectID);_context14.next=12;return this.getSpatialNode(modelID,project,chunks,includeProperties);case 12:this.cleanupTypes();return _context14.abrupt("return",project);case 14:case"end":return _context14.stop();}}},_callee11,this);}));}},{key:"getAllItemsOfType",value:function getAllItemsOfType(modelID,type,verbose){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(){var items,lines,_i611,result,_i612;return _regeneratorRuntime().wrap(function _callee12$(_context15){while(1){switch(_context15.prev=_context15.next){case 0:items=[];_context15.next=3;return this.api.GetLineIDsWithType(modelID,type);case 3:lines=_context15.sent;for(_i611=0;_i611<lines.size();_i611++){items.push(lines.get(_i611));}if(verbose){_context15.next=7;break;}return _context15.abrupt("return",items);case 7:result=[];_i612=0;case 9:if(!(_i612<items.length)){_context15.next=18;break;}_context15.t0=result;_context15.next=13;return this.api.GetLine(modelID,items[_i612]);case 13:_context15.t1=_context15.sent;_context15.t0.push.call(_context15.t0,_context15.t1);case 15:_i612++;_context15.next=9;break;case 18:return _context15.abrupt("return",result);case 19:case"end":return _context15.stop();}}},_callee12,this);}));}},{key:"getProperty",value:function getProperty(modelID,elementID){var recursive=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var propName=arguments.length>3?arguments[3]:undefined;return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(){var propSetIds,result,_i613;return _regeneratorRuntime().wrap(function _callee13$(_context16){while(1){switch(_context16.prev=_context16.next){case 0:_context16.next=2;return this.getAllRelatedItemsOfType(modelID,elementID,propName);case 2:propSetIds=_context16.sent;result=[];_i613=0;case 5:if(!(_i613<propSetIds.length)){_context16.next=14;break;}_context16.t0=result;_context16.next=9;return this.api.GetLine(modelID,propSetIds[_i613],recursive);case 9:_context16.t1=_context16.sent;_context16.t0.push.call(_context16.t0,_context16.t1);case 11:_i613++;_context16.next=5;break;case 14:return _context16.abrupt("return",result);case 15:case"end":return _context16.stop();}}},_callee13,this);}));}},{key:"getChunks",value:function getChunks(modelID,chunks,propNames){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(){var relation,_i614,rel;return _regeneratorRuntime().wrap(function _callee14$(_context17){while(1){switch(_context17.prev=_context17.next){case 0:_context17.next=2;return this.api.GetLineIDsWithType(modelID,propNames.name);case 2:relation=_context17.sent;_i614=0;case 4:if(!(_i614<relation.size())){_context17.next=12;break;}_context17.next=7;return this.api.GetLine(modelID,relation.get(_i614),false);case 7:rel=_context17.sent;this.saveChunk(chunks,propNames,rel);case 9:_i614++;_context17.next=4;break;case 12:case"end":return _context17.stop();}}},_callee14,this);}));}},{key:"getSpatialNode",value:function getSpatialNode(modelID,node,treeChunks,includeProperties){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(){return _regeneratorRuntime().wrap(function _callee15$(_context18){while(1){switch(_context18.prev=_context18.next){case 0:_context18.next=2;return this.getChildren(modelID,node,treeChunks,PropsNames.aggregates,includeProperties);case 2:_context18.next=4;return this.getChildren(modelID,node,treeChunks,PropsNames.spatial,includeProperties);case 4:case"end":return _context18.stop();}}},_callee15,this);}));}},{key:"getChildren",value:function getChildren(modelID,node,treeChunks,propNames,includeProperties){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee16(){var children,prop,nodes,_i615,child,node2,properties;return _regeneratorRuntime().wrap(function _callee16$(_context19){while(1){switch(_context19.prev=_context19.next){case 0:children=treeChunks[node.expressID];if(!(children==void 0)){_context19.next=3;break;}return _context19.abrupt("return");case 3:prop=propNames.key;nodes=[];_i615=0;case 6:if(!(_i615<children.length)){_context19.next=20;break;}child=children[_i615];node2=this.newNode(child);if(!includeProperties){_context19.next=14;break;}_context19.next=12;return this.getItemProperties(modelID,node2.expressID);case 12:properties=_context19.sent;node2=__spreadValues(__spreadValues({},properties),node2);case 14:_context19.next=16;return this.getSpatialNode(modelID,node2,treeChunks,includeProperties);case 16:nodes.push(node2);case 17:_i615++;_context19.next=6;break;case 20:node[prop]=nodes;case 21:case"end":return _context19.stop();}}},_callee16,this);}));}},{key:"newNode",value:function newNode(id){var typeName=this.getNodeType(id);return{expressID:id,type:typeName,children:[]};}},{key:"getNodeType",value:function getNodeType(id){var typeID=this.types[id];return IfcElements2[typeID];}},{key:"getSpatialTreeChunks",value:function getSpatialTreeChunks(modelID){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee17(){var treeChunks;return _regeneratorRuntime().wrap(function _callee17$(_context20){while(1){switch(_context20.prev=_context20.next){case 0:treeChunks={};_context20.next=3;return this.getChunks(modelID,treeChunks,PropsNames.aggregates);case 3:_context20.next=5;return this.getChunks(modelID,treeChunks,PropsNames.spatial);case 5:return _context20.abrupt("return",treeChunks);case 6:case"end":return _context20.stop();}}},_callee17,this);}));}},{key:"saveChunk",value:function saveChunk(chunks,propNames,rel){var relating=rel[propNames.relating].value;var related=rel[propNames.related].map(function(r){return r.value;});if(chunks[relating]==void 0){chunks[relating]=related;}else{chunks[relating]=chunks[relating].concat(related);}}},{key:"getRelated",value:function getRelated(rel,propNames,IDs){var element=rel[propNames.relating];if(!Array.isArray(element))IDs.push(element.value);else element.forEach(function(ele){return IDs.push(ele.value);});}},{key:"getAllRelatedItemsOfType",value:function getAllRelatedItemsOfType(modelID,id,propNames){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee18(){var lines,IDs,_i616,rel,isRelated;return _regeneratorRuntime().wrap(function _callee18$(_context21){while(1){switch(_context21.prev=_context21.next){case 0:_context21.next=2;return this.api.GetLineIDsWithType(modelID,propNames.name);case 2:lines=_context21.sent;IDs=[];_i616=0;case 5:if(!(_i616<lines.size())){_context21.next=14;break;}_context21.next=8;return this.api.GetLine(modelID,lines.get(_i616));case 8:rel=_context21.sent;isRelated=Properties.isRelated(id,rel,propNames);if(isRelated)this.getRelated(rel,propNames,IDs);case 11:_i616++;_context21.next=5;break;case 14:return _context21.abrupt("return",IDs);case 15:case"end":return _context21.stop();}}},_callee18,this);}));}},{key:"cleanupTypes",value:function cleanupTypes(){this.types={};}},{key:"getAllTypesOfModel",value:function getAllTypesOfModel(modelID){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee19(){var result,elements,_i617,element,lines,size,i2;return _regeneratorRuntime().wrap(function _callee19$(_context22){while(1){switch(_context22.prev=_context22.next){case 0:result={};elements=Object.keys(IfcElements2).map(function(e){return parseInt(e);});_i617=0;case 3:if(!(_i617<elements.length)){_context22.next=13;break;}element=elements[_i617];_context22.next=7;return this.api.GetLineIDsWithType(modelID,element);case 7:lines=_context22.sent;size=lines.size();for(i2=0;i2<size;i2++){result[lines.get(i2)]=element;}case 10:_i617++;_context22.next=3;break;case 13:this.types=result;case 14:case"end":return _context22.stop();}}},_callee19,this);}));}}],[{key:"isRelated",value:function isRelated(id,rel,propNames){var relatedItems=rel[propNames.related];if(Array.isArray(relatedItems)){var values=relatedItems.map(function(item){return item.value;});return values.includes(id);}return relatedItems.value===id;}},{key:"newIfcProject",value:function newIfcProject(id){return{expressID:id,type:"IFCPROJECT",children:[]};}}]);return Properties;}();// dist/web-ifc-api.ts
|
|
29324
|
+
var WebIFCWasm;if(typeof self!=="undefined"&&self.crossOriginIsolated){WebIFCWasm=require_web_ifc_mt();}else{WebIFCWasm=require_web_ifc();}var IfcAPI2=/*#__PURE__*/function(){function IfcAPI2(){_classCallCheck(this,IfcAPI2);this.wasmModule=void 0;this.fs=void 0;this.wasmPath="";this.isWasmPathAbsolute=false;this.ifcGuidMap=new Map();this.properties=new Properties(this);}_createClass(IfcAPI2,[{key:"Init",value:function Init(customLocateFileHandler){return __async(this,null,/*#__PURE__*/_regeneratorRuntime().mark(function _callee20(){var _this147=this;var locateFileHandler;return _regeneratorRuntime().wrap(function _callee20$(_context23){while(1){switch(_context23.prev=_context23.next){case 0:if(!WebIFCWasm){_context23.next=8;break;}locateFileHandler=function locateFileHandler(path,prefix){if(path.endsWith(".wasm")){if(_this147.isWasmPathAbsolute){return _this147.wasmPath+path;}return prefix+_this147.wasmPath+path;}return prefix+path;};_context23.next=4;return WebIFCWasm({noInitialRun:true,locateFile:customLocateFileHandler||locateFileHandler});case 4:this.wasmModule=_context23.sent;this.fs=this.wasmModule.FS;_context23.next=9;break;case 8:console.error("Could not find wasm module at './web-ifc' from web-ifc-api.ts");case 9:case"end":return _context23.stop();}}},_callee20,this);}));}},{key:"OpenModel",value:function OpenModel(data,settings){var _this148=this;var s=__spreadValues({COORDINATE_TO_ORIGIN:false,USE_FAST_BOOLS:false,CIRCLE_SEGMENTS_LOW:5,CIRCLE_SEGMENTS_MEDIUM:8,CIRCLE_SEGMENTS_HIGH:12,BOOL_ABORT_THRESHOLD:1e4},settings);var offsetInSrc=0;var result=this.wasmModule.OpenModel(s,function(destPtr,destSize){var srcSize=Math.min(data.byteLength-offsetInSrc,destSize);var dest=_this148.wasmModule.HEAPU8.subarray(destPtr,destPtr+destSize);var src=data.subarray(offsetInSrc,offsetInSrc+srcSize);dest.set(src);offsetInSrc+=srcSize;return srcSize;});return result;}},{key:"CreateModel",value:function CreateModel(settings){var s=__spreadValues({COORDINATE_TO_ORIGIN:false,USE_FAST_BOOLS:false,CIRCLE_SEGMENTS_LOW:5,CIRCLE_SEGMENTS_MEDIUM:8,CIRCLE_SEGMENTS_HIGH:12,BOOL_ABORT_THRESHOLD:1e4},settings);var result=this.wasmModule.CreateModel(s);return result;}},{key:"ExportFileAsIFC",value:function ExportFileAsIFC(modelID){this.wasmModule.ExportFileAsIFC(modelID);var result=this.fs.readFile("/export.ifc");this.wasmModule["FS_unlink"]("/export.ifc");return result;}},{key:"GetGeometry",value:function GetGeometry(modelID,geometryExpressID){return this.wasmModule.GetGeometry(modelID,geometryExpressID);}},{key:"GetLine",value:function GetLine(modelID,expressID){var flatten=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var rawLineData=this.GetRawLineData(modelID,expressID);var lineData=FromRawLineData[rawLineData.type](rawLineData);if(flatten){this.FlattenLine(modelID,lineData);}return lineData;}},{key:"GetAndClearErrors",value:function GetAndClearErrors(modelID){return this.wasmModule.GetAndClearErrors(modelID);}},{key:"WriteLine",value:function WriteLine(modelID,lineObject){var _this149=this;Object.keys(lineObject).forEach(function(propertyName){var property=lineObject[propertyName];if(property&&property.expressID!==void 0){_this149.WriteLine(modelID,property);lineObject[propertyName]={type:5,value:property.expressID};}else if(Array.isArray(property)&&property.length>0){for(var _i618=0;_i618<property.length;_i618++){if(property[_i618].expressID!==void 0){_this149.WriteLine(modelID,property[_i618]);lineObject[propertyName][_i618]={type:5,value:property[_i618].expressID};}}}});var rawLineData={ID:lineObject.expressID,type:lineObject.type,arguments:lineObject.ToTape()};this.WriteRawLineData(modelID,rawLineData);}},{key:"FlattenLine",value:function FlattenLine(modelID,line){var _this150=this;Object.keys(line).forEach(function(propertyName){var property=line[propertyName];if(property&&property.type===5){line[propertyName]=_this150.GetLine(modelID,property.value,true);}else if(Array.isArray(property)&&property.length>0&&property[0].type===5){for(var _i619=0;_i619<property.length;_i619++){line[propertyName][_i619]=_this150.GetLine(modelID,property[_i619].value,true);}}});}},{key:"GetRawLineData",value:function GetRawLineData(modelID,expressID){return this.wasmModule.GetLine(modelID,expressID);}},{key:"WriteRawLineData",value:function WriteRawLineData(modelID,data){return this.wasmModule.WriteLine(modelID,data.ID,data.type,data.arguments);}},{key:"GetLineIDsWithType",value:function GetLineIDsWithType(modelID,type){return this.wasmModule.GetLineIDsWithType(modelID,type);}},{key:"GetAllLines",value:function GetAllLines(modelID){return this.wasmModule.GetAllLines(modelID);}},{key:"SetGeometryTransformation",value:function SetGeometryTransformation(modelID,transformationMatrix){if(transformationMatrix.length!=16){console.log("Bad transformation matrix size: ".concat(transformationMatrix.length));return;}this.wasmModule.SetGeometryTransformation(modelID,transformationMatrix);}},{key:"GetCoordinationMatrix",value:function GetCoordinationMatrix(modelID){return this.wasmModule.GetCoordinationMatrix(modelID);}},{key:"GetVertexArray",value:function GetVertexArray(ptr,size){return this.getSubArray(this.wasmModule.HEAPF32,ptr,size);}},{key:"GetIndexArray",value:function GetIndexArray(ptr,size){return this.getSubArray(this.wasmModule.HEAPU32,ptr,size);}},{key:"getSubArray",value:function getSubArray(heap,startPtr,sizeBytes){return heap.subarray(startPtr/4,startPtr/4+sizeBytes).slice(0);}},{key:"CloseModel",value:function CloseModel(modelID){this.ifcGuidMap["delete"](modelID);this.wasmModule.CloseModel(modelID);}},{key:"StreamAllMeshes",value:function StreamAllMeshes(modelID,meshCallback){this.wasmModule.StreamAllMeshes(modelID,meshCallback);}},{key:"StreamAllMeshesWithTypes",value:function StreamAllMeshesWithTypes(modelID,types,meshCallback){this.wasmModule.StreamAllMeshesWithTypes(modelID,types,meshCallback);}},{key:"IsModelOpen",value:function IsModelOpen(modelID){return this.wasmModule.IsModelOpen(modelID);}},{key:"LoadAllGeometry",value:function LoadAllGeometry(modelID){return this.wasmModule.LoadAllGeometry(modelID);}},{key:"GetFlatMesh",value:function GetFlatMesh(modelID,expressID){return this.wasmModule.GetFlatMesh(modelID,expressID);}},{key:"CreateIfcGuidToExpressIdMapping",value:function CreateIfcGuidToExpressIdMapping(modelID){var map=new Map();for(var x=0;x<IfcElements.length;x++){var type=IfcElements[x];var lines=this.GetLineIDsWithType(modelID,type);var size=lines.size();for(var y=0;y<size;y++){var expressID=lines.get(y);var info=this.GetLine(modelID,expressID);var globalID=info.GlobalId.value;map.set(expressID,globalID);map.set(globalID,expressID);}}this.ifcGuidMap.set(modelID,map);}},{key:"SetWasmPath",value:function SetWasmPath(path){var absolute=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;this.wasmPath=path;this.isWasmPathAbsolute=absolute;}}]);return IfcAPI2;}();/**
|
|
29325
29325
|
* Default data access strategy for {@link WebIFCLoaderPlugin}.
|
|
29326
29326
|
*/var WebIFCDefaultDataSource=/*#__PURE__*/function(){function WebIFCDefaultDataSource(){_classCallCheck(this,WebIFCDefaultDataSource);}/**
|
|
29327
29327
|
* Gets the contents of the given IFC file in an arraybuffer.
|
|
@@ -29800,9 +29800,9 @@ var isBase64=!!dataUriRegexResult[2];var data=dataUriRegexResult[3];data=window.
|
|
|
29800
29800
|
* @param {Object} [params.stats] Collects model statistics.
|
|
29801
29801
|
* @returns {Entity} Entity representing the model, which will have {@link Entity#isModel} set ````true```` and will be registered by {@link Entity#id} in {@link Scene#models}.
|
|
29802
29802
|
*/},{key:"load",value:function load(){var _this152=this;var params=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(params.id&&this.viewer.scene.components[params.id]){this.error("Component with this ID already exists in viewer: "+params.id+" - will autogenerate this ID");delete params.id;}var sceneModel=new VBOSceneModel(this.viewer.scene,utils.apply(params,{isModel:true}));if(!params.src&&!params.ifc){this.error("load() param expected: src or IFC");return sceneModel;// Return new empty model
|
|
29803
|
-
}var options={autoNormals:true};if(params.loadMetadata!==false){var includeTypes=params.includeTypes||this._includeTypes;var excludeTypes=params.excludeTypes||this._excludeTypes;var objectDefaults=params.objectDefaults||this._objectDefaults;if(includeTypes){options.includeTypesMap={};for(var
|
|
29803
|
+
}var options={autoNormals:true};if(params.loadMetadata!==false){var includeTypes=params.includeTypes||this._includeTypes;var excludeTypes=params.excludeTypes||this._excludeTypes;var objectDefaults=params.objectDefaults||this._objectDefaults;if(includeTypes){options.includeTypesMap={};for(var _i620=0,len=includeTypes.length;_i620<len;_i620++){options.includeTypesMap[includeTypes[_i620]]=true;}}if(excludeTypes){options.excludeTypesMap={};for(var _i621=0,_len136=excludeTypes.length;_i621<_len136;_i621++){options.excludeTypesMap[excludeTypes[_i621]]=true;}}if(objectDefaults){options.objectDefaults=objectDefaults;}options.excludeUnclassifiedObjects=params.excludeUnclassifiedObjects!==undefined?!!params.excludeUnclassifiedObjects:this._excludeUnclassifiedObjects;options.globalizeObjectIds=params.globalizeObjectIds!==undefined?!!params.globalizeObjectIds:this._globalizeObjectIds;}this.on("initialized",function(){if(params.src){_this152._loadModel(params.src,params,options,sceneModel);}else{_this152._parseModel(params.ifc,params,options,sceneModel);}});return sceneModel;}},{key:"_loadModel",value:function _loadModel(src,params,options,sceneModel){var _this153=this;var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._dataSource.getIFC(params.src,function(arrayBuffer){_this153._parseModel(arrayBuffer,params,options,sceneModel);spinner.processes--;},function(errMsg){spinner.processes--;_this153.error(errMsg);sceneModel.fire("error",errMsg);});}},{key:"_parseModel",value:function _parseModel(arrayBuffer,params,options,sceneModel){if(sceneModel.destroyed){return;}var stats=params.stats||{};stats.sourceFormat="IFC";stats.schemaVersion="";stats.title="";stats.author="";stats.created="";stats.numMetaObjects=0;stats.numPropertySets=0;stats.numObjects=0;stats.numGeometries=0;stats.numTriangles=0;stats.numVertices=0;if(options.wasmPath){this._ifcAPI.SetWasmPath(options.wasmPath);}var dataArray=new Uint8Array(arrayBuffer);var modelID=this._ifcAPI.OpenModel(dataArray);var lines=this._ifcAPI.GetLineIDsWithType(modelID,IFCPROJECT);var ifcProjectId=lines.get(0);var loadMetadata=params.loadMetadata!==false;var metadata=loadMetadata?{id:"",projectId:""+ifcProjectId,author:"",createdAt:"",schema:"",creatingApplication:"",metaObjects:[],propertySets:[]}:null;var ctx={modelID:modelID,sceneModel:sceneModel,loadMetadata:loadMetadata,metadata:metadata,metaObjects:{},options:options,log:function log(msg){},nextId:0,stats:stats};if(loadMetadata){if(options.includeTypes){ctx.includeTypes={};for(var _i622=0,len=options.includeTypes.length;_i622<len;_i622++){ctx.includeTypes[options.includeTypes[_i622]]=true;}}if(options.excludeTypes){ctx.excludeTypes={};for(var _i623=0,_len137=options.excludeTypes.length;_i623<_len137;_i623++){ctx.excludeTypes[options.excludeTypes[_i623]]=true;}}this._parseMetaObjects(ctx);this._parsePropertySets(ctx);}this._parseGeometry(ctx);sceneModel.finalize();if(loadMetadata){var metaModelId=sceneModel.id;this.viewer.metaScene.createMetaModel(metaModelId,ctx.metadata,options);}sceneModel.scene.once("tick",function(){if(sceneModel.destroyed){return;}sceneModel.scene.fire("modelLoaded",sceneModel.id);// FIXME: Assumes listeners know order of these two events
|
|
29804
29804
|
sceneModel.fire("loaded",true,false);// Don't forget the event, for late subscribers
|
|
29805
|
-
});}},{key:"_parseMetaObjects",value:function _parseMetaObjects(ctx){var lines=this._ifcAPI.GetLineIDsWithType(ctx.modelID,IFCPROJECT);var ifcProjectId=lines.get(0);var ifcProject=this._ifcAPI.GetLine(ctx.modelID,ifcProjectId);this._parseSpatialChildren(ctx,ifcProject);}},{key:"_parseSpatialChildren",value:function _parseSpatialChildren(ctx,ifcElement,parentMetaObjectId){var metaObjectType=ifcElement.__proto__.constructor.name;if(ctx.includeTypes&&!ctx.includeTypes[metaObjectType]){return;}if(ctx.excludeTypes&&ctx.excludeTypes[metaObjectType]){return;}this._createMetaObject(ctx,ifcElement,parentMetaObjectId);var metaObjectId=ifcElement.GlobalId.value;this._parseRelatedItemsOfType(ctx,ifcElement.expressID,'RelatingObject','RelatedObjects',IFCRELAGGREGATES,metaObjectId);this._parseRelatedItemsOfType(ctx,ifcElement.expressID,'RelatingStructure','RelatedElements',IFCRELCONTAINEDINSPATIALSTRUCTURE,metaObjectId);}},{key:"_createMetaObject",value:function _createMetaObject(ctx,ifcElement,parentMetaObjectId){var id=ifcElement.GlobalId.value;var metaObjectType=ifcElement.__proto__.constructor.name;var metaObjectName=ifcElement.Name&&ifcElement.Name.value!==""?ifcElement.Name.value:metaObjectType;var metaObject={id:id,name:metaObjectType,type:metaObjectName,parent:parentMetaObjectId};ctx.metadata.metaObjects.push(metaObject);ctx.metaObjects[id]=metaObject;ctx.stats.numMetaObjects++;}},{key:"_parseRelatedItemsOfType",value:function _parseRelatedItemsOfType(ctx,id,relation,related,type,parentMetaObjectId){var _this154=this;var lines=this._ifcAPI.GetLineIDsWithType(ctx.modelID,type);for(var
|
|
29805
|
+
});}},{key:"_parseMetaObjects",value:function _parseMetaObjects(ctx){var lines=this._ifcAPI.GetLineIDsWithType(ctx.modelID,IFCPROJECT);var ifcProjectId=lines.get(0);var ifcProject=this._ifcAPI.GetLine(ctx.modelID,ifcProjectId);this._parseSpatialChildren(ctx,ifcProject);}},{key:"_parseSpatialChildren",value:function _parseSpatialChildren(ctx,ifcElement,parentMetaObjectId){var metaObjectType=ifcElement.__proto__.constructor.name;if(ctx.includeTypes&&!ctx.includeTypes[metaObjectType]){return;}if(ctx.excludeTypes&&ctx.excludeTypes[metaObjectType]){return;}this._createMetaObject(ctx,ifcElement,parentMetaObjectId);var metaObjectId=ifcElement.GlobalId.value;this._parseRelatedItemsOfType(ctx,ifcElement.expressID,'RelatingObject','RelatedObjects',IFCRELAGGREGATES,metaObjectId);this._parseRelatedItemsOfType(ctx,ifcElement.expressID,'RelatingStructure','RelatedElements',IFCRELCONTAINEDINSPATIALSTRUCTURE,metaObjectId);}},{key:"_createMetaObject",value:function _createMetaObject(ctx,ifcElement,parentMetaObjectId){var id=ifcElement.GlobalId.value;var metaObjectType=ifcElement.__proto__.constructor.name;var metaObjectName=ifcElement.Name&&ifcElement.Name.value!==""?ifcElement.Name.value:metaObjectType;var metaObject={id:id,name:metaObjectType,type:metaObjectName,parent:parentMetaObjectId};ctx.metadata.metaObjects.push(metaObject);ctx.metaObjects[id]=metaObject;ctx.stats.numMetaObjects++;}},{key:"_parseRelatedItemsOfType",value:function _parseRelatedItemsOfType(ctx,id,relation,related,type,parentMetaObjectId){var _this154=this;var lines=this._ifcAPI.GetLineIDsWithType(ctx.modelID,type);for(var _i624=0;_i624<lines.size();_i624++){var relID=lines.get(_i624);var rel=this._ifcAPI.GetLine(ctx.modelID,relID);var relatedItems=rel[relation];var foundElement=false;if(Array.isArray(relatedItems)){var values=relatedItems.map(function(item){return item.value;});foundElement=values.includes(id);}else{foundElement=relatedItems.value===id;}if(foundElement){var element=rel[related];if(!Array.isArray(element)){var ifcElement=this._ifcAPI.GetLine(ctx.modelID,element.value);this._parseSpatialChildren(ctx,ifcElement,parentMetaObjectId);}else{element.forEach(function(element2){var ifcElement=_this154._ifcAPI.GetLine(ctx.modelID,element2.value);_this154._parseSpatialChildren(ctx,ifcElement,parentMetaObjectId);});}}}}},{key:"_parsePropertySets",value:function _parsePropertySets(ctx){var lines=this._ifcAPI.GetLineIDsWithType(ctx.modelID,IFCRELDEFINESBYPROPERTIES);for(var _i625=0;_i625<lines.size();_i625++){var relID=lines.get(_i625);var rel=this._ifcAPI.GetLine(ctx.modelID,relID,true);if(rel){var relatingPropertyDefinition=rel.RelatingPropertyDefinition;if(!relatingPropertyDefinition){continue;}var propertySetId=relatingPropertyDefinition.GlobalId.value;var props=relatingPropertyDefinition.HasProperties;if(props&&props.length>0){var propertySetType="Default";var propertySetName=relatingPropertyDefinition.Name.value;var properties=[];for(var _i626=0,len=props.length;_i626<len;_i626++){var prop=props[_i626];var _name9=prop.Name;var nominalValue=prop.NominalValue;if(_name9&&nominalValue){var property={name:_name9.value,type:nominalValue.type,value:nominalValue.value,valueType:nominalValue.valueType};if(prop.Description){property.description=prop.Description.value;}else if(nominalValue.description){property.description=nominalValue.description;}properties.push(property);}}var propertySet={id:propertySetId,type:propertySetType,name:propertySetName,properties:properties};ctx.metadata.propertySets.push(propertySet);ctx.stats.numPropertySets++;var relatedObjects=rel.RelatedObjects;if(!relatedObjects||relatedObjects.length===0){return;}for(var _i627=0,_len138=relatedObjects.length;_i627<_len138;_i627++){var relatedObject=relatedObjects[_i627];var metaObjectId=relatedObject.GlobalId.value;var metaObject=ctx.metaObjects[metaObjectId];if(metaObject){if(!metaObject.propertySetIds){metaObject.propertySetIds=[];}metaObject.propertySetIds.push(propertySetId);}}}}}}},{key:"_parseGeometry",value:function _parseGeometry(ctx){var _this155=this;this._ifcAPI.StreamAllMeshes(ctx.modelID,function(flatMesh){// TODO: Can we do geometry reuse with web-ifc?
|
|
29806
29806
|
var flatMeshExpressID=flatMesh.expressID;var placedGeometries=flatMesh.geometries;var meshIds=[];var properties=_this155._ifcAPI.GetLine(ctx.modelID,flatMeshExpressID);var globalId=properties.GlobalId.value;if(ctx.loadMetadata){var metaObjectId=globalId;var metaObject=ctx.metaObjects[metaObjectId];if(ctx.includeTypes&&(!metaObject||!ctx.includeTypes[metaObject.type])){return;}if(ctx.excludeTypes&&(!metaObject||ctx.excludeTypes[metaObject.type])){return;}}var matrix=math.mat4();var origin=math.vec3();for(var j=0,lenj=placedGeometries.size();j<lenj;j++){var placedGeometry=placedGeometries.get(j);var _geometry3=_this155._ifcAPI.GetGeometry(ctx.modelID,placedGeometry.geometryExpressID);var vertexData=_this155._ifcAPI.GetVertexArray(_geometry3.GetVertexData(),_geometry3.GetVertexDataSize());var indices=_this155._ifcAPI.GetIndexArray(_geometry3.GetIndexData(),_geometry3.GetIndexDataSize());// De-interleave vertex arrays
|
|
29807
29807
|
var _positions13=new Float64Array(vertexData.length/2);var normals=new Float32Array(vertexData.length/2);for(var k=0,_l4=0,lenk=vertexData.length/6;k<lenk;k++,_l4+=3){_positions13[_l4+0]=vertexData[k*6+0];_positions13[_l4+1]=vertexData[k*6+1];_positions13[_l4+2]=vertexData[k*6+2];}matrix.set(placedGeometry.flatTransformation);math.transformPositions3(matrix,_positions13);var rtcNeeded=worldToRTCPositions(_positions13,_positions13,origin);if(!ctx.options.autoNormals){for(var _k=0,_l5=0,_lenk=vertexData.length/6;_k<_lenk;_k++,_l5+=3){normals[_l5+0]=vertexData[_k*6+3];normals[_l5+1]=vertexData[_k*6+4];normals[_l5+2]=vertexData[_k*6+5];}}ctx.stats.numGeometries++;ctx.stats.numVertices+=_positions13.length/3;ctx.stats.numTriangles+=indices.length/3;var meshId="mesh"+ctx.nextId++;ctx.sceneModel.createMesh({id:meshId,primitive:"triangles",// TODO
|
|
29808
29808
|
origin:rtcNeeded?origin:null,positions:_positions13,normals:ctx.options.autoNormals?null:normals,indices:indices,color:[placedGeometry.color.x,placedGeometry.color.y,placedGeometry.color.z],opacity:placedGeometry.color.w});meshIds.push(meshId);}var entityId=ctx.options.globalizeObjectIds?math.globalizeObjectId(ctx.sceneModel.id,globalId):globalId;ctx.sceneModel.createEntity({id:entityId,meshIds:meshIds,isObject:true});ctx.stats.numObjects++;});}}]);return WebIFCLoaderPlugin;}(Plugin);/**
|
|
@@ -30028,7 +30028,7 @@ var isBase64=!!dataUriRegexResult[2];var data=dataUriRegexResult[3];data=window.
|
|
|
30028
30028
|
* @param {Object} [params.stats] Collects model statistics.
|
|
30029
30029
|
* @returns {Entity} Entity representing the model, which will have {@link Entity#isModel} set ````true```` and will be registered by {@link Entity#id} in {@link Scene#models}.
|
|
30030
30030
|
*/},{key:"load",value:function load(){var _this157=this;var params=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(params.id&&this.viewer.scene.components[params.id]){this.error("Component with this ID already exists in viewer: "+params.id+" - will autogenerate this ID");delete params.id;}var sceneModel=new VBOSceneModel(this.viewer.scene,utils.apply(params,{isModel:true}));if(!params.src&&!params.las){this.error("load() param expected: src or las");return sceneModel;// Return new empty model
|
|
30031
|
-
}var options={las:{skip:this._skip,fp64:this._fp64,colorDepth:this._colorDepth}};if(params.src){this._loadModel(params.src,params,options,sceneModel);}else{var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._parseModel(params.las,params,options,sceneModel).then(function(){spinner.processes--;},function(errMsg){spinner.processes--;_this157.error(errMsg);sceneModel.fire("error",errMsg);});}return sceneModel;}},{key:"_loadModel",value:function _loadModel(src,params,options,sceneModel){var _this158=this;var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._dataSource.getLAS(params.src,function(arrayBuffer){_this158._parseModel(arrayBuffer,params,options,sceneModel).then(function(){spinner.processes--;},function(errMsg){spinner.processes--;_this158.error(errMsg);sceneModel.fire("error",errMsg);});},function(errMsg){spinner.processes--;_this158.error(errMsg);sceneModel.fire("error",errMsg);});}},{key:"_parseModel",value:function _parseModel(arrayBuffer,params,options,sceneModel){var _this159=this;function readPositions(attributesPosition){var positionsValue=attributesPosition.value;if(params.rotateX){if(positionsValue){for(var
|
|
30031
|
+
}var options={las:{skip:this._skip,fp64:this._fp64,colorDepth:this._colorDepth}};if(params.src){this._loadModel(params.src,params,options,sceneModel);}else{var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._parseModel(params.las,params,options,sceneModel).then(function(){spinner.processes--;},function(errMsg){spinner.processes--;_this157.error(errMsg);sceneModel.fire("error",errMsg);});}return sceneModel;}},{key:"_loadModel",value:function _loadModel(src,params,options,sceneModel){var _this158=this;var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._dataSource.getLAS(params.src,function(arrayBuffer){_this158._parseModel(arrayBuffer,params,options,sceneModel).then(function(){spinner.processes--;},function(errMsg){spinner.processes--;_this158.error(errMsg);sceneModel.fire("error",errMsg);});},function(errMsg){spinner.processes--;_this158.error(errMsg);sceneModel.fire("error",errMsg);});}},{key:"_parseModel",value:function _parseModel(arrayBuffer,params,options,sceneModel){var _this159=this;function readPositions(attributesPosition){var positionsValue=attributesPosition.value;if(params.rotateX){if(positionsValue){for(var _i628=0,len=positionsValue.length;_i628<len;_i628+=3){var temp=positionsValue[_i628+1];positionsValue[_i628+1]=positionsValue[_i628+2];positionsValue[_i628+2]=temp;}}}return positionsValue;}function readColorsAndIntensities(attributesColor,attributesIntensity){var colors=attributesColor.value;var colorSize=attributesColor.size;var intensities=attributesIntensity.value;var colorsCompressedSize=intensities.length*4;var colorsCompressed=new Uint8Array(colorsCompressedSize);for(var _i629=0,j=0,k=0,len=intensities.length;_i629<len;_i629++,k+=colorSize,j+=4){colorsCompressed[j+0]=colors[k+0];colorsCompressed[j+1]=colors[k+1];colorsCompressed[j+2]=colors[k+2];colorsCompressed[j+3]=Math.round(intensities[_i629]/65536*255);}return colorsCompressed;}function readIntensities(attributesIntensity){var intensities=attributesIntensity.intensity;var colorsCompressedSize=intensities.length*4;var colorsCompressed=new Uint8Array(colorsCompressedSize);for(var _i630=0,j=0,len=intensities.length;_i630<len;_i630++,j+=4){colorsCompressed[j+0]=0;colorsCompressed[j+1]=0;colorsCompressed[j+2]=0;colorsCompressed[j+3]=Math.round(intensities[_i630]/65536*255);}return colorsCompressed;}return new Promise(function(resolve,reject){if(sceneModel.destroyed){reject();return;}var stats=params.stats||{};stats.sourceFormat="LAS";stats.schemaVersion="";stats.title="";stats.author="";stats.created="";stats.numMetaObjects=0;stats.numPropertySets=0;stats.numObjects=0;stats.numGeometries=0;stats.numTriangles=0;stats.numVertices=0;try{parse$3(arrayBuffer,LASLoader,options).then(function(parsedData){var attributes=parsedData.attributes;var loaderData=parsedData.loaderData;var pointsFormatId=loaderData.pointsFormatId!==undefined?loaderData.pointsFormatId:-1;if(!attributes.POSITION){sceneModel.finalize();reject("No positions found in file");return;}var positionsValue;var colorsCompressed;switch(pointsFormatId){case 0:positionsValue=readPositions(attributes.POSITION);colorsCompressed=readIntensities(attributes.intensity);break;case 1:if(!attributes.intensity){sceneModel.finalize();reject("No positions found in file");return;}positionsValue=readPositions(attributes.POSITION);colorsCompressed=readIntensities(attributes.intensity);break;case 2:if(!attributes.intensity){sceneModel.finalize();reject("No positions found in file");return;}positionsValue=readPositions(attributes.POSITION);colorsCompressed=readColorsAndIntensities(attributes.COLOR_0,attributes.intensity);break;case 3:if(!attributes.intensity){sceneModel.finalize();reject("No positions found in file");return;}positionsValue=readPositions(attributes.POSITION);colorsCompressed=readColorsAndIntensities(attributes.COLOR_0,attributes.intensity);break;}sceneModel.createMesh({id:"pointsMesh",primitive:"points",positions:positionsValue,colorsCompressed:colorsCompressed});var pointsObjectId=math.createUUID();sceneModel.createEntity({id:pointsObjectId,meshIds:["pointsMesh"],isObject:true});sceneModel.finalize();if(params.loadMetadata!==false){var rootMetaObjectId=math.createUUID();var metadata={projectId:"",author:"",createdAt:"",schema:"",creatingApplication:"",metaObjects:[{id:rootMetaObjectId,name:"Model",type:"Model"},{id:pointsObjectId,name:"PointCloud (LAS)",type:"PointCloud",parent:rootMetaObjectId}],propertySets:[]};var metaModelId=sceneModel.id;_this159.viewer.metaScene.createMetaModel(metaModelId,metadata,options);}sceneModel.scene.once("tick",function(){if(sceneModel.destroyed){return;}sceneModel.scene.fire("modelLoaded",sceneModel.id);// FIXME: Assumes listeners know order of these two events
|
|
30032
30032
|
sceneModel.fire("loaded",true,false);// Don't forget the event, for late subscribers
|
|
30033
30033
|
});resolve();});}catch(e){sceneModel.finalize();reject(e);}});}}]);return LASLoaderPlugin;}(Plugin);/**
|
|
30034
30034
|
* Default data access strategy for {@link CityJSONLoaderPlugin}.
|
|
@@ -30256,13 +30256,13 @@ earcut.flatten=function(data){var dim=data[0][0].length,result={vertices:[],hole
|
|
|
30256
30256
|
*/},{key:"load",value:function load(){var params=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(params.id&&this.viewer.scene.components[params.id]){this.error("Component with this ID already exists in viewer: "+params.id+" - will autogenerate this ID");delete params.id;}var sceneModel=new VBOSceneModel(this.viewer.scene,utils.apply(params,{isModel:true}));if(!params.src&&!params.cityJSON){this.error("load() param expected: src or cityJSON");return sceneModel;// Return new empty model
|
|
30257
30257
|
}var options={};if(params.src){this._loadModel(params.src,params,options,sceneModel);}else{var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._parseModel(params.cityJSON,params,options,sceneModel);spinner.processes--;}return sceneModel;}},{key:"_loadModel",value:function _loadModel(src,params,options,sceneModel){var _this161=this;var spinner=this.viewer.scene.canvas.spinner;spinner.processes++;this._dataSource.getCityJSON(params.src,function(data){_this161._parseModel(data,params,options,sceneModel);spinner.processes--;},function(errMsg){spinner.processes--;_this161.error(errMsg);sceneModel.fire("error",errMsg);});}},{key:"_parseModel",value:function _parseModel(data,params,options,sceneModel){if(sceneModel.destroyed){return;}var vertices=data.transform?this._transformVertices(data.vertices,data.transform,options.rotateX):data.vertices;var stats=params.stats||{};stats.sourceFormat=data.type||"CityJSON";stats.schemaVersion=data.version||"";stats.title="";stats.author="";stats.created="";stats.numMetaObjects=0;stats.numPropertySets=0;stats.numObjects=0;stats.numGeometries=0;stats.numTriangles=0;stats.numVertices=0;var loadMetadata=params.loadMetadata!==false;var rootMetaObject=loadMetadata?{id:math.createUUID(),name:"Model",type:"Model"}:null;var metadata=loadMetadata?{id:"",projectId:"",author:"",createdAt:"",schema:data.version||"",creatingApplication:"",metaObjects:[rootMetaObject],propertySets:[]}:null;var ctx={data:data,vertices:vertices,sceneModel:sceneModel,loadMetadata:loadMetadata,metadata:metadata,rootMetaObject:rootMetaObject,nextId:0,stats:stats};this._parseCityJSON(ctx);sceneModel.finalize();if(loadMetadata){var metaModelId=sceneModel.id;this.viewer.metaScene.createMetaModel(metaModelId,ctx.metadata,options);}sceneModel.scene.once("tick",function(){if(sceneModel.destroyed){return;}sceneModel.scene.fire("modelLoaded",sceneModel.id);// FIXME: Assumes listeners know order of these two events
|
|
30258
30258
|
sceneModel.fire("loaded",true,false);// Don't forget the event, for late subscribers
|
|
30259
|
-
});}},{key:"_transformVertices",value:function _transformVertices(vertices,transform,rotateX){var transformedVertices=[];var scale=transform.scale||math.vec3([1,1,1]);var translate=transform.translate||math.vec3([0,0,0]);for(var
|
|
30259
|
+
});}},{key:"_transformVertices",value:function _transformVertices(vertices,transform,rotateX){var transformedVertices=[];var scale=transform.scale||math.vec3([1,1,1]);var translate=transform.translate||math.vec3([0,0,0]);for(var _i631=0,j=0;_i631<vertices.length;_i631++,j+=3){var x=vertices[_i631][0]*scale[0]+translate[0];var y=vertices[_i631][1]*scale[1]+translate[1];var z=vertices[_i631][2]*scale[2]+translate[2];if(rotateX){transformedVertices.push([x,z,y]);}else{transformedVertices.push([x,y,z]);}}return transformedVertices;}},{key:"_parseCityJSON",value:function _parseCityJSON(ctx){var data=ctx.data;var cityObjects=data.CityObjects;for(var objectId in cityObjects){if(cityObjects.hasOwnProperty(objectId)){var cityObject=cityObjects[objectId];this._parseCityObject(ctx,cityObject,objectId);}}}},{key:"_parseCityObject",value:function _parseCityObject(ctx,cityObject,objectId){var sceneModel=ctx.sceneModel;var data=ctx.data;if(ctx.loadMetadata){var metaObjectId=objectId;var metaObjectType=cityObject.type;var metaObjectName=metaObjectType+" : "+objectId;var parentMetaObjectId=cityObject.parents?cityObject.parents[0]:ctx.rootMetaObject.id;ctx.metadata.metaObjects.push({id:metaObjectId,name:metaObjectName,type:metaObjectType,parent:parentMetaObjectId});}ctx.stats.numMetaObjects++;if(!(cityObject.geometry&&cityObject.geometry.length>0)){return;}var meshIds=[];for(var _i632=0,len=cityObject.geometry.length;_i632<len;_i632++){var _geometry4=cityObject.geometry[_i632];var objectMaterial=void 0;var surfaceMaterials=void 0;var appearance=data.appearance;if(appearance){var materials=appearance.materials;if(materials){var geometryMaterial=_geometry4.material;if(geometryMaterial){var themeIds=Object.keys(geometryMaterial);if(themeIds.length>0){var themeId=themeIds[0];var theme=geometryMaterial[themeId];if(theme.value!==undefined){objectMaterial=materials[theme.value];}else{var values=theme.values;if(values){surfaceMaterials=[];for(var j=0,lenj=values.length;j<lenj;j++){var value=values[_i632];var surfaceMaterial=materials[value];surfaceMaterials.push(surfaceMaterial);}}}}}}}if(surfaceMaterials){this._parseGeometrySurfacesWithOwnMaterials(ctx,_geometry4,surfaceMaterials,meshIds);}else{this._parseGeometrySurfacesWithSharedMaterial(ctx,_geometry4,objectMaterial,meshIds);}}if(meshIds.length>0){sceneModel.createEntity({id:objectId,meshIds:meshIds,isObject:true});ctx.stats.numObjects++;}}},{key:"_parseGeometrySurfacesWithOwnMaterials",value:function _parseGeometrySurfacesWithOwnMaterials(ctx,geometry,surfaceMaterials,meshIds){var geomType=geometry.type;switch(geomType){case"MultiPoint":break;case"MultiLineString":break;case"MultiSurface":case"CompositeSurface":var surfaces=geometry.boundaries;this._parseSurfacesWithOwnMaterials(ctx,surfaceMaterials,surfaces,meshIds);break;case"Solid":var shells=geometry.boundaries;for(var j=0;j<shells.length;j++){var _surfaces=shells[j];this._parseSurfacesWithOwnMaterials(ctx,surfaceMaterials,_surfaces,meshIds);}break;case"MultiSolid":case"CompositeSolid":var solids=geometry.boundaries;for(var _j5=0;_j5<solids.length;_j5++){for(var k=0;k<solids[_j5].length;k++){var _surfaces2=solids[_j5][k];this._parseSurfacesWithOwnMaterials(ctx,surfaceMaterials,_surfaces2,meshIds);}}break;}}},{key:"_parseSurfacesWithOwnMaterials",value:function _parseSurfacesWithOwnMaterials(ctx,surfaceMaterials,surfaces,meshIds){var vertices=ctx.vertices;var sceneModel=ctx.sceneModel;for(var _i633=0;_i633<surfaces.length;_i633++){var surface=surfaces[_i633];var surfaceMaterial=surfaceMaterials[_i633]||{diffuseColor:[0.8,0.8,0.8],transparency:1.0};var face=[];var holes=[];var sharedIndices=[];var geometryCfg={positions:[],indices:[]};for(var j=0;j<surface.length;j++){if(face.length>0){holes.push(face.length);}var newFace=this._extractLocalIndices(ctx,surface[j],sharedIndices,geometryCfg);face.push.apply(face,_toConsumableArray(newFace));}if(face.length===3){// Triangle
|
|
30260
30260
|
geometryCfg.indices.push(face[0]);geometryCfg.indices.push(face[1]);geometryCfg.indices.push(face[2]);}else if(face.length>3){// Polygon
|
|
30261
30261
|
// Prepare to triangulate
|
|
30262
30262
|
var pList=[];for(var k=0;k<face.length;k++){pList.push({x:vertices[sharedIndices[face[k]]][0],y:vertices[sharedIndices[face[k]]][1],z:vertices[sharedIndices[face[k]]][2]});}var normal=this._getNormalOfPositions(pList,math.vec3());// Convert to 2D
|
|
30263
30263
|
var pv=[];for(var _k2=0;_k2<pList.length;_k2++){this._to2D(pList[_k2],normal,tempVec2a);pv.unshift(tempVec2a[0]);pv.unshift(tempVec2a[1]);}// Triangulate
|
|
30264
30264
|
var tr=earcut(pv,holes,2);// Create triangles
|
|
30265
30265
|
for(var _k3=0;_k3<tr.length;_k3+=3){geometryCfg.indices.unshift(face[tr[_k3]]);geometryCfg.indices.unshift(face[tr[_k3+1]]);geometryCfg.indices.unshift(face[tr[_k3+2]]);}}var meshId=""+ctx.nextId++;sceneModel.createMesh({id:meshId,primitive:"triangles",positions:geometryCfg.positions,indices:geometryCfg.indices,color:surfaceMaterial&&surfaceMaterial.diffuseColor?surfaceMaterial.diffuseColor:[0.8,0.8,0.8],opacity:surfaceMaterial&&surfaceMaterial.transparency!==undefined?1.0-surfaceMaterial.transparency:1.0});meshIds.push(meshId);ctx.stats.numGeometries++;ctx.stats.numVertices+=geometryCfg.positions.length/3;ctx.stats.numTriangles+=geometryCfg.indices.length/3;}}},{key:"_parseGeometrySurfacesWithSharedMaterial",value:function _parseGeometrySurfacesWithSharedMaterial(ctx,geometry,objectMaterial,meshIds){var sceneModel=ctx.sceneModel;var sharedIndices=[];var geometryCfg={positions:[],indices:[]};var geomType=geometry.type;switch(geomType){case"MultiPoint":break;case"MultiLineString":break;case"MultiSurface":case"CompositeSurface":var surfaces=geometry.boundaries;this._parseSurfacesWithSharedMaterial(ctx,surfaces,sharedIndices,geometryCfg);break;case"Solid":var shells=geometry.boundaries;for(var j=0;j<shells.length;j++){var _surfaces3=shells[j];this._parseSurfacesWithSharedMaterial(ctx,_surfaces3,sharedIndices,geometryCfg);}break;case"MultiSolid":case"CompositeSolid":var solids=geometry.boundaries;for(var _j6=0;_j6<solids.length;_j6++){for(var k=0;k<solids[_j6].length;k++){var _surfaces4=solids[_j6][k];this._parseSurfacesWithSharedMaterial(ctx,_surfaces4,sharedIndices,geometryCfg);}}break;}if(geometryCfg.positions.length>0&&geometryCfg.indices.length>0){var meshId=""+ctx.nextId++;sceneModel.createMesh({id:meshId,primitive:"triangles",positions:geometryCfg.positions,indices:geometryCfg.indices,color:objectMaterial&&objectMaterial.diffuseColor?objectMaterial.diffuseColor:[0.8,0.8,0.8],opacity:1.0//opacity: (objectMaterial && objectMaterial.transparency !== undefined) ? (1.0 - objectMaterial.transparency) : 1.0
|
|
30266
|
-
});meshIds.push(meshId);ctx.stats.numGeometries++;ctx.stats.numVertices+=geometryCfg.positions.length/3;ctx.stats.numTriangles+=geometryCfg.indices.length/3;}}},{key:"_parseSurfacesWithSharedMaterial",value:function _parseSurfacesWithSharedMaterial(ctx,surfaces,sharedIndices,primitiveCfg){var vertices=ctx.vertices;for(var
|
|
30266
|
+
});meshIds.push(meshId);ctx.stats.numGeometries++;ctx.stats.numVertices+=geometryCfg.positions.length/3;ctx.stats.numTriangles+=geometryCfg.indices.length/3;}}},{key:"_parseSurfacesWithSharedMaterial",value:function _parseSurfacesWithSharedMaterial(ctx,surfaces,sharedIndices,primitiveCfg){var vertices=ctx.vertices;for(var _i634=0;_i634<surfaces.length;_i634++){var boundary=[];var holes=[];for(var j=0;j<surfaces[_i634].length;j++){if(boundary.length>0){holes.push(boundary.length);}var newBoundary=this._extractLocalIndices(ctx,surfaces[_i634][j],sharedIndices,primitiveCfg);boundary.push.apply(boundary,_toConsumableArray(newBoundary));}if(boundary.length===3){// Triangle
|
|
30267
30267
|
primitiveCfg.indices.push(boundary[0]);primitiveCfg.indices.push(boundary[1]);primitiveCfg.indices.push(boundary[2]);}else if(boundary.length>3){// Polygon
|
|
30268
|
-
var pList=[];for(var k=0;k<boundary.length;k++){pList.push({x:vertices[sharedIndices[boundary[k]]][0],y:vertices[sharedIndices[boundary[k]]][1],z:vertices[sharedIndices[boundary[k]]][2]});}var normal=this._getNormalOfPositions(pList,math.vec3());var pv=[];for(var _k4=0;_k4<pList.length;_k4++){this._to2D(pList[_k4],normal,tempVec2a);pv.unshift(tempVec2a[0]);pv.unshift(tempVec2a[1]);}var tr=earcut(pv,holes,2);for(var _k5=0;_k5<tr.length;_k5+=3){primitiveCfg.indices.unshift(boundary[tr[_k5]]);primitiveCfg.indices.unshift(boundary[tr[_k5+1]]);primitiveCfg.indices.unshift(boundary[tr[_k5+2]]);}}}}},{key:"_extractLocalIndices",value:function _extractLocalIndices(ctx,boundary,sharedIndices,geometryCfg){var vertices=ctx.vertices;var newBoundary=[];for(var
|
|
30268
|
+
var pList=[];for(var k=0;k<boundary.length;k++){pList.push({x:vertices[sharedIndices[boundary[k]]][0],y:vertices[sharedIndices[boundary[k]]][1],z:vertices[sharedIndices[boundary[k]]][2]});}var normal=this._getNormalOfPositions(pList,math.vec3());var pv=[];for(var _k4=0;_k4<pList.length;_k4++){this._to2D(pList[_k4],normal,tempVec2a);pv.unshift(tempVec2a[0]);pv.unshift(tempVec2a[1]);}var tr=earcut(pv,holes,2);for(var _k5=0;_k5<tr.length;_k5+=3){primitiveCfg.indices.unshift(boundary[tr[_k5]]);primitiveCfg.indices.unshift(boundary[tr[_k5+1]]);primitiveCfg.indices.unshift(boundary[tr[_k5+2]]);}}}}},{key:"_extractLocalIndices",value:function _extractLocalIndices(ctx,boundary,sharedIndices,geometryCfg){var vertices=ctx.vertices;var newBoundary=[];for(var _i635=0,len=boundary.length;_i635<len;_i635++){var index=boundary[_i635];if(sharedIndices.includes(index)){var vertexIndex=sharedIndices.indexOf(index);newBoundary.push(vertexIndex);}else{geometryCfg.positions.push(vertices[index][0]);geometryCfg.positions.push(vertices[index][1]);geometryCfg.positions.push(vertices[index][2]);newBoundary.push(sharedIndices.length);sharedIndices.push(index);}}return newBoundary;}},{key:"_getNormalOfPositions",value:function _getNormalOfPositions(positions,normal){for(var _i636=0;_i636<positions.length;_i636++){var nexti=_i636+1;if(nexti===positions.length){nexti=0;}normal[0]+=(positions[_i636].y-positions[nexti].y)*(positions[_i636].z+positions[nexti].z);normal[1]+=(positions[_i636].z-positions[nexti].z)*(positions[_i636].x+positions[nexti].x);normal[2]+=(positions[_i636].x-positions[nexti].x)*(positions[_i636].y+positions[nexti].y);}return math.normalizeVec3(normal);}},{key:"_to2D",value:function _to2D(_p,_n,re){var p=tempVec3a;var n=tempVec3b;var x3=tempVec3c;p[0]=_p.x;p[1]=_p.y;p[2]=_p.z;n[0]=_n.x;n[1]=_n.y;n[2]=_n.z;x3[0]=1.1;x3[1]=1.1;x3[2]=1.1;var dist=math.lenVec3(math.subVec3(x3,n));if(dist<0.01){x3[0]+=1.0;x3[1]+=2.0;x3[2]+=3.0;}var dot=math.dotVec3(x3,n);var tmp2=math.mulVec3Scalar(n,dot,math.vec3());x3[0]-=tmp2[0];x3[1]-=tmp2[1];x3[2]-=tmp2[2];math.normalizeVec3(x3);var y3=math.cross3Vec3(n,x3,math.vec3());var x=math.dotVec3(p,x3);var y=math.dotVec3(p,y3);re[0]=x;re[1]=y;}}]);return CityJSONLoaderPlugin;}(Plugin);export{AlphaFormat,AmbientLight,AngleMeasurementsPlugin,AnnotationsPlugin,AxisGizmoPlugin,BCFViewpointsPlugin,Bitmap,ByteType,CameraMemento,CameraPath,CameraPathAnimation,CityJSONLoaderPlugin,ClampToEdgeWrapping,Component,CompressedMediaType,Configs,ContextMenu,CubicBezierCurve,Curve,DataTextureSceneModel,DefaultLoadingManager,DepthFormat,DepthStencilFormat,DirLight,DistanceMeasurementsPlugin,EdgeMaterial,EmphasisMaterial,FastNavPlugin,FloatType,Fresnel,Frustum,FrustumPlane,GIFMediaType,GLTFDefaultDataSource,GLTFLoaderPlugin,HalfFloatType,ImagePlane,IntType,JPEGMediaType,KTX2TextureTranscoder,LASLoaderPlugin,LambertMaterial,LightMap,LineSet,LinearEncoding,LinearFilter,LinearMipMapLinearFilter,LinearMipMapNearestFilter,LinearMipmapLinearFilter,LinearMipmapNearestFilter,Loader,LoadingManager,LocaleService,LuminanceAlphaFormat,LuminanceFormat,Map$1 as Map,Marker,Mesh,MetallicMaterial,MirroredRepeatWrapping,ModelMemento,NavCubePlugin,NearestFilter,NearestMipMapLinearFilter,NearestMipMapNearestFilter,NearestMipmapLinearFilter,NearestMipmapNearestFilter,Node$1 as Node,OBJLoaderPlugin,ObjectsMemento,PNGMediaType,Path,PerformanceModel,PhongMaterial,Plugin,PointLight,QuadraticBezierCurve,Queue,RGBAFormat,RGBAIntegerFormat,RGBA_ASTC_10x10_Format,RGBA_ASTC_10x5_Format,RGBA_ASTC_10x6_Format,RGBA_ASTC_10x8_Format,RGBA_ASTC_12x10_Format,RGBA_ASTC_12x12_Format,RGBA_ASTC_4x4_Format,RGBA_ASTC_5x4_Format,RGBA_ASTC_5x5_Format,RGBA_ASTC_6x5_Format,RGBA_ASTC_6x6_Format,RGBA_ASTC_8x5_Format,RGBA_ASTC_8x6_Format,RGBA_ASTC_8x8_Format,RGBA_BPTC_Format,RGBA_ETC2_EAC_Format,RGBA_PVRTC_2BPPV1_Format,RGBA_PVRTC_4BPPV1_Format,RGBA_S3TC_DXT1_Format,RGBA_S3TC_DXT3_Format,RGBA_S3TC_DXT5_Format,RGBFormat,RGB_ETC1_Format,RGB_ETC2_Format,RGB_PVRTC_2BPPV1_Format,RGB_PVRTC_4BPPV1_Format,RGB_S3TC_DXT1_Format,RGFormat,RGIntegerFormat,ReadableGeometry,RedFormat,RedIntegerFormat,ReflectionMap,RepeatWrapping,STLDefaultDataSource,STLLoaderPlugin,SceneModel,SectionPlane,SectionPlanesPlugin,ShortType,Skybox,SkyboxesPlugin,SpecularMaterial,SplineCurve,SpriteMarker,StoreyViewsPlugin,Texture,TextureTranscoder,TreeViewPlugin,UnsignedByteType,UnsignedInt248Type,UnsignedIntType,UnsignedShort4444Type,UnsignedShort5551Type,UnsignedShortType,VBOGeometry,VBOSceneModel,ViewCullPlugin,Viewer,WebIFCLoaderPlugin,WorkerPool$1 as WorkerPool,XKTDefaultDataSource,XKTLoaderPlugin,XML3DLoaderPlugin,buildBoxGeometry,buildBoxLinesGeometry,buildCylinderGeometry,buildGridGeometry,buildPlaneGeometry,buildSphereGeometry,buildTorusGeometry,buildVectorTextGeometry,frustumIntersectsAABB3,getKTX2TextureTranscoder,load3DSGeometry,loadOBJGeometry,math,sRGBEncoding,setFrustum,stats,utils};
|